Amazon Neptune
User Guide (API Version 2017-11-29)

RemoveRoleFromDBCluster

Disassociates an Identity and Access Management (IAM) role from a DB cluster.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

DBClusterIdentifier

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

Type: String

Required: Yes

RoleArn

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

Type: String

Required: Yes

Errors

For information about the errors that are common to all actions, see Cluster Management Error Messages and Codes.

DBClusterNotFoundFault

DBClusterIdentifier does not refer to an existing DB cluster.

HTTP Status Code: 404

DBClusterRoleNotFound

The specified IAM role Amazon Resource Name (ARN) is not associated with the specified DB cluster.

HTTP Status Code: 404

InvalidDBClusterStateFault

The DB cluster is not in a valid state.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: