Chatbot / Client / list_associations

list_associations#

Chatbot.Client.list_associations(**kwargs)#

Lists resources associated with a channel configuration.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The channel configuration to list associations for.

  • MaxResults (integer) – The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

  • NextToken (string) – An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

Return type:

dict

Returns:

Response Syntax

{
    'Associations': [
        {
            'Resource': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Associations (list) –

      The resources associated with this channel configuration.

      • (dict) –

        A listing of an association with a channel configuration.

        • Resource (string) –

          The Amazon Resource Name (ARN) of the resource (for example, a custom action).

    • NextToken (string) –

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.