getAttributeValues
abstract suspend fun getAttributeValues(input: GetAttributeValuesRequest): GetAttributeValuesResponse
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.
Samples
fun main() {
//sampleStart
// This operation returns a list of values available for the given attribute.
val resp = pricingClient.getAttributeValues {
serviceCode = "AmazonEC2"
attributeName = "volumeType"
maxResults = 2
}
//sampleEnd
}