| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SMS.GetReplicationJobs
Description
Describes the specified replication job or all of your replication jobs.
This operation returns paginated results.
Synopsis
- data GetReplicationJobs = GetReplicationJobs' {}
- newGetReplicationJobs :: GetReplicationJobs
- getReplicationJobs_maxResults :: Lens' GetReplicationJobs (Maybe Int)
- getReplicationJobs_nextToken :: Lens' GetReplicationJobs (Maybe Text)
- getReplicationJobs_replicationJobId :: Lens' GetReplicationJobs (Maybe Text)
- data GetReplicationJobsResponse = GetReplicationJobsResponse' {}
- newGetReplicationJobsResponse :: Int -> GetReplicationJobsResponse
- getReplicationJobsResponse_nextToken :: Lens' GetReplicationJobsResponse (Maybe Text)
- getReplicationJobsResponse_replicationJobList :: Lens' GetReplicationJobsResponse (Maybe [ReplicationJob])
- getReplicationJobsResponse_httpStatus :: Lens' GetReplicationJobsResponse Int
Creating a Request
data GetReplicationJobs Source #
See: newGetReplicationJobs smart constructor.
Constructors
| GetReplicationJobs' | |
Fields
| |
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: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.
getReplicationJobs_replicationJobId :: Lens' GetReplicationJobs (Maybe Text) Source #
The ID of the replication job.
Destructuring the Response
data GetReplicationJobsResponse Source #
See: newGetReplicationJobsResponse smart constructor.
Constructors
| GetReplicationJobsResponse' | |
Fields
| |
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:
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.
getReplicationJobsResponse_replicationJobList :: Lens' GetReplicationJobsResponse (Maybe [ReplicationJob]) Source #
Information about the replication jobs.
getReplicationJobsResponse_httpStatus :: Lens' GetReplicationJobsResponse Int Source #
The response's http status code.