libZSservicesZSamazonka-secretsmanagerZSamazonka-secretsmanager
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecretsManager.Types.ReplicationStatusType

Description

 
Synopsis

Documentation

data ReplicationStatusType Source #

A replication object consisting of a RegionReplicationStatus object and includes a Region, KMSKeyId, status, and status message.

See: newReplicationStatusType smart constructor.

Constructors

ReplicationStatusType' 

Fields

Instances

Instances details
Eq ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

Read ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

Show ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

Generic ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

Associated Types

type Rep ReplicationStatusType :: Type -> Type #

NFData ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

Methods

rnf :: ReplicationStatusType -> () #

Hashable ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

FromJSON ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

type Rep ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

type Rep ReplicationStatusType = D1 ('MetaData "ReplicationStatusType" "Amazonka.SecretsManager.Types.ReplicationStatusType" "libZSservicesZSamazonka-secretsmanagerZSamazonka-secretsmanager" 'False) (C1 ('MetaCons "ReplicationStatusType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatusType)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastAccessedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newReplicationStatusType :: ReplicationStatusType Source #

Create a value of ReplicationStatusType 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:status:ReplicationStatusType', replicationStatusType_status - The status can be InProgress, Failed, or InSync.

$sel:kmsKeyId:ReplicationStatusType', replicationStatusType_kmsKeyId - Can be an ARN, Key ID, or Alias.

$sel:statusMessage:ReplicationStatusType', replicationStatusType_statusMessage - Status message such as "/Secret with this name already exists in this region/".

$sel:region:ReplicationStatusType', replicationStatusType_region - The Region where replication occurs.

$sel:lastAccessedDate:ReplicationStatusType', replicationStatusType_lastAccessedDate - The date that you last accessed the secret in the Region.

replicationStatusType_status :: Lens' ReplicationStatusType (Maybe StatusType) Source #

The status can be InProgress, Failed, or InSync.

replicationStatusType_statusMessage :: Lens' ReplicationStatusType (Maybe Text) Source #

Status message such as "/Secret with this name already exists in this region/".

replicationStatusType_region :: Lens' ReplicationStatusType (Maybe Text) Source #

The Region where replication occurs.

replicationStatusType_lastAccessedDate :: Lens' ReplicationStatusType (Maybe UTCTime) Source #

The date that you last accessed the secret in the Region.