@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 | Constructor and Description |
|---|---|
protected |
AbstractAWSServiceDiscovery() |
| 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 the configuration 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 records 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)
Lists summary information about the instances that you registered by using a specified service.
|
ListNamespacesResult |
listNamespaces(ListNamespacesRequest request)
Lists summary 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)
Lists summary information for all the services that are associated with one or more specified namespaces.
|
RegisterInstanceResult |
registerInstance(RegisterInstanceRequest request)
Creates or updates one or more records 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.
|
UpdateInstanceCustomHealthStatusResult |
updateInstanceCustomHealthStatus(UpdateInstanceCustomHealthStatusRequest request) |
UpdateServiceResult |
updateService(UpdateServiceRequest request)
Submits a request to perform the following operations:
|
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. For the current limit on the number of namespaces that you can create using the
same AWS account, see Limits on Auto Naming in the Route 53 Developer Guide.
createPrivateDnsNamespace in interface AWSServiceDiscoverypublic 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. For the
current limit on the number of namespaces that you can create using the same AWS account, see Limits on Auto Naming in the Route 53 Developer Guide.
createPublicDnsNamespace in interface AWSServiceDiscoverypublic CreateServiceResult createService(CreateServiceRequest request)
AWSServiceDiscoveryCreates a service, which defines the configuration for the following entities:
Up to three records (A, AAAA, and SRV) or one CNAME record
Optionally, a health check
After you create the service, you can submit a RegisterInstance request, and Amazon Route 53 uses the values in the configuration to create the specified entities.
For the current limit on the number of instances that you can register using the same namespace and using the same service, see Limits on Auto Naming in the Route 53 Developer Guide.
createService in interface AWSServiceDiscoverypublic DeleteNamespaceResult deleteNamespace(DeleteNamespaceRequest request)
AWSServiceDiscoveryDeletes a namespace from the current account. If the namespace still contains one or more services, the request fails.
deleteNamespace in interface AWSServiceDiscoverypublic DeleteServiceResult deleteService(DeleteServiceRequest request)
AWSServiceDiscoveryDeletes a specified service. If the service still contains one or more registered instances, the request fails.
deleteService in interface AWSServiceDiscoverypublic DeregisterInstanceResult deregisterInstance(DeregisterInstanceRequest request)
AWSServiceDiscoveryDeletes the records and the health check, if any, that Amazon Route 53 created for the specified instance.
deregisterInstance in interface AWSServiceDiscoverypublic GetInstanceResult getInstance(GetInstanceRequest request)
AWSServiceDiscoveryGets information about a specified instance.
getInstance in interface AWSServiceDiscoverypublic 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.
There is a brief delay between when you register an instance and when the health status for the instance is available.
getInstancesHealthStatus in interface AWSServiceDiscoverypublic GetNamespaceResult getNamespace(GetNamespaceRequest request)
AWSServiceDiscoveryGets information about a namespace.
getNamespace in interface AWSServiceDiscoverypublic 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 AWSServiceDiscoverypublic GetServiceResult getService(GetServiceRequest request)
AWSServiceDiscoveryGets the settings for a specified service.
getService in interface AWSServiceDiscoverypublic ListInstancesResult listInstances(ListInstancesRequest request)
AWSServiceDiscoveryLists summary information about the instances that you registered by using a specified service.
listInstances in interface AWSServiceDiscoverypublic ListNamespacesResult listNamespaces(ListNamespacesRequest request)
AWSServiceDiscoveryLists summary information about the namespaces that were created by the current AWS account.
listNamespaces in interface AWSServiceDiscoverypublic ListOperationsResult listOperations(ListOperationsRequest request)
AWSServiceDiscoveryLists operations that match the criteria that you specify.
listOperations in interface AWSServiceDiscoverypublic ListServicesResult listServices(ListServicesRequest request)
AWSServiceDiscoveryLists summary information for all the services that are associated with one or more specified namespaces.
listServices in interface AWSServiceDiscoverypublic RegisterInstanceResult registerInstance(RegisterInstanceRequest request)
AWSServiceDiscovery
Creates or updates one or more records 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:
For each DNS record that you define in the service specified by ServiceId, creates or updates a
record in the hosted zone that is associated with the corresponding namespace
If the service includes HealthCheckConfig, creates or updates a health check based on the settings
in the health check configuration
Associates the health check, if any, with each of the records
One RegisterInstance request must complete before you can submit another request and specify the
same service ID and instance ID.
For more information, see CreateService.
When 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 records
If the health check is unhealthy: returns the applicable value for the last healthy instance
If you didn't specify a health check configuration: returns all the records
For the current limit on the number of instances that you can register using the same namespace and using the same service, see Limits on Auto Naming in the Route 53 Developer Guide.
registerInstance in interface AWSServiceDiscoverypublic UpdateInstanceCustomHealthStatusResult updateInstanceCustomHealthStatus(UpdateInstanceCustomHealthStatusRequest request)
updateInstanceCustomHealthStatus in interface AWSServiceDiscoverypublic UpdateServiceResult updateService(UpdateServiceRequest request)
AWSServiceDiscoverySubmits a request to perform the following operations:
Add or delete DnsRecords configurations
Update the TTL setting for existing DnsRecords configurations
Add, update, or delete HealthCheckConfig for a specified service
You must specify all DnsRecords configurations (and, optionally, HealthCheckConfig)
that you want to appear in the updated service. Any current configurations 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 records and health checks that were created by using the specified service.
updateService in interface AWSServiceDiscoverypublic void shutdown()
AWSServiceDiscoveryshutdown in interface AWSServiceDiscoverypublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSServiceDiscoveryResponse 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 AWSServiceDiscoveryrequest - The originally executed request.Copyright © 2018. All rights reserved.