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 #

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

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

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

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Show DescribeDBSnapshotAttributes # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Generic DescribeDBSnapshotAttributes # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Associated Types

type Rep DescribeDBSnapshotAttributes :: Type -> Type #

Hashable DescribeDBSnapshotAttributes # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

AWSRequest DescribeDBSnapshotAttributes # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Associated Types

type Rs DescribeDBSnapshotAttributes :: Type #

ToHeaders DescribeDBSnapshotAttributes # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

ToPath DescribeDBSnapshotAttributes # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

ToQuery DescribeDBSnapshotAttributes # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

NFData DescribeDBSnapshotAttributes # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributes # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

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

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

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

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

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Show DescribeDBSnapshotAttributesResponse # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

Generic DescribeDBSnapshotAttributesResponse # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

NFData DescribeDBSnapshotAttributesResponse # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributesResponse # 
Instance details

Defined in Network.AWS.RDS.DescribeDBSnapshotAttributes

type Rep DescribeDBSnapshotAttributesResponse = D1 (MetaData "DescribeDBSnapshotAttributesResponse" "Network.AWS.RDS.DescribeDBSnapshotAttributes" "amazonka-rds-1.6.1-3ZKMQU9eYbr7zx3WZ2Anqw" 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