VoiceID / Paginator / ListDomains

ListDomains#

class VoiceID.Paginator.ListDomains#
paginator = client.get_paginator('list_domains')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from VoiceID.Client.list_domains().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

PaginationConfig (dict) –

A dictionary that provides parameters to control pagination.

  • MaxItems (integer) –

    The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

  • PageSize (integer) –

    The size of each page.

  • StartingToken (string) –

    A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'DomainSummaries': [
        {
            '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),
            'WatchlistDetails': {
                'DefaultWatchlistId': 'string'
            }
        },
    ],

}

Response Structure

  • (dict) –

    • DomainSummaries (list) –

      A list containing details about each domain in the Amazon Web Services account.

      • (dict) –

        Contains a summary of information about a domain.

        • Arn (string) –

          The Amazon Resource Name (ARN) for the domain.

        • CreatedAt (datetime) –

          The timestamp of when the domain was created.

        • Description (string) –

          The description of the domain.

        • DomainId (string) –

          The identifier of 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 of when the domain was last updated.

        • WatchlistDetails (dict) –

          Provides information about watchlistDetails and DefaultWatchlistID.

          • DefaultWatchlistId (string) –

            The identifier of the default watchlist.