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 |
Synopsis
- data DBClusterSnapshotAttribute = DBClusterSnapshotAttribute' {
- attributeValues :: Maybe [Text]
- attributeName :: Maybe Text
- newDBClusterSnapshotAttribute :: DBClusterSnapshotAttribute
- dbClusterSnapshotAttribute_attributeValues :: Lens' DBClusterSnapshotAttribute (Maybe [Text])
- dbClusterSnapshotAttribute_attributeName :: Lens' DBClusterSnapshotAttribute (Maybe Text)
Documentation
data DBClusterSnapshotAttribute Source #
Contains the name and values of a manual DB cluster snapshot attribute.
Manual DB cluster snapshot attributes are used to authorize other Amazon accounts to restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action.
See: newDBClusterSnapshotAttribute
smart constructor.
DBClusterSnapshotAttribute' | |
|
Instances
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 value(s) for the manual DB cluster snapshot attribute.
If the AttributeName
field is set to restore
, then this element
returns a list of IDs of the Amazon accounts that are authorized to copy
or restore the manual DB cluster snapshot. If a value of all
is in the
list, then the manual DB cluster snapshot is public and available for
any Amazon account to copy or restore.
$sel:attributeName:DBClusterSnapshotAttribute'
, dbClusterSnapshotAttribute_attributeName
- The name of the manual DB cluster snapshot attribute.
The attribute named restore
refers to the list of Amazon accounts that
have permission to copy or restore the manual DB cluster snapshot. For
more information, see the ModifyDBClusterSnapshotAttribute API action.
dbClusterSnapshotAttribute_attributeValues :: Lens' DBClusterSnapshotAttribute (Maybe [Text]) Source #
The value(s) for the manual DB cluster snapshot attribute.
If the AttributeName
field is set to restore
, then this element
returns a list of IDs of the Amazon accounts that are authorized to copy
or restore the manual DB cluster snapshot. If a value of all
is in the
list, then the manual DB cluster snapshot is public and available for
any Amazon account to copy or restore.
dbClusterSnapshotAttribute_attributeName :: Lens' DBClusterSnapshotAttribute (Maybe Text) Source #
The name of the manual DB cluster snapshot attribute.
The attribute named restore
refers to the list of Amazon accounts that
have permission to copy or restore the manual DB cluster snapshot. For
more information, see the ModifyDBClusterSnapshotAttribute API action.