libZSservicesZSamazonka-docdbZSamazonka-docdb
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.DocumentDB.Types.DBClusterSnapshotAttribute

Description

 
Synopsis

Documentation

data DBClusterSnapshotAttribute Source #

Contains the name and values of a manual cluster snapshot attribute.

Manual cluster snapshot attributes are used to authorize other accounts to restore a manual cluster snapshot.

See: newDBClusterSnapshotAttribute smart constructor.

Constructors

DBClusterSnapshotAttribute' 

Fields

  • attributeValues :: Maybe [Text]

    The values for the manual cluster snapshot attribute.

    If the AttributeName field is set to restore, then this element returns a list of IDs of the accounts that are authorized to copy or restore the manual cluster snapshot. If a value of all is in the list, then the manual cluster snapshot is public and available for any account to copy or restore.

  • attributeName :: Maybe Text

    The name of the manual cluster snapshot attribute.

    The attribute named restore refers to the list of accounts that have permission to copy or restore the manual cluster snapshot.

Instances

Instances details
Eq DBClusterSnapshotAttribute Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterSnapshotAttribute

Read DBClusterSnapshotAttribute Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterSnapshotAttribute

Show DBClusterSnapshotAttribute Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterSnapshotAttribute

Generic DBClusterSnapshotAttribute Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterSnapshotAttribute

Associated Types

type Rep DBClusterSnapshotAttribute :: Type -> Type #

NFData DBClusterSnapshotAttribute Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterSnapshotAttribute

Hashable DBClusterSnapshotAttribute Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterSnapshotAttribute

FromXML DBClusterSnapshotAttribute Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterSnapshotAttribute

type Rep DBClusterSnapshotAttribute Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.DBClusterSnapshotAttribute

type Rep DBClusterSnapshotAttribute = D1 ('MetaData "DBClusterSnapshotAttribute" "Amazonka.DocumentDB.Types.DBClusterSnapshotAttribute" "libZSservicesZSamazonka-docdbZSamazonka-docdb" 'False) (C1 ('MetaCons "DBClusterSnapshotAttribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDBClusterSnapshotAttribute :: DBClusterSnapshotAttribute Source #

Create a value of DBClusterSnapshotAttribute 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:attributeValues:DBClusterSnapshotAttribute', dbClusterSnapshotAttribute_attributeValues - The values for the manual cluster snapshot attribute.

If the AttributeName field is set to restore, then this element returns a list of IDs of the accounts that are authorized to copy or restore the manual cluster snapshot. If a value of all is in the list, then the manual cluster snapshot is public and available for any account to copy or restore.

$sel:attributeName:DBClusterSnapshotAttribute', dbClusterSnapshotAttribute_attributeName - The name of the manual cluster snapshot attribute.

The attribute named restore refers to the list of accounts that have permission to copy or restore the manual cluster snapshot.

dbClusterSnapshotAttribute_attributeValues :: Lens' DBClusterSnapshotAttribute (Maybe [Text]) Source #

The values for the manual cluster snapshot attribute.

If the AttributeName field is set to restore, then this element returns a list of IDs of the accounts that are authorized to copy or restore the manual cluster snapshot. If a value of all is in the list, then the manual cluster snapshot is public and available for any account to copy or restore.

dbClusterSnapshotAttribute_attributeName :: Lens' DBClusterSnapshotAttribute (Maybe Text) Source #

The name of the manual cluster snapshot attribute.

The attribute named restore refers to the list of accounts that have permission to copy or restore the manual cluster snapshot.