@aws-sdk/client-iot-data-plane 3.325.0 → 3.327.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.
@@ -34,6 +34,10 @@ export interface DeleteThingShadowCommandOutput extends DeleteThingShadowRespons
34
34
  * };
35
35
  * const command = new DeleteThingShadowCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // DeleteThingShadowResponse
38
+ * // payload: "BLOB_VALUE", // required
39
+ * // };
40
+ *
37
41
  * ```
38
42
  *
39
43
  * @param DeleteThingShadowCommandInput - {@link DeleteThingShadowCommandInput}
@@ -66,6 +70,8 @@ export interface DeleteThingShadowCommandOutput extends DeleteThingShadowRespons
66
70
  * @throws {@link UnsupportedDocumentEncodingException} (client fault)
67
71
  * <p>The document encoding is not supported.</p>
68
72
  *
73
+ * @throws {@link IoTDataPlaneServiceException}
74
+ * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
69
75
  *
70
76
  */
71
77
  export declare class DeleteThingShadowCommand extends $Command<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
@@ -37,6 +37,14 @@ export interface GetRetainedMessageCommandOutput extends GetRetainedMessageRespo
37
37
  * };
38
38
  * const command = new GetRetainedMessageCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // GetRetainedMessageResponse
41
+ * // topic: "STRING_VALUE",
42
+ * // payload: "BLOB_VALUE",
43
+ * // qos: Number("int"),
44
+ * // lastModifiedTime: Number("long"),
45
+ * // userProperties: "BLOB_VALUE",
46
+ * // };
47
+ *
40
48
  * ```
41
49
  *
42
50
  * @param GetRetainedMessageCommandInput - {@link GetRetainedMessageCommandInput}
@@ -66,6 +74,8 @@ export interface GetRetainedMessageCommandOutput extends GetRetainedMessageRespo
66
74
  * @throws {@link UnauthorizedException} (client fault)
67
75
  * <p>You are not authorized to perform this operation.</p>
68
76
  *
77
+ * @throws {@link IoTDataPlaneServiceException}
78
+ * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
69
79
  *
70
80
  */
71
81
  export declare class GetRetainedMessageCommand extends $Command<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig> {
@@ -35,6 +35,10 @@ export interface GetThingShadowCommandOutput extends GetThingShadowResponse, __M
35
35
  * };
36
36
  * const command = new GetThingShadowCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetThingShadowResponse
39
+ * // payload: "BLOB_VALUE",
40
+ * // };
41
+ *
38
42
  * ```
39
43
  *
40
44
  * @param GetThingShadowCommandInput - {@link GetThingShadowCommandInput}
@@ -67,6 +71,8 @@ export interface GetThingShadowCommandOutput extends GetThingShadowResponse, __M
67
71
  * @throws {@link UnsupportedDocumentEncodingException} (client fault)
68
72
  * <p>The document encoding is not supported.</p>
69
73
  *
74
+ * @throws {@link IoTDataPlaneServiceException}
75
+ * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
70
76
  *
71
77
  */
72
78
  export declare class GetThingShadowCommand extends $Command<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
@@ -34,6 +34,14 @@ export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsF
34
34
  * };
35
35
  * const command = new ListNamedShadowsForThingCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListNamedShadowsForThingResponse
38
+ * // results: [ // NamedShadowList
39
+ * // "STRING_VALUE",
40
+ * // ],
41
+ * // nextToken: "STRING_VALUE",
42
+ * // timestamp: Number("long"),
43
+ * // };
44
+ *
37
45
  * ```
38
46
  *
39
47
  * @param ListNamedShadowsForThingCommandInput - {@link ListNamedShadowsForThingCommandInput}
@@ -63,6 +71,8 @@ export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsF
63
71
  * @throws {@link UnauthorizedException} (client fault)
64
72
  * <p>You are not authorized to perform this operation.</p>
65
73
  *
74
+ * @throws {@link IoTDataPlaneServiceException}
75
+ * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
66
76
  *
67
77
  */
68
78
  export declare class ListNamedShadowsForThingCommand extends $Command<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig> {
@@ -41,6 +41,18 @@ export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesR
41
41
  * };
42
42
  * const command = new ListRetainedMessagesCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ListRetainedMessagesResponse
45
+ * // retainedTopics: [ // RetainedMessageList
46
+ * // { // RetainedMessageSummary
47
+ * // topic: "STRING_VALUE",
48
+ * // payloadSize: Number("long"),
49
+ * // qos: Number("int"),
50
+ * // lastModifiedTime: Number("long"),
51
+ * // },
52
+ * // ],
53
+ * // nextToken: "STRING_VALUE",
54
+ * // };
55
+ *
44
56
  * ```
45
57
  *
46
58
  * @param ListRetainedMessagesCommandInput - {@link ListRetainedMessagesCommandInput}
@@ -67,6 +79,8 @@ export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesR
67
79
  * @throws {@link UnauthorizedException} (client fault)
68
80
  * <p>You are not authorized to perform this operation.</p>
69
81
  *
82
+ * @throws {@link IoTDataPlaneServiceException}
83
+ * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
70
84
  *
71
85
  */
72
86
  export declare class ListRetainedMessagesCommand extends $Command<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig> {
@@ -46,6 +46,8 @@ export interface PublishCommandOutput extends __MetadataBearer {
46
46
  * };
47
47
  * const command = new PublishCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // {};
50
+ *
49
51
  * ```
50
52
  *
51
53
  * @param PublishCommandInput - {@link PublishCommandInput}
@@ -69,6 +71,8 @@ export interface PublishCommandOutput extends __MetadataBearer {
69
71
  * @throws {@link UnauthorizedException} (client fault)
70
72
  * <p>You are not authorized to perform this operation.</p>
71
73
  *
74
+ * @throws {@link IoTDataPlaneServiceException}
75
+ * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
72
76
  *
73
77
  */
74
78
  export declare class PublishCommand extends $Command<PublishCommandInput, PublishCommandOutput, IoTDataPlaneClientResolvedConfig> {
@@ -36,6 +36,10 @@ export interface UpdateThingShadowCommandOutput extends UpdateThingShadowRespons
36
36
  * };
37
37
  * const command = new UpdateThingShadowCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // UpdateThingShadowResponse
40
+ * // payload: "BLOB_VALUE",
41
+ * // };
42
+ *
39
43
  * ```
40
44
  *
41
45
  * @param UpdateThingShadowCommandInput - {@link UpdateThingShadowCommandInput}
@@ -71,6 +75,8 @@ export interface UpdateThingShadowCommandOutput extends UpdateThingShadowRespons
71
75
  * @throws {@link UnsupportedDocumentEncodingException} (client fault)
72
76
  * <p>The document encoding is not supported.</p>
73
77
  *
78
+ * @throws {@link IoTDataPlaneServiceException}
79
+ * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
74
80
  *
75
81
  */
76
82
  export declare class UpdateThingShadowCommand extends $Command<UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
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.325.0",
4
+ "version": "3.327.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,9 +21,9 @@
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.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",