amazonka-rds-2.0: Amazon Relational Database Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RDS.AddRoleToDBCluster

Description

Associates an Identity and Access Management (IAM) role with a DB cluster.

Synopsis

Creating a Request

data AddRoleToDBCluster Source #

See: newAddRoleToDBCluster smart constructor.

Constructors

AddRoleToDBCluster' 

Fields

  • featureName :: Maybe Text

    The name of the feature for the DB cluster that the IAM role is to be associated with. For information about supported feature names, see DBEngineVersion.

  • dbClusterIdentifier :: Text

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

  • roleArn :: 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.

Instances

Instances details
ToHeaders AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

ToPath AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

ToQuery AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

AWSRequest AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

Associated Types

type AWSResponse AddRoleToDBCluster #

Generic AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

Associated Types

type Rep AddRoleToDBCluster :: Type -> Type #

Read AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

Show AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

NFData AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

Methods

rnf :: AddRoleToDBCluster -> () #

Eq AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

Hashable AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

type AWSResponse AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

type Rep AddRoleToDBCluster Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

type Rep AddRoleToDBCluster = D1 ('MetaData "AddRoleToDBCluster" "Amazonka.RDS.AddRoleToDBCluster" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "AddRoleToDBCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "featureName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dbClusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAddRoleToDBCluster Source #

Create a value of AddRoleToDBCluster with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

AddRoleToDBCluster, addRoleToDBCluster_featureName - The name of the feature for the DB cluster that the IAM role is to be associated with. For information about supported feature names, see DBEngineVersion.

AddRoleToDBCluster, addRoleToDBCluster_dbClusterIdentifier - The name of the DB cluster to associate the IAM role with.

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

Request Lenses

addRoleToDBCluster_featureName :: Lens' AddRoleToDBCluster (Maybe Text) Source #

The name of the feature for the DB cluster that the IAM role is to be associated with. For information about supported feature names, see DBEngineVersion.

addRoleToDBCluster_dbClusterIdentifier :: Lens' AddRoleToDBCluster Text Source #

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

addRoleToDBCluster_roleArn :: 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

data AddRoleToDBClusterResponse Source #

See: newAddRoleToDBClusterResponse smart constructor.

Instances

Instances details
Generic AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

Associated Types

type Rep AddRoleToDBClusterResponse :: Type -> Type #

Read AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

Show AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

NFData AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

Eq AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

type Rep AddRoleToDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.AddRoleToDBCluster

type Rep AddRoleToDBClusterResponse = D1 ('MetaData "AddRoleToDBClusterResponse" "Amazonka.RDS.AddRoleToDBCluster" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "AddRoleToDBClusterResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAddRoleToDBClusterResponse :: AddRoleToDBClusterResponse Source #

Create a value of AddRoleToDBClusterResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.