@aws-sdk/client-iot-data-plane 3.299.0 → 3.300.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.
@@ -28,6 +28,10 @@ export interface DeleteThingShadowCommandOutput extends DeleteThingShadowRespons
28
28
  * import { IoTDataPlaneClient, DeleteThingShadowCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
29
29
  * // const { IoTDataPlaneClient, DeleteThingShadowCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
30
30
  * const client = new IoTDataPlaneClient(config);
31
+ * const input = {
32
+ * thingName: "STRING_VALUE", // required
33
+ * shadowName: "STRING_VALUE",
34
+ * };
31
35
  * const command = new DeleteThingShadowCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -32,6 +32,9 @@ export interface GetRetainedMessageCommandOutput extends GetRetainedMessageRespo
32
32
  * import { IoTDataPlaneClient, GetRetainedMessageCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
33
33
  * // const { IoTDataPlaneClient, GetRetainedMessageCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
34
34
  * const client = new IoTDataPlaneClient(config);
35
+ * const input = {
36
+ * topic: "STRING_VALUE", // required
37
+ * };
35
38
  * const command = new GetRetainedMessageCommand(input);
36
39
  * const response = await client.send(command);
37
40
  * ```
@@ -29,6 +29,10 @@ export interface GetThingShadowCommandOutput extends GetThingShadowResponse, __M
29
29
  * import { IoTDataPlaneClient, GetThingShadowCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
30
30
  * // const { IoTDataPlaneClient, GetThingShadowCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
31
31
  * const client = new IoTDataPlaneClient(config);
32
+ * const input = {
33
+ * thingName: "STRING_VALUE", // required
34
+ * shadowName: "STRING_VALUE",
35
+ * };
32
36
  * const command = new GetThingShadowCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -27,6 +27,11 @@ export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsF
27
27
  * import { IoTDataPlaneClient, ListNamedShadowsForThingCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
28
28
  * // const { IoTDataPlaneClient, ListNamedShadowsForThingCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
29
29
  * const client = new IoTDataPlaneClient(config);
30
+ * const input = {
31
+ * thingName: "STRING_VALUE", // required
32
+ * nextToken: "STRING_VALUE",
33
+ * pageSize: Number("int"),
34
+ * };
30
35
  * const command = new ListNamedShadowsForThingCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -35,6 +35,10 @@ export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesR
35
35
  * import { IoTDataPlaneClient, ListRetainedMessagesCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
36
36
  * // const { IoTDataPlaneClient, ListRetainedMessagesCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
37
37
  * const client = new IoTDataPlaneClient(config);
38
+ * const input = {
39
+ * nextToken: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * };
38
42
  * const command = new ListRetainedMessagesCommand(input);
39
43
  * const response = await client.send(command);
40
44
  * ```
@@ -32,6 +32,18 @@ export interface PublishCommandOutput extends __MetadataBearer {
32
32
  * import { IoTDataPlaneClient, PublishCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
33
33
  * // const { IoTDataPlaneClient, PublishCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
34
34
  * const client = new IoTDataPlaneClient(config);
35
+ * const input = {
36
+ * topic: "STRING_VALUE", // required
37
+ * qos: Number("int"),
38
+ * retain: true || false,
39
+ * payload: "BLOB_VALUE",
40
+ * userProperties: "STRING_VALUE",
41
+ * payloadFormatIndicator: "UNSPECIFIED_BYTES" || "UTF8_DATA",
42
+ * contentType: "STRING_VALUE",
43
+ * responseTopic: "STRING_VALUE",
44
+ * correlationData: "STRING_VALUE",
45
+ * messageExpiry: Number("long"),
46
+ * };
35
47
  * const command = new PublishCommand(input);
36
48
  * const response = await client.send(command);
37
49
  * ```
@@ -29,6 +29,11 @@ export interface UpdateThingShadowCommandOutput extends UpdateThingShadowRespons
29
29
  * import { IoTDataPlaneClient, UpdateThingShadowCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
30
30
  * // const { IoTDataPlaneClient, UpdateThingShadowCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
31
31
  * const client = new IoTDataPlaneClient(config);
32
+ * const input = {
33
+ * thingName: "STRING_VALUE", // required
34
+ * shadowName: "STRING_VALUE",
35
+ * payload: "BLOB_VALUE", // required
36
+ * };
32
37
  * const command = new UpdateThingShadowCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
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.299.0",
4
+ "version": "3.300.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },