Skip to content

List Tags

cloudtrail_list_tags R Documentation

Lists the tags for the specified trails, event data stores, or channels in the current Region

Description

Lists the tags for the specified trails, event data stores, or channels in the current Region.

Usage

cloudtrail_list_tags(ResourceIdList, NextToken)

Arguments

ResourceIdList

[required] Specifies a list of trail, event data store, or channel ARNs whose tags will be listed. The list has a limit of 20 ARNs.

Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

Example event data store ARN format: ⁠arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE⁠

Example channel ARN format: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890

NextToken

Reserved for future use.

Value

A list with the following syntax:

list(
  ResourceTagList = list(
    list(
      ResourceId = "string",
      TagsList = list(
        list(
          Key = "string",
          Value = "string"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_tags(
  ResourceIdList = list(
    "string"
  ),
  NextToken = "string"
)