Skip to content

/AWS1/CL_PRI=>GETATTRIBUTEVALUES()

About GetAttributeValues

Returns a list of attribute values. Attributes are similar to the details in a Price List API offer file. For a list of available attributes, see Offer File Definitions in the Billing and Cost Management User Guide.

Method Signature

IMPORTING

Required arguments:

IV_SERVICECODE TYPE /AWS1/PRISTRING /AWS1/PRISTRING

The service code for the service whose attributes you want to retrieve. For example, if you want the retrieve an EC2 attribute, use AmazonEC2.

IV_ATTRIBUTENAME TYPE /AWS1/PRISTRING /AWS1/PRISTRING

The name of the attribute that you want to retrieve the values for, such as volumeType.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/PRISTRING /AWS1/PRISTRING

The pagination token that indicates the next set of results that you want to retrieve.

IV_MAXRESULTS TYPE /AWS1/PRIBOXEDINTEGER /AWS1/PRIBOXEDINTEGER

The maximum number of results to return in response.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PRIGETATTRVALUESRSP /AWS1/CL_PRIGETATTRVALUESRSP