Returns a list of attribute values¶
Description¶
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.
Usage¶
Arguments¶
-
ServiceCode[required] The service code for the service whose attributes you want to retrieve. For example, if you want the retrieve an EC2 attribute, use
AmazonEC2. -
AttributeName[required] The name of the attribute that you want to retrieve the values for, such as
volumeType. -
NextTokenThe pagination token that indicates the next set of results that you want to retrieve.
-
MaxResultsThe maximum number of results to return in response.
Value¶
A list with the following syntax:
Request syntax¶
svc$get_attribute_values(
ServiceCode = "string",
AttributeName = "string",
NextToken = "string",
MaxResults = 123
)