untag_resource
async
¶
untag_resource(
resource_arn: Arn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[AsyncCodeDeployClientConfig] = None,
) -> UntagResourceOutput
Disassociates a resource from a list of tags. The resource is identified by the ResourceArn input parameter. The tags are identified by the list of keys in the TagKeys input parameter.
Parameters:
-
resource_arn(Arn) –The Amazon Resource Name (ARN) that specifies from which resource to disassociate the tags with the keys in the
TagKeysinput parameter. -
tag_keys(TagKeyList) –A list of keys of
Tagobjects. TheTagobjects identified by the keys are disassociated from the resource specified by theResourceArninput parameter.
Raises:
-
ApplicationDoesNotExistException–The application does not exist with the user or Amazon Web Services account.
-
ArnNotSupportedException–The specified ARN is not supported. For example, it might be an ARN for a resource that is not expected.
-
DeploymentConfigDoesNotExistException–The deployment configuration does not exist with the user or Amazon Web Services account.
-
DeploymentGroupDoesNotExistException–The named deployment group with the user or Amazon Web Services account does not exist.
-
InvalidArnException–The specified ARN is not in a valid format.
-
InvalidTagsToAddException–The specified tags are not valid.
-
ResourceArnRequiredException–The ARN of a resource is required, but was not found.
-
TagRequiredException–A tag was not specified.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codedeploy/_services/async_code_deploy.py
3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 | |