remove_role_from_db_cluster

remove_role_from_db_cluster(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.remove_role_from_db_cluster(
    DBClusterIdentifier='string',
    RoleArn='string',
    FeatureName='string'
)
Parameters
  • DBClusterIdentifier (string) --

    [REQUIRED]

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

  • RoleArn (string) --

    [REQUIRED]

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

  • FeatureName (string) -- 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 DescribeDBEngineVersions.
Returns

None

Exceptions

  • Neptune.Client.exceptions.DBClusterNotFoundFault
  • Neptune.Client.exceptions.DBClusterRoleNotFoundFault
  • Neptune.Client.exceptions.InvalidDBClusterStateFault