| 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.GetReplicationRuns
Description
Describes the replication runs for the specified replication job.
This operation returns paginated results.
Synopsis
- data GetReplicationRuns = GetReplicationRuns' {
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- replicationJobId :: Text
- newGetReplicationRuns :: Text -> GetReplicationRuns
- getReplicationRuns_maxResults :: Lens' GetReplicationRuns (Maybe Int)
- getReplicationRuns_nextToken :: Lens' GetReplicationRuns (Maybe Text)
- getReplicationRuns_replicationJobId :: Lens' GetReplicationRuns Text
- data GetReplicationRunsResponse = GetReplicationRunsResponse' {}
- newGetReplicationRunsResponse :: Int -> GetReplicationRunsResponse
- getReplicationRunsResponse_nextToken :: Lens' GetReplicationRunsResponse (Maybe Text)
- getReplicationRunsResponse_replicationJob :: Lens' GetReplicationRunsResponse (Maybe ReplicationJob)
- getReplicationRunsResponse_replicationRunList :: Lens' GetReplicationRunsResponse (Maybe [ReplicationRun])
- getReplicationRunsResponse_httpStatus :: Lens' GetReplicationRunsResponse Int
Creating a Request
data GetReplicationRuns Source #
See: newGetReplicationRuns smart constructor.
Constructors
| GetReplicationRuns' | |
Fields
| |
Instances
newGetReplicationRuns Source #
Arguments
| :: Text | |
| -> GetReplicationRuns |
Create a value of GetReplicationRuns 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:GetReplicationRuns', getReplicationRuns_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.
GetReplicationRuns, getReplicationRuns_nextToken - The token for the next set of results.
GetReplicationRuns, getReplicationRuns_replicationJobId - The ID of the replication job.
Request Lenses
getReplicationRuns_maxResults :: Lens' GetReplicationRuns (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.
getReplicationRuns_nextToken :: Lens' GetReplicationRuns (Maybe Text) Source #
The token for the next set of results.
getReplicationRuns_replicationJobId :: Lens' GetReplicationRuns Text Source #
The ID of the replication job.
Destructuring the Response
data GetReplicationRunsResponse Source #
See: newGetReplicationRunsResponse smart constructor.
Constructors
| GetReplicationRunsResponse' | |
Fields
| |
Instances
newGetReplicationRunsResponse Source #
Create a value of GetReplicationRunsResponse 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:
GetReplicationRuns, getReplicationRunsResponse_nextToken - The token required to retrieve the next set of results. This value is
null when there are no more results to return.
$sel:replicationJob:GetReplicationRunsResponse', getReplicationRunsResponse_replicationJob - Information about the replication job.
GetReplicationRunsResponse, getReplicationRunsResponse_replicationRunList - Information about the replication runs.
$sel:httpStatus:GetReplicationRunsResponse', getReplicationRunsResponse_httpStatus - The response's http status code.
Response Lenses
getReplicationRunsResponse_nextToken :: Lens' GetReplicationRunsResponse (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.
getReplicationRunsResponse_replicationJob :: Lens' GetReplicationRunsResponse (Maybe ReplicationJob) Source #
Information about the replication job.
getReplicationRunsResponse_replicationRunList :: Lens' GetReplicationRunsResponse (Maybe [ReplicationRun]) Source #
Information about the replication runs.
getReplicationRunsResponse_httpStatus :: Lens' GetReplicationRunsResponse Int Source #
The response's http status code.