:doc:`Chatbot <../../chatbot>` / Client / list_custom_actions

*******************
list_custom_actions
*******************



.. py:method:: Chatbot.Client.list_custom_actions(**kwargs)

  

  Lists custom actions defined in this account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/ListCustomActions>`_  


  **Request Syntax**
  ::

    response = client.list_custom_actions(
        MaxResults=123,
        NextToken='string'
    )
    
  :type MaxResults: integer
  :param MaxResults: 

    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.

    

  
  :type NextToken: string
  :param NextToken: 

    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.

    

  
  
  :rtype: 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**
  
  *   :py:class:`Chatbot.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Chatbot.Client.exceptions.InternalServiceError`

  
  *   :py:class:`Chatbot.Client.exceptions.UnauthorizedException`

  