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 |
Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
Synopsis
- data ReverseReplication = ReverseReplication' {}
- newReverseReplication :: Text -> ReverseReplication
- reverseReplication_recoveryInstanceID :: Lens' ReverseReplication Text
- data ReverseReplicationResponse = ReverseReplicationResponse' {}
- newReverseReplicationResponse :: Int -> ReverseReplicationResponse
- reverseReplicationResponse_reversedDirectionSourceServerArn :: Lens' ReverseReplicationResponse (Maybe Text)
- reverseReplicationResponse_httpStatus :: Lens' ReverseReplicationResponse Int
Creating a Request
data ReverseReplication Source #
See: newReverseReplication
smart constructor.
ReverseReplication' | |
|
Instances
newReverseReplication Source #
Create a value of ReverseReplication
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:
ReverseReplication
, reverseReplication_recoveryInstanceID
- The ID of the Recovery Instance that we want to reverse the replication
for.
Request Lenses
reverseReplication_recoveryInstanceID :: Lens' ReverseReplication Text Source #
The ID of the Recovery Instance that we want to reverse the replication for.
Destructuring the Response
data ReverseReplicationResponse Source #
See: newReverseReplicationResponse
smart constructor.
ReverseReplicationResponse' | |
|
Instances
newReverseReplicationResponse Source #
Create a value of ReverseReplicationResponse
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:
ReverseReplicationResponse
, reverseReplicationResponse_reversedDirectionSourceServerArn
- ARN of created SourceServer.
$sel:httpStatus:ReverseReplicationResponse'
, reverseReplicationResponse_httpStatus
- The response's http status code.
Response Lenses
reverseReplicationResponse_reversedDirectionSourceServerArn :: Lens' ReverseReplicationResponse (Maybe Text) Source #
ARN of created SourceServer.
reverseReplicationResponse_httpStatus :: Lens' ReverseReplicationResponse Int Source #
The response's http status code.