@aws-sdk/client-iot-data-plane 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/IoTDataPlane.js +0 -14
- package/dist-cjs/IoTDataPlaneClient.js +0 -19
- package/dist-cjs/commands/DeleteThingShadowCommand.js +0 -27
- package/dist-cjs/commands/GetRetainedMessageCommand.js +0 -31
- package/dist-cjs/commands/GetThingShadowCommand.js +0 -28
- package/dist-cjs/commands/ListNamedShadowsForThingCommand.js +0 -26
- package/dist-cjs/commands/ListRetainedMessagesCommand.js +0 -34
- package/dist-cjs/commands/PublishCommand.js +0 -31
- package/dist-cjs/commands/UpdateThingShadowCommand.js +0 -28
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -12
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -73
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListRetainedMessagesPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/IoTDataPlane.js +0 -1
- package/dist-es/IoTDataPlaneClient.js +0 -1
- package/dist-es/commands/DeleteThingShadowCommand.js +0 -1
- package/dist-es/commands/GetRetainedMessageCommand.js +0 -1
- package/dist-es/commands/GetThingShadowCommand.js +0 -1
- package/dist-es/commands/ListNamedShadowsForThingCommand.js +0 -1
- package/dist-es/commands/ListRetainedMessagesCommand.js +0 -1
- package/dist-es/commands/PublishCommand.js +0 -1
- package/dist-es/commands/UpdateThingShadowCommand.js +0 -1
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -12
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListRetainedMessagesPaginator.js +0 -1
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/index.d.ts +4 -11
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/IoTDataPlane.d.ts +8 -64
- package/dist-types/ts3.4/IoTDataPlaneClient.d.ts +24 -99
- package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/PublishCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +4 -11
- package/dist-types/ts3.4/models/models_0.d.ts +87 -271
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/IoTDataPlane.js.map +0 -1
- package/dist-cjs/IoTDataPlaneClient.js.map +0 -1
- package/dist-cjs/commands/DeleteThingShadowCommand.js.map +0 -1
- package/dist-cjs/commands/GetRetainedMessageCommand.js.map +0 -1
- package/dist-cjs/commands/GetThingShadowCommand.js.map +0 -1
- package/dist-cjs/commands/ListNamedShadowsForThingCommand.js.map +0 -1
- package/dist-cjs/commands/ListRetainedMessagesCommand.js.map +0 -1
- package/dist-cjs/commands/PublishCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateThingShadowCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListRetainedMessagesPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/IoTDataPlane.js.map +0 -1
- package/dist-es/IoTDataPlaneClient.js.map +0 -1
- package/dist-es/commands/DeleteThingShadowCommand.js.map +0 -1
- package/dist-es/commands/GetRetainedMessageCommand.js.map +0 -1
- package/dist-es/commands/GetThingShadowCommand.js.map +0 -1
- package/dist-es/commands/ListNamedShadowsForThingCommand.js.map +0 -1
- package/dist-es/commands/ListRetainedMessagesCommand.js.map +0 -1
- package/dist-es/commands/PublishCommand.js.map +0 -1
- package/dist-es/commands/UpdateThingShadowCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListRetainedMessagesPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/IoTDataPlane.ts +0 -297
- package/src/IoTDataPlaneClient.ts +0 -273
- package/src/commands/DeleteThingShadowCommand.ts +0 -97
- package/src/commands/GetRetainedMessageCommand.ts +0 -101
- package/src/commands/GetThingShadowCommand.ts +0 -98
- package/src/commands/ListNamedShadowsForThingCommand.ts +0 -96
- package/src/commands/ListRetainedMessagesCommand.ts +0 -104
- package/src/commands/PublishCommand.ts +0 -101
- package/src/commands/UpdateThingShadowCommand.ts +0 -98
- package/src/endpoints.ts +0 -91
- package/src/index.ts +0 -12
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -570
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListRetainedMessagesPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -1281
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,455 +1,271 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
* <p>The specified version does not match the version of the document.</p>
|
|
4
|
-
*/
|
|
2
|
+
|
|
5
3
|
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
6
4
|
name: "ConflictException";
|
|
7
5
|
$fault: "client";
|
|
8
|
-
|
|
9
|
-
* <p>The message for the exception.</p>
|
|
10
|
-
*/
|
|
6
|
+
|
|
11
7
|
message?: string;
|
|
12
8
|
}
|
|
13
9
|
export declare namespace ConflictException {
|
|
14
|
-
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
10
|
+
|
|
17
11
|
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
18
12
|
}
|
|
19
|
-
|
|
20
|
-
* <p>The input for the DeleteThingShadow operation.</p>
|
|
21
|
-
*/
|
|
13
|
+
|
|
22
14
|
export interface DeleteThingShadowRequest {
|
|
23
|
-
|
|
24
|
-
* <p>The name of the thing.</p>
|
|
25
|
-
*/
|
|
15
|
+
|
|
26
16
|
thingName: string | undefined;
|
|
27
|
-
|
|
28
|
-
* <p>The name of the shadow.</p>
|
|
29
|
-
*/
|
|
17
|
+
|
|
30
18
|
shadowName?: string;
|
|
31
19
|
}
|
|
32
20
|
export declare namespace DeleteThingShadowRequest {
|
|
33
|
-
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
21
|
+
|
|
36
22
|
const filterSensitiveLog: (obj: DeleteThingShadowRequest) => any;
|
|
37
23
|
}
|
|
38
|
-
|
|
39
|
-
* <p>The output from the DeleteThingShadow operation.</p>
|
|
40
|
-
*/
|
|
24
|
+
|
|
41
25
|
export interface DeleteThingShadowResponse {
|
|
42
|
-
|
|
43
|
-
* <p>The state information, in JSON format.</p>
|
|
44
|
-
*/
|
|
26
|
+
|
|
45
27
|
payload: Uint8Array | undefined;
|
|
46
28
|
}
|
|
47
29
|
export declare namespace DeleteThingShadowResponse {
|
|
48
|
-
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
30
|
+
|
|
51
31
|
const filterSensitiveLog: (obj: DeleteThingShadowResponse) => any;
|
|
52
32
|
}
|
|
53
|
-
|
|
54
|
-
* <p>An unexpected error has occurred.</p>
|
|
55
|
-
*/
|
|
33
|
+
|
|
56
34
|
export interface InternalFailureException extends __SmithyException, $MetadataBearer {
|
|
57
35
|
name: "InternalFailureException";
|
|
58
36
|
$fault: "server";
|
|
59
|
-
|
|
60
|
-
* <p>The message for the exception.</p>
|
|
61
|
-
*/
|
|
37
|
+
|
|
62
38
|
message?: string;
|
|
63
39
|
}
|
|
64
40
|
export declare namespace InternalFailureException {
|
|
65
|
-
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
41
|
+
|
|
68
42
|
const filterSensitiveLog: (obj: InternalFailureException) => any;
|
|
69
43
|
}
|
|
70
|
-
|
|
71
|
-
* <p>The request is not valid.</p>
|
|
72
|
-
*/
|
|
44
|
+
|
|
73
45
|
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
74
46
|
name: "InvalidRequestException";
|
|
75
47
|
$fault: "client";
|
|
76
|
-
|
|
77
|
-
* <p>The message for the exception.</p>
|
|
78
|
-
*/
|
|
48
|
+
|
|
79
49
|
message?: string;
|
|
80
50
|
}
|
|
81
51
|
export declare namespace InvalidRequestException {
|
|
82
|
-
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
52
|
+
|
|
85
53
|
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
86
54
|
}
|
|
87
|
-
|
|
88
|
-
* <p>The specified combination of HTTP verb and URI is not supported.</p>
|
|
89
|
-
*/
|
|
55
|
+
|
|
90
56
|
export interface MethodNotAllowedException extends __SmithyException, $MetadataBearer {
|
|
91
57
|
name: "MethodNotAllowedException";
|
|
92
58
|
$fault: "client";
|
|
93
|
-
|
|
94
|
-
* <p>The message for the exception.</p>
|
|
95
|
-
*/
|
|
59
|
+
|
|
96
60
|
message?: string;
|
|
97
61
|
}
|
|
98
62
|
export declare namespace MethodNotAllowedException {
|
|
99
|
-
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
63
|
+
|
|
102
64
|
const filterSensitiveLog: (obj: MethodNotAllowedException) => any;
|
|
103
65
|
}
|
|
104
|
-
|
|
105
|
-
* <p>The specified resource does not exist.</p>
|
|
106
|
-
*/
|
|
66
|
+
|
|
107
67
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
108
68
|
name: "ResourceNotFoundException";
|
|
109
69
|
$fault: "client";
|
|
110
|
-
|
|
111
|
-
* <p>The message for the exception.</p>
|
|
112
|
-
*/
|
|
70
|
+
|
|
113
71
|
message?: string;
|
|
114
72
|
}
|
|
115
73
|
export declare namespace ResourceNotFoundException {
|
|
116
|
-
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
74
|
+
|
|
119
75
|
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
120
76
|
}
|
|
121
|
-
|
|
122
|
-
* <p>The service is temporarily unavailable.</p>
|
|
123
|
-
*/
|
|
77
|
+
|
|
124
78
|
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
125
79
|
name: "ServiceUnavailableException";
|
|
126
80
|
$fault: "server";
|
|
127
|
-
|
|
128
|
-
* <p>The message for the exception.</p>
|
|
129
|
-
*/
|
|
81
|
+
|
|
130
82
|
message?: string;
|
|
131
83
|
}
|
|
132
84
|
export declare namespace ServiceUnavailableException {
|
|
133
|
-
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
85
|
+
|
|
136
86
|
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
137
87
|
}
|
|
138
|
-
|
|
139
|
-
* <p>The rate exceeds the limit.</p>
|
|
140
|
-
*/
|
|
88
|
+
|
|
141
89
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
142
90
|
name: "ThrottlingException";
|
|
143
91
|
$fault: "client";
|
|
144
|
-
|
|
145
|
-
* <p>The message for the exception.</p>
|
|
146
|
-
*/
|
|
92
|
+
|
|
147
93
|
message?: string;
|
|
148
94
|
}
|
|
149
95
|
export declare namespace ThrottlingException {
|
|
150
|
-
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
96
|
+
|
|
153
97
|
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
154
98
|
}
|
|
155
|
-
|
|
156
|
-
* <p>You are not authorized to perform this operation.</p>
|
|
157
|
-
*/
|
|
99
|
+
|
|
158
100
|
export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
|
|
159
101
|
name: "UnauthorizedException";
|
|
160
102
|
$fault: "client";
|
|
161
|
-
|
|
162
|
-
* <p>The message for the exception.</p>
|
|
163
|
-
*/
|
|
103
|
+
|
|
164
104
|
message?: string;
|
|
165
105
|
}
|
|
166
106
|
export declare namespace UnauthorizedException {
|
|
167
|
-
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
107
|
+
|
|
170
108
|
const filterSensitiveLog: (obj: UnauthorizedException) => any;
|
|
171
109
|
}
|
|
172
|
-
|
|
173
|
-
* <p>The document encoding is not supported.</p>
|
|
174
|
-
*/
|
|
110
|
+
|
|
175
111
|
export interface UnsupportedDocumentEncodingException extends __SmithyException, $MetadataBearer {
|
|
176
112
|
name: "UnsupportedDocumentEncodingException";
|
|
177
113
|
$fault: "client";
|
|
178
|
-
|
|
179
|
-
* <p>The message for the exception.</p>
|
|
180
|
-
*/
|
|
114
|
+
|
|
181
115
|
message?: string;
|
|
182
116
|
}
|
|
183
117
|
export declare namespace UnsupportedDocumentEncodingException {
|
|
184
|
-
|
|
185
|
-
* @internal
|
|
186
|
-
*/
|
|
118
|
+
|
|
187
119
|
const filterSensitiveLog: (obj: UnsupportedDocumentEncodingException) => any;
|
|
188
120
|
}
|
|
189
|
-
|
|
190
|
-
* <p>The input for the GetRetainedMessage operation.</p>
|
|
191
|
-
*/
|
|
121
|
+
|
|
192
122
|
export interface GetRetainedMessageRequest {
|
|
193
|
-
|
|
194
|
-
* <p>The topic name of the retained message to retrieve.</p>
|
|
195
|
-
*/
|
|
123
|
+
|
|
196
124
|
topic: string | undefined;
|
|
197
125
|
}
|
|
198
126
|
export declare namespace GetRetainedMessageRequest {
|
|
199
|
-
|
|
200
|
-
* @internal
|
|
201
|
-
*/
|
|
127
|
+
|
|
202
128
|
const filterSensitiveLog: (obj: GetRetainedMessageRequest) => any;
|
|
203
129
|
}
|
|
204
|
-
|
|
205
|
-
* <p>The output from the GetRetainedMessage operation.</p>
|
|
206
|
-
*/
|
|
130
|
+
|
|
207
131
|
export interface GetRetainedMessageResponse {
|
|
208
|
-
|
|
209
|
-
* <p>The topic name to which the retained message was published.</p>
|
|
210
|
-
*/
|
|
132
|
+
|
|
211
133
|
topic?: string;
|
|
212
|
-
|
|
213
|
-
* <p>The Base64-encoded message payload of the retained message body.</p>
|
|
214
|
-
*/
|
|
134
|
+
|
|
215
135
|
payload?: Uint8Array;
|
|
216
|
-
|
|
217
|
-
* <p>The quality of service (QoS) level used to publish the retained message.</p>
|
|
218
|
-
*/
|
|
136
|
+
|
|
219
137
|
qos?: number;
|
|
220
|
-
|
|
221
|
-
* <p>The Epoch date and time, in milliseconds, when the retained message was stored by IoT.</p>
|
|
222
|
-
*/
|
|
138
|
+
|
|
223
139
|
lastModifiedTime?: number;
|
|
224
140
|
}
|
|
225
141
|
export declare namespace GetRetainedMessageResponse {
|
|
226
|
-
|
|
227
|
-
* @internal
|
|
228
|
-
*/
|
|
142
|
+
|
|
229
143
|
const filterSensitiveLog: (obj: GetRetainedMessageResponse) => any;
|
|
230
144
|
}
|
|
231
|
-
|
|
232
|
-
* <p>The input for the GetThingShadow operation.</p>
|
|
233
|
-
*/
|
|
145
|
+
|
|
234
146
|
export interface GetThingShadowRequest {
|
|
235
|
-
|
|
236
|
-
* <p>The name of the thing.</p>
|
|
237
|
-
*/
|
|
147
|
+
|
|
238
148
|
thingName: string | undefined;
|
|
239
|
-
|
|
240
|
-
* <p>The name of the shadow.</p>
|
|
241
|
-
*/
|
|
149
|
+
|
|
242
150
|
shadowName?: string;
|
|
243
151
|
}
|
|
244
152
|
export declare namespace GetThingShadowRequest {
|
|
245
|
-
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
153
|
+
|
|
248
154
|
const filterSensitiveLog: (obj: GetThingShadowRequest) => any;
|
|
249
155
|
}
|
|
250
|
-
|
|
251
|
-
* <p>The output from the GetThingShadow operation.</p>
|
|
252
|
-
*/
|
|
156
|
+
|
|
253
157
|
export interface GetThingShadowResponse {
|
|
254
|
-
|
|
255
|
-
* <p>The state information, in JSON format.</p>
|
|
256
|
-
*/
|
|
158
|
+
|
|
257
159
|
payload?: Uint8Array;
|
|
258
160
|
}
|
|
259
161
|
export declare namespace GetThingShadowResponse {
|
|
260
|
-
|
|
261
|
-
* @internal
|
|
262
|
-
*/
|
|
162
|
+
|
|
263
163
|
const filterSensitiveLog: (obj: GetThingShadowResponse) => any;
|
|
264
164
|
}
|
|
265
165
|
export interface ListNamedShadowsForThingRequest {
|
|
266
|
-
|
|
267
|
-
* <p>The name of the thing.</p>
|
|
268
|
-
*/
|
|
166
|
+
|
|
269
167
|
thingName: string | undefined;
|
|
270
|
-
|
|
271
|
-
* <p>The token to retrieve the next set of results.</p>
|
|
272
|
-
*/
|
|
168
|
+
|
|
273
169
|
nextToken?: string;
|
|
274
|
-
|
|
275
|
-
* <p>The result page size.</p>
|
|
276
|
-
*/
|
|
170
|
+
|
|
277
171
|
pageSize?: number;
|
|
278
172
|
}
|
|
279
173
|
export declare namespace ListNamedShadowsForThingRequest {
|
|
280
|
-
|
|
281
|
-
* @internal
|
|
282
|
-
*/
|
|
174
|
+
|
|
283
175
|
const filterSensitiveLog: (obj: ListNamedShadowsForThingRequest) => any;
|
|
284
176
|
}
|
|
285
177
|
export interface ListNamedShadowsForThingResponse {
|
|
286
|
-
|
|
287
|
-
* <p>The list of shadows for the specified thing.</p>
|
|
288
|
-
*/
|
|
178
|
+
|
|
289
179
|
results?: string[];
|
|
290
|
-
|
|
291
|
-
* <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
|
|
292
|
-
*/
|
|
180
|
+
|
|
293
181
|
nextToken?: string;
|
|
294
|
-
|
|
295
|
-
* <p>The Epoch date and time the response was generated by IoT.</p>
|
|
296
|
-
*/
|
|
182
|
+
|
|
297
183
|
timestamp?: number;
|
|
298
184
|
}
|
|
299
185
|
export declare namespace ListNamedShadowsForThingResponse {
|
|
300
|
-
|
|
301
|
-
* @internal
|
|
302
|
-
*/
|
|
186
|
+
|
|
303
187
|
const filterSensitiveLog: (obj: ListNamedShadowsForThingResponse) => any;
|
|
304
188
|
}
|
|
305
189
|
export interface ListRetainedMessagesRequest {
|
|
306
|
-
|
|
307
|
-
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
308
|
-
* value from a previous response; otherwise <b>null</b> to receive
|
|
309
|
-
* the first set of results.</p>
|
|
310
|
-
*/
|
|
190
|
+
|
|
311
191
|
nextToken?: string;
|
|
312
|
-
|
|
313
|
-
* <p>The maximum number of results to return at one time.</p>
|
|
314
|
-
*/
|
|
192
|
+
|
|
315
193
|
maxResults?: number;
|
|
316
194
|
}
|
|
317
195
|
export declare namespace ListRetainedMessagesRequest {
|
|
318
|
-
|
|
319
|
-
* @internal
|
|
320
|
-
*/
|
|
196
|
+
|
|
321
197
|
const filterSensitiveLog: (obj: ListRetainedMessagesRequest) => any;
|
|
322
198
|
}
|
|
323
|
-
|
|
324
|
-
* <p>Information about a single retained message.</p>
|
|
325
|
-
*/
|
|
199
|
+
|
|
326
200
|
export interface RetainedMessageSummary {
|
|
327
|
-
|
|
328
|
-
* <p>The topic name to which the retained message was published.</p>
|
|
329
|
-
*/
|
|
201
|
+
|
|
330
202
|
topic?: string;
|
|
331
|
-
|
|
332
|
-
* <p>The size of the retained message's payload in bytes.</p>
|
|
333
|
-
*/
|
|
203
|
+
|
|
334
204
|
payloadSize?: number;
|
|
335
|
-
|
|
336
|
-
* <p>The quality of service (QoS) level used to publish the retained message.</p>
|
|
337
|
-
*/
|
|
205
|
+
|
|
338
206
|
qos?: number;
|
|
339
|
-
|
|
340
|
-
* <p>The Epoch date and time, in milliseconds, when the retained message was stored by IoT.</p>
|
|
341
|
-
*/
|
|
207
|
+
|
|
342
208
|
lastModifiedTime?: number;
|
|
343
209
|
}
|
|
344
210
|
export declare namespace RetainedMessageSummary {
|
|
345
|
-
|
|
346
|
-
* @internal
|
|
347
|
-
*/
|
|
211
|
+
|
|
348
212
|
const filterSensitiveLog: (obj: RetainedMessageSummary) => any;
|
|
349
213
|
}
|
|
350
214
|
export interface ListRetainedMessagesResponse {
|
|
351
|
-
|
|
352
|
-
* <p>A summary list the account's retained messages. The information returned doesn't include
|
|
353
|
-
* the message payloads of the retained messages.</p>
|
|
354
|
-
*/
|
|
215
|
+
|
|
355
216
|
retainedTopics?: RetainedMessageSummary[];
|
|
356
|
-
|
|
357
|
-
* <p>The token for the next set of results, or null if there are no additional results.</p>
|
|
358
|
-
*/
|
|
217
|
+
|
|
359
218
|
nextToken?: string;
|
|
360
219
|
}
|
|
361
220
|
export declare namespace ListRetainedMessagesResponse {
|
|
362
|
-
|
|
363
|
-
* @internal
|
|
364
|
-
*/
|
|
221
|
+
|
|
365
222
|
const filterSensitiveLog: (obj: ListRetainedMessagesResponse) => any;
|
|
366
223
|
}
|
|
367
|
-
|
|
368
|
-
* <p>The input for the Publish operation.</p>
|
|
369
|
-
*/
|
|
224
|
+
|
|
370
225
|
export interface PublishRequest {
|
|
371
|
-
|
|
372
|
-
* <p>The name of the MQTT topic.</p>
|
|
373
|
-
*/
|
|
226
|
+
|
|
374
227
|
topic: string | undefined;
|
|
375
|
-
|
|
376
|
-
* <p>The Quality of Service (QoS) level.</p>
|
|
377
|
-
*/
|
|
228
|
+
|
|
378
229
|
qos?: number;
|
|
379
|
-
|
|
380
|
-
* <p>A Boolean value that determines whether to set the RETAIN flag when the message is published.</p>
|
|
381
|
-
* <p>Setting the RETAIN flag causes the message to be retained and sent to new subscribers to the topic.</p>
|
|
382
|
-
* <p>Valid values: <code>true</code> | <code>false</code>
|
|
383
|
-
* </p>
|
|
384
|
-
* <p>Default value: <code>false</code>
|
|
385
|
-
* </p>
|
|
386
|
-
*/
|
|
230
|
+
|
|
387
231
|
retain?: boolean;
|
|
388
|
-
|
|
389
|
-
* <p>The message body. MQTT accepts text, binary, and empty (null) message payloads.</p>
|
|
390
|
-
* <p>Publishing an empty (null) payload with <b>retain</b> =
|
|
391
|
-
* <code>true</code> deletes the retained message identified by <b>topic</b> from IoT Core.</p>
|
|
392
|
-
*/
|
|
232
|
+
|
|
393
233
|
payload?: Uint8Array;
|
|
394
234
|
}
|
|
395
235
|
export declare namespace PublishRequest {
|
|
396
|
-
|
|
397
|
-
* @internal
|
|
398
|
-
*/
|
|
236
|
+
|
|
399
237
|
const filterSensitiveLog: (obj: PublishRequest) => any;
|
|
400
238
|
}
|
|
401
|
-
|
|
402
|
-
* <p>The payload exceeds the maximum size allowed.</p>
|
|
403
|
-
*/
|
|
239
|
+
|
|
404
240
|
export interface RequestEntityTooLargeException extends __SmithyException, $MetadataBearer {
|
|
405
241
|
name: "RequestEntityTooLargeException";
|
|
406
242
|
$fault: "client";
|
|
407
|
-
|
|
408
|
-
* <p>The message for the exception.</p>
|
|
409
|
-
*/
|
|
243
|
+
|
|
410
244
|
message?: string;
|
|
411
245
|
}
|
|
412
246
|
export declare namespace RequestEntityTooLargeException {
|
|
413
|
-
|
|
414
|
-
* @internal
|
|
415
|
-
*/
|
|
247
|
+
|
|
416
248
|
const filterSensitiveLog: (obj: RequestEntityTooLargeException) => any;
|
|
417
249
|
}
|
|
418
|
-
|
|
419
|
-
* <p>The input for the UpdateThingShadow operation.</p>
|
|
420
|
-
*/
|
|
250
|
+
|
|
421
251
|
export interface UpdateThingShadowRequest {
|
|
422
|
-
|
|
423
|
-
* <p>The name of the thing.</p>
|
|
424
|
-
*/
|
|
252
|
+
|
|
425
253
|
thingName: string | undefined;
|
|
426
|
-
|
|
427
|
-
* <p>The name of the shadow.</p>
|
|
428
|
-
*/
|
|
254
|
+
|
|
429
255
|
shadowName?: string;
|
|
430
|
-
|
|
431
|
-
* <p>The state information, in JSON format.</p>
|
|
432
|
-
*/
|
|
256
|
+
|
|
433
257
|
payload: Uint8Array | undefined;
|
|
434
258
|
}
|
|
435
259
|
export declare namespace UpdateThingShadowRequest {
|
|
436
|
-
|
|
437
|
-
* @internal
|
|
438
|
-
*/
|
|
260
|
+
|
|
439
261
|
const filterSensitiveLog: (obj: UpdateThingShadowRequest) => any;
|
|
440
262
|
}
|
|
441
|
-
|
|
442
|
-
* <p>The output from the UpdateThingShadow operation.</p>
|
|
443
|
-
*/
|
|
263
|
+
|
|
444
264
|
export interface UpdateThingShadowResponse {
|
|
445
|
-
|
|
446
|
-
* <p>The state information, in JSON format.</p>
|
|
447
|
-
*/
|
|
265
|
+
|
|
448
266
|
payload?: Uint8Array;
|
|
449
267
|
}
|
|
450
268
|
export declare namespace UpdateThingShadowResponse {
|
|
451
|
-
|
|
452
|
-
* @internal
|
|
453
|
-
*/
|
|
269
|
+
|
|
454
270
|
const filterSensitiveLog: (obj: UpdateThingShadowResponse) => any;
|
|
455
271
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
2
|
import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
7
5
|
apiVersion: string;
|
|
8
6
|
disableHostPrefix: boolean;
|
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.38.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.38.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.38.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.38.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.38.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.38.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.38.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.38.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.38.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.38.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.38.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.38.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.38.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.38.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.38.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.38.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.38.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.38.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.38.0",
|
|
42
|
+
"@aws-sdk/types": "3.38.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.38.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.37.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.37.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.37.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.37.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.38.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.38.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.37.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.37.0",
|
|
52
52
|
"tslib": "^2.3.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.38.0",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"downlevel-dts": "0.7.0",
|
|
58
58
|
"jest": "^26.1.0",
|
|
@@ -71,6 +71,9 @@
|
|
|
71
71
|
]
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
+
"files": [
|
|
75
|
+
"dist-*"
|
|
76
|
+
],
|
|
74
77
|
"author": {
|
|
75
78
|
"name": "AWS SDK for JavaScript Team",
|
|
76
79
|
"url": "https://aws.amazon.com/javascript/"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IoTDataPlane.js","sourceRoot":"","sources":["../src/IoTDataPlane.ts"],"names":[],"mappings":";;;AAEA,kFAI6C;AAC7C,oFAI8C;AAC9C,4EAI0C;AAC1C,gGAIoD;AACpD,wFAIgD;AAChD,8DAAsG;AACtG,kFAI6C;AAC7C,6DAA0D;AAE1D;;;;;;;;;;;;GAYG;AACH,MAAa,YAAa,SAAQ,uCAAkB;IAmB3C,iBAAiB,CACtB,IAAmC,EACnC,WAAgG,EAChG,EAA8D;QAE9D,MAAM,OAAO,GAAG,IAAI,mDAAwB,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,WAAW,EAAE,CAAC,CAAC;YAC1G,IAAI,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