:doc:`RedshiftServerless <../../redshift-serverless>` / Client / list_scheduled_actions

**********************
list_scheduled_actions
**********************



.. py:method:: RedshiftServerless.Client.list_scheduled_actions(**kwargs)

  

  Returns a list of scheduled actions. You can use the flags to filter the list of returned scheduled actions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListScheduledActions>`_  


  **Request Syntax**
  ::

    response = client.list_scheduled_actions(
        maxResults=123,
        namespaceName='string',
        nextToken='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    An optional parameter that specifies the maximum number of results to return. Use ``nextToken`` to display the next page of results.

    

  
  :type namespaceName: string
  :param namespaceName: 

    The name of namespace associated with the scheduled action to retrieve.

    

  
  :type nextToken: string
  :param nextToken: 

    If ``nextToken`` is returned, there are more results available. The value of ``nextToken`` is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'nextToken': 'string',
          'scheduledActions': [
              {
                  'namespaceName': 'string',
                  'scheduledActionName': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **nextToken** *(string) --* 

        If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

        
      

      - **scheduledActions** *(list) --* 

        All of the returned scheduled action association objects.

        
        

        - *(dict) --* 

          Contains names of objects associated with a scheduled action.

          
          

          - **namespaceName** *(string) --* 

            Name of associated Amazon Redshift Serverless namespace.

            
          

          - **scheduledActionName** *(string) --* 

            Name of associated scheduled action.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`RedshiftServerless.Client.exceptions.InternalServerException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.InvalidPaginationException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ValidationException`

  