@aws-sdk/client-iot-data-plane 3.957.0 → 3.962.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,6 @@
7
7
  AWS SDK for JavaScript IoTDataPlane Client for Node.js, Browser and React Native.
8
8
 
9
9
  <fullname>IoT data</fullname>
10
-
11
10
  <p>IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors,
12
11
  actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and
13
12
  things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a
@@ -20,10 +19,8 @@ persistent representation of your things and their state in the Amazon Web Servi
20
19
  to sign requests is: <i>iotdevicegateway</i>.</p>
21
20
 
22
21
  ## Installing
23
-
24
22
  To install this package, simply type add or install @aws-sdk/client-iot-data-plane
25
23
  using your favorite package manager:
26
-
27
24
  - `npm install @aws-sdk/client-iot-data-plane`
28
25
  - `yarn add @aws-sdk/client-iot-data-plane`
29
26
  - `pnpm add @aws-sdk/client-iot-data-plane`
@@ -59,9 +56,7 @@ To send a request, you:
59
56
  // a client can be shared by different commands.
60
57
  const client = new IoTDataPlaneClient({ region: "REGION" });
61
58
 
62
- const params = {
63
- /** input parameters */
64
- };
59
+ const params = { /** input parameters */ };
65
60
  const command = new ListRetainedMessagesCommand(params);
