Skip to content

Get Products

pricing_get_products R Documentation

Returns a list of all products that match the filter criteria

Description

Returns a list of all products that match the filter criteria.

Usage

pricing_get_products(ServiceCode, Filters, FormatVersion, NextToken,
  MaxResults)

Arguments

ServiceCode

[required] The code for the service whose products you want to retrieve.

Filters

The list of filters that limit the returned products. only products that match all filters are returned.

FormatVersion

The format version that you want the response to be in.

Valid values are: aws_v1

NextToken

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

MaxResults

The maximum number of results to return in the response.

Value

A list with the following syntax:

list(
  FormatVersion = "string",
  PriceList = list(
    "string"
  ),
  NextToken = "string"
)

Request syntax

svc$get_products(
  ServiceCode = "string",
  Filters = list(
    list(
      Type = "TERM_MATCH",
      Field = "string",
      Value = "string"
    )
  ),
  FormatVersion = "string",
  NextToken = "string",
  MaxResults = 123
)