Class: Aws::RedshiftServerless::Types::UpdateNamespaceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:admin_user_password, :admin_username]

Instance Attribute Summary collapse

Instance Attribute Details

#admin_password_secret_kms_key_idString

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 manageAdminPassword is true.

Returns:

  • (String)


3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3167

class UpdateNamespaceRequest < Struct.new(
  :admin_password_secret_kms_key_id,
  :admin_user_password,
  :admin_username,
  :default_iam_role_arn,
  :iam_roles,
  :kms_key_id,
  :log_exports,
  :manage_admin_password,
  :namespace_name)
  SENSITIVE = [:admin_user_password, :admin_username]
  include Aws::Structure
end

#admin_user_passwordString

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 adminUserPassword if manageAdminPassword is true.

Returns:

  • (String)


3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3167

class UpdateNamespaceRequest < Struct.new(
  :admin_password_secret_kms_key_id,
  :admin_user_password,
  :admin_username,
  :default_iam_role_arn,
  :iam_roles,
  :kms_key_id,
  :log_exports,
  :manage_admin_password,
  :namespace_name)
  SENSITIVE = [:admin_user_password, :admin_username]
  include Aws::Structure
end

#admin_usernameString

The username of the administrator for the first database created in the namespace. This parameter must be updated together with adminUserPassword.

Returns:

  • (String)


3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3167

class UpdateNamespaceRequest < Struct.new(
  :admin_password_secret_kms_key_id,
  :admin_user_password,
  :admin_username,
  :default_iam_role_arn,
  :iam_roles,
  :kms_key_id,
  :log_exports,
  :manage_admin_password,
  :namespace_name)
  SENSITIVE = [:admin_user_password, :admin_username]
  include Aws::Structure
end

#default_iam_role_arnString

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.

Returns:

  • (String)


3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3167

class UpdateNamespaceRequest < Struct.new(
  :admin_password_secret_kms_key_id,
  :admin_user_password,
  :admin_username,
  :default_iam_role_arn,
  :iam_roles,
  :kms_key_id,
  :log_exports,
  :manage_admin_password,
  :namespace_name)
  SENSITIVE = [:admin_user_password, :admin_username]
  include Aws::Structure
end

#iam_rolesArray<String>

A list of IAM roles to associate with the namespace. This parameter must be updated together with defaultIamRoleArn.

Returns:

  • (Array<String>)


3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3167

class UpdateNamespaceRequest < Struct.new(
  :admin_password_secret_kms_key_id,
  :admin_user_password,
  :admin_username,
  :default_iam_role_arn,
  :iam_roles,
  :kms_key_id,
  :log_exports,
  :manage_admin_password,
  :namespace_name)
  SENSITIVE = [:admin_user_password, :admin_username]
  include Aws::Structure
end

#kms_key_idString

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

Returns:

  • (String)


3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3167

class UpdateNamespaceRequest < Struct.new(
  :admin_password_secret_kms_key_id,
  :admin_user_password,
  :admin_username,
  :default_iam_role_arn,
  :iam_roles,
  :kms_key_id,
  :log_exports,
  :manage_admin_password,
  :namespace_name)
  SENSITIVE = [:admin_user_password, :admin_username]
  include Aws::Structure
end

#log_exportsArray<String>

The types of logs the namespace can export. The export types are userlog, connectionlog, and useractivitylog.

Returns:

  • (Array<String>)


3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3167

class UpdateNamespaceRequest < Struct.new(
  :admin_password_secret_kms_key_id,
  :admin_user_password,
  :admin_username,
  :default_iam_role_arn,
  :iam_roles,
  :kms_key_id,
  :log_exports,
  :manage_admin_password,
  :namespace_name)
  SENSITIVE = [:admin_user_password, :admin_username]
  include Aws::Structure
end

#manage_admin_passwordBoolean

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

Returns:

  • (Boolean)


3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3167

class UpdateNamespaceRequest < Struct.new(
  :admin_password_secret_kms_key_id,
  :admin_user_password,
  :admin_username,
  :default_iam_role_arn,
  :iam_roles,
  :kms_key_id,
  :log_exports,
  :manage_admin_password,
  :namespace_name)
  SENSITIVE = [:admin_user_password, :admin_username]
  include Aws::Structure
end

#namespace_nameString

The name of the namespace to update. You can't update the name of a namespace once it is created.

Returns:

  • (String)


3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3167

class UpdateNamespaceRequest < Struct.new(
  :admin_password_secret_kms_key_id,
  :admin_user_password,
  :admin_username,
  :default_iam_role_arn,
  :iam_roles,
  :kms_key_id,
  :log_exports,
  :manage_admin_password,
  :namespace_name)
  SENSITIVE = [:admin_user_password, :admin_username]
  include Aws::Structure
end