@aws-sdk/client-servicediscovery 3.188.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.
Files changed (142) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +6 -5
  3. package/dist-cjs/ServiceDiscoveryClient.js +11 -8
  4. package/dist-cjs/commands/CreateHttpNamespaceCommand.js +10 -0
  5. package/dist-cjs/commands/CreatePrivateDnsNamespaceCommand.js +10 -0
  6. package/dist-cjs/commands/CreatePublicDnsNamespaceCommand.js +10 -0
  7. package/dist-cjs/commands/CreateServiceCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteNamespaceCommand.js +10 -0
  9. package/dist-cjs/commands/DeleteServiceCommand.js +10 -0
  10. package/dist-cjs/commands/DeregisterInstanceCommand.js +10 -0
  11. package/dist-cjs/commands/DiscoverInstancesCommand.js +10 -0
  12. package/dist-cjs/commands/GetInstanceCommand.js +10 -0
  13. package/dist-cjs/commands/GetInstancesHealthStatusCommand.js +10 -0
  14. package/dist-cjs/commands/GetNamespaceCommand.js +10 -0
  15. package/dist-cjs/commands/GetOperationCommand.js +10 -0
  16. package/dist-cjs/commands/GetServiceCommand.js +10 -0
  17. package/dist-cjs/commands/ListInstancesCommand.js +10 -0
  18. package/dist-cjs/commands/ListNamespacesCommand.js +10 -0
  19. package/dist-cjs/commands/ListOperationsCommand.js +10 -0
  20. package/dist-cjs/commands/ListServicesCommand.js +10 -0
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  22. package/dist-cjs/commands/RegisterInstanceCommand.js +10 -0
  23. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  24. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  25. package/dist-cjs/commands/UpdateHttpNamespaceCommand.js +10 -0
  26. package/dist-cjs/commands/UpdateInstanceCustomHealthStatusCommand.js +10 -0
  27. package/dist-cjs/commands/UpdatePrivateDnsNamespaceCommand.js +10 -0
  28. package/dist-cjs/commands/UpdatePublicDnsNamespaceCommand.js +10 -0
  29. package/dist-cjs/commands/UpdateServiceCommand.js +10 -0
  30. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  31. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  32. package/dist-cjs/endpoint/ruleset.js +356 -0
  33. package/dist-cjs/models/models_0.js +3 -0
  34. package/dist-cjs/runtimeConfig.shared.js +3 -3
  35. package/dist-es/ServiceDiscoveryClient.js +12 -9
  36. package/dist-es/commands/CreateHttpNamespaceCommand.js +10 -0
  37. package/dist-es/commands/CreatePrivateDnsNamespaceCommand.js +10 -0
  38. package/dist-es/commands/CreatePublicDnsNamespaceCommand.js +10 -0
  39. package/dist-es/commands/CreateServiceCommand.js +10 -0
  40. package/dist-es/commands/DeleteNamespaceCommand.js +10 -0
  41. package/dist-es/commands/DeleteServiceCommand.js +10 -0
  42. package/dist-es/commands/DeregisterInstanceCommand.js +10 -0
  43. package/dist-es/commands/DiscoverInstancesCommand.js +10 -0
  44. package/dist-es/commands/GetInstanceCommand.js +10 -0
  45. package/dist-es/commands/GetInstancesHealthStatusCommand.js +10 -0
  46. package/dist-es/commands/GetNamespaceCommand.js +10 -0
  47. package/dist-es/commands/GetOperationCommand.js +10 -0
  48. package/dist-es/commands/GetServiceCommand.js +10 -0
  49. package/dist-es/commands/ListInstancesCommand.js +10 -0
  50. package/dist-es/commands/ListNamespacesCommand.js +10 -0
  51. package/dist-es/commands/ListOperationsCommand.js +10 -0
  52. package/dist-es/commands/ListServicesCommand.js +10 -0
  53. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  54. package/dist-es/commands/RegisterInstanceCommand.js +10 -0
  55. package/dist-es/commands/TagResourceCommand.js +10 -0
  56. package/dist-es/commands/UntagResourceCommand.js +10 -0
  57. package/dist-es/commands/UpdateHttpNamespaceCommand.js +10 -0
  58. package/dist-es/commands/UpdateInstanceCustomHealthStatusCommand.js +10 -0
  59. package/dist-es/commands/UpdatePrivateDnsNamespaceCommand.js +10 -0
  60. package/dist-es/commands/UpdatePublicDnsNamespaceCommand.js +10 -0
  61. package/dist-es/commands/UpdateServiceCommand.js +10 -0
  62. package/dist-es/endpoint/EndpointParameters.js +8 -0
  63. package/dist-es/endpoint/endpointResolver.js +8 -0
  64. package/dist-es/endpoint/ruleset.js +353 -0
  65. package/dist-es/models/models_0.js +3 -0
  66. package/dist-es/runtimeConfig.shared.js +2 -2
  67. package/dist-types/ServiceDiscovery.d.ts +90 -71
  68. package/dist-types/ServiceDiscoveryClient.d.ts +12 -14
  69. package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +6 -4
  70. package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +9 -6
  71. package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +13 -6
  72. package/dist-types/commands/CreateServiceCommand.d.ts +9 -6
  73. package/dist-types/commands/DeleteNamespaceCommand.d.ts +4 -2
  74. package/dist-types/commands/DeleteServiceCommand.d.ts +4 -2
  75. package/dist-types/commands/DeregisterInstanceCommand.d.ts +4 -2
  76. package/dist-types/commands/DiscoverInstancesCommand.d.ts +5 -3
  77. package/dist-types/commands/GetInstanceCommand.d.ts +2 -0
  78. package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +7 -4
  79. package/dist-types/commands/GetNamespaceCommand.d.ts +2 -0
  80. package/dist-types/commands/GetOperationCommand.d.ts +2 -0
  81. package/dist-types/commands/GetServiceCommand.d.ts +2 -0
  82. package/dist-types/commands/ListInstancesCommand.d.ts +4 -1
  83. package/dist-types/commands/ListNamespacesCommand.d.ts +3 -1
  84. package/dist-types/commands/ListOperationsCommand.d.ts +2 -0
  85. package/dist-types/commands/ListServicesCommand.d.ts +4 -1
  86. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  87. package/dist-types/commands/RegisterInstanceCommand.d.ts +23 -17
  88. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  89. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  90. package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +2 -0
  91. package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +8 -4
  92. package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +2 -0
  93. package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +2 -0
  94. package/dist-types/commands/UpdateServiceCommand.d.ts +11 -7
  95. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  96. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  97. package/dist-types/endpoint/ruleset.d.ts +2 -0
  98. package/dist-types/models/models_0.d.ts +811 -651
  99. package/dist-types/runtimeConfig.browser.d.ts +5 -2
  100. package/dist-types/runtimeConfig.d.ts +5 -2
  101. package/dist-types/runtimeConfig.native.d.ts +5 -2
  102. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  103. package/dist-types/ts3.4/ServiceDiscoveryClient.d.ts +15 -8
  104. package/dist-types/ts3.4/commands/CreateHttpNamespaceCommand.d.ts +2 -0
  105. package/dist-types/ts3.4/commands/CreatePrivateDnsNamespaceCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/CreatePublicDnsNamespaceCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -0
  108. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -0
  110. package/dist-types/ts3.4/commands/DeregisterInstanceCommand.d.ts +2 -0
  111. package/dist-types/ts3.4/commands/DiscoverInstancesCommand.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +2 -0
  113. package/dist-types/ts3.4/commands/GetInstancesHealthStatusCommand.d.ts +2 -0
  114. package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +2 -0
  118. package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +2 -0
  119. package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +2 -0
  120. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -0
  121. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  122. package/dist-types/ts3.4/commands/RegisterInstanceCommand.d.ts +2 -0
  123. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  124. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  125. package/dist-types/ts3.4/commands/UpdateHttpNamespaceCommand.d.ts +2 -0
  126. package/dist-types/ts3.4/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +2 -0
  127. package/dist-types/ts3.4/commands/UpdatePrivateDnsNamespaceCommand.d.ts +2 -0
  128. package/dist-types/ts3.4/commands/UpdatePublicDnsNamespaceCommand.d.ts +2 -0
  129. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -0
  130. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  131. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  132. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  133. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  134. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
  135. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
  136. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
  137. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  138. package/package.json +27 -26
  139. package/dist-cjs/endpoints.js +0 -203
  140. package/dist-es/endpoints.js +0 -199
  141. package/dist-types/endpoints.d.ts +0 -2
  142. 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 <code>DiscoverInstances</code>
