| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.RDS.DescribeDBSnapshotAttributes
Description
Returns a list of DB snapshot attribute names and values for a manual DB snapshot.
When sharing snapshots with other AWS accounts,
DescribeDBSnapshotAttributes returns the restore attribute and a
list of the AWS account ids that are authorized to copy or restore the
manual DB snapshot. If all is included in the list of values for the
restore attribute, then the manual DB snapshot is public and can be
copied or restored by all AWS accounts.
To add or remove access for an AWS account to copy or restore a manual DB snapshot, or to make the manual DB snapshot public or private, use the ModifyDBSnapshotAttribute API.
- describeDBSnapshotAttributes :: DescribeDBSnapshotAttributes
- data DescribeDBSnapshotAttributes
- ddsaDBSnapshotIdentifier :: Lens' DescribeDBSnapshotAttributes (Maybe Text)
- describeDBSnapshotAttributesResponse :: Int -> DescribeDBSnapshotAttributesResponse
- data DescribeDBSnapshotAttributesResponse
- ddsarsDBSnapshotAttributesResult :: Lens' DescribeDBSnapshotAttributesResponse (Maybe DBSnapshotAttributesResult)
- ddsarsResponseStatus :: Lens' DescribeDBSnapshotAttributesResponse Int
Creating a Request
describeDBSnapshotAttributes :: DescribeDBSnapshotAttributes Source #
Creates a value of DescribeDBSnapshotAttributes with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeDBSnapshotAttributes Source #
See: describeDBSnapshotAttributes smart constructor.
Instances
Request Lenses
ddsaDBSnapshotIdentifier :: Lens' DescribeDBSnapshotAttributes (Maybe Text) Source #
The identifier for the DB snapshot to modify the attributes for.
Destructuring the Response
describeDBSnapshotAttributesResponse Source #
Arguments
| :: Int | |
| -> DescribeDBSnapshotAttributesResponse |
Creates a value of DescribeDBSnapshotAttributesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeDBSnapshotAttributesResponse Source #
See: describeDBSnapshotAttributesResponse smart constructor.
Instances
Response Lenses
ddsarsDBSnapshotAttributesResult :: Lens' DescribeDBSnapshotAttributesResponse (Maybe DBSnapshotAttributesResult) Source #
Undocumented member.
ddsarsResponseStatus :: Lens' DescribeDBSnapshotAttributesResponse Int Source #
The response status code.