Skip to content

List Tag Sync Tasks

resourcegroups_list_tag_sync_tasks R Documentation

Returns a list of tag-sync tasks

Description

Returns a list of tag-sync tasks.

Minimum permissions

To run this command, you must have the following permissions:

  • resource-groups:ListTagSyncTasks with the group passed in the filters as the resource or * if using no filters

Usage

resourcegroups_list_tag_sync_tasks(Filters, MaxResults, NextToken)

Arguments

Filters

The Amazon resource name (ARN) or name of the application group for which you want to return a list of tag-sync tasks.

MaxResults

The maximum number of results to be included in the response.

NextToken

The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value provided by a previous call's NextToken response to indicate where the output should continue from.

Value

A list with the following syntax:

list(
  TagSyncTasks = list(
    list(
      GroupArn = "string",
      GroupName = "string",
      TaskArn = "string",
      TagKey = "string",
      TagValue = "string",
      RoleArn = "string",
      Status = "ACTIVE"|"ERROR",
      ErrorMessage = "string",
      CreatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_tag_sync_tasks(
  Filters = list(
    list(
      GroupArn = "string",
      GroupName = "string"
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)