:doc:`Route53Domains <../../route53domains>` / Client / list_prices

***********
list_prices
***********



.. py:method:: Route53Domains.Client.list_prices(**kwargs)

  

  Lists the following prices for either all the TLDs supported by Route 53, or the specified TLD:

   

  
  * Registration
   
  * Transfer
   
  * Owner change
   
  * Domain renewal
   
  * Domain restoration
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListPrices>`_  


  **Request Syntax**
  ::

    response = client.list_prices(
        Tld='string',
        Marker='string',
        MaxItems=123
    )
    
  :type Tld: string
  :param Tld: 

    The TLD for which you want to receive the pricing information. For example. ``.net``.

     

    If a ``Tld`` value is not provided, a list of prices for all TLDs supported by Route 53 is returned.

    

  
  :type Marker: string
  :param Marker: 

    For an initial request for a list of prices, omit this element. If the number of prices that are not yet complete is greater than the value that you specified for ``MaxItems``, you can use ``Marker`` to return additional prices. Get the value of ``NextPageMarker`` from the previous response, and submit another request that includes the value of ``NextPageMarker`` in the ``Marker`` element.

     

    Used only for all TLDs. If you specify a TLD, don't specify a ``Marker``.

    

  
  :type MaxItems: integer
  :param MaxItems: 

    Number of ``Prices`` to be returned.

     

    Used only for all TLDs. If you specify a TLD, don't specify a ``MaxItems``.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Prices': [
              {
                  'Name': 'string',
                  'RegistrationPrice': {
                      'Price': 123.0,
                      'Currency': 'string'
                  },
                  'TransferPrice': {
                      'Price': 123.0,
                      'Currency': 'string'
                  },
                  'RenewalPrice': {
                      'Price': 123.0,
                      'Currency': 'string'
                  },
                  'ChangeOwnershipPrice': {
                      'Price': 123.0,
                      'Currency': 'string'
                  },
                  'RestorationPrice': {
                      'Price': 123.0,
                      'Currency': 'string'
                  }
              },
          ],
          'NextPageMarker': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Prices** *(list) --* 

        A complex type that includes all the pricing information. If you specify a TLD, this array contains only the pricing for that TLD.

        
        

        - *(dict) --* 

          Information about the domain price associated with a TLD.

          
          

          - **Name** *(string) --* 

            The name of the TLD for which the prices apply.

            
          

          - **RegistrationPrice** *(dict) --* 

            The price for domain registration with Route 53.

            
            

            - **Price** *(float) --* 

              The price of a domain, in a specific currency.

              
            

            - **Currency** *(string) --* 

              The currency specifier.

              
        
          

          - **TransferPrice** *(dict) --* 

            The price for transferring the domain registration to Route 53.

            
            

            - **Price** *(float) --* 

              The price of a domain, in a specific currency.

              
            

            - **Currency** *(string) --* 

              The currency specifier.

              
        
          

          - **RenewalPrice** *(dict) --* 

            The price for renewing domain registration with Route 53.

            
            

            - **Price** *(float) --* 

              The price of a domain, in a specific currency.

              
            

            - **Currency** *(string) --* 

              The currency specifier.

              
        
          

          - **ChangeOwnershipPrice** *(dict) --* 

            The price for changing domain ownership.

            
            

            - **Price** *(float) --* 

              The price of a domain, in a specific currency.

              
            

            - **Currency** *(string) --* 

              The currency specifier.

              
        
          

          - **RestorationPrice** *(dict) --* 

            The price for restoring the domain with Route 53.

            
            

            - **Price** *(float) --* 

              The price of a domain, in a specific currency.

              
            

            - **Currency** *(string) --* 

              The currency specifier.

              
        
      
    
      

      - **NextPageMarker** *(string) --* 

        If there are more prices than you specified for ``MaxItems`` in the request, submit another request and include the value of ``NextPageMarker`` in the value of ``Marker``.

         

        Used only for all TLDs. If you specify a TLD, don't specify a ``NextPageMarker``.

        
  
  **Exceptions**
  
  *   :py:class:`Route53Domains.Client.exceptions.InvalidInput`

  
  *   :py:class:`Route53Domains.Client.exceptions.UnsupportedTLD`

  