Skip to main content

grouping_statuses

Creates, updates, deletes, gets or lists a grouping_statuses resource.

Overview

Namegrouping_statuses
TypeResource
Idaws.resource_groups.grouping_statuses

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
actionstringDescribes the resource grouping action with values of GROUP or UNGROUP. (GROUP, UNGROUP)
error_codestringSpecifies the error code that was raised.
error_messagestringA message that explains the ErrorCode.
resource_arnstringThe Amazon resource name (ARN) of a resource. (pattern: <code>arn:aws(-[a-z]+):[a-z0-9-]:([a-z]{2}(-[a-z]+)+-\d{1})?:([0-9]{12})?:.+</code>)
statusstringDescribes the resource grouping status with values of SUCCESS, FAILED, IN_PROGRESS, or SKIPPED. (SUCCESS, FAILED, IN_PROGRESS, SKIPPED)
updated_atstring (date-time)A timestamp of when the status was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_grouping_statusesselectregionReturns the status of the last grouping or ungrouping action for each resource in the specified application group.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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

SELECT
action,
error_code,
error_message,
resource_arn,
status,
updated_at
FROM aws.resource_groups.grouping_statuses
WHERE region = '{{ region }}' -- required
;