@aws-sdk/client-servicediscovery 3.190.0 → 3.191.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +6 -5
- package/dist-cjs/ServiceDiscoveryClient.js +11 -8
- package/dist-cjs/commands/CreateHttpNamespaceCommand.js +10 -0
- package/dist-cjs/commands/CreatePrivateDnsNamespaceCommand.js +10 -0
- package/dist-cjs/commands/CreatePublicDnsNamespaceCommand.js +10 -0
- package/dist-cjs/commands/CreateServiceCommand.js +10 -0
- package/dist-cjs/commands/DeleteNamespaceCommand.js +10 -0
- package/dist-cjs/commands/DeleteServiceCommand.js +10 -0
- package/dist-cjs/commands/DeregisterInstanceCommand.js +10 -0
- package/dist-cjs/commands/DiscoverInstancesCommand.js +10 -0
- package/dist-cjs/commands/GetInstanceCommand.js +10 -0
- package/dist-cjs/commands/GetInstancesHealthStatusCommand.js +10 -0
- package/dist-cjs/commands/GetNamespaceCommand.js +10 -0
- package/dist-cjs/commands/GetOperationCommand.js +10 -0
- package/dist-cjs/commands/GetServiceCommand.js +10 -0
- package/dist-cjs/commands/ListInstancesCommand.js +10 -0
- package/dist-cjs/commands/ListNamespacesCommand.js +10 -0
- package/dist-cjs/commands/ListOperationsCommand.js +10 -0
- package/dist-cjs/commands/ListServicesCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/RegisterInstanceCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateHttpNamespaceCommand.js +10 -0
- package/dist-cjs/commands/UpdateInstanceCustomHealthStatusCommand.js +10 -0
- package/dist-cjs/commands/UpdatePrivateDnsNamespaceCommand.js +10 -0
- package/dist-cjs/commands/UpdatePublicDnsNamespaceCommand.js +10 -0
- package/dist-cjs/commands/UpdateServiceCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +356 -0
- package/dist-cjs/models/models_0.js +3 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/ServiceDiscoveryClient.js +12 -9
- package/dist-es/commands/CreateHttpNamespaceCommand.js +10 -0
- package/dist-es/commands/CreatePrivateDnsNamespaceCommand.js +10 -0
- package/dist-es/commands/CreatePublicDnsNamespaceCommand.js +10 -0
- package/dist-es/commands/CreateServiceCommand.js +10 -0
- package/dist-es/commands/DeleteNamespaceCommand.js +10 -0
- package/dist-es/commands/DeleteServiceCommand.js +10 -0
- package/dist-es/commands/DeregisterInstanceCommand.js +10 -0
- package/dist-es/commands/DiscoverInstancesCommand.js +10 -0
- package/dist-es/commands/GetInstanceCommand.js +10 -0
- package/dist-es/commands/GetInstancesHealthStatusCommand.js +10 -0
- package/dist-es/commands/GetNamespaceCommand.js +10 -0
- package/dist-es/commands/GetOperationCommand.js +10 -0
- package/dist-es/commands/GetServiceCommand.js +10 -0
- package/dist-es/commands/ListInstancesCommand.js +10 -0
- package/dist-es/commands/ListNamespacesCommand.js +10 -0
- package/dist-es/commands/ListOperationsCommand.js +10 -0
- package/dist-es/commands/ListServicesCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/RegisterInstanceCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateHttpNamespaceCommand.js +10 -0
- package/dist-es/commands/UpdateInstanceCustomHealthStatusCommand.js +10 -0
- package/dist-es/commands/UpdatePrivateDnsNamespaceCommand.js +10 -0
- package/dist-es/commands/UpdatePublicDnsNamespaceCommand.js +10 -0
- package/dist-es/commands/UpdateServiceCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +353 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/ServiceDiscovery.d.ts +90 -71
- package/dist-types/ServiceDiscoveryClient.d.ts +12 -14
- package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +6 -4
- package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +9 -6
- package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +13 -6
- package/dist-types/commands/CreateServiceCommand.d.ts +9 -6
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +4 -2
- package/dist-types/commands/DeleteServiceCommand.d.ts +4 -2
- package/dist-types/commands/DeregisterInstanceCommand.d.ts +4 -2
- package/dist-types/commands/DiscoverInstancesCommand.d.ts +5 -3
- package/dist-types/commands/GetInstanceCommand.d.ts +2 -0
- package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +7 -4
- package/dist-types/commands/GetNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/GetOperationCommand.d.ts +2 -0
- package/dist-types/commands/GetServiceCommand.d.ts +2 -0
- package/dist-types/commands/ListInstancesCommand.d.ts +4 -1
- package/dist-types/commands/ListNamespacesCommand.d.ts +3 -1
- package/dist-types/commands/ListOperationsCommand.d.ts +2 -0
- package/dist-types/commands/ListServicesCommand.d.ts +4 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/RegisterInstanceCommand.d.ts +23 -17
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +8 -4
- package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +11 -7
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +811 -651
- package/dist-types/runtimeConfig.browser.d.ts +5 -2
- package/dist-types/runtimeConfig.d.ts +5 -2
- package/dist-types/runtimeConfig.native.d.ts +5 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/ServiceDiscoveryClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateHttpNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreatePrivateDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreatePublicDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeregisterInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DiscoverInstancesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInstancesHealthStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RegisterInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateHttpNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdatePrivateDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdatePublicDnsNamespaceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +2 -1
- package/dist-cjs/endpoints.js +0 -203
- package/dist-es/endpoints.js +0 -199
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { DiscoverInstancesRequest, DiscoverInstancesResponse } from "../models/models_0";
|
|
@@ -7,9 +8,9 @@ export interface DiscoverInstancesCommandInput extends DiscoverInstancesRequest
|
|
|
7
8
|
export interface DiscoverInstancesCommandOutput extends DiscoverInstancesResponse, __MetadataBearer {
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
|
-
* <p>Discovers registered instances for a specified namespace and service. You can use
|
|
11
|
-
*
|
|
12
|
-
* to discover instances.</p>
|
|
11
|
+
* <p>Discovers registered instances for a specified namespace and service. You can use
|
|
12
|
+
* <code>DiscoverInstances</code> to discover instances for any type of namespace. For public and
|
|
13
|
+
* private DNS namespaces, you can also use DNS queries to discover instances.</p>
|
|
13
14
|
* @example
|
|
14
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
16
|
* ```javascript
|
|
@@ -27,6 +28,7 @@ export interface DiscoverInstancesCommandOutput extends DiscoverInstancesRespons
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class DiscoverInstancesCommand extends $Command<DiscoverInstancesCommandInput, DiscoverInstancesCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
29
30
|
readonly input: DiscoverInstancesCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
32
|
constructor(input: DiscoverInstancesCommandInput);
|
|
31
33
|
/**
|
|
32
34
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetInstanceRequest, GetInstanceResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface GetInstanceCommandOutput extends GetInstanceResponse, __Metadat
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetInstanceCommand extends $Command<GetInstanceCommandInput, GetInstanceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
28
|
readonly input: GetInstanceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetInstanceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetInstancesHealthStatusRequest, GetInstancesHealthStatusResponse } from "../models/models_0";
|
|
@@ -7,11 +8,12 @@ export interface GetInstancesHealthStatusCommandInput extends GetInstancesHealth
|
|
|
7
8
|
export interface GetInstancesHealthStatusCommandOutput extends GetInstancesHealthStatusResponse, __MetadataBearer {
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
|
-
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>, or
|
|
11
|
-
*
|
|
11
|
+
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>, or
|
|
12
|
+
* <code>Unknown</code>) of one or more instances that are associated with a specified
|
|
13
|
+
* service.</p>
|
|
12
14
|
* <note>
|
|
13
|
-
* <p>There's a brief delay between when you register an instance and when the health status for
|
|
14
|
-
* available. </p>
|
|
15
|
+
* <p>There's a brief delay between when you register an instance and when the health status for
|
|
16
|
+
* the instance is available. </p>
|
|
15
17
|
* </note>
|
|
16
18
|
* @example
|
|
17
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -30,6 +32,7 @@ export interface GetInstancesHealthStatusCommandOutput extends GetInstancesHealt
|
|
|
30
32
|
*/
|
|
31
33
|
export declare class GetInstancesHealthStatusCommand extends $Command<GetInstancesHealthStatusCommandInput, GetInstancesHealthStatusCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
32
34
|
readonly input: GetInstancesHealthStatusCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
36
|
constructor(input: GetInstancesHealthStatusCommandInput);
|
|
34
37
|
/**
|
|
35
38
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetNamespaceRequest, GetNamespaceResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __Metad
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetNamespaceCommand extends $Command<GetNamespaceCommandInput, GetNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
28
|
readonly input: GetNamespaceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetNamespaceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetOperationRequest, GetOperationResponse } from "../models/models_0";
|
|
@@ -29,6 +30,7 @@ export interface GetOperationCommandOutput extends GetOperationResponse, __Metad
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class GetOperationCommand extends $Command<GetOperationCommandInput, GetOperationCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
31
32
|
readonly input: GetOperationCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
34
|
constructor(input: GetOperationCommandInput);
|
|
33
35
|
/**
|
|
34
36
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetServiceRequest, GetServiceResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface GetServiceCommandOutput extends GetServiceResponse, __MetadataB
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetServiceCommand extends $Command<GetServiceCommandInput, GetServiceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
28
|
readonly input: GetServiceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetServiceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListInstancesRequest, ListInstancesResponse } from "../models/models_0";
|
|
@@ -7,7 +8,8 @@ export interface ListInstancesCommandInput extends ListInstancesRequest {
|
|
|
7
8
|
export interface ListInstancesCommandOutput extends ListInstancesResponse, __MetadataBearer {
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
|
-
* <p>Lists summary information about the instances that you registered by using a specified
|
|
11
|
+
* <p>Lists summary information about the instances that you registered by using a specified
|
|
12
|
+
* service.</p>
|
|
11
13
|
* @example
|
|
12
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
15
|
* ```javascript
|
|
@@ -25,6 +27,7 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met
|
|
|
25
27
|
*/
|
|
26
28
|
export declare class ListInstancesCommand extends $Command<ListInstancesCommandInput, ListInstancesCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
29
|
readonly input: ListInstancesCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
31
|
constructor(input: ListInstancesCommandInput);
|
|
29
32
|
/**
|
|
30
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListNamespacesRequest, ListNamespacesResponse } from "../models/models_0";
|
|
@@ -7,7 +8,7 @@ export interface ListNamespacesCommandInput extends ListNamespacesRequest {
|
|
|
7
8
|
export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __MetadataBearer {
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
|
-
* <p>Lists summary information about the namespaces that were created by the current account.</p>
|
|
11
|
+
* <p>Lists summary information about the namespaces that were created by the current Amazon Web Services account.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -25,6 +26,7 @@ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __M
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class ListNamespacesCommand extends $Command<ListNamespacesCommandInput, ListNamespacesCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
28
|
readonly input: ListNamespacesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListNamespacesCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListOperationsRequest, ListOperationsResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface ListOperationsCommandOutput extends ListOperationsResponse, __M
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class ListOperationsCommand extends $Command<ListOperationsCommandInput, ListOperationsCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
28
|
readonly input: ListOperationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListOperationsCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListServicesRequest, ListServicesResponse } from "../models/models_0";
|
|
@@ -7,7 +8,8 @@ export interface ListServicesCommandInput extends ListServicesRequest {
|
|
|
7
8
|
export interface ListServicesCommandOutput extends ListServicesResponse, __MetadataBearer {
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
|
-
* <p>Lists summary information for all the services that are associated with one or more
|
|
11
|
+
* <p>Lists summary information for all the services that are associated with one or more
|
|
12
|
+
* specified namespaces.</p>
|
|
11
13
|
* @example
|
|
12
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
15
|
* ```javascript
|
|
@@ -25,6 +27,7 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad
|
|
|
25
27
|
*/
|
|
26
28
|
export declare class ListServicesCommand extends $Command<ListServicesCommandInput, ListServicesCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
29
|
readonly input: ListServicesCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
31
|
constructor(input: ListServicesCommandInput);
|
|
29
32
|
/**
|
|
30
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
28
|
readonly input: ListTagsForResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListTagsForResourceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { RegisterInstanceRequest, RegisterInstanceResponse } from "../models/models_0";
|
|
@@ -7,46 +8,50 @@ export interface RegisterInstanceCommandInput extends RegisterInstanceRequest {
|
|
|
7
8
|
export interface RegisterInstanceCommandOutput extends RegisterInstanceResponse, __MetadataBearer {
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
|
-
* <p>Creates or updates one or more records and, optionally, creates a health check based on the
|
|
11
|
-
* specified service. When you submit a <code>RegisterInstance</code> request, the
|
|
11
|
+
* <p>Creates or updates one or more records and, optionally, creates a health check based on the
|
|
12
|
+
* settings in a specified service. When you submit a <code>RegisterInstance</code> request, the
|
|
13
|
+
* following occurs:</p>
|
|
12
14
|
* <ul>
|
|
13
15
|
* <li>
|
|
14
|
-
* <p>For each DNS record that you define in the service that's specified by
|
|
15
|
-
*
|
|
16
|
+
* <p>For each DNS record that you define in the service that's specified by
|
|
17
|
+
* <code>ServiceId</code>, a record is created or updated in the hosted zone that's associated
|
|
18
|
+
* with the corresponding namespace.</p>
|
|
16
19
|
* </li>
|
|
17
20
|
* <li>
|
|
18
|
-
* <p>If the service includes <code>HealthCheckConfig</code>, a health check is created based on
|
|
19
|
-
* health check configuration.</p>
|
|
21
|
+
* <p>If the service includes <code>HealthCheckConfig</code>, a health check is created based on
|
|
22
|
+
* the settings in the health check configuration.</p>
|
|
20
23
|
* </li>
|
|
21
24
|
* <li>
|
|
22
25
|
* <p>The health check, if any, is associated with each of the new or updated records.</p>
|
|
23
26
|
* </li>
|
|
24
27
|
* </ul>
|
|
25
28
|
* <important>
|
|
26
|
-
* <p>One <code>RegisterInstance</code> request must complete before you can submit another
|
|
27
|
-
* same service ID and instance ID.</p>
|
|
29
|
+
* <p>One <code>RegisterInstance</code> request must complete before you can submit another
|
|
30
|
+
* request and specify the same service ID and instance ID.</p>
|
|
28
31
|
* </important>
|
|
29
32
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html">CreateService</a>.</p>
|
|
30
|
-
* <p>When Cloud Map receives a DNS query for the specified DNS name, it returns the applicable
|
|
33
|
+
* <p>When Cloud Map receives a DNS query for the specified DNS name, it returns the applicable
|
|
34
|
+
* value:</p>
|
|
31
35
|
* <ul>
|
|
32
36
|
* <li>
|
|
33
37
|
* <p>
|
|
34
|
-
* <b>If the health check is healthy</b>: returns all the
|
|
38
|
+
* <b>If the health check is healthy</b>: returns all the
|
|
39
|
+
* records</p>
|
|
35
40
|
* </li>
|
|
36
41
|
* <li>
|
|
37
42
|
* <p>
|
|
38
|
-
* <b>If the health check is unhealthy</b>: returns the applicable
|
|
39
|
-
* healthy instance</p>
|
|
43
|
+
* <b>If the health check is unhealthy</b>: returns the applicable
|
|
44
|
+
* value for the last healthy instance</p>
|
|
40
45
|
* </li>
|
|
41
46
|
* <li>
|
|
42
47
|
* <p>
|
|
43
|
-
* <b>If you didn't specify a health check configuration</b>:
|
|
44
|
-
* records</p>
|
|
48
|
+
* <b>If you didn't specify a health check configuration</b>:
|
|
49
|
+
* returns all the records</p>
|
|
45
50
|
* </li>
|
|
46
51
|
* </ul>
|
|
47
|
-
* <p>For the current quota on the number of instances that you can register using the same
|
|
48
|
-
* same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
|
|
49
|
-
*
|
|
52
|
+
* <p>For the current quota on the number of instances that you can register using the same
|
|
53
|
+
* namespace and using the same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
|
|
54
|
+
* <i>Cloud Map Developer Guide</i>.</p>
|
|
50
55
|
* @example
|
|
51
56
|
* Use a bare-bones client and the command you need to make an API call.
|
|
52
57
|
* ```javascript
|
|
@@ -64,6 +69,7 @@ export interface RegisterInstanceCommandOutput extends RegisterInstanceResponse,
|
|
|
64
69
|
*/
|
|
65
70
|
export declare class RegisterInstanceCommand extends $Command<RegisterInstanceCommandInput, RegisterInstanceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
66
71
|
readonly input: RegisterInstanceCommandInput;
|
|
72
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
73
|
constructor(input: RegisterInstanceCommandInput);
|
|
68
74
|
/**
|
|
69
75
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
28
|
readonly input: TagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: TagResourceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
27
28
|
readonly input: UntagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: UntagResourceCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdateHttpNamespaceRequest, UpdateHttpNamespaceResponse } from "../models/models_0";
|
|
@@ -26,6 +27,7 @@ export interface UpdateHttpNamespaceCommandOutput extends UpdateHttpNamespaceRes
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class UpdateHttpNamespaceCommand extends $Command<UpdateHttpNamespaceCommandInput, UpdateHttpNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
28
29
|
readonly input: UpdateHttpNamespaceCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: UpdateHttpNamespaceCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdateInstanceCustomHealthStatusRequest } from "../models/models_0";
|
|
@@ -7,10 +8,12 @@ export interface UpdateInstanceCustomHealthStatusCommandInput extends UpdateInst
|
|
|
7
8
|
export interface UpdateInstanceCustomHealthStatusCommandOutput extends __MetadataBearer {
|
|
8
9
|
}
|
|
9
10
|
/**
|
|
10
|
-
* <p>Submits a request to change the health status of a custom health check to healthy or
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* <p>Submits a request to change the health status of a custom health check to healthy or
|
|
12
|
+
* unhealthy.</p>
|
|
13
|
+
* <p>You can use <code>UpdateInstanceCustomHealthStatus</code> to change the status only for
|
|
14
|
+
* custom health checks, which you define using <code>HealthCheckCustomConfig</code> when you create
|
|
15
|
+
* a service. You can't use it to change the status for Route 53 health checks, which you define using
|
|
16
|
+
* <code>HealthCheckConfig</code>.</p>
|
|
14
17
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html">HealthCheckCustomConfig</a>.</p>
|
|
15
18
|
* @example
|
|
16
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -29,6 +32,7 @@ export interface UpdateInstanceCustomHealthStatusCommandOutput extends __Metadat
|
|
|
29
32
|
*/
|
|
30
33
|
export declare class UpdateInstanceCustomHealthStatusCommand extends $Command<UpdateInstanceCustomHealthStatusCommandInput, UpdateInstanceCustomHealthStatusCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
31
34
|
readonly input: UpdateInstanceCustomHealthStatusCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
36
|
constructor(input: UpdateInstanceCustomHealthStatusCommandInput);
|
|
33
37
|
/**
|
|
34
38
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdatePrivateDnsNamespaceRequest, UpdatePrivateDnsNamespaceResponse } from "../models/models_0";
|
|
@@ -26,6 +27,7 @@ export interface UpdatePrivateDnsNamespaceCommandOutput extends UpdatePrivateDns
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class UpdatePrivateDnsNamespaceCommand extends $Command<UpdatePrivateDnsNamespaceCommandInput, UpdatePrivateDnsNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
28
29
|
readonly input: UpdatePrivateDnsNamespaceCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: UpdatePrivateDnsNamespaceCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdatePublicDnsNamespaceRequest, UpdatePublicDnsNamespaceResponse } from "../models/models_0";
|
|
@@ -26,6 +27,7 @@ export interface UpdatePublicDnsNamespaceCommandOutput extends UpdatePublicDnsNa
|
|
|
26
27
|
*/
|
|
27
28
|
export declare class UpdatePublicDnsNamespaceCommand extends $Command<UpdatePublicDnsNamespaceCommandInput, UpdatePublicDnsNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
28
29
|
readonly input: UpdatePublicDnsNamespaceCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
31
|
constructor(input: UpdatePublicDnsNamespaceCommandInput);
|
|
30
32
|
/**
|
|
31
33
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdateServiceRequest, UpdateServiceResponse } from "../models/models_0";
|
|
@@ -15,23 +16,25 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
15
16
|
* <li>
|
|
16
17
|
* <p>Add, update, or delete <code>HealthCheckConfig</code> for a specified service</p>
|
|
17
18
|
* <note>
|
|
18
|
-
* <p>You can't add, update, or delete a <code>HealthCheckCustomConfig</code>
|
|
19
|
+
* <p>You can't add, update, or delete a <code>HealthCheckCustomConfig</code>
|
|
20
|
+
* configuration.</p>
|
|
19
21
|
* </note>
|
|
20
22
|
* </li>
|
|
21
23
|
* </ul>
|
|
22
24
|
* <p>For public and private DNS namespaces, note the following:</p>
|
|
23
25
|
* <ul>
|
|
24
26
|
* <li>
|
|
25
|
-
* <p>If you omit any existing <code>DnsRecords</code> or <code>HealthCheckConfig</code>
|
|
26
|
-
*
|
|
27
|
+
* <p>If you omit any existing <code>DnsRecords</code> or <code>HealthCheckConfig</code>
|
|
28
|
+
* configurations from an <code>UpdateService</code> request, the configurations are deleted from
|
|
29
|
+
* the service.</p>
|
|
27
30
|
* </li>
|
|
28
31
|
* <li>
|
|
29
|
-
* <p>If you omit an existing <code>HealthCheckCustomConfig</code> configuration from an
|
|
30
|
-
*
|
|
32
|
+
* <p>If you omit an existing <code>HealthCheckCustomConfig</code> configuration from an
|
|
33
|
+
* <code>UpdateService</code> request, the configuration isn't deleted from the service.</p>
|
|
31
34
|
* </li>
|
|
32
35
|
* </ul>
|
|
33
|
-
* <p>When you update settings for a service, Cloud Map also updates the corresponding settings
|
|
34
|
-
* and health checks that were created by using the specified service.</p>
|
|
36
|
+
* <p>When you update settings for a service, Cloud Map also updates the corresponding settings
|
|
37
|
+
* in all the records and health checks that were created by using the specified service.</p>
|
|
35
38
|
* @example
|
|
36
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
40
|
* ```javascript
|
|
@@ -49,6 +52,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
|
|
|
49
52
|
*/
|
|
50
53
|
export declare class UpdateServiceCommand extends $Command<UpdateServiceCommandInput, UpdateServiceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
|
|
51
54
|
readonly input: UpdateServiceCommandInput;
|
|
55
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
52
56
|
constructor(input: UpdateServiceCommandInput);
|
|
53
57
|
/**
|
|
54
58
|
* @internal
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
Endpoint?: string | Provider<string>;
|
|
7
|
+
}
|
|
8
|
+
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
|
+
defaultSigningName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
+
Region: string;
|
|
16
|
+
UseDualStack?: boolean;
|
|
17
|
+
UseFIPS?: boolean;
|
|
18
|
+
Endpoint?: string;
|
|
19
|
+
}
|