amazonka-glue-2.0: Amazon Glue SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON ListJobs Source # 
Instance details

Defined in Amazonka.Glue.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

AWSRequest ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Associated Types

type AWSResponse 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 #

Read ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Show ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

NFData ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Methods

rnf :: ListJobs -> () #

Eq ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Hashable ListJobs Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Methods

hashWithSalt :: Int -> ListJobs -> Int #

hash :: ListJobs -> Int #

type AWSResponse 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "ListJobs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))

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:maxResults:ListJobs', listJobs_maxResults - The maximum size of a list to return.

ListJobs, listJobs_nextToken - A continuation token, if this is a continuation request.

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

Request Lenses

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

The maximum size of a list to return.

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

A continuation token, if this is a continuation request.

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

  • jobNames :: Maybe [Text]

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

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Associated Types

type Rep ListJobsResponse :: Type -> Type #

Read ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Show ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

NFData ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

Methods

rnf :: ListJobsResponse -> () #

Eq ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

type Rep ListJobsResponse Source # 
Instance details

Defined in Amazonka.Glue.ListJobs

type Rep ListJobsResponse = D1 ('MetaData "ListJobsResponse" "Amazonka.Glue.ListJobs" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "ListJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") '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:jobNames:ListJobsResponse', listJobsResponse_jobNames - The names of all jobs in the account, or the jobs with the specified tags.

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

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

Response Lenses

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

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

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

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

listJobsResponse_httpStatus :: Lens' ListJobsResponse Int Source #

The response's http status code.