libZSservicesZSamazonka-databrewZSamazonka-databrew
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.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

  • 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.

  • 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.

Instances

Instances details
Eq ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Read ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Show ListJobs Source # 
Instance details

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

NFData ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Methods

rnf :: ListJobs -> () #

Hashable ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Methods

hashWithSalt :: Int -> ListJobs -> Int #

hash :: ListJobs -> Int #

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 #

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

type Rep ListJobs Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

type Rep ListJobs = D1 ('MetaData "ListJobs" "Amazonka.DataBrew.ListJobs" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "ListJobs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "projectName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "datasetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListJobs Source # 
Instance details

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

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

$sel:datasetName: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.

Request Lenses

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.

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.

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
Eq ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Read ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Show ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Generic ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Associated Types

type Rep ListJobsResponse :: Type -> Type #

NFData ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

Methods

rnf :: ListJobsResponse -> () #

type Rep ListJobsResponse Source # 
Instance details

Defined in Amazonka.DataBrew.ListJobs

type Rep ListJobsResponse = D1 ('MetaData "ListJobsResponse" "Amazonka.DataBrew.ListJobs" "libZSservicesZSamazonka-databrewZSamazonka-databrew" '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:

$sel:nextToken: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.