Chatbot / Client / list_custom_actions

list_custom_actions#

Chatbot.Client.list_custom_actions(**kwargs)#

Lists custom actions defined in this account.

See also: AWS API Documentation

Request Syntax

response = client.list_custom_actions(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • 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

{
    'CustomActions': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • CustomActions (list) –

      A list of custom actions.

      • (string) –

    • 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.

Exceptions

  • Chatbot.Client.exceptions.InvalidRequestException

  • Chatbot.Client.exceptions.InternalServiceError

  • Chatbot.Client.exceptions.UnauthorizedException