@aws-sdk/client-iot-data-plane 3.948.0 → 3.953.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/dist-cjs/index.js CHANGED
@@ -110,14 +110,14 @@ class IoTDataPlaneClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let IoTDataPlaneServiceException$1 = class IoTDataPlaneServiceException extends smithyClient.ServiceException {
113
+ class IoTDataPlaneServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, IoTDataPlaneServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let ConflictException$1 = class ConflictException extends IoTDataPlaneServiceException$1 {
120
+ class ConflictException extends IoTDataPlaneServiceException {
121
121
  name = "ConflictException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ let ConflictException$1 = class ConflictException extends IoTDataPlaneServiceExc
128
128
  });
129
129
  Object.setPrototypeOf(this, ConflictException.prototype);
130
130
  }
131
- };
132
- let ForbiddenException$1 = class ForbiddenException extends IoTDataPlaneServiceException$1 {
131
+ }
132
+ class ForbiddenException extends IoTDataPlaneServiceException {
133
133
  name = "ForbiddenException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ let ForbiddenException$1 = class ForbiddenException extends IoTDataPlaneServiceE
140
140
  });
141
141
  Object.setPrototypeOf(this, ForbiddenException.prototype);
142
142
  }
143
- };
144
- let InternalFailureException$1 = class InternalFailureException extends IoTDataPlaneServiceException$1 {
143
+ }
144
+ class InternalFailureException extends IoTDataPlaneServiceException {
145
145
  name = "InternalFailureException";
146
146
  $fault = "server";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ let InternalFailureException$1 = class InternalFailureException extends IoTDataP
152
152
  });
153
153
  Object.setPrototypeOf(this, InternalFailureException.prototype);
154
154
  }
155
- };
156
- let InvalidRequestException$1 = class InvalidRequestException extends IoTDataPlaneServiceException$1 {
155
+ }
156
+ class InvalidRequestException extends IoTDataPlaneServiceException {
157
157
  name = "InvalidRequestException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ let InvalidRequestException$1 = class InvalidRequestException extends IoTDataPla
164
164
  });
165
165
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
166
166
  }
167
- };
168
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends IoTDataPlaneServiceException$1 {
167
+ }
168
+ class ResourceNotFoundException extends IoTDataPlaneServiceException {
169
169
  name = "ResourceNotFoundException";
170
170
  $fault = "client";
171
171
  constructor(opts) {
@@ -176,8 +176,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends IoTDat
176
176
  });
177
177
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
178
178
  }
179
- };
180
- let ThrottlingException$1 = class ThrottlingException extends IoTDataPlaneServiceException$1 {
179
+ }
180
+ class ThrottlingException extends IoTDataPlaneServiceException {
181
181
  name = "ThrottlingException";
182
182
  $fault = "client";
183
183
  constructor(opts) {
@@ -188,8 +188,8 @@ let ThrottlingException$1 = class ThrottlingException extends IoTDataPlaneServic
188
188
  });
189
189
  Object.setPrototypeOf(this, ThrottlingException.prototype);
190
190
  }
191
- };
192
- let MethodNotAllowedException$1 = class MethodNotAllowedException extends IoTDataPlaneServiceException$1 {
191
+ }
192
+ class MethodNotAllowedException extends IoTDataPlaneServiceException {
193
193
  name = "MethodNotAllowedException";
194
194
  $fault = "client";
195
195
  constructor(opts) {
@@ -200,8 +200,8 @@ let MethodNotAllowedException$1 = class MethodNotAllowedException extends IoTDat
200
200
  });
201
201
  Object.setPrototypeOf(this, MethodNotAllowedException.prototype);
202
202
  }
203
- };
204
- let ServiceUnavailableException$1 = class ServiceUnavailableException extends IoTDataPlaneServiceException$1 {
203
+ }
204
+ class ServiceUnavailableException extends IoTDataPlaneServiceException {
205
205
  name = "ServiceUnavailableException";
206
206
  $fault = "server";
207
207
  constructor(opts) {
@@ -212,8 +212,8 @@ let ServiceUnavailableException$1 = class ServiceUnavailableException extends Io
212
212
  });
213
213
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
214
214
  }
