Skip to content

RDS  >  Operations  >  remove_role_from_db_cluster

remove_role_from_db_cluster

Operation

remove_role_from_db_cluster async

remove_role_from_db_cluster(request: RemoveRoleFromDBClusterInput | RemoveRoleFromDBClusterInputDict, /, *, plugins: list[Plugin] | None = None) -> RemoveRoleFromDBClusterOutput
remove_role_from_db_cluster(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[RemoveRoleFromDBClusterInputDict]) -> RemoveRoleFromDBClusterOutput

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.

Parameters:

Name Type Description Default
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
RemoveRoleFromDBClusterOutput

An instance of RemoveRoleFromDBClusterOutput.

Input

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

RemoveRoleFromDBClusterInput dataclass

Bases: _SerdeShape

Dataclass for RemoveRoleFromDBClusterInput structure.

Attributes
db_cluster_identifier class-attribute instance-attribute
db_cluster_identifier: str | None = ...

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

feature_name class-attribute instance-attribute
feature_name: str | None = ...

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.

role_arn class-attribute instance-attribute
role_arn: str | None = ...

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

Dictionaries

RemoveRoleFromDBClusterInputDict

Bases: TypedDict

Dictionary form of RemoveRoleFromDBClusterInput.

Attributes
db_cluster_identifier instance-attribute
db_cluster_identifier: Required[str]

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

feature_name instance-attribute
feature_name: str | None

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.

role_arn instance-attribute
role_arn: Required[str]

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

Output

RemoveRoleFromDBClusterOutput dataclass

Bases: _SerdeShape

Dataclass for RemoveRoleFromDBClusterOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.