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 |
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.
StopReplication' | |
|
Instances
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.
StopReplicationResponse' | |
|
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.