libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.DescribeDBSnapshotAttributes

Description

Returns a list of DB snapshot attribute names and values for a manual DB snapshot.

When sharing snapshots with other Amazon Web Services accounts, DescribeDBSnapshotAttributes 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 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 Amazon Web Services accounts.

To add or remove access for an Amazon Web Services account to copy or restore a manual DB snapshot, or to make the manual DB snapshot public or private, use the ModifyDBSnapshotAttribute API action.

Synopsis

Creating a Request

data DescribeDBSnapshotAttributes Source #

See: newDescribeDBSnapshotAttributes smart constructor.

Constructors

DescribeDBSnapshotAttributes' 

Fields

Instances

Instances details
Eq DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

Read DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

Show DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

Generic DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

Associated Types

type Rep DescribeDBSnapshotAttributes :: Type -> Type #

NFData DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

Hashable DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

AWSRequest DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

ToHeaders DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

ToPath DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

ToQuery DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributes = D1 ('MetaData "DescribeDBSnapshotAttributes" "Amazonka.RDS.DescribeDBSnapshotAttributes" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DescribeDBSnapshotAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbSnapshotIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

newDescribeDBSnapshotAttributes Source #

Create a value of DescribeDBSnapshotAttributes 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:dbSnapshotIdentifier:DescribeDBSnapshotAttributes', describeDBSnapshotAttributes_dbSnapshotIdentifier - The identifier for the DB snapshot to describe the attributes for.

Request Lenses

describeDBSnapshotAttributes_dbSnapshotIdentifier :: Lens' DescribeDBSnapshotAttributes Text Source #

The identifier for the DB snapshot to describe the attributes for.

Destructuring the Response

data DescribeDBSnapshotAttributesResponse Source #

Instances

Instances details
Eq DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

Read DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

Show DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

Generic DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

NFData DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributesResponse = D1 ('MetaData "DescribeDBSnapshotAttributesResponse" "Amazonka.RDS.DescribeDBSnapshotAttributes" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DescribeDBSnapshotAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbSnapshotAttributesResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBSnapshotAttributesResult)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeDBSnapshotAttributesResponse Source #

Create a value of DescribeDBSnapshotAttributesResponse 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:dbSnapshotAttributesResult:DescribeDBSnapshotAttributesResponse', describeDBSnapshotAttributesResponse_dbSnapshotAttributesResult - Undocumented member.

$sel:httpStatus:DescribeDBSnapshotAttributesResponse', describeDBSnapshotAttributesResponse_httpStatus - The response's http status code.

Response Lenses