Table of Contents
A low-level client representing Amazon Route 53 Domains
Amazon Route 53 API actions let you register domain names and perform related operations.
import boto3
client = boto3.client('route53domains')
These are the available methods:
Accepts the transfer of a domain from another AWS account to the current AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount .
Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled .
See also: AWS API Documentation
Request Syntax
response = client.accept_domain_transfer_from_another_aws_account(
DomainName='string',
Password='string'
)
[REQUIRED]
The name of the domain that was specified when another AWS account submitted a TransferDomainToAnotherAwsAccount request.
[REQUIRED]
The password that was returned by the TransferDomainToAnotherAwsAccount request.
dict
Response Syntax
{
'OperationId': 'string'
}
Response Structure
(dict) --
The AcceptDomainTransferFromAnotherAwsAccount response includes the following element.
OperationId (string) --
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail .
Exceptions
Check if an operation can be paginated.
Cancels the transfer of a domain from the current AWS account to another AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount .
Warning
You must cancel the transfer before the other AWS account accepts the transfer using AcceptDomainTransferFromAnotherAwsAccount .
Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled .
See also: AWS API Documentation
Request Syntax
response = client.cancel_domain_transfer_to_another_aws_account(
DomainName='string'
)
[REQUIRED]
The name of the domain for which you want to cancel the transfer to another AWS account.
{
'OperationId': 'string'
}
Response Structure
The CancelDomainTransferToAnotherAwsAccount response includes the following element.
The identifier that TransferDomainToAnotherAwsAccount returned to track the progress of the request. Because the transfer request was canceled, the value is no longer valid, and you can't use GetOperationDetail to query the operation status.
Exceptions
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. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide .
The domain name can contain only the following characters:
Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53 . For more information, see Formatting Internationalized Domain Names .
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. 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.
Exceptions
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 Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide .
The domain name can contain only the following characters:
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 Route 53.
Transferable (string) --
Whether the domain name can be transferred to 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 Route 53.
UNTRANSFERRABLE
The domain name can't be transferred to Route 53.
DONT_KNOW
Reserved for future use.
Exceptions
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
Exceptions
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
Exceptions
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 query the operation status, use GetOperationDetail .
Exceptions
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 Domains That You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide . Route 53 requires that you renew before the end of the renewal period 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
Exceptions
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.
Exceptions
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.
Exceptions
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'|'BL'|'BM'|'BN'|'BO'|'BR'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'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'|'CA_LEGAL_REPRESENTATIVE'|'CA_LEGAL_REPRESENTATIVE_CAPACITY'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_NATIONALITY'|'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'|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ID_TYPE'|'CA_LEGAL_TYPE'|'CA_BUSINESS_ENTITY_TYPE'|'CA_LEGAL_REPRESENTATIVE'|'CA_LEGAL_REPRESENTATIVE_CAPACITY'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_NATIONALITY'|'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'|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I_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_NATIONALITY'|'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'
},
]
},
'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. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
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. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
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. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
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 Unix time format and 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 Unix time format and Coordinated Universal time (UTC).
The date when the registration for the domain is set to expire. The date and time is in Unix time format and Coordinated Universal time (UTC).
Reseller of the domain. Domains registered or transferred using 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.)
Exceptions
The GetDomainSuggestions operation returns a list of suggested domain names.
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 top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide .
The domain name can contain only the following characters:
Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53 .
[REQUIRED]
The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50.
[REQUIRED]
If OnlyAvailable is true , Route 53 returns only domain names that are available. If OnlyAvailable is false , 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. 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.
Exceptions
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. 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'|'INTERNAL_TRANSFER_OUT_DOMAIN'|'INTERNAL_TRANSFER_IN_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.
Exceptions
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 Unix time format and 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 .
Exceptions
Returns information about all of the operations that return an operation ID and that have ever been performed on domains that were registered by the current account.
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'|'INTERNAL_TRANSFER_OUT_DOMAIN'|'INTERNAL_TRANSFER_IN_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 .
Exceptions
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.
Exceptions
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'|'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'|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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'|'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'|'CA_LEGAL_REPRESENTATIVE'|'CA_LEGAL_REPRESENTATIVE_CAPACITY'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_NATIONALITY'|'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',
'Address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'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'|'CA_LEGAL_REPRESENTATIVE'|'CA_LEGAL_REPRESENTATIVE_CAPACITY'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_NATIONALITY'|'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. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide .
The domain name can contain only the following characters:
Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53 . For more information, see Formatting Internationalized Domain Names .
[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. For information about the values that you specify for each element, see ContactDetail .
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
[REQUIRED]
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail .
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
[REQUIRED]
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail .
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
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 query the operation status, use GetOperationDetail .
Exceptions
Rejects the transfer of a domain from another AWS account to the current AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount .
Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled .
See also: AWS API Documentation
Request Syntax
response = client.reject_domain_transfer_from_another_aws_account(
DomainName='string'
)
[REQUIRED]
The name of the domain that was specified when another AWS account submitted a TransferDomainToAnotherAwsAccount request.
{
'OperationId': 'string'
}
Response Structure
The RejectDomainTransferFromAnotherAwsAccount response includes the following element.
The identifier that TransferDomainToAnotherAwsAccount returned to track the progress of the request. Because the transfer request was rejected, the value is no longer valid, and you can't use GetOperationDetail to query the operation status.
Exceptions
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) --
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail .
Exceptions
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.
Exceptions
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.
Exceptions
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 more information about transferring domains, see the following topics:
If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you transfer your DNS service to 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'|'CI'|'CK'|'CL'|'CM'|'CN'|'CO'|'CR'|'CU'|'CV'|'CX'|'CY'|'CZ'|'DE'|'DJ'|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TRY'|'BIRTH_CITY'|'DOCUMENT_NUMBER'|'AU_ID_NUMBER'|'AU_ID_TYPE'|'CA_LEGAL_TYPE'|'CA_BUSINESS_ENTITY_TYPE'|'CA_LEGAL_REPRESENTATIVE'|'CA_LEGAL_REPRESENTATIVE_CAPACITY'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_NATIONALITY'|'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'|'HU'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E'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_NATIONALITY'|'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'|'M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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 Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide .
The domain name can contain only the following characters:
[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. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
[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. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
[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. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
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 TransferDomain response includes the following element.
OperationId (string) --
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail .
Exceptions
Transfers a domain from the current AWS account to another AWS account. Note the following:
Warning
When you transfer a domain from one AWS account to another, Route 53 doesn't transfer the hosted zone that is associated with the domain. DNS resolution isn't affected if the domain and the hosted zone are owned by separate accounts, so transferring the hosted zone is optional. For information about transferring the hosted zone to another AWS account, see Migrating a Hosted Zone to a Different AWS Account in the Amazon Route 53 Developer Guide .
Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled .
See also: AWS API Documentation
Request Syntax
response = client.transfer_domain_to_another_aws_account(
DomainName='string',
AccountId='string'
)
[REQUIRED]
The name of the domain that you want to transfer from the current AWS account to another account.
[REQUIRED]
The account ID of the AWS account that you want to transfer the domain to, for example, 111122223333 .
dict
Response Syntax
{
'OperationId': 'string',
'Password': 'string'
}
Response Structure
(dict) --
The TransferDomainToAnotherAwsAccount response includes the following elements.
OperationId (string) --
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail .
Password (string) --
To finish transferring a domain to another AWS account, the account that the domain is being transferred to must submit an AcceptDomainTransferFromAnotherAwsAccount request. The request must include the value of the Password element that was returned in the TransferDomainToAnotherAwsAccount response.
Exceptions
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'|'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|'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'|'CA_LEGAL_REPRESENTATIVE'|'CA_LEGAL_REPRESENTATIVE_CAPACITY'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_NATIONALITY'|'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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'|'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'|'CA_LEGAL_REPRESENTATIVE'|'CA_LEGAL_REPRESENTATIVE_CAPACITY'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_NATIONALITY'|'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'|'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M_DD'|'BIRTH_COUNTRY'|'BIRTH_CITY'|'DOCUMENT_NUMBER'|'AU_ID_NUMBER'|'AU_ID_TYPE'|'CA_LEGAL_TYPE'|'CA_BUSINESS_ENTITY_TYPE'|'CA_LEGAL_REPRESENTATIVE'|'CA_LEGAL_REPRESENTATIVE_CAPACITY'|'ES_IDENTIFICATION'|'ES_IDENTIFICATION_TYPE'|'ES_LEGAL_FORM'|'FI_BUSINESS_NUMBER'|'FI_ID_NUMBER'|'FI_NATIONALITY'|'FI_ORGANIZATION_TYPE'|'IT_NATIONALITY'|'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. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
Provides detailed contact information.
First name of contact.
Last name of contact.
Indicates whether the contact is a person, company, association, or public organization. Note the following:
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.
The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:
.com.au and .net.au
.ca
When ContactType is a value other than PERSON , valid values include the following:
- ASS (Canadian unincorporated association)
- CCO (Canadian corporation)
- EDU (Canadian educational institution)
- GOV (Government or government entity in Canada)
- HOP (Canadian Hospital)
- INB (Indian Band recognized by the Indian Act of Canada)
- LAM (Canadian Library, Archive, or Museum)
- MAJ (Her/His Majesty the Queen/King)
- OMK (Official mark registered in Canada)
- PLT (Canadian Political Party)
- PRT (Partnership Registered in Canada)
- TDM (Trademark registered in Canada)
- TRD (Canadian Trade Union)
- TRS (Trust established in Canada)
.es
Note
For .es domains, the value of ContactType must be PERSON .
.fi
.fr
.it
.ru
.se
.sg
.co.uk, .me.uk, and .org.uk
In addition, many TLDs require a VAT_NUMBER .
The value that corresponds with the name of an extra parameter.
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 query the operation status, use GetOperationDetail .
Exceptions
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.
Warning
By disabling the privacy service via API, you consent to the publication of the contact information provided for this domain via the public WHOIS database. You certify that you are the registrant of this domain name and have the authority to make this decision. You may withdraw your consent at any time by enabling privacy protection using either UpdateDomainContactPrivacy or the Route 53 console. Enabling privacy protection removes the contact information provided for this domain from the WHOIS database. For more information on our privacy practices, see https://aws.amazon.com/privacy/ .
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.
Exceptions
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 query the operation status, use GetOperationDetail .
Exceptions
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
Exceptions
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'|'INTERNAL_TRANSFER_OUT_DOMAIN'|'INTERNAL_TRANSFER_IN_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 Guide .
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
Exceptions
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 Unix time format and 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'|'INTERNAL_TRANSFER_OUT_DOMAIN'|'INTERNAL_TRANSFER_IN_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'|'INTERNAL_TRANSFER_OUT_DOMAIN'|'INTERNAL_TRANSFER_IN_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 Guide .
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.