ConnectWisdomService / Paginator / ListAssistants

ListAssistants#

class ConnectWisdomService.Paginator.ListAssistants#
paginator = client.get_paginator('list_assistants')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from ConnectWisdomService.Client.list_assistants().

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

{
    'assistantSummaries': [
        {
            'assistantArn': 'string',
            'assistantId': 'string',
            'description': 'string',
            'integrationConfiguration': {
                'topicIntegrationArn': 'string'
            },
            'name': 'string',
            'serverSideEncryptionConfiguration': {
                'kmsKeyId': 'string'
            },
            'status': 'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'ACTIVE'|'DELETE_IN_PROGRESS'|'DELETE_FAILED'|'DELETED',
            'tags': {
                'string': 'string'
            },
            'type': 'AGENT'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • assistantSummaries (list) –

      Information about the assistants.

      • (dict) –

        Summary information about the assistant.

        • assistantArn (string) –

          The Amazon Resource Name (ARN) of the Wisdom assistant.

        • assistantId (string) –

          The identifier of the Wisdom assistant.

        • description (string) –

          The description of the assistant.

        • integrationConfiguration (dict) –

          The configuration information for the Wisdom assistant integration.

          • topicIntegrationArn (string) –

            The Amazon Resource Name (ARN) of the integrated Amazon SNS topic used for streaming chat messages.

        • name (string) –

          The name of the assistant.

        • serverSideEncryptionConfiguration (dict) –

          The configuration information for the customer managed key used for encryption.

          This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, and kms:Decrypt/kms:GenerateDataKey permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, and kms:DescribeKey permissions to the connect.amazonaws.com service principal.

          For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.

        • status (string) –

          The status of the assistant.

        • tags (dict) –

          The tags used to organize, track, or control access for this resource.

          • (string) –

            • (string) –

        • type (string) –

          The type of the assistant.

    • NextToken (string) –

      A token to resume pagination.