Skip to content

Deletes specified tags from an Batch resource

Description

Deletes specified tags from an Batch resource.

Usage

batch_untag_resource(resourceArn, tagKeys)

Arguments

  • resourceArn

    [required] The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, job queues, and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs aren't supported.

  • tagKeys

    [required] The keys of the tags to be removed.

Value

An empty list.

Request syntax

svc$untag_resource(
  resourceArn = "string",
  tagKeys = list(
    "string"
  )
)

Examples

# This demonstrates calling the UntagResource action.
svc$untag_resource(
  resourceArn = "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1",
  tagKeys = list(
    "Stage"
  )
)