@aws-sdk/client-iot-data-plane 3.928.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist-cjs/index.js +540 -512
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/IoTDataPlaneClient.js +2 -0
  4. package/dist-es/commands/DeleteConnectionCommand.js +3 -9
  5. package/dist-es/commands/DeleteThingShadowCommand.js +3 -9
  6. package/dist-es/commands/GetRetainedMessageCommand.js +3 -9
  7. package/dist-es/commands/GetThingShadowCommand.js +3 -9
  8. package/dist-es/commands/ListNamedShadowsForThingCommand.js +3 -9
  9. package/dist-es/commands/ListRetainedMessagesCommand.js +3 -9
  10. package/dist-es/commands/PublishCommand.js +3 -9
  11. package/dist-es/commands/UpdateThingShadowCommand.js +3 -9
  12. package/dist-es/runtimeConfig.shared.js +2 -0
  13. package/dist-es/schemas/schemas_0.js +506 -0
  14. package/dist-types/IoTDataPlaneClient.d.ts +10 -1
  15. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  16. package/dist-types/runtimeConfig.d.ts +1 -0
  17. package/dist-types/runtimeConfig.native.d.ts +1 -0
  18. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  19. package/dist-types/schemas/schemas_0.d.ts +40 -0
  20. package/dist-types/ts3.4/IoTDataPlaneClient.d.ts +4 -0
  21. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  22. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  23. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  24. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  25. package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -0
  26. package/package.json +2 -2
  27. package/dist-es/protocols/Aws_restJson1.js +0 -440
  28. package/dist-types/protocols/Aws_restJson1.d.ts +0 -74
  29. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -101
@@ -0,0 +1,506 @@
1
+ const _CE = "ConflictException";
2
+ const _DC = "DeleteConnection";
3
+ const _DCR = "DeleteConnectionRequest";
4
+ const _DTS = "DeleteThingShadow";
5
+ const _DTSR = "DeleteThingShadowRequest";
6
+ const _DTSRe = "DeleteThingShadowResponse";
7
+ const _FE = "ForbiddenException";
8
+ const _GRM = "GetRetainedMessage";
9
+ const _GRMR = "GetRetainedMessageRequest";
10
+ const _GRMRe = "GetRetainedMessageResponse";
11
+ const _GTS = "GetThingShadow";
12
+ const _GTSR = "GetThingShadowRequest";
13
+ const _GTSRe = "GetThingShadowResponse";
14
+ const _IFE = "InternalFailureException";
15
+ const _IRE = "InvalidRequestException";
16
+ const _LNSFT = "ListNamedShadowsForThing";
17
+ const _LNSFTR = "ListNamedShadowsForThingRequest";
18
+ const _LNSFTRi = "ListNamedShadowsForThingResponse";
19
+ const _LRM = "ListRetainedMessages";
20
+ const _LRMR = "ListRetainedMessagesRequest";
21
+ const _LRMRi = "ListRetainedMessagesResponse";
22
+ const _MNAE = "MethodNotAllowedException";
23
+ const _P = "Publish";
24
+ const _PR = "PublishRequest";
25
+ const _RETLE = "RequestEntityTooLargeException";
26
+ const _RML = "RetainedMessageList";
27
+ const _RMS = "RetainedMessageSummary";
28
+ const _RNFE = "ResourceNotFoundException";
29
+ const _SJUP = "SynthesizedJsonUserProperties";
30
+ const _SUE = "ServiceUnavailableException";
31
+ const _TE = "ThrottlingException";
32
+ const _UDEE = "UnsupportedDocumentEncodingException";
33
+ const _UE = "UnauthorizedException";
34
+ const _UTS = "UpdateThingShadow";
35
+ const _UTSR = "UpdateThingShadowRequest";
36
+ const _UTSRp = "UpdateThingShadowResponse";
37
+ const _a = "application/json";
38
+ const _c = "client";
39
+ const _cD = "correlationData";
40
+ const _cI = "clientId";
41
+ const _cS = "cleanSession";
42
+ const _cT = "contentType";
43
+ const _e = "error";
44
+ const _h = "http";
45
+ const _hE = "httpError";
46
+ const _hH = "httpHeader";
47
+ const _hQ = "httpQuery";
48
+ const _lMT = "lastModifiedTime";
49
+ const _m = "message";
50
+ const _mE = "messageExpiry";
51
+ const _mR = "maxResults";
52
+ const _mT = "mediaType";
53
+ const _n = "name";
54
+ const _nT = "nextToken";
55
+ const _p = "payload";
56
+ const _pFI = "payloadFormatIndicator";
57
+ const _pS = "pageSize";
58
+ const _pSa = "payloadSize";
59
+ const _pWM = "preventWillMessage";
60
+ const _q = "qos";
61
+ const _r = "results";
62
+ const _rT = "retainedTopics";
63
+ const _rTe = "responseTopic";
64
+ const _re = "retain";
65
+ const _s = "server";
66
+ const _sN = "shadowName";
67
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.iotdataplane";
68
+ const _t = "topic";
69
+ const _tN = "thingName";
70
+ const _ti = "timestamp";
71
+ const _uP = "userProperties";
72
+ const _xamcd = "x-amz-mqtt5-correlation-data";
73
+ const _xampfi = "x-amz-mqtt5-payload-format-indicator";
74
+ const _xamup = "x-amz-mqtt5-user-properties";
75
+ const n0 = "com.amazonaws.iotdataplane";
76
+ import { TypeRegistry } from "@smithy/core/schema";
77
+ import { ConflictException as __ConflictException, ForbiddenException as __ForbiddenException, InternalFailureException as __InternalFailureException, InvalidRequestException as __InvalidRequestException, MethodNotAllowedException as __MethodNotAllowedException, RequestEntityTooLargeException as __RequestEntityTooLargeException, ResourceNotFoundException as __ResourceNotFoundException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, UnauthorizedException as __UnauthorizedException, UnsupportedDocumentEncodingException as __UnsupportedDocumentEncodingException, } from "../models/index";
78
+ import { IoTDataPlaneServiceException as __IoTDataPlaneServiceException } from "../models/IoTDataPlaneServiceException";
79
+ export var SynthesizedJsonUserProperties = [
80
+ 0,
81
+ n0,
82
+ _SJUP,
83
+ {
84
+ [_mT]: _a,
85
+ },
86
+ 0,
87
+ ];
88
+ export var ConflictException = [
89
+ -3,
90
+ n0,
91
+ _CE,
92
+ {
93
+ [_e]: _c,
94
+ [_hE]: 409,
95
+ },
96
+ [_m],
97
+ [0],
98
+ ];
99
+ TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
100
+ export var DeleteConnectionRequest = [
101
+ 3,
102
+ n0,
103
+ _DCR,
104
+ 0,
105
+ [_cI, _cS, _pWM],
106
+ [
107
+ [0, 1],
108
+ [
109
+ 2,
110
+ {
111
+ [_hQ]: _cS,
112
+ },
113
+ ],
114
+ [
115
+ 2,
116
+ {
117
+ [_hQ]: _pWM,
118
+ },
119
+ ],
120
+ ],
121
+ ];
122
+ export var DeleteThingShadowRequest = [
123
+ 3,
124
+ n0,
125
+ _DTSR,
126
+ 0,
127
+ [_tN, _sN],
128
+ [
129
+ [0, 1],
130
+ [
131
+ 0,
132
+ {
133
+ [_hQ]: _n,
134
+ },
135
+ ],
136
+ ],
137
+ ];
138
+ export var DeleteThingShadowResponse = [3, n0, _DTSRe, 0, [_p], [[21, 16]]];
139
+ export var ForbiddenException = [
140
+ -3,
141
+ n0,
142
+ _FE,
143
+ {
144
+ [_e]: _c,
145
+ [_hE]: 403,
146
+ },
147
+ [_m],
148
+ [0],
149
+ ];
150
+ TypeRegistry.for(n0).registerError(ForbiddenException, __ForbiddenException);
151
+ export var GetRetainedMessageRequest = [3, n0, _GRMR, 0, [_t], [[0, 1]]];
152
+ export var GetRetainedMessageResponse = [
153
+ 3,
154
+ n0,
155
+ _GRMRe,
156
+ 0,
157
+ [_t, _p, _q, _lMT, _uP],
158
+ [0, 21, 1, 1, 21],
159
+ ];
160
+ export var GetThingShadowRequest = [
161
+ 3,
162
+ n0,
163
+ _GTSR,
164
+ 0,
165
+ [_tN, _sN],
166
+ [
167
+ [0, 1],
168
+ [
169
+ 0,
170
+ {
171
+ [_hQ]: _n,
172
+ },
173
+ ],
174
+ ],
175
+ ];
176
+ export var GetThingShadowResponse = [3, n0, _GTSRe, 0, [_p], [[21, 16]]];
177
+ export var InternalFailureException = [
178
+ -3,
179
+ n0,
180
+ _IFE,
181
+ {
182
+ [_e]: _s,
183
+ [_hE]: 500,
184
+ },
185
+ [_m],
186
+ [0],
187
+ ];
188
+ TypeRegistry.for(n0).registerError(InternalFailureException, __InternalFailureException);
189
+ export var InvalidRequestException = [
190
+ -3,
191
+ n0,
192
+ _IRE,
193
+ {
194
+ [_e]: _c,
195
+ [_hE]: 400,
196
+ },
197
+ [_m],
198
+ [0],
199
+ ];
200
+ TypeRegistry.for(n0).registerError(InvalidRequestException, __InvalidRequestException);
201
+ export var ListNamedShadowsForThingRequest = [
202
+ 3,
203
+ n0,
204
+ _LNSFTR,
205
+ 0,
206
+ [_tN, _nT, _pS],
207
+ [
208
+ [0, 1],
209
+ [
210
+ 0,
211
+ {
212
+ [_hQ]: _nT,
213
+ },
214
+ ],
215
+ [
216
+ 1,
217
+ {
218
+ [_hQ]: _pS,
219
+ },
220
+ ],
221
+ ],
222
+ ];
223
+ export var ListNamedShadowsForThingResponse = [
224
+ 3,
225
+ n0,
226
+ _LNSFTRi,
227
+ 0,
228
+ [_r, _nT, _ti],
229
+ [64 | 0, 0, 1],
230
+ ];
231
+ export var ListRetainedMessagesRequest = [
232
+ 3,
233
+ n0,
234
+ _LRMR,
235
+ 0,
236
+ [_nT, _mR],
237
+ [
238
+ [
239
+ 0,
240
+ {
241
+ [_hQ]: _nT,
242
+ },
243
+ ],
244
+ [
245
+ 1,
246
+ {
247
+ [_hQ]: _mR,
248
+ },
249
+ ],
250
+ ],
251
+ ];
252
+ export var ListRetainedMessagesResponse = [
253
+ 3,
254
+ n0,
255
+ _LRMRi,
256
+ 0,
257
+ [_rT, _nT],
258
+ [() => RetainedMessageList, 0],
259
+ ];
260
+ export var MethodNotAllowedException = [
261
+ -3,
262
+ n0,
263
+ _MNAE,
264
+ {
265
+ [_e]: _c,
266
+ [_hE]: 405,
267
+ },
268
+ [_m],
269
+ [0],
270
+ ];
271
+ TypeRegistry.for(n0).registerError(MethodNotAllowedException, __MethodNotAllowedException);
272
+ export var PublishRequest = [
273
+ 3,
274
+ n0,
275
+ _PR,
276
+ 0,
277
+ [_t, _q, _re, _p, _uP, _pFI, _cT, _rTe, _cD, _mE],
278
+ [
279
+ [0, 1],
280
+ [
281
+ 1,
282
+ {
283
+ [_hQ]: _q,
284
+ },
285
+ ],
286
+ [
287
+ 2,
288
+ {
289
+ [_hQ]: _re,
290
+ },
291
+ ],
292
+ [21, 16],
293
+ [
294
+ () => SynthesizedJsonUserProperties,
295
+ {
296
+ [_hH]: _xamup,
297
+ },
298
+ ],
299
+ [
300
+ 0,
301
+ {
302
+ [_hH]: _xampfi,
303
+ },
304
+ ],
305
+ [
306
+ 0,
307
+ {
308
+ [_hQ]: _cT,
309
+ },
310
+ ],
311
+ [
312
+ 0,
313
+ {
314
+ [_hQ]: _rTe,
315
+ },
316
+ ],
317
+ [
318
+ 0,
319
+ {
320
+ [_hH]: _xamcd,
321
+ },
322
+ ],
323
+ [
324
+ 1,
325
+ {
326
+ [_hQ]: _mE,
327
+ },
328
+ ],
329
+ ],
330
+ ];
331
+ export var RequestEntityTooLargeException = [
332
+ -3,
333
+ n0,
334
+ _RETLE,
335
+ {
336
+ [_e]: _c,
337
+ [_hE]: 413,
338
+ },
339
+ [_m],
340
+ [0],
341
+ ];
342
+ TypeRegistry.for(n0).registerError(RequestEntityTooLargeException, __RequestEntityTooLargeException);
343
+ export var ResourceNotFoundException = [
344
+ -3,
345
+ n0,
346
+ _RNFE,
347
+ {
348
+ [_e]: _c,
349
+ [_hE]: 404,
350
+ },
351
+ [_m],
352
+ [0],
353
+ ];
354
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
355
+ export var RetainedMessageSummary = [3, n0, _RMS, 0, [_t, _pSa, _q, _lMT], [0, 1, 1, 1]];
356
+ export var ServiceUnavailableException = [
357
+ -3,
358
+ n0,
359
+ _SUE,
360
+ {
361
+ [_e]: _s,
362
+ [_hE]: 503,
363
+ },
364
+ [_m],
365
+ [0],
366
+ ];
367
+ TypeRegistry.for(n0).registerError(ServiceUnavailableException, __ServiceUnavailableException);
368
+ export var ThrottlingException = [
369
+ -3,
370
+ n0,
371
+ _TE,
372
+ {
373
+ [_e]: _c,
374
+ [_hE]: 429,
375
+ },
376
+ [_m],
377
+ [0],
378
+ ];
379
+ TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
380
+ export var UnauthorizedException = [
381
+ -3,
382
+ n0,
383
+ _UE,
384
+ {
385
+ [_e]: _c,
386
+ [_hE]: 401,
387
+ },
388
+ [_m],
389
+ [0],
390
+ ];
391
+ TypeRegistry.for(n0).registerError(UnauthorizedException, __UnauthorizedException);
392
+ export var UnsupportedDocumentEncodingException = [
393
+ -3,
394
+ n0,
395
+ _UDEE,
396
+ {
397
+ [_e]: _c,
398
+ [_hE]: 415,
399
+ },
400
+ [_m],
401
+ [0],
402
+ ];
403
+ TypeRegistry.for(n0).registerError(UnsupportedDocumentEncodingException, __UnsupportedDocumentEncodingException);
404
+ export var UpdateThingShadowRequest = [
405
+ 3,
406
+ n0,
407
+ _UTSR,
408
+ 0,
409
+ [_tN, _sN, _p],
410
+ [
411
+ [0, 1],
412
+ [
413
+ 0,
414
+ {
415
+ [_hQ]: _n,
416
+ },
417
+ ],
418
+ [21, 16],
419
+ ],
420
+ ];
421
+ export var UpdateThingShadowResponse = [3, n0, _UTSRp, 0, [_p], [[21, 16]]];
422
+ export var __Unit = "unit";
423
+ export var IoTDataPlaneServiceException = [-3, _sm, "IoTDataPlaneServiceException", 0, [], []];
424
+ TypeRegistry.for(_sm).registerError(IoTDataPlaneServiceException, __IoTDataPlaneServiceException);
425
+ export var NamedShadowList = 64 | 0;
426
+ export var RetainedMessageList = [1, n0, _RML, 0, () => RetainedMessageSummary];
427
+ export var DeleteConnection = [
428
+ 9,
429
+ n0,
430
+ _DC,
431
+ {
432
+ [_h]: ["DELETE", "/connections/{clientId}", 200],
433
+ },
434
+ () => DeleteConnectionRequest,
435
+ () => __Unit,
436
+ ];
437
+ export var DeleteThingShadow = [
438
+ 9,
439
+ n0,
440
+ _DTS,
441
+ {
442
+ [_h]: ["DELETE", "/things/{thingName}/shadow", 200],
443
+ },
444
+ () => DeleteThingShadowRequest,
445
+ () => DeleteThingShadowResponse,
446
+ ];
447
+ export var GetRetainedMessage = [
448
+ 9,
449
+ n0,
450
+ _GRM,
451
+ {
452
+ [_h]: ["GET", "/retainedMessage/{topic}", 200],
453
+ },
454
+ () => GetRetainedMessageRequest,
455
+ () => GetRetainedMessageResponse,
456
+ ];
457
+ export var GetThingShadow = [
458
+ 9,
459
+ n0,
460
+ _GTS,
461
+ {
462
+ [_h]: ["GET", "/things/{thingName}/shadow", 200],
463
+ },
464
+ () => GetThingShadowRequest,
465
+ () => GetThingShadowResponse,
466
+ ];
467
+ export var ListNamedShadowsForThing = [
468
+ 9,
469
+ n0,
470
+ _LNSFT,
471
+ {
472
+ [_h]: ["GET", "/api/things/shadow/ListNamedShadowsForThing/{thingName}", 200],
473
+ },
474
+ () => ListNamedShadowsForThingRequest,
475
+ () => ListNamedShadowsForThingResponse,
476
+ ];
477
+ export var ListRetainedMessages = [
478
+ 9,
479
+ n0,
480
+ _LRM,
481
+ {
482
+ [_h]: ["GET", "/retainedMessage", 200],
483
+ },
484
+ () => ListRetainedMessagesRequest,
485
+ () => ListRetainedMessagesResponse,
486
+ ];
487
+ export var Publish = [
488
+ 9,
489
+ n0,
490
+ _P,
491
+ {
492
+ [_h]: ["POST", "/topics/{topic}", 200],
493
+ },
494
+ () => PublishRequest,
495
+ () => __Unit,
496
+ ];
497
+ export var UpdateThingShadow = [
498
+ 9,
499
+ n0,
500
+ _UTS,
501
+ {
502
+ [_h]: ["POST", "/things/{thingName}/shadow", 200],
503
+ },
504
+ () => UpdateThingShadowRequest,
505
+ () => UpdateThingShadowResponse,
506
+ ];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
11
11
  import { DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput } from "./commands/DeleteThingShadowCommand";
