| 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 |
Amazonka.DocumentDB.DescribeDBClusterSnapshotAttributes
Description
Returns a list of cluster snapshot attribute names and values for a manual DB cluster snapshot.
When you share snapshots with other accounts,
DescribeDBClusterSnapshotAttributes returns the restore attribute
and a list of IDs for the 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 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.
Constructors
| DescribeDBClusterSnapshotAttributes' | |
Fields
| |
Instances
newDescribeDBClusterSnapshotAttributes Source #
Arguments
| :: 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 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.
Constructors
| DescribeDBClusterSnapshotAttributesResponse' | |
Fields
| |
Instances
newDescribeDBClusterSnapshotAttributesResponse Source #
Arguments
| :: 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.