1123 lines
77 KiB
C++
1123 lines
77 KiB
C++
/**
|
||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||
* SPDX-License-Identifier: Apache-2.0.
|
||
*/
|
||
|
||
#pragma once
|
||
#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
|
||
#include <aws/servicediscovery/ServiceDiscoveryErrors.h>
|
||
#include <aws/core/client/AWSError.h>
|
||
#include <aws/core/client/ClientConfiguration.h>
|
||
#include <aws/core/client/AWSClient.h>
|
||
#include <aws/core/utils/memory/stl/AWSString.h>
|
||
#include <aws/core/utils/json/JsonSerializer.h>
|
||
#include <aws/servicediscovery/model/CreateHttpNamespaceResult.h>
|
||
#include <aws/servicediscovery/model/CreatePrivateDnsNamespaceResult.h>
|
||
#include <aws/servicediscovery/model/CreatePublicDnsNamespaceResult.h>
|
||
#include <aws/servicediscovery/model/CreateServiceResult.h>
|
||
#include <aws/servicediscovery/model/DeleteNamespaceResult.h>
|
||
#include <aws/servicediscovery/model/DeleteServiceResult.h>
|
||
#include <aws/servicediscovery/model/DeregisterInstanceResult.h>
|
||
#include <aws/servicediscovery/model/DiscoverInstancesResult.h>
|
||
#include <aws/servicediscovery/model/GetInstanceResult.h>
|
||
#include <aws/servicediscovery/model/GetInstancesHealthStatusResult.h>
|
||
#include <aws/servicediscovery/model/GetNamespaceResult.h>
|
||
#include <aws/servicediscovery/model/GetOperationResult.h>
|
||
#include <aws/servicediscovery/model/GetServiceResult.h>
|
||
#include <aws/servicediscovery/model/ListInstancesResult.h>
|
||
#include <aws/servicediscovery/model/ListNamespacesResult.h>
|
||
#include <aws/servicediscovery/model/ListOperationsResult.h>
|
||
#include <aws/servicediscovery/model/ListServicesResult.h>
|
||
#include <aws/servicediscovery/model/ListTagsForResourceResult.h>
|
||
#include <aws/servicediscovery/model/RegisterInstanceResult.h>
|
||
#include <aws/servicediscovery/model/TagResourceResult.h>
|
||
#include <aws/servicediscovery/model/UntagResourceResult.h>
|
||
#include <aws/servicediscovery/model/UpdateServiceResult.h>
|
||
#include <aws/core/NoResult.h>
|
||
#include <aws/core/client/AsyncCallerContext.h>
|
||
#include <aws/core/http/HttpTypes.h>
|
||
#include <future>
|
||
#include <functional>
|
||
|
||
namespace Aws
|
||
{
|
||
|
||
namespace Http
|
||
{
|
||
class HttpClient;
|
||
class HttpClientFactory;
|
||
} // namespace Http
|
||
|
||
namespace Utils
|
||
{
|
||
template< typename R, typename E> class Outcome;
|
||
namespace Threading
|
||
{
|
||
class Executor;
|
||
} // namespace Threading
|
||
} // namespace Utils
|
||
|
||
namespace Auth
|
||
{
|
||
class AWSCredentials;
|
||
class AWSCredentialsProvider;
|
||
} // namespace Auth
|
||
|
||
namespace Client
|
||
{
|
||
class RetryStrategy;
|
||
} // namespace Client
|
||
|
||
namespace ServiceDiscovery
|
||
{
|
||
|
||
namespace Model
|
||
{
|
||
class CreateHttpNamespaceRequest;
|
||
class CreatePrivateDnsNamespaceRequest;
|
||
class CreatePublicDnsNamespaceRequest;
|
||
class CreateServiceRequest;
|
||
class DeleteNamespaceRequest;
|
||
class DeleteServiceRequest;
|
||
class DeregisterInstanceRequest;
|
||
class DiscoverInstancesRequest;
|
||
class GetInstanceRequest;
|
||
class GetInstancesHealthStatusRequest;
|
||
class GetNamespaceRequest;
|
||
class GetOperationRequest;
|
||
class GetServiceRequest;
|
||
class ListInstancesRequest;
|
||
class ListNamespacesRequest;
|
||
class ListOperationsRequest;
|
||
class ListServicesRequest;
|
||
class ListTagsForResourceRequest;
|
||
class RegisterInstanceRequest;
|
||
class TagResourceRequest;
|
||
class UntagResourceRequest;
|
||
class UpdateInstanceCustomHealthStatusRequest;
|
||
class UpdateServiceRequest;
|
||
|
||
typedef Aws::Utils::Outcome<CreateHttpNamespaceResult, ServiceDiscoveryError> CreateHttpNamespaceOutcome;
|
||
typedef Aws::Utils::Outcome<CreatePrivateDnsNamespaceResult, ServiceDiscoveryError> CreatePrivateDnsNamespaceOutcome;
|
||
typedef Aws::Utils::Outcome<CreatePublicDnsNamespaceResult, ServiceDiscoveryError> CreatePublicDnsNamespaceOutcome;
|
||
typedef Aws::Utils::Outcome<CreateServiceResult, ServiceDiscoveryError> CreateServiceOutcome;
|
||
typedef Aws::Utils::Outcome<DeleteNamespaceResult, ServiceDiscoveryError> DeleteNamespaceOutcome;
|
||
typedef Aws::Utils::Outcome<DeleteServiceResult, ServiceDiscoveryError> DeleteServiceOutcome;
|
||
typedef Aws::Utils::Outcome<DeregisterInstanceResult, ServiceDiscoveryError> DeregisterInstanceOutcome;
|
||
typedef Aws::Utils::Outcome<DiscoverInstancesResult, ServiceDiscoveryError> DiscoverInstancesOutcome;
|
||
typedef Aws::Utils::Outcome<GetInstanceResult, ServiceDiscoveryError> GetInstanceOutcome;
|
||
typedef Aws::Utils::Outcome<GetInstancesHealthStatusResult, ServiceDiscoveryError> GetInstancesHealthStatusOutcome;
|
||
typedef Aws::Utils::Outcome<GetNamespaceResult, ServiceDiscoveryError> GetNamespaceOutcome;
|
||
typedef Aws::Utils::Outcome<GetOperationResult, ServiceDiscoveryError> GetOperationOutcome;
|
||
typedef Aws::Utils::Outcome<GetServiceResult, ServiceDiscoveryError> GetServiceOutcome;
|
||
typedef Aws::Utils::Outcome<ListInstancesResult, ServiceDiscoveryError> ListInstancesOutcome;
|
||
typedef Aws::Utils::Outcome<ListNamespacesResult, ServiceDiscoveryError> ListNamespacesOutcome;
|
||
typedef Aws::Utils::Outcome<ListOperationsResult, ServiceDiscoveryError> ListOperationsOutcome;
|
||
typedef Aws::Utils::Outcome<ListServicesResult, ServiceDiscoveryError> ListServicesOutcome;
|
||
typedef Aws::Utils::Outcome<ListTagsForResourceResult, ServiceDiscoveryError> ListTagsForResourceOutcome;
|
||
typedef Aws::Utils::Outcome<RegisterInstanceResult, ServiceDiscoveryError> RegisterInstanceOutcome;
|
||
typedef Aws::Utils::Outcome<TagResourceResult, ServiceDiscoveryError> TagResourceOutcome;
|
||
typedef Aws::Utils::Outcome<UntagResourceResult, ServiceDiscoveryError> UntagResourceOutcome;
|
||
typedef Aws::Utils::Outcome<Aws::NoResult, ServiceDiscoveryError> UpdateInstanceCustomHealthStatusOutcome;
|
||
typedef Aws::Utils::Outcome<UpdateServiceResult, ServiceDiscoveryError> UpdateServiceOutcome;
|
||
|
||
typedef std::future<CreateHttpNamespaceOutcome> CreateHttpNamespaceOutcomeCallable;
|
||
typedef std::future<CreatePrivateDnsNamespaceOutcome> CreatePrivateDnsNamespaceOutcomeCallable;
|
||
typedef std::future<CreatePublicDnsNamespaceOutcome> CreatePublicDnsNamespaceOutcomeCallable;
|
||
typedef std::future<CreateServiceOutcome> CreateServiceOutcomeCallable;
|
||
typedef std::future<DeleteNamespaceOutcome> DeleteNamespaceOutcomeCallable;
|
||
typedef std::future<DeleteServiceOutcome> DeleteServiceOutcomeCallable;
|
||
typedef std::future<DeregisterInstanceOutcome> DeregisterInstanceOutcomeCallable;
|
||
typedef std::future<DiscoverInstancesOutcome> DiscoverInstancesOutcomeCallable;
|
||
typedef std::future<GetInstanceOutcome> GetInstanceOutcomeCallable;
|
||
typedef std::future<GetInstancesHealthStatusOutcome> GetInstancesHealthStatusOutcomeCallable;
|
||
typedef std::future<GetNamespaceOutcome> GetNamespaceOutcomeCallable;
|
||
typedef std::future<GetOperationOutcome> GetOperationOutcomeCallable;
|
||
typedef std::future<GetServiceOutcome> GetServiceOutcomeCallable;
|
||
typedef std::future<ListInstancesOutcome> ListInstancesOutcomeCallable;
|
||
typedef std::future<ListNamespacesOutcome> ListNamespacesOutcomeCallable;
|
||
typedef std::future<ListOperationsOutcome> ListOperationsOutcomeCallable;
|
||
typedef std::future<ListServicesOutcome> ListServicesOutcomeCallable;
|
||
typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable;
|
||
typedef std::future<RegisterInstanceOutcome> RegisterInstanceOutcomeCallable;
|
||
typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
|
||
typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
|
||
typedef std::future<UpdateInstanceCustomHealthStatusOutcome> UpdateInstanceCustomHealthStatusOutcomeCallable;
|
||
typedef std::future<UpdateServiceOutcome> UpdateServiceOutcomeCallable;
|
||
} // namespace Model
|
||
|
||
class ServiceDiscoveryClient;
|
||
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::CreateHttpNamespaceRequest&, const Model::CreateHttpNamespaceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateHttpNamespaceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::CreatePrivateDnsNamespaceRequest&, const Model::CreatePrivateDnsNamespaceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreatePrivateDnsNamespaceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::CreatePublicDnsNamespaceRequest&, const Model::CreatePublicDnsNamespaceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreatePublicDnsNamespaceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::CreateServiceRequest&, const Model::CreateServiceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateServiceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::DeleteNamespaceRequest&, const Model::DeleteNamespaceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteNamespaceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::DeleteServiceRequest&, const Model::DeleteServiceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteServiceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::DeregisterInstanceRequest&, const Model::DeregisterInstanceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeregisterInstanceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::DiscoverInstancesRequest&, const Model::DiscoverInstancesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DiscoverInstancesResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::GetInstanceRequest&, const Model::GetInstanceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetInstanceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::GetInstancesHealthStatusRequest&, const Model::GetInstancesHealthStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetInstancesHealthStatusResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::GetNamespaceRequest&, const Model::GetNamespaceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetNamespaceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::GetOperationRequest&, const Model::GetOperationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetOperationResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::GetServiceRequest&, const Model::GetServiceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetServiceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::ListInstancesRequest&, const Model::ListInstancesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListInstancesResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::ListNamespacesRequest&, const Model::ListNamespacesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListNamespacesResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::ListOperationsRequest&, const Model::ListOperationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListOperationsResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::ListServicesRequest&, const Model::ListServicesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListServicesResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsForResourceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::RegisterInstanceRequest&, const Model::RegisterInstanceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RegisterInstanceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UntagResourceResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::UpdateInstanceCustomHealthStatusRequest&, const Model::UpdateInstanceCustomHealthStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateInstanceCustomHealthStatusResponseReceivedHandler;
|
||
typedef std::function<void(const ServiceDiscoveryClient*, const Model::UpdateServiceRequest&, const Model::UpdateServiceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateServiceResponseReceivedHandler;
|
||
|
||
/**
|
||
* <p>AWS Cloud Map lets you configure public DNS, private DNS, or HTTP namespaces
|
||
* that your microservice applications run in. When an instance of the service
|
||
* becomes available, you can call the AWS Cloud Map API to register the instance
|
||
* with AWS Cloud Map. For public or private DNS namespaces, AWS Cloud Map
|
||
* automatically creates DNS records and an optional health check. Clients that
|
||
* submit public or private DNS queries, or HTTP requests, for the service receive
|
||
* an answer that contains up to eight healthy records. </p>
|
||
*/
|
||
class AWS_SERVICEDISCOVERY_API ServiceDiscoveryClient : public Aws::Client::AWSJsonClient
|
||
{
|
||
public:
|
||
typedef Aws::Client::AWSJsonClient BASECLASS;
|
||
|
||
/**
|
||
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
|
||
* is not specified, it will be initialized to default values.
|
||
*/
|
||
ServiceDiscoveryClient(const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
|
||
|
||
/**
|
||
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
|
||
* is not specified, it will be initialized to default values.
|
||
*/
|
||
ServiceDiscoveryClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
|
||
|
||
/**
|
||
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
|
||
* the default http client factory will be used
|
||
*/
|
||
ServiceDiscoveryClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
|
||
const Aws::Client::ClientConfiguration& clientConfiguration = Aws::Client::ClientConfiguration());
|
||
|
||
virtual ~ServiceDiscoveryClient();
|
||
|
||
|
||
/**
|
||
* <p>Creates an HTTP namespace. Service instances that you register using an HTTP
|
||
* namespace can be discovered using a <code>DiscoverInstances</code> request but
|
||
* can't be discovered using DNS. </p> <p>For the current quota on the number of
|
||
* namespaces that you can create using the same AWS account, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map quotas</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateHttpNamespace">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::CreateHttpNamespaceOutcome CreateHttpNamespace(const Model::CreateHttpNamespaceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Creates an HTTP namespace. Service instances that you register using an HTTP
|
||
* namespace can be discovered using a <code>DiscoverInstances</code> request but
|
||
* can't be discovered using DNS. </p> <p>For the current quota on the number of
|
||
* namespaces that you can create using the same AWS account, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map quotas</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateHttpNamespace">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::CreateHttpNamespaceOutcomeCallable CreateHttpNamespaceCallable(const Model::CreateHttpNamespaceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Creates an HTTP namespace. Service instances that you register using an HTTP
|
||
* namespace can be discovered using a <code>DiscoverInstances</code> request but
|
||
* can't be discovered using DNS. </p> <p>For the current quota on the number of
|
||
* namespaces that you can create using the same AWS account, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map quotas</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateHttpNamespace">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void CreateHttpNamespaceAsync(const Model::CreateHttpNamespaceRequest& request, const CreateHttpNamespaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>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 <code>example.com</code> and name your
|
||
* service <code>backend</code>, the resulting DNS name for the service will be
|
||
* <code>backend.example.com</code>. For the current quota on the number of
|
||
* namespaces that you can create using the same AWS account, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespace">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::CreatePrivateDnsNamespaceOutcome CreatePrivateDnsNamespace(const Model::CreatePrivateDnsNamespaceRequest& request) const;
|
||
|
||
/**
|
||
* <p>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 <code>example.com</code> and name your
|
||
* service <code>backend</code>, the resulting DNS name for the service will be
|
||
* <code>backend.example.com</code>. For the current quota on the number of
|
||
* namespaces that you can create using the same AWS account, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespace">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::CreatePrivateDnsNamespaceOutcomeCallable CreatePrivateDnsNamespaceCallable(const Model::CreatePrivateDnsNamespaceRequest& request) const;
|
||
|
||
/**
|
||
* <p>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 <code>example.com</code> and name your
|
||
* service <code>backend</code>, the resulting DNS name for the service will be
|
||
* <code>backend.example.com</code>. For the current quota on the number of
|
||
* namespaces that you can create using the same AWS account, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespace">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void CreatePrivateDnsNamespaceAsync(const Model::CreatePrivateDnsNamespaceRequest& request, const CreatePrivateDnsNamespaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>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 <code>example.com</code> and name your service
|
||
* <code>backend</code>, the resulting DNS name for the service will be
|
||
* <code>backend.example.com</code>. For the current quota on the number of
|
||
* namespaces that you can create using the same AWS account, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespace">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::CreatePublicDnsNamespaceOutcome CreatePublicDnsNamespace(const Model::CreatePublicDnsNamespaceRequest& request) const;
|
||
|
||
/**
|
||
* <p>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 <code>example.com</code> and name your service
|
||
* <code>backend</code>, the resulting DNS name for the service will be
|
||
* <code>backend.example.com</code>. For the current quota on the number of
|
||
* namespaces that you can create using the same AWS account, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespace">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::CreatePublicDnsNamespaceOutcomeCallable CreatePublicDnsNamespaceCallable(const Model::CreatePublicDnsNamespaceRequest& request) const;
|
||
|
||
/**
|
||
* <p>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 <code>example.com</code> and name your service
|
||
* <code>backend</code>, the resulting DNS name for the service will be
|
||
* <code>backend.example.com</code>. For the current quota on the number of
|
||
* namespaces that you can create using the same AWS account, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespace">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void CreatePublicDnsNamespaceAsync(const Model::CreatePublicDnsNamespaceRequest& request, const CreatePublicDnsNamespaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Creates a service, which defines the configuration for the following
|
||
* entities:</p> <ul> <li> <p>For public and private DNS namespaces, one of the
|
||
* following combinations of DNS records in Amazon Route 53:</p> <ul> <li> <p>
|
||
* <code>A</code> </p> </li> <li> <p> <code>AAAA</code> </p> </li> <li> <p>
|
||
* <code>A</code> and <code>AAAA</code> </p> </li> <li> <p> <code>SRV</code> </p>
|
||
* </li> <li> <p> <code>CNAME</code> </p> </li> </ul> </li> <li> <p>Optionally, a
|
||
* health check</p> </li> </ul> <p>After you create the service, you can submit a
|
||
* <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a>
|
||
* request, and AWS Cloud Map uses the values in the configuration to create the
|
||
* specified entities.</p> <p>For the current quota on the number of instances that
|
||
* you can register using the same namespace and using the same service, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateService">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::CreateServiceOutcome CreateService(const Model::CreateServiceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Creates a service, which defines the configuration for the following
|
||
* entities:</p> <ul> <li> <p>For public and private DNS namespaces, one of the
|
||
* following combinations of DNS records in Amazon Route 53:</p> <ul> <li> <p>
|
||
* <code>A</code> </p> </li> <li> <p> <code>AAAA</code> </p> </li> <li> <p>
|
||
* <code>A</code> and <code>AAAA</code> </p> </li> <li> <p> <code>SRV</code> </p>
|
||
* </li> <li> <p> <code>CNAME</code> </p> </li> </ul> </li> <li> <p>Optionally, a
|
||
* health check</p> </li> </ul> <p>After you create the service, you can submit a
|
||
* <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a>
|
||
* request, and AWS Cloud Map uses the values in the configuration to create the
|
||
* specified entities.</p> <p>For the current quota on the number of instances that
|
||
* you can register using the same namespace and using the same service, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateService">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::CreateServiceOutcomeCallable CreateServiceCallable(const Model::CreateServiceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Creates a service, which defines the configuration for the following
|
||
* entities:</p> <ul> <li> <p>For public and private DNS namespaces, one of the
|
||
* following combinations of DNS records in Amazon Route 53:</p> <ul> <li> <p>
|
||
* <code>A</code> </p> </li> <li> <p> <code>AAAA</code> </p> </li> <li> <p>
|
||
* <code>A</code> and <code>AAAA</code> </p> </li> <li> <p> <code>SRV</code> </p>
|
||
* </li> <li> <p> <code>CNAME</code> </p> </li> </ul> </li> <li> <p>Optionally, a
|
||
* health check</p> </li> </ul> <p>After you create the service, you can submit a
|
||
* <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a>
|
||
* request, and AWS Cloud Map uses the values in the configuration to create the
|
||
* specified entities.</p> <p>For the current quota on the number of instances that
|
||
* you can register using the same namespace and using the same service, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateService">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void CreateServiceAsync(const Model::CreateServiceRequest& request, const CreateServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Deletes a namespace from the current account. If the namespace still contains
|
||
* one or more services, the request fails.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespace">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::DeleteNamespaceOutcome DeleteNamespace(const Model::DeleteNamespaceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Deletes a namespace from the current account. If the namespace still contains
|
||
* one or more services, the request fails.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespace">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::DeleteNamespaceOutcomeCallable DeleteNamespaceCallable(const Model::DeleteNamespaceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Deletes a namespace from the current account. If the namespace still contains
|
||
* one or more services, the request fails.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespace">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void DeleteNamespaceAsync(const Model::DeleteNamespaceRequest& request, const DeleteNamespaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Deletes a specified service. If the service still contains one or more
|
||
* registered instances, the request fails.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteService">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::DeleteServiceOutcome DeleteService(const Model::DeleteServiceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Deletes a specified service. If the service still contains one or more
|
||
* registered instances, the request fails.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteService">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::DeleteServiceOutcomeCallable DeleteServiceCallable(const Model::DeleteServiceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Deletes a specified service. If the service still contains one or more
|
||
* registered instances, the request fails.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteService">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void DeleteServiceAsync(const Model::DeleteServiceRequest& request, const DeleteServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Deletes the Amazon Route 53 DNS records and health check, if any, that AWS
|
||
* Cloud Map created for the specified instance.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstance">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::DeregisterInstanceOutcome DeregisterInstance(const Model::DeregisterInstanceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Deletes the Amazon Route 53 DNS records and health check, if any, that AWS
|
||
* Cloud Map created for the specified instance.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstance">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::DeregisterInstanceOutcomeCallable DeregisterInstanceCallable(const Model::DeregisterInstanceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Deletes the Amazon Route 53 DNS records and health check, if any, that AWS
|
||
* Cloud Map created for the specified instance.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstance">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void DeregisterInstanceAsync(const Model::DeregisterInstanceRequest& request, const DeregisterInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Discovers registered instances for a specified namespace and service. You can
|
||
* use <code>DiscoverInstances</code> to discover instances for any type of
|
||
* namespace. For public and private DNS namespaces, you can also use DNS queries
|
||
* to discover instances.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstances">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::DiscoverInstancesOutcome DiscoverInstances(const Model::DiscoverInstancesRequest& request) const;
|
||
|
||
/**
|
||
* <p>Discovers registered instances for a specified namespace and service. You can
|
||
* use <code>DiscoverInstances</code> to discover instances for any type of
|
||
* namespace. For public and private DNS namespaces, you can also use DNS queries
|
||
* to discover instances.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstances">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::DiscoverInstancesOutcomeCallable DiscoverInstancesCallable(const Model::DiscoverInstancesRequest& request) const;
|
||
|
||
/**
|
||
* <p>Discovers registered instances for a specified namespace and service. You can
|
||
* use <code>DiscoverInstances</code> to discover instances for any type of
|
||
* namespace. For public and private DNS namespaces, you can also use DNS queries
|
||
* to discover instances.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstances">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void DiscoverInstancesAsync(const Model::DiscoverInstancesRequest& request, const DiscoverInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Gets information about a specified instance.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstance">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::GetInstanceOutcome GetInstance(const Model::GetInstanceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Gets information about a specified instance.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstance">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::GetInstanceOutcomeCallable GetInstanceCallable(const Model::GetInstanceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Gets information about a specified instance.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstance">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void GetInstanceAsync(const Model::GetInstanceRequest& request, const GetInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>,
|
||
* or <code>Unknown</code>) of one or more instances that are associated with a
|
||
* specified service.</p> <p>There is a brief delay between when you
|
||
* register an instance and when the health status for the instance is available.
|
||
* </p> <p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatus">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::GetInstancesHealthStatusOutcome GetInstancesHealthStatus(const Model::GetInstancesHealthStatusRequest& request) const;
|
||
|
||
/**
|
||
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>,
|
||
* or <code>Unknown</code>) of one or more instances that are associated with a
|
||
* specified service.</p> <p>There is a brief delay between when you
|
||
* register an instance and when the health status for the instance is available.
|
||
* </p> <p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatus">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::GetInstancesHealthStatusOutcomeCallable GetInstancesHealthStatusCallable(const Model::GetInstancesHealthStatusRequest& request) const;
|
||
|
||
/**
|
||
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>,
|
||
* or <code>Unknown</code>) of one or more instances that are associated with a
|
||
* specified service.</p> <p>There is a brief delay between when you
|
||
* register an instance and when the health status for the instance is available.
|
||
* </p> <p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatus">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void GetInstancesHealthStatusAsync(const Model::GetInstancesHealthStatusRequest& request, const GetInstancesHealthStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Gets information about a namespace.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespace">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::GetNamespaceOutcome GetNamespace(const Model::GetNamespaceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Gets information about a namespace.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespace">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::GetNamespaceOutcomeCallable GetNamespaceCallable(const Model::GetNamespaceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Gets information about a namespace.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespace">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void GetNamespaceAsync(const Model::GetNamespaceRequest& request, const GetNamespaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Gets information about any operation that returns an operation ID in the
|
||
* response, such as a <code>CreateService</code> request.</p> <p>To get a
|
||
* list of operations that match specified criteria, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_ListOperations.html">ListOperations</a>.</p>
|
||
* <p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperation">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::GetOperationOutcome GetOperation(const Model::GetOperationRequest& request) const;
|
||
|
||
/**
|
||
* <p>Gets information about any operation that returns an operation ID in the
|
||
* response, such as a <code>CreateService</code> request.</p> <p>To get a
|
||
* list of operations that match specified criteria, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_ListOperations.html">ListOperations</a>.</p>
|
||
* <p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperation">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::GetOperationOutcomeCallable GetOperationCallable(const Model::GetOperationRequest& request) const;
|
||
|
||
/**
|
||
* <p>Gets information about any operation that returns an operation ID in the
|
||
* response, such as a <code>CreateService</code> request.</p> <p>To get a
|
||
* list of operations that match specified criteria, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_ListOperations.html">ListOperations</a>.</p>
|
||
* <p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperation">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void GetOperationAsync(const Model::GetOperationRequest& request, const GetOperationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Gets the settings for a specified service.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetService">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::GetServiceOutcome GetService(const Model::GetServiceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Gets the settings for a specified service.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetService">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::GetServiceOutcomeCallable GetServiceCallable(const Model::GetServiceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Gets the settings for a specified service.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetService">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void GetServiceAsync(const Model::GetServiceRequest& request, const GetServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Lists summary information about the instances that you registered by using a
|
||
* specified service.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstances">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::ListInstancesOutcome ListInstances(const Model::ListInstancesRequest& request) const;
|
||
|
||
/**
|
||
* <p>Lists summary information about the instances that you registered by using a
|
||
* specified service.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstances">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::ListInstancesOutcomeCallable ListInstancesCallable(const Model::ListInstancesRequest& request) const;
|
||
|
||
/**
|
||
* <p>Lists summary information about the instances that you registered by using a
|
||
* specified service.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstances">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void ListInstancesAsync(const Model::ListInstancesRequest& request, const ListInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Lists summary information about the namespaces that were created by the
|
||
* current AWS account.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespaces">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::ListNamespacesOutcome ListNamespaces(const Model::ListNamespacesRequest& request) const;
|
||
|
||
/**
|
||
* <p>Lists summary information about the namespaces that were created by the
|
||
* current AWS account.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespaces">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::ListNamespacesOutcomeCallable ListNamespacesCallable(const Model::ListNamespacesRequest& request) const;
|
||
|
||
/**
|
||
* <p>Lists summary information about the namespaces that were created by the
|
||
* current AWS account.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespaces">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void ListNamespacesAsync(const Model::ListNamespacesRequest& request, const ListNamespacesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Lists operations that match the criteria that you specify.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperations">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::ListOperationsOutcome ListOperations(const Model::ListOperationsRequest& request) const;
|
||
|
||
/**
|
||
* <p>Lists operations that match the criteria that you specify.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperations">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::ListOperationsOutcomeCallable ListOperationsCallable(const Model::ListOperationsRequest& request) const;
|
||
|
||
/**
|
||
* <p>Lists operations that match the criteria that you specify.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperations">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void ListOperationsAsync(const Model::ListOperationsRequest& request, const ListOperationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Lists summary information for all the services that are associated with one
|
||
* or more specified namespaces.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServices">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::ListServicesOutcome ListServices(const Model::ListServicesRequest& request) const;
|
||
|
||
/**
|
||
* <p>Lists summary information for all the services that are associated with one
|
||
* or more specified namespaces.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServices">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::ListServicesOutcomeCallable ListServicesCallable(const Model::ListServicesRequest& request) const;
|
||
|
||
/**
|
||
* <p>Lists summary information for all the services that are associated with one
|
||
* or more specified namespaces.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServices">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void ListServicesAsync(const Model::ListServicesRequest& request, const ListServicesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Lists tags for the specified resource.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListTagsForResource">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Lists tags for the specified resource.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListTagsForResource">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const Model::ListTagsForResourceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Lists tags for the specified resource.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListTagsForResource">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void ListTagsForResourceAsync(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Creates or updates one or more records and, optionally, creates a health
|
||
* check based on the settings in a specified service. When you submit a
|
||
* <code>RegisterInstance</code> request, the following occurs:</p> <ul> <li>
|
||
* <p>For each DNS record that you define in the service that is specified by
|
||
* <code>ServiceId</code>, a record is created or updated in the hosted zone that
|
||
* is associated with the corresponding namespace.</p> </li> <li> <p>If the service
|
||
* includes <code>HealthCheckConfig</code>, a health check is created based on the
|
||
* settings in the health check configuration.</p> </li> <li> <p>The health check,
|
||
* if any, is associated with each of the new or updated records.</p> </li> </ul>
|
||
* <p>One <code>RegisterInstance</code> request must complete before
|
||
* you can submit another request and specify the same service ID and instance
|
||
* ID.</p> <p>For more information, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html">CreateService</a>.</p>
|
||
* <p>When AWS Cloud Map receives a DNS query for the specified DNS name, it
|
||
* returns the applicable value:</p> <ul> <li> <p> <b>If the health check is
|
||
* healthy</b>: returns all the records</p> </li> <li> <p> <b>If the health check
|
||
* is unhealthy</b>: returns the applicable value for the last healthy instance</p>
|
||
* </li> <li> <p> <b>If you didn't specify a health check configuration</b>:
|
||
* returns all the records</p> </li> </ul> <p>For the current quota on the number
|
||
* of instances that you can register using the same namespace and using the same
|
||
* service, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstance">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::RegisterInstanceOutcome RegisterInstance(const Model::RegisterInstanceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Creates or updates one or more records and, optionally, creates a health
|
||
* check based on the settings in a specified service. When you submit a
|
||
* <code>RegisterInstance</code> request, the following occurs:</p> <ul> <li>
|
||
* <p>For each DNS record that you define in the service that is specified by
|
||
* <code>ServiceId</code>, a record is created or updated in the hosted zone that
|
||
* is associated with the corresponding namespace.</p> </li> <li> <p>If the service
|
||
* includes <code>HealthCheckConfig</code>, a health check is created based on the
|
||
* settings in the health check configuration.</p> </li> <li> <p>The health check,
|
||
* if any, is associated with each of the new or updated records.</p> </li> </ul>
|
||
* <p>One <code>RegisterInstance</code> request must complete before
|
||
* you can submit another request and specify the same service ID and instance
|
||
* ID.</p> <p>For more information, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html">CreateService</a>.</p>
|
||
* <p>When AWS Cloud Map receives a DNS query for the specified DNS name, it
|
||
* returns the applicable value:</p> <ul> <li> <p> <b>If the health check is
|
||
* healthy</b>: returns all the records</p> </li> <li> <p> <b>If the health check
|
||
* is unhealthy</b>: returns the applicable value for the last healthy instance</p>
|
||
* </li> <li> <p> <b>If you didn't specify a health check configuration</b>:
|
||
* returns all the records</p> </li> </ul> <p>For the current quota on the number
|
||
* of instances that you can register using the same namespace and using the same
|
||
* service, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstance">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::RegisterInstanceOutcomeCallable RegisterInstanceCallable(const Model::RegisterInstanceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Creates or updates one or more records and, optionally, creates a health
|
||
* check based on the settings in a specified service. When you submit a
|
||
* <code>RegisterInstance</code> request, the following occurs:</p> <ul> <li>
|
||
* <p>For each DNS record that you define in the service that is specified by
|
||
* <code>ServiceId</code>, a record is created or updated in the hosted zone that
|
||
* is associated with the corresponding namespace.</p> </li> <li> <p>If the service
|
||
* includes <code>HealthCheckConfig</code>, a health check is created based on the
|
||
* settings in the health check configuration.</p> </li> <li> <p>The health check,
|
||
* if any, is associated with each of the new or updated records.</p> </li> </ul>
|
||
* <p>One <code>RegisterInstance</code> request must complete before
|
||
* you can submit another request and specify the same service ID and instance
|
||
* ID.</p> <p>For more information, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html">CreateService</a>.</p>
|
||
* <p>When AWS Cloud Map receives a DNS query for the specified DNS name, it
|
||
* returns the applicable value:</p> <ul> <li> <p> <b>If the health check is
|
||
* healthy</b>: returns all the records</p> </li> <li> <p> <b>If the health check
|
||
* is unhealthy</b>: returns the applicable value for the last healthy instance</p>
|
||
* </li> <li> <p> <b>If you didn't specify a health check configuration</b>:
|
||
* returns all the records</p> </li> </ul> <p>For the current quota on the number
|
||
* of instances that you can register using the same namespace and using the same
|
||
* service, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">AWS
|
||
* Cloud Map Limits</a> in the <i>AWS Cloud Map Developer Guide</i>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstance">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void RegisterInstanceAsync(const Model::RegisterInstanceRequest& request, const RegisterInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Adds one or more tags to the specified resource.</p><p><h3>See Also:</h3>
|
||
* <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/TagResource">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Adds one or more tags to the specified resource.</p><p><h3>See Also:</h3>
|
||
* <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/TagResource">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::TagResourceOutcomeCallable TagResourceCallable(const Model::TagResourceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Adds one or more tags to the specified resource.</p><p><h3>See Also:</h3>
|
||
* <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/TagResource">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void TagResourceAsync(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Removes one or more tags from the specified resource.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UntagResource">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Removes one or more tags from the specified resource.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UntagResource">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::UntagResourceOutcomeCallable UntagResourceCallable(const Model::UntagResourceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Removes one or more tags from the specified resource.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UntagResource">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void UntagResourceAsync(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Submits a request to change the health status of a custom health check to
|
||
* healthy or unhealthy.</p> <p>You can use
|
||
* <code>UpdateInstanceCustomHealthStatus</code> to change the status only for
|
||
* custom health checks, which you define using
|
||
* <code>HealthCheckCustomConfig</code> when you create a service. You can't use it
|
||
* to change the status for Route 53 health checks, which you define using
|
||
* <code>HealthCheckConfig</code>.</p> <p>For more information, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html">HealthCheckCustomConfig</a>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateInstanceCustomHealthStatus">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::UpdateInstanceCustomHealthStatusOutcome UpdateInstanceCustomHealthStatus(const Model::UpdateInstanceCustomHealthStatusRequest& request) const;
|
||
|
||
/**
|
||
* <p>Submits a request to change the health status of a custom health check to
|
||
* healthy or unhealthy.</p> <p>You can use
|
||
* <code>UpdateInstanceCustomHealthStatus</code> to change the status only for
|
||
* custom health checks, which you define using
|
||
* <code>HealthCheckCustomConfig</code> when you create a service. You can't use it
|
||
* to change the status for Route 53 health checks, which you define using
|
||
* <code>HealthCheckConfig</code>.</p> <p>For more information, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html">HealthCheckCustomConfig</a>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateInstanceCustomHealthStatus">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::UpdateInstanceCustomHealthStatusOutcomeCallable UpdateInstanceCustomHealthStatusCallable(const Model::UpdateInstanceCustomHealthStatusRequest& request) const;
|
||
|
||
/**
|
||
* <p>Submits a request to change the health status of a custom health check to
|
||
* healthy or unhealthy.</p> <p>You can use
|
||
* <code>UpdateInstanceCustomHealthStatus</code> to change the status only for
|
||
* custom health checks, which you define using
|
||
* <code>HealthCheckCustomConfig</code> when you create a service. You can't use it
|
||
* to change the status for Route 53 health checks, which you define using
|
||
* <code>HealthCheckConfig</code>.</p> <p>For more information, see <a
|
||
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html">HealthCheckCustomConfig</a>.</p><p><h3>See
|
||
* Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateInstanceCustomHealthStatus">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void UpdateInstanceCustomHealthStatusAsync(const Model::UpdateInstanceCustomHealthStatusRequest& request, const UpdateInstanceCustomHealthStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
/**
|
||
* <p>Submits a request to perform the following operations:</p> <ul> <li>
|
||
* <p>Update the TTL setting for existing <code>DnsRecords</code>
|
||
* configurations</p> </li> <li> <p>Add, update, or delete
|
||
* <code>HealthCheckConfig</code> for a specified service</p> <p>You can't
|
||
* add, update, or delete a <code>HealthCheckCustomConfig</code> configuration.</p>
|
||
* </li> </ul> <p>For public and private DNS namespaces, note the
|
||
* following:</p> <ul> <li> <p>If you omit any existing <code>DnsRecords</code> or
|
||
* <code>HealthCheckConfig</code> configurations from an <code>UpdateService</code>
|
||
* request, the configurations are deleted from the service.</p> </li> <li> <p>If
|
||
* you omit an existing <code>HealthCheckCustomConfig</code> configuration from an
|
||
* <code>UpdateService</code> request, the configuration is not deleted from the
|
||
* service.</p> </li> </ul> <p>When you update settings for a service, AWS Cloud
|
||
* Map also updates the corresponding settings in all the records and health checks
|
||
* that were created by using the specified service.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateService">AWS
|
||
* API Reference</a></p>
|
||
*/
|
||
virtual Model::UpdateServiceOutcome UpdateService(const Model::UpdateServiceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Submits a request to perform the following operations:</p> <ul> <li>
|
||
* <p>Update the TTL setting for existing <code>DnsRecords</code>
|
||
* configurations</p> </li> <li> <p>Add, update, or delete
|
||
* <code>HealthCheckConfig</code> for a specified service</p> <p>You can't
|
||
* add, update, or delete a <code>HealthCheckCustomConfig</code> configuration.</p>
|
||
* </li> </ul> <p>For public and private DNS namespaces, note the
|
||
* following:</p> <ul> <li> <p>If you omit any existing <code>DnsRecords</code> or
|
||
* <code>HealthCheckConfig</code> configurations from an <code>UpdateService</code>
|
||
* request, the configurations are deleted from the service.</p> </li> <li> <p>If
|
||
* you omit an existing <code>HealthCheckCustomConfig</code> configuration from an
|
||
* <code>UpdateService</code> request, the configuration is not deleted from the
|
||
* service.</p> </li> </ul> <p>When you update settings for a service, AWS Cloud
|
||
* Map also updates the corresponding settings in all the records and health checks
|
||
* that were created by using the specified service.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateService">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* returns a future to the operation so that it can be executed in parallel to other requests.
|
||
*/
|
||
virtual Model::UpdateServiceOutcomeCallable UpdateServiceCallable(const Model::UpdateServiceRequest& request) const;
|
||
|
||
/**
|
||
* <p>Submits a request to perform the following operations:</p> <ul> <li>
|
||
* <p>Update the TTL setting for existing <code>DnsRecords</code>
|
||
* configurations</p> </li> <li> <p>Add, update, or delete
|
||
* <code>HealthCheckConfig</code> for a specified service</p> <p>You can't
|
||
* add, update, or delete a <code>HealthCheckCustomConfig</code> configuration.</p>
|
||
* </li> </ul> <p>For public and private DNS namespaces, note the
|
||
* following:</p> <ul> <li> <p>If you omit any existing <code>DnsRecords</code> or
|
||
* <code>HealthCheckConfig</code> configurations from an <code>UpdateService</code>
|
||
* request, the configurations are deleted from the service.</p> </li> <li> <p>If
|
||
* you omit an existing <code>HealthCheckCustomConfig</code> configuration from an
|
||
* <code>UpdateService</code> request, the configuration is not deleted from the
|
||
* service.</p> </li> </ul> <p>When you update settings for a service, AWS Cloud
|
||
* Map also updates the corresponding settings in all the records and health checks
|
||
* that were created by using the specified service.</p><p><h3>See Also:</h3> <a
|
||
* href="http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateService">AWS
|
||
* API Reference</a></p>
|
||
*
|
||
* Queues the request into a thread executor and triggers associated callback when operation has finished.
|
||
*/
|
||
virtual void UpdateServiceAsync(const Model::UpdateServiceRequest& request, const UpdateServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
|
||
|
||
|
||
void OverrideEndpoint(const Aws::String& endpoint);
|
||
private:
|
||
void init(const Aws::Client::ClientConfiguration& clientConfiguration);
|
||
void CreateHttpNamespaceAsyncHelper(const Model::CreateHttpNamespaceRequest& request, const CreateHttpNamespaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void CreatePrivateDnsNamespaceAsyncHelper(const Model::CreatePrivateDnsNamespaceRequest& request, const CreatePrivateDnsNamespaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void CreatePublicDnsNamespaceAsyncHelper(const Model::CreatePublicDnsNamespaceRequest& request, const CreatePublicDnsNamespaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void CreateServiceAsyncHelper(const Model::CreateServiceRequest& request, const CreateServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void DeleteNamespaceAsyncHelper(const Model::DeleteNamespaceRequest& request, const DeleteNamespaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void DeleteServiceAsyncHelper(const Model::DeleteServiceRequest& request, const DeleteServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void DeregisterInstanceAsyncHelper(const Model::DeregisterInstanceRequest& request, const DeregisterInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void DiscoverInstancesAsyncHelper(const Model::DiscoverInstancesRequest& request, const DiscoverInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void GetInstanceAsyncHelper(const Model::GetInstanceRequest& request, const GetInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void GetInstancesHealthStatusAsyncHelper(const Model::GetInstancesHealthStatusRequest& request, const GetInstancesHealthStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void GetNamespaceAsyncHelper(const Model::GetNamespaceRequest& request, const GetNamespaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void GetOperationAsyncHelper(const Model::GetOperationRequest& request, const GetOperationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void GetServiceAsyncHelper(const Model::GetServiceRequest& request, const GetServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void ListInstancesAsyncHelper(const Model::ListInstancesRequest& request, const ListInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void ListNamespacesAsyncHelper(const Model::ListNamespacesRequest& request, const ListNamespacesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void ListOperationsAsyncHelper(const Model::ListOperationsRequest& request, const ListOperationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void ListServicesAsyncHelper(const Model::ListServicesRequest& request, const ListServicesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void ListTagsForResourceAsyncHelper(const Model::ListTagsForResourceRequest& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void RegisterInstanceAsyncHelper(const Model::RegisterInstanceRequest& request, const RegisterInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void TagResourceAsyncHelper(const Model::TagResourceRequest& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void UntagResourceAsyncHelper(const Model::UntagResourceRequest& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void UpdateInstanceCustomHealthStatusAsyncHelper(const Model::UpdateInstanceCustomHealthStatusRequest& request, const UpdateInstanceCustomHealthStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
void UpdateServiceAsyncHelper(const Model::UpdateServiceRequest& request, const UpdateServiceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
|
||
|
||
Aws::String m_baseUri;
|
||
Aws::String m_scheme;
|
||
bool m_enableHostPrefixInjection;
|
||
Aws::String m_configScheme;
|
||
std::shared_ptr<Aws::Utils::Threading::Executor> m_executor;
|
||
};
|
||
|
||
} // namespace ServiceDiscovery
|
||
} // namespace Aws
|