untag_resource
async
¶
untag_resource(
resource_arn: str,
tag_keys: TagKeys,
*,
config_overrides: Optional[AsyncWorkSpacesThinClientClientConfig] = None,
) -> UntagResourceResponse
Removes a tag or tags from a resource.
Parameters:
-
resource_arn(str) –The Amazon Resource Name (ARN) of the resource that you want to untag.
-
tag_keys(TagKeys) –The keys of the key-value pairs for the tag or tags you want to remove from the specified resource.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource specified in the request was not found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces_thin_client/_services/async_work_spaces_thin_client.py
1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 | |