@aws-sdk/client-servicediscovery 3.774.0 → 3.777.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 (37) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/ServiceDiscoveryClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +7 -7
  8. package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +7 -7
  9. package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +7 -7
  10. package/dist-types/commands/CreateServiceCommand.d.ts +25 -25
  11. package/dist-types/commands/DeleteNamespaceCommand.d.ts +5 -5
  12. package/dist-types/commands/DeleteServiceAttributesCommand.d.ts +8 -5
  13. package/dist-types/commands/DeleteServiceCommand.d.ts +7 -4
  14. package/dist-types/commands/DeregisterInstanceCommand.d.ts +6 -6
  15. package/dist-types/commands/DiscoverInstancesCommand.d.ts +15 -15
  16. package/dist-types/commands/DiscoverInstancesRevisionCommand.d.ts +6 -6
  17. package/dist-types/commands/GetInstanceCommand.d.ts +13 -13
  18. package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +7 -7
  19. package/dist-types/commands/GetNamespaceCommand.d.ts +1 -30
  20. package/dist-types/commands/GetOperationCommand.d.ts +12 -12
  21. package/dist-types/commands/GetServiceAttributesCommand.d.ts +8 -8
  22. package/dist-types/commands/GetServiceCommand.d.ts +1 -29
  23. package/dist-types/commands/ListInstancesCommand.d.ts +9 -9
  24. package/dist-types/commands/ListNamespacesCommand.d.ts +35 -35
  25. package/dist-types/commands/ListOperationsCommand.d.ts +14 -14
  26. package/dist-types/commands/ListServicesCommand.d.ts +14 -14
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -9
  28. package/dist-types/commands/RegisterInstanceCommand.d.ts +10 -10
  29. package/dist-types/commands/TagResourceCommand.d.ts +12 -9
  30. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  31. package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +7 -7
  32. package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +9 -6
  33. package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +18 -19
  34. package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +1 -0
  35. package/dist-types/commands/UpdateServiceAttributesCommand.d.ts +9 -6
  36. package/dist-types/commands/UpdateServiceCommand.d.ts +14 -14
  37. package/package.json +33 -33
@@ -40,8 +40,6 @@ const defaultServiceDiscoveryHttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultServiceDiscoveryHttpAuthSchemeProvider = defaultServiceDiscoveryHttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -109,12 +109,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
109
109
 
110
110
  // src/endpoint/EndpointParameters.ts
111
111
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
112
- return {
113
- ...options,
112
+ return Object.assign(options, {
114
113
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
115
114
  useFipsEndpoint: options.useFipsEndpoint ?? false,
116
115
  defaultSigningName: "servicediscovery"
117
- };
116
+ });
118
117
  }, "resolveClientEndpointParameters");
119
118
  var commonParams = {
120
119
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -171,22 +170,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
171
170
  }, "resolveHttpAuthRuntimeConfig");
172
171
 
173
172
  // src/runtimeExtensions.ts
174
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
175
173
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
176
- const extensionConfiguration = {
177
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
178
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
179
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
180
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
181
- };
174
+ const extensionConfiguration = Object.assign(
175
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
176
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
177
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
178
+ getHttpAuthExtensionConfiguration(runtimeConfig)
179
+ );
182
180
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
183
- return {
184
- ...runtimeConfig,
185
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
186
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
187
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
188
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
189
- };
181
+ return Object.assign(
182
+ runtimeConfig,
183
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
184
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
185
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
186
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
187
+ );
190
188
  }, "resolveRuntimeExtensions");
191
189
 
192
190
  // src/ServiceDiscoveryClient.ts
