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 |
Returns a list of cluster snapshot attribute names and values for a manual DB cluster snapshot.
When you share snapshots with other Amazon Web Services accounts,
DescribeDBClusterSnapshotAttributes
returns the restore
attribute
and a list of IDs for the Amazon Web Services accounts that are
authorized to copy or restore the manual cluster snapshot. If all
is
included in the list of values for the restore
attribute, then the
manual cluster snapshot is public and can be copied or restored by all
Amazon Web Services accounts.
Synopsis
- data DescribeDBClusterSnapshotAttributes = DescribeDBClusterSnapshotAttributes' {}
- newDescribeDBClusterSnapshotAttributes :: Text -> DescribeDBClusterSnapshotAttributes
- describeDBClusterSnapshotAttributes_dbClusterSnapshotIdentifier :: Lens' DescribeDBClusterSnapshotAttributes Text
- data DescribeDBClusterSnapshotAttributesResponse = DescribeDBClusterSnapshotAttributesResponse' {}
- newDescribeDBClusterSnapshotAttributesResponse :: Int -> DescribeDBClusterSnapshotAttributesResponse
- describeDBClusterSnapshotAttributesResponse_dbClusterSnapshotAttributesResult :: Lens' DescribeDBClusterSnapshotAttributesResponse (Maybe DBClusterSnapshotAttributesResult)
- describeDBClusterSnapshotAttributesResponse_httpStatus :: Lens' DescribeDBClusterSnapshotAttributesResponse Int
Creating a Request
data DescribeDBClusterSnapshotAttributes Source #
Represents the input to DescribeDBClusterSnapshotAttributes.
See: newDescribeDBClusterSnapshotAttributes
smart constructor.
DescribeDBClusterSnapshotAttributes' | |
|
Instances
newDescribeDBClusterSnapshotAttributes Source #
Create a value of DescribeDBClusterSnapshotAttributes
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:
DescribeDBClusterSnapshotAttributes
, describeDBClusterSnapshotAttributes_dbClusterSnapshotIdentifier
- The identifier for the cluster snapshot to describe the attributes for.
Request Lenses
describeDBClusterSnapshotAttributes_dbClusterSnapshotIdentifier :: Lens' DescribeDBClusterSnapshotAttributes Text Source #
The identifier for the cluster snapshot to describe the attributes for.
Destructuring the Response
data DescribeDBClusterSnapshotAttributesResponse Source #
See: newDescribeDBClusterSnapshotAttributesResponse
smart constructor.
DescribeDBClusterSnapshotAttributesResponse' | |
|
Instances
Generic DescribeDBClusterSnapshotAttributesResponse Source # | |
Read DescribeDBClusterSnapshotAttributesResponse Source # | |
Show DescribeDBClusterSnapshotAttributesResponse Source # | |
NFData DescribeDBClusterSnapshotAttributesResponse Source # | |
Eq DescribeDBClusterSnapshotAttributesResponse Source # | |
type Rep DescribeDBClusterSnapshotAttributesResponse Source # | |
Defined in Amazonka.DocumentDB.DescribeDBClusterSnapshotAttributes type Rep DescribeDBClusterSnapshotAttributesResponse = D1 ('MetaData "DescribeDBClusterSnapshotAttributesResponse" "Amazonka.DocumentDB.DescribeDBClusterSnapshotAttributes" "amazonka-docdb-2.0-7OwFe1BulfiBtMsDpDrdzX" 'False) (C1 ('MetaCons "DescribeDBClusterSnapshotAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbClusterSnapshotAttributesResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBClusterSnapshotAttributesResult)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeDBClusterSnapshotAttributesResponse Source #
:: Int |
|
-> DescribeDBClusterSnapshotAttributesResponse |
Create a value of DescribeDBClusterSnapshotAttributesResponse
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:dbClusterSnapshotAttributesResult:DescribeDBClusterSnapshotAttributesResponse'
, describeDBClusterSnapshotAttributesResponse_dbClusterSnapshotAttributesResult
- Undocumented member.
$sel:httpStatus:DescribeDBClusterSnapshotAttributesResponse'
, describeDBClusterSnapshotAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
describeDBClusterSnapshotAttributesResponse_dbClusterSnapshotAttributesResult :: Lens' DescribeDBClusterSnapshotAttributesResponse (Maybe DBClusterSnapshotAttributesResult) Source #
Undocumented member.
describeDBClusterSnapshotAttributesResponse_httpStatus :: Lens' DescribeDBClusterSnapshotAttributesResponse Int Source #
The response's http status code.