@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.
Files changed (130) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/IoTDataPlane.js +0 -14
  3. package/dist-cjs/IoTDataPlaneClient.js +0 -19
  4. package/dist-cjs/commands/DeleteThingShadowCommand.js +0 -27
  5. package/dist-cjs/commands/GetRetainedMessageCommand.js +0 -31
  6. package/dist-cjs/commands/GetThingShadowCommand.js +0 -28
  7. package/dist-cjs/commands/ListNamedShadowsForThingCommand.js +0 -26
  8. package/dist-cjs/commands/ListRetainedMessagesCommand.js +0 -34
  9. package/dist-cjs/commands/PublishCommand.js +0 -31
  10. package/dist-cjs/commands/UpdateThingShadowCommand.js +0 -28
  11. package/dist-cjs/commands/index.js +10 -0
  12. package/dist-cjs/endpoints.js +1 -2
  13. package/dist-cjs/index.js +4 -12
  14. package/dist-cjs/models/index.js +0 -1
  15. package/dist-cjs/models/models_0.js +0 -73
  16. package/dist-cjs/pagination/Interfaces.js +0 -1
  17. package/dist-cjs/pagination/ListRetainedMessagesPaginator.js +0 -11
  18. package/dist-cjs/pagination/index.js +5 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  20. package/dist-cjs/runtimeConfig.browser.js +1 -6
  21. package/dist-cjs/runtimeConfig.js +2 -7
  22. package/dist-cjs/runtimeConfig.native.js +0 -4
  23. package/dist-cjs/runtimeConfig.shared.js +0 -4
  24. package/dist-es/IoTDataPlane.js +0 -1
  25. package/dist-es/IoTDataPlaneClient.js +0 -1
  26. package/dist-es/commands/DeleteThingShadowCommand.js +0 -1
  27. package/dist-es/commands/GetRetainedMessageCommand.js +0 -1
  28. package/dist-es/commands/GetThingShadowCommand.js +0 -1
  29. package/dist-es/commands/ListNamedShadowsForThingCommand.js +0 -1
  30. package/dist-es/commands/ListRetainedMessagesCommand.js +0 -1
  31. package/dist-es/commands/PublishCommand.js +0 -1
  32. package/dist-es/commands/UpdateThingShadowCommand.js +0 -1
  33. package/dist-es/commands/index.js +7 -0
  34. package/dist-es/endpoints.js +1 -2
  35. package/dist-es/index.js +4 -12
  36. package/dist-es/models/index.js +0 -1
  37. package/dist-es/models/models_0.js +0 -1
  38. package/dist-es/pagination/Interfaces.js +0 -1
  39. package/dist-es/pagination/ListRetainedMessagesPaginator.js +0 -1
  40. package/dist-es/pagination/index.js +2 -0
  41. package/dist-es/protocols/Aws_restJson1.js +0 -1
  42. package/dist-es/runtimeConfig.browser.js +1 -2
  43. package/dist-es/runtimeConfig.js +2 -3
  44. package/dist-es/runtimeConfig.native.js +0 -1
  45. package/dist-es/runtimeConfig.shared.js +0 -1
  46. package/dist-types/commands/index.d.ts +7 -0
  47. package/dist-types/index.d.ts +4 -11
  48. package/dist-types/pagination/index.d.ts +2 -0
  49. package/dist-types/ts3.4/IoTDataPlane.d.ts +8 -64
  50. package/dist-types/ts3.4/IoTDataPlaneClient.d.ts +24 -99
  51. package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +2 -22
  52. package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +2 -26
  53. package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +2 -23
  54. package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +2 -21
  55. package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +2 -29
  56. package/dist-types/ts3.4/commands/PublishCommand.d.ts +2 -26
  57. package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +2 -23
  58. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  59. package/dist-types/ts3.4/index.d.ts +4 -11
  60. package/dist-types/ts3.4/models/models_0.d.ts +87 -271
  61. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  62. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  64. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  65. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  66. package/package.json +33 -30
  67. package/dist-cjs/IoTDataPlane.js.map +0 -1
  68. package/dist-cjs/IoTDataPlaneClient.js.map +0 -1
  69. package/dist-cjs/commands/DeleteThingShadowCommand.js.map +0 -1
  70. package/dist-cjs/commands/GetRetainedMessageCommand.js.map +0 -1
  71. package/dist-cjs/commands/GetThingShadowCommand.js.map +0 -1
  72. package/dist-cjs/commands/ListNamedShadowsForThingCommand.js.map +0 -1
  73. package/dist-cjs/commands/ListRetainedMessagesCommand.js.map +0 -1
  74. package/dist-cjs/commands/PublishCommand.js.map +0 -1
  75. package/dist-cjs/commands/UpdateThingShadowCommand.js.map +0 -1
  76. package/dist-cjs/endpoints.js.map +0 -1
  77. package/dist-cjs/index.js.map +0 -1
  78. package/dist-cjs/models/index.js.map +0 -1
  79. package/dist-cjs/models/models_0.js.map +0 -1
  80. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  81. package/dist-cjs/pagination/ListRetainedMessagesPaginator.js.map +0 -1
  82. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  83. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  84. package/dist-cjs/runtimeConfig.js.map +0 -1
  85. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  86. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  87. package/dist-es/IoTDataPlane.js.map +0 -1
  88. package/dist-es/IoTDataPlaneClient.js.map +0 -1
  89. package/dist-es/commands/DeleteThingShadowCommand.js.map +0 -1
  90. package/dist-es/commands/GetRetainedMessageCommand.js.map +0 -1
  91. package/dist-es/commands/GetThingShadowCommand.js.map +0 -1
  92. package/dist-es/commands/ListNamedShadowsForThingCommand.js.map +0 -1
  93. package/dist-es/commands/ListRetainedMessagesCommand.js.map +0 -1
  94. package/dist-es/commands/PublishCommand.js.map +0 -1
  95. package/dist-es/commands/UpdateThingShadowCommand.js.map +0 -1
  96. package/dist-es/endpoints.js.map +0 -1
  97. package/dist-es/index.js.map +0 -1
  98. package/dist-es/models/index.js.map +0 -1
  99. package/dist-es/models/models_0.js.map +0 -1
  100. package/dist-es/pagination/Interfaces.js.map +0 -1
  101. package/dist-es/pagination/ListRetainedMessagesPaginator.js.map +0 -1
  102. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  103. package/dist-es/runtimeConfig.browser.js.map +0 -1
  104. package/dist-es/runtimeConfig.js.map +0 -1
  105. package/dist-es/runtimeConfig.native.js.map +0 -1
  106. package/dist-es/runtimeConfig.shared.js.map +0 -1
  107. package/jest.config.js +0 -4
  108. package/src/IoTDataPlane.ts +0 -297
  109. package/src/IoTDataPlaneClient.ts +0 -273
  110. package/src/commands/DeleteThingShadowCommand.ts +0 -97
  111. package/src/commands/GetRetainedMessageCommand.ts +0 -101
  112. package/src/commands/GetThingShadowCommand.ts +0 -98
  113. package/src/commands/ListNamedShadowsForThingCommand.ts +0 -96
  114. package/src/commands/ListRetainedMessagesCommand.ts +0 -104
  115. package/src/commands/PublishCommand.ts +0 -101
  116. package/src/commands/UpdateThingShadowCommand.ts +0 -98
  117. package/src/endpoints.ts +0 -91
  118. package/src/index.ts +0 -12
  119. package/src/models/index.ts +0 -1
  120. package/src/models/models_0.ts +0 -570
  121. package/src/pagination/Interfaces.ts +0 -8
  122. package/src/pagination/ListRetainedMessagesPaginator.ts +0 -59
  123. package/src/protocols/Aws_restJson1.ts +0 -1281
  124. package/src/runtimeConfig.browser.ts +0 -41
  125. package/src/runtimeConfig.native.ts +0 -17
  126. package/src/runtimeConfig.shared.ts +0 -17
  127. package/src/runtimeConfig.ts +0 -46
  128. package/tsconfig.es.json +0 -10
  129. package/tsconfig.json +0 -33
  130. package/tsconfig.types.json +0 -9
package/src/endpoints.ts DELETED
@@ -1,91 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {
5
- "fips-ca-central-1": {
6
- hostname: "data.iot-fips.ca-central-1.amazonaws.com",
7
- signingService: "iotdata",
8
- },
9
- "fips-us-east-1": {
10
- hostname: "data.iot-fips.us-east-1.amazonaws.com",
11
- signingService: "iotdata",
12
- },
13
- "fips-us-east-2": {
14
- hostname: "data.iot-fips.us-east-2.amazonaws.com",
15
- signingService: "iotdata",
16
- },
17
- "fips-us-gov-east-1": {
18
- hostname: "data.iot-fips.us-gov-east-1.amazonaws.com",
19
- signingService: "iotdata",
20
- },
21
- "fips-us-gov-west-1": {
22
- hostname: "data.iot-fips.us-gov-west-1.amazonaws.com",
23
- signingService: "iotdata",
24
- },
25
- "fips-us-west-1": {
26
- hostname: "data.iot-fips.us-west-1.amazonaws.com",
27
- signingService: "iotdata",
28
- },
29
- "fips-us-west-2": {
30
- hostname: "data.iot-fips.us-west-2.amazonaws.com",
31
- signingService: "iotdata",
32
- },
33
- };
34
-
35
- const partitionHash: PartitionHash = {
36
- aws: {
37
- regions: [
38
- "af-south-1",
39
- "ap-east-1",
40
- "ap-northeast-1",
41
- "ap-northeast-2",
42
- "ap-northeast-3",
43
- "ap-south-1",
44
- "ap-southeast-1",
45
- "ap-southeast-2",
46
- "ca-central-1",
47
- "eu-central-1",
48
- "eu-north-1",
49
- "eu-south-1",
50
- "eu-west-1",
51
- "eu-west-2",
52
- "eu-west-3",
53
- "fips-ca-central-1",
54
- "fips-us-east-1",
55
- "fips-us-east-2",
56
- "fips-us-west-1",
57
- "fips-us-west-2",
58
- "me-south-1",
59
- "sa-east-1",
60
- "us-east-1",
61
- "us-east-2",
62
- "us-west-1",
63
- "us-west-2",
64
- ],
65
- hostname: "data.iot.{region}.amazonaws.com",
66
- },
67
- "aws-cn": {
68
- regions: ["cn-north-1", "cn-northwest-1"],
69
- hostname: "data.iot.{region}.amazonaws.com.cn",
70
- },
71
- "aws-iso": {
72
- regions: ["us-iso-east-1"],
73
- hostname: "data.iot.{region}.c2s.ic.gov",
74
- },
75
- "aws-iso-b": {
76
- regions: ["us-isob-east-1"],
77
- hostname: "data.iot.{region}.sc2s.sgov.gov",
78
- },
79
- "aws-us-gov": {
80
- regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
81
- hostname: "data.iot.{region}.amazonaws.com",
82
- },
83
- };
84
-
85
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
86
- getRegionInfo(region, {
87
- ...options,
88
- signingService: "iotdata",
89
- regionHash,
90
- partitionHash,
91
- });
package/src/index.ts DELETED
@@ -1,12 +0,0 @@
1
- export * from "./IoTDataPlaneClient";
2
- export * from "./IoTDataPlane";
3
- export * from "./commands/DeleteThingShadowCommand";
4
- export * from "./commands/GetRetainedMessageCommand";
5
- export * from "./commands/GetThingShadowCommand";
6
- export * from "./commands/ListNamedShadowsForThingCommand";
7
- export * from "./commands/ListRetainedMessagesCommand";
8
- export * from "./pagination/ListRetainedMessagesPaginator";
9
- export * from "./commands/PublishCommand";
10
- export * from "./commands/UpdateThingShadowCommand";
11
- export * from "./pagination/Interfaces";
12
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1,570 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * <p>The specified version does not match the version of the document.</p>
5
- */
6
- export interface ConflictException extends __SmithyException, $MetadataBearer {
7
- name: "ConflictException";
8
- $fault: "client";
9
- /**
10
- * <p>The message for the exception.</p>
11
- */
12
- message?: string;
13
- }
14
-
15
- export namespace ConflictException {
16
- /**
17
- * @internal
18
- */
19
- export const filterSensitiveLog = (obj: ConflictException): any => ({
20
- ...obj,
21
- });
22
- }
23
-
24
- /**
25
- * <p>The input for the DeleteThingShadow operation.</p>
26
- */
27
- export interface DeleteThingShadowRequest {
28
- /**
29
- * <p>The name of the thing.</p>
30
- */
31
- thingName: string | undefined;
32
-
33
- /**
34
- * <p>The name of the shadow.</p>
35
- */
36
- shadowName?: string;
37
- }
38
-
39
- export namespace DeleteThingShadowRequest {
40
- /**
41
- * @internal
42
- */
43
- export const filterSensitiveLog = (obj: DeleteThingShadowRequest): any => ({
44
- ...obj,
45
- });
46
- }
47
-
48
- /**
49
- * <p>The output from the DeleteThingShadow operation.</p>
50
- */
51
- export interface DeleteThingShadowResponse {
52
- /**
53
- * <p>The state information, in JSON format.</p>
54
- */
55
- payload: Uint8Array | undefined;
56
- }
57
-
58
- export namespace DeleteThingShadowResponse {
59
- /**
60
- * @internal
61
- */
62
- export const filterSensitiveLog = (obj: DeleteThingShadowResponse): any => ({
63
- ...obj,
64
- });
65
- }
66
-
67
- /**
68
- * <p>An unexpected error has occurred.</p>
69
- */
70
- export interface InternalFailureException extends __SmithyException, $MetadataBearer {
71
- name: "InternalFailureException";
72
- $fault: "server";
73
- /**
74
- * <p>The message for the exception.</p>
75
- */
76
- message?: string;
77
- }
78
-
79
- export namespace InternalFailureException {
80
- /**
81
- * @internal
82
- */
83
- export const filterSensitiveLog = (obj: InternalFailureException): any => ({
84
- ...obj,
85
- });
86
- }
87
-
88
- /**
89
- * <p>The request is not valid.</p>
90
- */
91
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
92
- name: "InvalidRequestException";
93
- $fault: "client";
94
- /**
95
- * <p>The message for the exception.</p>
96
- */
97
- message?: string;
98
- }
99
-
100
- export namespace InvalidRequestException {
101
- /**
102
- * @internal
103
- */
104
- export const filterSensitiveLog = (obj: InvalidRequestException): any => ({
105
- ...obj,
106
- });
107
- }
108
-
109
- /**
110
- * <p>The specified combination of HTTP verb and URI is not supported.</p>
111
- */
112
- export interface MethodNotAllowedException extends __SmithyException, $MetadataBearer {
113
- name: "MethodNotAllowedException";
114
- $fault: "client";
115
- /**
116
- * <p>The message for the exception.</p>
117
- */
118
- message?: string;
119
- }
120
-
121
- export namespace MethodNotAllowedException {
122
- /**
123
- * @internal
124
- */
125
- export const filterSensitiveLog = (obj: MethodNotAllowedException): any => ({
126
- ...obj,
127
- });
128
- }
129
-
130
- /**
131
- * <p>The specified resource does not exist.</p>
132
- */
133
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
134
- name: "ResourceNotFoundException";
135
- $fault: "client";
136
- /**
137
- * <p>The message for the exception.</p>
138
- */
139
- message?: string;
140
- }
141
-
142
- export namespace ResourceNotFoundException {
143
- /**
144
- * @internal
145
- */
146
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
147
- ...obj,
148
- });
149
- }
150
-
151
- /**
152
- * <p>The service is temporarily unavailable.</p>
153
- */
154
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
155
- name: "ServiceUnavailableException";
156
- $fault: "server";
157
- /**
158
- * <p>The message for the exception.</p>
159
- */
160
- message?: string;
161
- }
162
-
163
- export namespace ServiceUnavailableException {
164
- /**
165
- * @internal
166
- */
167
- export const filterSensitiveLog = (obj: ServiceUnavailableException): any => ({
168
- ...obj,
169
- });
170
- }
171
-
172
- /**
173
- * <p>The rate exceeds the limit.</p>
174
- */
175
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
176
- name: "ThrottlingException";
177
- $fault: "client";
178
- /**
179
- * <p>The message for the exception.</p>
180
- */
181
- message?: string;
182
- }
183
-
184
- export namespace ThrottlingException {
185
- /**
186
- * @internal
187
- */
188
- export const filterSensitiveLog = (obj: ThrottlingException): any => ({
189
- ...obj,
190
- });
191
- }
192
-
193
- /**
194
- * <p>You are not authorized to perform this operation.</p>
195
- */
196
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
197
- name: "UnauthorizedException";
198
- $fault: "client";
199
- /**
200
- * <p>The message for the exception.</p>
201
- */
202
- message?: string;
203
- }
204
-
205
- export namespace UnauthorizedException {
206
- /**
207
- * @internal
208
- */
209
- export const filterSensitiveLog = (obj: UnauthorizedException): any => ({
210
- ...obj,
211
- });
212
- }
213
-
214
- /**
215
- * <p>The document encoding is not supported.</p>
216
- */
217
- export interface UnsupportedDocumentEncodingException extends __SmithyException, $MetadataBearer {
218
- name: "UnsupportedDocumentEncodingException";
219
- $fault: "client";
220
- /**
221
- * <p>The message for the exception.</p>
222
- */
223
- message?: string;
224
- }
225
-
226
- export namespace UnsupportedDocumentEncodingException {
227
- /**
228
- * @internal
229
- */
230
- export const filterSensitiveLog = (obj: UnsupportedDocumentEncodingException): any => ({
231
- ...obj,
232
- });
233
- }
234
-
235
- /**
236
- * <p>The input for the GetRetainedMessage operation.</p>
237
- */
238
- export interface GetRetainedMessageRequest {
239
- /**
240
- * <p>The topic name of the retained message to retrieve.</p>
241
- */
242
- topic: string | undefined;
243
- }
244
-
245
- export namespace GetRetainedMessageRequest {
246
- /**
247
- * @internal
248
- */
249
- export const filterSensitiveLog = (obj: GetRetainedMessageRequest): any => ({
250
- ...obj,
251
- });
252
- }
253
-
254
- /**
255
- * <p>The output from the GetRetainedMessage operation.</p>
256
- */
257
- export interface GetRetainedMessageResponse {
258
- /**
259
- * <p>The topic name to which the retained message was published.</p>
260
- */
261
- topic?: string;
262
-
263
- /**
264
- * <p>The Base64-encoded message payload of the retained message body.</p>
265
- */
266
- payload?: Uint8Array;
267
-
268
- /**
269
- * <p>The quality of service (QoS) level used to publish the retained message.</p>
270
- */
271
- qos?: number;
272
-
273
- /**
274
- * <p>The Epoch date and time, in milliseconds, when the retained message was stored by IoT.</p>
275
- */
276
- lastModifiedTime?: number;
277
- }
278
-
279
- export namespace GetRetainedMessageResponse {
280
- /**
281
- * @internal
282
- */
283
- export const filterSensitiveLog = (obj: GetRetainedMessageResponse): any => ({
284
- ...obj,
285
- });
286
- }
287
-
288
- /**
289
- * <p>The input for the GetThingShadow operation.</p>
290
- */
291
- export interface GetThingShadowRequest {
292
- /**
293
- * <p>The name of the thing.</p>
294
- */
295
- thingName: string | undefined;
296
-
297
- /**
298
- * <p>The name of the shadow.</p>
299
- */
300
- shadowName?: string;
301
- }
302
-
303
- export namespace GetThingShadowRequest {
304
- /**
305
- * @internal
306
- */
307
- export const filterSensitiveLog = (obj: GetThingShadowRequest): any => ({
308
- ...obj,
309
- });
310
- }
311
-
312
- /**
313
- * <p>The output from the GetThingShadow operation.</p>
314
- */
315
- export interface GetThingShadowResponse {
316
- /**
317
- * <p>The state information, in JSON format.</p>
318
- */
319
- payload?: Uint8Array;
320
- }
321
-
322
- export namespace GetThingShadowResponse {
323
- /**
324
- * @internal
325
- */
326
- export const filterSensitiveLog = (obj: GetThingShadowResponse): any => ({
327
- ...obj,
328
- });
329
- }
330
-
331
- export interface ListNamedShadowsForThingRequest {
332
- /**
333
- * <p>The name of the thing.</p>
334
- */
335
- thingName: string | undefined;
336
-
337
- /**
338
- * <p>The token to retrieve the next set of results.</p>
339
- */
340
- nextToken?: string;
341
-
342
- /**
343
- * <p>The result page size.</p>
344
- */
345
- pageSize?: number;
346
- }
347
-
348
- export namespace ListNamedShadowsForThingRequest {
349
- /**
350
- * @internal
351
- */
352
- export const filterSensitiveLog = (obj: ListNamedShadowsForThingRequest): any => ({
353
- ...obj,
354
- });
355
- }
356
-
357
- export interface ListNamedShadowsForThingResponse {
358
- /**
359
- * <p>The list of shadows for the specified thing.</p>
360
- */
361
- results?: string[];
362
-
363
- /**
364
- * <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
365
- */
366
- nextToken?: string;
367
-
368
- /**
369
- * <p>The Epoch date and time the response was generated by IoT.</p>
370
- */
371
- timestamp?: number;
372
- }
373
-
374
- export namespace ListNamedShadowsForThingResponse {
375
- /**
376
- * @internal
377
- */
378
- export const filterSensitiveLog = (obj: ListNamedShadowsForThingResponse): any => ({
379
- ...obj,
380
- });
381
- }
382
-
383
- export interface ListRetainedMessagesRequest {
384
- /**
385
- * <p>To retrieve the next set of results, the <code>nextToken</code>
386
- * value from a previous response; otherwise <b>null</b> to receive
387
- * the first set of results.</p>
388
- */
389
- nextToken?: string;
390
-
391
- /**
392
- * <p>The maximum number of results to return at one time.</p>
393
- */
394
- maxResults?: number;
395
- }
396
-
397
- export namespace ListRetainedMessagesRequest {
398
- /**
399
- * @internal
400
- */
401
- export const filterSensitiveLog = (obj: ListRetainedMessagesRequest): any => ({
402
- ...obj,
403
- });
404
- }
405
-
406
- /**
407
- * <p>Information about a single retained message.</p>
408
- */
409
- export interface RetainedMessageSummary {
410
- /**
411
- * <p>The topic name to which the retained message was published.</p>
412
- */
413
- topic?: string;
414
-
415
- /**
416
- * <p>The size of the retained message's payload in bytes.</p>
417
- */
418
- payloadSize?: number;
419
-
420
- /**
421
- * <p>The quality of service (QoS) level used to publish the retained message.</p>
422
- */
423
- qos?: number;
424
-
425
- /**
426
- * <p>The Epoch date and time, in milliseconds, when the retained message was stored by IoT.</p>
427
- */
428
- lastModifiedTime?: number;
429
- }
430
-
431
- export namespace RetainedMessageSummary {
432
- /**
433
- * @internal
434
- */
435
- export const filterSensitiveLog = (obj: RetainedMessageSummary): any => ({
436
- ...obj,
437
- });
438
- }
439
-
440
- export interface ListRetainedMessagesResponse {
441
- /**
442
- * <p>A summary list the account's retained messages. The information returned doesn't include
443
- * the message payloads of the retained messages.</p>
444
- */
445
- retainedTopics?: RetainedMessageSummary[];
446
-
447
- /**
448
- * <p>The token for the next set of results, or null if there are no additional results.</p>
449
- */
450
- nextToken?: string;
451
- }
452
-
453
- export namespace ListRetainedMessagesResponse {
454
- /**
455
- * @internal
456
- */
457
- export const filterSensitiveLog = (obj: ListRetainedMessagesResponse): any => ({
458
- ...obj,
459
- });
460
- }
461
-
462
- /**
463
- * <p>The input for the Publish operation.</p>
464
- */
465
- export interface PublishRequest {
466
- /**
467
- * <p>The name of the MQTT topic.</p>
468
- */
469
- topic: string | undefined;
470
-
471
- /**
472
- * <p>The Quality of Service (QoS) level.</p>
473
- */
474
- qos?: number;
475
-
476
- /**
477
- * <p>A Boolean value that determines whether to set the RETAIN flag when the message is published.</p>
478
- * <p>Setting the RETAIN flag causes the message to be retained and sent to new subscribers to the topic.</p>
479
- * <p>Valid values: <code>true</code> | <code>false</code>
480
- * </p>
481
- * <p>Default value: <code>false</code>
482
- * </p>
483
- */
484
- retain?: boolean;
485
-
486
- /**
487
- * <p>The message body. MQTT accepts text, binary, and empty (null) message payloads.</p>
488
- * <p>Publishing an empty (null) payload with <b>retain</b> =
489
- * <code>true</code> deletes the retained message identified by <b>topic</b> from IoT Core.</p>
490
- */
491
- payload?: Uint8Array;
492
- }
493
-
494
- export namespace PublishRequest {
495
- /**
496
- * @internal
497
- */
498
- export const filterSensitiveLog = (obj: PublishRequest): any => ({
499
- ...obj,
500
- });
501
- }
502
-
503
- /**
504
- * <p>The payload exceeds the maximum size allowed.</p>
505
- */
506
- export interface RequestEntityTooLargeException extends __SmithyException, $MetadataBearer {
507
- name: "RequestEntityTooLargeException";
508
- $fault: "client";
509
- /**
510
- * <p>The message for the exception.</p>
511
- */
512
- message?: string;
513
- }
514
-
515
- export namespace RequestEntityTooLargeException {
516
- /**
517
- * @internal
518
- */
519
- export const filterSensitiveLog = (obj: RequestEntityTooLargeException): any => ({
520
- ...obj,
521
- });
522
- }
523
-
524
- /**
525
- * <p>The input for the UpdateThingShadow operation.</p>
526
- */
527
- export interface UpdateThingShadowRequest {
528
- /**
529
- * <p>The name of the thing.</p>
530
- */
531
- thingName: string | undefined;
532
-
533
- /**
534
- * <p>The name of the shadow.</p>
535
- */
536
- shadowName?: string;
537
-
538
- /**
539
- * <p>The state information, in JSON format.</p>
540
- */
541
- payload: Uint8Array | undefined;
542
- }
543
-
544
- export namespace UpdateThingShadowRequest {
545
- /**
546
- * @internal
547
- */
548
- export const filterSensitiveLog = (obj: UpdateThingShadowRequest): any => ({
549
- ...obj,
550
- });
551
- }
552
-
553
- /**
554
- * <p>The output from the UpdateThingShadow operation.</p>
555
- */
556
- export interface UpdateThingShadowResponse {
557
- /**
558
- * <p>The state information, in JSON format.</p>
559
- */
560
- payload?: Uint8Array;
561
- }
562
-
563
- export namespace UpdateThingShadowResponse {
564
- /**
565
- * @internal
566
- */
567
- export const filterSensitiveLog = (obj: UpdateThingShadowResponse): any => ({
568
- ...obj,
569
- });
570
- }
@@ -1,8 +0,0 @@
1
- import { PaginationConfiguration } from "@aws-sdk/types";
2
-
3
- import { IoTDataPlane } from "../IoTDataPlane";
4
- import { IoTDataPlaneClient } from "../IoTDataPlaneClient";
5
-
6
- export interface IoTDataPlanePaginationConfiguration extends PaginationConfiguration {
7
- client: IoTDataPlane | IoTDataPlaneClient;
8
- }