@@ -149,6 +149,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
149
149
  * Optional extensions
150
150
  */
151
151
  extensions?: RuntimeExtension[];
152
+ /**
153
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
154
+ * may be overridden. A default will always be set by the client.
155
+ * Available options depend on the service's supported protocols and will not be validated by
156
+ * the client.
157
+ * @alpha
158
+ *
159
+ */
160
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
152
161
  /**
153
162
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
154
163
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").IoTDataPlaneHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,40 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var SynthesizedJsonUserProperties: StaticSimpleSchema;
3
+ export declare var ConflictException: StaticErrorSchema;
4
+ export declare var DeleteConnectionRequest: StaticStructureSchema;
5
+ export declare var DeleteThingShadowRequest: StaticStructureSchema;
6
+ export declare var DeleteThingShadowResponse: StaticStructureSchema;
7
+ export declare var ForbiddenException: StaticErrorSchema;
8
+ export declare var GetRetainedMessageRequest: StaticStructureSchema;
9
+ export declare var GetRetainedMessageResponse: StaticStructureSchema;
10
+ export declare var GetThingShadowRequest: StaticStructureSchema;
11
+ export declare var GetThingShadowResponse: StaticStructureSchema;
12
+ export declare var InternalFailureException: StaticErrorSchema;
13
+ export declare var InvalidRequestException: StaticErrorSchema;
14
+ export declare var ListNamedShadowsForThingRequest: StaticStructureSchema;
15
+ export declare var ListNamedShadowsForThingResponse: StaticStructureSchema;
16
+ export declare var ListRetainedMessagesRequest: StaticStructureSchema;
17
+ export declare var ListRetainedMessagesResponse: StaticStructureSchema;
18
+ export declare var MethodNotAllowedException: StaticErrorSchema;
19
+ export declare var PublishRequest: StaticStructureSchema;
20
+ export declare var RequestEntityTooLargeException: StaticErrorSchema;
21
+ export declare var ResourceNotFoundException: StaticErrorSchema;
22
+ export declare var RetainedMessageSummary: StaticStructureSchema;
23
+ export declare var ServiceUnavailableException: StaticErrorSchema;
24
+ export declare var ThrottlingException: StaticErrorSchema;
25
+ export declare var UnauthorizedException: StaticErrorSchema;
26
+ export declare var UnsupportedDocumentEncodingException: StaticErrorSchema;
27
+ export declare var UpdateThingShadowRequest: StaticStructureSchema;
28
+ export declare var UpdateThingShadowResponse: StaticStructureSchema;
29
+ export declare var __Unit: "unit";
30
+ export declare var IoTDataPlaneServiceException: StaticErrorSchema;
31
+ export declare var NamedShadowList: number;
32
+ export declare var RetainedMessageList: StaticListSchema;
33
+ export declare var DeleteConnection: StaticOperationSchema;
34
+ export declare var DeleteThingShadow: StaticOperationSchema;
35
+ export declare var GetRetainedMessage: StaticOperationSchema;
36
+ export declare var GetThingShadow: StaticOperationSchema;
37
+ export declare var ListNamedShadowsForThing: StaticOperationSchema;
38
+ export declare var ListRetainedMessages: StaticOperationSchema;
39
+ export declare var Publish: StaticOperationSchema;
40
+ export declare var UpdateThingShadow: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -126,6 +129,7 @@ export interface ClientDefaults
126
129
  retryMode?: string | __Provider<string>;
127
130
  logger?: __Logger;
128
131
  extensions?: RuntimeExtension[];
132
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
129
133
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
130
134
  }
131
135
  export type IoTDataPlaneClientConfigType = Partial<
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  userAgentAppId?:
43
47
  | string
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  retryStrategy?:
43
47
  | import("@smithy/types").RetryStrategy
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
37
37
  retryMode: string | import("@smithy/types").Provider<string>;
38
38
  logger: import("@smithy/types").Logger;
39
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
40
44
  defaultsMode:
41
45
  | import("@smithy/smithy-client").DefaultsMode
42
46
  | import("@smithy/types").Provider<
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").IoTDataPlaneHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<
18
+ import("@smithy/types").HttpRequest,
19
+ import("@smithy/types").HttpResponse
20
+ >;
17
21
  serviceId: string;
18
22
  urlParser: import("@smithy/types").UrlParser;
19
23
  utf8Decoder: import("@smithy/types").Decoder;