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

Copyright(c) 2013-2017 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.AddRoleToDBCluster

Contents

Description

Associates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf .

Synopsis

Creating a Request

addRoleToDBCluster Source #

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

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

  • artdcDBClusterIdentifier - The name of the DB cluster to associate the IAM role with.
  • artdcRoleARN - The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole .

data AddRoleToDBCluster Source #

See: addRoleToDBCluster smart constructor.

Instances

Eq AddRoleToDBCluster Source # 
Data AddRoleToDBCluster Source # 

Methods

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

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

toConstr :: AddRoleToDBCluster -> Constr #

dataTypeOf :: AddRoleToDBCluster -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddRoleToDBCluster Source # 
Show AddRoleToDBCluster Source # 
Generic AddRoleToDBCluster Source # 
Hashable AddRoleToDBCluster Source # 
NFData AddRoleToDBCluster Source # 

Methods

rnf :: AddRoleToDBCluster -> () #

AWSRequest AddRoleToDBCluster Source # 
ToQuery AddRoleToDBCluster Source # 
ToPath AddRoleToDBCluster Source # 
ToHeaders AddRoleToDBCluster Source # 
type Rep AddRoleToDBCluster Source # 
type Rep AddRoleToDBCluster = D1 (MetaData "AddRoleToDBCluster" "Network.AWS.RDS.AddRoleToDBCluster" "amazonka-rds-1.5.0-4pv5DetELOaBXetw2fB1GM" False) (C1 (MetaCons "AddRoleToDBCluster'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_artdcDBClusterIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_artdcRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AddRoleToDBCluster Source # 

Request Lenses

artdcDBClusterIdentifier :: Lens' AddRoleToDBCluster Text Source #

The name of the DB cluster to associate the IAM role with.

artdcRoleARN :: Lens' AddRoleToDBCluster Text Source #

The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole .

Destructuring the Response

addRoleToDBClusterResponse :: AddRoleToDBClusterResponse Source #

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

data AddRoleToDBClusterResponse Source #

See: addRoleToDBClusterResponse smart constructor.

Instances

Eq AddRoleToDBClusterResponse Source # 
Data AddRoleToDBClusterResponse Source # 

Methods

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

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

toConstr :: AddRoleToDBClusterResponse -> Constr #

dataTypeOf :: AddRoleToDBClusterResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddRoleToDBClusterResponse Source # 
Show AddRoleToDBClusterResponse Source # 
Generic AddRoleToDBClusterResponse Source # 
NFData AddRoleToDBClusterResponse Source # 
type Rep AddRoleToDBClusterResponse Source # 
type Rep AddRoleToDBClusterResponse = D1 (MetaData "AddRoleToDBClusterResponse" "Network.AWS.RDS.AddRoleToDBCluster" "amazonka-rds-1.5.0-4pv5DetELOaBXetw2fB1GM" False) (C1 (MetaCons "AddRoleToDBClusterResponse'" PrefixI False) U1)