remove_role_from_db_instance
¶
remove_role_from_db_instance(
*,
config_overrides: Optional[RDSClientConfig] = 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/rds.py
13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 | |