@aws-sdk/client-iot-data-plane 3.952.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 +141 -106
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/DeleteConnectionCommand.js +2 -2
- package/dist-es/commands/DeleteThingShadowCommand.js +2 -2
- package/dist-es/commands/GetRetainedMessageCommand.js +2 -2
- package/dist-es/commands/GetThingShadowCommand.js +2 -2
- package/dist-es/commands/ListNamedShadowsForThingCommand.js +2 -2
- package/dist-es/commands/ListRetainedMessagesCommand.js +2 -2
- package/dist-es/commands/PublishCommand.js +2 -2
- package/dist-es/commands/UpdateThingShadowCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +67 -67
- package/dist-types/IoTDataPlaneClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +36 -40
- package/dist-types/ts3.4/IoTDataPlaneClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +35 -41
- package/package.json +35 -35
|
@@ -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 { UpdateThingShadow } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateThingShadow$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateThingShadowCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateThingShadowCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("IotMoonrakerService", "UpdateThingShadow", {})
|
|
13
13
|
.n("IoTDataPlaneClient", "UpdateThingShadowCommand")
|
|
14
|
-
.sc(UpdateThingShadow)
|
|
14
|
+
.sc(UpdateThingShadow$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.iotdataplane",
|
|
29
|
+
version: "2015-05-28",
|
|
30
|
+
serviceTarget: "IotMoonrakerService",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "IoT Data Plane",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -74,12 +74,12 @@ const _xampfi = "x-amz-mqtt5-payload-format-indicator";
|
|
|
74
74
|
const _xamup = "x-amz-mqtt5-user-properties";
|
|
75
75
|
const n0 = "com.amazonaws.iotdataplane";
|
|
76
76
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
77
|
-
import { ConflictException
|
|
78
|
-
import { IoTDataPlaneServiceException
|
|
79
|
-
|
|
80
|
-
export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
81
|
-
TypeRegistry.for(n0).registerError(ConflictException
|
|
82
|
-
export var DeleteConnectionRequest = [
|
|
77
|
+
import { ConflictException, ForbiddenException, InternalFailureException, InvalidRequestException, MethodNotAllowedException, RequestEntityTooLargeException, ResourceNotFoundException, ServiceUnavailableException, ThrottlingException, UnauthorizedException, UnsupportedDocumentEncodingException, } from "../models/errors";
|
|
78
|
+
import { IoTDataPlaneServiceException } from "../models/IoTDataPlaneServiceException";
|
|
79
|
+
var SynthesizedJsonUserProperties = [0, n0, _SJUP, { [_mT]: _a }, 0];
|
|
80
|
+
export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
81
|
+
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
82
|
+
export var DeleteConnectionRequest$ = [
|
|
83
83
|
3,
|
|
84
84
|
n0,
|
|
85
85
|
_DCR,
|
|
@@ -91,7 +91,7 @@ export var DeleteConnectionRequest = [
|
|
|
91
91
|
[2, { [_hQ]: _pWM }],
|
|
92
92
|
],
|
|
93
93
|
];
|
|
94
|
-
export var DeleteThingShadowRequest = [
|
|
94
|
+
export var DeleteThingShadowRequest$ = [
|
|
95
95
|
3,
|
|
96
96
|
n0,
|
|
97
97
|
_DTSR,
|
|
@@ -102,11 +102,11 @@ export var DeleteThingShadowRequest = [
|
|
|
102
102
|
[0, { [_hQ]: _n }],
|
|
103
103
|
],
|
|
104
104
|
];
|
|
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
|
-
TypeRegistry.for(n0).registerError(ForbiddenException
|
|
108
|
-
export var GetRetainedMessageRequest = [3, n0, _GRMR, 0, [_t], [[0, 1]]];
|
|
109
|
-
export var GetRetainedMessageResponse = [
|
|
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
|
+
TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
|
|
108
|
+
export var GetRetainedMessageRequest$ = [3, n0, _GRMR, 0, [_t], [[0, 1]]];
|
|
109
|
+
export var GetRetainedMessageResponse$ = [
|
|
110
110
|
3,
|
|
111
111
|
n0,
|
|
112
112
|
_GRMRe,
|
|
@@ -114,7 +114,7 @@ export var GetRetainedMessageResponse = [
|
|
|
114
114
|
[_t, _p, _q, _lMT, _uP],
|
|
115
115
|
[0, 21, 1, 1, 21],
|
|
116
116
|
];
|
|
117
|
-
export var GetThingShadowRequest = [
|
|
117
|
+
export var GetThingShadowRequest$ = [
|
|
118
118
|
3,
|
|
119
119
|
n0,
|
|
120
120
|
_GTSR,
|
|
@@ -125,12 +125,12 @@ export var GetThingShadowRequest = [
|
|
|
125
125
|
[0, { [_hQ]: _n }],
|
|
126
126
|
],
|
|
127
127
|
];
|
|
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
|
-
TypeRegistry.for(n0).registerError(InternalFailureException
|
|
131
|
-
export var InvalidRequestException = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
132
|
-
TypeRegistry.for(n0).registerError(InvalidRequestException
|
|
133
|
-
export var ListNamedShadowsForThingRequest = [
|
|
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
|
+
TypeRegistry.for(n0).registerError(InternalFailureException$, InternalFailureException);
|
|
131
|
+
export var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
132
|
+
TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
133
|
+
export var ListNamedShadowsForThingRequest$ = [
|
|
134
134
|
3,
|
|
135
135
|
n0,
|
|
136
136
|
_LNSFTR,
|
|
@@ -142,7 +142,7 @@ export var ListNamedShadowsForThingRequest = [
|
|
|
142
142
|
[1, { [_hQ]: _pS }],
|
|
143
143
|
],
|
|
144
144
|
];
|
|
145
|
-
export var ListNamedShadowsForThingResponse = [
|
|
145
|
+
export var ListNamedShadowsForThingResponse$ = [
|
|
146
146
|
3,
|
|
147
147
|
n0,
|
|
148
148
|
_LNSFTRi,
|
|
@@ -150,7 +150,7 @@ export var ListNamedShadowsForThingResponse = [
|
|
|
150
150
|
[_r, _nT, _ti],
|
|
151
151
|
[64 | 0, 0, 1],
|
|
152
152
|
];
|
|
153
|
-
export var ListRetainedMessagesRequest = [
|
|
153
|
+
export var ListRetainedMessagesRequest$ = [
|
|
154
154
|
3,
|
|
155
155
|
n0,
|
|
156
156
|
_LRMR,
|
|
@@ -161,7 +161,7 @@ export var ListRetainedMessagesRequest = [
|
|
|
161
161
|
[1, { [_hQ]: _mR }],
|
|
162
162
|
],
|
|
163
163
|
];
|
|
164
|
-
export var ListRetainedMessagesResponse = [
|
|
164
|
+
export var ListRetainedMessagesResponse$ = [
|
|
165
165
|
3,
|
|
166
166
|
n0,
|
|
167
167
|
_LRMRi,
|
|
@@ -169,9 +169,9 @@ export var ListRetainedMessagesResponse = [
|
|
|
169
169
|
[_rT, _nT],
|
|
170
170
|
[() => RetainedMessageList, 0],
|
|
171
171
|
];
|
|
172
|
-
export var MethodNotAllowedException = [-3, n0, _MNAE, { [_e]: _c, [_hE]: 405 }, [_m], [0]];
|
|
173
|
-
TypeRegistry.for(n0).registerError(MethodNotAllowedException
|
|
174
|
-
export var PublishRequest = [
|
|
172
|
+
export var MethodNotAllowedException$ = [-3, n0, _MNAE, { [_e]: _c, [_hE]: 405 }, [_m], [0]];
|
|
173
|
+
TypeRegistry.for(n0).registerError(MethodNotAllowedException$, MethodNotAllowedException);
|
|
174
|
+
export var PublishRequest$ = [
|
|
175
175
|
3,
|
|
176
176
|
n0,
|
|
177
177
|
_PR,
|
|
@@ -190,18 +190,18 @@ export var PublishRequest = [
|
|
|
190
190
|
[1, { [_hQ]: _mE }],
|
|
191
191
|
],
|
|
192
192
|
];
|
|
193
|
-
export var RequestEntityTooLargeException = [-3, n0, _RETLE, { [_e]: _c, [_hE]: 413 }, [_m], [0]];
|
|
194
|
-
TypeRegistry.for(n0).registerError(RequestEntityTooLargeException
|
|
195
|
-
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
196
|
-
TypeRegistry.for(n0).registerError(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]];
|
|
199
|
-
TypeRegistry.for(n0).registerError(ServiceUnavailableException
|
|
200
|
-
export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
201
|
-
TypeRegistry.for(n0).registerError(ThrottlingException
|
|
202
|
-
export var UnauthorizedException = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]];
|
|
203
|
-
TypeRegistry.for(n0).registerError(UnauthorizedException
|
|
204
|
-
export var UnsupportedDocumentEncodingException = [
|
|
193
|
+
export var RequestEntityTooLargeException$ = [-3, n0, _RETLE, { [_e]: _c, [_hE]: 413 }, [_m], [0]];
|
|
194
|
+
TypeRegistry.for(n0).registerError(RequestEntityTooLargeException$, RequestEntityTooLargeException);
|
|
195
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
196
|
+
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]];
|
|
199
|
+
TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
200
|
+
export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
201
|
+
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
202
|
+
export var UnauthorizedException$ = [-3, n0, _UE, { [_e]: _c, [_hE]: 401 }, [_m], [0]];
|
|
203
|
+
TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
|
|
204
|
+
export var UnsupportedDocumentEncodingException$ = [
|
|
205
205
|
-3,
|
|
206
206
|
n0,
|
|
207
207
|
_UDEE,
|
|
@@ -209,8 +209,8 @@ export var UnsupportedDocumentEncodingException = [
|
|
|
209
209
|
[_m],
|
|
210
210
|
[0],
|
|
211
211
|
];
|
|
212
|
-
TypeRegistry.for(n0).registerError(UnsupportedDocumentEncodingException
|
|
213
|
-
export var UpdateThingShadowRequest = [
|
|
212
|
+
TypeRegistry.for(n0).registerError(UnsupportedDocumentEncodingException$, UnsupportedDocumentEncodingException);
|
|
213
|
+
export var UpdateThingShadowRequest$ = [
|
|
214
214
|
3,
|
|
215
215
|
n0,
|
|
216
216
|
_UTSR,
|
|
@@ -222,73 +222,73 @@ export var UpdateThingShadowRequest = [
|
|
|
222
222
|
[21, 16],
|
|
223
223
|
],
|
|
224
224
|
];
|
|
225
|
-
export var UpdateThingShadowResponse = [3, n0, _UTSRp, 0, [_p], [[21, 16]]];
|
|
226
|
-
|
|
227
|
-
export var IoTDataPlaneServiceException = [-3, _sm, "IoTDataPlaneServiceException", 0, [], []];
|
|
228
|
-
TypeRegistry.for(_sm).registerError(IoTDataPlaneServiceException
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
export var DeleteConnection = [
|
|
225
|
+
export var UpdateThingShadowResponse$ = [3, n0, _UTSRp, 0, [_p], [[21, 16]]];
|
|
226
|
+
var __Unit = "unit";
|
|
227
|
+
export var IoTDataPlaneServiceException$ = [-3, _sm, "IoTDataPlaneServiceException", 0, [], []];
|
|
228
|
+
TypeRegistry.for(_sm).registerError(IoTDataPlaneServiceException$, IoTDataPlaneServiceException);
|
|
229
|
+
var NamedShadowList = 64 | 0;
|
|
230
|
+
var RetainedMessageList = [1, n0, _RML, 0, () => RetainedMessageSummary$];
|
|
231
|
+
export var DeleteConnection$ = [
|
|
232
232
|
9,
|
|
233
233
|
n0,
|
|
234
234
|
_DC,
|
|
235
235
|
{ [_h]: ["DELETE", "/connections/{clientId}", 200] },
|
|
236
|
-
() => DeleteConnectionRequest
|
|
236
|
+
() => DeleteConnectionRequest$,
|
|
237
237
|
() => __Unit,
|
|
238
238
|
];
|
|
239
|
-
export var DeleteThingShadow = [
|
|
239
|
+
export var DeleteThingShadow$ = [
|
|
240
240
|
9,
|
|
241
241
|
n0,
|
|
242
242
|
_DTS,
|
|
243
243
|
{ [_h]: ["DELETE", "/things/{thingName}/shadow", 200] },
|
|
244
|
-
() => DeleteThingShadowRequest
|
|
245
|
-
() => DeleteThingShadowResponse
|
|
244
|
+
() => DeleteThingShadowRequest$,
|
|
245
|
+
() => DeleteThingShadowResponse$,
|
|
246
246
|
];
|
|
247
|
-
export var GetRetainedMessage = [
|
|
247
|
+
export var GetRetainedMessage$ = [
|
|
248
248
|
9,
|
|
249
249
|
n0,
|
|
250
250
|
_GRM,
|
|
251
251
|
{ [_h]: ["GET", "/retainedMessage/{topic}", 200] },
|
|
252
|
-
() => GetRetainedMessageRequest
|
|
253
|
-
() => GetRetainedMessageResponse
|
|
252
|
+
() => GetRetainedMessageRequest$,
|
|
253
|
+
() => GetRetainedMessageResponse$,
|
|
254
254
|
];
|
|
255
|
-
export var GetThingShadow = [
|
|
255
|
+
export var GetThingShadow$ = [
|
|
256
256
|
9,
|
|
257
257
|
n0,
|
|
258
258
|
_GTS,
|
|
259
259
|
{ [_h]: ["GET", "/things/{thingName}/shadow", 200] },
|
|
260
|
-
() => GetThingShadowRequest
|
|
261
|
-
() => GetThingShadowResponse
|
|
260
|
+
() => GetThingShadowRequest$,
|
|
261
|
+
() => GetThingShadowResponse$,
|
|
262
262
|
];
|
|
263
|
-
export var ListNamedShadowsForThing = [
|
|
263
|
+
export var ListNamedShadowsForThing$ = [
|
|
264
264
|
9,
|
|
265
265
|
n0,
|
|
266
266
|
_LNSFT,
|
|
267
267
|
{ [_h]: ["GET", "/api/things/shadow/ListNamedShadowsForThing/{thingName}", 200] },
|
|
268
|
-
() => ListNamedShadowsForThingRequest
|
|
269
|
-
() => ListNamedShadowsForThingResponse
|
|
268
|
+
() => ListNamedShadowsForThingRequest$,
|
|
269
|
+
() => ListNamedShadowsForThingResponse$,
|
|
270
270
|
];
|
|
271
|
-
export var ListRetainedMessages = [
|
|
271
|
+
export var ListRetainedMessages$ = [
|
|
272
272
|
9,
|
|
273
273
|
n0,
|
|
274
274
|
_LRM,
|
|
275
275
|
{ [_h]: ["GET", "/retainedMessage", 200] },
|
|
276
|
-
() => ListRetainedMessagesRequest
|
|
277
|
-
() => ListRetainedMessagesResponse
|
|
276
|
+
() => ListRetainedMessagesRequest$,
|
|
277
|
+
() => ListRetainedMessagesResponse$,
|
|
278
278
|
];
|
|
279
|
-
export var Publish = [
|
|
279
|
+
export var Publish$ = [
|
|
280
280
|
9,
|
|
281
281
|
n0,
|
|
282
282
|
_P,
|
|
283
283
|
{ [_h]: ["POST", "/topics/{topic}", 200] },
|
|
284
|
-
() => PublishRequest
|
|
284
|
+
() => PublishRequest$,
|
|
285
285
|
() => __Unit,
|
|
286
286
|
];
|
|
287
|
-
export var UpdateThingShadow = [
|
|
287
|
+
export var UpdateThingShadow$ = [
|
|
288
288
|
9,
|
|
289
289
|
n0,
|
|
290
290
|
_UTS,
|
|
291
291
|
{ [_h]: ["POST", "/things/{thingName}/shadow", 200] },
|
|
292
|
-
() => UpdateThingShadowRequest
|
|
293
|
-
() => UpdateThingShadowResponse
|
|
292
|
+
() => UpdateThingShadowRequest$,
|
|
293
|
+
() => UpdateThingShadowResponse$,
|
|
294
294
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
|
|
11
11
|
import { DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput } from "./commands/DeleteThingShadowCommand";
|
|
@@ -149,15 +149,6 @@ 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>;
|
|
161
152
|
/**
|
|
162
153
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
163
154
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
19
19
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
20
20
|
export type { IoTDataPlaneExtensionConfiguration } from "./extensionConfiguration";
|
|
21
21
|
export * from "./commands";
|
|
22
|
+
export * from "./schemas/schemas_0";
|
|
22
23
|
export * from "./pagination";
|
|
23
24
|
export * from "./models/enums";
|
|
24
25
|
export * from "./models/errors";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
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;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").IoTDataPlaneHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,40 +1,36 @@
|
|
|
1
|
-
import type { StaticErrorSchema,
|
|
2
|
-
export declare var
|
|
3
|
-
export declare var
|
|
4
|
-
export declare var
|
|
5
|
-
export declare var
|
|
6
|
-
export declare var
|
|
7
|
-
export declare var
|
|
8
|
-
export declare var
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var
|
|
22
|
-
export declare var
|
|
23
|
-
export declare var
|
|
24
|
-
export declare var
|
|
25
|
-
export declare var
|
|
26
|
-
export declare var
|
|
27
|
-
export declare var
|
|
28
|
-
export declare var
|
|
29
|
-
export declare var
|
|
30
|
-
export declare var
|
|
31
|
-
export declare var
|
|
32
|
-
export declare var
|
|
33
|
-
export declare var
|
|
34
|
-
export declare var
|
|
35
|
-
export declare var
|
|
36
|
-
export declare var
|
|
37
|
-
export declare var ListNamedShadowsForThing: StaticOperationSchema;
|
|
38
|
-
export declare var ListRetainedMessages: StaticOperationSchema;
|
|
39
|
-
export declare var Publish: StaticOperationSchema;
|
|
40
|
-
export declare var UpdateThingShadow: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
3
|
+
export declare var DeleteConnectionRequest$: StaticStructureSchema;
|
|
4
|
+
export declare var DeleteThingShadowRequest$: StaticStructureSchema;
|
|
5
|
+
export declare var DeleteThingShadowResponse$: StaticStructureSchema;
|
|
6
|
+
export declare var ForbiddenException$: StaticErrorSchema;
|
|
7
|
+
export declare var GetRetainedMessageRequest$: StaticStructureSchema;
|
|
8
|
+
export declare var GetRetainedMessageResponse$: StaticStructureSchema;
|
|
9
|
+
export declare var GetThingShadowRequest$: StaticStructureSchema;
|
|
10
|
+
export declare var GetThingShadowResponse$: StaticStructureSchema;
|
|
11
|
+
export declare var InternalFailureException$: StaticErrorSchema;
|
|
12
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
13
|
+
export declare var ListNamedShadowsForThingRequest$: StaticStructureSchema;
|
|
14
|
+
export declare var ListNamedShadowsForThingResponse$: StaticStructureSchema;
|
|
15
|
+
export declare var ListRetainedMessagesRequest$: StaticStructureSchema;
|
|
16
|
+
export declare var ListRetainedMessagesResponse$: StaticStructureSchema;
|
|
17
|
+
export declare var MethodNotAllowedException$: StaticErrorSchema;
|
|
18
|
+
export declare var PublishRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var RequestEntityTooLargeException$: StaticErrorSchema;
|
|
20
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
21
|
+
export declare var RetainedMessageSummary$: StaticStructureSchema;
|
|
22
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
23
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
24
|
+
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
25
|
+
export declare var UnsupportedDocumentEncodingException$: StaticErrorSchema;
|
|
26
|
+
export declare var UpdateThingShadowRequest$: StaticStructureSchema;
|
|
27
|
+
export declare var UpdateThingShadowResponse$: StaticStructureSchema;
|
|
28
|
+
export declare var IoTDataPlaneServiceException$: StaticErrorSchema;
|
|
29
|
+
export declare var DeleteConnection$: StaticOperationSchema;
|
|
30
|
+
export declare var DeleteThingShadow$: StaticOperationSchema;
|
|
31
|
+
export declare var GetRetainedMessage$: StaticOperationSchema;
|
|
32
|
+
export declare var GetThingShadow$: StaticOperationSchema;
|
|
33
|
+
export declare var ListNamedShadowsForThing$: StaticOperationSchema;
|
|
34
|
+
export declare var ListRetainedMessages$: StaticOperationSchema;
|
|
35
|
+
export declare var Publish$: StaticOperationSchema;
|
|
36
|
+
export declare var UpdateThingShadow$: StaticOperationSchema;
|
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
StreamCollector as __StreamCollector,
|
|
@@ -129,7 +126,6 @@ export interface ClientDefaults
|
|
|
129
126
|
retryMode?: string | __Provider<string>;
|
|
130
127
|
logger?: __Logger;
|
|
131
128
|
extensions?: RuntimeExtension[];
|
|
132
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
133
129
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
134
130
|
}
|
|
135
131
|
export type IoTDataPlaneClientConfigType = Partial<
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { IoTDataPlaneExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./pagination";
|
|
8
9
|
export * from "./models/enums";
|
|
9
10
|
export * from "./models/errors";
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
26
26
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
userAgentAppId?:
|
|
47
51
|
| string
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
26
26
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
27
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
retryStrategy?:
|
|
47
51
|
| import("@smithy/types").RetryStrategy
|
|
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
8
8
|
| Record<string, unknown>
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
13
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
23
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
37
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
46
|
logger: import("@smithy/types").Logger;
|
|
39
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
-
import("@smithy/types").HttpRequest,
|
|
42
|
-
import("@smithy/types").HttpResponse
|
|
43
|
-
>;
|
|
44
48
|
defaultsMode:
|
|
45
49
|
| import("@smithy/smithy-client").DefaultsMode
|
|
46
50
|
| import("@smithy/types").Provider<
|