@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSServiceDiscoveryAsyncClient extends AWSServiceDiscoveryClient implements AWSServiceDiscoveryAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Amazon Route 53 autonaming lets you configure public or private namespaces that your microservice applications run in. When instances of the service become available, you can call the autonaming API to register the instance, and Amazon Route 53 automatically creates up to five DNS records and an optional health check. Clients that submit DNS queries for the service receive an answer that contains up to eight healthy records.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSServiceDiscoveryAsyncClientBuilder |
asyncBuilder() |
Future<CreatePrivateDnsNamespaceResult> |
createPrivateDnsNamespaceAsync(CreatePrivateDnsNamespaceRequest request)
Creates a private namespace based on DNS, which will be visible only inside a specified Amazon VPC.
|
Future<CreatePrivateDnsNamespaceResult> |
createPrivateDnsNamespaceAsync(CreatePrivateDnsNamespaceRequest request,
AsyncHandler<CreatePrivateDnsNamespaceRequest,CreatePrivateDnsNamespaceResult> asyncHandler)
Creates a private namespace based on DNS, which will be visible only inside a specified Amazon VPC.
|
Future<CreatePublicDnsNamespaceResult> |
createPublicDnsNamespaceAsync(CreatePublicDnsNamespaceRequest request)
Creates a public namespace based on DNS, which will be visible on the internet.
|
Future<CreatePublicDnsNamespaceResult> |
createPublicDnsNamespaceAsync(CreatePublicDnsNamespaceRequest request,
AsyncHandler<CreatePublicDnsNamespaceRequest,CreatePublicDnsNamespaceResult> asyncHandler)
Creates a public namespace based on DNS, which will be visible on the internet.
|
Future<CreateServiceResult> |
createServiceAsync(CreateServiceRequest request)
Creates a service, which defines a template for the following entities:
|
Future<CreateServiceResult> |
createServiceAsync(CreateServiceRequest request,
AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
Creates a service, which defines a template for the following entities:
|
Future<DeleteNamespaceResult> |
deleteNamespaceAsync(DeleteNamespaceRequest request)
Deletes a namespace from the current account.
|
Future<DeleteNamespaceResult> |
deleteNamespaceAsync(DeleteNamespaceRequest request,
AsyncHandler<DeleteNamespaceRequest,DeleteNamespaceResult> asyncHandler)
Deletes a namespace from the current account.
|
Future<DeleteServiceResult> |
deleteServiceAsync(DeleteServiceRequest request)
Deletes a specified service.
|
Future<DeleteServiceResult> |
deleteServiceAsync(DeleteServiceRequest request,
AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
Deletes a specified service.
|
Future<DeregisterInstanceResult> |
deregisterInstanceAsync(DeregisterInstanceRequest request)
Deletes the resource record sets and the health check, if any, that Amazon Route 53 created for the specified
instance.
|
Future<DeregisterInstanceResult> |
deregisterInstanceAsync(DeregisterInstanceRequest request,
AsyncHandler<DeregisterInstanceRequest,DeregisterInstanceResult> asyncHandler)
Deletes the resource record sets and the health check, if any, that Amazon Route 53 created for the specified
instance.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<GetInstanceResult> |
getInstanceAsync(GetInstanceRequest request)
Gets information about a specified instance.
|
Future<GetInstanceResult> |
getInstanceAsync(GetInstanceRequest request,
AsyncHandler<GetInstanceRequest,GetInstanceResult> asyncHandler)
Gets information about a specified instance.
|
Future<GetInstancesHealthStatusResult> |
getInstancesHealthStatusAsync(GetInstancesHealthStatusRequest request)
Gets the current health status (
Healthy , Unhealthy , or Unknown ) of one or
more instances that are associated with a specified service. |
Future<GetInstancesHealthStatusResult> |
getInstancesHealthStatusAsync(GetInstancesHealthStatusRequest request,
AsyncHandler<GetInstancesHealthStatusRequest,GetInstancesHealthStatusResult> asyncHandler)
Gets the current health status (
Healthy , Unhealthy , or Unknown ) of one or
more instances that are associated with a specified service. |
Future<GetNamespaceResult> |
getNamespaceAsync(GetNamespaceRequest request)
Gets information about a namespace.
|
Future<GetNamespaceResult> |
getNamespaceAsync(GetNamespaceRequest request,
AsyncHandler<GetNamespaceRequest,GetNamespaceResult> asyncHandler)
Gets information about a namespace.
|
Future<GetOperationResult> |
getOperationAsync(GetOperationRequest request)
Gets information about any operation that returns an operation ID in the response, such as a
CreateService request. |
Future<GetOperationResult> |
getOperationAsync(GetOperationRequest request,
AsyncHandler<GetOperationRequest,GetOperationResult> asyncHandler)
Gets information about any operation that returns an operation ID in the response, such as a
CreateService request. |
Future<GetServiceResult> |
getServiceAsync(GetServiceRequest request)
Gets the settings for a specified service.
|
Future<GetServiceResult> |
getServiceAsync(GetServiceRequest request,
AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
Gets the settings for a specified service.
|
Future<ListInstancesResult> |
listInstancesAsync(ListInstancesRequest request)
Gets summary information about the instances that you created by using a specified service.
|
Future<ListInstancesResult> |
listInstancesAsync(ListInstancesRequest request,
AsyncHandler<ListInstancesRequest,ListInstancesResult> asyncHandler)
Gets summary information about the instances that you created by using a specified service.
|
Future<ListNamespacesResult> |
listNamespacesAsync(ListNamespacesRequest request)
Gets information about the namespaces that were created by the current AWS account.
|
Future<ListNamespacesResult> |
listNamespacesAsync(ListNamespacesRequest request,
AsyncHandler<ListNamespacesRequest,ListNamespacesResult> asyncHandler)
Gets information about the namespaces that were created by the current AWS account.
|
Future<ListOperationsResult> |
listOperationsAsync(ListOperationsRequest request)
Lists operations that match the criteria that you specify.
|
Future<ListOperationsResult> |
listOperationsAsync(ListOperationsRequest request,
AsyncHandler<ListOperationsRequest,ListOperationsResult> asyncHandler)
Lists operations that match the criteria that you specify.
|
Future<ListServicesResult> |
listServicesAsync(ListServicesRequest request)
Gets settings for all the services that are associated with one or more specified namespaces.
|
Future<ListServicesResult> |
listServicesAsync(ListServicesRequest request,
AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
Gets settings for all the services that are associated with one or more specified namespaces.
|
Future<RegisterInstanceResult> |
registerInstanceAsync(RegisterInstanceRequest request)
Creates one or more resource record sets and optionally a health check based on the settings in a specified
service.
|
Future<RegisterInstanceResult> |
registerInstanceAsync(RegisterInstanceRequest request,
AsyncHandler<RegisterInstanceRequest,RegisterInstanceResult> asyncHandler)
Creates one or more resource record sets and optionally a health check based on the settings in a specified
service.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<UpdateServiceResult> |
updateServiceAsync(UpdateServiceRequest request)
Updates the TTL setting for a specified service.
|
Future<UpdateServiceResult> |
updateServiceAsync(UpdateServiceRequest request,
AsyncHandler<UpdateServiceRequest,UpdateServiceResult> asyncHandler)
Updates the TTL setting for a specified service.
|
builder, createPrivateDnsNamespace, createPublicDnsNamespace, createService, deleteNamespace, deleteService, deregisterInstance, getCachedResponseMetadata, getInstance, getInstancesHealthStatus, getNamespace, getOperation, getService, listInstances, listNamespaces, listOperations, listServices, registerInstance, updateService
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPrivateDnsNamespace, createPublicDnsNamespace, createService, deleteNamespace, deleteService, deregisterInstance, getCachedResponseMetadata, getInstance, getInstancesHealthStatus, getNamespace, getOperation, getService, listInstances, listNamespaces, listOperations, listServices, registerInstance, updateService
public static AWSServiceDiscoveryAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreatePrivateDnsNamespaceResult> createPrivateDnsNamespaceAsync(CreatePrivateDnsNamespaceRequest request)
AWSServiceDiscoveryAsync
Creates a private namespace based on DNS, which will be visible only inside a specified Amazon VPC. The namespace
defines your service naming scheme. For example, if you name your namespace example.com
and name
your service backend
, the resulting DNS name for the service will be
backend.example.com
. You can associate more than one service with the same namespace.
createPrivateDnsNamespaceAsync
in interface AWSServiceDiscoveryAsync
public Future<CreatePrivateDnsNamespaceResult> createPrivateDnsNamespaceAsync(CreatePrivateDnsNamespaceRequest request, AsyncHandler<CreatePrivateDnsNamespaceRequest,CreatePrivateDnsNamespaceResult> asyncHandler)
AWSServiceDiscoveryAsync
Creates a private namespace based on DNS, which will be visible only inside a specified Amazon VPC. The namespace
defines your service naming scheme. For example, if you name your namespace example.com
and name
your service backend
, the resulting DNS name for the service will be
backend.example.com
. You can associate more than one service with the same namespace.
createPrivateDnsNamespaceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreatePublicDnsNamespaceResult> createPublicDnsNamespaceAsync(CreatePublicDnsNamespaceRequest request)
AWSServiceDiscoveryAsync
Creates a public namespace based on DNS, which will be visible on the internet. The namespace defines your
service naming scheme. For example, if you name your namespace example.com
and name your service
backend
, the resulting DNS name for the service will be backend.example.com
. You can
associate more than one service with the same namespace.
createPublicDnsNamespaceAsync
in interface AWSServiceDiscoveryAsync
public Future<CreatePublicDnsNamespaceResult> createPublicDnsNamespaceAsync(CreatePublicDnsNamespaceRequest request, AsyncHandler<CreatePublicDnsNamespaceRequest,CreatePublicDnsNamespaceResult> asyncHandler)
AWSServiceDiscoveryAsync
Creates a public namespace based on DNS, which will be visible on the internet. The namespace defines your
service naming scheme. For example, if you name your namespace example.com
and name your service
backend
, the resulting DNS name for the service will be backend.example.com
. You can
associate more than one service with the same namespace.
createPublicDnsNamespaceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest request)
AWSServiceDiscoveryAsync
Creates a service, which defines a template for the following entities:
One to five resource record sets
Optionally, a health check
After you create the service, you can submit a RegisterInstance request, and Amazon Route 53 uses the values in the template to create the specified entities.
createServiceAsync
in interface AWSServiceDiscoveryAsync
public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest request, AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
AWSServiceDiscoveryAsync
Creates a service, which defines a template for the following entities:
One to five resource record sets
Optionally, a health check
After you create the service, you can submit a RegisterInstance request, and Amazon Route 53 uses the values in the template to create the specified entities.
createServiceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteNamespaceResult> deleteNamespaceAsync(DeleteNamespaceRequest request)
AWSServiceDiscoveryAsync
Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.
deleteNamespaceAsync
in interface AWSServiceDiscoveryAsync
public Future<DeleteNamespaceResult> deleteNamespaceAsync(DeleteNamespaceRequest request, AsyncHandler<DeleteNamespaceRequest,DeleteNamespaceResult> asyncHandler)
AWSServiceDiscoveryAsync
Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.
deleteNamespaceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request)
AWSServiceDiscoveryAsync
Deletes a specified service. If the service still contains one or more registered instances, the request fails.
deleteServiceAsync
in interface AWSServiceDiscoveryAsync
public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request, AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
AWSServiceDiscoveryAsync
Deletes a specified service. If the service still contains one or more registered instances, the request fails.
deleteServiceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeregisterInstanceResult> deregisterInstanceAsync(DeregisterInstanceRequest request)
AWSServiceDiscoveryAsync
Deletes the resource record sets and the health check, if any, that Amazon Route 53 created for the specified instance.
deregisterInstanceAsync
in interface AWSServiceDiscoveryAsync
public Future<DeregisterInstanceResult> deregisterInstanceAsync(DeregisterInstanceRequest request, AsyncHandler<DeregisterInstanceRequest,DeregisterInstanceResult> asyncHandler)
AWSServiceDiscoveryAsync
Deletes the resource record sets and the health check, if any, that Amazon Route 53 created for the specified instance.
deregisterInstanceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetInstanceResult> getInstanceAsync(GetInstanceRequest request)
AWSServiceDiscoveryAsync
Gets information about a specified instance.
getInstanceAsync
in interface AWSServiceDiscoveryAsync
public Future<GetInstanceResult> getInstanceAsync(GetInstanceRequest request, AsyncHandler<GetInstanceRequest,GetInstanceResult> asyncHandler)
AWSServiceDiscoveryAsync
Gets information about a specified instance.
getInstanceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetInstancesHealthStatusResult> getInstancesHealthStatusAsync(GetInstancesHealthStatusRequest request)
AWSServiceDiscoveryAsync
Gets the current health status (Healthy
, Unhealthy
, or Unknown
) of one or
more instances that are associated with a specified service.
getInstancesHealthStatusAsync
in interface AWSServiceDiscoveryAsync
public Future<GetInstancesHealthStatusResult> getInstancesHealthStatusAsync(GetInstancesHealthStatusRequest request, AsyncHandler<GetInstancesHealthStatusRequest,GetInstancesHealthStatusResult> asyncHandler)
AWSServiceDiscoveryAsync
Gets the current health status (Healthy
, Unhealthy
, or Unknown
) of one or
more instances that are associated with a specified service.
getInstancesHealthStatusAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetNamespaceResult> getNamespaceAsync(GetNamespaceRequest request)
AWSServiceDiscoveryAsync
Gets information about a namespace.
getNamespaceAsync
in interface AWSServiceDiscoveryAsync
public Future<GetNamespaceResult> getNamespaceAsync(GetNamespaceRequest request, AsyncHandler<GetNamespaceRequest,GetNamespaceResult> asyncHandler)
AWSServiceDiscoveryAsync
Gets information about a namespace.
getNamespaceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetOperationResult> getOperationAsync(GetOperationRequest request)
AWSServiceDiscoveryAsync
Gets information about any operation that returns an operation ID in the response, such as a
CreateService
request. To get a list of operations that match specified criteria, see
ListOperations.
getOperationAsync
in interface AWSServiceDiscoveryAsync
public Future<GetOperationResult> getOperationAsync(GetOperationRequest request, AsyncHandler<GetOperationRequest,GetOperationResult> asyncHandler)
AWSServiceDiscoveryAsync
Gets information about any operation that returns an operation ID in the response, such as a
CreateService
request. To get a list of operations that match specified criteria, see
ListOperations.
getOperationAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetServiceResult> getServiceAsync(GetServiceRequest request)
AWSServiceDiscoveryAsync
Gets the settings for a specified service.
getServiceAsync
in interface AWSServiceDiscoveryAsync
public Future<GetServiceResult> getServiceAsync(GetServiceRequest request, AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
AWSServiceDiscoveryAsync
Gets the settings for a specified service.
getServiceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListInstancesResult> listInstancesAsync(ListInstancesRequest request)
AWSServiceDiscoveryAsync
Gets summary information about the instances that you created by using a specified service.
listInstancesAsync
in interface AWSServiceDiscoveryAsync
public Future<ListInstancesResult> listInstancesAsync(ListInstancesRequest request, AsyncHandler<ListInstancesRequest,ListInstancesResult> asyncHandler)
AWSServiceDiscoveryAsync
Gets summary information about the instances that you created by using a specified service.
listInstancesAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListNamespacesResult> listNamespacesAsync(ListNamespacesRequest request)
AWSServiceDiscoveryAsync
Gets information about the namespaces that were created by the current AWS account.
listNamespacesAsync
in interface AWSServiceDiscoveryAsync
public Future<ListNamespacesResult> listNamespacesAsync(ListNamespacesRequest request, AsyncHandler<ListNamespacesRequest,ListNamespacesResult> asyncHandler)
AWSServiceDiscoveryAsync
Gets information about the namespaces that were created by the current AWS account.
listNamespacesAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListOperationsResult> listOperationsAsync(ListOperationsRequest request)
AWSServiceDiscoveryAsync
Lists operations that match the criteria that you specify.
listOperationsAsync
in interface AWSServiceDiscoveryAsync
public Future<ListOperationsResult> listOperationsAsync(ListOperationsRequest request, AsyncHandler<ListOperationsRequest,ListOperationsResult> asyncHandler)
AWSServiceDiscoveryAsync
Lists operations that match the criteria that you specify.
listOperationsAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListServicesResult> listServicesAsync(ListServicesRequest request)
AWSServiceDiscoveryAsync
Gets settings for all the services that are associated with one or more specified namespaces.
listServicesAsync
in interface AWSServiceDiscoveryAsync
public Future<ListServicesResult> listServicesAsync(ListServicesRequest request, AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
AWSServiceDiscoveryAsync
Gets settings for all the services that are associated with one or more specified namespaces.
listServicesAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RegisterInstanceResult> registerInstanceAsync(RegisterInstanceRequest request)
AWSServiceDiscoveryAsync
Creates one or more resource record sets and optionally a health check based on the settings in a specified
service. When you submit a RegisterInstance
request, Amazon Route 53 does the following:
Creates a resource record set for each resource record set template in the service
Creates a health check based on the settings in the health check template in the service, if any
Associates the health check, if any, with each of the resource record sets
One RegisterInstance
request must complete before you can submit another request and specify the
same service and instance ID.
For more information, see CreateService.
When Amazon Route 53 receives a DNS query for the specified DNS name, it returns the applicable value:
If the health check is healthy: returns all the resource record sets
If the health check is unhealthy: returns the IP address of the last healthy instance
If you didn't specify a health check template: returns all the resource record sets
registerInstanceAsync
in interface AWSServiceDiscoveryAsync
public Future<RegisterInstanceResult> registerInstanceAsync(RegisterInstanceRequest request, AsyncHandler<RegisterInstanceRequest,RegisterInstanceResult> asyncHandler)
AWSServiceDiscoveryAsync
Creates one or more resource record sets and optionally a health check based on the settings in a specified
service. When you submit a RegisterInstance
request, Amazon Route 53 does the following:
Creates a resource record set for each resource record set template in the service
Creates a health check based on the settings in the health check template in the service, if any
Associates the health check, if any, with each of the resource record sets
One RegisterInstance
request must complete before you can submit another request and specify the
same service and instance ID.
For more information, see CreateService.
When Amazon Route 53 receives a DNS query for the specified DNS name, it returns the applicable value:
If the health check is healthy: returns all the resource record sets
If the health check is unhealthy: returns the IP address of the last healthy instance
If you didn't specify a health check template: returns all the resource record sets
registerInstanceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest request)
AWSServiceDiscoveryAsync
Updates the TTL setting for a specified service. You must specify all the resource record set templates (and,
optionally, a health check template) that you want to appear in the updated service. Any current resource record
set templates (or health check template) that don't appear in an UpdateService
request are deleted.
When you update the TTL setting for a service, Amazon Route 53 also updates the corresponding settings in all the resource record sets and health checks that were created by using the specified service.
updateServiceAsync
in interface AWSServiceDiscoveryAsync
public Future<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest request, AsyncHandler<UpdateServiceRequest,UpdateServiceResult> asyncHandler)
AWSServiceDiscoveryAsync
Updates the TTL setting for a specified service. You must specify all the resource record set templates (and,
optionally, a health check template) that you want to appear in the updated service. Any current resource record
set templates (or health check template) that don't appear in an UpdateService
request are deleted.
When you update the TTL setting for a service, Amazon Route 53 also updates the corresponding settings in all the resource record sets and health checks that were created by using the specified service.
updateServiceAsync
in interface AWSServiceDiscoveryAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSServiceDiscovery
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.