66
61
  ```
67
62
 
@@ -220,7 +215,6 @@ DeleteConnection
220
215
  </summary>
221
216
 
222
217
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-data-plane/command/DeleteConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/DeleteConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/DeleteConnectionCommandOutput/)
223
-
224
218
  </details>
225
219
  <details>
226
220
  <summary>
@@ -228,7 +222,6 @@ DeleteThingShadow
228
222
  </summary>
229
223
 
230
224
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-data-plane/command/DeleteThingShadowCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/DeleteThingShadowCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/DeleteThingShadowCommandOutput/)
231
-
232
225
  </details>
233
226
  <details>
234
227
  <summary>
@@ -236,7 +229,6 @@ GetRetainedMessage
236
229
  </summary>
237
230
 
238
231
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-data-plane/command/GetRetainedMessageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/GetRetainedMessageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/GetRetainedMessageCommandOutput/)
239
-
240
232
  </details>
241
233
  <details>
242
234
  <summary>
@@ -244,7 +236,6 @@ GetThingShadow
244
236
  </summary>
245
237
 
246
238
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-data-plane/command/GetThingShadowCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/GetThingShadowCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/GetThingShadowCommandOutput/)
247
-
248
239
  </details>
249
240
  <details>
250
241
  <summary>
@@ -252,7 +243,6 @@ ListNamedShadowsForThing
252
243
  </summary>
253
244
 
254
245
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-data-plane/command/ListNamedShadowsForThingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/ListNamedShadowsForThingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/ListNamedShadowsForThingCommandOutput/)
255
-
256
246
  </details>
257
247
  <details>
258
248
  <summary>
@@ -260,7 +250,6 @@ ListRetainedMessages
260
250
  </summary>
261
251
 
262
252
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-data-plane/command/ListRetainedMessagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/ListRetainedMessagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/ListRetainedMessagesCommandOutput/)
263
-
264
253
  </details>
265
254
  <details>
266
255
  <summary>
@@ -268,7 +257,6 @@ Publish
268
257
  </summary>
269
258
 
270
259
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-data-plane/command/PublishCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/PublishCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/PublishCommandOutput/)
271
-
272
260
  </details>
273
261
  <details>
274
262
  <summary>
@@ -276,5 +264,4 @@ UpdateThingShadow
276
264
  </summary>
277
265
 
278
266
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot-data-plane/command/UpdateThingShadowCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/UpdateThingShadowCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot-data-plane/Interface/UpdateThingShadowCommandOutput/)
279
-
280
267
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultIoTDataPlaneHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
8
8
  operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
- region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
- (() => {
11
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
- })(),
9
+ region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
13
12
  };
14
13
  };
15
14
  exports.defaultIoTDataPlaneHttpAuthSchemeParametersProvider = defaultIoTDataPlaneHttpAuthSchemeParametersProvider;
package/dist-cjs/index.js CHANGED
@@ -326,219 +326,176 @@ const _xampfi = "x-amz-mqtt5-payload-format-indicator";
326
326
  const _xamup = "x-amz-mqtt5-user-properties";
327
327
  const n0 = "com.amazonaws.iotdataplane";
328
328
  var SynthesizedJsonUserProperties = [0, n0, _SJUP, { [_mT]: _a }, 0];
329
- var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
329
+ var ConflictException$ = [-3, n0, _CE,
330
+ { [_e]: _c, [_hE]: 409 },
331
+ [_m],
332
+ [0]
333
+ ];
330
334
  schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
331
- var DeleteConnectionRequest$ = [
332
- 3,
333
- n0,
334
- _DCR,
335
+ var DeleteConnectionRequest$ = [3, n0, _DCR,
335
336
  0,
336
337
  [_cI, _cS, _pWM],
337
- [
338
- [0, 1],
339
- [2, { [_hQ]: _cS }],
340
- [2, { [_hQ]: _pWM }],
341
- ],
342
- ];
343
- var DeleteThingShadowRequest$ = [
344
- 3,
345
- n0,
346
- _DTSR,
338
+ [[0, 1], [2, { [_hQ]: _cS }], [2, { [_hQ]: _pWM }]]
339
+ ];
340
+ var DeleteThingShadowRequest$ = [3, n0, _DTSR,
347
341
  0,
348
342
  [_tN, _sN],
349
- [
350
- [0, 1],
351
- [0, { [_hQ]: _n }],
352
- ],
343
+ [[0, 1], [0, { [_hQ]: _n }]]
344
+ ];
345
+ var DeleteThingShadowResponse$ = [3, n0, _DTSRe,
346
+ 0,
347
+ [_p],
348
+ [[21, 16]]
349
+ ];
350
+ var ForbiddenException$ = [-3, n0, _FE,
351
+ { [_e]: _c, [_hE]: 403 },
352
+ [_m],
353
+ [0]
353
354
  ];
354
- var DeleteThingShadowResponse$ = [3, n0, _DTSRe, 0, [_p], [[21, 16]]];
355
- var ForbiddenException$ = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
356
355
  schema.TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
357
- var GetRetainedMessageRequest$ = [3, n0, _GRMR, 0, [_t], [[0, 1]]];
358
- var GetRetainedMessageResponse$ = [
359
- 3,
360
- n0,
361
- _GRMRe,
356
+ var GetRetainedMessageRequest$ = [3, n0, _GRMR,
357
+ 0,
358
+ [_t],
359
+ [[0, 1]]
360
+ ];
361
+ var GetRetainedMessageResponse$ = [3, n0, _GRMRe,
362
362
  0,
363
363
  [_t, _p, _q, _lMT, _uP],
364
- [0, 21, 1, 1, 21],
364
+ [0, 21, 1, 1, 21]
365
365
  ];
366
- var GetThingShadowRequest$ = [
367
- 3,
368
- n0,
369
- _GTSR,
366
+ var GetThingShadowRequest$ = [3, n0, _GTSR,
370
367
  0,
371
368
  [_tN, _sN],
372
- [
373
- [0, 1],
374
- [0, { [_hQ]: _n }],
375
- ],
369
+ [[0, 1], [0, { [_hQ]: _n }]]
370
+ ];
371
+ var GetThingShadowResponse$ = [3, n0, _GTSRe,
372
+ 0,
373
+ [_p],
374
+ [[21, 16]]
375
+ ];
376
+ var InternalFailureException$ = [-3, n0, _IFE,
377
+ { [_e]: _s, [_hE]: 500 },
378
+ [_m],
379
+ [0]
376
380
  ];
377
- var GetThingShadowResponse$ = [3, n0, _GTSRe, 0, [_p], [[21, 16]]];
378
- var InternalFailureException$ = [-3, n0, _IFE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
379
381
  schema.TypeRegistry.for(n0).registerError(InternalFailureException$, InternalFailureException);
380
- var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
382
+ var InvalidRequestException$ = [-3, n0, _IRE,
383
+ { [_e]: _c, [_hE]: 400 },
384
+ [_m],
385
+ [0]
386
+ ];
381
387
  schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
382
- var ListNamedShadowsForThingRequest$ = [
383
- 3,
384
- n0,
385
- _LNSFTR,
388
+ var ListNamedShadowsForThingRequest$ = [3, n0, _LNSFTR,
386
389
  0,
387
390
  [_tN, _nT, _pS],
388
- [
389
- [0, 1],
390
- [0, { [_hQ]: _nT }],
391
- [1, { [_hQ]: _pS }],
392
- ],
393
- ];
394
- var ListNamedShadowsForThingResponse$ = [
395
- 3,
396
- n0,
397
- _LNSFTRi,
391
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _pS }]]
392
+ ];
393
+ var ListNamedShadowsForThingResponse$ = [3, n0, _LNSFTRi,
398
394
  0,
399
395
  [_r, _nT, _ti],
400
- [64 | 0, 0, 1],
396
+ [64 | 0, 0, 1]
401
397
  ];
402
- var ListRetainedMessagesRequest$ = [
403
- 3,
404
- n0,
405
- _LRMR,
398
+ var ListRetainedMessagesRequest$ = [3, n0, _LRMR,
406
399
  0,
407
400
  [_nT, _mR],
408
- [
409
- [0, { [_hQ]: _nT }],
410
- [1, { [_hQ]: _mR }],
411
- ],
412
- ];
413
- var ListRetainedMessagesResponse$ = [
414
- 3,
415
- n0,
416
- _LRMRi,
401
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
402
+ ];
403
+ var ListRetainedMessagesResponse$ = [3, n0, _LRMRi,
417
404
  0,
418
405
  [_rT, _nT],
419
- [() => RetainedMessageList, 0],
406
+ [() => RetainedMessageList, 0]
407
+ ];
408
+ var MethodNotAllowedException$ = [-3, n0, _MNAE,
409
+ { [_e]: _c, [_hE]: 405 },
410
+ [_m],
411
+ [0]
420
412
  ];
421
- var MethodNotAllowedException$ = [-3, n0, _MNAE, { [_e]: _c, [_hE]: 405 }, [_m], [0]];
422
413
  schema.TypeRegistry.for(n0).registerError(MethodNotAllowedException$, MethodNotAllowedException);
423
- var PublishRequest$ = [
424
- 3,
425
- n0,
426
- _PR,
414
+ var PublishRequest$ = [3, n0, _PR,
427
415
  0,
428
416
  [_t, _q, _re, _p, _uP, _pFI, _cT, _rTe, _cD, _mE],
429
- [
430
- [0, 1],
431
- [1, { [_hQ]: _q }],
432
- [2, { [_hQ]: _re }],
433
- [21, 16],
434
- [() => SynthesizedJsonUserProperties, { [_hH]: _xamup }],
435
- [0, { [_hH]: _xampfi }],
436
- [0, { [_hQ]: _cT }],
437
- [0, { [_hQ]: _rTe }],
438
- [0, { [_hH]: _xamcd }],
439
- [1, { [_hQ]: _mE }],
440
- ],
441
- ];
442
- var RequestEntityTooLargeException$ = [-3, n0, _RETLE, { [_e]: _c, [_hE]: 413 }, [_m], [0]];
417
+ [[0, 1], [1, { [_hQ]: _q }], [2, { [_hQ]: _re }], [21, 16], [() => SynthesizedJsonUserProperties, { [_hH]: _xamup }], [0, { [_hH]: _xampfi }], [0, { [_hQ]: _cT }], [0, { [_hQ]: _rTe }], [0, { [_hH]: _xamcd }], [1, { [_hQ]: _mE }]]
418
+ ];
419
+ var RequestEntityTooLargeException$ = [-3, n0, _RETLE,
420
+ { [_e]: _c, [_hE]: 413 },
421
+ [_m],
422
+ [0]
423
+ ];
443
424
  schema.TypeRegistry.for(n0).registerError(RequestEntityTooLargeException$, RequestEntityTooLargeException);
444
- var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
425
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
426
+ { [_e]: _c, [_hE]: 404 },
427
+ [_m],
428
+ [0]
429
+ ];
445
430
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
446
- var RetainedMessageSummary$ = [3, n0, _RMS, 0, [_t, _pSa, _q, _lMT], [0, 1, 1, 1]];
447
- var ServiceUnavailableException$ = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_m], [0]];
431
+ var RetainedMessageSummary$ = [3, n0, _RMS,
432
+ 0,
433
+ [_t, _pSa, _q, _lMT],
434
+ [0, 1, 1, 1]
435
+ ];
436
+ var ServiceUnavailableException$ = [-3, n0, _SUE,
437
+ { [_e]: _s, [_hE]: 503 },
438
+ [_m],
439
+ [0]
440
+ ];
448
441
  schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
449
- var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
442
+ var ThrottlingException$ = [-3, n0, _TE,
443
+ { [_e]: _c, [_hE]: 429 },
444
+ [_m],
445
+ [0]
446
+ ];
450
447
  schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
451
- var UnauthorizedException$ = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]];
448
+ var UnauthorizedException$ = [-3, n0, _UE,
449
+ { [_e]: _c, [_hE]: 401 },
450
+ [_m],
451
+ [0]
452
+ ];
452
453
  schema.TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
453
- var UnsupportedDocumentEncodingException$ = [
454
- -3,
455
- n0,
456
- _UDEE,
454
+ var UnsupportedDocumentEncodingException$ = [-3, n0, _UDEE,
457
455
  { [_e]: _c, [_hE]: 415 },
458
456
  [_m],
459
- [0],
457
+ [0]
460
458
  ];
461
459
  schema.TypeRegistry.for(n0).registerError(UnsupportedDocumentEncodingException$, UnsupportedDocumentEncodingException);
462
- var UpdateThingShadowRequest$ = [
463
- 3,
464
- n0,
465
- _UTSR,
460
+ var UpdateThingShadowRequest$ = [3, n0, _UTSR,
466
461
  0,
467
462
  [_tN, _sN, _p],
468
- [
469
- [0, 1],
470
- [0, { [_hQ]: _n }],
471
- [21, 16],
472
- ],
463
+ [[0, 1], [0, { [_hQ]: _n }], [21, 16]]
464
+ ];
465
+ var UpdateThingShadowResponse$ = [3, n0, _UTSRp,
466
+ 0,
467
+ [_p],
468
+ [[21, 16]]
473
469
  ];
474
- var UpdateThingShadowResponse$ = [3, n0, _UTSRp, 0, [_p], [[21, 16]]];
475
470
  var __Unit = "unit";
476
471
  var IoTDataPlaneServiceException$ = [-3, _sm, "IoTDataPlaneServiceException", 0, [], []];
477
472
  schema.TypeRegistry.for(_sm).registerError(IoTDataPlaneServiceException$, IoTDataPlaneServiceException);
478
- var RetainedMessageList = [1, n0, _RML, 0, () => RetainedMessageSummary$];
479
- var DeleteConnection$ = [
480
- 9,
481
- n0,
482
- _DC,
483
- { [_h]: ["DELETE", "/connections/{clientId}", 200] },
484
- () => DeleteConnectionRequest$,
485
- () => __Unit,
486
- ];
487
- var DeleteThingShadow$ = [
488
- 9,
489
- n0,
490
- _DTS,
491
- { [_h]: ["DELETE", "/things/{thingName}/shadow", 200] },
492
- () => DeleteThingShadowRequest$,
493
- () => DeleteThingShadowResponse$,
494
- ];
495
- var GetRetainedMessage$ = [
496
- 9,
497
- n0,
498
- _GRM,
499
- { [_h]: ["GET", "/retainedMessage/{topic}", 200] },
500
- () => GetRetainedMessageRequest$,
501
- () => GetRetainedMessageResponse$,
502
- ];
503
- var GetThingShadow$ = [
504
- 9,
505
- n0,
506
- _GTS,
507
- { [_h]: ["GET", "/things/{thingName}/shadow", 200] },
508
- () => GetThingShadowRequest$,
509
- () => GetThingShadowResponse$,
510
- ];
511
- var ListNamedShadowsForThing$ = [
512
- 9,
513
- n0,
514
- _LNSFT,
515
- { [_h]: ["GET", "/api/things/shadow/ListNamedShadowsForThing/{thingName}", 200] },
516
- () => ListNamedShadowsForThingRequest$,
517
- () => ListNamedShadowsForThingResponse$,
518
- ];
519
- var ListRetainedMessages$ = [
520
- 9,
521
- n0,
522
- _LRM,
523
- { [_h]: ["GET", "/retainedMessage", 200] },
524
- () => ListRetainedMessagesRequest$,
525
- () => ListRetainedMessagesResponse$,
526
- ];
527
- var Publish$ = [
528
- 9,
529
- n0,
530
- _P,
531
- { [_h]: ["POST", "/topics/{topic}", 200] },
532
- () => PublishRequest$,
533
- () => __Unit,
534
- ];
535
- var UpdateThingShadow$ = [
536
- 9,
537
- n0,
538
- _UTS,
539
- { [_h]: ["POST", "/things/{thingName}/shadow", 200] },
540
- () => UpdateThingShadowRequest$,
541
- () => UpdateThingShadowResponse$,
473
+ var RetainedMessageList = [1, n0, _RML,
474
+ 0, () => RetainedMessageSummary$
475
+ ];
476
+ var DeleteConnection$ = [9, n0, _DC,
477
+ { [_h]: ["DELETE", "/connections/{clientId}", 200] }, () => DeleteConnectionRequest$, () => __Unit
478
+ ];
479
+ var DeleteThingShadow$ = [9, n0, _DTS,
480
+ { [_h]: ["DELETE", "/things/{thingName}/shadow", 200] }, () => DeleteThingShadowRequest$, () => DeleteThingShadowResponse$
481
+ ];
482
+ var GetRetainedMessage$ = [9, n0, _GRM,
483
+ { [_h]: ["GET", "/retainedMessage/{topic}", 200] }, () => GetRetainedMessageRequest$, () => GetRetainedMessageResponse$
484
+ ];
485
+ var GetThingShadow$ = [9, n0, _GTS,
486
+ { [_h]: ["GET", "/things/{thingName}/shadow", 200] }, () => GetThingShadowRequest$, () => GetThingShadowResponse$
487
+ ];
488
+ var ListNamedShadowsForThing$ = [9, n0, _LNSFT,
489
+ { [_h]: ["GET", "/api/things/shadow/ListNamedShadowsForThing/{thingName}", 200] }, () => ListNamedShadowsForThingRequest$, () => ListNamedShadowsForThingResponse$
490
+ ];
491
+ var ListRetainedMessages$ = [9, n0, _LRM,
492
+ { [_h]: ["GET", "/retainedMessage", 200] }, () => ListRetainedMessagesRequest$, () => ListRetainedMessagesResponse$
493
+ ];
494
+ var Publish$ = [9, n0, _P,
495
+ { [_h]: ["POST", "/topics/{topic}", 200] }, () => PublishRequest$, () => __Unit
496
+ ];
497
+ var UpdateThingShadow$ = [9, n0, _UTS,
498
+ { [_h]: ["POST", "/things/{thingName}/shadow", 200] }, () => UpdateThingShadowRequest$, () => UpdateThingShadowResponse$
542
499
  ];
543
500
 
544
501
  class DeleteConnectionCommand extends smithyClient.Command
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
24
24
  defaultsMode,
25
25
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
26
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
- (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
28
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
29
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
30
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
34
34
  authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
35
35
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
36
36
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
37
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
38
- (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
37
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
39
38
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
40
- region: config?.region ??
41
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
39
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
42
40
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
43
41
  retryMode: config?.retryMode ??
44
42
  (0, node_config_provider_1.loadConfig)({
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
3
  export const defaultIoTDataPlaneHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
6
- region: (await normalizeProvider(config.region)()) ||
7
- (() => {
8
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
- })(),
6
+ region: await normalizeProvider(config.region)() || (() => {
7
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
+ })(),
10
9
  };
11
10
  };
12
11
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
20
20
  defaultsMode,
21
21
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
22
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
24
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
25
  region: config?.region ?? invalidProvider("Region is missing"),
27
26
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -1,7 +1,7 @@
1
1
  import packageInfo from "../package.json";
2
- import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
3
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
- import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
4
+ import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
5
5
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
6
  import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
30
30
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
31
31
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
32
32
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
33
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
35
34
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
36
- region: config?.region ??
37
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
35
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
38
36
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
39
37
  retryMode: config?.retryMode ??
40
38
  loadNodeConfig({
@@ -77,218 +77,175 @@ import { TypeRegistry } from "@smithy/core/schema";
77
77
  import { ConflictException, ForbiddenException, InternalFailureException, InvalidRequestException, MethodNotAllowedException, RequestEntityTooLargeException, ResourceNotFoundException, ServiceUnavailableException, ThrottlingException, UnauthorizedException, UnsupportedDocumentEncodingException, } from "../models/errors";
78
78
  import { IoTDataPlaneServiceException } from "../models/IoTDataPlaneServiceException";
79
79
  var SynthesizedJsonUserProperties = [0, n0, _SJUP, { [_mT]: _a }, 0];
80
- export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
80
+ export var ConflictException$ = [-3, n0, _CE,
81
+ { [_e]: _c, [_hE]: 409 },
82
+ [_m],
83
+ [0]
84
+ ];
81
85
  TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
82
- export var DeleteConnectionRequest$ = [
83
- 3,
84
- n0,
85
- _DCR,
86
+ export var DeleteConnectionRequest$ = [3, n0, _DCR,
86
87
  0,
87
88
  [_cI, _cS, _pWM],
88
- [
89
- [0, 1],
90
- [2, { [_hQ]: _cS }],
91
- [2, { [_hQ]: _pWM }],
92
- ],
93
- ];
94
- export var DeleteThingShadowRequest$ = [
95
- 3,
96
- n0,
97
- _DTSR,
89
+ [[0, 1], [2, { [_hQ]: _cS }], [2, { [_hQ]: _pWM }]]
90
+ ];
91
+ export var DeleteThingShadowRequest$ = [3, n0, _DTSR,
98
92
  0,
99
93
  [_tN, _sN],
100
- [
101
- [0, 1],
102
- [0, { [_hQ]: _n }],
103
- ],
94
+ [[0, 1], [0, { [_hQ]: _n }]]
95
+ ];
96
+ export var DeleteThingShadowResponse$ = [3, n0, _DTSRe,
97
+ 0,
98
+ [_p],
99
+ [[21, 16]]
100
+ ];
101
+ export var ForbiddenException$ = [-3, n0, _FE,
102
+ { [_e]: _c, [_hE]: 403 },
103
+ [_m],
104
+ [0]
104
105
  ];
105
- export var DeleteThingShadowResponse$ = [3, n0, _DTSRe, 0, [_p], [[21, 16]]];
106
- export var ForbiddenException$ = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
107
106
  TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
108
- export var GetRetainedMessageRequest$ = [3, n0, _GRMR, 0, [_t], [[0, 1]]];
109
- export var GetRetainedMessageResponse$ = [
110
- 3,
111
- n0,
112
- _GRMRe,
107
+ export var GetRetainedMessageRequest$ = [3, n0, _GRMR,
108
+ 0,
109
+ [_t],
110
+ [[0, 1]]
111
+ ];
112
+ export var GetRetainedMessageResponse$ = [3, n0, _GRMRe,
113
113
  0,
114
114
  [_t, _p, _q, _lMT, _uP],
115
- [0, 21, 1, 1, 21],
115
+ [0, 21, 1, 1, 21]
116
116
  ];
117
- export var GetThingShadowRequest$ = [
118
- 3,
119
- n0,
120
- _GTSR,
117
+ export var GetThingShadowRequest$ = [3, n0, _GTSR,
121
118
  0,
122
119
  [_tN, _sN],
123
- [
124
- [0, 1],
125
- [0, { [_hQ]: _n }],
126
- ],
120
+ [[0, 1], [0, { [_hQ]: _n }]]
121
+ ];
122
+ export var GetThingShadowResponse$ = [3, n0, _GTSRe,
123
+ 0,
124
+ [_p],
125
+ [[21, 16]]
126
+ ];
127
+ export var InternalFailureException$ = [-3, n0, _IFE,
128
+ { [_e]: _s, [_hE]: 500 },
129
+ [_m],
130
+ [0]
127
131
  ];
128
- export var GetThingShadowResponse$ = [3, n0, _GTSRe, 0, [_p], [[21, 16]]];
129
- export var InternalFailureException$ = [-3, n0, _IFE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
130
132
  TypeRegistry.for(n0).registerError(InternalFailureException$, InternalFailureException);
131
- export var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
133
+ export var InvalidRequestException$ = [-3, n0, _IRE,
134
+ { [_e]: _c, [_hE]: 400 },
135
+ [_m],
136
+ [0]
137
+ ];
132
138
  TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
133
- export var ListNamedShadowsForThingRequest$ = [
134
- 3,
135
- n0,
136
- _LNSFTR,
139
+ export var ListNamedShadowsForThingRequest$ = [3, n0, _LNSFTR,
137
140
  0,
138
141
  [_tN, _nT, _pS],
139
- [
140
- [0, 1],
141
- [0, { [_hQ]: _nT }],
142
- [1, { [_hQ]: _pS }],
143
- ],
144
- ];
145
- export var ListNamedShadowsForThingResponse$ = [
146
- 3,
147
- n0,
148
- _LNSFTRi,
142
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _pS }]]
143
+ ];
144
+ export var ListNamedShadowsForThingResponse$ = [3, n0, _LNSFTRi,
149
145
  0,
150
146
  [_r, _nT, _ti],
151
- [64 | 0, 0, 1],
147
+ [64 | 0, 0, 1]
152
148
  ];
153
- export var ListRetainedMessagesRequest$ = [
154
- 3,
155
- n0,
156
- _LRMR,
149
+ export var ListRetainedMessagesRequest$ = [3, n0, _LRMR,
157
150
  0,
158
151
  [_nT, _mR],
159
- [
160
- [0, { [_hQ]: _nT }],
161
- [1, { [_hQ]: _mR }],
162
- ],
163
- ];
164
- export var ListRetainedMessagesResponse$ = [
165
- 3,
166
- n0,
167
- _LRMRi,
152
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
153
+ ];
154
+ export var ListRetainedMessagesResponse$ = [3, n0, _LRMRi,
168
155
  0,
169
156
  [_rT, _nT],
170
- [() => RetainedMessageList, 0],
157
+ [() => RetainedMessageList, 0]
158
+ ];
159
+ export var MethodNotAllowedException$ = [-3, n0, _MNAE,
160
+ { [_e]: _c, [_hE]: 405 },
161
+ [_m],
162
+ [0]
171
163
  ];
172
- export var MethodNotAllowedException$ = [-3, n0, _MNAE, { [_e]: _c, [_hE]: 405 }, [_m], [0]];
173
164
  TypeRegistry.for(n0).registerError(MethodNotAllowedException$, MethodNotAllowedException);
174
- export var PublishRequest$ = [
175
- 3,
176
- n0,
177
- _PR,
165
+ export var PublishRequest$ = [3, n0, _PR,
178
166
  0,
179
167
  [_t, _q, _re, _p, _uP, _pFI, _cT, _rTe, _cD, _mE],
180
- [
181
- [0, 1],
182
- [1, { [_hQ]: _q }],
183
- [2, { [_hQ]: _re }],
184
- [21, 16],
185
- [() => SynthesizedJsonUserProperties, { [_hH]: _xamup }],
186
- [0, { [_hH]: _xampfi }],
187
- [0, { [_hQ]: _cT }],
188
- [0, { [_hQ]: _rTe }],
189
- [0, { [_hH]: _xamcd }],
190
- [1, { [_hQ]: _mE }],
191
- ],
192
- ];
193
- export var RequestEntityTooLargeException$ = [-3, n0, _RETLE, { [_e]: _c, [_hE]: 413 }, [_m], [0]];
168
+ [[0, 1], [1, { [_hQ]: _q }], [2, { [_hQ]: _re }], [21, 16], [() => SynthesizedJsonUserProperties, { [_hH]: _xamup }], [0, { [_hH]: _xampfi }], [0, { [_hQ]: _cT }], [0, { [_hQ]: _rTe }], [0, { [_hH]: _xamcd }], [1, { [_hQ]: _mE }]]
169
+ ];
170
+ export var RequestEntityTooLargeException$ = [-3, n0, _RETLE,
171
+ { [_e]: _c, [_hE]: 413 },
172
+ [_m],
173
+ [0]
174
+ ];
194
175
  TypeRegistry.for(n0).registerError(RequestEntityTooLargeException$, RequestEntityTooLargeException);
195
- export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
176
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
177
+ { [_e]: _c, [_hE]: 404 },
178
+ [_m],
179
+ [0]
180
+ ];
196
181
  TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
197
- export var RetainedMessageSummary$ = [3, n0, _RMS, 0, [_t, _pSa, _q, _lMT], [0, 1, 1, 1]];
198
- export var ServiceUnavailableException$ = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_m], [0]];
182
+ export var RetainedMessageSummary$ = [3, n0, _RMS,
183
+ 0,
184
+ [_t, _pSa, _q, _lMT],
185
+ [0, 1, 1, 1]
186
+ ];
187
+ export var ServiceUnavailableException$ = [-3, n0, _SUE,
188
+ { [_e]: _s, [_hE]: 503 },
189
+ [_m],
190
+ [0]
191
+ ];
199
192
  TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
200
- export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
193
+ export var ThrottlingException$ = [-3, n0, _TE,
194
+ { [_e]: _c, [_hE]: 429 },
195
+ [_m],
196
+ [0]
197
+ ];
201
198
  TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
202
- export var UnauthorizedException$ = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]];
199
+ export var UnauthorizedException$ = [-3, n0, _UE,
200
+ { [_e]: _c, [_hE]: 401 },
201
+ [_m],
202
+ [0]
203
+ ];
203
204
  TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
204
- export var UnsupportedDocumentEncodingException$ = [
205
- -3,
206
- n0,
207
- _UDEE,
205
+ export var UnsupportedDocumentEncodingException$ = [-3, n0, _UDEE,
208
206
  { [_e]: _c, [_hE]: 415 },
209
207
  [_m],
210
- [0],
208
+ [0]
211
209
  ];
212
210
  TypeRegistry.for(n0).registerError(UnsupportedDocumentEncodingException$, UnsupportedDocumentEncodingException);
213
- export var UpdateThingShadowRequest$ = [
214
- 3,
215
- n0,
216
- _UTSR,
211
+ export var UpdateThingShadowRequest$ = [3, n0, _UTSR,
217
212
  0,
218
213
  [_tN, _sN, _p],
219
- [
220
- [0, 1],
221
- [0, { [_hQ]: _n }],
222
- [21, 16],
223
- ],
214
+ [[0, 1], [0, { [_hQ]: _n }], [21, 16]]
215
+ ];
216
+ export var UpdateThingShadowResponse$ = [3, n0, _UTSRp,
217
+ 0,
218
+ [_p],
219
+ [[21, 16]]
224
220
  ];
225
- export var UpdateThingShadowResponse$ = [3, n0, _UTSRp, 0, [_p], [[21, 16]]];
226
221
  var __Unit = "unit";
227
222
  export var IoTDataPlaneServiceException$ = [-3, _sm, "IoTDataPlaneServiceException", 0, [], []];
228
223
  TypeRegistry.for(_sm).registerError(IoTDataPlaneServiceException$, IoTDataPlaneServiceException);
229
224
  var NamedShadowList = 64 | 0;
230
- var RetainedMessageList = [1, n0, _RML, 0, () => RetainedMessageSummary$];
231
- export var DeleteConnection$ = [
232
- 9,
233
- n0,
234
- _DC,
235
- { [_h]: ["DELETE", "/connections/{clientId}", 200] },
236
- () => DeleteConnectionRequest$,
237
- () => __Unit,
238
- ];
239
- export var DeleteThingShadow$ = [
240
- 9,
241
- n0,
242
- _DTS,
243
- { [_h]: ["DELETE", "/things/{thingName}/shadow", 200] },
244
- () => DeleteThingShadowRequest$,
245
- () => DeleteThingShadowResponse$,
246
- ];
247
- export var GetRetainedMessage$ = [
248
- 9,
249
- n0,
250
- _GRM,
251
- { [_h]: ["GET", "/retainedMessage/{topic}", 200] },
252
- () => GetRetainedMessageRequest$,
253
- () => GetRetainedMessageResponse$,
254
- ];
255
- export var GetThingShadow$ = [
256
- 9,
257
- n0,
258
- _GTS,
259
- { [_h]: ["GET", "/things/{thingName}/shadow", 200] },
260
- () => GetThingShadowRequest$,
261
- () => GetThingShadowResponse$,
262
- ];
263
- export var ListNamedShadowsForThing$ = [
264
- 9,
265
- n0,
266
- _LNSFT,
267
- { [_h]: ["GET", "/api/things/shadow/ListNamedShadowsForThing/{thingName}", 200] },
268
- () => ListNamedShadowsForThingRequest$,
269
- () => ListNamedShadowsForThingResponse$,
270
- ];
271
- export var ListRetainedMessages$ = [
272
- 9,
273
- n0,
274
- _LRM,
275
- { [_h]: ["GET", "/retainedMessage", 200] },
276
- () => ListRetainedMessagesRequest$,
277
- () => ListRetainedMessagesResponse$,
278
- ];
279
- export var Publish$ = [
280
- 9,
281
- n0,
282
- _P,
283
- { [_h]: ["POST", "/topics/{topic}", 200] },
284
- () => PublishRequest$,
285
- () => __Unit,
286
- ];
287
- export var UpdateThingShadow$ = [
288
- 9,
289
- n0,
290
- _UTS,
291
- { [_h]: ["POST", "/things/{thingName}/shadow", 200] },
292
- () => UpdateThingShadowRequest$,
293
- () => UpdateThingShadowResponse$,
225
+ var RetainedMessageList = [1, n0, _RML,
226
+ 0, () => RetainedMessageSummary$
227
+ ];
228
+ export var DeleteConnection$ = [9, n0, _DC,
229
+ { [_h]: ["DELETE", "/connections/{clientId}", 200] }, () => DeleteConnectionRequest$, () => __Unit
230
+ ];
231
+ export var DeleteThingShadow$ = [9, n0, _DTS,
232
+ { [_h]: ["DELETE", "/things/{thingName}/shadow", 200] }, () => DeleteThingShadowRequest$, () => DeleteThingShadowResponse$
233
+ ];
234
+ export var GetRetainedMessage$ = [9, n0, _GRM,
235
+ { [_h]: ["GET", "/retainedMessage/{topic}", 200] }, () => GetRetainedMessageRequest$, () => GetRetainedMessageResponse$
236
+ ];
237
+ export var GetThingShadow$ = [9, n0, _GTS,
238
+ { [_h]: ["GET", "/things/{thingName}/shadow", 200] }, () => GetThingShadowRequest$, () => GetThingShadowResponse$
239
+ ];
240
+ export var ListNamedShadowsForThing$ = [9, n0, _LNSFT,
241
+ { [_h]: ["GET", "/api/things/shadow/ListNamedShadowsForThing/{thingName}", 200] }, () => ListNamedShadowsForThingRequest$, () => ListNamedShadowsForThingResponse$
242
+ ];
243
+ export var ListRetainedMessages$ = [9, n0, _LRM,
244
+ { [_h]: ["GET", "/retainedMessage", 200] }, () => ListRetainedMessagesRequest$, () => ListRetainedMessagesResponse$
245
+ ];
246
+ export var Publish$ = [9, n0, _P,
247
+ { [_h]: ["POST", "/topics/{topic}", 200] }, () => PublishRequest$, () => __Unit
248
+ ];
249
+ export var UpdateThingShadow$ = [9, n0, _UTS,
250
+ { [_h]: ["POST", "/things/{thingName}/shadow", 200] }, () => UpdateThingShadowRequest$, () => UpdateThingShadowResponse$
294
251
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-data-plane",
3
3
  "description": "AWS SDK for JavaScript Iot Data Plane Client for Node.js, Browser and React Native",
4
- "version": "3.957.0",
4
+ "version": "3.962.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iot-data-plane",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.957.0",
25
+ "@aws-sdk/credential-provider-node": "3.962.0",
26
26
  "@aws-sdk/middleware-host-header": "3.957.0",
27
27
  "@aws-sdk/middleware-logger": "3.957.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.957.0",