amazonka-sms-2.0: Amazon Server Migration Service 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.SMS.GetReplicationJobs

Description

Describes the specified replication job or all of your replication jobs.

This operation returns paginated results.

Synopsis

Creating a Request

data GetReplicationJobs Source #

See: newGetReplicationJobs smart constructor.

Constructors

GetReplicationJobs' 

Fields

  • maxResults :: Maybe Int

    The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.

  • nextToken :: Maybe Text

    The token for the next set of results.

  • replicationJobId :: Maybe Text

    The ID of the replication job.

Instances

Instances details
ToJSON GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

ToHeaders GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

ToPath GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

ToQuery GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

AWSPager GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

AWSRequest GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

Associated Types

type AWSResponse GetReplicationJobs #

Generic GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

Associated Types

type Rep GetReplicationJobs :: Type -> Type #

Read GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

Show GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

NFData GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

Methods

rnf :: GetReplicationJobs -> () #

Eq GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

Hashable GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

type AWSResponse GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

type Rep GetReplicationJobs Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

type Rep GetReplicationJobs = D1 ('MetaData "GetReplicationJobs" "Amazonka.SMS.GetReplicationJobs" "amazonka-sms-2.0-4YLznk7UFuE5VtyLFXmW6X" 'False) (C1 ('MetaCons "GetReplicationJobs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "replicationJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newGetReplicationJobs :: GetReplicationJobs Source #

Create a value of GetReplicationJobs 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:GetReplicationJobs', getReplicationJobs_maxResults - The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.

GetReplicationJobs, getReplicationJobs_nextToken - The token for the next set of results.

GetReplicationJobs, getReplicationJobs_replicationJobId - The ID of the replication job.

Request Lenses

getReplicationJobs_maxResults :: Lens' GetReplicationJobs (Maybe Int) Source #

The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.

getReplicationJobs_nextToken :: Lens' GetReplicationJobs (Maybe Text) Source #

The token for the next set of results.

Destructuring the Response

data GetReplicationJobsResponse Source #

See: newGetReplicationJobsResponse smart constructor.

Constructors

GetReplicationJobsResponse' 

Fields

Instances

Instances details
Generic GetReplicationJobsResponse Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

Associated Types

type Rep GetReplicationJobsResponse :: Type -> Type #

Read GetReplicationJobsResponse Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

Show GetReplicationJobsResponse Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

NFData GetReplicationJobsResponse Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

Eq GetReplicationJobsResponse Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

type Rep GetReplicationJobsResponse Source # 
Instance details

Defined in Amazonka.SMS.GetReplicationJobs

type Rep GetReplicationJobsResponse = D1 ('MetaData "GetReplicationJobsResponse" "Amazonka.SMS.GetReplicationJobs" "amazonka-sms-2.0-4YLznk7UFuE5VtyLFXmW6X" 'False) (C1 ('MetaCons "GetReplicationJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "replicationJobList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReplicationJob])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetReplicationJobsResponse Source #

Create a value of GetReplicationJobsResponse 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:

GetReplicationJobs, getReplicationJobsResponse_nextToken - The token required to retrieve the next set of results. This value is null when there are no more results to return.

$sel:replicationJobList:GetReplicationJobsResponse', getReplicationJobsResponse_replicationJobList - Information about the replication jobs.

$sel:httpStatus:GetReplicationJobsResponse', getReplicationJobsResponse_httpStatus - The response's http status code.

Response Lenses

getReplicationJobsResponse_nextToken :: Lens' GetReplicationJobsResponse (Maybe Text) Source #

The token required to retrieve the next set of results. This value is null when there are no more results to return.