Skip to content

remove_role_from_db_instance

Operation

remove_role_from_db_instance

remove_role_from_db_instance(request: RemoveRoleFromDBInstanceInput | RemoveRoleFromDBInstanceInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[RemoveRoleFromDBInstanceInputDict]) -> RemoveRoleFromDBInstanceOutput

Disassociates an Amazon Web Services Identity and Access Management (IAM) role from a DB instance.

Parameters:

Name Type Description Default
request RemoveRoleFromDBInstanceInput | RemoveRoleFromDBInstanceInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[RemoveRoleFromDBInstanceInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
RemoveRoleFromDBInstanceOutput

An instance of RemoveRoleFromDBInstanceOutput.

remove_role_from_db_instance async

remove_role_from_db_instance(request: RemoveRoleFromDBInstanceInput | RemoveRoleFromDBInstanceInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[RemoveRoleFromDBInstanceInputDict]) -> RemoveRoleFromDBInstanceOutput

Disassociates an Amazon Web Services Identity and Access Management (IAM) role from a DB instance.

Parameters:

Name Type Description Default
request RemoveRoleFromDBInstanceInput | RemoveRoleFromDBInstanceInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[RemoveRoleFromDBInstanceInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
RemoveRoleFromDBInstanceOutput

An instance of RemoveRoleFromDBInstanceOutput.

Input

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

RemoveRoleFromDBInstanceInputDict

Bases: TypedDict

Dictionary form of RemoveRoleFromDBInstanceInput.

Attributes

db_instance_identifier instance-attribute
db_instance_identifier: Required[str]

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

feature_name instance-attribute
feature_name: Required[str]

The name of the feature for the DB instance 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 DB instance, for example, arn:aws:iam::123456789012:role/AccessRole.

RemoveRoleFromDBInstanceInput dataclass

Bases: _SerdeShape

Dataclass for RemoveRoleFromDBInstanceInput structure.

Attributes

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

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

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

The name of the feature for the DB instance 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 DB instance, for example, arn:aws:iam::123456789012:role/AccessRole.

Output

RemoveRoleFromDBInstanceOutput dataclass

Bases: _SerdeShape

Dataclass for RemoveRoleFromDBInstanceOutput 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.