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 |
Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot.
When sharing 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 DB cluster snapshot. If all
is included in the list of values for the restore
attribute, then the
manual DB cluster snapshot is public and can be copied or restored by
all Amazon Web Services accounts.
To add or remove access for an Amazon Web Services account to copy or
restore a manual DB cluster snapshot, or to make the manual DB cluster
snapshot public or private, use the ModifyDBClusterSnapshotAttribute
API action.
This action only applies to Aurora DB clusters.
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 #
See: newDescribeDBClusterSnapshotAttributes
smart constructor.
DescribeDBClusterSnapshotAttributes' | |
|
Instances
newDescribeDBClusterSnapshotAttributes Source #
:: Text |
|
-> DescribeDBClusterSnapshotAttributes |
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:
$sel:dbClusterSnapshotIdentifier:DescribeDBClusterSnapshotAttributes'
, describeDBClusterSnapshotAttributes_dbClusterSnapshotIdentifier
- The identifier for the DB cluster snapshot to describe the attributes
for.
Request Lenses
describeDBClusterSnapshotAttributes_dbClusterSnapshotIdentifier :: Lens' DescribeDBClusterSnapshotAttributes Text Source #
The identifier for the DB cluster snapshot to describe the attributes for.
Destructuring the Response
data DescribeDBClusterSnapshotAttributesResponse Source #
See: newDescribeDBClusterSnapshotAttributesResponse
smart constructor.
DescribeDBClusterSnapshotAttributesResponse' | |
|
Instances
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.