libZSservicesZSamazonka-snowballZSamazonka-snowball
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.Snowball.ListClusterJobs

Description

Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information.

This operation returns paginated results.

Synopsis

Creating a Request

data ListClusterJobs Source #

See: newListClusterJobs smart constructor.

Constructors

ListClusterJobs' 

Fields

  • nextToken :: Maybe Text

    HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry objects, you have the option of specifying NextToken as the starting point for your returned list.

  • maxResults :: Maybe Natural

    The number of JobListEntry objects to return.

  • clusterId :: Text

    The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000.

Instances

Instances details
Eq ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Read ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Show ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Generic ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Associated Types

type Rep ListClusterJobs :: Type -> Type #

NFData ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Methods

rnf :: ListClusterJobs -> () #

Hashable ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

ToJSON ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

AWSPager ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

AWSRequest ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Associated Types

type AWSResponse ListClusterJobs #

ToHeaders ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

ToPath ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

ToQuery ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

type Rep ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

type Rep ListClusterJobs = D1 ('MetaData "ListClusterJobs" "Amazonka.Snowball.ListClusterJobs" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "ListClusterJobs'" '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 "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListClusterJobs Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

newListClusterJobs Source #

Create a value of ListClusterJobs 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:ListClusterJobs', listClusterJobs_nextToken - HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry objects, you have the option of specifying NextToken as the starting point for your returned list.

$sel:maxResults:ListClusterJobs', listClusterJobs_maxResults - The number of JobListEntry objects to return.

$sel:clusterId:ListClusterJobs', listClusterJobs_clusterId - The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000.

Request Lenses

listClusterJobs_nextToken :: Lens' ListClusterJobs (Maybe Text) Source #

HTTP requests are stateless. To identify what object comes "next" in the list of JobListEntry objects, you have the option of specifying NextToken as the starting point for your returned list.

listClusterJobs_maxResults :: Lens' ListClusterJobs (Maybe Natural) Source #

The number of JobListEntry objects to return.

listClusterJobs_clusterId :: Lens' ListClusterJobs Text Source #

The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000.

Destructuring the Response

data ListClusterJobsResponse Source #

See: newListClusterJobsResponse smart constructor.

Constructors

ListClusterJobsResponse' 

Fields

  • jobListEntries :: Maybe [JobListEntry]

    Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.

  • nextToken :: Maybe Text

    HTTP requests are stateless. If you use the automatically generated NextToken value in your next ListClusterJobsResult call, your list of returned jobs will start from this point in the array.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListClusterJobsResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Read ListClusterJobsResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Show ListClusterJobsResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Generic ListClusterJobsResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Associated Types

type Rep ListClusterJobsResponse :: Type -> Type #

NFData ListClusterJobsResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

Methods

rnf :: ListClusterJobsResponse -> () #

type Rep ListClusterJobsResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListClusterJobs

type Rep ListClusterJobsResponse = D1 ('MetaData "ListClusterJobsResponse" "Amazonka.Snowball.ListClusterJobs" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "ListClusterJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobListEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobListEntry])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListClusterJobsResponse Source #

Create a value of ListClusterJobsResponse 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:jobListEntries:ListClusterJobsResponse', listClusterJobsResponse_jobListEntries - Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.

$sel:nextToken:ListClusterJobs', listClusterJobsResponse_nextToken - HTTP requests are stateless. If you use the automatically generated NextToken value in your next ListClusterJobsResult call, your list of returned jobs will start from this point in the array.

$sel:httpStatus:ListClusterJobsResponse', listClusterJobsResponse_httpStatus - The response's http status code.

Response Lenses

listClusterJobsResponse_jobListEntries :: Lens' ListClusterJobsResponse (Maybe [JobListEntry]) Source #

Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs.

listClusterJobsResponse_nextToken :: Lens' ListClusterJobsResponse (Maybe Text) Source #

HTTP requests are stateless. If you use the automatically generated NextToken value in your next ListClusterJobsResult call, your list of returned jobs will start from this point in the array.