amazonka-rds-1.4.5: Amazon Relational Database Service SDK.

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

Network.AWS.RDS.DescribeDBSnapshotAttributes

Contents

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 IDs for the AWS 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 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 action.

Synopsis

Creating a Request

describeDBSnapshotAttributes #

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 #

See: describeDBSnapshotAttributes smart constructor.

Instances

Eq DescribeDBSnapshotAttributes # 
Data DescribeDBSnapshotAttributes # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeDBSnapshotAttributes -> c DescribeDBSnapshotAttributes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeDBSnapshotAttributes #

toConstr :: DescribeDBSnapshotAttributes -> Constr #

dataTypeOf :: DescribeDBSnapshotAttributes -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeDBSnapshotAttributes) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeDBSnapshotAttributes) #

gmapT :: (forall b. Data b => b -> b) -> DescribeDBSnapshotAttributes -> DescribeDBSnapshotAttributes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDBSnapshotAttributes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDBSnapshotAttributes -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeDBSnapshotAttributes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeDBSnapshotAttributes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeDBSnapshotAttributes -> m DescribeDBSnapshotAttributes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDBSnapshotAttributes -> m DescribeDBSnapshotAttributes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDBSnapshotAttributes -> m DescribeDBSnapshotAttributes #

Read DescribeDBSnapshotAttributes # 
Show DescribeDBSnapshotAttributes # 
Generic DescribeDBSnapshotAttributes # 
Hashable DescribeDBSnapshotAttributes # 
NFData DescribeDBSnapshotAttributes # 
AWSRequest DescribeDBSnapshotAttributes # 
ToQuery DescribeDBSnapshotAttributes # 
ToPath DescribeDBSnapshotAttributes # 
ToHeaders DescribeDBSnapshotAttributes # 
type Rep DescribeDBSnapshotAttributes # 
type Rep DescribeDBSnapshotAttributes = D1 (MetaData "DescribeDBSnapshotAttributes" "Network.AWS.RDS.DescribeDBSnapshotAttributes" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" True) (C1 (MetaCons "DescribeDBSnapshotAttributes'" PrefixI True) (S1 (MetaSel (Just Symbol "_ddsaDBSnapshotIdentifier") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeDBSnapshotAttributes # 

Request Lenses

ddsaDBSnapshotIdentifier :: Lens' DescribeDBSnapshotAttributes Text #

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

Destructuring the Response

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 #

See: describeDBSnapshotAttributesResponse smart constructor.

Instances

Eq DescribeDBSnapshotAttributesResponse # 
Data DescribeDBSnapshotAttributesResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeDBSnapshotAttributesResponse -> c DescribeDBSnapshotAttributesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeDBSnapshotAttributesResponse #

toConstr :: DescribeDBSnapshotAttributesResponse -> Constr #

dataTypeOf :: DescribeDBSnapshotAttributesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeDBSnapshotAttributesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeDBSnapshotAttributesResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeDBSnapshotAttributesResponse -> DescribeDBSnapshotAttributesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDBSnapshotAttributesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeDBSnapshotAttributesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeDBSnapshotAttributesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeDBSnapshotAttributesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeDBSnapshotAttributesResponse -> m DescribeDBSnapshotAttributesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDBSnapshotAttributesResponse -> m DescribeDBSnapshotAttributesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeDBSnapshotAttributesResponse -> m DescribeDBSnapshotAttributesResponse #

Read DescribeDBSnapshotAttributesResponse # 
Show DescribeDBSnapshotAttributesResponse # 
Generic DescribeDBSnapshotAttributesResponse # 
NFData DescribeDBSnapshotAttributesResponse # 
type Rep DescribeDBSnapshotAttributesResponse # 
type Rep DescribeDBSnapshotAttributesResponse = D1 (MetaData "DescribeDBSnapshotAttributesResponse" "Network.AWS.RDS.DescribeDBSnapshotAttributes" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" False) (C1 (MetaCons "DescribeDBSnapshotAttributesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ddsarsDBSnapshotAttributesResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBSnapshotAttributesResult))) (S1 (MetaSel (Just Symbol "_ddsarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses