untag_resource
¶
untag_resource(
resource_arn: Arn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[CodeDeployClientConfig] = 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/code_deploy.py
3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 | |