215
- };
216
- let UnauthorizedException$1 = class UnauthorizedException extends IoTDataPlaneServiceException$1 {
215
+ }
216
+ class UnauthorizedException extends IoTDataPlaneServiceException {
217
217
  name = "UnauthorizedException";
218
218
  $fault = "client";
219
219
  constructor(opts) {
@@ -224,8 +224,8 @@ let UnauthorizedException$1 = class UnauthorizedException extends IoTDataPlaneSe
224
224
  });
225
225
  Object.setPrototypeOf(this, UnauthorizedException.prototype);
226
226
  }
227
- };
228
- let UnsupportedDocumentEncodingException$1 = class UnsupportedDocumentEncodingException extends IoTDataPlaneServiceException$1 {
227
+ }
228
+ class UnsupportedDocumentEncodingException extends IoTDataPlaneServiceException {
229
229
  name = "UnsupportedDocumentEncodingException";
230
230
  $fault = "client";
231
231
  constructor(opts) {
@@ -236,8 +236,8 @@ let UnsupportedDocumentEncodingException$1 = class UnsupportedDocumentEncodingEx
236
236
  });
237
237
  Object.setPrototypeOf(this, UnsupportedDocumentEncodingException.prototype);
238
238
  }
239
- };
240
- let RequestEntityTooLargeException$1 = class RequestEntityTooLargeException extends IoTDataPlaneServiceException$1 {
239
+ }
240
+ class RequestEntityTooLargeException extends IoTDataPlaneServiceException {
241
241
  name = "RequestEntityTooLargeException";
242
242
  $fault = "client";
243
243
  constructor(opts) {
@@ -248,7 +248,7 @@ let RequestEntityTooLargeException$1 = class RequestEntityTooLargeException exte
248
248
  });
249
249
  Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype);
250
250
  }
251
- };
251
+ }
252
252
 
253
253
  const _CE = "ConflictException";
254
254
  const _DC = "DeleteConnection";
