Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*
    * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License").
    * You may not use this file except in compliance with the License.
    * A copy of the License is located at
    * 
    *  http://aws.amazon.com/apache2.0
    * 
   * or in the "license" file accompanying this file. This file is distributed
   * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
   * express or implied. See the License for the specific language governing
   * permissions and limitations under the License.
   */
  package com.amazonaws.services.route53domains;
  
  
  
Asynchronous client for accessing AmazonRoute53Domains. All asynchronous calls made using this client are non-blocking. Callers could either process the result and handle the exceptions in the worker thread by providing a callback handler when making the call, or use the returned Future object to check the result of the call in the calling thread.
  
          implements AmazonRoute53DomainsAsync {

    
Executor service for executing asynchronous requests.
  
      private ExecutorService executorService;
  
      private static final int DEFAULT_THREAD_POOL_SIZE = 50;

    
Constructs a new asynchronous client to invoke service methods on AmazonRoute53Domains. A credentials provider chain will be used that searches for credentials in this order:
  • Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
  • Java System Properties - aws.accessKeyId and aws.secretKey
  • Instance profile credentials delivered through the Amazon EC2 metadata service

All service calls made using this new client object are blocking, and will not return until the service call completes.

  
      public AmazonRoute53DomainsAsyncClient() {
          this(new DefaultAWSCredentialsProviderChain());
      }

    
Constructs a new asynchronous client to invoke service methods on AmazonRoute53Domains. A credentials provider chain will be used that searches for credentials in this order:
  • Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
  • Java System Properties - aws.accessKeyId and aws.secretKey
  • Instance profile credentials delivered through the Amazon EC2 metadata service

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
clientConfiguration The client configuration options controlling how this client connects to AmazonRoute53Domains (ex: proxy settings, retry counts, etc.).
See also:
com.amazonaws.auth.DefaultAWSCredentialsProviderChain
  
      public AmazonRoute53DomainsAsyncClient(ClientConfiguration clientConfiguration) {
          this(new DefaultAWSCredentialsProviderChain(), clientConfiguration, Executors.newFixedThreadPool(clientConfiguration.getMaxConnections()));
      }

    
Constructs a new asynchronous client to invoke service methods on AmazonRoute53Domains using the specified AWS account credentials. Default client settings will be used, and a fixed size thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
 
     public AmazonRoute53DomainsAsyncClient(AWSCredentials awsCredentials) {
         this(awsCredentials, Executors.newFixedThreadPool());
     }

    
Constructs a new asynchronous client to invoke service methods on AmazonRoute53Domains using the specified AWS account credentials and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
executorService The executor service by which all asynchronous requests will be executed.
 
     public AmazonRoute53DomainsAsyncClient(AWSCredentials awsCredentialsExecutorService executorService) {
         super(awsCredentials);
         this. = executorService;
     }

    
Constructs a new asynchronous client to invoke service methods on AmazonRoute53Domains using the specified AWS account credentials, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
clientConfiguration Client configuration options (ex: max retry limit, proxy settings, etc).
executorService The executor service by which all asynchronous requests will be executed.
 
     public AmazonRoute53DomainsAsyncClient(AWSCredentials awsCredentials,
                 ClientConfiguration clientConfigurationExecutorService executorService) {
         super(awsCredentialsclientConfiguration);
         this. = executorService;
     }

    
Constructs a new asynchronous client to invoke service methods on AmazonRoute53Domains using the specified AWS account credentials provider. Default client settings will be used, and a fixed size thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
 
     public AmazonRoute53DomainsAsyncClient(AWSCredentialsProvider awsCredentialsProvider) {
         this(awsCredentialsProvider, Executors.newFixedThreadPool());
     }

    
Constructs a new asynchronous client to invoke service methods on AmazonRoute53Domains using the specified AWS account credentials provider and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
executorService The executor service by which all asynchronous requests will be executed.
 
     public AmazonRoute53DomainsAsyncClient(AWSCredentialsProvider awsCredentialsProviderExecutorService executorService) {
         this(awsCredentialsProvidernew ClientConfiguration(), executorService);
     }

    
Constructs a new asynchronous client to invoke service methods on AmazonRoute53Domains using the specified AWS account credentials provider and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration Client configuration options (ex: max retry limit, proxy settings, etc).
 
     public AmazonRoute53DomainsAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                 ClientConfiguration clientConfiguration) {
         this(awsCredentialsProviderclientConfiguration, Executors.newFixedThreadPool(clientConfiguration.getMaxConnections()));
     }

    
Constructs a new asynchronous client to invoke service methods on AmazonRoute53Domains using the specified AWS account credentials provider, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration Client configuration options (ex: max retry limit, proxy settings, etc).
executorService The executor service by which all asynchronous requests will be executed.
 
     public AmazonRoute53DomainsAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                 ClientConfiguration clientConfigurationExecutorService executorService) {
         super(awsCredentialsProviderclientConfiguration);
         this. = executorService;
     }

    
Returns the executor service used by this async client to execute requests.

Returns:
The executor service used by this async client to execute requests.
 
     public ExecutorService getExecutorService() {
         return ;
     }

    
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should call getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to calling this method.
 
     @Override
     public void shutdown() {
         super.shutdown();
         .shutdownNow();
     }
            
    

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.

Parameters:
checkDomainAvailabilityRequest Container for the necessary parameters to execute the CheckDomainAvailability operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the CheckDomainAvailability service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
     public Future<CheckDomainAvailabilityResultcheckDomainAvailabilityAsync(final CheckDomainAvailabilityRequest checkDomainAvailabilityRequest
             throws AmazonServiceExceptionAmazonClientException {
             public CheckDomainAvailabilityResult call() throws Exception {
                 return checkDomainAvailability(checkDomainAvailabilityRequest);
         }
     });
     }

    

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.

Parameters:
checkDomainAvailabilityRequest Container for the necessary parameters to execute the CheckDomainAvailability operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CheckDomainAvailability service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
             final CheckDomainAvailabilityRequest checkDomainAvailabilityRequest,
             final AsyncHandler<CheckDomainAvailabilityRequestCheckDomainAvailabilityResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
             public CheckDomainAvailabilityResult call() throws Exception {
               CheckDomainAvailabilityResult result;
                 try {
                 result = checkDomainAvailability(checkDomainAvailabilityRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(checkDomainAvailabilityRequestresult);
                  return result;
         }
     });
     }
    
    

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.

Parameters:
updateDomainContactRequest Container for the necessary parameters to execute the UpdateDomainContact operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the UpdateDomainContact service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
     public Future<UpdateDomainContactResultupdateDomainContactAsync(final UpdateDomainContactRequest updateDomainContactRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<UpdateDomainContactResult>() {
             public UpdateDomainContactResult call() throws Exception {
                 return updateDomainContact(updateDomainContactRequest);
         }
     });
     }

    

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.

Parameters:
updateDomainContactRequest Container for the necessary parameters to execute the UpdateDomainContact operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateDomainContact service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
             final UpdateDomainContactRequest updateDomainContactRequest,
             final AsyncHandler<UpdateDomainContactRequestUpdateDomainContactResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<UpdateDomainContactResult>() {
             public UpdateDomainContactResult call() throws Exception {
               UpdateDomainContactResult result;
                 try {
                 result = updateDomainContact(updateDomainContactRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(updateDomainContactRequestresult);
                  return result;
         }
     });
     }
    
    

This operation configures Amazon Route 53 to automatically renew the specified domain before the domain registration expires. The cost of renewing your domain registration is billed to your AWS account.

The period during which you can renew a domain name varies by TLD. For a list of TLDs and their renewal policies, see "Renewal, restoration, and deletion times" on the website for our registrar partner, Gandi. Route 53 requires that you renew before the end of the renewal period that is listed on the Gandi website so we can complete processing before the deadline.

Parameters:
enableDomainAutoRenewRequest Container for the necessary parameters to execute the EnableDomainAutoRenew operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the EnableDomainAutoRenew service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
     public Future<EnableDomainAutoRenewResultenableDomainAutoRenewAsync(final EnableDomainAutoRenewRequest enableDomainAutoRenewRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<EnableDomainAutoRenewResult>() {
             public EnableDomainAutoRenewResult call() throws Exception {
                 return enableDomainAutoRenew(enableDomainAutoRenewRequest);
         }
     });
     }

    

This operation configures Amazon Route 53 to automatically renew the specified domain before the domain registration expires. The cost of renewing your domain registration is billed to your AWS account.

The period during which you can renew a domain name varies by TLD. For a list of TLDs and their renewal policies, see "Renewal, restoration, and deletion times" on the website for our registrar partner, Gandi. Route 53 requires that you renew before the end of the renewal period that is listed on the Gandi website so we can complete processing before the deadline.

Parameters:
enableDomainAutoRenewRequest Container for the necessary parameters to execute the EnableDomainAutoRenew operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the EnableDomainAutoRenew service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
             final EnableDomainAutoRenewRequest enableDomainAutoRenewRequest,
             final AsyncHandler<EnableDomainAutoRenewRequestEnableDomainAutoRenewResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<EnableDomainAutoRenewResult>() {
             public EnableDomainAutoRenewResult call() throws Exception {
               EnableDomainAutoRenewResult result;
                 try {
                 result = enableDomainAutoRenew(enableDomainAutoRenewRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(enableDomainAutoRenewRequestresult);
                  return result;
         }
     });
     }
    
    

This operation returns the operation IDs of operations that are not yet complete.

Parameters:
listOperationsRequest Container for the necessary parameters to execute the ListOperations operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the ListOperations service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
     public Future<ListOperationsResultlistOperationsAsync(final ListOperationsRequest listOperationsRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<ListOperationsResult>() {
             public ListOperationsResult call() throws Exception {
                 return listOperations(listOperationsRequest);
         }
     });
     }

    

This operation returns the operation IDs of operations that are not yet complete.

Parameters:
listOperationsRequest Container for the necessary parameters to execute the ListOperations operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListOperations service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
             final ListOperationsRequest listOperationsRequest,
             final AsyncHandler<ListOperationsRequestListOperationsResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<ListOperationsResult>() {
             public ListOperationsResult call() throws Exception {
               ListOperationsResult result;
                 try {
                 result = listOperations(listOperationsRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(listOperationsRequestresult);
                  return result;
         }
     });
     }
    
    

This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.

Parameters:
listDomainsRequest Container for the necessary parameters to execute the ListDomains operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the ListDomains service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
     public Future<ListDomainsResultlistDomainsAsync(final ListDomainsRequest listDomainsRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<ListDomainsResult>() {
             public ListDomainsResult call() throws Exception {
                 return listDomains(listDomainsRequest);
         }
     });
     }

    

This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.

Parameters:
listDomainsRequest Container for the necessary parameters to execute the ListDomains operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListDomains service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
             final ListDomainsRequest listDomainsRequest,
             final AsyncHandler<ListDomainsRequestListDomainsResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<ListDomainsResult>() {
             public ListDomainsResult call() throws Exception {
               ListDomainsResult result;
                 try {
                 result = listDomains(listDomainsRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(listDomainsRequestresult);
                  return result;
         }
     });
     }
    
    

This operation returns the current status of an operation that is not completed.

Parameters:
getOperationDetailRequest Container for the necessary parameters to execute the GetOperationDetail operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the GetOperationDetail service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
     public Future<GetOperationDetailResultgetOperationDetailAsync(final GetOperationDetailRequest getOperationDetailRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<GetOperationDetailResult>() {
             public GetOperationDetailResult call() throws Exception {
                 return getOperationDetail(getOperationDetailRequest);
         }
     });
     }

    

This operation returns the current status of an operation that is not completed.

Parameters:
getOperationDetailRequest Container for the necessary parameters to execute the GetOperationDetail operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetOperationDetail service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
             final GetOperationDetailRequest getOperationDetailRequest,
             final AsyncHandler<GetOperationDetailRequestGetOperationDetailResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<GetOperationDetailResult>() {
             public GetOperationDetailResult call() throws Exception {
               GetOperationDetailResult result;
                 try {
                 result = getOperationDetail(getOperationDetailRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(getOperationDetailRequestresult);
                  return result;
         }
     });
     }
    
    

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.

Parameters:
disableDomainTransferLockRequest Container for the necessary parameters to execute the DisableDomainTransferLock operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the DisableDomainTransferLock service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException {
             public DisableDomainTransferLockResult call() throws Exception {
                 return disableDomainTransferLock(disableDomainTransferLockRequest);
         }
     });
     }

    

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.

Parameters:
disableDomainTransferLockRequest Container for the necessary parameters to execute the DisableDomainTransferLock operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DisableDomainTransferLock service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
             final DisableDomainTransferLockRequest disableDomainTransferLockRequest,
             final AsyncHandler<DisableDomainTransferLockRequestDisableDomainTransferLockResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
             public DisableDomainTransferLockResult call() throws Exception {
               DisableDomainTransferLockResult result;
                 try {
                 result = disableDomainTransferLock(disableDomainTransferLockRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(disableDomainTransferLockRequestresult);
                  return result;
         }
     });
     }
    
    

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.

Parameters:
enableDomainTransferLockRequest Container for the necessary parameters to execute the EnableDomainTransferLock operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the EnableDomainTransferLock service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
     public Future<EnableDomainTransferLockResultenableDomainTransferLockAsync(final EnableDomainTransferLockRequest enableDomainTransferLockRequest
             throws AmazonServiceExceptionAmazonClientException {
             public EnableDomainTransferLockResult call() throws Exception {
                 return enableDomainTransferLock(enableDomainTransferLockRequest);
         }
     });
     }

    

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.

Parameters:
enableDomainTransferLockRequest Container for the necessary parameters to execute the EnableDomainTransferLock operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the EnableDomainTransferLock service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
             final EnableDomainTransferLockRequest enableDomainTransferLockRequest,
             final AsyncHandler<EnableDomainTransferLockRequestEnableDomainTransferLockResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
             public EnableDomainTransferLockResult call() throws Exception {
               EnableDomainTransferLockResult result;
                 try {
                 result = enableDomainTransferLock(enableDomainTransferLockRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(enableDomainTransferLockRequestresult);
                  return result;
         }
     });
     }
    
    

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.

Parameters:
updateDomainNameserversRequest Container for the necessary parameters to execute the UpdateDomainNameservers operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the UpdateDomainNameservers service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
 
     public Future<UpdateDomainNameserversResultupdateDomainNameserversAsync(final UpdateDomainNameserversRequest updateDomainNameserversRequest
             throws AmazonServiceExceptionAmazonClientException {
             public UpdateDomainNameserversResult call() throws Exception {
                 return updateDomainNameservers(updateDomainNameserversRequest);
         }
     });
     }

    

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.

Parameters:
updateDomainNameserversRequest Container for the necessary parameters to execute the UpdateDomainNameservers operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateDomainNameservers service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            final UpdateDomainNameserversRequest updateDomainNameserversRequest,
            final AsyncHandler<UpdateDomainNameserversRequestUpdateDomainNameserversResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public UpdateDomainNameserversResult call() throws Exception {
              UpdateDomainNameserversResult result;
                try {
                result = updateDomainNameservers(updateDomainNameserversRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(updateDomainNameserversRequestresult);
                 return result;
        }
    });
    }
    
    

This operation disables automatic renewal of domain registration for the specified domain.

NOTE:Caution! Amazon Route 53 doesn't have a manual renewal process, so if you disable automatic renewal, registration for the domain will not be renewed when the expiration date passes, and you will lose control of the domain name.

Parameters:
disableDomainAutoRenewRequest Container for the necessary parameters to execute the DisableDomainAutoRenew operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the DisableDomainAutoRenew service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public DisableDomainAutoRenewResult call() throws Exception {
                return disableDomainAutoRenew(disableDomainAutoRenewRequest);
        }
    });
    }

    

This operation disables automatic renewal of domain registration for the specified domain.

NOTE:Caution! Amazon Route 53 doesn't have a manual renewal process, so if you disable automatic renewal, registration for the domain will not be renewed when the expiration date passes, and you will lose control of the domain name.

Parameters:
disableDomainAutoRenewRequest Container for the necessary parameters to execute the DisableDomainAutoRenew operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DisableDomainAutoRenew service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            final DisableDomainAutoRenewRequest disableDomainAutoRenewRequest,
            final AsyncHandler<DisableDomainAutoRenewRequestDisableDomainAutoRenewResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public DisableDomainAutoRenewResult call() throws Exception {
              DisableDomainAutoRenewResult result;
                try {
                result = disableDomainAutoRenew(disableDomainAutoRenewRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(disableDomainAutoRenewRequestresult);
                 return result;
        }
    });
    }
    
    

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:

  • Creates a Amazon Route 53 hosted zone that has the same name as the domain. Amazon Route 53 assigns four name servers to your hosted zone and automatically updates your domain registration with the names of these name servers.
  • Enables autorenew, so your domain registration will renew automatically each year. We'll notify you in advance of the renewal date so you can choose whether to renew the registration.
  • Optionally enables privacy protection, so WHOIS queries return contact information for our registrar partner, Gandi, instead of the information you entered for registrant, admin, and tech contacts.
  • If registration is successful, 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 is notified by email.
  • Charges your AWS account an amount based on the top-level domain. For more information, see Amazon Route 53 Pricing .

Parameters:
registerDomainRequest Container for the necessary parameters to execute the RegisterDomain operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the RegisterDomain service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
    public Future<RegisterDomainResultregisterDomainAsync(final RegisterDomainRequest registerDomainRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<RegisterDomainResult>() {
            public RegisterDomainResult call() throws Exception {
                return registerDomain(registerDomainRequest);
        }
    });
    }

    

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:

  • Creates a Amazon Route 53 hosted zone that has the same name as the domain. Amazon Route 53 assigns four name servers to your hosted zone and automatically updates your domain registration with the names of these name servers.
  • Enables autorenew, so your domain registration will renew automatically each year. We'll notify you in advance of the renewal date so you can choose whether to renew the registration.
  • Optionally enables privacy protection, so WHOIS queries return contact information for our registrar partner, Gandi, instead of the information you entered for registrant, admin, and tech contacts.
  • If registration is successful, 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 is notified by email.
  • Charges your AWS account an amount based on the top-level domain. For more information, see Amazon Route 53 Pricing .

Parameters:
registerDomainRequest Container for the necessary parameters to execute the RegisterDomain operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the RegisterDomain service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            final RegisterDomainRequest registerDomainRequest,
            final AsyncHandler<RegisterDomainRequestRegisterDomainResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<RegisterDomainResult>() {
            public RegisterDomainResult call() throws Exception {
              RegisterDomainResult result;
                try {
                result = registerDomain(registerDomainRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(registerDomainRequestresult);
                 return result;
        }
    });
    }
    
    

This operation returns detailed information about the domain. The domain's contact information is also returned as part of the output.

Parameters:
getDomainDetailRequest Container for the necessary parameters to execute the GetDomainDetail operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the GetDomainDetail service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
    public Future<GetDomainDetailResultgetDomainDetailAsync(final GetDomainDetailRequest getDomainDetailRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<GetDomainDetailResult>() {
            public GetDomainDetailResult call() throws Exception {
                return getDomainDetail(getDomainDetailRequest);
        }
    });
    }

    

This operation returns detailed information about the domain. The domain's contact information is also returned as part of the output.

Parameters:
getDomainDetailRequest Container for the necessary parameters to execute the GetDomainDetail operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetDomainDetail service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            final GetDomainDetailRequest getDomainDetailRequest,
            final AsyncHandler<GetDomainDetailRequestGetDomainDetailResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<GetDomainDetailResult>() {
            public GetDomainDetailResult call() throws Exception {
              GetDomainDetailResult result;
                try {
                result = getDomainDetail(getDomainDetailRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(getDomainDetailRequestresult);
                 return result;
        }
    });
    }
    
    

This operation adds or updates tags for a specified domain.

All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations.

Parameters:
updateTagsForDomainRequest Container for the necessary parameters to execute the UpdateTagsForDomain operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the UpdateTagsForDomain service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
    public Future<UpdateTagsForDomainResultupdateTagsForDomainAsync(final UpdateTagsForDomainRequest updateTagsForDomainRequest
            throws AmazonServiceExceptionAmazonClientException {
            public UpdateTagsForDomainResult call() throws Exception {
                return updateTagsForDomain(updateTagsForDomainRequest);
        }
    });
    }

    

This operation adds or updates tags for a specified domain.

All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations.

Parameters:
updateTagsForDomainRequest Container for the necessary parameters to execute the UpdateTagsForDomain operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateTagsForDomain service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            final UpdateTagsForDomainRequest updateTagsForDomainRequest,
            final AsyncHandler<UpdateTagsForDomainRequestUpdateTagsForDomainResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public UpdateTagsForDomainResult call() throws Exception {
              UpdateTagsForDomainResult result;
                try {
                result = updateTagsForDomain(updateTagsForDomainRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(updateTagsForDomainRequestresult);
                 return result;
        }
    });
    }
    
    

This operation returns the AuthCode for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.

Parameters:
retrieveDomainAuthCodeRequest Container for the necessary parameters to execute the RetrieveDomainAuthCode operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the RetrieveDomainAuthCode service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public RetrieveDomainAuthCodeResult call() throws Exception {
                return retrieveDomainAuthCode(retrieveDomainAuthCodeRequest);
        }
    });
    }

    

This operation returns the AuthCode for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.

Parameters:
retrieveDomainAuthCodeRequest Container for the necessary parameters to execute the RetrieveDomainAuthCode operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the RetrieveDomainAuthCode service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            final RetrieveDomainAuthCodeRequest retrieveDomainAuthCodeRequest,
            final AsyncHandler<RetrieveDomainAuthCodeRequestRetrieveDomainAuthCodeResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public RetrieveDomainAuthCodeResult call() throws Exception {
              RetrieveDomainAuthCodeResult result;
                try {
                result = retrieveDomainAuthCode(retrieveDomainAuthCodeRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(retrieveDomainAuthCodeRequestresult);
                 return result;
        }
    });
    }
    
    

This operation transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered with the AWS registrar partner, Gandi.

For transfer requirements, a detailed procedure, and information about viewing the status of a domain transfer, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide.

If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you consider transferring your DNS service to Amazon Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time.

NOTE:Caution! 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.

Parameters:
transferDomainRequest Container for the necessary parameters to execute the TransferDomain operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the TransferDomain service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
    public Future<TransferDomainResulttransferDomainAsync(final TransferDomainRequest transferDomainRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<TransferDomainResult>() {
            public TransferDomainResult call() throws Exception {
                return transferDomain(transferDomainRequest);
        }
    });
    }

    

This operation transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered with the AWS registrar partner, Gandi.

For transfer requirements, a detailed procedure, and information about viewing the status of a domain transfer, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide.

If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you consider transferring your DNS service to Amazon Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time.

NOTE:Caution! 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.

Parameters:
transferDomainRequest Container for the necessary parameters to execute the TransferDomain operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the TransferDomain service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            final TransferDomainRequest transferDomainRequest,
            final AsyncHandler<TransferDomainRequestTransferDomainResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<TransferDomainResult>() {
            public TransferDomainResult call() throws Exception {
              TransferDomainResult result;
                try {
                result = transferDomain(transferDomainRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(transferDomainRequestresult);
                 return result;
        }
    });
    }
    
    

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.

Parameters:
updateDomainContactPrivacyRequest Container for the necessary parameters to execute the UpdateDomainContactPrivacy operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the UpdateDomainContactPrivacy service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public UpdateDomainContactPrivacyResult call() throws Exception {
                return updateDomainContactPrivacy(updateDomainContactPrivacyRequest);
        }
    });
    }

    

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.

Parameters:
updateDomainContactPrivacyRequest Container for the necessary parameters to execute the UpdateDomainContactPrivacy operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the UpdateDomainContactPrivacy service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            final UpdateDomainContactPrivacyRequest updateDomainContactPrivacyRequest,
                    throws AmazonServiceExceptionAmazonClientException {
            public UpdateDomainContactPrivacyResult call() throws Exception {
              UpdateDomainContactPrivacyResult result;
                try {
                result = updateDomainContactPrivacy(updateDomainContactPrivacyRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(updateDomainContactPrivacyRequestresult);
                 return result;
        }
    });
    }
    
    

This operation returns all of the tags that are associated with the specified domain.

All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations.

Parameters:
listTagsForDomainRequest Container for the necessary parameters to execute the ListTagsForDomain operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the ListTagsForDomain service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
    public Future<ListTagsForDomainResultlistTagsForDomainAsync(final ListTagsForDomainRequest listTagsForDomainRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<ListTagsForDomainResult>() {
            public ListTagsForDomainResult call() throws Exception {
                return listTagsForDomain(listTagsForDomainRequest);
        }
    });
    }

    

This operation returns all of the tags that are associated with the specified domain.

All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations.

Parameters:
listTagsForDomainRequest Container for the necessary parameters to execute the ListTagsForDomain operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListTagsForDomain service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            final ListTagsForDomainRequest listTagsForDomainRequest,
            final AsyncHandler<ListTagsForDomainRequestListTagsForDomainResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<ListTagsForDomainResult>() {
            public ListTagsForDomainResult call() throws Exception {
              ListTagsForDomainResult result;
                try {
                result = listTagsForDomain(listTagsForDomainRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(listTagsForDomainRequestresult);
                 return result;
        }
    });
    }
    
    

This operation deletes the specified tags for a domain.

All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations.

Parameters:
deleteTagsForDomainRequest Container for the necessary parameters to execute the DeleteTagsForDomain operation on AmazonRoute53Domains.
Returns:
A Java Future object containing the response from the DeleteTagsForDomain service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
    public Future<DeleteTagsForDomainResultdeleteTagsForDomainAsync(final DeleteTagsForDomainRequest deleteTagsForDomainRequest
            throws AmazonServiceExceptionAmazonClientException {
            public DeleteTagsForDomainResult call() throws Exception {
                return deleteTagsForDomain(deleteTagsForDomainRequest);
        }
    });
    }

    

This operation deletes the specified tags for a domain.

All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations.

Parameters:
deleteTagsForDomainRequest Container for the necessary parameters to execute the DeleteTagsForDomain operation on AmazonRoute53Domains.
asyncHandler Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteTagsForDomain service method, as returned by AmazonRoute53Domains.
Throws:
com.amazonaws.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.
com.amazonaws.AmazonServiceException If an error response is returned by AmazonRoute53Domains indicating either a problem with the data in the request, or a server side issue.
            final DeleteTagsForDomainRequest deleteTagsForDomainRequest,
            final AsyncHandler<DeleteTagsForDomainRequestDeleteTagsForDomainResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public DeleteTagsForDomainResult call() throws Exception {
              DeleteTagsForDomainResult result;
                try {
                result = deleteTagsForDomain(deleteTagsForDomainRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(deleteTagsForDomainRequestresult);
                 return result;
        }
    });
    }
    
}
        
New to GrepCode? Check out our FAQ X