Updates a namespace with the specified settings
Source:R/redshiftserverless_operations.R
redshiftserverless_update_namespace.RdUpdates a namespace with the specified settings. Unless required, you can't update multiple parameters in one request. For example, you must specify both adminUsername and adminUserPassword to update either field, but you can't update both kmsKeyId and logExports in a single request.
See https://www.paws-r-sdk.com/docs/redshiftserverless_update_namespace/ for full documentation.
Usage
redshiftserverless_update_namespace(
adminPasswordSecretKmsKeyId = NULL,
adminUserPassword = NULL,
adminUsername = NULL,
defaultIamRoleArn = NULL,
iamRoles = NULL,
kmsKeyId = NULL,
logExports = NULL,
manageAdminPassword = NULL,
namespaceName
)Arguments
- adminPasswordSecretKmsKeyId
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
manageAdminPasswordis true.- adminUserPassword
The password of the administrator for the first database created in the namespace. This parameter must be updated together with
adminUsername.You can't use
adminUserPasswordifmanageAdminPasswordis true.- adminUsername
The username of the administrator for the first database created in the namespace. This parameter must be updated together with
adminUserPassword.- defaultIamRoleArn
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. This parameter must be updated together with
iamRoles.- iamRoles
A list of IAM roles to associate with the namespace. This parameter must be updated together with
defaultIamRoleArn.- kmsKeyId
The ID of the Amazon Web Services Key Management Service key used to encrypt your data.
- logExports
The types of logs the namespace can export. The export types are
userlog,connectionlog, anduseractivitylog.- manageAdminPassword
If
true, Amazon Redshift uses Secrets Manager to manage the namespace's admin credentials. You can't useadminUserPasswordifmanageAdminPasswordis true. IfmanageAdminPasswordis false or not set, Amazon Redshift usesadminUserPasswordfor the admin user account's password.- namespaceName
[required] The name of the namespace to update. You can't update the name of a namespace once it is created.