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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 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

Eq DescribeDBSnapshotAttributes Source # 
Data DescribeDBSnapshotAttributes Source # 

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 Source # 
Show DescribeDBSnapshotAttributes Source # 
Generic DescribeDBSnapshotAttributes Source # 
Hashable DescribeDBSnapshotAttributes Source # 
NFData DescribeDBSnapshotAttributes Source # 
AWSRequest DescribeDBSnapshotAttributes Source # 
ToHeaders DescribeDBSnapshotAttributes Source # 
ToPath DescribeDBSnapshotAttributes Source # 
ToQuery DescribeDBSnapshotAttributes Source # 
type Rep DescribeDBSnapshotAttributes Source # 
type Rep DescribeDBSnapshotAttributes = D1 * (MetaData "DescribeDBSnapshotAttributes" "Network.AWS.RDS.DescribeDBSnapshotAttributes" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" True) (C1 * (MetaCons "DescribeDBSnapshotAttributes'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ddsaDBSnapshotIdentifier") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeDBSnapshotAttributes Source # 

Request Lenses

ddsaDBSnapshotIdentifier :: Lens' DescribeDBSnapshotAttributes Text Source #

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

Destructuring the Response

describeDBSnapshotAttributesResponse Source #

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

Eq DescribeDBSnapshotAttributesResponse Source # 
Data DescribeDBSnapshotAttributesResponse Source # 

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 Source # 
Show DescribeDBSnapshotAttributesResponse Source # 
Generic DescribeDBSnapshotAttributesResponse Source # 
NFData DescribeDBSnapshotAttributesResponse Source # 
type Rep DescribeDBSnapshotAttributesResponse Source # 
type Rep DescribeDBSnapshotAttributesResponse = D1 * (MetaData "DescribeDBSnapshotAttributesResponse" "Network.AWS.RDS.DescribeDBSnapshotAttributes" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "DescribeDBSnapshotAttributesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ddsarsDBSnapshotAttributesResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DBSnapshotAttributesResult))) (S1 * (MetaSel (Just Symbol "_ddsarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses