public interface AmazonRoute53Domains
Modifier and Type | Method and Description |
---|---|
CheckDomainAvailabilityResult |
checkDomainAvailability(CheckDomainAvailabilityRequest checkDomainAvailabilityRequest)
This operation checks the availability of one domain name.
|
DisableDomainTransferLockResult |
disableDomainTransferLock(DisableDomainTransferLockRequest disableDomainTransferLockRequest)
This operation removes the transfer lock on the domain (specifically
the
clientTransferProhibited status) to allow domain
transfers. |
EnableDomainTransferLockResult |
enableDomainTransferLock(EnableDomainTransferLockRequest enableDomainTransferLockRequest)
This operation sets the transfer lock on the domain (specifically the
clientTransferProhibited status) to prevent domain
transfers. |
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for
debugging issues where a service isn't acting as expected.
|
GetDomainDetailResult |
getDomainDetail(GetDomainDetailRequest getDomainDetailRequest)
This operation returns detailed information about the domain.
|
GetOperationDetailResult |
getOperationDetail(GetOperationDetailRequest getOperationDetailRequest)
This operation returns the current status of an operation that is not
completed.
|
ListDomainsResult |
listDomains()
This operation returns all the domain names registered with Amazon
Route 53 for the current AWS account.
|
ListDomainsResult |
listDomains(ListDomainsRequest listDomainsRequest)
This operation returns all the domain names registered with Amazon
Route 53 for the current AWS account.
|
ListOperationsResult |
listOperations()
This operation returns the operation IDs of operations that are not
yet complete.
|
ListOperationsResult |
listOperations(ListOperationsRequest listOperationsRequest)
This operation returns the operation IDs of operations that are not
yet complete.
|
RegisterDomainResult |
registerDomain(RegisterDomainRequest registerDomainRequest)
This operation registers a domain.
|
RetrieveDomainAuthCodeResult |
retrieveDomainAuthCode(RetrieveDomainAuthCodeRequest retrieveDomainAuthCodeRequest)
This operation returns the AuthCode for the domain.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client ("https://route53domains.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
setEndpoint(String) , sets the
regional endpoint for this client's service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
TransferDomainResult |
transferDomain(TransferDomainRequest transferDomainRequest)
This operation transfers a domain from another registrar to Amazon
Route 53.
|
UpdateDomainContactResult |
updateDomainContact(UpdateDomainContactRequest updateDomainContactRequest)
This operation updates the contact information for a particular
domain.
|
UpdateDomainContactPrivacyResult |
updateDomainContactPrivacy(UpdateDomainContactPrivacyRequest updateDomainContactPrivacyRequest)
This operation updates the specified domain contact's privacy
setting.
|
UpdateDomainNameserversResult |
updateDomainNameservers(UpdateDomainNameserversRequest updateDomainNameserversRequest)
This operation replaces the current set of name servers for the
domain with the specified set of name servers.
|
void setEndpoint(String endpoint) throws IllegalArgumentException
Callers can pass in just the endpoint (ex: "route53domains.us-east-1.amazonaws.com") or a full
URL, including the protocol (ex: "https://route53domains.us-east-1.amazonaws.com"). If the
protocol is not specified here, the default protocol from this client's
ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
endpoint
- The endpoint (ex: "route53domains.us-east-1.amazonaws.com") or a full URL,
including the protocol (ex: "https://route53domains.us-east-1.amazonaws.com") of
the region specific AWS endpoint this client will communicate
with.IllegalArgumentException
- If any problems are detected with the specified endpoint.void setRegion(Region region) throws IllegalArgumentException
setEndpoint(String)
, sets the
regional endpoint for this client's service calls. Callers can use this
method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol.
To use http instead, specify it in the ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
region
- The region this client will communicate with. See
Region.getRegion(com.amazonaws.regions.Regions)
for
accessing a given region.IllegalArgumentException
- If the given region is null, or if this service isn't
available in the given region. See
Region.isServiceSupported(String)
Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
UpdateDomainContactResult updateDomainContact(UpdateDomainContactRequest updateDomainContactRequest) throws AmazonServiceException, AmazonClientException
This operation updates the contact information for a particular domain. Information for at least one contact (registrant, administrator, or technical) must be supplied for update.
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.
updateDomainContactRequest
- Container for the necessary
parameters to execute the UpdateDomainContact service method on
AmazonRoute53Domains.InvalidInputException
DuplicateRequestException
TLDRulesViolationException
OperationLimitExceededException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.CheckDomainAvailabilityResult checkDomainAvailability(CheckDomainAvailabilityRequest checkDomainAvailabilityRequest) throws AmazonServiceException, AmazonClientException
This operation checks the availability of one domain name. You can access this API without authenticating. Note that if the availability status of a domain is pending, you must submit another request to determine the availability of the domain name.
checkDomainAvailabilityRequest
- Container for the necessary
parameters to execute the CheckDomainAvailability service method on
AmazonRoute53Domains.UnsupportedTLDException
InvalidInputException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.ListOperationsResult listOperations(ListOperationsRequest listOperationsRequest) throws AmazonServiceException, AmazonClientException
This operation returns the operation IDs of operations that are not yet complete.
listOperationsRequest
- Container for the necessary parameters to
execute the ListOperations service method on AmazonRoute53Domains.InvalidInputException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.ListDomainsResult listDomains(ListDomainsRequest listDomainsRequest) throws AmazonServiceException, AmazonClientException
This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.
listDomainsRequest
- Container for the necessary parameters to
execute the ListDomains service method on AmazonRoute53Domains.InvalidInputException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.GetOperationDetailResult getOperationDetail(GetOperationDetailRequest getOperationDetailRequest) throws AmazonServiceException, AmazonClientException
This operation returns the current status of an operation that is not completed.
getOperationDetailRequest
- Container for the necessary
parameters to execute the GetOperationDetail service method on
AmazonRoute53Domains.InvalidInputException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.DisableDomainTransferLockResult disableDomainTransferLock(DisableDomainTransferLockRequest disableDomainTransferLockRequest) throws AmazonServiceException, AmazonClientException
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.
disableDomainTransferLockRequest
- Container for the necessary
parameters to execute the DisableDomainTransferLock service method on
AmazonRoute53Domains.InvalidInputException
DuplicateRequestException
TLDRulesViolationException
OperationLimitExceededException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.UpdateDomainNameserversResult updateDomainNameservers(UpdateDomainNameserversRequest updateDomainNameserversRequest) throws AmazonServiceException, AmazonClientException
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.
updateDomainNameserversRequest
- Container for the necessary
parameters to execute the UpdateDomainNameservers service method on
AmazonRoute53Domains.InvalidInputException
DuplicateRequestException
TLDRulesViolationException
OperationLimitExceededException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.EnableDomainTransferLockResult enableDomainTransferLock(EnableDomainTransferLockRequest enableDomainTransferLockRequest) throws AmazonServiceException, AmazonClientException
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.
enableDomainTransferLockRequest
- Container for the necessary
parameters to execute the EnableDomainTransferLock service method on
AmazonRoute53Domains.InvalidInputException
DuplicateRequestException
TLDRulesViolationException
OperationLimitExceededException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.RegisterDomainResult registerDomain(RegisterDomainRequest registerDomainRequest) throws AmazonServiceException, AmazonClientException
This operation registers a domain. Domains are registered by the AWS registrar partner, Gandi. For some top-level domains (TLDs), this operation requires extra parameters.
When you register a domain, Amazon Route 53 does the following:
registerDomainRequest
- Container for the necessary parameters to
execute the RegisterDomain service method on AmazonRoute53Domains.UnsupportedTLDException
InvalidInputException
DuplicateRequestException
TLDRulesViolationException
DomainLimitExceededException
OperationLimitExceededException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.GetDomainDetailResult getDomainDetail(GetDomainDetailRequest getDomainDetailRequest) throws AmazonServiceException, AmazonClientException
This operation returns detailed information about the domain. The domain's contact information is also returned as part of the output.
getDomainDetailRequest
- Container for the necessary parameters
to execute the GetDomainDetail service method on AmazonRoute53Domains.InvalidInputException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.RetrieveDomainAuthCodeResult retrieveDomainAuthCode(RetrieveDomainAuthCodeRequest retrieveDomainAuthCodeRequest) throws AmazonServiceException, AmazonClientException
This operation returns the AuthCode for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.
retrieveDomainAuthCodeRequest
- Container for the necessary
parameters to execute the RetrieveDomainAuthCode service method on
AmazonRoute53Domains.InvalidInputException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.TransferDomainResult transferDomain(TransferDomainRequest transferDomainRequest) throws AmazonServiceException, AmazonClientException
This operation transfers a domain from another registrar to Amazon Route 53. Domains are registered by the AWS registrar, Gandi upon transfer.
To transfer a domain, you need to meet all the domain transfer criteria, including the following:
We recommend you use the Amazon Route 53 as the DNS service for your domain. You can create a hosted zone in Amazon Route 53 for your current domain before transferring your domain.
Note that upon transfer, the domain duration is extended for a year if not otherwise specified. Autorenew is enabled by default.
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 request is not completed successfully, the domain registrant will be notified by email.
Transferring domains charges your AWS account an amount based on the top-level domain. For more information, see Amazon Route 53 Pricing .
transferDomainRequest
- Container for the necessary parameters to
execute the TransferDomain service method on AmazonRoute53Domains.UnsupportedTLDException
InvalidInputException
DuplicateRequestException
TLDRulesViolationException
DomainLimitExceededException
OperationLimitExceededException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.UpdateDomainContactPrivacyResult updateDomainContactPrivacy(UpdateDomainContactPrivacyRequest updateDomainContactPrivacyRequest) throws AmazonServiceException, AmazonClientException
This operation updates the specified domain contact's privacy setting. When the privacy option is enabled, personal information such as postal or email address is hidden from the results of a public WHOIS query. The privacy services are provided by the AWS registrar, Gandi. For more information, see the Gandi privacy features .
This operation only affects the privacy of the specified contact type (registrant, administrator, or tech). Successful acceptance returns an operation ID that you can use with GetOperationDetail to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
updateDomainContactPrivacyRequest
- Container for the necessary
parameters to execute the UpdateDomainContactPrivacy service method on
AmazonRoute53Domains.InvalidInputException
DuplicateRequestException
TLDRulesViolationException
OperationLimitExceededException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.ListOperationsResult listOperations() throws AmazonServiceException, AmazonClientException
This operation returns the operation IDs of operations that are not yet complete.
InvalidInputException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.ListDomainsResult listDomains() throws AmazonServiceException, AmazonClientException
This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.
InvalidInputException
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonRoute53Domains indicating
either a problem with the data in the request, or a server side issue.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2014. All rights reserved.