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 replication runs for the specified replication job.
This operation returns paginated results.
Synopsis
- data GetReplicationRuns = GetReplicationRuns' {
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- replicationJobId :: Text
- newGetReplicationRuns :: Text -> GetReplicationRuns
- getReplicationRuns_nextToken :: Lens' GetReplicationRuns (Maybe Text)
- getReplicationRuns_maxResults :: Lens' GetReplicationRuns (Maybe Int)
- getReplicationRuns_replicationJobId :: Lens' GetReplicationRuns Text
- data GetReplicationRunsResponse = GetReplicationRunsResponse' {}
- newGetReplicationRunsResponse :: Int -> GetReplicationRunsResponse
- getReplicationRunsResponse_replicationJob :: Lens' GetReplicationRunsResponse (Maybe ReplicationJob)
- getReplicationRunsResponse_nextToken :: Lens' GetReplicationRunsResponse (Maybe Text)
- getReplicationRunsResponse_replicationRunList :: Lens' GetReplicationRunsResponse (Maybe [ReplicationRun])
- getReplicationRunsResponse_httpStatus :: Lens' GetReplicationRunsResponse Int
Creating a Request
data GetReplicationRuns Source #
See: newGetReplicationRuns
smart constructor.
GetReplicationRuns' | |
|
Instances
newGetReplicationRuns Source #
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:nextToken:GetReplicationRuns'
, getReplicationRuns_nextToken
- The token for the next set of results.
$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.
$sel:replicationJobId:GetReplicationRuns'
, getReplicationRuns_replicationJobId
- The ID of the replication job.
Request Lenses
getReplicationRuns_nextToken :: Lens' GetReplicationRuns (Maybe Text) Source #
The token for the next set of results.
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_replicationJobId :: Lens' GetReplicationRuns Text Source #
The ID of the replication job.
Destructuring the Response
data GetReplicationRunsResponse Source #
See: newGetReplicationRunsResponse
smart constructor.
GetReplicationRunsResponse' | |
|
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:
$sel:replicationJob:GetReplicationRunsResponse'
, getReplicationRunsResponse_replicationJob
- Information about the replication job.
$sel:nextToken: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:replicationRunList:GetReplicationRunsResponse'
, getReplicationRunsResponse_replicationRunList
- Information about the replication runs.
$sel:httpStatus:GetReplicationRunsResponse'
, getReplicationRunsResponse_httpStatus
- The response's http status code.
Response Lenses
getReplicationRunsResponse_replicationJob :: Lens' GetReplicationRunsResponse (Maybe ReplicationJob) Source #
Information about the replication job.
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_replicationRunList :: Lens' GetReplicationRunsResponse (Maybe [ReplicationRun]) Source #
Information about the replication runs.
getReplicationRunsResponse_httpStatus :: Lens' GetReplicationRunsResponse Int Source #
The response's http status code.