Skip to content

/AWS1/CL_LSA=>GETCOSTESTIMATE()

About GetCostEstimate

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

Method Signature

IMPORTING

Required arguments:

IV_RESOURCENAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The resource name.

IV_STARTTIME TYPE /AWS1/LSAISODATE /AWS1/LSAISODATE

The cost estimate start time.

Constraints:

  • Specified in Coordinated Universal Time (UTC).

  • Specified in the Unix time format.

    For example, if you want to use a start time of October 1, 2018, at 8 PM UTC, specify 1538424000 as the start time.

You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

IV_ENDTIME TYPE /AWS1/LSAISODATE /AWS1/LSAISODATE

The cost estimate end time.

Constraints:

  • Specified in Coordinated Universal Time (UTC).

  • Specified in the Unix time format.

    For example, if you want to use an end time of October 1, 2018, at 9 PM UTC, specify 1538427600 as the end time.

You can convert a human-friendly time to Unix time format using a converter like Epoch converter.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSAGETCOSTSTIMATERSLT /AWS1/CL_LSAGETCOSTSTIMATERSLT