Table of Contents
A low-level client representing Amazon Route 53 Domains:
import boto3
client = boto3.client('route53domains')
These are the available methods:
Check if an operation can be paginated.
This operation checks the availability of one domain name. Note that if the availability status of a domain is pending, you must submit another request to determine the availability of the domain name.
See also: AWS API Documentation
Request Syntax
response = client.check_domain_availability(
DomainName='string',
IdnLangCode='string'
)
[REQUIRED]
The name of the domain that you want to get availability for.
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
dict
Response Syntax
{
'Availability': 'AVAILABLE'|'AVAILABLE_RESERVED'|'AVAILABLE_PREORDER'|'UNAVAILABLE'|'UNAVAILABLE_PREMIUM'|'UNAVAILABLE_RESTRICTED'|'RESERVED'|'DONT_KNOW'
}
Response Structure
(dict) --
The CheckDomainAvailability response includes the following elements.
Availability (string) --
Whether the domain name is available for registering.
Note
You can register only domains designated as AVAILABLE .
Valid values:
AVAILABLE
The domain name is available.
AVAILABLE_RESERVED
The domain name is reserved under specific conditions.
AVAILABLE_PREORDER
The domain name is available and can be preordered.
DONT_KNOW
The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
PENDING
The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.
RESERVED
The domain name has been reserved for another person or organization.
UNAVAILABLE
The domain name is not available.
UNAVAILABLE_PREMIUM
The domain name is not available.
UNAVAILABLE_RESTRICTED
The domain name is forbidden.
Checks whether a domain name can be transferred to Amazon Route 53.
See also: AWS API Documentation
Request Syntax
response = client.check_domain_transferability(
DomainName='string',
AuthCode='string'
)
[REQUIRED]
The name of the domain that you want to transfer to Amazon Route 53.
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
dict
Response Syntax
{
'Transferability': {
'Transferable': 'TRANSFERABLE'|'UNTRANSFERABLE'|'DONT_KNOW'
}
}
Response Structure
(dict) --
The CheckDomainTransferability response includes the following elements.
Transferability (dict) --
A complex type that contains information about whether the specified domain can be transferred to Amazon Route 53.
Transferable (string) --
Whether the domain name can be transferred to Amazon Route 53.
Note
You can transfer only domains that have a value of TRANSFERABLE for Transferable .
Valid values:
TRANSFERABLE
The domain name can be transferred to Amazon Route 53.
UNTRANSFERRABLE
The domain name can't be transferred to Amazon Route 53.
DONT_KNOW
Reserved for future use.
This operation deletes the specified tags for a domain.
All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.
See also: AWS API Documentation
Request Syntax
response = client.delete_tags_for_domain(
DomainName='string',
TagsToDelete=[
'string',
]
)
[REQUIRED]
The domain for which you want to delete one or more tags.
[REQUIRED]
A list of tag keys to delete.
dict
Response Syntax
{}
Response Structure
This operation disables automatic renewal of domain registration for the specified domain.
See also: AWS API Documentation
Request Syntax
response = client.disable_domain_auto_renew(
DomainName='string'
)
[REQUIRED]
The name of the domain that you want to disable automatic renewal for.
{}
Response Structure
This operation removes the transfer lock on the domain (specifically the clientTransferProhibited status) to allow domain transfers. We recommend you refrain from performing this action unless you intend to transfer the domain to a different registrar. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
See also: AWS API Documentation
Request Syntax
response = client.disable_domain_transfer_lock(
DomainName='string'
)
[REQUIRED]
The name of the domain that you want to remove the transfer lock for.
{
'OperationId': 'string'
}
Response Structure
The DisableDomainTransferLock response includes the following element.
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail .
This operation configures Amazon Route 53 to automatically renew the specified domain before the domain registration expires. The cost of renewing your domain registration is billed to your AWS account.
The period during which you can renew a domain name varies by TLD. For a list of TLDs and their renewal policies, see "Renewal, restoration, and deletion times" on the website for our registrar associate, Gandi. Amazon Route 53 requires that you renew before the end of the renewal period that is listed on the Gandi website so we can complete processing before the deadline.
See also: AWS API Documentation
Request Syntax
response = client.enable_domain_auto_renew(
DomainName='string'
)
[REQUIRED]
The name of the domain that you want to enable automatic renewal for.
{}
Response Structure
This operation sets the transfer lock on the domain (specifically the clientTransferProhibited status) to prevent domain transfers. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
See also: AWS API Documentation
Request Syntax
response = client.enable_domain_transfer_lock(
DomainName='string'
)
[REQUIRED]
The name of the domain that you want to set the transfer lock for.
{
'OperationId': 'string'
}
Response Structure
The EnableDomainTransferLock response includes the following elements.
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.
Generate a presigned url given a client, its method, and arguments
The presigned url
For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation returns information about whether the registrant contact has responded.
If you want us to resend the email, use the ResendContactReachabilityEmail operation.
See also: AWS API Documentation
Request Syntax
response = client.get_contact_reachability_status(
domainName='string'
)
{
'domainName': 'string',
'status': 'PENDING'|'DONE'|'EXPIRED'
}
Response Structure
The domain name for which you requested the reachability status.
Whether the registrant contact has responded. Values include the following:
PENDING
We sent the confirmation email and haven't received a response yet.
DONE
We sent the email and got confirmation from the registrant contact.
EXPIRED
The time limit expired before the registrant contact responded.
This operation returns detailed information about a specified domain that is associated with the current AWS account. Contact information for the domain is also returned as part of the output.
See also: AWS API Documentation
Request Syntax
response = client.get_domain_detail(
DomainName='string'
)
[REQUIRED]
The name of the domain that you want to get detailed information about.
{
'DomainName': 'string',
'Nameservers': [
{
'Name': 'string',
'GlueIps': [
'string',
]
},
],
'AutoRenew': True|False,
'AdminContact': {
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'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ZM'|'ZW',
'ZipCode': 'string',
'PhoneNumber': 'string',
'Email': 'string',
'Fax': 'string',
'ExtraParams': [
{
'Name': 'DUNS_NUMBER'|'BRAND_NUMBER'|'BIRTH_DEPARTMENT'|'BIRTH_DATE_IN_YYYY_MM_DD'|'BIRTH_COUNTRY'|'BIRTH_CITY'|'DOCUMENT_NUMBER'|'AU_ID_NUMBER'|'AU_ID_TYPE'|'CA_LEGAL_TYPE'|'CA_BUSINESS_ENTITY_TYPE'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_PIN'|'IT_REGISTRANT_ENTITY_TYPE'|'RU_PASSPORT_DATA'|'SE_ID_NUMBER'|'SG_ID_NUMBER'|'VAT_NUMBER'|'UK_CONTACT_TYPE'|'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
},
'RegistrantContact': {
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'ER'|'ES'|'ET'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|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_TYPE'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_PIN'|'IT_REGISTRANT_ENTITY_TYPE'|'RU_PASSPORT_DATA'|'SE_ID_NUMBER'|'SG_ID_NUMBER'|'VAT_NUMBER'|'UK_CONTACT_TYPE'|'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
},
'TechContact': {
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'ER'|'ES'|'ET'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|'GD'|'GE'|'GH'|'GI'|'GL'|'GM'|'GN'|'GQ'|'GR'|'GT'|'GU'|'GW'|'GY'|'HK'|'HN'|'HR'|'HT'|'HU'|'ID'|'IE'|'IL'|'IM'|'IN'|'IQ'|'IR'|'IS'|'IT'|'JM'|'JO'|'JP'|'KE'|'KG'|'KH'|'KI'|'KM'|'KN'|'KP'|'KR'|'KW'|'KY'|'KZ'|'LA'|'LB'|'LC'|'LI'|'LK'|'LR'|'LS'|'LT'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 'string'
},
]
},
'AdminPrivacy': True|False,
'RegistrantPrivacy': True|False,
'TechPrivacy': True|False,
'RegistrarName': 'string',
'WhoIsServer': 'string',
'RegistrarUrl': 'string',
'AbuseContactEmail': 'string',
'AbuseContactPhone': 'string',
'RegistryDomainId': 'string',
'CreationDate': datetime(2015, 1, 1),
'UpdatedDate': datetime(2015, 1, 1),
'ExpirationDate': datetime(2015, 1, 1),
'Reseller': 'string',
'DnsSec': 'string',
'StatusList': [
'string',
]
}
Response Structure
The GetDomainDetail response includes the following elements.
The name of a domain.
The name of the domain.
Nameserver includes the following elements.
The fully qualified host name of the name server.
Constraint: Maximum 255 characters
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Specifies whether the domain registration is set to renew automatically.
Provides details about the domain administrative contact.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
Provides details about the domain registrant.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
Provides details about the domain technical contact.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
Specifies whether contact information is concealed from WHOIS queries. If the value is true , WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If the value is false , WHOIS queries return the information that you entered for the admin contact.
Specifies whether contact information is concealed from WHOIS queries. If the value is true , WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If the value is false , WHOIS queries return the information that you entered for the registrant contact (domain owner).
Specifies whether contact information is concealed from WHOIS queries. If the value is true , WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If the value is false , WHOIS queries return the information that you entered for the technical contact.
Name of the registrar of the domain as identified in the registry. Domains with a .com, .net, or .org TLD are registered by Amazon Registrar. All other domains are registered by our registrar associate, Gandi. The value for domains that are registered by Gandi is "GANDI SAS" .
The fully qualified name of the WHOIS server that can answer the WHOIS query for the domain.
Web address of the registrar.
Email address to contact to report incorrect contact information for a domain, to report that the domain is being used to send spam, to report that someone is cybersquatting on a domain name, or report some other type of abuse.
Phone number for reporting abuse.
Reserved for future use.
The date when the domain was created as found in the response to a WHOIS query. The date and time is in Coordinated Universal time (UTC).
The last updated date of the domain as found in the response to a WHOIS query. The date and time is in Coordinated Universal time (UTC).
The date when the registration for the domain is set to expire. The date and time is in Coordinated Universal time (UTC).
Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have "Amazon" as the reseller.
Reserved for future use.
An array of domain name status codes, also known as Extensible Provisioning Protocol (EPP) status codes.
ICANN, the organization that maintains a central database of domain names, has developed a set of domain name status codes that tell you the status of a variety of operations on a domain name, for example, registering a domain name, transferring a domain name to another registrar, renewing the registration for a domain name, and so on. All registrars use this same set of status codes.
For a current list of domain name status codes and an explanation of what each code means, go to the ICANN website and search for epp status codes . (Search on the ICANN website; web searches sometimes return an old version of the document.)
The GetDomainSuggestions operation returns a list of suggested domain names given a string, which can either be a domain name or simply a word or phrase (without spaces).
See also: AWS API Documentation
Request Syntax
response = client.get_domain_suggestions(
DomainName='string',
SuggestionCount=123,
OnlyAvailable=True|False
)
[REQUIRED]
A domain name that you want to use as the basis for a list of possible domain names. The domain name must contain a top-level domain (TLD), such as .com, that Amazon Route 53 supports. For a list of TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide .
[REQUIRED]
The number of suggested domain names that you want Amazon Route 53 to return.
[REQUIRED]
If OnlyAvailable is true , Amazon Route 53 returns only domain names that are available. If OnlyAvailable is false , Amazon Route 53 returns domain names without checking whether they're available to be registered. To determine whether the domain is available, you can call checkDomainAvailability for each suggestion.
dict
Response Syntax
{
'SuggestionsList': [
{
'DomainName': 'string',
'Availability': 'string'
},
]
}
Response Structure
(dict) --
SuggestionsList (list) --
A list of possible domain names. If you specified true for OnlyAvailable in the request, the list contains only domains that are available for registration.
(dict) --
Information about one suggested domain name.
DomainName (string) --
A suggested domain name.
Availability (string) --
Whether the domain name is available for registering.
Note
You can register only the domains that are designated as AVAILABLE .
Valid values:
AVAILABLE
The domain name is available.
AVAILABLE_RESERVED
The domain name is reserved under specific conditions.
AVAILABLE_PREORDER
The domain name is available and can be preordered.
DONT_KNOW
The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.
PENDING
The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.
RESERVED
The domain name has been reserved for another person or organization.
UNAVAILABLE
The domain name is not available.
UNAVAILABLE_PREMIUM
The domain name is not available.
UNAVAILABLE_RESTRICTED
The domain name is forbidden.
This operation returns the current status of an operation that is not completed.
See also: AWS API Documentation
Request Syntax
response = client.get_operation_detail(
OperationId='string'
)
[REQUIRED]
The identifier for the operation for which you want to get the status. Amazon Route 53 returned the identifier in the response to the original request.
{
'OperationId': 'string',
'Status': 'SUBMITTED'|'IN_PROGRESS'|'ERROR'|'SUCCESSFUL'|'FAILED',
'Message': 'string',
'DomainName': 'string',
'Type': 'REGISTER_DOMAIN'|'DELETE_DOMAIN'|'TRANSFER_IN_DOMAIN'|'UPDATE_DOMAIN_CONTACT'|'UPDATE_NAMESERVER'|'CHANGE_PRIVACY_PROTECTION'|'DOMAIN_LOCK'|'ENABLE_AUTORENEW'|'DISABLE_AUTORENEW'|'ADD_DNSSEC'|'REMOVE_DNSSEC'|'EXPIRE_DOMAIN'|'TRANSFER_OUT_DOMAIN'|'CHANGE_DOMAIN_OWNER'|'RENEW_DOMAIN'|'PUSH_DOMAIN',
'SubmittedDate': datetime(2015, 1, 1)
}
Response Structure
The GetOperationDetail response includes the following elements.
The identifier for the operation.
The current status of the requested operation in the system.
Detailed information on the status including possible errors.
The name of a domain.
The type of operation that was requested.
The date when the request was submitted.
Create a paginator for an operation.
Returns an object that can wait for some condition.
This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.
See also: AWS API Documentation
Request Syntax
response = client.list_domains(
Marker='string',
MaxItems=123
)
For an initial request for a list of domains, omit this element. If the number of domains that are associated with the current AWS account is greater than the value that you specified for MaxItems , you can use Marker to return additional domains. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element.
Constraints: The marker must match the value specified in the previous request.
Number of domains to be returned.
Default: 20
dict
Response Syntax
{
'Domains': [
{
'DomainName': 'string',
'AutoRenew': True|False,
'TransferLock': True|False,
'Expiry': datetime(2015, 1, 1)
},
],
'NextPageMarker': 'string'
}
Response Structure
(dict) --
The ListDomains response includes the following elements.
Domains (list) --
A summary of domains.
(dict) --
Summary information about one domain.
DomainName (string) --
The name of the domain that the summary information applies to.
AutoRenew (boolean) --
Indicates whether the domain is automatically renewed upon expiration.
TransferLock (boolean) --
Indicates whether a domain is locked from unauthorized transfer to another party.
Expiry (datetime) --
Expiration date of the domain in Coordinated Universal Time (UTC).
NextPageMarker (string) --
If there are more domains than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker .
This operation returns the operation IDs of operations that are not yet complete.
See also: AWS API Documentation
Request Syntax
response = client.list_operations(
SubmittedSince=datetime(2015, 1, 1),
Marker='string',
MaxItems=123
)
Number of domains to be returned.
Default: 20
dict
Response Syntax
{
'Operations': [
{
'OperationId': 'string',
'Status': 'SUBMITTED'|'IN_PROGRESS'|'ERROR'|'SUCCESSFUL'|'FAILED',
'Type': 'REGISTER_DOMAIN'|'DELETE_DOMAIN'|'TRANSFER_IN_DOMAIN'|'UPDATE_DOMAIN_CONTACT'|'UPDATE_NAMESERVER'|'CHANGE_PRIVACY_PROTECTION'|'DOMAIN_LOCK'|'ENABLE_AUTORENEW'|'DISABLE_AUTORENEW'|'ADD_DNSSEC'|'REMOVE_DNSSEC'|'EXPIRE_DOMAIN'|'TRANSFER_OUT_DOMAIN'|'CHANGE_DOMAIN_OWNER'|'RENEW_DOMAIN'|'PUSH_DOMAIN',
'SubmittedDate': datetime(2015, 1, 1)
},
],
'NextPageMarker': 'string'
}
Response Structure
(dict) --
The ListOperations response includes the following elements.
Operations (list) --
Lists summaries of the operations.
(dict) --
OperationSummary includes the following elements.
OperationId (string) --
Identifier returned to track the requested action.
Status (string) --
The current status of the requested operation in the system.
Type (string) --
Type of the action requested.
SubmittedDate (datetime) --
The date when the request was submitted.
NextPageMarker (string) --
If there are more operations than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker .
This operation returns all of the tags that are associated with the specified domain.
All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_domain(
DomainName='string'
)
[REQUIRED]
The domain for which you want to get a list of tags.
{
'TagList': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
The ListTagsForDomain response includes the following elements.
A list of the tags that are associated with the specified domain.
Each tag includes the following elements.
The key (name) of a tag.
Valid values: A-Z, a-z, 0-9, space, ".:/=+-@"
Constraints: Each key can be 1-128 characters long.
The value of a tag.
Valid values: A-Z, a-z, 0-9, space, ".:/=+-@"
Constraints: Each value can be 0-256 characters long.
This operation registers a domain. Domains are registered either by Amazon Registrar (for .com, .net, and .org domains) or by our registrar associate, Gandi (for all other domains). For some top-level domains (TLDs), this operation requires extra parameters.
When you register a domain, Amazon Route 53 does the following:
See also: AWS API Documentation
Request Syntax
response = client.register_domain(
DomainName='string',
IdnLangCode='string',
DurationInYears=123,
AutoRenew=True|False,
AdminContact={
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSO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SI'|'SK'|'SL'|'SM'|'SN'|'SO'|'SR'|'ST'|'SV'|'SY'|'SZ'|'TC'|'TD'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'ZA'|'ZM'|'ZW',
'ZipCode': 'string',
'PhoneNumber': 'string',
'Email': 'string',
'Fax': 'string',
'ExtraParams': [
{
'Name': 'DUNS_NUMBER'|'BRAND_NUMBER'|'BIRTH_DEPARTMENT'|'BIRTH_DATE_IN_YYYY_MM_DD'|'BIRTH_COUNTRY'|'BIRTH_CITY'|'DOCUMENT_NUMBER'|'AU_ID_NUMBER'|'AU_ID_TYPE'|'CA_LEGAL_TYPE'|'CA_BUSINESS_ENTITY_TYPE'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_PIN'|'IT_REGISTRANT_ENTITY_TYPE'|'RU_PASSPORT_DATA'|'SE_ID_NUMBER'|'SG_ID_NUMBER'|'VAT_NUMBER'|'UK_CONTACT_TYPE'|'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
},
RegistrantContact={
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS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neNumber': 'string',
'Email': 'string',
'Fax': 'string',
'ExtraParams': [
{
'Name': 'DUNS_NUMBER'|'BRAND_NUMBER'|'BIRTH_DEPARTMENT'|'BIRTH_DATE_IN_YYYY_MM_DD'|'BIRTH_COUNTRY'|'BIRTH_CITY'|'DOCUMENT_NUMBER'|'AU_ID_NUMBER'|'AU_ID_TYPE'|'CA_LEGAL_TYPE'|'CA_BUSINESS_ENTITY_TYPE'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_PIN'|'IT_REGISTRANT_ENTITY_TYPE'|'RU_PASSPORT_DATA'|'SE_ID_NUMBER'|'SG_ID_NUMBER'|'VAT_NUMBER'|'UK_CONTACT_TYPE'|'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
},
TechContact={
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'ER'|'ES'|'ET'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|'GD'|'GE'|'GH'|'GI'|'GL'|'GM'|'G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ICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_PIN'|'IT_REGISTRANT_ENTITY_TYPE'|'RU_PASSPORT_DATA'|'SE_ID_NUMBER'|'SG_ID_NUMBER'|'VAT_NUMBER'|'UK_CONTACT_TYPE'|'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
},
PrivacyProtectAdminContact=True|False,
PrivacyProtectRegistrantContact=True|False,
PrivacyProtectTechContact=True|False
)
[REQUIRED]
The domain name that you want to register.
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
[REQUIRED]
The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide .
Default: 1
Indicates whether the domain will be automatically renewed (true ) or not (false ). Autorenewal only takes effect after the account is charged.
Default: true
[REQUIRED]
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
[REQUIRED]
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
[REQUIRED]
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
Whether you want to conceal contact information from WHOIS queries. If you specify true , WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false , WHOIS queries return the information that you entered for the admin contact.
Default: true
Whether you want to conceal contact information from WHOIS queries. If you specify true , WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false , WHOIS queries return the information that you entered for the registrant contact (the domain owner).
Default: true
Whether you want to conceal contact information from WHOIS queries. If you specify true , WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false , WHOIS queries return the information that you entered for the technical contact.
Default: true
dict
Response Syntax
{
'OperationId': 'string'
}
Response Structure
(dict) --
The RegisterDomain response includes the following element.
OperationId (string) --
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail .
This operation renews a domain for the specified number of years. The cost of renewing your domain is billed to your AWS account.
We recommend that you renew your domain several weeks before the expiration date. Some TLD registries delete domains before the expiration date if you haven't renewed far enough in advance. For more information about renewing domain registration, see Renewing Registration for a Domain in the Amazon Route 53 Developer Guide.
See also: AWS API Documentation
Request Syntax
response = client.renew_domain(
DomainName='string',
DurationInYears=123,
CurrentExpiryYear=123
)
[REQUIRED]
The name of the domain that you want to renew.
The number of years that you want to renew the domain for. The maximum number of years depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide .
Default: 1
[REQUIRED]
The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.
dict
Response Syntax
{
'OperationId': 'string'
}
Response Structure
(dict) --
OperationId (string) --
The identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail .
For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation resends the confirmation email to the current email address for the registrant contact.
See also: AWS API Documentation
Request Syntax
response = client.resend_contact_reachability_email(
domainName='string'
)
{
'domainName': 'string',
'emailAddress': 'string',
'isAlreadyVerified': True|False
}
Response Structure
The domain name for which you requested a confirmation email.
The email address for the registrant contact at the time that we sent the verification email.
True if the email address for the registrant contact has already been verified, and false otherwise. If the email address has already been verified, we don't send another confirmation email.
This operation returns the AuthCode for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.
See also: AWS API Documentation
Request Syntax
response = client.retrieve_domain_auth_code(
DomainName='string'
)
[REQUIRED]
The name of the domain that you want to get an authorization code for.
{
'AuthCode': 'string'
}
Response Structure
The RetrieveDomainAuthCode response includes the following element.
The authorization code for the domain.
This operation transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered either with Amazon Registrar (for .com, .net, and .org domains) or with our registrar associate, Gandi (for all other TLDs).
For transfer requirements, a detailed procedure, and information about viewing the status of a domain transfer, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide .
If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you consider transferring your DNS service to Amazon Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time.
Warning
If the registrar for your domain is also the DNS service provider for the domain and you don't transfer DNS service to another provider, your website, email, and the web applications associated with the domain might become unavailable.
If the transfer is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the transfer doesn't complete successfully, the domain registrant will be notified by email.
See also: AWS API Documentation
Request Syntax
response = client.transfer_domain(
DomainName='string',
IdnLangCode='string',
DurationInYears=123,
Nameservers=[
{
'Name': 'string',
'GlueIps': [
'string',
]
},
],
AuthCode='string',
AutoRenew=True|False,
AdminContact={
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'C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BER'|'BRAND_NUMBER'|'BIRTH_DEPARTMENT'|'BIRTH_DATE_IN_YYYY_MM_DD'|'BIRTH_COUNTRY'|'BIRTH_CITY'|'DOCUMENT_NUMBER'|'AU_ID_NUMBER'|'AU_ID_TYPE'|'CA_LEGAL_TYPE'|'CA_BUSINESS_ENTITY_TYPE'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_PIN'|'IT_REGISTRANT_ENTITY_TYPE'|'RU_PASSPORT_DATA'|'SE_ID_NUMBER'|'SG_ID_NUMBER'|'VAT_NUMBER'|'UK_CONTACT_TYPE'|'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
},
RegistrantContact={
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'ER'|'ES'|'ET'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|'GD'|'GE'|'GH'|'GI'|'GL'|'GM'|'GN'|'GQ'|'GR'|'GT'|'GU'|'GW'|'GY'|'HK'|'HN'|'HR'|'HT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MBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_PIN'|'IT_REGISTRANT_ENTITY_TYPE'|'RU_PASSPORT_DATA'|'SE_ID_NUMBER'|'SG_ID_NUMBER'|'VAT_NUMBER'|'UK_CONTACT_TYPE'|'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
},
TechContact={
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'ER'|'ES'|'ET'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|'GD'|'GE'|'GH'|'GI'|'GL'|'GM'|'GN'|'GQ'|'GR'|'GT'|'GU'|'GW'|'GY'|'HK'|'HN'|'HR'|'HT'|'HU'|'ID'|'IE'|'IL'|'IM'|'IN'|'IQ'|'IR'|'IS'|'IT'|'JM'|'JO'|'JP'|'KE'|'KG'|'KH'|'KI'|'KM'|'KN'|'KP'|'KR'|'KW'|'KY'|'KZ'|'LA'|'LB'|'LC'|'LI'|'LK'|'LR'|'LS'|'LT'|'LU'|'LV'|'LY'|'MA'|'MC'|'MD'|'ME'|'MF'|'MG'|'MH'|'MK'|'ML'|'MM'|'MN'|'MO'|'MP'|'MR'|'MS'|'MT'|'MU'|'MV'|'MW'|'MX'|'MY'|'MZ'|'NA'|'NC'|'NE'|'NG'|'NI'|'NL'|'NO'|'NP'|'NR'|'NU'|'NZ'|'OM'|'PA'|'PE'|'PF'|'PG'|'PH'|'PK'|'PL'|'PM'|'PN'|'PR'|'PT'|'PW'|'PY'|'QA'|'RO'|'RS'|'RU'|'RW'|'SA'|'SB'|'SC'|'SD'|'SE'|'SG'|'SH'|'SI'|'SK'|'SL'|'SM'|'SN'|'SO'|'SR'|'ST'|'SV'|'SY'|'SZ'|'TC'|'TD'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'ZA'|'ZM'|'ZW',
'ZipCode': 'string',
'PhoneNumber': 'string',
'Email': 'string',
'Fax': 'string',
'ExtraParams': [
{
'Name': 'DUNS_NUMBER'|'BRAND_NUMBER'|'BIRTH_DEPARTMENT'|'BIRTH_DATE_IN_YYYY_MM_DD'|'BIRTH_COUNTRY'|'BIRTH_CITY'|'DOCUMENT_NUMBER'|'AU_ID_NUMBER'|'AU_ID_TYPE'|'CA_LEGAL_TYPE'|'CA_BUSINESS_ENTITY_TYPE'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_PIN'|'IT_REGISTRANT_ENTITY_TYPE'|'RU_PASSPORT_DATA'|'SE_ID_NUMBER'|'SG_ID_NUMBER'|'VAT_NUMBER'|'UK_CONTACT_TYPE'|'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
},
PrivacyProtectAdminContact=True|False,
PrivacyProtectRegistrantContact=True|False,
PrivacyProtectTechContact=True|False
)
[REQUIRED]
The name of the domain that you want to transfer to Amazon Route 53.
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
[REQUIRED]
The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain.
Default: 1
Contains details for the host and glue IP addresses.
Nameserver includes the following elements.
The fully qualified host name of the name server.
Constraint: Maximum 255 characters
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Constraints: The list can contain only one IPv4 and one IPv6 address.
Indicates whether the domain will be automatically renewed (true) or not (false). Autorenewal only takes effect after the account is charged.
Default: true
[REQUIRED]
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
[REQUIRED]
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
[REQUIRED]
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
Whether you want to conceal contact information from WHOIS queries. If you specify true , WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false , WHOIS queries return the information that you entered for the admin contact.
Default: true
Whether you want to conceal contact information from WHOIS queries. If you specify true , WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false , WHOIS queries return the information that you entered for the registrant contact (domain owner).
Default: true
Whether you want to conceal contact information from WHOIS queries. If you specify true , WHOIS ("who is") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false , WHOIS queries return the information that you entered for the technical contact.
Default: true
dict
Response Syntax
{
'OperationId': 'string'
}
Response Structure
(dict) --
The TranserDomain response includes the following element.
OperationId (string) --
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail .
This operation updates the contact information for a particular domain. You must specify information for at least one contact: registrant, administrator, or technical.
If the update is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
See also: AWS API Documentation
Request Syntax
response = client.update_domain_contact(
DomainName='string',
AdminContact={
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'ER'|'ES'|'ET'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|'GD'|'GE'|'GH'|'GI'|'GL'|'GM'|'GN'|'GQ'|'GR'|'GT'|'GU'|'GW'|'GY'|'HK'|'HN'|'HR'|'HT'|'HU'|'ID'|'IE'|'IL'|'IM'|'IN'|'IQ'|'IR'|'IS'|'IT'|'JM'|'JO'|'JP'|'KE'|'KG'|'KH'|'KI'|'KM'|'KN'|'KP'|'KR'|'KW'|'KY'|'KZ'|'LA'|'LB'|'LC'|'LI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'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
},
RegistrantContact={
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'|'AW'|'AZ'|'BA'|'BB'|'BD'|'BE'|'BF'|'BG'|'BH'|'BI'|'BJ'|'BL'|'BM'|'BN'|'BO'|'BR'|'BS'|'BT'|'BW'|'BY'|'BZ'|'CA'|'CC'|'CD'|'CF'|'CG'|'CH'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|'DK'|'DM'|'DO'|'DZ'|'EC'|'EE'|'EG'|'ER'|'ES'|'ET'|'FI'|'FJ'|'FK'|'FM'|'FO'|'FR'|'GA'|'GB'|'GD'|'GE'|'GH'|'GI'|'GL'|'GM'|'GN'|'GQ'|'GR'|'GT'|'GU'|'GW'|'GY'|'HK'|'HN'|'HR'|'HT'|'HU'|'ID'|'IE'|'IL'|'IM'|'IN'|'IQ'|'IR'|'IS'|'IT'|'JM'|'JO'|'JP'|'KE'|'KG'|'KH'|'KI'|'KM'|'KN'|'KP'|'KR'|'KW'|'KY'|'KZ'|'LA'|'LB'|'LC'|'LI'|'LK'|'LR'|'LS'|'LT'|'LU'|'LV'|'LY'|'MA'|'MC'|'MD'|'ME'|'MF'|'MG'|'MH'|'MK'|'ML'|'MM'|'MN'|'MO'|'MP'|'MR'|'MS'|'MT'|'MU'|'MV'|'MW'|'MX'|'MY'|'MZ'|'NA'|'NC'|'NE'|'NG'|'NI'|'NL'|'NO'|'NP'|'NR'|'NU'|'NZ'|'OM'|'PA'|'PE'|'PF'|'PG'|'PH'|'PK'|'PL'|'PM'|'PN'|'PR'|'PT'|'PW'|'PY'|'QA'|'RO'|'RS'|'RU'|'RW'|'SA'|'SB'|'SC'|'SD'|'SE'|'SG'|'SH'|'SI'|'SK'|'SL'|'SM'|'SN'|'SO'|'SR'|'ST'|'SV'|'SY'|'SZ'|'TC'|'TD'|'TG'|'TH'|'TJ'|'TK'|'TL'|'TM'|'TN'|'TO'|'TR'|'TT'|'TV'|'TW'|'TZ'|'UA'|'UG'|'US'|'UY'|'UZ'|'VA'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'ZA'|'ZM'|'ZW',
'ZipCode': 'string',
'PhoneNumber': 'string',
'Email': 'string',
'Fax': 'string',
'ExtraParams': [
{
'Name': 'DUNS_NUMBER'|'BRAND_NUMBER'|'BIRTH_DEPARTMENT'|'BIRTH_DATE_IN_YYYY_MM_DD'|'BIRTH_COUNTRY'|'BIRTH_CITY'|'DOCUMENT_NUMBER'|'AU_ID_NUMBER'|'AU_ID_TYPE'|'CA_LEGAL_TYPE'|'CA_BUSINESS_ENTITY_TYPE'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_PIN'|'IT_REGISTRANT_ENTITY_TYPE'|'RU_PASSPORT_DATA'|'SE_ID_NUMBER'|'SG_ID_NUMBER'|'VAT_NUMBER'|'UK_CONTACT_TYPE'|'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
},
TechContact={
'FirstName': 'string',
'LastName': 'string',
'ContactType': 'PERSON'|'COMPANY'|'ASSOCIATION'|'PUBLIC_BODY'|'RESELLER',
'OrganizationName': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'City': 'string',
'State': 'string',
'CountryCode': 'AD'|'AE'|'AF'|'AG'|'AI'|'AL'|'AM'|'AN'|'AO'|'AQ'|'AR'|'AS'|'AT'|'AU'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'|'VC'|'VE'|'VG'|'VI'|'VN'|'VU'|'WF'|'WS'|'YE'|'YT'|'ZA'|'ZM'|'ZW',
'ZipCode': 'string',
'PhoneNumber': 'string',
'Email': 'string',
'Fax': 'string',
'ExtraParams': [
{
'Name': 'DUNS_NUMBER'|'BRAND_NUMBER'|'BIRTH_DEPARTMENT'|'BIRTH_DATE_IN_YYYY_MM_DD'|'BIRTH_COUNTRY'|'BIRTH_CITY'|'DOCUMENT_NUMBER'|'AU_ID_NUMBER'|'AU_ID_TYPE'|'CA_LEGAL_TYPE'|'CA_BUSINESS_ENTITY_TYPE'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_PIN'|'IT_REGISTRANT_ENTITY_TYPE'|'RU_PASSPORT_DATA'|'SE_ID_NUMBER'|'SG_ID_NUMBER'|'VAT_NUMBER'|'UK_CONTACT_TYPE'|'UK_COMPANY_NUMBER',
'Value': 'string'
},
]
}
)
[REQUIRED]
The name of the domain that you want to update contact information for.
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON , you must enter an organization name, and you can't enable privacy protection for the contact.
Name of the organization for contact types other than PERSON .
First line of the contact's address.
Second line of contact's address, if any.
The city of the contact's address.
The state or province of the contact's city.
Code for the country of the contact's address.
The zip or postal code of the contact's address.
The phone number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code>]". For example, a US phone number might appear as "+1.1234567890" .
Email address of the contact.
Fax number of the contact.
Constraints: Phone number must be specified in the format "+[country dialing code].[number including any area code]". For example, a US phone number might appear as "+1.1234567890" .
A list of name-value pairs for parameters required by certain top-level domains.
ExtraParam includes the following elements.
Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:
In addition, many TLDs require VAT_NUMBER .
Values corresponding to the additional parameter names required by some top-level domains.
dict
Response Syntax
{
'OperationId': 'string'
}
Response Structure
(dict) --
The UpdateDomainContact response includes the following element.
OperationId (string) --
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail .
This operation updates the specified domain contact's privacy setting. When privacy protection is enabled, contact information such as email address is replaced either with contact information for Amazon Registrar (for .com, .net, and .org domains) or with contact information for our registrar associate, Gandi.
This operation affects only the contact information for the specified contact type (registrant, administrator, or tech). If the request succeeds, Amazon Route 53 returns an operation ID that you can use with GetOperationDetail to track the progress and completion of the action. If the request doesn't complete successfully, the domain registrant will be notified by email.
See also: AWS API Documentation
Request Syntax
response = client.update_domain_contact_privacy(
DomainName='string',
AdminPrivacy=True|False,
RegistrantPrivacy=True|False,
TechPrivacy=True|False
)
[REQUIRED]
The name of the domain that you want to update the privacy setting for.
dict
Response Syntax
{
'OperationId': 'string'
}
Response Structure
(dict) --
The UpdateDomainContactPrivacy response includes the following element.
OperationId (string) --
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.
This operation replaces the current set of name servers for the domain with the specified set of name servers. If you use Amazon Route 53 as your DNS service, specify the four name servers in the delegation set for the hosted zone for the domain.
If successful, this operation returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
See also: AWS API Documentation
Request Syntax
response = client.update_domain_nameservers(
DomainName='string',
FIAuthKey='string',
Nameservers=[
{
'Name': 'string',
'GlueIps': [
'string',
]
},
]
)
[REQUIRED]
The name of the domain that you want to change name servers for.
[REQUIRED]
A list of new name servers for the domain.
Nameserver includes the following elements.
The fully qualified host name of the name server.
Constraint: Maximum 255 characters
Glue IP address of a name server entry. Glue IP addresses are required only when the name of the name server is a subdomain of the domain. For example, if your domain is example.com and the name server for the domain is ns.example.com, you need to specify the IP address for ns.example.com.
Constraints: The list can contain only one IPv4 and one IPv6 address.
dict
Response Syntax
{
'OperationId': 'string'
}
Response Structure
(dict) --
The UpdateDomainNameservers response includes the following element.
OperationId (string) --
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail .
This operation adds or updates tags for a specified domain.
All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.
See also: AWS API Documentation
Request Syntax
response = client.update_tags_for_domain(
DomainName='string',
TagsToUpdate=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The domain for which you want to add or update tags.
A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.
Each tag includes the following elements.
The key (name) of a tag.
Valid values: A-Z, a-z, 0-9, space, ".:/=+-@"
Constraints: Each key can be 1-128 characters long.
The value of a tag.
Valid values: A-Z, a-z, 0-9, space, ".:/=+-@"
Constraints: Each value can be 0-256 characters long.
dict
Response Syntax
{}
Response Structure
Returns all the domain-related billing records for the current AWS account for a specified period
See also: AWS API Documentation
Request Syntax
response = client.view_billing(
Start=datetime(2015, 1, 1),
End=datetime(2015, 1, 1),
Marker='string',
MaxItems=123
)
For an initial request for a list of billing records, omit this element. If the number of billing records that are associated with the current AWS account during the specified period is greater than the value that you specified for MaxItems , you can use Marker to return additional billing records. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element.
Constraints: The marker must match the value of NextPageMarker that was returned in the previous response.
The number of billing records to be returned.
Default: 20
dict
Response Syntax
{
'NextPageMarker': 'string',
'BillingRecords': [
{
'DomainName': 'string',
'Operation': 'REGISTER_DOMAIN'|'DELETE_DOMAIN'|'TRANSFER_IN_DOMAIN'|'UPDATE_DOMAIN_CONTACT'|'UPDATE_NAMESERVER'|'CHANGE_PRIVACY_PROTECTION'|'DOMAIN_LOCK'|'ENABLE_AUTORENEW'|'DISABLE_AUTORENEW'|'ADD_DNSSEC'|'REMOVE_DNSSEC'|'EXPIRE_DOMAIN'|'TRANSFER_OUT_DOMAIN'|'CHANGE_DOMAIN_OWNER'|'RENEW_DOMAIN'|'PUSH_DOMAIN',
'InvoiceId': 'string',
'BillDate': datetime(2015, 1, 1),
'Price': 123.0
},
]
}
Response Structure
(dict) --
The ViewBilling response includes the following elements.
NextPageMarker (string) --
If there are more billing records than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker .
BillingRecords (list) --
A summary of billing records.
(dict) --
Information for one billing record.
DomainName (string) --
The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guidezzz .
Operation (string) --
The operation that you were charged for.
InvoiceId (string) --
The ID of the invoice that is associated with the billing record.
BillDate (datetime) --
The date that the operation was billed, in Unix format.
Price (float) --
The price that you were charged for the operation, in US dollars.
Example value: 12.0
The available paginators are:
paginator = client.get_paginator('list_domains')
Creates an iterator that will paginate through responses from Route53Domains.Client.list_domains().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Domains': [
{
'DomainName': 'string',
'AutoRenew': True|False,
'TransferLock': True|False,
'Expiry': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
The ListDomains response includes the following elements.
A summary of domains.
Summary information about one domain.
The name of the domain that the summary information applies to.
Indicates whether the domain is automatically renewed upon expiration.
Indicates whether a domain is locked from unauthorized transfer to another party.
Expiration date of the domain in Coordinated Universal Time (UTC).
A token to resume pagination.
paginator = client.get_paginator('list_operations')
Creates an iterator that will paginate through responses from Route53Domains.Client.list_operations().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
SubmittedSince=datetime(2015, 1, 1),
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'Operations': [
{
'OperationId': 'string',
'Status': 'SUBMITTED'|'IN_PROGRESS'|'ERROR'|'SUCCESSFUL'|'FAILED',
'Type': 'REGISTER_DOMAIN'|'DELETE_DOMAIN'|'TRANSFER_IN_DOMAIN'|'UPDATE_DOMAIN_CONTACT'|'UPDATE_NAMESERVER'|'CHANGE_PRIVACY_PROTECTION'|'DOMAIN_LOCK'|'ENABLE_AUTORENEW'|'DISABLE_AUTORENEW'|'ADD_DNSSEC'|'REMOVE_DNSSEC'|'EXPIRE_DOMAIN'|'TRANSFER_OUT_DOMAIN'|'CHANGE_DOMAIN_OWNER'|'RENEW_DOMAIN'|'PUSH_DOMAIN',
'SubmittedDate': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
The ListOperations response includes the following elements.
Operations (list) --
Lists summaries of the operations.
(dict) --
OperationSummary includes the following elements.
OperationId (string) --
Identifier returned to track the requested action.
Status (string) --
The current status of the requested operation in the system.
Type (string) --
Type of the action requested.
SubmittedDate (datetime) --
The date when the request was submitted.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('view_billing')
Creates an iterator that will paginate through responses from Route53Domains.Client.view_billing().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
Start=datetime(2015, 1, 1),
End=datetime(2015, 1, 1),
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'BillingRecords': [
{
'DomainName': 'string',
'Operation': 'REGISTER_DOMAIN'|'DELETE_DOMAIN'|'TRANSFER_IN_DOMAIN'|'UPDATE_DOMAIN_CONTACT'|'UPDATE_NAMESERVER'|'CHANGE_PRIVACY_PROTECTION'|'DOMAIN_LOCK'|'ENABLE_AUTORENEW'|'DISABLE_AUTORENEW'|'ADD_DNSSEC'|'REMOVE_DNSSEC'|'EXPIRE_DOMAIN'|'TRANSFER_OUT_DOMAIN'|'CHANGE_DOMAIN_OWNER'|'RENEW_DOMAIN'|'PUSH_DOMAIN',
'InvoiceId': 'string',
'BillDate': datetime(2015, 1, 1),
'Price': 123.0
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
The ViewBilling response includes the following elements.
BillingRecords (list) --
A summary of billing records.
(dict) --
Information for one billing record.
DomainName (string) --
The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guidezzz .
Operation (string) --
The operation that you were charged for.
InvoiceId (string) --
The ID of the invoice that is associated with the billing record.
BillDate (datetime) --
The date that the operation was billed, in Unix format.
Price (float) --
The price that you were charged for the operation, in US dollars.
Example value: 12.0
NextToken (string) --
A token to resume pagination.