untag_resource
¶
untag_resource(
resource_arn: AmazonResourceName,
tag_keys: TagKeyList,
*,
config_overrides: Optional[ApplicationInsightsClientConfig] = None,
) -> UntagResourceResponse
Remove one or more tags (keys and values) from a specified application.
Parameters:
-
resource_arn(AmazonResourceName) –The Amazon Resource Name (ARN) of the application that you want to remove one or more tags from.
-
tag_keys(TagKeyList) –The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value.
To remove more than one tag from the application, append the
TagKeysparameter and argument for each additional tag to remove, separated by an ampersand.
Raises:
-
ResourceNotFoundException–The resource does not exist in the customer account.
-
ValidationException–The parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_application_insights/_services/application_insights.py
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 | |