@aws-sdk/client-iot-data-plane 3.379.1 → 3.385.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.
|
@@ -18,10 +18,12 @@ export declare class ConflictException extends __BaseException {
|
|
|
18
18
|
*/
|
|
19
19
|
export interface DeleteThingShadowRequest {
|
|
20
20
|
/**
|
|
21
|
+
* @public
|
|
21
22
|
* <p>The name of the thing.</p>
|
|
22
23
|
*/
|
|
23
24
|
thingName: string | undefined;
|
|
24
25
|
/**
|
|
26
|
+
* @public
|
|
25
27
|
* <p>The name of the shadow.</p>
|
|
26
28
|
*/
|
|
27
29
|
shadowName?: string;
|
|
@@ -32,6 +34,7 @@ export interface DeleteThingShadowRequest {
|
|
|
32
34
|
*/
|
|
33
35
|
export interface DeleteThingShadowResponse {
|
|
34
36
|
/**
|
|
37
|
+
* @public
|
|
35
38
|
* <p>The state information, in JSON format.</p>
|
|
36
39
|
*/
|
|
37
40
|
payload: Uint8Array | undefined;
|
|
@@ -138,6 +141,7 @@ export declare class UnsupportedDocumentEncodingException extends __BaseExceptio
|
|
|
138
141
|
*/
|
|
139
142
|
export interface GetRetainedMessageRequest {
|
|
140
143
|
/**
|
|
144
|
+
* @public
|
|
141
145
|
* <p>The topic name of the retained message to retrieve.</p>
|
|
142
146
|
*/
|
|
143
147
|
topic: string | undefined;
|
|
@@ -148,22 +152,27 @@ export interface GetRetainedMessageRequest {
|
|
|
148
152
|
*/
|
|
149
153
|
export interface GetRetainedMessageResponse {
|
|
150
154
|
/**
|
|
155
|
+
* @public
|
|
151
156
|
* <p>The topic name to which the retained message was published.</p>
|
|
152
157
|
*/
|
|
153
158
|
topic?: string;
|
|
154
159
|
/**
|
|
160
|
+
* @public
|
|
155
161
|
* <p>The Base64-encoded message payload of the retained message body.</p>
|
|
156
162
|
*/
|
|
157
163
|
payload?: Uint8Array;
|
|
158
164
|
/**
|
|
165
|
+
* @public
|
|
159
166
|
* <p>The quality of service (QoS) level used to publish the retained message.</p>
|
|
160
167
|
*/
|
|
161
168
|
qos?: number;
|
|
162
169
|
/**
|
|
170
|
+
* @public
|
|
163
171
|
* <p>The Epoch date and time, in milliseconds, when the retained message was stored by IoT.</p>
|
|
164
172
|
*/
|
|
165
173
|
lastModifiedTime?: number;
|
|
166
174
|
/**
|
|
175
|
+
* @public
|
|
167
176
|
* <p>A base64-encoded JSON string that includes an array of JSON objects, or null if the
|
|
168
177
|
* retained message doesn't include any user properties.</p>
|
|
169
178
|
* <p>The following example <code>userProperties</code> parameter is a JSON string that
|
|
@@ -180,10 +189,12 @@ export interface GetRetainedMessageResponse {
|
|
|
180
189
|
*/
|
|
181
190
|
export interface GetThingShadowRequest {
|
|
182
191
|
/**
|
|
192
|
+
* @public
|
|
183
193
|
* <p>The name of the thing.</p>
|
|
184
194
|
*/
|
|
185
195
|
thingName: string | undefined;
|
|
186
196
|
/**
|
|
197
|
+
* @public
|
|
187
198
|
* <p>The name of the shadow.</p>
|
|
188
199
|
*/
|
|
189
200
|
shadowName?: string;
|
|
@@ -194,6 +205,7 @@ export interface GetThingShadowRequest {
|
|
|
194
205
|
*/
|
|
195
206
|
export interface GetThingShadowResponse {
|
|
196
207
|
/**
|
|
208
|
+
* @public
|
|
197
209
|
* <p>The state information, in JSON format.</p>
|
|
198
210
|
*/
|
|
199
211
|
payload?: Uint8Array;
|
|
@@ -203,14 +215,17 @@ export interface GetThingShadowResponse {
|
|
|
203
215
|
*/
|
|
204
216
|
export interface ListNamedShadowsForThingRequest {
|
|
205
217
|
/**
|
|
218
|
+
* @public
|
|
206
219
|
* <p>The name of the thing.</p>
|
|
207
220
|
*/
|
|
208
221
|
thingName: string | undefined;
|
|
209
222
|
/**
|
|
223
|
+
* @public
|
|
210
224
|
* <p>The token to retrieve the next set of results.</p>
|
|
211
225
|
*/
|
|
212
226
|
nextToken?: string;
|
|
213
227
|
/**
|
|
228
|
+
* @public
|
|
214
229
|
* <p>The result page size.</p>
|
|
215
230
|
*/
|
|
216
231
|
pageSize?: number;
|
|
@@ -220,14 +235,17 @@ export interface ListNamedShadowsForThingRequest {
|
|
|
220
235
|
*/
|
|
221
236
|
export interface ListNamedShadowsForThingResponse {
|
|
222
237
|
/**
|
|
238
|
+
* @public
|
|
223
239
|
* <p>The list of shadows for the specified thing.</p>
|
|
224
240
|
*/
|
|
225
241
|
results?: string[];
|
|
226
242
|
/**
|
|
243
|
+
* @public
|
|
227
244
|
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
228
245
|
*/
|
|
229
246
|
nextToken?: string;
|
|
230
247
|
/**
|
|
248
|
+
* @public
|
|
231
249
|
* <p>The Epoch date and time the response was generated by IoT.</p>
|
|
232
250
|
*/
|
|
233
251
|
timestamp?: number;
|
|
@@ -237,12 +255,14 @@ export interface ListNamedShadowsForThingResponse {
|
|
|
237
255
|
*/
|
|
238
256
|
export interface ListRetainedMessagesRequest {
|
|
239
257
|
/**
|
|
258
|
+
* @public
|
|
240
259
|
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
241
260
|
* value from a previous response; otherwise <b>null</b> to receive
|
|
242
261
|
* the first set of results.</p>
|
|
243
262
|
*/
|
|
244
263
|
nextToken?: string;
|
|
245
264
|
/**
|
|
265
|
+
* @public
|
|
246
266
|
* <p>The maximum number of results to return at one time.</p>
|
|
247
267
|
*/
|
|
248
268
|
maxResults?: number;
|
|
@@ -253,18 +273,22 @@ export interface ListRetainedMessagesRequest {
|
|
|
253
273
|
*/
|
|
254
274
|
export interface RetainedMessageSummary {
|
|
255
275
|
/**
|
|
276
|
+
* @public
|
|
256
277
|
* <p>The topic name to which the retained message was published.</p>
|
|
257
278
|
*/
|
|
258
279
|
topic?: string;
|
|
259
280
|
/**
|
|
281
|
+
* @public
|
|
260
282
|
* <p>The size of the retained message's payload in bytes.</p>
|
|
261
283
|
*/
|
|
262
284
|
payloadSize?: number;
|
|
263
285
|
/**
|
|
286
|
+
* @public
|
|
264
287
|
* <p>The quality of service (QoS) level used to publish the retained message.</p>
|
|
265
288
|
*/
|
|
266
289
|
qos?: number;
|
|
267
290
|
/**
|
|
291
|
+
* @public
|
|
268
292
|
* <p>The Epoch date and time, in milliseconds, when the retained message was stored by IoT.</p>
|
|
269
293
|
*/
|
|
270
294
|
lastModifiedTime?: number;
|
|
@@ -274,11 +298,13 @@ export interface RetainedMessageSummary {
|
|
|
274
298
|
*/
|
|
275
299
|
export interface ListRetainedMessagesResponse {
|
|
276
300
|
/**
|
|
301
|
+
* @public
|
|
277
302
|
* <p>A summary list the account's retained messages. The information returned doesn't include
|
|
278
303
|
* the message payloads of the retained messages.</p>
|
|
279
304
|
*/
|
|
280
305
|
retainedTopics?: RetainedMessageSummary[];
|
|
281
306
|
/**
|
|
307
|
+
* @public
|
|
282
308
|
* <p>The token for the next set of results, or null if there are no additional results.</p>
|
|
283
309
|
*/
|
|
284
310
|
nextToken?: string;
|
|
@@ -301,14 +327,17 @@ export type PayloadFormatIndicator = (typeof PayloadFormatIndicator)[keyof typeo
|
|
|
301
327
|
*/
|
|
302
328
|
export interface PublishRequest {
|
|
303
329
|
/**
|
|
330
|
+
* @public
|
|
304
331
|
* <p>The name of the MQTT topic.</p>
|
|
305
332
|
*/
|
|
306
333
|
topic: string | undefined;
|
|
307
334
|
/**
|
|
335
|
+
* @public
|
|
308
336
|
* <p>The Quality of Service (QoS) level. The default QoS level is 0.</p>
|
|
309
337
|
*/
|
|
310
338
|
qos?: number;
|
|
311
339
|
/**
|
|
340
|
+
* @public
|
|
312
341
|
* <p>A Boolean value that determines whether to set the RETAIN flag when the message is published.</p>
|
|
313
342
|
* <p>Setting the RETAIN flag causes the message to be retained and sent to new subscribers to the topic.</p>
|
|
314
343
|
* <p>Valid values: <code>true</code> | <code>false</code>
|
|
@@ -318,12 +347,14 @@ export interface PublishRequest {
|
|
|
318
347
|
*/
|
|
319
348
|
retain?: boolean;
|
|
320
349
|
/**
|
|
350
|
+
* @public
|
|
321
351
|
* <p>The message body. MQTT accepts text, binary, and empty (null) message payloads.</p>
|
|
322
352
|
* <p>Publishing an empty (null) payload with <b>retain</b> =
|
|
323
353
|
* <code>true</code> deletes the retained message identified by <b>topic</b> from Amazon Web Services IoT Core.</p>
|
|
324
354
|
*/
|
|
325
355
|
payload?: Uint8Array;
|
|
326
356
|
/**
|
|
357
|
+
* @public
|
|
327
358
|
* <p>A JSON string that contains an array of JSON objects. If you don’t use Amazon Web Services SDK or CLI,
|
|
328
359
|
* you must encode the JSON string to base64 format before adding it to the HTTP header.
|
|
329
360
|
* <code>userProperties</code> is an HTTP header value in the API.</p>
|
|
@@ -335,27 +366,32 @@ export interface PublishRequest {
|
|
|
335
366
|
*/
|
|
336
367
|
userProperties?: __LazyJsonString | string;
|
|
337
368
|
/**
|
|
369
|
+
* @public
|
|
338
370
|
* <p>An <code>Enum</code> string value that indicates whether the payload is formatted as
|
|
339
371
|
* UTF-8. <code>payloadFormatIndicator</code> is an HTTP header value in the API.</p>
|
|
340
372
|
*/
|
|
341
373
|
payloadFormatIndicator?: PayloadFormatIndicator | string;
|
|
342
374
|
/**
|
|
375
|
+
* @public
|
|
343
376
|
* <p>A UTF-8 encoded string that describes the content of the publishing message.</p>
|
|
344
377
|
*/
|
|
345
378
|
contentType?: string;
|
|
346
379
|
/**
|
|
380
|
+
* @public
|
|
347
381
|
* <p>A UTF-8 encoded string that's used as the topic name for a response message. The response
|
|
348
382
|
* topic is used to describe the topic which the receiver should publish to as part of the
|
|
349
383
|
* request-response flow. The topic must not contain wildcard characters.</p>
|
|
350
384
|
*/
|
|
351
385
|
responseTopic?: string;
|
|
352
386
|
/**
|
|
387
|
+
* @public
|
|
353
388
|
* <p>The base64-encoded binary data used by the sender of the request message to identify which
|
|
354
389
|
* request the response message is for when it's received. <code>correlationData</code> is an
|
|
355
390
|
* HTTP header value in the API.</p>
|
|
356
391
|
*/
|
|
357
392
|
correlationData?: string;
|
|
358
393
|
/**
|
|
394
|
+
* @public
|
|
359
395
|
* <p>A user-defined integer value that represents the message expiry interval in seconds. If
|
|
360
396
|
* absent, the message doesn't expire. For more information about the limits of
|
|
361
397
|
* <code>messageExpiry</code>, see <a href="https://docs.aws.amazon.com/general/latest/gr/iot-core.html#message-broker-limits">Amazon Web Services IoT Core message broker and
|
|
@@ -381,14 +417,17 @@ export declare class RequestEntityTooLargeException extends __BaseException {
|
|
|
381
417
|
*/
|
|
382
418
|
export interface UpdateThingShadowRequest {
|
|
383
419
|
/**
|
|
420
|
+
* @public
|
|
384
421
|
* <p>The name of the thing.</p>
|
|
385
422
|
*/
|
|
386
423
|
thingName: string | undefined;
|
|
387
424
|
/**
|
|
425
|
+
* @public
|
|
388
426
|
* <p>The name of the shadow.</p>
|
|
389
427
|
*/
|
|
390
428
|
shadowName?: string;
|
|
391
429
|
/**
|
|
430
|
+
* @public
|
|
392
431
|
* <p>The state information, in JSON format.</p>
|
|
393
432
|
*/
|
|
394
433
|
payload: Uint8Array | undefined;
|
|
@@ -399,6 +438,7 @@ export interface UpdateThingShadowRequest {
|
|
|
399
438
|
*/
|
|
400
439
|
export interface UpdateThingShadowResponse {
|
|
401
440
|
/**
|
|
441
|
+
* @public
|
|
402
442
|
* <p>The state information, in JSON format.</p>
|
|
403
443
|
*/
|
|
404
444
|
payload?: Uint8Array;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-data-plane",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Data Plane Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.385.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.385.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.385.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|