List Tags For Resource
batch_list_tags_for_resource | R Documentation |
Lists the tags for an Batch resource¶
Description¶
Lists the tags for an Batch resource. 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.
Usage¶
batch_list_tags_for_resource(resourceArn)
Arguments¶
resourceArn |
[required] The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. 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. |
Value¶
A list with the following syntax:
list(
tags = list(
"string"
)
)
Request syntax¶
svc$list_tags_for_resource(
resourceArn = "string"
)
Examples¶
## Not run:
# This demonstrates calling the ListTagsForResource action.
svc$list_tags_for_resource(
resourceArn = "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1"
)
## End(Not run)