remove_role_from_db_instance
async
¶
remove_role_from_db_instance(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
db_instance_identifier: Optional[String] = None,
role_arn: Optional[String] = None,
feature_name: Optional[String] = None,
) -> None
Disassociates an Amazon Web Services Identity and Access Management (IAM) role from a DB instance.
Parameters:
-
db_instance_identifier(Optional[String], default:None) –The name of the DB instance to disassociate the IAM role from.
-
role_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the IAM role to disassociate from the DB instance, for example,
arn:aws:iam::123456789012:role/AccessRole. -
feature_name(Optional[String], default: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.
Raises:
-
DBInstanceNotFoundFault–DBInstanceIdentifierdoesn't refer to an existing DB instance. -
DBInstanceRoleNotFoundFault–The specified
RoleArnvalue doesn't match the specified feature for the DB instance. -
InvalidDBInstanceStateFault–The DB instance isn't in a valid state.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_rds/_services/async_rds.py
13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 | |