list_prices
¶
list_prices(
*,
config_overrides: Optional[Route53DomainsClientConfig] = 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.
Source code in docs_src/capo_route_53_domains/_services/route53_domains.py
1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 | |