libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.RemoveRoleFromDBCluster

Description

Disassociates an Amazon Web Services Identity and Access Management (IAM) role from an Amazon Aurora DB cluster. For more information, see Authorizing Amazon Aurora MySQL to Access Other Amazon Web Services Services on Your Behalf in the Amazon Aurora User Guide.

This action only applies to Aurora DB clusters.

Synopsis

Creating a Request

data RemoveRoleFromDBCluster Source #

See: newRemoveRoleFromDBCluster smart constructor.

Constructors

RemoveRoleFromDBCluster' 

Fields

  • featureName :: Maybe Text

    The name of the feature for the DB cluster that the IAM role is to be disassociated from. For the list of supported feature names, see DBEngineVersion.

  • dbClusterIdentifier :: Text

    The name of the DB cluster to disassociate the IAM role from.

  • roleArn :: Text

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

Instances

Instances details
Eq RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

Read RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

Show RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

Generic RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

Associated Types

type Rep RemoveRoleFromDBCluster :: Type -> Type #

NFData RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

Methods

rnf :: RemoveRoleFromDBCluster -> () #

Hashable RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

AWSRequest RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

ToHeaders RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

ToPath RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

ToQuery RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

type Rep RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

type Rep RemoveRoleFromDBCluster = D1 ('MetaData "RemoveRoleFromDBCluster" "Amazonka.RDS.RemoveRoleFromDBCluster" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "RemoveRoleFromDBCluster'" '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))))
type AWSResponse RemoveRoleFromDBCluster Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

newRemoveRoleFromDBCluster Source #

Create a value of RemoveRoleFromDBCluster 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:

$sel:featureName:RemoveRoleFromDBCluster', removeRoleFromDBCluster_featureName - The name of the feature for the DB cluster that the IAM role is to be disassociated from. For the list of supported feature names, see DBEngineVersion.

$sel:dbClusterIdentifier:RemoveRoleFromDBCluster', removeRoleFromDBCluster_dbClusterIdentifier - The name of the DB cluster to disassociate the IAM role from.

$sel:roleArn:RemoveRoleFromDBCluster', removeRoleFromDBCluster_roleArn - The Amazon Resource Name (ARN) of the IAM role to disassociate from the Aurora DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole.

Request Lenses

removeRoleFromDBCluster_featureName :: Lens' RemoveRoleFromDBCluster (Maybe Text) Source #

The name of the feature for the DB cluster that the IAM role is to be disassociated from. For the list of supported feature names, see DBEngineVersion.

removeRoleFromDBCluster_dbClusterIdentifier :: Lens' RemoveRoleFromDBCluster Text Source #

The name of the DB cluster to disassociate the IAM role from.

removeRoleFromDBCluster_roleArn :: Lens' RemoveRoleFromDBCluster Text Source #

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

Destructuring the Response

data RemoveRoleFromDBClusterResponse Source #

See: newRemoveRoleFromDBClusterResponse smart constructor.

Instances

Instances details
Eq RemoveRoleFromDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

Read RemoveRoleFromDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

Show RemoveRoleFromDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

Generic RemoveRoleFromDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

Associated Types

type Rep RemoveRoleFromDBClusterResponse :: Type -> Type #

NFData RemoveRoleFromDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

type Rep RemoveRoleFromDBClusterResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBCluster

type Rep RemoveRoleFromDBClusterResponse = D1 ('MetaData "RemoveRoleFromDBClusterResponse" "Amazonka.RDS.RemoveRoleFromDBCluster" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "RemoveRoleFromDBClusterResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRemoveRoleFromDBClusterResponse :: RemoveRoleFromDBClusterResponse Source #

Create a value of RemoveRoleFromDBClusterResponse with all optional fields omitted.

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