amazonka-databrew-2.0: Amazon Glue DataBrew 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.DataBrew.ListJobs

Description

Lists all of the DataBrew jobs that are defined.

This operation returns paginated results.

Synopsis

Creating a Request

data ListJobs Source #

See: newListJobs smart constructor.

Constructors

ListJobs' 

Fields

  • datasetName :: Maybe Text

    The name of a dataset. Using this parameter indicates to return only those jobs that act on the specified dataset.

  • maxResults :: Maybe Natural

    The maximum number of results to return in this request.

  • nextToken :: Maybe Text

    A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.

  • projectName :: Maybe Text

    The name of a project. Using this parameter indicates to return only those jobs that are associated with the specified project.

Instances

Instances details
ToHeaders ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Methods

toHeaders :: ListJobs -> [Header] #

ToPath ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

ToQuery ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

AWSPager ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

AWSRequest ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Associated Types

type AWSResponse ListJobs #

Generic ListJobs Source # 
Instance details

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

Show ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

NFData ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Methods

rnf :: ListJobs -> () #

Eq ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Hashable ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Methods

hashWithSalt :: Int -> ListJobs -> Int #

hash :: ListJobs -> Int #

type AWSResponse ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

type Rep ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

type Rep ListJobs = D1 ('MetaData "ListJobs" "Amazonka.DataBrew.ListJobs" "amazonka-databrew-2.0-GJMXoRzRb387Yq6XNY29RM" 'False) (C1 ('MetaCons "ListJobs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "datasetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "projectName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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:

ListJobs, listJobs_datasetName - The name of a dataset. Using this parameter indicates to return only those jobs that act on the specified dataset.

$sel:maxResults:ListJobs', listJobs_maxResults - The maximum number of results to return in this request.

ListJobs, listJobs_nextToken - A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.

ListJobs, listJobs_projectName - The name of a project. Using this parameter indicates to return only those jobs that are associated with the specified project.

Request Lenses

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

The name of a dataset. Using this parameter indicates to return only those jobs that act on the specified dataset.

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

The maximum number of results to return in this request.

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

A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.

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

The name of a project. Using this parameter indicates to return only those jobs that are associated with the specified project.

Destructuring the Response

data ListJobsResponse Source #

See: newListJobsResponse smart constructor.

Constructors

ListJobsResponse' 

Fields

  • nextToken :: Maybe Text

    A token that you can use in a subsequent call to retrieve the next set of results.

  • httpStatus :: Int

    The response's http status code.

  • jobs :: [Job]

    A list of jobs that are defined.

Instances

Instances details
Generic ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Associated Types

type Rep ListJobsResponse :: Type -> Type #

Read ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Show ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

NFData ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Methods

rnf :: ListJobsResponse -> () #

Eq ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

type Rep ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

type Rep ListJobsResponse = D1 ('MetaData "ListJobsResponse" "Amazonka.DataBrew.ListJobs" "amazonka-databrew-2.0-GJMXoRzRb387Yq6XNY29RM" 'False) (C1 ('MetaCons "ListJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "jobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Job]))))

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:

ListJobs, listJobsResponse_nextToken - A token that you can use in a subsequent call to retrieve the next set of results.

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

$sel:jobs:ListJobsResponse', listJobsResponse_jobs - A list of jobs that are defined.

Response Lenses

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

A token that you can use in a subsequent call to retrieve the next set of results.

listJobsResponse_httpStatus :: Lens' ListJobsResponse Int Source #

The response's http status code.

listJobsResponse_jobs :: Lens' ListJobsResponse [Job] Source #

A list of jobs that are defined.