@@ -326,9 +326,9 @@ 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]];
330
- schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
331
- var DeleteConnectionRequest = [
329
+ var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
330
+ schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
331
+ var DeleteConnectionRequest$ = [
332
332
  3,
333
333
  n0,
334
334
  _DCR,
@@ -340,7 +340,7 @@ var DeleteConnectionRequest = [
340
340
  [2, { [_hQ]: _pWM }],
341
341
  ],
342
342
  ];
343
- var DeleteThingShadowRequest = [
343
+ var DeleteThingShadowRequest$ = [
344
344
  3,
345
345
  n0,
346
346
  _DTSR,
@@ -351,11 +351,11 @@ var DeleteThingShadowRequest = [
351
351
  [0, { [_hQ]: _n }],
352
352
  ],
353
353
  ];
354
- var DeleteThingShadowResponse = [3, n0, _DTSRe, 0, [_p], [[21, 16]]];
355
- var ForbiddenException = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
356
- schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
357
- var GetRetainedMessageRequest = [3, n0, _GRMR, 0, [_t], [[0, 1]]];
358
- var GetRetainedMessageResponse = [
354
+ var DeleteThingShadowResponse$ = [3, n0, _DTSRe, 0, [_p], [[21, 16]]];
355
+ var ForbiddenException$ = [-3, n0, _FE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
356
+ schema.TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
357
+ var GetRetainedMessageRequest$ = [3, n0, _GRMR, 0, [_t], [[0, 1]]];
358
+ var GetRetainedMessageResponse$ = [
359
359
  3,
360
360
  n0,
361
361
  _GRMRe,
@@ -363,7 +363,7 @@ var GetRetainedMessageResponse = [
363
363
  [_t, _p, _q, _lMT, _uP],
364
364
  [0, 21, 1, 1, 21],
365
365
  ];
366
- var GetThingShadowRequest = [
366
+ var GetThingShadowRequest$ = [
367
367
  3,
368
368
  n0,
369
369
  _GTSR,
@@ -374,12 +374,12 @@ var GetThingShadowRequest = [
374
374
  [0, { [_hQ]: _n }],
375
375
  ],
376
376
  ];
377
- var GetThingShadowResponse = [3, n0, _GTSRe, 0, [_p], [[21, 16]]];
378
- var InternalFailureException = [-3, n0, _IFE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
379
- schema.TypeRegistry.for(n0).registerError(InternalFailureException, InternalFailureException$1);
380
- var InvalidRequestException = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
381
- schema.TypeRegistry.for(n0).registerError(InvalidRequestException, InvalidRequestException$1);
382
- var ListNamedShadowsForThingRequest = [
377
+ var GetThingShadowResponse$ = [3, n0, _GTSRe, 0, [_p], [[21, 16]]];
378
+ var InternalFailureException$ = [-3, n0, _IFE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
379
+ schema.TypeRegistry.for(n0).registerError(InternalFailureException$, InternalFailureException);
380
+ var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
381
+ schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
382
+ var ListNamedShadowsForThingRequest$ = [
383
383
  3,
384
384
  n0,
385
385
  _LNSFTR,
@@ -391,7 +391,7 @@ var ListNamedShadowsForThingRequest = [
391
391
  [1, { [_hQ]: _pS }],
392
392
  ],
393
393
  ];
394
- var ListNamedShadowsForThingResponse = [
394
+ var ListNamedShadowsForThingResponse$ = [
395
395
  3,
396
396
  n0,
397
397
  _LNSFTRi,
@@ -399,7 +399,7 @@ var ListNamedShadowsForThingResponse = [
399
399
  [_r, _nT, _ti],
400
400
  [64 | 0, 0, 1],
401
401
  ];
402
- var ListRetainedMessagesRequest = [
402
+ var ListRetainedMessagesRequest$ = [
403
403
  3,
404
404
  n0,
405
405
  _LRMR,
@@ -410,7 +410,7 @@ var ListRetainedMessagesRequest = [
410
410
  [1, { [_hQ]: _mR }],
411
411
  ],
412
412
  ];
413
- var ListRetainedMessagesResponse = [
413
+ var ListRetainedMessagesResponse$ = [
414
414
  3,
415
415
  n0,
416
416
  _LRMRi,
@@ -418,9 +418,9 @@ var ListRetainedMessagesResponse = [
418
418
  [_rT, _nT],
419
419
  [() => RetainedMessageList, 0],
420
420
  ];
421
- var MethodNotAllowedException = [-3, n0, _MNAE, { [_e]: _c, [_hE]: 405 }, [_m], [0]];
422
- schema.TypeRegistry.for(n0).registerError(MethodNotAllowedException, MethodNotAllowedException$1);
423
- var PublishRequest = [
421
+ var MethodNotAllowedException$ = [-3, n0, _MNAE, { [_e]: _c, [_hE]: 405 }, [_m], [0]];
422
+ schema.TypeRegistry.for(n0).registerError(MethodNotAllowedException$, MethodNotAllowedException);
423
+ var PublishRequest$ = [
424
424
  3,
425
425
  n0,
426
426
  _PR,
@@ -439,18 +439,18 @@ var PublishRequest = [
439
439
  [1, { [_hQ]: _mE }],
440
440
  ],
441
441
  ];
442
- var RequestEntityTooLargeException = [-3, n0, _RETLE, { [_e]: _c, [_hE]: 413 }, [_m], [0]];
443
- schema.TypeRegistry.for(n0).registerError(RequestEntityTooLargeException, RequestEntityTooLargeException$1);
444
- var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
445
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
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]];
448
- schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
449
- var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
450
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
451
- var UnauthorizedException = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]];
452
- schema.TypeRegistry.for(n0).registerError(UnauthorizedException, UnauthorizedException$1);
453
- var UnsupportedDocumentEncodingException = [
442
+ var RequestEntityTooLargeException$ = [-3, n0, _RETLE, { [_e]: _c, [_hE]: 413 }, [_m], [0]];
443
+ schema.TypeRegistry.for(n0).registerError(RequestEntityTooLargeException$, RequestEntityTooLargeException);
444
+ var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
445
+ 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]];
448
+ schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
449
+ var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
450
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
451
+ var UnauthorizedException$ = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]];
452
+ schema.TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
453
+ var UnsupportedDocumentEncodingException$ = [
454
454
  -3,
455
455
  n0,
456
456
  _UDEE,
@@ -458,8 +458,8 @@ var UnsupportedDocumentEncodingException = [
458
458
  [_m],
459
459
  [0],
460
460
  ];
461
- schema.TypeRegistry.for(n0).registerError(UnsupportedDocumentEncodingException, UnsupportedDocumentEncodingException$1);
462
- var UpdateThingShadowRequest = [
461
+ schema.TypeRegistry.for(n0).registerError(UnsupportedDocumentEncodingException$, UnsupportedDocumentEncodingException);
462
+ var UpdateThingShadowRequest$ = [
463
463
  3,
464
464
  n0,
465
465
  _UTSR,
@@ -471,74 +471,74 @@ var UpdateThingShadowRequest = [
471
471
  [21, 16],
472
472
  ],
473
473
  ];
474
- var UpdateThingShadowResponse = [3, n0, _UTSRp, 0, [_p], [[21, 16]]];
474
+ var UpdateThingShadowResponse$ = [3, n0, _UTSRp, 0, [_p], [[21, 16]]];
475
475
  var __Unit = "unit";
476
- var IoTDataPlaneServiceException = [-3, _sm, "IoTDataPlaneServiceException", 0, [], []];
477
- schema.TypeRegistry.for(_sm).registerError(IoTDataPlaneServiceException, IoTDataPlaneServiceException$1);
478
- var RetainedMessageList = [1, n0, _RML, 0, () => RetainedMessageSummary];
479
- var DeleteConnection = [
476
+ var IoTDataPlaneServiceException$ = [-3, _sm, "IoTDataPlaneServiceException", 0, [], []];
477
+ schema.TypeRegistry.for(_sm).registerError(IoTDataPlaneServiceException$, IoTDataPlaneServiceException);
478
+ var RetainedMessageList = [1, n0, _RML, 0, () => RetainedMessageSummary$];
479
+ var DeleteConnection$ = [
480
480
  9,
481
481
  n0,
482
482
  _DC,
483
483
  { [_h]: ["DELETE", "/connections/{clientId}", 200] },
484
- () => DeleteConnectionRequest,
484
+ () => DeleteConnectionRequest$,
485
485
  () => __Unit,
486
486
  ];
487
- var DeleteThingShadow = [
487
+ var DeleteThingShadow$ = [
488
488
  9,
489
489
  n0,
490
490
  _DTS,
491
491
  { [_h]: ["DELETE", "/things/{thingName}/shadow", 200] },
492
- () => DeleteThingShadowRequest,
493
- () => DeleteThingShadowResponse,
492
+ () => DeleteThingShadowRequest$,
493
+ () => DeleteThingShadowResponse$,
494
494
  ];
495
- var GetRetainedMessage = [
495
+ var GetRetainedMessage$ = [
496
496
  9,
497
497
  n0,
498
498
  _GRM,
499
499
  { [_h]: ["GET", "/retainedMessage/{topic}", 200] },
500
- () => GetRetainedMessageRequest,
501
- () => GetRetainedMessageResponse,
500
+ () => GetRetainedMessageRequest$,
501
+ () => GetRetainedMessageResponse$,
502
502
  ];
503
- var GetThingShadow = [
503
+ var GetThingShadow$ = [
504
504
  9,
505
505
  n0,
506
506
  _GTS,
507
507
  { [_h]: ["GET", "/things/{thingName}/shadow", 200] },
508
- () => GetThingShadowRequest,
509
- () => GetThingShadowResponse,
508
+ () => GetThingShadowRequest$,
509
+ () => GetThingShadowResponse$,
510
510
  ];
511
- var ListNamedShadowsForThing = [
511
+ var ListNamedShadowsForThing$ = [
512
512
  9,
513
513
  n0,
514
514
  _LNSFT,
515
515
  { [_h]: ["GET", "/api/things/shadow/ListNamedShadowsForThing/{thingName}", 200] },
516
- () => ListNamedShadowsForThingRequest,
517
- () => ListNamedShadowsForThingResponse,
516
+ () => ListNamedShadowsForThingRequest$,
517
+ () => ListNamedShadowsForThingResponse$,
518
518
  ];
519
- var ListRetainedMessages = [
519
+ var ListRetainedMessages$ = [
520
520
  9,
521
521
  n0,
522
522
  _LRM,
523
523
  { [_h]: ["GET", "/retainedMessage", 200] },
524
- () => ListRetainedMessagesRequest,
525
- () => ListRetainedMessagesResponse,
524
+ () => ListRetainedMessagesRequest$,
525
+ () => ListRetainedMessagesResponse$,
526
526
  ];
527
- var Publish = [
527
+ var Publish$ = [
528
528
  9,
529
529
  n0,
530
530
  _P,
531
531
  { [_h]: ["POST", "/topics/{topic}", 200] },
532
- () => PublishRequest,
532
+ () => PublishRequest$,
533
533
  () => __Unit,
534
534
  ];
535
- var UpdateThingShadow = [
535
+ var UpdateThingShadow$ = [
536
536
  9,
537
537
  n0,
538
538
  _UTS,
539
539
  { [_h]: ["POST", "/things/{thingName}/shadow", 200] },
540
- () => UpdateThingShadowRequest,
541
- () => UpdateThingShadowResponse,
540
+ () => UpdateThingShadowRequest$,
541
+ () => UpdateThingShadowResponse$,
542
542
  ];
543
543
 
544
544
  class DeleteConnectionCommand extends smithyClient.Command
@@ -549,7 +549,7 @@ class DeleteConnectionCommand extends smithyClient.Command
549
549
  })
550
550
  .s("IotMoonrakerService", "DeleteConnection", {})
551
551
  .n("IoTDataPlaneClient", "DeleteConnectionCommand")
552
- .sc(DeleteConnection)
552
+ .sc(DeleteConnection$)
553
553
  .build() {
554
554
  }
555
555
 
@@ -561,7 +561,7 @@ class DeleteThingShadowCommand extends smithyClient.Command
561
561
  })
562
562
  .s("IotMoonrakerService", "DeleteThingShadow", {})
563
563
  .n("IoTDataPlaneClient", "DeleteThingShadowCommand")
564
- .sc(DeleteThingShadow)
564
+ .sc(DeleteThingShadow$)
565
565
  .build() {
566
566
  }
567
567
 
@@ -573,7 +573,7 @@ class GetRetainedMessageCommand extends smithyClient.Command
573
573
  })
574
574
  .s("IotMoonrakerService", "GetRetainedMessage", {})
575
575
  .n("IoTDataPlaneClient", "GetRetainedMessageCommand")
576
- .sc(GetRetainedMessage)
576
+ .sc(GetRetainedMessage$)
577
577
  .build() {
578
578
  }
579
579
 
@@ -585,7 +585,7 @@ class GetThingShadowCommand extends smithyClient.Command
585
585
  })
586
586
  .s("IotMoonrakerService", "GetThingShadow", {})
587
587
  .n("IoTDataPlaneClient", "GetThingShadowCommand")
588
- .sc(GetThingShadow)
588
+ .sc(GetThingShadow$)
589
589
  .build() {
590
590
  }
591
591
 
@@ -597,7 +597,7 @@ class ListNamedShadowsForThingCommand extends smithyClient.Command
597
597
  })
598
598
  .s("IotMoonrakerService", "ListNamedShadowsForThing", {})
599
599
  .n("IoTDataPlaneClient", "ListNamedShadowsForThingCommand")
600
- .sc(ListNamedShadowsForThing)
600
+ .sc(ListNamedShadowsForThing$)
601
601
  .build() {
602
602
  }
603
603
 
@@ -609,7 +609,7 @@ class ListRetainedMessagesCommand extends smithyClient.Command
609
609
  })
610
610
  .s("IotMoonrakerService", "ListRetainedMessages", {})
611
611
  .n("IoTDataPlaneClient", "ListRetainedMessagesCommand")
612
- .sc(ListRetainedMessages)
612
+ .sc(ListRetainedMessages$)
613
613
  .build() {
614
614
  }
615
615
 
@@ -621,7 +621,7 @@ class PublishCommand extends smithyClient.Command
621
621
  })
622
622
  .s("IotMoonrakerService", "Publish", {})
623
623
  .n("IoTDataPlaneClient", "PublishCommand")
624
- .sc(Publish)
624
+ .sc(Publish$)
625
625
  .build() {
626
626
  }
627
627
 
@@ -633,7 +633,7 @@ class UpdateThingShadowCommand extends smithyClient.Command
633
633
  })
634
634
  .s("IotMoonrakerService", "UpdateThingShadow", {})
635
635
  .n("IoTDataPlaneClient", "UpdateThingShadowCommand")
636
- .sc(UpdateThingShadow)
636
+ .sc(UpdateThingShadow$)
637
637
  .build() {
638
638
  }
639
639
 
@@ -666,27 +666,62 @@ Object.defineProperty(exports, "__Client", {
666
666
  enumerable: true,
667
667
  get: function () { return smithyClient.Client; }
668
668
  });
669
- exports.ConflictException = ConflictException$1;
669
+ exports.ConflictException = ConflictException;
670
+ exports.ConflictException$ = ConflictException$;
671
+ exports.DeleteConnection$ = DeleteConnection$;
670
672
  exports.DeleteConnectionCommand = DeleteConnectionCommand;
673
+ exports.DeleteConnectionRequest$ = DeleteConnectionRequest$;
674
+ exports.DeleteThingShadow$ = DeleteThingShadow$;
671
675
  exports.DeleteThingShadowCommand = DeleteThingShadowCommand;
672
- exports.ForbiddenException = ForbiddenException$1;
676
+ exports.DeleteThingShadowRequest$ = DeleteThingShadowRequest$;
677
+ exports.DeleteThingShadowResponse$ = DeleteThingShadowResponse$;
678
+ exports.ForbiddenException = ForbiddenException;
679
+ exports.ForbiddenException$ = ForbiddenException$;
680
+ exports.GetRetainedMessage$ = GetRetainedMessage$;
673
681
  exports.GetRetainedMessageCommand = GetRetainedMessageCommand;
682
+ exports.GetRetainedMessageRequest$ = GetRetainedMessageRequest$;
683
+ exports.GetRetainedMessageResponse$ = GetRetainedMessageResponse$;
684
+ exports.GetThingShadow$ = GetThingShadow$;
674
685
  exports.GetThingShadowCommand = GetThingShadowCommand;
675
- exports.InternalFailureException = InternalFailureException$1;
676
- exports.InvalidRequestException = InvalidRequestException$1;
686
+ exports.GetThingShadowRequest$ = GetThingShadowRequest$;
687
+ exports.GetThingShadowResponse$ = GetThingShadowResponse$;
688
+ exports.InternalFailureException = InternalFailureException;
689
+ exports.InternalFailureException$ = InternalFailureException$;
690
+ exports.InvalidRequestException = InvalidRequestException;
691
+ exports.InvalidRequestException$ = InvalidRequestException$;
677
692
  exports.IoTDataPlane = IoTDataPlane;
678
693
  exports.IoTDataPlaneClient = IoTDataPlaneClient;
679
- exports.IoTDataPlaneServiceException = IoTDataPlaneServiceException$1;
694
+ exports.IoTDataPlaneServiceException = IoTDataPlaneServiceException;
695
+ exports.IoTDataPlaneServiceException$ = IoTDataPlaneServiceException$;
696
+ exports.ListNamedShadowsForThing$ = ListNamedShadowsForThing$;
680
697
  exports.ListNamedShadowsForThingCommand = ListNamedShadowsForThingCommand;
698
+ exports.ListNamedShadowsForThingRequest$ = ListNamedShadowsForThingRequest$;
699
+ exports.ListNamedShadowsForThingResponse$ = ListNamedShadowsForThingResponse$;
700
+ exports.ListRetainedMessages$ = ListRetainedMessages$;
681
701
  exports.ListRetainedMessagesCommand = ListRetainedMessagesCommand;
682
- exports.MethodNotAllowedException = MethodNotAllowedException$1;
702
+ exports.ListRetainedMessagesRequest$ = ListRetainedMessagesRequest$;
703
+ exports.ListRetainedMessagesResponse$ = ListRetainedMessagesResponse$;
704
+ exports.MethodNotAllowedException = MethodNotAllowedException;
705
+ exports.MethodNotAllowedException$ = MethodNotAllowedException$;
683
706
  exports.PayloadFormatIndicator = PayloadFormatIndicator;
707
+ exports.Publish$ = Publish$;
684
708
  exports.PublishCommand = PublishCommand;
685
- exports.RequestEntityTooLargeException = RequestEntityTooLargeException$1;
686
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
687
- exports.ServiceUnavailableException = ServiceUnavailableException$1;
688
- exports.ThrottlingException = ThrottlingException$1;
689
- exports.UnauthorizedException = UnauthorizedException$1;
690
- exports.UnsupportedDocumentEncodingException = UnsupportedDocumentEncodingException$1;
709
+ exports.PublishRequest$ = PublishRequest$;
710
+ exports.RequestEntityTooLargeException = RequestEntityTooLargeException;
711
+ exports.RequestEntityTooLargeException$ = RequestEntityTooLargeException$;
712
+ exports.ResourceNotFoundException = ResourceNotFoundException;
713
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
714
+ exports.RetainedMessageSummary$ = RetainedMessageSummary$;
715
+ exports.ServiceUnavailableException = ServiceUnavailableException;
716
+ exports.ServiceUnavailableException$ = ServiceUnavailableException$;
717
+ exports.ThrottlingException = ThrottlingException;
718
+ exports.ThrottlingException$ = ThrottlingException$;
719
+ exports.UnauthorizedException = UnauthorizedException;
720
+ exports.UnauthorizedException$ = UnauthorizedException$;
721
+ exports.UnsupportedDocumentEncodingException = UnsupportedDocumentEncodingException;
722
+ exports.UnsupportedDocumentEncodingException$ = UnsupportedDocumentEncodingException$;
723
+ exports.UpdateThingShadow$ = UpdateThingShadow$;
691
724
  exports.UpdateThingShadowCommand = UpdateThingShadowCommand;
725
+ exports.UpdateThingShadowRequest$ = UpdateThingShadowRequest$;
726
+ exports.UpdateThingShadowResponse$ = UpdateThingShadowResponse$;
692
727
  exports.paginateListRetainedMessages = paginateListRetainedMessages;
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.iotdataplane" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.iotdataplane",
32
+ version: "2015-05-28",
33
+ serviceTarget: "IotMoonrakerService",
34
+ },
30
35
  serviceId: config?.serviceId ?? "IoT Data Plane",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteConnection } from "../schemas/schemas_0";
