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.DescribeDBClusterSnapshotAttributes

Contents

Description

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

When sharing snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster 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 cluster snapshot, or to make the manual DB cluster snapshot public or private, use the ModifyDBClusterSnapshotAttribute API action.

Synopsis

Creating a Request

describeDBClusterSnapshotAttributes #

Creates a value of DescribeDBClusterSnapshotAttributes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeDBClusterSnapshotAttributes #

See: describeDBClusterSnapshotAttributes smart constructor.

Instances

Eq DescribeDBClusterSnapshotAttributes # 
Data DescribeDBClusterSnapshotAttributes # 

Methods

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

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

toConstr :: DescribeDBClusterSnapshotAttributes -> Constr #

dataTypeOf :: DescribeDBClusterSnapshotAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

ddcsaDBClusterSnapshotIdentifier :: Lens' DescribeDBClusterSnapshotAttributes Text #

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

Destructuring the Response

describeDBClusterSnapshotAttributesResponse #

Creates a value of DescribeDBClusterSnapshotAttributesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeDBClusterSnapshotAttributesResponse #

Instances

Eq DescribeDBClusterSnapshotAttributesResponse # 
Data DescribeDBClusterSnapshotAttributesResponse # 

Methods

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

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

toConstr :: DescribeDBClusterSnapshotAttributesResponse -> Constr #

dataTypeOf :: DescribeDBClusterSnapshotAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses