untag_resource
async
¶
untag_resource(
resource_arn: ResourceArn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[AsyncShieldClientConfig] = None,
) -> UntagResourceResponse
Removes tags from a resource in Shield.
Parameters:
-
resource_arn(ResourceArn) –The Amazon Resource Name (ARN) of the resource that you want to remove tags from.
-
tag_keys(TagKeyList) –The tag key for each tag that you want to remove from the resource.
Raises:
-
InternalErrorException–Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
-
InvalidParameterException–Exception that indicates that the parameters passed to the API are invalid. If available, this exception includes details in additional properties.
-
InvalidResourceException–Exception that indicates that the resource is invalid. You might not have access to the resource, or the resource might not exist.
-
ResourceNotFoundException–Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_shield/_services/async_shield.py
2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 | |