Skip to content

List Grouping Statuses

resourcegroups_list_grouping_statuses R Documentation

Returns the status of the last grouping or ungrouping action for each resource in the specified application group

Description

Returns the status of the last grouping or ungrouping action for each resource in the specified application group.

Usage

resourcegroups_list_grouping_statuses(Group, MaxResults, Filters,
  NextToken)

Arguments

Group

[required] The application group identifier, expressed as an Amazon resource name (ARN) or the application group name.

MaxResults

The maximum number of resources and their statuses returned in the response.

Filters

The filter name and value pair that is used to return more specific results from a list of resources.

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(
  Group = "string",
  GroupingStatuses = list(
    list(
      ResourceArn = "string",
      Action = "GROUP"|"UNGROUP",
      Status = "SUCCESS"|"FAILED"|"IN_PROGRESS"|"SKIPPED",
      ErrorMessage = "string",
      ErrorCode = "string",
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_grouping_statuses(
  Group = "string",
  MaxResults = 123,
  Filters = list(
    list(
      Name = "status"|"resource-arn",
      Values = list(
        "string"
      )
    )
  ),
  NextToken = "string"
)