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

Defined in Network.AWS.RDS.AddRoleToDBCluster

Data AddRoleToDBCluster # 
Instance details

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

Defined in Network.AWS.RDS.AddRoleToDBCluster

Show AddRoleToDBCluster # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Generic AddRoleToDBCluster # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Associated Types

type Rep AddRoleToDBCluster :: * -> * #

Hashable AddRoleToDBCluster # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

AWSRequest AddRoleToDBCluster # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Associated Types

type Rs AddRoleToDBCluster :: * #

ToHeaders AddRoleToDBCluster # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

ToPath AddRoleToDBCluster # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

ToQuery AddRoleToDBCluster # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

NFData AddRoleToDBCluster # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Methods

rnf :: AddRoleToDBCluster -> () #

type Rep AddRoleToDBCluster # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

type Rep AddRoleToDBCluster = D1 (MetaData "AddRoleToDBCluster" "Network.AWS.RDS.AddRoleToDBCluster" "amazonka-rds-1.6.0-62mw5vrBA3M4x0SZvkmRx5" False) (C1 (MetaCons "AddRoleToDBCluster'" PrefixI True) (S1 (MetaSel (Just "_artdcDBClusterIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_artdcRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs AddRoleToDBCluster # 
Instance details

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

Defined in Network.AWS.RDS.AddRoleToDBCluster

Data AddRoleToDBClusterResponse # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

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

Defined in Network.AWS.RDS.AddRoleToDBCluster

Show AddRoleToDBClusterResponse # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Generic AddRoleToDBClusterResponse # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Associated Types

type Rep AddRoleToDBClusterResponse :: * -> * #

NFData AddRoleToDBClusterResponse # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

type Rep AddRoleToDBClusterResponse # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

type Rep AddRoleToDBClusterResponse = D1 (MetaData "AddRoleToDBClusterResponse" "Network.AWS.RDS.AddRoleToDBCluster" "amazonka-rds-1.6.0-62mw5vrBA3M4x0SZvkmRx5" False) (C1 (MetaCons "AddRoleToDBClusterResponse'" PrefixI False) (U1 :: * -> *))