@aws-sdk/client-iot-data-plane 3.1044.0 → 3.1046.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 (61) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +32 -33
  5. package/dist-cjs/models/IoTDataPlaneServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/IoTDataPlane.js +1 -1
  10. package/dist-es/IoTDataPlaneClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/DeleteConnectionCommand.js +2 -2
  13. package/dist-es/commands/DeleteThingShadowCommand.js +2 -2
  14. package/dist-es/commands/GetRetainedMessageCommand.js +2 -2
  15. package/dist-es/commands/GetThingShadowCommand.js +2 -2
  16. package/dist-es/commands/ListNamedShadowsForThingCommand.js +2 -2
  17. package/dist-es/commands/ListRetainedMessagesCommand.js +2 -2
  18. package/dist-es/commands/PublishCommand.js +2 -2
  19. package/dist-es/commands/UpdateThingShadowCommand.js +2 -2
  20. package/dist-es/endpoint/bdd.js +1 -1
  21. package/dist-es/endpoint/endpointResolver.js +1 -1
  22. package/dist-es/models/IoTDataPlaneServiceException.js +1 -1
  23. package/dist-es/runtimeConfig.browser.js +4 -6
  24. package/dist-es/runtimeConfig.js +4 -8
  25. package/dist-es/runtimeConfig.shared.js +3 -4
  26. package/dist-es/runtimeExtensions.js +2 -2
  27. package/dist-types/IoTDataPlaneClient.d.ts +5 -5
  28. package/dist-types/commands/DeleteConnectionCommand.d.ts +6 -4
  29. package/dist-types/commands/DeleteThingShadowCommand.d.ts +7 -5
  30. package/dist-types/commands/GetRetainedMessageCommand.d.ts +6 -4
  31. package/dist-types/commands/GetThingShadowCommand.d.ts +7 -5
  32. package/dist-types/commands/ListNamedShadowsForThingCommand.d.ts +6 -4
  33. package/dist-types/commands/ListRetainedMessagesCommand.d.ts +6 -4
  34. package/dist-types/commands/PublishCommand.d.ts +6 -4
  35. package/dist-types/commands/UpdateThingShadowCommand.d.ts +7 -5
  36. package/dist-types/endpoint/bdd.d.ts +1 -1
  37. package/dist-types/extensionConfiguration.d.ts +1 -1
  38. package/dist-types/models/IoTDataPlaneServiceException.d.ts +1 -1
  39. package/dist-types/models/errors.d.ts +1 -1
  40. package/dist-types/models/models_0.d.ts +1 -1
  41. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  42. package/dist-types/runtimeConfig.d.ts +2 -2
  43. package/dist-types/runtimeConfig.native.d.ts +2 -2
  44. package/dist-types/ts3.4/IoTDataPlaneClient.d.ts +8 -14
  45. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +6 -4
  46. package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +7 -5
  47. package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +6 -4
  48. package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +7 -5
  49. package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +6 -4
  50. package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +6 -4
  51. package/dist-types/ts3.4/commands/PublishCommand.d.ts +6 -4
  52. package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +7 -5
  53. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  54. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  55. package/dist-types/ts3.4/models/IoTDataPlaneServiceException.d.ts +1 -1
  56. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  57. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  61. package/package.json +13 -35
@@ -1,9 +1,9 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
2
3
  import {
3
4
  BlobPayloadInputTypes,
4
5
  MetadataBearer as __MetadataBearer,
5
6
  } from "@smithy/types";
6
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
7
7
  import {
8
8
  IoTDataPlaneClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -35,7 +35,7 @@ export interface UpdateThingShadowCommandOutput
35
35
  declare const UpdateThingShadowCommand_base: {
36
36
  new (
37
37
  input: UpdateThingShadowCommandInput
38
- ): import("@smithy/smithy-client").CommandImpl<
38
+ ): import("@smithy/core/client").CommandImpl<
39
39
  UpdateThingShadowCommandInput,
40
40
  UpdateThingShadowCommandOutput,
41
41
  IoTDataPlaneClientResolvedConfig,
@@ -44,14 +44,16 @@ declare const UpdateThingShadowCommand_base: {
44
44
  >;
45
45
  new (
46
46
  input: UpdateThingShadowCommandInput
47
- ): import("@smithy/smithy-client").CommandImpl<
47
+ ): import("@smithy/core/client").CommandImpl<
48
48
  UpdateThingShadowCommandInput,
49
49
  UpdateThingShadowCommandOutput,
50
50
  IoTDataPlaneClientResolvedConfig,
51
51
  ServiceInputTypes,
52
52
  ServiceOutputTypes
53
53
  >;
54
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
54
+ getEndpointParameterInstructions(): {
55
+ [x: string]: unknown;
56
+ };
55
57
  };
56
58
  export declare class UpdateThingShadowCommand extends UpdateThingShadowCommand_base {
57
59
  protected static __types: {
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface IoTDataPlaneExtensionConfiguration
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
3
  ServiceException as __ServiceException,
4
- } from "@smithy/smithy-client";
4
+ } from "@smithy/core/client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class IoTDataPlaneServiceException extends __ServiceException {
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { IoTDataPlaneServiceException as __BaseException } from "./IoTDataPlaneServiceException";
3
3
  export declare class ConflictException extends __BaseException {
4
4
  readonly name: "ConflictException";
@@ -1,4 +1,4 @@
1
- import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
1
+ import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
2
2
  import { PayloadFormatIndicator } from "./enums";
3
3
  export interface DeleteConnectionRequest {
4
4
  clientId: string | undefined;
@@ -3,7 +3,7 @@ import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
3
3
  export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
@@ -17,7 +17,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
17
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
18
  region: string | import("@smithy/types").Provider<any>;
19
19
  requestHandler:
20
- | import("@smithy/protocol-http").HttpHandler<any>
20
+ | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
@@ -3,7 +3,7 @@ import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
3
3
  export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
19
19
  region: string | import("@smithy/types").Provider<string>;
20
20
  requestHandler:
21
21
  | RequestHandler
22
- | import("@smithy/protocol-http").HttpHandler<any>;
22
+ | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
24
  sha256: import("@smithy/types").HashConstructor;
25
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
6
6
  | import("@smithy/types").NodeHttpHandlerOptions
7
7
  | import("@smithy/types").FetchHttpHandlerOptions
8
8
  | Record<string, unknown>
9
- | import("@smithy/protocol-http").HttpHandler<any>
9
+ | import("@smithy/core/protocols").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  cacheMiddleware?: boolean;
12
12
  protocol:
@@ -46,9 +46,9 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
46
46
  logger: import("@smithy/types").Logger;
47
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
48
48
  defaultsMode:
49
- | import("@smithy/smithy-client").DefaultsMode
49
+ | import("@smithy/core/client").DefaultsMode
50
50
  | import("@smithy/types").Provider<
51
- import("@smithy/smithy-client").DefaultsMode
51
+ import("@smithy/core/client").DefaultsMode
52
52
  >;
53
53
  customUserAgent?: string | import("@smithy/types").UserAgent;
54
54
  userAgentAppId?:
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.1044.0",
4
+ "version": "3.1046.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iot-data-plane",
@@ -21,43 +21,21 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.8",
25
- "@aws-sdk/credential-provider-node": "^3.972.39",
26
- "@aws-sdk/middleware-host-header": "^3.972.10",
24
+ "@aws-sdk/core": "^3.974.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.40",
26
+ "@aws-sdk/middleware-host-header": "^3.972.11",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.38",
30
- "@aws-sdk/region-config-resolver": "^3.972.13",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.12",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.39",
30
+ "@aws-sdk/region-config-resolver": "^3.972.14",
31
31
  "@aws-sdk/types": "^3.973.8",
32
- "@aws-sdk/util-endpoints": "^3.996.8",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.24",
35
- "@smithy/config-resolver": "^4.4.17",
36
- "@smithy/core": "^3.23.17",
37
- "@smithy/fetch-http-handler": "^5.3.17",
38
- "@smithy/hash-node": "^4.2.14",
39
- "@smithy/invalid-dependency": "^4.2.14",
40
- "@smithy/middleware-content-length": "^4.2.14",
41
- "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.7",
43
- "@smithy/middleware-serde": "^4.2.20",
44
- "@smithy/middleware-stack": "^4.2.14",
45
- "@smithy/node-config-provider": "^4.3.14",
46
- "@smithy/node-http-handler": "^4.6.1",
47
- "@smithy/protocol-http": "^5.3.14",
48
- "@smithy/smithy-client": "^4.12.13",
32
+ "@aws-sdk/util-endpoints": "^3.996.9",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.11",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.25",
35
+ "@smithy/core": "^3.24.1",
36
+ "@smithy/fetch-http-handler": "^5.4.1",
37
+ "@smithy/node-http-handler": "^4.7.1",
49
38
  "@smithy/types": "^4.14.1",
50
- "@smithy/url-parser": "^4.2.14",
51
- "@smithy/util-base64": "^4.3.2",
52
- "@smithy/util-body-length-browser": "^4.2.2",
53
- "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.49",
55
- "@smithy/util-defaults-mode-node": "^4.2.54",
56
- "@smithy/util-endpoints": "^3.4.2",
57
- "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.6",
59
- "@smithy/util-stream": "^4.5.25",
60
- "@smithy/util-utf8": "^4.2.2",
61
39
  "tslib": "^2.6.2"
62
40
  },
63
41
  "devDependencies": {