operations_for_resources
Creates, updates, deletes, gets or lists an operations_for_resources resource.
Overview
| Name | operations_for_resources |
| Type | Resource |
| Id | aws.lightsail.operations_for_resources |
Fields
The following fields are returned by SELECT queries:
- get_operations_for_resource
| Name | Datatype | Description |
|---|---|---|
next_page_count | string | (Discontinued) Returns the number of pages of results that remain. In releases prior to June 12, 2017, this parameter returned null by the API. It is now discontinued, and the API returns the next page token parameter instead. |
next_page_token | string | The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetOperationsForResource request and specify the next page token using the pageToken parameter. |
operations | array | An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_operations_for_resource | select | region | Gets operations for a specific resource (an instance or a static IP). |
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_operations_for_resource
Gets operations for a specific resource (an instance or a static IP).
SELECT
next_page_count,
next_page_token,
operations
FROM aws.lightsail.operations_for_resources
WHERE region = '{{ region }}' -- required
;