operations
Creates, updates, deletes, gets or lists an operations resource.
Overview
| Name | operations |
| Type | Resource |
| Id | aws.ssm_sap.operations |
Fields
The following fields are returned by SELECT queries:
- get_operation
- list_operations
| Name | Datatype | Description |
|---|---|---|
end_time | string (date-time) | The end time of the operation. |
id | string | The ID of the operation. (pattern: <code>[{]?[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?</code>) |
last_updated_time | string (date-time) | The time at which the operation was last updated. |
properties | object | The properties of the operation. |
resource_arn | string | The Amazon Resource Name (ARN) of the operation. (pattern: <code>arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+/.+</code>) |
resource_id | string | The resource ID of the operation. |
resource_type | string | The resource type of the operation. |
start_time | string (date-time) | The start time of the operation. |
status | string | The status of the operation. (INPROGRESS, SUCCESS, ERROR) |
status_message | string | The status message of the operation. |
type | string | The type of the operation. |
| Name | Datatype | Description |
|---|---|---|
end_time | string (date-time) | The end time of the operation. |
id | string | The ID of the operation. (pattern: <code>[{]?[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?</code>) |
last_updated_time | string (date-time) | The time at which the operation was last updated. |
properties | object | The properties of the operation. |
resource_arn | string | The Amazon Resource Name (ARN) of the operation. (pattern: <code>arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+/.+</code>) |
resource_id | string | The resource ID of the operation. |
resource_type | string | The resource type of the operation. |
start_time | string (date-time) | The start time of the operation. |
status | string | The status of the operation. (INPROGRESS, SUCCESS, ERROR) |
status_message | string | The status message of the operation. |
type | string | The type of the operation. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_operation | select | region | Gets the details of an operation by specifying the operation ID. | |
list_operations | select | region | Lists the operations performed by AWS Systems Manager for SAP. |
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
- get_operation
- list_operations
Gets the details of an operation by specifying the operation ID.
SELECT
end_time,
id,
last_updated_time,
properties,
resource_arn,
resource_id,
resource_type,
start_time,
status,
status_message,
type
FROM aws.ssm_sap.operations
WHERE region = '{{ region }}' -- required
;
Lists the operations performed by AWS Systems Manager for SAP.
SELECT
end_time,
id,
last_updated_time,
properties,
resource_arn,
resource_id,
resource_type,
start_time,
status,
status_message,
type
FROM aws.ssm_sap.operations
WHERE region = '{{ region }}' -- required
;