Create Database
| timestreamwrite_create_database | R Documentation | 
Creates a new Timestream database¶
Description¶
Creates a new Timestream database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see Amazon Web Services managed keys. Service quotas apply. For details, see code sample.
Usage¶
timestreamwrite_create_database(DatabaseName, KmsKeyId, Tags)
Arguments¶
| DatabaseName | [required] The name of the Timestream database. | 
| KmsKeyId | The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see Amazon Web Services managed keys. | 
| Tags | A list of key-value pairs to label the table. | 
Value¶
A list with the following syntax:
list(
  Database = list(
    Arn = "string",
    DatabaseName = "string",
    TableCount = 123,
    KmsKeyId = "string",
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    LastUpdatedTime = as.POSIXct(
      "2015-01-01"
    )
  )
)
Request syntax¶
svc$create_database(
  DatabaseName = "string",
  KmsKeyId = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)