| 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 |
Amazonka.SecretsManager.StopReplicationToReplica
Description
Removes the secret from replication and promotes the secret to a regional secret in the replica Region.
Synopsis
- data StopReplicationToReplica = StopReplicationToReplica' {}
- newStopReplicationToReplica :: Text -> StopReplicationToReplica
- stopReplicationToReplica_secretId :: Lens' StopReplicationToReplica Text
- data StopReplicationToReplicaResponse = StopReplicationToReplicaResponse' {
- arn :: Maybe Text
- httpStatus :: Int
- newStopReplicationToReplicaResponse :: Int -> StopReplicationToReplicaResponse
- stopReplicationToReplicaResponse_arn :: Lens' StopReplicationToReplicaResponse (Maybe Text)
- stopReplicationToReplicaResponse_httpStatus :: Lens' StopReplicationToReplicaResponse Int
Creating a Request
data StopReplicationToReplica Source #
See: newStopReplicationToReplica smart constructor.
Constructors
| StopReplicationToReplica' | |
Instances
newStopReplicationToReplica Source #
Create a value of StopReplicationToReplica 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:secretId:StopReplicationToReplica', stopReplicationToReplica_secretId - Response to StopReplicationToReplica of a secret, based on the
SecretId.
Request Lenses
stopReplicationToReplica_secretId :: Lens' StopReplicationToReplica Text Source #
Response to StopReplicationToReplica of a secret, based on the
SecretId.
Destructuring the Response
data StopReplicationToReplicaResponse Source #
See: newStopReplicationToReplicaResponse smart constructor.
Constructors
| StopReplicationToReplicaResponse' | |
Fields
| |
Instances
newStopReplicationToReplicaResponse Source #
Create a value of StopReplicationToReplicaResponse 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:arn:StopReplicationToReplicaResponse', stopReplicationToReplicaResponse_arn - Response StopReplicationToReplica of a secret, based on the ARN,.
$sel:httpStatus:StopReplicationToReplicaResponse', stopReplicationToReplicaResponse_httpStatus - The response's http status code.
Response Lenses
stopReplicationToReplicaResponse_arn :: Lens' StopReplicationToReplicaResponse (Maybe Text) Source #
Response StopReplicationToReplica of a secret, based on the ARN,.
stopReplicationToReplicaResponse_httpStatus :: Lens' StopReplicationToReplicaResponse Int Source #
The response's http status code.