Smaws_Client_Pricing.ListPriceListsThis 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ExpiredNextTokenException of Types.expired_next_token_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidNextTokenException of Types.invalid_next_token_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NotFoundException of Types.not_found_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_price_lists_request ->
(Types.list_price_lists_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ExpiredNextTokenException of Types.expired_next_token_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidNextTokenException of Types.invalid_next_token_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NotFoundException of Types.not_found_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_price_lists_request ->
(Types.list_price_lists_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ExpiredNextTokenException of Types.expired_next_token_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidNextTokenException of Types.invalid_next_token_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `NotFoundException of Types.not_found_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result