Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Disassociates an Amazon Web Services Identity and Access Management (IAM) role from a DB instance.
Synopsis
- data RemoveRoleFromDBInstance = RemoveRoleFromDBInstance' {}
- newRemoveRoleFromDBInstance :: Text -> Text -> Text -> RemoveRoleFromDBInstance
- removeRoleFromDBInstance_dbInstanceIdentifier :: Lens' RemoveRoleFromDBInstance Text
- removeRoleFromDBInstance_roleArn :: Lens' RemoveRoleFromDBInstance Text
- removeRoleFromDBInstance_featureName :: Lens' RemoveRoleFromDBInstance Text
- data RemoveRoleFromDBInstanceResponse = RemoveRoleFromDBInstanceResponse' {
- newRemoveRoleFromDBInstanceResponse :: RemoveRoleFromDBInstanceResponse
Creating a Request
data RemoveRoleFromDBInstance Source #
See: newRemoveRoleFromDBInstance
smart constructor.
RemoveRoleFromDBInstance' | |
|
Instances
newRemoveRoleFromDBInstance Source #
:: Text | |
-> Text | |
-> Text | |
-> RemoveRoleFromDBInstance |
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
newRemoveRoleFromDBInstanceResponse :: RemoveRoleFromDBInstanceResponse Source #
Create a value of RemoveRoleFromDBInstanceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.