Pricing / Client / get_price_list_file_url

get_price_list_file_url#

Pricing.Client.get_price_list_file_url(**kwargs)#

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 the URL that you can retrieve your Price List file from. This URL is based on the PriceListArn and FileFormat that you retrieve from the ListPriceLists response.

See also: AWS API Documentation

Request Syntax

response = client.get_price_list_file_url(
    PriceListArn='string',
    FileFormat='string'
)
Parameters:
  • PriceListArn (string) –

    [REQUIRED]

    The unique identifier that maps to where your Price List files are located. PriceListArn can be obtained from the ListPriceLists response.

  • FileFormat (string) –

    [REQUIRED]

    The format that you want to retrieve your Price List files in. The FileFormat can be obtained from the ListPriceLists response.

Return type:

dict

Returns:

Response Syntax

{
    'Url': 'string'
}

Response Structure

  • (dict) –

    • Url (string) –

      The URL to download your Price List file from.

Exceptions

  • Pricing.Client.exceptions.InvalidParameterException

  • Pricing.Client.exceptions.NotFoundException

  • Pricing.Client.exceptions.AccessDeniedException

  • Pricing.Client.exceptions.InternalErrorException

  • Pricing.Client.exceptions.ThrottlingException

  • Pricing.Client.exceptions.ResourceNotFoundException