operation_events
Creates, updates, deletes, gets or lists an operation_events resource.
Overview
| Name | operation_events |
| Type | Resource |
| Id | aws.ssm_sap.operation_events |
Fields
The following fields are returned by SELECT queries:
- list_operation_events
| Name | Datatype | Description |
|---|---|---|
description | string | A description of the operation event. For example, "Stop the EC2 instance i-abcdefgh987654321". |
resource | object | The resource involved in the operations event. Contains ResourceArn ARN and ResourceType. |
status | string | The status of the operation event. The possible statuses are: IN_PROGRESS, COMPLETED, and FAILED. (IN_PROGRESS, COMPLETED, FAILED) |
status_message | string | The status message relating to a specific operation event. |
timestamp | string (date-time) | The timestamp of the specified operation event. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_operation_events | select | region | Returns a list of operations events. Available parameters include OperationID, as well as optional parameters MaxResults, NextToken, and Filters. |
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_operation_events
Returns a list of operations events. Available parameters include OperationID, as well as optional parameters MaxResults, NextToken, and Filters.
SELECT
description,
resource,
status,
status_message,
timestamp
FROM aws.ssm_sap.operation_events
WHERE region = '{{ region }}' -- required
;