| 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.DrS.StopReplication
Description
Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
Synopsis
- data StopReplication = StopReplication' {}
- newStopReplication :: Text -> StopReplication
- stopReplication_sourceServerID :: Lens' StopReplication Text
- data StopReplicationResponse = StopReplicationResponse' {}
- newStopReplicationResponse :: Int -> StopReplicationResponse
- stopReplicationResponse_sourceServer :: Lens' StopReplicationResponse (Maybe SourceServer)
- stopReplicationResponse_httpStatus :: Lens' StopReplicationResponse Int
Creating a Request
data StopReplication Source #
See: newStopReplication smart constructor.
Constructors
| StopReplication' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StopReplication |
Create a value of StopReplication 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:
StopReplication, stopReplication_sourceServerID - The ID of the Source Server to stop replication for.
Request Lenses
stopReplication_sourceServerID :: Lens' StopReplication Text Source #
The ID of the Source Server to stop replication for.
Destructuring the Response
data StopReplicationResponse Source #
See: newStopReplicationResponse smart constructor.
Constructors
| StopReplicationResponse' | |
Fields
| |
Instances
newStopReplicationResponse Source #
Create a value of StopReplicationResponse 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:sourceServer:StopReplicationResponse', stopReplicationResponse_sourceServer - The Source Server that this action was targeted on.
$sel:httpStatus:StopReplicationResponse', stopReplicationResponse_httpStatus - The response's http status code.
Response Lenses
stopReplicationResponse_sourceServer :: Lens' StopReplicationResponse (Maybe SourceServer) Source #
The Source Server that this action was targeted on.
stopReplicationResponse_httpStatus :: Lens' StopReplicationResponse Int Source #
The response's http status code.