Connect / Client / list_prompts

list_prompts#

Connect.Client.list_prompts(**kwargs)#

Provides information about the prompts for the specified Amazon Connect instance.

See also: AWS API Documentation

Request Syntax

response = client.list_prompts(
    InstanceId='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance.

  • NextToken (string) – The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • MaxResults (integer) – The maximum number of results to return per page. The default MaxResult size is 100.

Return type:

dict

Returns:

Response Syntax

{
    'PromptSummaryList': [
        {
            'Id': 'string',
            'Arn': 'string',
            'Name': 'string',
            'LastModifiedTime': datetime(2015, 1, 1),
            'LastModifiedRegion': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • PromptSummaryList (list) –

      Information about the prompts.

      • (dict) –

        Contains information about the prompt.

        • Id (string) –

          The identifier of the prompt.

        • Arn (string) –

          The Amazon Resource Name (ARN) of the prompt.

        • Name (string) –

          The name of the prompt.

        • LastModifiedTime (datetime) –

          The timestamp when this resource was last modified.

        • LastModifiedRegion (string) –

          The Amazon Web Services Region where this resource was last modified.

    • NextToken (string) –

      If there are additional results, this is the token for the next set of results.

Exceptions