Glue / Client / list_jobs

list_jobs#

Glue.Client.list_jobs(**kwargs)#

Retrieves the names of all job 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_jobs(
    NextToken='string',
    MaxResults=123,
    Tags={
        'string': 'string'
    }
)
Parameters:
  • NextToken (string) – A continuation token, if this is a continuation request.

  • 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

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

Response Structure

  • (dict) –

    • JobNames (list) –

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

      • (string) –

    • NextToken (string) –

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

Exceptions