RedshiftServerless / Client / list_scheduled_actions

list_scheduled_actions#

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

Request Syntax

response = client.list_scheduled_actions(
    maxResults=123,
    namespaceName='string',
    nextToken='string'
)
Parameters:
  • maxResults (integer) – An optional parameter that specifies the maximum number of results to return. Use nextToken to display the next page of results.

  • namespaceName (string) – The name of namespace associated with the scheduled action to retrieve.

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

Return type:

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

  • RedshiftServerless.Client.exceptions.InternalServerException

  • RedshiftServerless.Client.exceptions.InvalidPaginationException

  • RedshiftServerless.Client.exceptions.ResourceNotFoundException

  • RedshiftServerless.Client.exceptions.ValidationException