grouping_statuses
Creates, updates, deletes, gets or lists a grouping_statuses resource.
Overview
| Name | grouping_statuses |
| Type | Resource |
| Id | aws.resource_groups.grouping_statuses |
Fields
The following fields are returned by SELECT queries:
- list_grouping_statuses
| Name | Datatype | Description |
|---|---|---|
action | string | Describes the resource grouping action with values of GROUP or UNGROUP. (GROUP, UNGROUP) |
error_code | string | Specifies the error code that was raised. |
error_message | string | A message that explains the ErrorCode. |
resource_arn | string | The 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>) |
status | string | Describes the resource grouping status with values of SUCCESS, FAILED, IN_PROGRESS, or SKIPPED. (SUCCESS, FAILED, IN_PROGRESS, SKIPPED) |
updated_at | string (date-time) | A timestamp of when the status was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_grouping_statuses | select | region | Returns 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_grouping_statuses
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
;