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 |
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.
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.
StopReplicationToReplicaResponse' | |
|
Instances
Eq StopReplicationToReplicaResponse Source # | |
Read StopReplicationToReplicaResponse Source # | |
Show StopReplicationToReplicaResponse Source # | |
Generic StopReplicationToReplicaResponse Source # | |
NFData StopReplicationToReplicaResponse Source # | |
Defined in Amazonka.SecretsManager.StopReplicationToReplica rnf :: StopReplicationToReplicaResponse -> () # | |
type Rep StopReplicationToReplicaResponse Source # | |
Defined in Amazonka.SecretsManager.StopReplicationToReplica type Rep StopReplicationToReplicaResponse = D1 ('MetaData "StopReplicationToReplicaResponse" "Amazonka.SecretsManager.StopReplicationToReplica" "libZSservicesZSamazonka-secretsmanagerZSamazonka-secretsmanager" 'False) (C1 ('MetaCons "StopReplicationToReplicaResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.