libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.ListJobs

Description

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.

Synopsis

Creating a Request

data ListJobs Source #

See: newListJobs smart constructor.

Constructors

ListJobs' 

Fields

Instances

Instances details
Eq ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Read ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Show ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Generic ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Associated Types

type Rep ListJobs :: Type -> Type #

Methods

from :: ListJobs -> Rep ListJobs x #

to :: Rep ListJobs x -> ListJobs #

NFData ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Methods

rnf :: ListJobs -> () #

Hashable ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Methods

hashWithSalt :: Int -> ListJobs -> Int #

hash :: ListJobs -> Int #

ToJSON ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

AWSRequest ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Associated Types

type AWSResponse ListJobs #

ToHeaders ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Methods

toHeaders :: ListJobs -> [Header] #

ToPath ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

ToQuery ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

type Rep ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

type Rep ListJobs = D1 ('MetaData "ListJobs" "Amazonka.Glue.ListJobs" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ListJobs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))
type AWSResponse ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

newListJobs :: ListJobs Source #

Create a value of ListJobs with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListJobs', listJobs_nextToken - A continuation token, if this is a continuation request.

$sel:maxResults:ListJobs', listJobs_maxResults - The maximum size of a list to return.

$sel:tags:ListJobs', listJobs_tags - Specifies to return only these tagged resources.

Request Lenses

listJobs_nextToken :: Lens' ListJobs (Maybe Text) Source #

A continuation token, if this is a continuation request.

listJobs_maxResults :: Lens' ListJobs (Maybe Natural) Source #

The maximum size of a list to return.

listJobs_tags :: Lens' ListJobs (Maybe (HashMap Text Text)) Source #

Specifies to return only these tagged resources.

Destructuring the Response

data ListJobsResponse Source #

See: newListJobsResponse smart constructor.

Constructors

ListJobsResponse' 

Fields

  • nextToken :: Maybe Text

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

  • jobNames :: Maybe [Text]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Read ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Show ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Generic ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Associated Types

type Rep ListJobsResponse :: Type -> Type #

NFData ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Methods

rnf :: ListJobsResponse -> () #

type Rep ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

type Rep ListJobsResponse = D1 ('MetaData "ListJobsResponse" "Amazonka.Glue.ListJobs" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ListJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListJobsResponse Source #

Create a value of ListJobsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListJobs', listJobsResponse_nextToken - A continuation token, if the returned list does not contain the last metric available.

$sel:jobNames:ListJobsResponse', listJobsResponse_jobNames - The names of all jobs in the account, or the jobs with the specified tags.

$sel:httpStatus:ListJobsResponse', listJobsResponse_httpStatus - The response's http status code.

Response Lenses

listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text) Source #

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

listJobsResponse_jobNames :: Lens' ListJobsResponse (Maybe [Text]) Source #

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

listJobsResponse_httpStatus :: Lens' ListJobsResponse Int Source #

The response's http status code.