11
- * to discover instances for any type of namespace. For public and private DNS namespaces, you can also use DNS queries
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 <code>Unknown</code>) of one or
11
- * more instances that are associated with a specified service.</p>
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 the instance is
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 service.</p>
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 specified namespaces.</p>
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 settings in a
11
- * specified service. When you submit a <code>RegisterInstance</code> request, the following occurs:</p>
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 <code>ServiceId</code>, a record is
15
- * created or updated in the hosted zone that's associated with the corresponding namespace.</p>
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 the settings in the
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 request and specify the
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 value:</p>
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 records</p>
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 value for the last
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>: returns all the
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 namespace and using the
48
- * same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
49
- * quotas</a> in the <i>Cloud Map Developer Guide</i>.</p>
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 unhealthy.</p>
11
- * <p>You can use <code>UpdateInstanceCustomHealthStatus</code> to change the status only for custom health checks,
12
- * which you define using <code>HealthCheckCustomConfig</code> when you create a service. You can't use it to change the
13
- * status for Route 53 health checks, which you define using <code>HealthCheckConfig</code>.</p>
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> configuration.</p>
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> configurations from an
26
- * <code>UpdateService</code> request, the configurations are deleted from the service.</p>
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 <code>UpdateService</code>
30
- * request, the configuration isn't deleted from the service.</p>
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 in all the records
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
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "../endpoint/EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;