Glue / Client / list_triggers

list_triggers#

Glue.Client.list_triggers(**kwargs)#

Retrieves the names of all trigger resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names.

This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.

See also: AWS API Documentation

Request Syntax

response = client.list_triggers(
    NextToken='string',
    DependentJobName='string',
    MaxResults=123,
    Tags={
        'string': 'string'
    }
)
Parameters:
  • NextToken (string) – A continuation token, if this is a continuation request.

  • DependentJobName (string) – The name of the job for which to retrieve triggers. The trigger that can start this job is returned. If there is no such trigger, all triggers are returned.

  • MaxResults (integer) – The maximum size of a list to return.

  • Tags (dict) –

    Specifies to return only these tagged resources.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • TriggerNames (list) –

      The names of all triggers in the account, or the triggers with the specified tags.

      • (string) –

    • NextToken (string) –

      A continuation token, if the returned list does not contain the last metric available.

Exceptions