Skip to main content

operations_for_resources

Creates, updates, deletes, gets or lists an operations_for_resources resource.

Overview

Nameoperations_for_resources
TypeResource
Idaws.lightsail.operations_for_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_page_countstring(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_tokenstringThe 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.
operationsarrayAn 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:

NameAccessible byRequired ParamsOptional ParamsDescription
get_operations_for_resourceselectregionGets 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.

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

SELECT examples

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
;