describe_database
(**kwargs)¶Returns information about the database, including the database name, time that the database was created, and the total number of tables found within the database. Service quotas apply. See code sample for details.
See also: AWS API Documentation
Request Syntax
response = client.describe_database(
DatabaseName='string'
)
[REQUIRED]
The name of the Timestream database.
{
'Database': {
'Arn': 'string',
'DatabaseName': 'string',
'TableCount': 123,
'KmsKeyId': 'string',
'CreationTime': datetime(2015, 1, 1),
'LastUpdatedTime': datetime(2015, 1, 1)
}
}
Response Structure
The name of the Timestream table.
The Amazon Resource Name that uniquely identifies this database.
The name of the Timestream database.
The total number of tables found within a Timestream database.
The identifier of the KMS key used to encrypt the data stored in the database.
The time when the database was created, calculated from the Unix epoch time.
The last time that this database was updated.
Exceptions
TimestreamWrite.Client.exceptions.ResourceNotFoundException
TimestreamWrite.Client.exceptions.ValidationException
TimestreamWrite.Client.exceptions.AccessDeniedException
TimestreamWrite.Client.exceptions.ThrottlingException
TimestreamWrite.Client.exceptions.InternalServerException
TimestreamWrite.Client.exceptions.InvalidEndpointException