4
+ import { DeleteConnection$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteConnectionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteConnectionCommand extends $Command
11
11
  })
12
12
  .s("IotMoonrakerService", "DeleteConnection", {})
13
13
  .n("IoTDataPlaneClient", "DeleteConnectionCommand")
14
- .sc(DeleteConnection)
14
+ .sc(DeleteConnection$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteThingShadow } from "../schemas/schemas_0";
4
+ import { DeleteThingShadow$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteThingShadowCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteThingShadowCommand extends $Command
11
11
  })
12
12
  .s("IotMoonrakerService", "DeleteThingShadow", {})
13
13
  .n("IoTDataPlaneClient", "DeleteThingShadowCommand")
14
- .sc(DeleteThingShadow)
14
+ .sc(DeleteThingShadow$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetRetainedMessage } from "../schemas/schemas_0";
4
+ import { GetRetainedMessage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetRetainedMessageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetRetainedMessageCommand extends $Command
11
11
  })
12
12
  .s("IotMoonrakerService", "GetRetainedMessage", {})
13
13
  .n("IoTDataPlaneClient", "GetRetainedMessageCommand")
14
- .sc(GetRetainedMessage)
14
+ .sc(GetRetainedMessage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetThingShadow } from "../schemas/schemas_0";
4
+ import { GetThingShadow$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetThingShadowCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetThingShadowCommand extends $Command
11
11
  })
