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 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
- data RemoveRoleFromDBCluster = RemoveRoleFromDBCluster' {}
- newRemoveRoleFromDBCluster :: Text -> Text -> RemoveRoleFromDBCluster
- removeRoleFromDBCluster_featureName :: Lens' RemoveRoleFromDBCluster (Maybe Text)
- removeRoleFromDBCluster_dbClusterIdentifier :: Lens' RemoveRoleFromDBCluster Text
- removeRoleFromDBCluster_roleArn :: Lens' RemoveRoleFromDBCluster Text
- data RemoveRoleFromDBClusterResponse = RemoveRoleFromDBClusterResponse' {
- newRemoveRoleFromDBClusterResponse :: RemoveRoleFromDBClusterResponse
Creating a Request
data RemoveRoleFromDBCluster Source #
See: newRemoveRoleFromDBCluster
smart constructor.
RemoveRoleFromDBCluster' | |
|
Instances
newRemoveRoleFromDBCluster Source #
:: Text | |
-> Text | |
-> RemoveRoleFromDBCluster |
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
newRemoveRoleFromDBClusterResponse :: RemoveRoleFromDBClusterResponse Source #
Create a value of RemoveRoleFromDBClusterResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.