/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicediscovery-2017-03-14.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ServiceDiscovery.Model; namespace Amazon.ServiceDiscovery { /// /// Interface for accessing ServiceDiscovery /// /// Cloud Map /// /// With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that /// your microservice applications run in. When an instance becomes available, you can /// call the Cloud Map API to register the instance with Cloud Map. For public or private /// DNS namespaces, 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. /// /// public partial interface IAmazonServiceDiscovery : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IServiceDiscoveryPaginatorFactory Paginators { get; } #endif #region CreateHttpNamespace /// /// Creates an HTTP namespace. Service instances registered using an HTTP namespace can /// be discovered using a DiscoverInstances request but can't be discovered /// using DNS. /// /// /// /// For the current quota on the number of namespaces that you can create using the same /// Amazon Web Services account, see Cloud /// Map quotas in the Cloud Map Developer Guide. /// /// /// Container for the necessary parameters to execute the CreateHttpNamespace service method. /// /// The response from the CreateHttpNamespace service method, as returned by ServiceDiscovery. /// /// The operation is already in progress. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// The namespace that you're trying to create already exists. /// /// /// The resource can't be created because you've reached the quota on the number of resources. /// /// /// The list of tags on the resource is over the quota. The maximum number of tags that /// can be applied to a resource is 50. /// /// REST API Reference for CreateHttpNamespace Operation CreateHttpNamespaceResponse CreateHttpNamespace(CreateHttpNamespaceRequest request); /// /// Initiates the asynchronous execution of the CreateHttpNamespace operation. /// /// /// Container for the necessary parameters to execute the CreateHttpNamespace operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateHttpNamespace /// operation. /// REST API Reference for CreateHttpNamespace Operation IAsyncResult BeginCreateHttpNamespace(CreateHttpNamespaceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateHttpNamespace operation. /// /// /// The IAsyncResult returned by the call to BeginCreateHttpNamespace. /// /// Returns a CreateHttpNamespaceResult from ServiceDiscovery. /// REST API Reference for CreateHttpNamespace Operation CreateHttpNamespaceResponse EndCreateHttpNamespace(IAsyncResult asyncResult); #endregion #region CreatePrivateDnsNamespace /// /// Creates a private namespace based on DNS, which is 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 is backend.example.com. Service /// instances that are registered using a private DNS namespace can be discovered using /// either a DiscoverInstances request or using DNS. For the current quota /// on the number of namespaces that you can create using the same Amazon Web Services /// account, see Cloud /// Map quotas in the Cloud Map Developer Guide. /// /// Container for the necessary parameters to execute the CreatePrivateDnsNamespace service method. /// /// The response from the CreatePrivateDnsNamespace service method, as returned by ServiceDiscovery. /// /// The operation is already in progress. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// The namespace that you're trying to create already exists. /// /// /// The resource can't be created because you've reached the quota on the number of resources. /// /// /// The list of tags on the resource is over the quota. The maximum number of tags that /// can be applied to a resource is 50. /// /// REST API Reference for CreatePrivateDnsNamespace Operation CreatePrivateDnsNamespaceResponse CreatePrivateDnsNamespace(CreatePrivateDnsNamespaceRequest request); /// /// Initiates the asynchronous execution of the CreatePrivateDnsNamespace operation. /// /// /// Container for the necessary parameters to execute the CreatePrivateDnsNamespace operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePrivateDnsNamespace /// operation. /// REST API Reference for CreatePrivateDnsNamespace Operation IAsyncResult BeginCreatePrivateDnsNamespace(CreatePrivateDnsNamespaceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreatePrivateDnsNamespace operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePrivateDnsNamespace. /// /// Returns a CreatePrivateDnsNamespaceResult from ServiceDiscovery. /// REST API Reference for CreatePrivateDnsNamespace Operation CreatePrivateDnsNamespaceResponse EndCreatePrivateDnsNamespace(IAsyncResult asyncResult); #endregion #region CreatePublicDnsNamespace /// /// Creates a public namespace based on DNS, which is 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 /// is backend.example.com. You can discover instances that were registered /// with a public DNS namespace by using either a DiscoverInstances request /// or using DNS. For the current quota on the number of namespaces that you can create /// using the same Amazon Web Services account, see Cloud /// Map quotas in the Cloud Map Developer Guide. /// /// /// /// The CreatePublicDnsNamespace API operation is not supported in the Amazon /// Web Services GovCloud (US) Regions. /// /// /// /// Container for the necessary parameters to execute the CreatePublicDnsNamespace service method. /// /// The response from the CreatePublicDnsNamespace service method, as returned by ServiceDiscovery. /// /// The operation is already in progress. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// The namespace that you're trying to create already exists. /// /// /// The resource can't be created because you've reached the quota on the number of resources. /// /// /// The list of tags on the resource is over the quota. The maximum number of tags that /// can be applied to a resource is 50. /// /// REST API Reference for CreatePublicDnsNamespace Operation CreatePublicDnsNamespaceResponse CreatePublicDnsNamespace(CreatePublicDnsNamespaceRequest request); /// /// Initiates the asynchronous execution of the CreatePublicDnsNamespace operation. /// /// /// Container for the necessary parameters to execute the CreatePublicDnsNamespace operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePublicDnsNamespace /// operation. /// REST API Reference for CreatePublicDnsNamespace Operation IAsyncResult BeginCreatePublicDnsNamespace(CreatePublicDnsNamespaceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreatePublicDnsNamespace operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePublicDnsNamespace. /// /// Returns a CreatePublicDnsNamespaceResult from ServiceDiscovery. /// REST API Reference for CreatePublicDnsNamespace Operation CreatePublicDnsNamespaceResponse EndCreatePublicDnsNamespace(IAsyncResult asyncResult); #endregion #region CreateService /// /// Creates a service. This action defines the configuration for the following entities: /// /// /// /// After you create the service, you can submit a RegisterInstance /// request, and Cloud Map uses the values in the configuration to create the specified /// entities. /// /// /// /// For the current quota on the number of instances that you can register using the same /// namespace and using the same service, see Cloud /// Map quotas in the Cloud Map Developer Guide. /// /// /// Container for the necessary parameters to execute the CreateService service method. /// /// The response from the CreateService service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No namespace exists with the specified ID. /// /// /// The resource can't be created because you've reached the quota on the number of resources. /// /// /// The service can't be created because a service with the same name already exists. /// /// /// The list of tags on the resource is over the quota. The maximum number of tags that /// can be applied to a resource is 50. /// /// REST API Reference for CreateService Operation CreateServiceResponse CreateService(CreateServiceRequest request); /// /// Initiates the asynchronous execution of the CreateService operation. /// /// /// Container for the necessary parameters to execute the CreateService operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateService /// operation. /// REST API Reference for CreateService Operation IAsyncResult BeginCreateService(CreateServiceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateService operation. /// /// /// The IAsyncResult returned by the call to BeginCreateService. /// /// Returns a CreateServiceResult from ServiceDiscovery. /// REST API Reference for CreateService Operation CreateServiceResponse EndCreateService(IAsyncResult asyncResult); #endregion #region DeleteNamespace /// /// Deletes a namespace from the current account. If the namespace still contains one /// or more services, the request fails. /// /// Container for the necessary parameters to execute the DeleteNamespace service method. /// /// The response from the DeleteNamespace service method, as returned by ServiceDiscovery. /// /// The operation is already in progress. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No namespace exists with the specified ID. /// /// /// The specified resource can't be deleted because it contains other resources. For example, /// you can't delete a service that contains any instances. /// /// REST API Reference for DeleteNamespace Operation DeleteNamespaceResponse DeleteNamespace(DeleteNamespaceRequest request); /// /// Initiates the asynchronous execution of the DeleteNamespace operation. /// /// /// Container for the necessary parameters to execute the DeleteNamespace operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteNamespace /// operation. /// REST API Reference for DeleteNamespace Operation IAsyncResult BeginDeleteNamespace(DeleteNamespaceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteNamespace operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteNamespace. /// /// Returns a DeleteNamespaceResult from ServiceDiscovery. /// REST API Reference for DeleteNamespace Operation DeleteNamespaceResponse EndDeleteNamespace(IAsyncResult asyncResult); #endregion #region DeleteService /// /// Deletes a specified service. If the service still contains one or more registered /// instances, the request fails. /// /// Container for the necessary parameters to execute the DeleteService service method. /// /// The response from the DeleteService service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// The specified resource can't be deleted because it contains other resources. For example, /// you can't delete a service that contains any instances. /// /// /// No service exists with the specified ID. /// /// REST API Reference for DeleteService Operation DeleteServiceResponse DeleteService(DeleteServiceRequest request); /// /// Initiates the asynchronous execution of the DeleteService operation. /// /// /// Container for the necessary parameters to execute the DeleteService operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteService /// operation. /// REST API Reference for DeleteService Operation IAsyncResult BeginDeleteService(DeleteServiceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteService operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteService. /// /// Returns a DeleteServiceResult from ServiceDiscovery. /// REST API Reference for DeleteService Operation DeleteServiceResponse EndDeleteService(IAsyncResult asyncResult); #endregion #region DeregisterInstance /// /// Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created /// for the specified instance. /// /// Container for the necessary parameters to execute the DeregisterInstance service method. /// /// The response from the DeregisterInstance service method, as returned by ServiceDiscovery. /// /// The operation is already in progress. /// /// /// No instance exists with the specified ID, or the instance was recently registered, /// and information about the instance hasn't propagated yet. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// The specified resource can't be deleted because it contains other resources. For example, /// you can't delete a service that contains any instances. /// /// /// No service exists with the specified ID. /// /// REST API Reference for DeregisterInstance Operation DeregisterInstanceResponse DeregisterInstance(DeregisterInstanceRequest request); /// /// Initiates the asynchronous execution of the DeregisterInstance operation. /// /// /// Container for the necessary parameters to execute the DeregisterInstance operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeregisterInstance /// operation. /// REST API Reference for DeregisterInstance Operation IAsyncResult BeginDeregisterInstance(DeregisterInstanceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeregisterInstance operation. /// /// /// The IAsyncResult returned by the call to BeginDeregisterInstance. /// /// Returns a DeregisterInstanceResult from ServiceDiscovery. /// REST API Reference for DeregisterInstance Operation DeregisterInstanceResponse EndDeregisterInstance(IAsyncResult asyncResult); #endregion #region DiscoverInstances /// /// Discovers registered instances for a specified namespace and service. You can use /// DiscoverInstances to discover instances for any type of namespace. For /// public and private DNS namespaces, you can also use DNS queries to discover instances. /// /// Container for the necessary parameters to execute the DiscoverInstances service method. /// /// The response from the DiscoverInstances service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No namespace exists with the specified ID. /// /// /// The operation can't be completed because you've reached the quota for the number of /// requests. For more information, see Cloud /// Map API request throttling quota in the Cloud Map Developer Guide. /// /// /// No service exists with the specified ID. /// /// REST API Reference for DiscoverInstances Operation DiscoverInstancesResponse DiscoverInstances(DiscoverInstancesRequest request); /// /// Initiates the asynchronous execution of the DiscoverInstances operation. /// /// /// Container for the necessary parameters to execute the DiscoverInstances operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDiscoverInstances /// operation. /// REST API Reference for DiscoverInstances Operation IAsyncResult BeginDiscoverInstances(DiscoverInstancesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DiscoverInstances operation. /// /// /// The IAsyncResult returned by the call to BeginDiscoverInstances. /// /// Returns a DiscoverInstancesResult from ServiceDiscovery. /// REST API Reference for DiscoverInstances Operation DiscoverInstancesResponse EndDiscoverInstances(IAsyncResult asyncResult); #endregion #region GetInstance /// /// Gets information about a specified instance. /// /// Container for the necessary parameters to execute the GetInstance service method. /// /// The response from the GetInstance service method, as returned by ServiceDiscovery. /// /// No instance exists with the specified ID, or the instance was recently registered, /// and information about the instance hasn't propagated yet. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No service exists with the specified ID. /// /// REST API Reference for GetInstance Operation GetInstanceResponse GetInstance(GetInstanceRequest request); /// /// Initiates the asynchronous execution of the GetInstance operation. /// /// /// Container for the necessary parameters to execute the GetInstance operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetInstance /// operation. /// REST API Reference for GetInstance Operation IAsyncResult BeginGetInstance(GetInstanceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetInstance operation. /// /// /// The IAsyncResult returned by the call to BeginGetInstance. /// /// Returns a GetInstanceResult from ServiceDiscovery. /// REST API Reference for GetInstance Operation GetInstanceResponse EndGetInstance(IAsyncResult asyncResult); #endregion #region GetInstancesHealthStatus /// /// Gets the current health status (Healthy, Unhealthy, or Unknown) /// of one or more instances that are associated with a specified service. /// /// /// /// There's a brief delay between when you register an instance and when the health status /// for the instance is available. /// /// /// /// Container for the necessary parameters to execute the GetInstancesHealthStatus service method. /// /// The response from the GetInstancesHealthStatus service method, as returned by ServiceDiscovery. /// /// No instance exists with the specified ID, or the instance was recently registered, /// and information about the instance hasn't propagated yet. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No service exists with the specified ID. /// /// REST API Reference for GetInstancesHealthStatus Operation GetInstancesHealthStatusResponse GetInstancesHealthStatus(GetInstancesHealthStatusRequest request); /// /// Initiates the asynchronous execution of the GetInstancesHealthStatus operation. /// /// /// Container for the necessary parameters to execute the GetInstancesHealthStatus operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetInstancesHealthStatus /// operation. /// REST API Reference for GetInstancesHealthStatus Operation IAsyncResult BeginGetInstancesHealthStatus(GetInstancesHealthStatusRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetInstancesHealthStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetInstancesHealthStatus. /// /// Returns a GetInstancesHealthStatusResult from ServiceDiscovery. /// REST API Reference for GetInstancesHealthStatus Operation GetInstancesHealthStatusResponse EndGetInstancesHealthStatus(IAsyncResult asyncResult); #endregion #region GetNamespace /// /// Gets information about a namespace. /// /// Container for the necessary parameters to execute the GetNamespace service method. /// /// The response from the GetNamespace service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No namespace exists with the specified ID. /// /// REST API Reference for GetNamespace Operation GetNamespaceResponse GetNamespace(GetNamespaceRequest request); /// /// Initiates the asynchronous execution of the GetNamespace operation. /// /// /// Container for the necessary parameters to execute the GetNamespace operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetNamespace /// operation. /// REST API Reference for GetNamespace Operation IAsyncResult BeginGetNamespace(GetNamespaceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetNamespace operation. /// /// /// The IAsyncResult returned by the call to BeginGetNamespace. /// /// Returns a GetNamespaceResult from ServiceDiscovery. /// REST API Reference for GetNamespace Operation GetNamespaceResponse EndGetNamespace(IAsyncResult asyncResult); #endregion #region GetOperation /// /// 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. /// /// /// /// Container for the necessary parameters to execute the GetOperation service method. /// /// The response from the GetOperation service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No operation exists with the specified ID. /// /// REST API Reference for GetOperation Operation GetOperationResponse GetOperation(GetOperationRequest request); /// /// Initiates the asynchronous execution of the GetOperation operation. /// /// /// Container for the necessary parameters to execute the GetOperation operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOperation /// operation. /// REST API Reference for GetOperation Operation IAsyncResult BeginGetOperation(GetOperationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetOperation operation. /// /// /// The IAsyncResult returned by the call to BeginGetOperation. /// /// Returns a GetOperationResult from ServiceDiscovery. /// REST API Reference for GetOperation Operation GetOperationResponse EndGetOperation(IAsyncResult asyncResult); #endregion #region GetService /// /// Gets the settings for a specified service. /// /// Container for the necessary parameters to execute the GetService service method. /// /// The response from the GetService service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No service exists with the specified ID. /// /// REST API Reference for GetService Operation GetServiceResponse GetService(GetServiceRequest request); /// /// Initiates the asynchronous execution of the GetService operation. /// /// /// Container for the necessary parameters to execute the GetService operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetService /// operation. /// REST API Reference for GetService Operation IAsyncResult BeginGetService(GetServiceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetService operation. /// /// /// The IAsyncResult returned by the call to BeginGetService. /// /// Returns a GetServiceResult from ServiceDiscovery. /// REST API Reference for GetService Operation GetServiceResponse EndGetService(IAsyncResult asyncResult); #endregion #region ListInstances /// /// Lists summary information about the instances that you registered by using a specified /// service. /// /// Container for the necessary parameters to execute the ListInstances service method. /// /// The response from the ListInstances service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No service exists with the specified ID. /// /// REST API Reference for ListInstances Operation ListInstancesResponse ListInstances(ListInstancesRequest request); /// /// Initiates the asynchronous execution of the ListInstances operation. /// /// /// Container for the necessary parameters to execute the ListInstances operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListInstances /// operation. /// REST API Reference for ListInstances Operation IAsyncResult BeginListInstances(ListInstancesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListInstances operation. /// /// /// The IAsyncResult returned by the call to BeginListInstances. /// /// Returns a ListInstancesResult from ServiceDiscovery. /// REST API Reference for ListInstances Operation ListInstancesResponse EndListInstances(IAsyncResult asyncResult); #endregion #region ListNamespaces /// /// Lists summary information about the namespaces that were created by the current Amazon /// Web Services account. /// /// Container for the necessary parameters to execute the ListNamespaces service method. /// /// The response from the ListNamespaces service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// REST API Reference for ListNamespaces Operation ListNamespacesResponse ListNamespaces(ListNamespacesRequest request); /// /// Initiates the asynchronous execution of the ListNamespaces operation. /// /// /// Container for the necessary parameters to execute the ListNamespaces operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListNamespaces /// operation. /// REST API Reference for ListNamespaces Operation IAsyncResult BeginListNamespaces(ListNamespacesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListNamespaces operation. /// /// /// The IAsyncResult returned by the call to BeginListNamespaces. /// /// Returns a ListNamespacesResult from ServiceDiscovery. /// REST API Reference for ListNamespaces Operation ListNamespacesResponse EndListNamespaces(IAsyncResult asyncResult); #endregion #region ListOperations /// /// Lists operations that match the criteria that you specify. /// /// Container for the necessary parameters to execute the ListOperations service method. /// /// The response from the ListOperations service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// REST API Reference for ListOperations Operation ListOperationsResponse ListOperations(ListOperationsRequest request); /// /// Initiates the asynchronous execution of the ListOperations operation. /// /// /// Container for the necessary parameters to execute the ListOperations operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListOperations /// operation. /// REST API Reference for ListOperations Operation IAsyncResult BeginListOperations(ListOperationsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListOperations operation. /// /// /// The IAsyncResult returned by the call to BeginListOperations. /// /// Returns a ListOperationsResult from ServiceDiscovery. /// REST API Reference for ListOperations Operation ListOperationsResponse EndListOperations(IAsyncResult asyncResult); #endregion #region ListServices /// /// Lists summary information for all the services that are associated with one or more /// specified namespaces. /// /// Container for the necessary parameters to execute the ListServices service method. /// /// The response from the ListServices service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// REST API Reference for ListServices Operation ListServicesResponse ListServices(ListServicesRequest request); /// /// Initiates the asynchronous execution of the ListServices operation. /// /// /// Container for the necessary parameters to execute the ListServices operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListServices /// operation. /// REST API Reference for ListServices Operation IAsyncResult BeginListServices(ListServicesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListServices operation. /// /// /// The IAsyncResult returned by the call to BeginListServices. /// /// Returns a ListServicesResult from ServiceDiscovery. /// REST API Reference for ListServices Operation ListServicesResponse EndListServices(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// /// Lists tags for the specified resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// The operation can't be completed because the resource was not found. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from ServiceDiscovery. /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region RegisterInstance /// /// 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 RegisterInstance /// request, the following occurs: /// /// /// /// 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 Cloud Map receives a DNS query for the specified DNS name, it returns the applicable /// value: /// /// /// /// For the current quota on the number of instances that you can register using the same /// namespace and using the same service, see Cloud /// Map quotas in the Cloud Map Developer Guide. /// /// /// Container for the necessary parameters to execute the RegisterInstance service method. /// /// The response from the RegisterInstance service method, as returned by ServiceDiscovery. /// /// The operation is already in progress. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// The specified resource can't be deleted because it contains other resources. For example, /// you can't delete a service that contains any instances. /// /// /// The resource can't be created because you've reached the quota on the number of resources. /// /// /// No service exists with the specified ID. /// /// REST API Reference for RegisterInstance Operation RegisterInstanceResponse RegisterInstance(RegisterInstanceRequest request); /// /// Initiates the asynchronous execution of the RegisterInstance operation. /// /// /// Container for the necessary parameters to execute the RegisterInstance operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRegisterInstance /// operation. /// REST API Reference for RegisterInstance Operation IAsyncResult BeginRegisterInstance(RegisterInstanceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the RegisterInstance operation. /// /// /// The IAsyncResult returned by the call to BeginRegisterInstance. /// /// Returns a RegisterInstanceResult from ServiceDiscovery. /// REST API Reference for RegisterInstance Operation RegisterInstanceResponse EndRegisterInstance(IAsyncResult asyncResult); #endregion #region TagResource /// /// Adds one or more tags to the specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// The operation can't be completed because the resource was not found. /// /// /// The list of tags on the resource is over the quota. The maximum number of tags that /// can be applied to a resource is 50. /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from ServiceDiscovery. /// REST API Reference for TagResource Operation TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region UntagResource /// /// Removes one or more tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by ServiceDiscovery. /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// The operation can't be completed because the resource was not found. /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from ServiceDiscovery. /// REST API Reference for UntagResource Operation UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdateHttpNamespace /// /// Updates an HTTP namespace. /// /// Container for the necessary parameters to execute the UpdateHttpNamespace service method. /// /// The response from the UpdateHttpNamespace service method, as returned by ServiceDiscovery. /// /// The operation is already in progress. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No namespace exists with the specified ID. /// /// /// The specified resource can't be deleted because it contains other resources. For example, /// you can't delete a service that contains any instances. /// /// REST API Reference for UpdateHttpNamespace Operation UpdateHttpNamespaceResponse UpdateHttpNamespace(UpdateHttpNamespaceRequest request); /// /// Initiates the asynchronous execution of the UpdateHttpNamespace operation. /// /// /// Container for the necessary parameters to execute the UpdateHttpNamespace operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateHttpNamespace /// operation. /// REST API Reference for UpdateHttpNamespace Operation IAsyncResult BeginUpdateHttpNamespace(UpdateHttpNamespaceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateHttpNamespace operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateHttpNamespace. /// /// Returns a UpdateHttpNamespaceResult from ServiceDiscovery. /// REST API Reference for UpdateHttpNamespace Operation UpdateHttpNamespaceResponse EndUpdateHttpNamespace(IAsyncResult asyncResult); #endregion #region UpdateInstanceCustomHealthStatus /// /// Submits a request to change the health status of a custom health check to healthy /// or unhealthy. /// /// /// /// You can use UpdateInstanceCustomHealthStatus to change the status only /// for custom health checks, which you define using HealthCheckCustomConfig /// when you create a service. You can't use it to change the status for Route 53 health /// checks, which you define using HealthCheckConfig. /// /// /// /// For more information, see HealthCheckCustomConfig. /// /// /// Container for the necessary parameters to execute the UpdateInstanceCustomHealthStatus service method. /// /// The response from the UpdateInstanceCustomHealthStatus service method, as returned by ServiceDiscovery. /// /// The health check for the instance that's specified by ServiceId and InstanceId /// isn't a custom health check. /// /// /// No instance exists with the specified ID, or the instance was recently registered, /// and information about the instance hasn't propagated yet. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No service exists with the specified ID. /// /// REST API Reference for UpdateInstanceCustomHealthStatus Operation UpdateInstanceCustomHealthStatusResponse UpdateInstanceCustomHealthStatus(UpdateInstanceCustomHealthStatusRequest request); /// /// Initiates the asynchronous execution of the UpdateInstanceCustomHealthStatus operation. /// /// /// Container for the necessary parameters to execute the UpdateInstanceCustomHealthStatus operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateInstanceCustomHealthStatus /// operation. /// REST API Reference for UpdateInstanceCustomHealthStatus Operation IAsyncResult BeginUpdateInstanceCustomHealthStatus(UpdateInstanceCustomHealthStatusRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateInstanceCustomHealthStatus operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateInstanceCustomHealthStatus. /// /// Returns a UpdateInstanceCustomHealthStatusResult from ServiceDiscovery. /// REST API Reference for UpdateInstanceCustomHealthStatus Operation UpdateInstanceCustomHealthStatusResponse EndUpdateInstanceCustomHealthStatus(IAsyncResult asyncResult); #endregion #region UpdatePrivateDnsNamespace /// /// Updates a private DNS namespace. /// /// Container for the necessary parameters to execute the UpdatePrivateDnsNamespace service method. /// /// The response from the UpdatePrivateDnsNamespace service method, as returned by ServiceDiscovery. /// /// The operation is already in progress. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No namespace exists with the specified ID. /// /// /// The specified resource can't be deleted because it contains other resources. For example, /// you can't delete a service that contains any instances. /// /// REST API Reference for UpdatePrivateDnsNamespace Operation UpdatePrivateDnsNamespaceResponse UpdatePrivateDnsNamespace(UpdatePrivateDnsNamespaceRequest request); /// /// Initiates the asynchronous execution of the UpdatePrivateDnsNamespace operation. /// /// /// Container for the necessary parameters to execute the UpdatePrivateDnsNamespace operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePrivateDnsNamespace /// operation. /// REST API Reference for UpdatePrivateDnsNamespace Operation IAsyncResult BeginUpdatePrivateDnsNamespace(UpdatePrivateDnsNamespaceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdatePrivateDnsNamespace operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePrivateDnsNamespace. /// /// Returns a UpdatePrivateDnsNamespaceResult from ServiceDiscovery. /// REST API Reference for UpdatePrivateDnsNamespace Operation UpdatePrivateDnsNamespaceResponse EndUpdatePrivateDnsNamespace(IAsyncResult asyncResult); #endregion #region UpdatePublicDnsNamespace /// /// Updates a public DNS namespace. /// /// Container for the necessary parameters to execute the UpdatePublicDnsNamespace service method. /// /// The response from the UpdatePublicDnsNamespace service method, as returned by ServiceDiscovery. /// /// The operation is already in progress. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No namespace exists with the specified ID. /// /// /// The specified resource can't be deleted because it contains other resources. For example, /// you can't delete a service that contains any instances. /// /// REST API Reference for UpdatePublicDnsNamespace Operation UpdatePublicDnsNamespaceResponse UpdatePublicDnsNamespace(UpdatePublicDnsNamespaceRequest request); /// /// Initiates the asynchronous execution of the UpdatePublicDnsNamespace operation. /// /// /// Container for the necessary parameters to execute the UpdatePublicDnsNamespace operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePublicDnsNamespace /// operation. /// REST API Reference for UpdatePublicDnsNamespace Operation IAsyncResult BeginUpdatePublicDnsNamespace(UpdatePublicDnsNamespaceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdatePublicDnsNamespace operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePublicDnsNamespace. /// /// Returns a UpdatePublicDnsNamespaceResult from ServiceDiscovery. /// REST API Reference for UpdatePublicDnsNamespace Operation UpdatePublicDnsNamespaceResponse EndUpdatePublicDnsNamespace(IAsyncResult asyncResult); #endregion #region UpdateService /// /// Submits a request to perform the following operations: /// /// /// /// For public and private DNS namespaces, note the following: /// /// /// /// When you update settings for a service, Cloud Map also updates the corresponding settings /// in all the records and health checks that were created by using the specified service. /// /// /// Container for the necessary parameters to execute the UpdateService service method. /// /// The response from the UpdateService service method, as returned by ServiceDiscovery. /// /// The operation is already in progress. /// /// /// One or more specified values aren't valid. For example, a required value might be /// missing, a numeric value might be outside the allowed range, or a string value might /// exceed length constraints. /// /// /// No service exists with the specified ID. /// /// REST API Reference for UpdateService Operation UpdateServiceResponse UpdateService(UpdateServiceRequest request); /// /// Initiates the asynchronous execution of the UpdateService operation. /// /// /// Container for the necessary parameters to execute the UpdateService operation on AmazonServiceDiscoveryClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateService /// operation. /// REST API Reference for UpdateService Operation IAsyncResult BeginUpdateService(UpdateServiceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateService operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateService. /// /// Returns a UpdateServiceResult from ServiceDiscovery. /// REST API Reference for UpdateService Operation UpdateServiceResponse EndUpdateService(IAsyncResult asyncResult); #endregion } }