12
12
  .s("IotMoonrakerService", "GetThingShadow", {})
13
13
  .n("IoTDataPlaneClient", "GetThingShadowCommand")
14
- .sc(GetThingShadow)
14
+ .sc(GetThingShadow$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListNamedShadowsForThing } from "../schemas/schemas_0";
4
+ import { ListNamedShadowsForThing$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListNamedShadowsForThingCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListNamedShadowsForThingCommand extends $Command
11
11
  })
12
12
  .s("IotMoonrakerService", "ListNamedShadowsForThing", {})
13
13
  .n("IoTDataPlaneClient", "ListNamedShadowsForThingCommand")
14
- .sc(ListNamedShadowsForThing)
14
+ .sc(ListNamedShadowsForThing$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListRetainedMessages } from "../schemas/schemas_0";
4
+ import { ListRetainedMessages$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListRetainedMessagesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListRetainedMessagesCommand extends $Command
11
11
  })
12
12
  .s("IotMoonrakerService", "ListRetainedMessages", {})
13
13
  .n("IoTDataPlaneClient", "ListRetainedMessagesCommand")
14
- .sc(ListRetainedMessages)
14
+ .sc(ListRetainedMessages$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { Publish } from "../schemas/schemas_0";
4
+ import { Publish$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PublishCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PublishCommand extends $Command
11
11
  })
12
12
  .s("IotMoonrakerService", "Publish", {})
13
13
  .n("IoTDataPlaneClient", "PublishCommand")
14
- .sc(Publish)
14
+ .sc(Publish$)
15
15
  .build() {
16
16
  }