v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465272236.5 KB

Creates a namespace in Amazon Redshift Serverless.

post/#X-Amz-Target=RedshiftServerless.CreateNamespace

Headers

X-Amz-Target'RedshiftServerless.CreateNamespace' required

Request body

adminPasswordSecretKmsKeyIdstring

The ID of the Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if <code>manageAdminPassword</code> is true.

adminUserPasswordstring password
<p>The password of the administrator for the first database created in the namespace.</p> <p>You can't use <code>adminUserPassword</code> if <code>manageAdminPassword</code> is true. </p>
adminUsernamestring password

The username of the administrator for the first database created in the namespace.

dbNamestring

The name of the first database created in the namespace.

defaultIamRoleArnstring

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.

iamRolesIamRoleArn[]

A list of IAM roles to associate with the namespace.

kmsKeyIdstring

The ID of the Amazon Web Services Key Management Service key used to encrypt your data.

logExportsLogExport[]

The types of logs the namespace can export. Available export types are <code>userlog</code>, <code>connectionlog</code>, and <code>useractivitylog</code>.

manageAdminPasswordboolean

If <code>true</code>, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't use <code>adminUserPassword</code> if <code>manageAdminPassword</code> is true. If <code>manageAdminPassword</code> is false or not set, Amazon Redshift uses <code>adminUserPassword</code> for the admin user account's password.

namespaceNamestring required

The name of the namespace.

redshiftIdcApplicationArnstring

The ARN for the Redshift application that integrates with IAM Identity Center.

Response

Success