amazonka-rds-1.6.1: 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 # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Data DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.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 Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Show DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Generic DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Associated Types

type Rep DescribeDBSnapshotAttributes :: Type -> Type #

Hashable DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

AWSRequest DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Associated Types

type Rs DescribeDBSnapshotAttributes :: Type #

ToHeaders DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

ToPath DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

ToQuery DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

NFData DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributes = D1 (MetaData "DescribeDBSnapshotAttributes" "Network.AWS.RDS.DescribeDBSnapshotAttributes" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" True) (C1 (MetaCons "DescribeDBSnapshotAttributes'" PrefixI True) (S1 (MetaSel (Just "_ddsaDBSnapshotIdentifier") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeDBSnapshotAttributes Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

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 # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Data DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

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 # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Show DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Generic DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

NFData DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributesResponse Source # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributesResponse = D1 (MetaData "DescribeDBSnapshotAttributesResponse" "Network.AWS.RDS.DescribeDBSnapshotAttributes" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "DescribeDBSnapshotAttributesResponse'" PrefixI True) (S1 (MetaSel (Just "_ddsarsDBSnapshotAttributesResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBSnapshotAttributesResult)) :*: S1 (MetaSel (Just "_ddsarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses