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

Description

Disassociates an Amazon Web Services Identity and Access Management (IAM) role from a DB instance.

Synopsis

Creating a Request

data RemoveRoleFromDBInstance Source #

See: newRemoveRoleFromDBInstance smart constructor.

Constructors

RemoveRoleFromDBInstance' 

Fields

  • dbInstanceIdentifier :: Text

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

  • roleArn :: Text

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

  • featureName :: Text

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

Instances

Instances details
Eq RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

Read RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

Show RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

Generic RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

Associated Types

type Rep RemoveRoleFromDBInstance :: Type -> Type #

NFData RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

Hashable RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

AWSRequest RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

ToHeaders RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

ToPath RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

ToQuery RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

type Rep RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

type Rep RemoveRoleFromDBInstance = D1 ('MetaData "RemoveRoleFromDBInstance" "Amazonka.RDS.RemoveRoleFromDBInstance" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "RemoveRoleFromDBInstance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbInstanceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "featureName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse RemoveRoleFromDBInstance Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

newRemoveRoleFromDBInstance Source #

Create a value of RemoveRoleFromDBInstance 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:dbInstanceIdentifier:RemoveRoleFromDBInstance', removeRoleFromDBInstance_dbInstanceIdentifier - The name of the DB instance to disassociate the IAM role from.

$sel:roleArn:RemoveRoleFromDBInstance', removeRoleFromDBInstance_roleArn - The Amazon Resource Name (ARN) of the IAM role to disassociate from the DB instance, for example, arn:aws:iam::123456789012:role/AccessRole.

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

Request Lenses

removeRoleFromDBInstance_dbInstanceIdentifier :: Lens' RemoveRoleFromDBInstance Text Source #

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

removeRoleFromDBInstance_roleArn :: Lens' RemoveRoleFromDBInstance Text Source #

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

removeRoleFromDBInstance_featureName :: Lens' RemoveRoleFromDBInstance Text Source #

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

Destructuring the Response

data RemoveRoleFromDBInstanceResponse Source #

See: newRemoveRoleFromDBInstanceResponse smart constructor.

Instances

Instances details
Eq RemoveRoleFromDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

Read RemoveRoleFromDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

Show RemoveRoleFromDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

Generic RemoveRoleFromDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

Associated Types

type Rep RemoveRoleFromDBInstanceResponse :: Type -> Type #

NFData RemoveRoleFromDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

type Rep RemoveRoleFromDBInstanceResponse Source # 
Instance details

Defined in Amazonka.RDS.RemoveRoleFromDBInstance

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

newRemoveRoleFromDBInstanceResponse :: RemoveRoleFromDBInstanceResponse Source #

Create a value of RemoveRoleFromDBInstanceResponse with all optional fields omitted.

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