@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSServiceDiscovery extends Object implements AWSServiceDiscovery
AWSServiceDiscovery
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreatePrivateDnsNamespaceResult |
createPrivateDnsNamespace(CreatePrivateDnsNamespaceRequest request)
Creates a private namespace based on DNS, which will be visible only inside a specified Amazon VPC.
|
CreatePublicDnsNamespaceResult |
createPublicDnsNamespace(CreatePublicDnsNamespaceRequest request)
Creates a public namespace based on DNS, which will be visible on the internet.
|
CreateServiceResult |
createService(CreateServiceRequest request)
Creates a service, which defines a template for the following entities:
|
DeleteNamespaceResult |
deleteNamespace(DeleteNamespaceRequest request)
Deletes a namespace from the current account.
|
DeleteServiceResult |
deleteService(DeleteServiceRequest request)
Deletes a specified service.
|
DeregisterInstanceResult |
deregisterInstance(DeregisterInstanceRequest request)
Deletes the resource record sets and the health check, if any, that Amazon Route 53 created for the specified
instance.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetInstanceResult |
getInstance(GetInstanceRequest request)
Gets information about a specified instance.
|
GetInstancesHealthStatusResult |
getInstancesHealthStatus(GetInstancesHealthStatusRequest request)
Gets the current health status (
Healthy , Unhealthy , or Unknown ) of one or
more instances that are associated with a specified service. |
GetNamespaceResult |
getNamespace(GetNamespaceRequest request)
Gets information about a namespace.
|
GetOperationResult |
getOperation(GetOperationRequest request)
Gets information about any operation that returns an operation ID in the response, such as a
CreateService request. |
GetServiceResult |
getService(GetServiceRequest request)
Gets the settings for a specified service.
|
ListInstancesResult |
listInstances(ListInstancesRequest request)
Gets summary information about the instances that you created by using a specified service.
|
ListNamespacesResult |
listNamespaces(ListNamespacesRequest request)
Gets information about the namespaces that were created by the current AWS account.
|
ListOperationsResult |
listOperations(ListOperationsRequest request)
Lists operations that match the criteria that you specify.
|
ListServicesResult |
listServices(ListServicesRequest request)
Gets settings for all the services that are associated with one or more specified namespaces.
|
RegisterInstanceResult |
registerInstance(RegisterInstanceRequest request)
Creates one or more resource record sets and optionally a health check based on the settings in a specified
service.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateServiceResult |
updateService(UpdateServiceRequest request)
Updates the TTL setting for a specified service.
|
public CreatePrivateDnsNamespaceResult createPrivateDnsNamespace(CreatePrivateDnsNamespaceRequest request)
AWSServiceDiscovery
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.
createPrivateDnsNamespace
in interface AWSServiceDiscovery
public CreatePublicDnsNamespaceResult createPublicDnsNamespace(CreatePublicDnsNamespaceRequest request)
AWSServiceDiscovery
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.
createPublicDnsNamespace
in interface AWSServiceDiscovery
public CreateServiceResult createService(CreateServiceRequest request)
AWSServiceDiscovery
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.
createService
in interface AWSServiceDiscovery
public DeleteNamespaceResult deleteNamespace(DeleteNamespaceRequest request)
AWSServiceDiscovery
Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.
deleteNamespace
in interface AWSServiceDiscovery
public DeleteServiceResult deleteService(DeleteServiceRequest request)
AWSServiceDiscovery
Deletes a specified service. If the service still contains one or more registered instances, the request fails.
deleteService
in interface AWSServiceDiscovery
public DeregisterInstanceResult deregisterInstance(DeregisterInstanceRequest request)
AWSServiceDiscovery
Deletes the resource record sets and the health check, if any, that Amazon Route 53 created for the specified instance.
deregisterInstance
in interface AWSServiceDiscovery
public GetInstanceResult getInstance(GetInstanceRequest request)
AWSServiceDiscovery
Gets information about a specified instance.
getInstance
in interface AWSServiceDiscovery
public GetInstancesHealthStatusResult getInstancesHealthStatus(GetInstancesHealthStatusRequest request)
AWSServiceDiscovery
Gets the current health status (Healthy
, Unhealthy
, or Unknown
) of one or
more instances that are associated with a specified service.
getInstancesHealthStatus
in interface AWSServiceDiscovery
public GetNamespaceResult getNamespace(GetNamespaceRequest request)
AWSServiceDiscovery
Gets information about a namespace.
getNamespace
in interface AWSServiceDiscovery
public GetOperationResult getOperation(GetOperationRequest request)
AWSServiceDiscovery
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.
getOperation
in interface AWSServiceDiscovery
public GetServiceResult getService(GetServiceRequest request)
AWSServiceDiscovery
Gets the settings for a specified service.
getService
in interface AWSServiceDiscovery
public ListInstancesResult listInstances(ListInstancesRequest request)
AWSServiceDiscovery
Gets summary information about the instances that you created by using a specified service.
listInstances
in interface AWSServiceDiscovery
public ListNamespacesResult listNamespaces(ListNamespacesRequest request)
AWSServiceDiscovery
Gets information about the namespaces that were created by the current AWS account.
listNamespaces
in interface AWSServiceDiscovery
public ListOperationsResult listOperations(ListOperationsRequest request)
AWSServiceDiscovery
Lists operations that match the criteria that you specify.
listOperations
in interface AWSServiceDiscovery
public ListServicesResult listServices(ListServicesRequest request)
AWSServiceDiscovery
Gets settings for all the services that are associated with one or more specified namespaces.
listServices
in interface AWSServiceDiscovery
public RegisterInstanceResult registerInstance(RegisterInstanceRequest request)
AWSServiceDiscovery
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
registerInstance
in interface AWSServiceDiscovery
public UpdateServiceResult updateService(UpdateServiceRequest request)
AWSServiceDiscovery
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.
updateService
in interface AWSServiceDiscovery
public void shutdown()
AWSServiceDiscovery
shutdown
in interface AWSServiceDiscovery
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSServiceDiscovery
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AWSServiceDiscovery
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.