v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14159650798.5 KB

Retrieves information about the cost estimate for a specified resource. A cost estimate will not generate for a resource that has been deleted.

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

Headers

X-Amz-Target'Lightsail_20161128.GetCostEstimate' required

Request body

resourceNamestring required

The resource name.

startTimestring date-time required
<p>The cost estimate start time.</p> <p>Constraints:</p> <ul> <li> <p>Specified in Coordinated Universal Time (UTC).</p> </li> <li> <p>Specified in the Unix time format.</p> <p>For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify <code>1538424000</code> as the start time.</p> </li> </ul> <p>You can convert a human-friendly time to Unix time format using a converter like <a href="https://www.epochconverter.com/">Epoch converter</a>.</p>
endTimestring date-time required
<p>The cost estimate end time.</p> <p>Constraints:</p> <ul> <li> <p>Specified in Coordinated Universal Time (UTC).</p> </li> <li> <p>Specified in the Unix time format.</p> <p>For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify <code>1538427600</code> as the end time.</p> </li> </ul> <p>You can convert a human-friendly time to Unix time format using a converter like <a href="https://www.epochconverter.com/">Epoch converter</a>.</p>

Response

Success