Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Removes the asssociation of an Amazon Web Services Identity and Access Management (IAM) role from a DB cluster.
For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide.
For more information on Multi-AZ DB clusters, see Multi-AZ deployments with two readable standby DB instances in the Amazon RDS User Guide.
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 #
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:
RemoveRoleFromDBCluster
, removeRoleFromDBCluster_featureName
- The name of the feature for the DB cluster that the IAM role is to be
disassociated from. For information about supported feature names, see
DBEngineVersion.
RemoveRoleFromDBCluster
, removeRoleFromDBCluster_dbClusterIdentifier
- The name of the DB cluster to disassociate the IAM role from.
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 information about 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.