AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the Amazon Web Services Service Terms (Section 1.10).

This returns a list of Price List references that the requester if authorized to view, given a ServiceCode, CurrencyCode, and an EffectiveDate. Use without a RegionCode filter to list Price List references from all available Amazon Web Services Regions. Use with a RegionCode filter to get the Price List reference that's specific to a specific Amazon Web Services Region. You can use the PriceListArn from the response to get your preferred Price List files through the GetPriceListFileUrl API.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ListPriceListsAsync.

Namespace: Amazon.Pricing
Assembly: AWSSDK.Pricing.dll
Version: 3.x.y.z

Syntax

C#
public virtual ListPriceListsResponse ListPriceLists(
         ListPriceListsRequest request
)

Parameters

request
Type: Amazon.Pricing.Model.ListPriceListsRequest

Container for the necessary parameters to execute the ListPriceLists service method.

Return Value


The response from the ListPriceLists service method, as returned by Pricing.

Exceptions

ExceptionCondition
AccessDeniedException General authentication failure. The request wasn't signed correctly.
ExpiredNextTokenException The pagination token expired. Try again without a pagination token.
InternalErrorException An error on the server occurred during the processing of your request. Try again later.
InvalidNextTokenException The pagination token is invalid. Try again without a pagination token.
InvalidParameterException One or more parameters had an invalid value.
NotFoundException The requested resource can't be found.
ResourceNotFoundException The requested resource can't be found.
ThrottlingException You've made too many requests exceeding service quotas.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also