v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14159650798.5 KB

Gets operations for a specific resource (e.g., an instance or a static IP).

post/#X-Amz-Target=Lightsail_20161128.GetOperationsForResource

Headers

X-Amz-Target'Lightsail_20161128.GetOperationsForResource' required

Request body

resourceNamestring required

The name of the resource for which you are requesting information.

pageTokenstring
<p>The token to advance to the next page of results from your request.</p> <p>To get a page token, perform an initial <code>GetOperationsForResource</code> request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.</p>

Response

Success

nextPageCountstring
<p>(Deprecated) Returns the number of pages of results that remain.</p> <note> <p>In releases prior to June 12, 2017, this parameter returned <code>null</code> by the API. It is now deprecated, and the API returns the <code>next page token</code> parameter instead.</p> </note>
nextPageTokenstring
<p>The token to advance to the next page of results from your request.</p> <p>A next page token is not returned if there are no more results to display.</p> <p>To get the next page of results, perform another <code>GetOperationsForResource</code> request and specify the next page token using the <code>pageToken</code> parameter.</p>