untag_resource
async
¶
untag_resource(
resource_arn: Arn,
tag_keys: TagKeys,
*,
config_overrides: Optional[AsyncPersonalizeClientConfig] = None,
) -> UntagResourceResponse
Removes the specified tags that are attached to a resource. For more information, see Removing tags from Amazon Personalize resources.
Parameters:
-
resource_arn(Arn) –The resource's Amazon Resource Name (ARN).
-
tag_keys(TagKeys) –The keys of the tags to be removed.
Raises:
-
InvalidInputException–Provide a valid value for the field or parameter.
-
ResourceInUseException–The specified resource is in use.
-
ResourceNotFoundException–Could not find the specified resource.
-
TooManyTagKeysException–The request contains more tag keys than can be associated with a resource (50 tag keys per resource).
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_personalize/_services/async_personalize.py
4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 | |