amazonka-secretsmanager-2.0: Amazon Secrets Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SecretsManager.RemoveRegionsFromReplication

Description

For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.

Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

Required permissions: secretsmanager:RemoveRegionsFromReplication. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

Synopsis

Creating a Request

data RemoveRegionsFromReplication Source #

See: newRemoveRegionsFromReplication smart constructor.

Constructors

RemoveRegionsFromReplication' 

Fields

Instances

Instances details
ToJSON RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

ToHeaders RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

ToPath RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

ToQuery RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

AWSRequest RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Generic RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Associated Types

type Rep RemoveRegionsFromReplication :: Type -> Type #

Read RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Show RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

NFData RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Eq RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Hashable RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

type AWSResponse RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

type Rep RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

type Rep RemoveRegionsFromReplication = D1 ('MetaData "RemoveRegionsFromReplication" "Amazonka.SecretsManager.RemoveRegionsFromReplication" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "RemoveRegionsFromReplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "removeReplicaRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newRemoveRegionsFromReplication Source #

Create a value of RemoveRegionsFromReplication 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:RemoveRegionsFromReplication', removeRegionsFromReplication_secretId - The ARN or name of the secret.

$sel:removeReplicaRegions:RemoveRegionsFromReplication', removeRegionsFromReplication_removeReplicaRegions - The Regions of the replicas to remove.

Request Lenses

Destructuring the Response

data RemoveRegionsFromReplicationResponse Source #

Constructors

RemoveRegionsFromReplicationResponse' 

Fields

Instances

Instances details
Generic RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Read RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Show RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

NFData RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Eq RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

type Rep RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

type Rep RemoveRegionsFromReplicationResponse = D1 ('MetaData "RemoveRegionsFromReplicationResponse" "Amazonka.SecretsManager.RemoveRegionsFromReplication" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "RemoveRegionsFromReplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "replicationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReplicationStatusType])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRemoveRegionsFromReplicationResponse Source #

Create a value of RemoveRegionsFromReplicationResponse 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:

RemoveRegionsFromReplicationResponse, removeRegionsFromReplicationResponse_arn - The ARN of the primary secret.

$sel:replicationStatus:RemoveRegionsFromReplicationResponse', removeRegionsFromReplicationResponse_replicationStatus - The status of replicas for this secret after you remove Regions.

$sel:httpStatus:RemoveRegionsFromReplicationResponse', removeRegionsFromReplicationResponse_httpStatus - The response's http status code.

Response Lenses