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
12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 | |