removeRoleFromDbCluster
inline suspend fun RdsClient.removeRoleFromDbCluster(crossinline block: RemoveRoleFromDbClusterRequest.Builder.() -> Unit): RemoveRoleFromDbClusterResponse
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 DB cluster deployments in the Amazon RDS User Guide.
Samples
fun main() {
//sampleStart
// The following example removes a role from a DB cluster.
rdsClient.removeRoleFromDbCluster {
dbClusterIdentifier = "mydbcluster"
roleArn = "arn:aws:iam::123456789012:role/RDSLoadFromS3"
}
//sampleEnd
}