Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data RdsDbSnapshotAttributeValue Source #
The name and values of a manual Amazon RDS DB snapshot attribute. Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB snapshot.
See: newRdsDbSnapshotAttributeValue
smart constructor.
RdsDbSnapshotAttributeValue' | |
|
Instances
FromJSON RdsDbSnapshotAttributeValue Source # | |
ToJSON RdsDbSnapshotAttributeValue Source # | |
Generic RdsDbSnapshotAttributeValue Source # | |
Read RdsDbSnapshotAttributeValue Source # | |
Show RdsDbSnapshotAttributeValue Source # | |
NFData RdsDbSnapshotAttributeValue Source # | |
Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue rnf :: RdsDbSnapshotAttributeValue -> () # | |
Eq RdsDbSnapshotAttributeValue Source # | |
Hashable RdsDbSnapshotAttributeValue Source # | |
type Rep RdsDbSnapshotAttributeValue Source # | |
Defined in Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue type Rep RdsDbSnapshotAttributeValue = D1 ('MetaData "RdsDbSnapshotAttributeValue" "Amazonka.AccessAnalyzer.Types.RdsDbSnapshotAttributeValue" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "RdsDbSnapshotAttributeValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) |
newRdsDbSnapshotAttributeValue :: RdsDbSnapshotAttributeValue Source #
Create a value of RdsDbSnapshotAttributeValue
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:accountIds:RdsDbSnapshotAttributeValue'
, rdsDbSnapshotAttributeValue_accountIds
- The Amazon Web Services account IDs that have access to the manual
Amazon RDS DB snapshot. If the value all
is specified, then the Amazon
RDS DB snapshot is public and can be copied or restored by all Amazon
Web Services accounts.
- If the configuration is for an existing Amazon RDS DB snapshot and
you do not specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. - To propose deletion of an existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbSnapshotAttributeValue
.
rdsDbSnapshotAttributeValue_accountIds :: Lens' RdsDbSnapshotAttributeValue (Maybe [Text]) Source #
The Amazon Web Services account IDs that have access to the manual
Amazon RDS DB snapshot. If the value all
is specified, then the Amazon
RDS DB snapshot is public and can be copied or restored by all Amazon
Web Services accounts.
- If the configuration is for an existing Amazon RDS DB snapshot and
you do not specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. - If the access preview is for a new resource and you do not specify
the specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. - To propose deletion of an existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbSnapshotAttributeValue
.