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

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 #

See: addRoleToDBCluster smart constructor.

Instances

Eq AddRoleToDBCluster # 
Data AddRoleToDBCluster # 

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 # 
Show AddRoleToDBCluster # 
Generic AddRoleToDBCluster # 
Hashable AddRoleToDBCluster # 
NFData AddRoleToDBCluster # 

Methods

rnf :: AddRoleToDBCluster -> () #

AWSRequest AddRoleToDBCluster # 
ToQuery AddRoleToDBCluster # 
ToPath AddRoleToDBCluster # 
ToHeaders AddRoleToDBCluster # 
type Rep AddRoleToDBCluster # 
type Rep AddRoleToDBCluster = D1 (MetaData "AddRoleToDBCluster" "Network.AWS.RDS.AddRoleToDBCluster" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" 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 # 

Request Lenses

artdcDBClusterIdentifier :: Lens' AddRoleToDBCluster Text #

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

artdcRoleARN :: Lens' AddRoleToDBCluster Text #

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 #

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

data AddRoleToDBClusterResponse #

See: addRoleToDBClusterResponse smart constructor.

Instances

Eq AddRoleToDBClusterResponse # 
Data AddRoleToDBClusterResponse # 

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 # 
Show AddRoleToDBClusterResponse # 
Generic AddRoleToDBClusterResponse # 
NFData AddRoleToDBClusterResponse # 
type Rep AddRoleToDBClusterResponse # 
type Rep AddRoleToDBClusterResponse = D1 (MetaData "AddRoleToDBClusterResponse" "Network.AWS.RDS.AddRoleToDBCluster" "amazonka-rds-1.4.5-I79yxZdjKNFFGn6ti49zKn" False) (C1 (MetaCons "AddRoleToDBClusterResponse'" PrefixI False) U1)