AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::TimestreamWrite::Types::UpdateDatabaseRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateDatabaseRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  database_name: "ResourceName", # required
  kms_key_id: "StringValue2048", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#database_nameString

The name of the database.

Returns:

  • (String)

    The name of the database.

#kms_key_idString

The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the database. If the KmsKeyId currently registered with the database is the same as the KmsKeyId in the request, there will not be any update.

You can specify the KmsKeyId using any of the following:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias

Returns:

  • (String)

    The identifier of the new KMS key (KmsKeyId) to be used to encrypt the data stored in the database.