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 |
Stops the replication task.
Synopsis
- data StopReplicationTask = StopReplicationTask' {}
- newStopReplicationTask :: Text -> StopReplicationTask
- stopReplicationTask_replicationTaskArn :: Lens' StopReplicationTask Text
- data StopReplicationTaskResponse = StopReplicationTaskResponse' {}
- newStopReplicationTaskResponse :: Int -> StopReplicationTaskResponse
- stopReplicationTaskResponse_replicationTask :: Lens' StopReplicationTaskResponse (Maybe ReplicationTask)
- stopReplicationTaskResponse_httpStatus :: Lens' StopReplicationTaskResponse Int
Creating a Request
data StopReplicationTask Source #
See: newStopReplicationTask
smart constructor.
StopReplicationTask' | |
|
Instances
newStopReplicationTask Source #
Create a value of StopReplicationTask
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:replicationTaskArn:StopReplicationTask'
, stopReplicationTask_replicationTaskArn
- The Amazon Resource Name(ARN) of the replication task to be stopped.
Request Lenses
stopReplicationTask_replicationTaskArn :: Lens' StopReplicationTask Text Source #
The Amazon Resource Name(ARN) of the replication task to be stopped.
Destructuring the Response
data StopReplicationTaskResponse Source #
See: newStopReplicationTaskResponse
smart constructor.
StopReplicationTaskResponse' | |
|
Instances
newStopReplicationTaskResponse Source #
Create a value of StopReplicationTaskResponse
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:replicationTask:StopReplicationTaskResponse'
, stopReplicationTaskResponse_replicationTask
- The replication task stopped.
$sel:httpStatus:StopReplicationTaskResponse'
, stopReplicationTaskResponse_httpStatus
- The response's http status code.
Response Lenses
stopReplicationTaskResponse_replicationTask :: Lens' StopReplicationTaskResponse (Maybe ReplicationTask) Source #
The replication task stopped.
stopReplicationTaskResponse_httpStatus :: Lens' StopReplicationTaskResponse Int Source #
The response's http status code.