describe_domain

VoiceID.Client.describe_domain(**kwargs)

Describes the specified domain.

See also: AWS API Documentation

Request Syntax

response = client.describe_domain(
    DomainId='string'
)
Parameters
DomainId (string) --

[REQUIRED]

The identifier of the domain you are describing.

Return type
dict
Returns
Response Syntax
{
    'Domain': {
        'Arn': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'Description': 'string',
        'DomainId': 'string',
        'DomainStatus': 'ACTIVE'|'PENDING'|'SUSPENDED',
        'Name': 'string',
        'ServerSideEncryptionConfiguration': {
            'KmsKeyId': 'string'
        },
        'ServerSideEncryptionUpdateDetails': {
            'Message': 'string',
            'OldKmsKeyId': 'string',
            'UpdateStatus': 'IN_PROGRESS'|'COMPLETED'|'FAILED'
        },
        'UpdatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --
    • Domain (dict) --

      Information about the specified domain.

      • Arn (string) --

        The Amazon Resource Name (ARN) for the domain.

      • CreatedAt (datetime) --

        The timestamp at which the domain is created.

      • Description (string) --

        The client-provided description of the domain.

      • DomainId (string) --

        The service-generated identifier for the domain.

      • DomainStatus (string) --

        The current status of the domain.

      • Name (string) --

        The client-provided name for the domain.

      • ServerSideEncryptionConfiguration (dict) --

        The server-side encryption configuration containing the KMS key identifier you want Voice ID to use to encrypt your data.

        • KmsKeyId (string) --

          The identifier of the KMS key to use to encrypt data stored by Voice ID. Voice ID doesn't support asymmetric customer managed keys.

      • ServerSideEncryptionUpdateDetails (dict) --

        Details about the most recent server-side encryption configuration update. When the server-side encryption configuration is changed, dependency on the old KMS key is removed through an asynchronous process. When this update is complete, the domain's data can only be accessed using the new KMS key.

        • Message (string) --

          Message explaining the current UpdateStatus. When the UpdateStatus is FAILED, this message explains the cause of the failure.

        • OldKmsKeyId (string) --

          The previous KMS key ID the domain was encrypted with, before ServerSideEncryptionConfiguration was updated to a new KMS key ID.

        • UpdateStatus (string) --

          Status of the server-side encryption update. During an update, if there is an issue with the domain's current or old KMS key ID, such as an inaccessible or disabled key, then the status is FAILED. In order to resolve this, the key needs to be made accessible, and then an UpdateDomain call with the existing server-side encryption configuration will re-attempt this update process.

      • UpdatedAt (datetime) --

        The timestamp showing the domain's last update.

Exceptions

  • VoiceID.Client.exceptions.ResourceNotFoundException
  • VoiceID.Client.exceptions.ValidationException
  • VoiceID.Client.exceptions.InternalServerException
  • VoiceID.Client.exceptions.ThrottlingException
  • VoiceID.Client.exceptions.AccessDeniedException