@aws-sdk/client-servicediscovery 3.312.0 → 3.316.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.
@@ -26,353 +26,173 @@ import { UpdatePrivateDnsNamespaceCommandInput, UpdatePrivateDnsNamespaceCommand
26
26
  import { UpdatePublicDnsNamespaceCommandInput, UpdatePublicDnsNamespaceCommandOutput } from "./commands/UpdatePublicDnsNamespaceCommand";
27
27
  import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
28
28
  import { ServiceDiscoveryClient } from "./ServiceDiscoveryClient";
29
- /**
30
- * @public
31
- * <fullname>Cloud Map</fullname>
32
- * <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
33
- * microservice applications run in. When an instance becomes available, you can call the Cloud Map
34
- * API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map
35
- * automatically creates DNS records and an optional health check. Clients that submit public or
36
- * private DNS queries, or HTTP requests, for the service receive an answer that contains up to
37
- * eight healthy records. </p>
38
- */
39
- export declare class ServiceDiscovery extends ServiceDiscoveryClient {
29
+ export interface ServiceDiscovery {
40
30
  /**
41
- * @public
42
- * <p>Creates an HTTP namespace. Service instances registered using an HTTP namespace can be
43
- * discovered using a <code>DiscoverInstances</code> request but can't be discovered using
44
- * DNS.</p>
45
- * <p>For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
46
- * <i>Cloud Map Developer Guide</i>.</p>
31
+ * @see {@link CreateHttpNamespaceCommand}
47
32
  */
48
33
  createHttpNamespace(args: CreateHttpNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateHttpNamespaceCommandOutput>;
49
34
  createHttpNamespace(args: CreateHttpNamespaceCommandInput, cb: (err: any, data?: CreateHttpNamespaceCommandOutput) => void): void;
50
35
  createHttpNamespace(args: CreateHttpNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHttpNamespaceCommandOutput) => void): void;
51
36
  /**
52
- * @public
53
- * <p>Creates a private namespace based on DNS, which is visible only inside a specified Amazon
54
- * VPC. The namespace defines your service naming scheme. For example, if you name your namespace
55
- * <code>example.com</code> and name your service <code>backend</code>, the resulting DNS name for
56
- * the service is <code>backend.example.com</code>. Service instances that are registered using a
57
- * private DNS namespace can be discovered using either a <code>DiscoverInstances</code> request or
58
- * using DNS. For the current quota on the number of namespaces that you can create using the same
59
- * Amazon Web Services account, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
60
- * <i>Cloud Map Developer Guide</i>.</p>
37
+ * @see {@link CreatePrivateDnsNamespaceCommand}
61
38
  */
62
39
  createPrivateDnsNamespace(args: CreatePrivateDnsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreatePrivateDnsNamespaceCommandOutput>;
63
40
  createPrivateDnsNamespace(args: CreatePrivateDnsNamespaceCommandInput, cb: (err: any, data?: CreatePrivateDnsNamespaceCommandOutput) => void): void;
64
41
  createPrivateDnsNamespace(args: CreatePrivateDnsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePrivateDnsNamespaceCommandOutput) => void): void;
65
42
  /**
66
- * @public
67
- * <p>Creates a public namespace based on DNS, which is visible on the internet. The namespace
68
- * defines your service naming scheme. For example, if you name your namespace
69
- * <code>example.com</code> and name your service <code>backend</code>, the resulting DNS name for
70
- * the service is <code>backend.example.com</code>. You can discover instances that were registered
71
- * with a public DNS namespace by using either a <code>DiscoverInstances</code> request or using
72
- * DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
73
- * <i>Cloud Map Developer Guide</i>.</p>
74
- * <important>
75
- * <p>The <code>CreatePublicDnsNamespace</code> API operation is not supported in the Amazon Web Services GovCloud (US) Regions.</p>
76
- * </important>
43
+ * @see {@link CreatePublicDnsNamespaceCommand}
77
44
  */
78
45
  createPublicDnsNamespace(args: CreatePublicDnsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreatePublicDnsNamespaceCommandOutput>;
79
46
  createPublicDnsNamespace(args: CreatePublicDnsNamespaceCommandInput, cb: (err: any, data?: CreatePublicDnsNamespaceCommandOutput) => void): void;
80
47
  createPublicDnsNamespace(args: CreatePublicDnsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePublicDnsNamespaceCommandOutput) => void): void;
81
48
  /**
82
- * @public
83
- * <p>Creates a service. This action defines the configuration for the following entities:</p>
84
- * <ul>
85
- * <li>
86
- * <p>For public and private DNS namespaces, one of the following combinations of DNS records in
87
- * Amazon Route 53:</p>
88
- * <ul>
89
- * <li>
90
- * <p>
91
- * <code>A</code>
92
- * </p>
93
- * </li>
94
- * <li>
95
- * <p>
96
- * <code>AAAA</code>
97
- * </p>
98
- * </li>
99
- * <li>
100
- * <p>
101
- * <code>A</code> and <code>AAAA</code>
102
- * </p>
103
- * </li>
104
- * <li>
105
- * <p>
106
- * <code>SRV</code>
107
- * </p>
108
- * </li>
109
- * <li>
110
- * <p>
111
- * <code>CNAME</code>
112
- * </p>
113
- * </li>
114
- * </ul>
115
- * </li>
116
- * <li>
117
- * <p>Optionally, a health check</p>
118
- * </li>
119
- * </ul>
120
- * <p>After you create the service, you can submit a <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a> request, and
121
- * Cloud Map uses the values in the configuration to create the specified entities.</p>
122
- * <p>For the current quota on the number of instances that you can register using the same
123
- * 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
124
- * <i>Cloud Map Developer Guide</i>.</p>
49
+ * @see {@link CreateServiceCommand}
125
50
  */
126
51
  createService(args: CreateServiceCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceCommandOutput>;
127
52
  createService(args: CreateServiceCommandInput, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
128
53
  createService(args: CreateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceCommandOutput) => void): void;
129
54
  /**
130
- * @public
131
- * <p>Deletes a namespace from the current account. If the namespace still contains one or more
132
- * services, the request fails.</p>
55
+ * @see {@link DeleteNamespaceCommand}
133
56
  */
134
57
  deleteNamespace(args: DeleteNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNamespaceCommandOutput>;
135
58
  deleteNamespace(args: DeleteNamespaceCommandInput, cb: (err: any, data?: DeleteNamespaceCommandOutput) => void): void;
136
59
  deleteNamespace(args: DeleteNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNamespaceCommandOutput) => void): void;
137
60
  /**
138
- * @public
139
- * <p>Deletes a specified service. If the service still contains one or more registered instances,
140
- * the request fails.</p>
61
+ * @see {@link DeleteServiceCommand}
141
62
  */
142
63
  deleteService(args: DeleteServiceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceCommandOutput>;
143
64
  deleteService(args: DeleteServiceCommandInput, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
144
65
  deleteService(args: DeleteServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceCommandOutput) => void): void;
145
66
  /**
146
- * @public
147
- * <p>Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the
148
- * specified instance.</p>
67
+ * @see {@link DeregisterInstanceCommand}
149
68
  */
150
69
  deregisterInstance(args: DeregisterInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterInstanceCommandOutput>;
151
70
  deregisterInstance(args: DeregisterInstanceCommandInput, cb: (err: any, data?: DeregisterInstanceCommandOutput) => void): void;
152
71
  deregisterInstance(args: DeregisterInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterInstanceCommandOutput) => void): void;
153
72
  /**
154
- * @public
155
- * <p>Discovers registered instances for a specified namespace and service. You can use
156
- * <code>DiscoverInstances</code> to discover instances for any type of namespace. For public and
157
- * private DNS namespaces, you can also use DNS queries to discover instances.</p>
73
+ * @see {@link DiscoverInstancesCommand}
158
74
  */
159
75
  discoverInstances(args: DiscoverInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DiscoverInstancesCommandOutput>;
160
76
  discoverInstances(args: DiscoverInstancesCommandInput, cb: (err: any, data?: DiscoverInstancesCommandOutput) => void): void;
161
77
  discoverInstances(args: DiscoverInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DiscoverInstancesCommandOutput) => void): void;
162
78
  /**
163
- * @public
164
- * <p>Gets information about a specified instance.</p>
79
+ * @see {@link GetInstanceCommand}
165
80
  */
166
81
  getInstance(args: GetInstanceCommandInput, options?: __HttpHandlerOptions): Promise<GetInstanceCommandOutput>;
167
82
  getInstance(args: GetInstanceCommandInput, cb: (err: any, data?: GetInstanceCommandOutput) => void): void;
168
83
  getInstance(args: GetInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInstanceCommandOutput) => void): void;
169
84
  /**
170
- * @public
171
- * <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>, or
172
- * <code>Unknown</code>) of one or more instances that are associated with a specified
173
- * service.</p>
174
- * <note>
175
- * <p>There's a brief delay between when you register an instance and when the health status for
176
- * the instance is available. </p>
177
- * </note>
85
+ * @see {@link GetInstancesHealthStatusCommand}
178
86
  */
179
87
  getInstancesHealthStatus(args: GetInstancesHealthStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetInstancesHealthStatusCommandOutput>;
180
88
  getInstancesHealthStatus(args: GetInstancesHealthStatusCommandInput, cb: (err: any, data?: GetInstancesHealthStatusCommandOutput) => void): void;
181
89
  getInstancesHealthStatus(args: GetInstancesHealthStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInstancesHealthStatusCommandOutput) => void): void;
182
90
  /**
183
- * @public
184
- * <p>Gets information about a namespace.</p>
91
+ * @see {@link GetNamespaceCommand}
185
92
  */
186
93
  getNamespace(args: GetNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<GetNamespaceCommandOutput>;
187
94
  getNamespace(args: GetNamespaceCommandInput, cb: (err: any, data?: GetNamespaceCommandOutput) => void): void;
188
95
  getNamespace(args: GetNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNamespaceCommandOutput) => void): void;
189
96
  /**
190
- * @public
191
- * <p>Gets information about any operation that returns an operation ID in the response, such as a
192
- * <code>CreateService</code> request.</p>
193
- * <note>
194
- * <p>To get a list of operations that match specified criteria, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_ListOperations.html">ListOperations</a>.</p>
195
- * </note>
97
+ * @see {@link GetOperationCommand}
196
98
  */
197
99
  getOperation(args: GetOperationCommandInput, options?: __HttpHandlerOptions): Promise<GetOperationCommandOutput>;
198
100
  getOperation(args: GetOperationCommandInput, cb: (err: any, data?: GetOperationCommandOutput) => void): void;
199
101
  getOperation(args: GetOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOperationCommandOutput) => void): void;
200
102
  /**
201
- * @public
202
- * <p>Gets the settings for a specified service.</p>
103
+ * @see {@link GetServiceCommand}
203
104
  */
204
105
  getService(args: GetServiceCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceCommandOutput>;
205
106
  getService(args: GetServiceCommandInput, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
206
107
  getService(args: GetServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceCommandOutput) => void): void;
207
108
  /**
208
- * @public
209
- * <p>Lists summary information about the instances that you registered by using a specified
210
- * service.</p>
109
+ * @see {@link ListInstancesCommand}
211
110
  */
212
111
  listInstances(args: ListInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListInstancesCommandOutput>;
213
112
  listInstances(args: ListInstancesCommandInput, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
214
113
  listInstances(args: ListInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
215
114
  /**
216
- * @public
217
- * <p>Lists summary information about the namespaces that were created by the current Amazon Web Services account.</p>
115
+ * @see {@link ListNamespacesCommand}
218
116
  */
219
117
  listNamespaces(args: ListNamespacesCommandInput, options?: __HttpHandlerOptions): Promise<ListNamespacesCommandOutput>;
220
118
  listNamespaces(args: ListNamespacesCommandInput, cb: (err: any, data?: ListNamespacesCommandOutput) => void): void;
221
119
  listNamespaces(args: ListNamespacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNamespacesCommandOutput) => void): void;
222
120
  /**
223
- * @public
224
- * <p>Lists operations that match the criteria that you specify.</p>
121
+ * @see {@link ListOperationsCommand}
225
122
  */
226
123
  listOperations(args: ListOperationsCommandInput, options?: __HttpHandlerOptions): Promise<ListOperationsCommandOutput>;
227
124
  listOperations(args: ListOperationsCommandInput, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
228
125
  listOperations(args: ListOperationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
229
126
  /**
230
- * @public
231
- * <p>Lists summary information for all the services that are associated with one or more
232
- * specified namespaces.</p>
127
+ * @see {@link ListServicesCommand}
233
128
  */
234
129
  listServices(args: ListServicesCommandInput, options?: __HttpHandlerOptions): Promise<ListServicesCommandOutput>;
235
130
  listServices(args: ListServicesCommandInput, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
236
131
  listServices(args: ListServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicesCommandOutput) => void): void;
237
132
  /**
238
- * @public
239
- * <p>Lists tags for the specified resource.</p>
133
+ * @see {@link ListTagsForResourceCommand}
240
134
  */
241
135
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
242
136
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
243
137
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
244
138
  /**
245
- * @public
246
- * <p>Creates or updates one or more records and, optionally, creates a health check based on the
247
- * settings in a specified service. When you submit a <code>RegisterInstance</code> request, the
248
- * following occurs:</p>
249
- * <ul>
250
- * <li>
251
- * <p>For each DNS record that you define in the service that's specified by
252
- * <code>ServiceId</code>, a record is created or updated in the hosted zone that's associated
253
- * with the corresponding namespace.</p>
254
- * </li>
255
- * <li>
256
- * <p>If the service includes <code>HealthCheckConfig</code>, a health check is created based on
257
- * the settings in the health check configuration.</p>
258
- * </li>
259
- * <li>
260
- * <p>The health check, if any, is associated with each of the new or updated records.</p>
261
- * </li>
262
- * </ul>
263
- * <important>
264
- * <p>One <code>RegisterInstance</code> request must complete before you can submit another
265
- * request and specify the same service ID and instance ID.</p>
266
- * </important>
267
- * <p>For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html">CreateService</a>.</p>
268
- * <p>When Cloud Map receives a DNS query for the specified DNS name, it returns the applicable
269
- * value:</p>
270
- * <ul>
271
- * <li>
272
- * <p>
273
- * <b>If the health check is healthy</b>: returns all the
274
- * records</p>
275
- * </li>
276
- * <li>
277
- * <p>
278
- * <b>If the health check is unhealthy</b>: returns the applicable
279
- * value for the last healthy instance</p>
280
- * </li>
281
- * <li>
282
- * <p>
283
- * <b>If you didn't specify a health check configuration</b>:
284
- * returns all the records</p>
285
- * </li>
286
- * </ul>
287
- * <p>For the current quota on the number of instances that you can register using the same
288
- * 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
289
- * <i>Cloud Map Developer Guide</i>.</p>
139
+ * @see {@link RegisterInstanceCommand}
290
140
  */
291
141
  registerInstance(args: RegisterInstanceCommandInput, options?: __HttpHandlerOptions): Promise<RegisterInstanceCommandOutput>;
292
142
  registerInstance(args: RegisterInstanceCommandInput, cb: (err: any, data?: RegisterInstanceCommandOutput) => void): void;
293
143
  registerInstance(args: RegisterInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterInstanceCommandOutput) => void): void;
294
144
  /**
295
- * @public
296
- * <p>Adds one or more tags to the specified resource.</p>
145
+ * @see {@link TagResourceCommand}
297
146
  */
298
147
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
299
148
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
300
149
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
301
150
  /**
302
- * @public
303
- * <p>Removes one or more tags from the specified resource.</p>
151
+ * @see {@link UntagResourceCommand}
304
152
  */
305
153
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
306
154
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
307
155
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
308
156
  /**
309
- * @public
310
- * <p>Updates an HTTP
311
- * namespace.</p>
157
+ * @see {@link UpdateHttpNamespaceCommand}
312
158
  */
313
159
  updateHttpNamespace(args: UpdateHttpNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHttpNamespaceCommandOutput>;
314
160
  updateHttpNamespace(args: UpdateHttpNamespaceCommandInput, cb: (err: any, data?: UpdateHttpNamespaceCommandOutput) => void): void;
315
161
  updateHttpNamespace(args: UpdateHttpNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHttpNamespaceCommandOutput) => void): void;
316
162
  /**
317
- * @public
318
- * <p>Submits a request to change the health status of a custom health check to healthy or
319
- * unhealthy.</p>
320
- * <p>You can use <code>UpdateInstanceCustomHealthStatus</code> to change the status only for
321
- * custom health checks, which you define using <code>HealthCheckCustomConfig</code> when you create
322
- * a service. You can't use it to change the status for Route 53 health checks, which you define using
323
- * <code>HealthCheckConfig</code>.</p>
324
- * <p>For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html">HealthCheckCustomConfig</a>.</p>
163
+ * @see {@link UpdateInstanceCustomHealthStatusCommand}
325
164
  */
326
165
  updateInstanceCustomHealthStatus(args: UpdateInstanceCustomHealthStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInstanceCustomHealthStatusCommandOutput>;
327
166
  updateInstanceCustomHealthStatus(args: UpdateInstanceCustomHealthStatusCommandInput, cb: (err: any, data?: UpdateInstanceCustomHealthStatusCommandOutput) => void): void;
328
167
  updateInstanceCustomHealthStatus(args: UpdateInstanceCustomHealthStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInstanceCustomHealthStatusCommandOutput) => void): void;
329
168
  /**
330
- * @public
331
- * <p>Updates a private DNS
332
- * namespace.</p>
169
+ * @see {@link UpdatePrivateDnsNamespaceCommand}
333
170
  */
334
171
  updatePrivateDnsNamespace(args: UpdatePrivateDnsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePrivateDnsNamespaceCommandOutput>;
335
172
  updatePrivateDnsNamespace(args: UpdatePrivateDnsNamespaceCommandInput, cb: (err: any, data?: UpdatePrivateDnsNamespaceCommandOutput) => void): void;
336
173
  updatePrivateDnsNamespace(args: UpdatePrivateDnsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePrivateDnsNamespaceCommandOutput) => void): void;
337
174
  /**
338
- * @public
339
- * <p>Updates a public DNS
340
- * namespace.</p>
175
+ * @see {@link UpdatePublicDnsNamespaceCommand}
341
176
  */
342
177
  updatePublicDnsNamespace(args: UpdatePublicDnsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePublicDnsNamespaceCommandOutput>;
343
178
  updatePublicDnsNamespace(args: UpdatePublicDnsNamespaceCommandInput, cb: (err: any, data?: UpdatePublicDnsNamespaceCommandOutput) => void): void;
344
179
  updatePublicDnsNamespace(args: UpdatePublicDnsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePublicDnsNamespaceCommandOutput) => void): void;
345
180
  /**
346
- * @public
347
- * <p>Submits a request to perform the following operations:</p>
348
- * <ul>
349
- * <li>
350
- * <p>Update the TTL setting for existing <code>DnsRecords</code> configurations</p>
351
- * </li>
352
- * <li>
353
- * <p>Add, update, or delete <code>HealthCheckConfig</code> for a specified service</p>
354
- * <note>
355
- * <p>You can't add, update, or delete a <code>HealthCheckCustomConfig</code>
356
- * configuration.</p>
357
- * </note>
358
- * </li>
359
- * </ul>
360
- * <p>For public and private DNS namespaces, note the following:</p>
361
- * <ul>
362
- * <li>
363
- * <p>If you omit any existing <code>DnsRecords</code> or <code>HealthCheckConfig</code>
364
- * configurations from an <code>UpdateService</code> request, the configurations are deleted from
365
- * the service.</p>
366
- * </li>
367
- * <li>
368
- * <p>If you omit an existing <code>HealthCheckCustomConfig</code> configuration from an
369
- * <code>UpdateService</code> request, the configuration isn't deleted from the service.</p>
370
- * </li>
371
- * </ul>
372
- * <p>When you update settings for a service, Cloud Map also updates the corresponding settings
373
- * in all the records and health checks that were created by using the specified service.</p>
181
+ * @see {@link UpdateServiceCommand}
374
182
  */
375
183
  updateService(args: UpdateServiceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceCommandOutput>;
376
184
  updateService(args: UpdateServiceCommandInput, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
377
185
  updateService(args: UpdateServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceCommandOutput) => void): void;
378
186
  }
187
+ /**
188
+ * @public
189
+ * <fullname>Cloud Map</fullname>
190
+ * <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
191
+ * microservice applications run in. When an instance becomes available, you can call the Cloud Map
192
+ * API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map
193
+ * automatically creates DNS records and an optional health check. Clients that submit public or
194
+ * private DNS queries, or HTTP requests, for the service receive an answer that contains up to
195
+ * eight healthy records. </p>
196
+ */
197
+ export declare class ServiceDiscovery extends ServiceDiscoveryClient implements ServiceDiscovery {
198
+ }
@@ -104,7 +104,7 @@ import {
104
104
  UpdateServiceCommandOutput,
105
105
  } from "./commands/UpdateServiceCommand";
106
106
  import { ServiceDiscoveryClient } from "./ServiceDiscoveryClient";
107
- export declare class ServiceDiscovery extends ServiceDiscoveryClient {
107
+ export interface ServiceDiscovery {
108
108
  createHttpNamespace(
109
109
  args: CreateHttpNamespaceCommandInput,
110
110
  options?: __HttpHandlerOptions
@@ -444,3 +444,6 @@ export declare class ServiceDiscovery extends ServiceDiscoveryClient {
444
444
  cb: (err: any, data?: UpdateServiceCommandOutput) => void
445
445
  ): void;
446
446
  }
447
+ export declare class ServiceDiscovery
448
+ extends ServiceDiscoveryClient
449
+ implements ServiceDiscovery {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-servicediscovery",
3
3
  "description": "AWS SDK for JavaScript Servicediscovery Client for Node.js, Browser and React Native",
4
- "version": "3.312.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",