Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes the specified replication job or all of your replication jobs.
This operation returns paginated results.
Synopsis
- data GetReplicationJobs = GetReplicationJobs' {}
- newGetReplicationJobs :: GetReplicationJobs
- getReplicationJobs_replicationJobId :: Lens' GetReplicationJobs (Maybe Text)
- getReplicationJobs_nextToken :: Lens' GetReplicationJobs (Maybe Text)
- getReplicationJobs_maxResults :: Lens' GetReplicationJobs (Maybe Int)
- data GetReplicationJobsResponse = GetReplicationJobsResponse' {}
- newGetReplicationJobsResponse :: Int -> GetReplicationJobsResponse
- getReplicationJobsResponse_replicationJobList :: Lens' GetReplicationJobsResponse (Maybe [ReplicationJob])
- getReplicationJobsResponse_nextToken :: Lens' GetReplicationJobsResponse (Maybe Text)
- getReplicationJobsResponse_httpStatus :: Lens' GetReplicationJobsResponse Int
Creating a Request
data GetReplicationJobs Source #
See: newGetReplicationJobs
smart constructor.
GetReplicationJobs' | |
|
Instances
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:replicationJobId:GetReplicationJobs'
, getReplicationJobs_replicationJobId
- The ID of the replication job.
$sel:nextToken:GetReplicationJobs'
, getReplicationJobs_nextToken
- The token for the next set of results.
$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.
Request Lenses
getReplicationJobs_replicationJobId :: Lens' GetReplicationJobs (Maybe Text) Source #
The ID of the replication job.
getReplicationJobs_nextToken :: Lens' GetReplicationJobs (Maybe Text) Source #
The token for the next set of results.
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.
Destructuring the Response
data GetReplicationJobsResponse Source #
See: newGetReplicationJobsResponse
smart constructor.
GetReplicationJobsResponse' | |
|
Instances
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:
$sel:replicationJobList:GetReplicationJobsResponse'
, getReplicationJobsResponse_replicationJobList
- Information about the replication jobs.
$sel:nextToken: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:httpStatus:GetReplicationJobsResponse'
, getReplicationJobsResponse_httpStatus
- The response's http status code.
Response Lenses
getReplicationJobsResponse_replicationJobList :: Lens' GetReplicationJobsResponse (Maybe [ReplicationJob]) Source #
Information about the replication jobs.
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.
getReplicationJobsResponse_httpStatus :: Lens' GetReplicationJobsResponse Int Source #
The response's http status code.