list_prices
async
¶
list_prices(
*,
config_overrides: Optional[AsyncRoute53DomainsClientConfig] = None,
tld: Optional[TldName] = None,
marker: Optional[PageMarker] = None,
max_items: Optional[ListPricesPageMaxItems] = None,
) -> ListPricesResponse
Lists the following prices for either all the TLDs supported by Route 53, or the specified TLD:
-
Registration
-
Transfer
-
Owner change
-
Renewal
-
Restoration
The prices that ListPrices returns are the standard rates for a TLD. ListPrices doesn't return registry premium prices, which apply to individual domain names rather than to a TLD. To get accurate pricing for a specific domain name, including premium prices, call GetDomainPrices.
Parameters:
-
tld(Optional[TldName], default:None) –The TLD for which you want to receive the pricing information. For example.
.net.If a
Tldvalue is not provided, a list of prices for all TLDs supported by Route 53 is returned. -
marker(Optional[PageMarker], default:None) –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 useMarkerto return additional prices. Get the value ofNextPageMarkerfrom the previous response, and submit another request that includes the value ofNextPageMarkerin theMarkerelement.Used only for all TLDs. If you specify a TLD, don't specify a
Marker. -
max_items(Optional[ListPricesPageMaxItems], default:None) –Number of
Pricesto be returned.Used only for all TLDs. If you specify a TLD, don't specify a
MaxItems.
Raises:
-
InvalidInput–The requested item is not acceptable. For example, for APIs that accept a domain name, the request might specify a domain name that doesn't belong to the account that submitted the request. For
AcceptDomainTransferFromAnotherAwsAccount, the password might be invalid. -
UnsupportedTLD–Amazon Route 53 does not support this top-level domain (TLD).
-
UnknownServiceError–The service returned an error code this client does not model.