@aws-sdk/client-iot-data-plane 3.529.1 → 3.533.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/dist-types/commands/DeleteThingShadowCommand.d.ts +1 -1
- package/dist-types/commands/GetRetainedMessageCommand.d.ts +2 -2
- package/dist-types/commands/GetThingShadowCommand.d.ts +1 -1
- package/dist-types/commands/PublishCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThingShadowCommand.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +38 -38
|
@@ -49,7 +49,7 @@ declare const DeleteThingShadowCommand_base: {
|
|
|
49
49
|
* const command = new DeleteThingShadowCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
51
|
* // { // DeleteThingShadowResponse
|
|
52
|
-
* // payload:
|
|
52
|
+
* // payload: new Uint8Array(), // required
|
|
53
53
|
* // };
|
|
54
54
|
*
|
|
55
55
|
* ```
|
|
@@ -46,10 +46,10 @@ declare const GetRetainedMessageCommand_base: {
|
|
|
46
46
|
* const response = await client.send(command);
|
|
47
47
|
* // { // GetRetainedMessageResponse
|
|
48
48
|
* // topic: "STRING_VALUE",
|
|
49
|
-
* // payload:
|
|
49
|
+
* // payload: new Uint8Array(),
|
|
50
50
|
* // qos: Number("int"),
|
|
51
51
|
* // lastModifiedTime: Number("long"),
|
|
52
|
-
* // userProperties:
|
|
52
|
+
* // userProperties: new Uint8Array(),
|
|
53
53
|
* // };
|
|
54
54
|
*
|
|
55
55
|
* ```
|
|
@@ -50,7 +50,7 @@ declare const GetThingShadowCommand_base: {
|
|
|
50
50
|
* const command = new GetThingShadowCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
52
52
|
* // { // GetThingShadowResponse
|
|
53
|
-
* // payload:
|
|
53
|
+
* // payload: new Uint8Array(),
|
|
54
54
|
* // };
|
|
55
55
|
*
|
|
56
56
|
* ```
|
|
@@ -49,7 +49,7 @@ declare const PublishCommand_base: {
|
|
|
49
49
|
* topic: "STRING_VALUE", // required
|
|
50
50
|
* qos: Number("int"),
|
|
51
51
|
* retain: true || false,
|
|
52
|
-
* payload: "
|
|
52
|
+
* payload: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
53
53
|
* userProperties: "STRING_VALUE",
|
|
54
54
|
* payloadFormatIndicator: "UNSPECIFIED_BYTES" || "UTF8_DATA",
|
|
55
55
|
* contentType: "STRING_VALUE",
|
|
@@ -52,12 +52,12 @@ declare const UpdateThingShadowCommand_base: {
|
|
|
52
52
|
* const input = { // UpdateThingShadowRequest
|
|
53
53
|
* thingName: "STRING_VALUE", // required
|
|
54
54
|
* shadowName: "STRING_VALUE",
|
|
55
|
-
* payload: "
|
|
55
|
+
* payload: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
56
56
|
* };
|
|
57
57
|
* const command = new UpdateThingShadowCommand(input);
|
|
58
58
|
* const response = await client.send(command);
|
|
59
59
|
* // { // UpdateThingShadowResponse
|
|
60
|
-
* // payload:
|
|
60
|
+
* // payload: new Uint8Array(),
|
|
61
61
|
* // };
|
|
62
62
|
*
|
|
63
63
|
* ```
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
-
base64Encoder:
|
|
14
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
15
15
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
utf8Encoder:
|
|
16
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -5,7 +5,7 @@ import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder:
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
};
|
|
@@ -25,9 +25,9 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
25
25
|
apiVersion: string;
|
|
26
26
|
urlParser: import("@smithy/types").UrlParser;
|
|
27
27
|
base64Decoder: import("@smithy/types").Decoder;
|
|
28
|
-
base64Encoder:
|
|
28
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
29
29
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
30
|
-
utf8Encoder:
|
|
30
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
31
31
|
disableHostPrefix: boolean;
|
|
32
32
|
serviceId: string;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
@@ -29,9 +29,9 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
29
29
|
apiVersion: string;
|
|
30
30
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
31
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
|
-
base64Encoder:
|
|
32
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
33
33
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
34
|
-
utf8Encoder:
|
|
34
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
35
35
|
disableHostPrefix: boolean;
|
|
36
36
|
serviceId: string;
|
|
37
37
|
logger: import("@smithy/types").Logger;
|
|
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
13
13
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
14
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
15
15
|
base64Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
base64Encoder:
|
|
16
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
17
17
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
18
|
-
utf8Encoder:
|
|
18
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
19
19
|
disableHostPrefix: boolean;
|
|
20
20
|
serviceId: string;
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -2,7 +2,7 @@ import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
|
|
|
2
2
|
export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
4
|
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
-
base64Encoder:
|
|
5
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
};
|
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.533.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iot-data-plane",
|
|
@@ -20,44 +20,44 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
38
|
-
"@smithy/hash-node": "^2.1.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
43
|
-
"@smithy/middleware-serde": "^2.1
|
|
44
|
-
"@smithy/middleware-stack": "^2.1.
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.4.
|
|
47
|
-
"@smithy/protocol-http": "^3.2.
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.1.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.533.0",
|
|
24
|
+
"@aws-sdk/core": "3.533.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.533.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.533.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.533.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.533.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.533.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.533.0",
|
|
31
|
+
"@aws-sdk/types": "3.533.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.533.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.533.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.533.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.5",
|
|
36
|
+
"@smithy/core": "^1.3.8",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.4.5",
|
|
38
|
+
"@smithy/hash-node": "^2.1.4",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.1.4",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.1.4",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.6",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.7",
|
|
43
|
+
"@smithy/middleware-serde": "^2.2.1",
|
|
44
|
+
"@smithy/middleware-stack": "^2.1.4",
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.5",
|
|
46
|
+
"@smithy/node-http-handler": "^2.4.3",
|
|
47
|
+
"@smithy/protocol-http": "^3.2.2",
|
|
48
|
+
"@smithy/smithy-client": "^2.4.5",
|
|
49
|
+
"@smithy/types": "^2.11.0",
|
|
50
|
+
"@smithy/url-parser": "^2.1.4",
|
|
51
|
+
"@smithy/util-base64": "^2.2.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
|
-
"@smithy/util-body-length-node": "^2.2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
57
|
-
"@smithy/util-middleware": "^2.1.
|
|
58
|
-
"@smithy/util-retry": "^2.1.
|
|
59
|
-
"@smithy/util-stream": "^2.1.
|
|
60
|
-
"@smithy/util-utf8": "^2.
|
|
53
|
+
"@smithy/util-body-length-node": "^2.2.2",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.7",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.7",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.5",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.4",
|
|
58
|
+
"@smithy/util-retry": "^2.1.4",
|
|
59
|
+
"@smithy/util-stream": "^2.1.5",
|
|
60
|
+
"@smithy/util-utf8": "^2.2.0",
|
|
61
61
|
"tslib": "^2.5.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|