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 |
Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
Synopsis
- data StartReplication = StartReplication' {}
- newStartReplication :: Text -> StartReplication
- startReplication_sourceServerID :: Lens' StartReplication Text
- data StartReplicationResponse = StartReplicationResponse' {}
- newStartReplicationResponse :: Int -> StartReplicationResponse
- startReplicationResponse_sourceServer :: Lens' StartReplicationResponse (Maybe SourceServer)
- startReplicationResponse_httpStatus :: Lens' StartReplicationResponse Int
Creating a Request
data StartReplication Source #
See: newStartReplication
smart constructor.
StartReplication' | |
|
Instances
Create a value of StartReplication
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:
StartReplication
, startReplication_sourceServerID
- The ID of the Source Server to start replication for.
Request Lenses
startReplication_sourceServerID :: Lens' StartReplication Text Source #
The ID of the Source Server to start replication for.
Destructuring the Response
data StartReplicationResponse Source #
See: newStartReplicationResponse
smart constructor.
StartReplicationResponse' | |
|
Instances
newStartReplicationResponse Source #
Create a value of StartReplicationResponse
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:StartReplicationResponse'
, startReplicationResponse_sourceServer
- The Source Server that this action was targeted on.
$sel:httpStatus:StartReplicationResponse'
, startReplicationResponse_httpStatus
- The response's http status code.
Response Lenses
startReplicationResponse_sourceServer :: Lens' StartReplicationResponse (Maybe SourceServer) Source #
The Source Server that this action was targeted on.
startReplicationResponse_httpStatus :: Lens' StartReplicationResponse Int Source #
The response's http status code.