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

Defined in Network.AWS.RDS.AddRoleToDBCluster

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

Defined in Network.AWS.RDS.AddRoleToDBCluster

Show AddRoleToDBCluster Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Generic AddRoleToDBCluster Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Associated Types

type Rep AddRoleToDBCluster :: Type -> Type #

Hashable AddRoleToDBCluster Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

AWSRequest AddRoleToDBCluster Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Associated Types

type Rs AddRoleToDBCluster :: Type #

ToHeaders AddRoleToDBCluster Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

ToPath AddRoleToDBCluster Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

ToQuery AddRoleToDBCluster Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

NFData AddRoleToDBCluster Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Methods

rnf :: AddRoleToDBCluster -> () #

type Rep AddRoleToDBCluster Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

type Rep AddRoleToDBCluster = D1 (MetaData "AddRoleToDBCluster" "Network.AWS.RDS.AddRoleToDBCluster" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" 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 Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

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

Defined in Network.AWS.RDS.AddRoleToDBCluster

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

Defined in Network.AWS.RDS.AddRoleToDBCluster

Show AddRoleToDBClusterResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Generic AddRoleToDBClusterResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

Associated Types

type Rep AddRoleToDBClusterResponse :: Type -> Type #

NFData AddRoleToDBClusterResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

type Rep AddRoleToDBClusterResponse Source # 
Instance details

Defined in Network.AWS.RDS.AddRoleToDBCluster

type Rep AddRoleToDBClusterResponse = D1 (MetaData "AddRoleToDBClusterResponse" "Network.AWS.RDS.AddRoleToDBCluster" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "AddRoleToDBClusterResponse'" PrefixI False) (U1 :: Type -> Type))