libZSservicesZSamazonka-mgnZSamazonka-mgn
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.MGN.DescribeJobs

Description

Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normaly created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeJobs Source #

See: newDescribeJobs smart constructor.

Constructors

DescribeJobs' 

Fields

Instances

Instances details
Eq DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

Read DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

Show DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

Generic DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

Associated Types

type Rep DescribeJobs :: Type -> Type #

NFData DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

Methods

rnf :: DescribeJobs -> () #

Hashable DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

ToJSON DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

AWSPager DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

AWSRequest DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

Associated Types

type AWSResponse DescribeJobs #

ToHeaders DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

ToPath DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

ToQuery DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

type Rep DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

type Rep DescribeJobs = D1 ('MetaData "DescribeJobs" "Amazonka.MGN.DescribeJobs" "libZSservicesZSamazonka-mgnZSamazonka-mgn" 'False) (C1 ('MetaCons "DescribeJobs'" '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 "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DescribeJobsRequestFilters))))
type AWSResponse DescribeJobs Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

newDescribeJobs Source #

Create a value of DescribeJobs 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:DescribeJobs', describeJobs_nextToken - Request to describe Job logby next token.

$sel:maxResults:DescribeJobs', describeJobs_maxResults - Request to describe Job log by max results.

$sel:filters:DescribeJobs', describeJobs_filters - Request to describe Job log filters.

Request Lenses

describeJobs_nextToken :: Lens' DescribeJobs (Maybe Text) Source #

Request to describe Job logby next token.

describeJobs_maxResults :: Lens' DescribeJobs (Maybe Natural) Source #

Request to describe Job log by max results.

Destructuring the Response

data DescribeJobsResponse Source #

See: newDescribeJobsResponse smart constructor.

Constructors

DescribeJobsResponse' 

Fields

Instances

Instances details
Eq DescribeJobsResponse Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

Show DescribeJobsResponse Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

Generic DescribeJobsResponse Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

Associated Types

type Rep DescribeJobsResponse :: Type -> Type #

NFData DescribeJobsResponse Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

Methods

rnf :: DescribeJobsResponse -> () #

type Rep DescribeJobsResponse Source # 
Instance details

Defined in Amazonka.MGN.DescribeJobs

type Rep DescribeJobsResponse = D1 ('MetaData "DescribeJobsResponse" "Amazonka.MGN.DescribeJobs" "libZSservicesZSamazonka-mgnZSamazonka-mgn" 'False) (C1 ('MetaCons "DescribeJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Job])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeJobsResponse Source #

Create a value of DescribeJobsResponse 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:items:DescribeJobsResponse', describeJobsResponse_items - Request to describe Job log items.

$sel:nextToken:DescribeJobs', describeJobsResponse_nextToken - Request to describe Job response by next token.

$sel:httpStatus:DescribeJobsResponse', describeJobsResponse_httpStatus - The response's http status code.

Response Lenses

describeJobsResponse_items :: Lens' DescribeJobsResponse (Maybe [Job]) Source #

Request to describe Job log items.

describeJobsResponse_nextToken :: Lens' DescribeJobsResponse (Maybe Text) Source #

Request to describe Job response by next token.