@@ -200,6 +198,8 @@ var ServiceDiscoveryClient = class extends import_smithy_client.Client {
200
198
  config;
201
199
  constructor(...[configuration]) {
202
200
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
201
+ super(_config_0);
202
+ this.initConfig = _config_0;
203
203
  const _config_1 = resolveClientEndpointParameters(_config_0);
204
204
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
205
205
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -208,7 +208,6 @@ var ServiceDiscoveryClient = class extends import_smithy_client.Client {
208
208
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
209
209
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
210
210
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
211
- super(_config_8);
212
211
  this.config = _config_8;
213
212
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
214
213
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class ServiceDiscoveryClient extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class ServiceDiscoveryClient extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultServiceDiscoveryHttpAuthSchemeProvider = (authParameters) =>
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "servicediscovery",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -82,25 +82,25 @@ declare const CreateHttpNamespaceCommand_base: {
82
82
  * @throws {@link ServiceDiscoveryServiceException}
83
83
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example CreateHttpNamespace example
87
87
  * ```javascript
88
88
  * // This example creates an HTTP namespace.
89
89
  * const input = {
90
- * "CreatorRequestId": "example-creator-request-id-0001",
91
- * "Description": "Example.com AWS Cloud Map HTTP Namespace",
92
- * "Name": "example-http.com"
90
+ * CreatorRequestId: "example-creator-request-id-0001",
91
+ * Description: "Example.com AWS Cloud Map HTTP Namespace",
92
+ * Name: "example-http.com"
93
93
  * };
94
94
  * const command = new CreateHttpNamespaceCommand(input);
95
95
  * const response = await client.send(command);
96
- * /* response ==
96
+ * /* response is
97
97
  * {
98
- * "OperationId": "httpvoqozuhfet5kzxoxg-a-response-example"
98
+ * OperationId: "httpvoqozuhfet5kzxoxg-a-response-example"
99
99
  * }
100
100
  * *\/
101
- * // example id: createhttpnamespace-example-1590114811304
102
101
  * ```
103
102
  *
103
+ * @public
104
104
  */
105
105
  export declare class CreateHttpNamespaceCommand extends CreateHttpNamespaceCommand_base {
106
106
  /** @internal type navigation helper, not in runtime. */
@@ -93,25 +93,25 @@ declare const CreatePrivateDnsNamespaceCommand_base: {
93
93
  * @throws {@link ServiceDiscoveryServiceException}
94
94
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
95
95
  *
96
- * @public
96
+ *
97
97
  * @example Example: Create private DNS namespace
98
98
  * ```javascript
99
99
  * // Example: Create private DNS namespace
100
100
  * const input = {
101
- * "CreatorRequestId": "eedd6892-50f3-41b2-8af9-611d6e1d1a8c",
102
- * "Name": "example.com",
103
- * "Vpc": "vpc-1c56417b"
101
+ * CreatorRequestId: "eedd6892-50f3-41b2-8af9-611d6e1d1a8c",
102
+ * Name: "example.com",
103
+ * Vpc: "vpc-1c56417b"
104
104
  * };
105
105
  * const command = new CreatePrivateDnsNamespaceCommand(input);
106
106
  * const response = await client.send(command);
107
- * /* response ==
107
+ * /* response is
108
108
  * {
109
- * "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd"
109
+ * OperationId: "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd"
110
110
  * }
111
111
  * *\/
112
- * // example id: example-create-private-dns-namespace-1587058592930
113
112
  * ```
114
113
  *
114
+ * @public
115
115
  */
116
116
  export declare class CreatePrivateDnsNamespaceCommand extends CreatePrivateDnsNamespaceCommand_base {
117
117
  /** @internal type navigation helper, not in runtime. */
@@ -96,25 +96,25 @@ declare const CreatePublicDnsNamespaceCommand_base: {
96
96
  * @throws {@link ServiceDiscoveryServiceException}
97
97
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
98
98
  *
99
- * @public
99
+ *
100
100
  * @example CreatePublicDnsNamespace example
101
101
  * ```javascript
102
102
  * // This example creates a public namespace based on DNS.
103
103
  * const input = {
104
- * "CreatorRequestId": "example-creator-request-id-0003",
105
- * "Description": "Example.com AWS Cloud Map Public DNS Namespace",
106
- * "Name": "example-public-dns.com"
104
+ * CreatorRequestId: "example-creator-request-id-0003",
105
+ * Description: "Example.com AWS Cloud Map Public DNS Namespace",
106
+ * Name: "example-public-dns.com"
107
107
  * };
108
108
  * const command = new CreatePublicDnsNamespaceCommand(input);
109
109
  * const response = await client.send(command);
110
- * /* response ==
110
+ * /* response is
111
111
  * {
112
- * "OperationId": "dns2voqozuhfet5kzxoxg-a-response-example"
112
+ * OperationId: "dns2voqozuhfet5kzxoxg-a-response-example"
113
113
  * }
114
114
  * *\/
115
- * // example id: createpublicdnsnamespace-example-1590114940910
116
115
  * ```
117
116
  *
117
+ * @public
118
118
  */
119
119
  export declare class CreatePublicDnsNamespaceCommand extends CreatePublicDnsNamespaceCommand_base {
120
120
  /** @internal type navigation helper, not in runtime. */
@@ -168,52 +168,52 @@ declare const CreateServiceCommand_base: {
168
168
  * @throws {@link ServiceDiscoveryServiceException}
169
169
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
170
170
  *
171
- * @public
171
+ *
172
172
  * @example Example: Create service
173
173
  * ```javascript
174
174
  * // Example: Create service
175
175
  * const input = {
176
- * "CreatorRequestId": "567c1193-6b00-4308-bd57-ad38a8822d25",
177
- * "DnsConfig": {
178
- * "DnsRecords": [
176
+ * CreatorRequestId: "567c1193-6b00-4308-bd57-ad38a8822d25",
177
+ * DnsConfig: {
178
+ * DnsRecords: [
179
179
  * {
180
- * "TTL": 60,
181
- * "Type": "A"
180
+ * TTL: 60,
181
+ * Type: "A"
182
182
  * }
183
183
  * ],
184
- * "NamespaceId": "ns-ylexjili4cdxy3xm",
185
- * "RoutingPolicy": "MULTIVALUE"
184
+ * NamespaceId: "ns-ylexjili4cdxy3xm",
185
+ * RoutingPolicy: "MULTIVALUE"
186
186
  * },
187
- * "Name": "myservice",
188
- * "NamespaceId": "ns-ylexjili4cdxy3xm"
187
+ * Name: "myservice",
188
+ * NamespaceId: "ns-ylexjili4cdxy3xm"
189
189
  * };
190
190
  * const command = new CreateServiceCommand(input);
191
191
  * const response = await client.send(command);
192
- * /* response ==
192
+ * /* response is
193
193
  * {
194
- * "Service": {
195
- * "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita",
196
- * "CreateDate": 1587081768.334,
197
- * "CreatorRequestId": "567c1193-6b00-4308-bd57-ad38a8822d25",
198
- * "DnsConfig": {
199
- * "DnsRecords": [
194
+ * Service: {
195
+ * Arn: "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita",
196
+ * CreateDate: 1.587081768334E9,
197
+ * CreatorRequestId: "567c1193-6b00-4308-bd57-ad38a8822d25",
198
+ * DnsConfig: {
199
+ * DnsRecords: [
200
200
  * {
201
- * "TTL": 60,
202
- * "Type": "A"
201
+ * TTL: 60,
202
+ * Type: "A"
203
203
  * }
204
204
  * ],
205
- * "NamespaceId": "ns-ylexjili4cdxy3xm",
206
- * "RoutingPolicy": "MULTIVALUE"
205
+ * NamespaceId: "ns-ylexjili4cdxy3xm",
206
+ * RoutingPolicy: "MULTIVALUE"
207
207
  * },
208
- * "Id": "srv-p5zdwlg5uvvzjita",
209
- * "Name": "myservice",
210
- * "NamespaceId": "ns-ylexjili4cdxy3xm"
208
+ * Id: "srv-p5zdwlg5uvvzjita",
209
+ * Name: "myservice",
210
+ * NamespaceId: "ns-ylexjili4cdxy3xm"
211
211
  * }
212
212
  * }
213
213
  * *\/
214
- * // example id: example-create-service-1587235913584
215
214
  * ```
216
215
  *
216
+ * @public
217
217
  */
218
218
  export declare class CreateServiceCommand extends CreateServiceCommand_base {
219
219
  /** @internal type navigation helper, not in runtime. */
@@ -69,23 +69,23 @@ declare const DeleteNamespaceCommand_base: {
69
69
  * @throws {@link ServiceDiscoveryServiceException}
70
70
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
71
71
  *
72
- * @public
72
+ *
73
73
  * @example Example: Delete namespace
74
74
  * ```javascript
75
75
  * // Example: Delete namespace
76
76
  * const input = {
77
- * "Id": "ns-ylexjili4cdxy3xm"
77
+ * Id: "ns-ylexjili4cdxy3xm"
78
78
  * };
79
79
  * const command = new DeleteNamespaceCommand(input);
80
80
  * const response = await client.send(command);
81
- * /* response ==
81
+ * /* response is
82
82
  * {
83
- * "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k98y6drk"
83
+ * OperationId: "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k98y6drk"
84
84
  * }
85
85
  * *\/
86
- * // example id: example-delete-namespace-1587416093508
87
86
  * ```
88
87
  *
88
+ * @public
89
89
  */
90
90
  export declare class DeleteNamespaceCommand extends DeleteNamespaceCommand_base {
91
91
  /** @internal type navigation helper, not in runtime. */
@@ -62,21 +62,24 @@ declare const DeleteServiceAttributesCommand_base: {
62
62
  * @throws {@link ServiceDiscoveryServiceException}
63
63
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
64
64
  *
65
- * @public
65
+ *
66
66
  * @example DeleteServiceAttributes example
67
67
  * ```javascript
68
68
  * // Example: Delete service attribute by providing attribute key and service ID
69
69
  * const input = {
70
- * "Attributes": [
70
+ * Attributes: [
71
71
  * "port"
72
72
  * ],
73
- * "ServiceId": "srv-e4anhexample0004"
73
+ * ServiceId: "srv-e4anhexample0004"
74
74
  * };
75
75
  * const command = new DeleteServiceAttributesCommand(input);
76
- * await client.send(command);
77
- * // example id: example-delete-service-attributes-1587416462902
76
+ * const response = await client.send(command);
77
+ * /* response is
78
+ * { /* empty *\/ }
79
+ * *\/
78
80
  * ```
79
81
  *
82
+ * @public
80
83
  */
81
84
  export declare class DeleteServiceAttributesCommand extends DeleteServiceAttributesCommand_base {
82
85
  /** @internal type navigation helper, not in runtime. */
@@ -64,18 +64,21 @@ declare const DeleteServiceCommand_base: {
64
64
  * @throws {@link ServiceDiscoveryServiceException}
65
65
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
66
66
  *
67
- * @public
67
+ *
68
68
  * @example Example: Delete service
69
69
  * ```javascript
70
70
  * // Example: Delete service
71
71
  * const input = {
72
- * "Id": "srv-p5zdwlg5uvvzjita"
72
+ * Id: "srv-p5zdwlg5uvvzjita"
73
73
  * };
74
74
  * const command = new DeleteServiceCommand(input);
75
- * await client.send(command);
76
- * // example id: example-delete-service-1587416462902
75
+ * const response = await client.send(command);
76
+ * /* response is
77
+ * { /* empty *\/ }
78
+ * *\/
77
79
  * ```
78
80
  *
81
+ * @public
79
82
  */
80
83
  export declare class DeleteServiceCommand extends DeleteServiceCommand_base {
81
84
  /** @internal type navigation helper, not in runtime. */
@@ -74,24 +74,24 @@ declare const DeregisterInstanceCommand_base: {
74
74
  * @throws {@link ServiceDiscoveryServiceException}
75
75
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
76
76
  *
77
- * @public
77
+ *
78
78
  * @example Example: Deregister a service instance
79
79
  * ```javascript
80
80
  * // Example: Deregister a service instance
81
81
  * const input = {
82
- * "InstanceId": "myservice-53",
83
- * "ServiceId": "srv-p5zdwlg5uvvzjita"
82
+ * InstanceId: "myservice-53",
83
+ * ServiceId: "srv-p5zdwlg5uvvzjita"
84
84
  * };
85
85
  * const command = new DeregisterInstanceCommand(input);
86
86
  * const response = await client.send(command);
87
- * /* response ==
87
+ * /* response is
88
88
  * {
89
- * "OperationId": "4yejorelbukcjzpnr6tlmrghsjwpngf4-k98rnaiq"
89
+ * OperationId: "4yejorelbukcjzpnr6tlmrghsjwpngf4-k98rnaiq"
90
90
  * }
91
91
  * *\/
92
- * // example id: example-deregister-a-service-instance-1587416305738
93
92
  * ```
94
93
  *
94
+ * @public
95
95
  */
96
96
  export declare class DeregisterInstanceCommand extends DeregisterInstanceCommand_base {
97
97
  /** @internal type navigation helper, not in runtime. */
@@ -92,37 +92,37 @@ declare const DiscoverInstancesCommand_base: {
92
92
  * @throws {@link ServiceDiscoveryServiceException}
93
93
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
94
94
  *
95
- * @public
95
+ *
96
96
  * @example Example: Discover registered instances
97
97
  * ```javascript
98
98
  * // Example: Discover registered instances
99
99
  * const input = {
100
- * "HealthStatus": "ALL",
101
- * "MaxResults": 10,
102
- * "NamespaceName": "example.com",
103
- * "ServiceName": "myservice"
100
+ * HealthStatus: "ALL",
101
+ * MaxResults: 10,
102
+ * NamespaceName: "example.com",
103
+ * ServiceName: "myservice"
104
104
  * };
105
105
  * const command = new DiscoverInstancesCommand(input);
106
106
  * const response = await client.send(command);
107
- * /* response ==
107
+ * /* response is
108
108
  * {
109
- * "Instances": [
109
+ * Instances: [
110
110
  * {
111
- * "Attributes": {
112
- * "AWS_INSTANCE_IPV4": "172.2.1.3",
113
- * "AWS_INSTANCE_PORT": "808"
111
+ * Attributes: {
112
+ * AWS_INSTANCE_IPV4: "172.2.1.3",
113
+ * AWS_INSTANCE_PORT: "808"
114
114
  * },
115
- * "HealthStatus": "UNKNOWN",
116
- * "InstanceId": "myservice-53",
117
- * "NamespaceName": "example.com",
118
- * "ServiceName": "myservice"
115
+ * HealthStatus: "UNKNOWN",
116
+ * InstanceId: "myservice-53",
117
+ * NamespaceName: "example.com",
118
+ * ServiceName: "myservice"
119
119
  * }
120
120
  * ]
121
121
  * }
122
122
  * *\/
123
- * // example id: example-discover-registered-instances-1587236343568
124
123
  * ```
125
124
  *
125
+ * @public
126
126
  */
127
127
  export declare class DiscoverInstancesCommand extends DiscoverInstancesCommand_base {
128
128
  /** @internal type navigation helper, not in runtime. */
@@ -70,24 +70,24 @@ declare const DiscoverInstancesRevisionCommand_base: {
70
70
  * @throws {@link ServiceDiscoveryServiceException}
71
71
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
72
72
  *
73
- * @public
73
+ *
74
74
  * @example To discover the revision for a registered instance
75
75
  * ```javascript
76
76
  * // The following example discovers the revision ID for a registered instance.
77
77
  * const input = {
78
- * "NamespaceName": "example-namespace",
79
- * "ServiceName": "example-service"
78
+ * NamespaceName: "example-namespace",
79
+ * ServiceName: "example-service"
80
80
  * };
81
81
  * const command = new DiscoverInstancesRevisionCommand(input);
82
82
  * const response = await client.send(command);
83
- * /* response ==
83
+ * /* response is
84
84
  * {
85
- * "InstancesRevision": 123456
85
+ * InstancesRevision: 123456
86
86
  * }
87
87
  * *\/
88
- * // example id: to-discover-the-revision-for-a-registered-instance-1712867460953
89
88
  * ```
90
89
  *
90
+ * @public
91
91
  */
92
92
  export declare class DiscoverInstancesRevisionCommand extends DiscoverInstancesRevisionCommand_base {
93
93
  /** @internal type navigation helper, not in runtime. */
@@ -72,33 +72,33 @@ declare const GetInstanceCommand_base: {
72
72
  * @throws {@link ServiceDiscoveryServiceException}
73
73
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
74
74
  *
75
- * @public
75
+ *
76
76
  * @example GetInstance example
77
77
  * ```javascript
78
78
  * // This example gets information about a specified instance.
79
79
  * const input = {
80
- * "InstanceId": "i-abcd1234",
81
- * "ServiceId": "srv-e4anhexample0004"
80
+ * InstanceId: "i-abcd1234",
81
+ * ServiceId: "srv-e4anhexample0004"
82
82
  * };
83
83
  * const command = new GetInstanceCommand(input);
84
84
  * const response = await client.send(command);
85
- * /* response ==
85
+ * /* response is
86
86
  * {
87
- * "Instance": {
88
- * "Attributes": {
89
- * "AWS_INSTANCE_IPV4": "192.0.2.44",
90
- * "AWS_INSTANCE_PORT": "80",
91
- * "color": "green",
92
- * "region": "us-west-2",
93
- * "stage": "beta"
87
+ * Instance: {
88
+ * Attributes: {
89
+ * AWS_INSTANCE_IPV4: "192.0.2.44",
90
+ * AWS_INSTANCE_PORT: "80",
91
+ * color: "green",
92
+ * region: "us-west-2",
93
+ * stage: "beta"
94
94
  * },
95
- * "Id": "i-abcd1234"
95
+ * Id: "i-abcd1234"
96
96
  * }
97
97
  * }
98
98
  * *\/
99
- * // example id: getinstance-example-1590115065598
100
99
  * ```
101
100
  *
101
+ * @public
102
102
  */
103
103
  export declare class GetInstanceCommand extends GetInstanceCommand_base {
104
104
  /** @internal type navigation helper, not in runtime. */
@@ -78,26 +78,26 @@ declare const GetInstancesHealthStatusCommand_base: {
78
78
  * @throws {@link ServiceDiscoveryServiceException}
79
79
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
80
80
  *
81
- * @public
81
+ *
82
82
  * @example GetInstancesHealthStatus example
83
83
  * ```javascript
84
84
  * // This example gets the current health status of one or more instances that are associate with a specified service.
85
85
  * const input = {
86
- * "ServiceId": "srv-e4anhexample0004"
86
+ * ServiceId: "srv-e4anhexample0004"
87
87
  * };
88
88
  * const command = new GetInstancesHealthStatusCommand(input);
89
89
  * const response = await client.send(command);
90
- * /* response ==
90
+ * /* response is
91
91
  * {
92
- * "Status": {
93
- * "i-abcd1234": "HEALTHY",
94
- * "i-abcd1235": "UNHEALTHY"
92
+ * Status: {
93
+ * i-abcd1234: "HEALTHY",
94
+ * i-abcd1235: "UNHEALTHY"
95
95
  * }
96
96
  * }
97
97
  * *\/
98
- * // example id: getinstanceshealthstatus-example-1590115176146
99
98
  * ```
100
99
  *
100
+ * @public
101
101
  */
102
102
  export declare class GetInstancesHealthStatusCommand extends GetInstancesHealthStatusCommand_base {
103
103
  /** @internal type navigation helper, not in runtime. */
@@ -81,37 +81,8 @@ declare const GetNamespaceCommand_base: {
81
81
  * @throws {@link ServiceDiscoveryServiceException}
82
82
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
83
83
  *
84
- * @public
85
- * @example GetNamespace example
86
- * ```javascript
87
- * // This example gets information about a specified namespace.
88
- * const input = {
89
- * "Id": "ns-e4anhexample0004"
90
- * };
91
- * const command = new GetNamespaceCommand(input);
92
- * const response = await client.send(command);
93
- * /* response ==
94
- * {
95
- * "Namespace": {
96
- * "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-e1tpmexample0001",
97
- * "CreateDate": "20181118T211712Z",
98
- * "CreatorRequestId": "example-creator-request-id-0001",
99
- * "Description": "Example.com AWS Cloud Map HTTP Namespace",
100
- * "Id": "ns-e1tpmexample0001",
101
- * "Name": "example-http.com",
102
- * "Properties": {
103
- * "DnsProperties": {},
104
- * "HttpProperties": {
105
- * "HttpName": "example-http.com"
106
- * }
107
- * },
108
- * "Type": "HTTP"
109
- * }
110
- * }
111
- * *\/
112
- * // example id: getnamespace-example-1590115383708
113
- * ```
114
84
  *
85
+ * @public
115
86
  */
116
87
  export declare class GetNamespaceCommand extends GetNamespaceCommand_base {
117
88
  /** @internal type navigation helper, not in runtime. */