@aws-sdk/client-iot-data-plane 3.696.0 → 3.709.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-cjs/index.js CHANGED
@@ -452,7 +452,7 @@ var se_PublishCommand = /* @__PURE__ */ __name(async (input, context) => {
452
452
  "content-type": "application/octet-stream",
453
453
  [_xamup]: [
454
454
  () => (0, import_smithy_client.isSerializableHeaderValue)(input[_uP]),
455
- () => context.base64Encoder(Buffer.from(import_smithy_client.LazyJsonString.fromObject(input[_uP])))
455
+ () => context.base64Encoder(Buffer.from(import_smithy_client.LazyJsonString.from(input[_uP])))
456
456
  ],
457
457
  [_xampfi]: input[_pFI],
458
458
  [_xamcd]: input[_cD]
@@ -67,7 +67,7 @@ export const se_PublishCommand = async (input, context) => {
67
67
  "content-type": "application/octet-stream",
68
68
  [_xamup]: [
69
69
  () => isSerializableHeaderValue(input[_uP]),
70
- () => context.base64Encoder(Buffer.from(__LazyJsonString.fromObject(input[_uP]))),
70
+ () => context.base64Encoder(Buffer.from(__LazyJsonString.from(input[_uP]))),
71
71
  ],
72
72
  [_xampfi]: input[_pFI],
73
73
  [_xamcd]: input[_cD],
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
1
+ import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion, ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IoTDataPlaneServiceException as __BaseException } from "./IoTDataPlaneServiceException";
3
3
  /**
4
4
  * <p>The specified version does not match the version of the document.</p>
@@ -364,7 +364,7 @@ export interface PublishRequest {
364
364
  * </p>
365
365
  * @public
366
366
  */
367
- userProperties?: __LazyJsonString | string | undefined;
367
+ userProperties?: __AutomaticJsonStringConversion | string | undefined;
368
368
  /**
369
369
  * <p>An <code>Enum</code> string value that indicates whether the payload is formatted as
370
370
  * UTF-8. <code>payloadFormatIndicator</code> is an HTTP header value in the API.</p>
@@ -1,6 +1,6 @@
1
1
  import {
2
+ AutomaticJsonStringConversion as __AutomaticJsonStringConversion,
2
3
  ExceptionOptionType as __ExceptionOptionType,
3
- LazyJsonString as __LazyJsonString,
4
4
  } from "@smithy/smithy-client";
5
5
  import { IoTDataPlaneServiceException as __BaseException } from "./IoTDataPlaneServiceException";
6
6
  export declare class ConflictException extends __BaseException {
@@ -126,7 +126,7 @@ export interface PublishRequest {
126
126
  qos?: number | undefined;
127
127
  retain?: boolean | undefined;
128
128
  payload?: Uint8Array | undefined;
129
- userProperties?: __LazyJsonString | string | undefined;
129
+ userProperties?: __AutomaticJsonStringConversion | string | undefined;
130
130
  payloadFormatIndicator?: PayloadFormatIndicator | undefined;
131
131
  contentType?: string | undefined;
132
132
  responseTopic?: string | undefined;
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.696.0",
4
+ "version": "3.709.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": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.696.0",
24
- "@aws-sdk/client-sts": "3.696.0",
25
- "@aws-sdk/core": "3.696.0",
26
- "@aws-sdk/credential-provider-node": "3.696.0",
27
- "@aws-sdk/middleware-host-header": "3.696.0",
28
- "@aws-sdk/middleware-logger": "3.696.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
- "@aws-sdk/middleware-user-agent": "3.696.0",
31
- "@aws-sdk/region-config-resolver": "3.696.0",
32
- "@aws-sdk/types": "3.696.0",
33
- "@aws-sdk/util-endpoints": "3.696.0",
34
- "@aws-sdk/util-user-agent-browser": "3.696.0",
35
- "@aws-sdk/util-user-agent-node": "3.696.0",
36
- "@smithy/config-resolver": "^3.0.12",
37
- "@smithy/core": "^2.5.3",
38
- "@smithy/fetch-http-handler": "^4.1.1",
39
- "@smithy/hash-node": "^3.0.10",
40
- "@smithy/invalid-dependency": "^3.0.10",
41
- "@smithy/middleware-content-length": "^3.0.12",
42
- "@smithy/middleware-endpoint": "^3.2.3",
43
- "@smithy/middleware-retry": "^3.0.27",
44
- "@smithy/middleware-serde": "^3.0.10",
45
- "@smithy/middleware-stack": "^3.0.10",
46
- "@smithy/node-config-provider": "^3.1.11",
47
- "@smithy/node-http-handler": "^3.3.1",
48
- "@smithy/protocol-http": "^4.1.7",
49
- "@smithy/smithy-client": "^3.4.4",
50
- "@smithy/types": "^3.7.1",
51
- "@smithy/url-parser": "^3.0.10",
23
+ "@aws-sdk/client-sso-oidc": "3.709.0",
24
+ "@aws-sdk/client-sts": "3.709.0",
25
+ "@aws-sdk/core": "3.709.0",
26
+ "@aws-sdk/credential-provider-node": "3.709.0",
27
+ "@aws-sdk/middleware-host-header": "3.709.0",
28
+ "@aws-sdk/middleware-logger": "3.709.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
+ "@aws-sdk/middleware-user-agent": "3.709.0",
31
+ "@aws-sdk/region-config-resolver": "3.709.0",
32
+ "@aws-sdk/types": "3.709.0",
33
+ "@aws-sdk/util-endpoints": "3.709.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.709.0",
35
+ "@aws-sdk/util-user-agent-node": "3.709.0",
36
+ "@smithy/config-resolver": "^3.0.13",
37
+ "@smithy/core": "^2.5.5",
38
+ "@smithy/fetch-http-handler": "^4.1.2",
39
+ "@smithy/hash-node": "^3.0.11",
40
+ "@smithy/invalid-dependency": "^3.0.11",
41
+ "@smithy/middleware-content-length": "^3.0.13",
42
+ "@smithy/middleware-endpoint": "^3.2.5",
43
+ "@smithy/middleware-retry": "^3.0.30",
44
+ "@smithy/middleware-serde": "^3.0.11",
45
+ "@smithy/middleware-stack": "^3.0.11",
46
+ "@smithy/node-config-provider": "^3.1.12",
47
+ "@smithy/node-http-handler": "^3.3.2",
48
+ "@smithy/protocol-http": "^4.1.8",
49
+ "@smithy/smithy-client": "^3.5.0",
50
+ "@smithy/types": "^3.7.2",
51
+ "@smithy/url-parser": "^3.0.11",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.27",
56
- "@smithy/util-defaults-mode-node": "^3.0.27",
57
- "@smithy/util-endpoints": "^2.1.6",
58
- "@smithy/util-middleware": "^3.0.10",
59
- "@smithy/util-retry": "^3.0.10",
60
- "@smithy/util-stream": "^3.3.1",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.30",
56
+ "@smithy/util-defaults-mode-node": "^3.0.30",
57
+ "@smithy/util-endpoints": "^2.1.7",
58
+ "@smithy/util-middleware": "^3.0.11",
59
+ "@smithy/util-retry": "^3.0.11",
60
+ "@smithy/util-stream": "^3.3.2",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },