@aws-sdk/client-iot-data-plane 3.1076.0 → 3.1078.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 (53) hide show
  1. package/dist-cjs/index.js +22 -115
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/DeleteConnectionCommand.js +2 -14
  4. package/dist-es/commands/DeleteThingShadowCommand.js +2 -14
  5. package/dist-es/commands/GetConnectionCommand.js +2 -14
  6. package/dist-es/commands/GetRetainedMessageCommand.js +2 -14
  7. package/dist-es/commands/GetThingShadowCommand.js +2 -14
  8. package/dist-es/commands/ListNamedShadowsForThingCommand.js +2 -14
  9. package/dist-es/commands/ListRetainedMessagesCommand.js +2 -14
  10. package/dist-es/commands/ListSubscriptionsCommand.js +2 -14
  11. package/dist-es/commands/PublishCommand.js +2 -14
  12. package/dist-es/commands/SendDirectMessageCommand.js +2 -14
  13. package/dist-es/commands/UpdateThingShadowCommand.js +2 -14
  14. package/dist-es/index.js +1 -0
  15. package/dist-es/runtimeConfig.browser.js +0 -2
  16. package/dist-es/runtimeConfig.js +1 -2
  17. package/dist-es/runtimeConfig.native.js +0 -2
  18. package/dist-es/runtimeConfig.shared.js +2 -0
  19. package/dist-types/commandBuilder.d.ts +18 -0
  20. package/dist-types/commands/DeleteConnectionCommand.d.ts +3 -8
  21. package/dist-types/commands/DeleteThingShadowCommand.d.ts +3 -8
  22. package/dist-types/commands/GetConnectionCommand.d.ts +3 -8
  23. package/dist-types/commands/GetRetainedMessageCommand.d.ts +3 -8
  24. package/dist-types/commands/GetThingShadowCommand.d.ts +3 -8
  25. package/dist-types/commands/ListNamedShadowsForThingCommand.d.ts +3 -8
  26. package/dist-types/commands/ListRetainedMessagesCommand.d.ts +3 -8
  27. package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -8
  28. package/dist-types/commands/PublishCommand.d.ts +3 -8
  29. package/dist-types/commands/SendDirectMessageCommand.d.ts +3 -8
  30. package/dist-types/commands/UpdateThingShadowCommand.d.ts +3 -8
  31. package/dist-types/index.d.ts +1 -0
  32. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  33. package/dist-types/runtimeConfig.d.ts +1 -1
  34. package/dist-types/runtimeConfig.native.d.ts +1 -1
  35. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  36. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  37. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/PublishCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/SendDirectMessageCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/index.d.ts +1 -0
  49. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  50. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  51. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  52. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  53. package/package.json +8 -10
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- IoTDataPlaneClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../IoTDataPlaneClient";
8
2
  import {
9
3
  ListRetainedMessagesRequest,
10
4
  ListRetainedMessagesResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListRetainedMessagesCommandInput
15
8
  extends ListRetainedMessagesRequest {}
16
9
  export interface ListRetainedMessagesCommandOutput
@@ -22,22 +15,20 @@ declare const ListRetainedMessagesCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  ListRetainedMessagesCommandInput,
24
17
  ListRetainedMessagesCommandOutput,
25
- IoTDataPlaneClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").IoTDataPlaneClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  ...[input]: [] | [ListRetainedMessagesCommandInput]
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  ListRetainedMessagesCommandInput,
33
26
  ListRetainedMessagesCommandOutput,
34
- IoTDataPlaneClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").IoTDataPlaneClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class ListRetainedMessagesCommand extends ListRetainedMessagesCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- IoTDataPlaneClientResolvedConfig,
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- } from "../IoTDataPlaneClient";
8
2
  import {
9
3
  ListSubscriptionsRequest,
10
4
  ListSubscriptionsResponse,
11
5
  } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ListSubscriptionsCommandInput
15
8
  extends ListSubscriptionsRequest {}
16
9
  export interface ListSubscriptionsCommandOutput
@@ -22,22 +15,20 @@ declare const ListSubscriptionsCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  ListSubscriptionsCommandInput,
24
17
  ListSubscriptionsCommandOutput,
25
- IoTDataPlaneClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").IoTDataPlaneClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: ListSubscriptionsCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  ListSubscriptionsCommandInput,
33
26
  ListSubscriptionsCommandOutput,
34
- IoTDataPlaneClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").IoTDataPlaneClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class ListSubscriptionsCommand extends ListSubscriptionsCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import {
3
2
  BlobPayloadInputTypes,
4
3
  MetadataBearer as __MetadataBearer,
5
4
  } from "@smithy/types";
6
- import {
7
- IoTDataPlaneClientResolvedConfig,
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- } from "../IoTDataPlaneClient";
11
5
  import { PublishRequest } from "../models/models_0";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export type PublishCommandInputType = Pick<
15
8
  PublishRequest,
16
9
  Exclude<keyof PublishRequest, "payload">
@@ -23,20 +16,18 @@ declare const PublishCommand_base: {
23
16
  new (input: PublishCommandInput): import("@smithy/core/client").CommandImpl<
24
17
  PublishCommandInput,
25
18
  PublishCommandOutput,
26
- IoTDataPlaneClientResolvedConfig,
27
- ServiceInputTypes,
28
- ServiceOutputTypes
19
+ import("..").IoTDataPlaneClientResolvedConfig,
20
+ import("..").ServiceInputTypes,
21
+ import("..").ServiceOutputTypes
29
22
  >;
30
23
  new (input: PublishCommandInput): import("@smithy/core/client").CommandImpl<
31
24
  PublishCommandInput,
32
25
  PublishCommandOutput,
33
- IoTDataPlaneClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").IoTDataPlaneClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class PublishCommand extends PublishCommand_base {
42
33
  protected static __types: {
@@ -1,19 +1,12 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import {
3
2
  BlobPayloadInputTypes,
4
3
  MetadataBearer as __MetadataBearer,
5
4
  } from "@smithy/types";
6
- import {
7
- IoTDataPlaneClientResolvedConfig,
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- } from "../IoTDataPlaneClient";
11
5
  import {
12
6
  SendDirectMessageRequest,
13
7
  SendDirectMessageResponse,
14
8
  } from "../models/models_0";
15
9
  export { __MetadataBearer };
16
- export { $Command };
17
10
  export type SendDirectMessageCommandInputType = Pick<
18
11
  SendDirectMessageRequest,
19
12
  Exclude<keyof SendDirectMessageRequest, "payload">
@@ -31,22 +24,20 @@ declare const SendDirectMessageCommand_base: {
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  SendDirectMessageCommandInput,
33
26
  SendDirectMessageCommandOutput,
34
- IoTDataPlaneClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").IoTDataPlaneClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
31
  new (
39
32
  input: SendDirectMessageCommandInput
40
33
  ): import("@smithy/core/client").CommandImpl<
41
34
  SendDirectMessageCommandInput,
42
35
  SendDirectMessageCommandOutput,
43
- IoTDataPlaneClientResolvedConfig,
44
- ServiceInputTypes,
45
- ServiceOutputTypes
36
+ import("..").IoTDataPlaneClientResolvedConfig,
37
+ import("..").ServiceInputTypes,
38
+ import("..").ServiceOutputTypes
46
39
  >;
47
- getEndpointParameterInstructions(): {
48
- [x: string]: unknown;
49
- };
40
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
50
41
  };
51
42
  export declare class SendDirectMessageCommand extends SendDirectMessageCommand_base {
52
43
  protected static __types: {
@@ -1,20 +1,13 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
3
2
  import {
4
3
  BlobPayloadInputTypes,
5
4
  MetadataBearer as __MetadataBearer,
6
5
  } from "@smithy/types";
7
- import {
8
- IoTDataPlaneClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../IoTDataPlaneClient";
12
6
  import {
13
7
  UpdateThingShadowRequest,
14
8
  UpdateThingShadowResponse,
15
9
  } from "../models/models_0";
16
10
  export { __MetadataBearer };
17
- export { $Command };
18
11
  export type UpdateThingShadowCommandInputType = Pick<
19
12
  UpdateThingShadowRequest,
20
13
  Exclude<keyof UpdateThingShadowRequest, "payload">
@@ -38,22 +31,20 @@ declare const UpdateThingShadowCommand_base: {
38
31
  ): import("@smithy/core/client").CommandImpl<
39
32
  UpdateThingShadowCommandInput,
40
33
  UpdateThingShadowCommandOutput,
41
- IoTDataPlaneClientResolvedConfig,
42
- ServiceInputTypes,
43
- ServiceOutputTypes
34
+ import("..").IoTDataPlaneClientResolvedConfig,
35
+ import("..").ServiceInputTypes,
36
+ import("..").ServiceOutputTypes
44
37
  >;
45
38
  new (
46
39
  input: UpdateThingShadowCommandInput
47
40
  ): import("@smithy/core/client").CommandImpl<
48
41
  UpdateThingShadowCommandInput,
49
42
  UpdateThingShadowCommandOutput,
50
- IoTDataPlaneClientResolvedConfig,
51
- ServiceInputTypes,
52
- ServiceOutputTypes
43
+ import("..").IoTDataPlaneClientResolvedConfig,
44
+ import("..").ServiceInputTypes,
45
+ import("..").ServiceOutputTypes
53
46
  >;
54
- getEndpointParameterInstructions(): {
55
- [x: string]: unknown;
56
- };
47
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
57
48
  };
58
49
  export declare class UpdateThingShadowCommand extends UpdateThingShadowCommand_base {
59
50
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { IoTDataPlaneExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./models/enums";
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
20
20
  | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
- sha256: import("@smithy/types").HashConstructor;
24
23
  streamCollector: (
25
24
  stream:
26
25
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
21
21
  | RequestHandler
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
- sha256: import("@smithy/types").HashConstructor;
25
24
  streamCollector: (
26
25
  stream:
27
26
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
2
2
  export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;
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.1076.0",
4
+ "version": "3.1078.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",
@@ -19,15 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "5.2.0",
23
- "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.24",
25
- "@aws-sdk/credential-provider-node": "^3.972.59",
26
- "@aws-sdk/types": "^3.973.14",
27
- "@smithy/core": "^3.27.0",
28
- "@smithy/fetch-http-handler": "^5.6.0",
29
- "@smithy/node-http-handler": "^4.9.0",
30
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.26",
23
+ "@aws-sdk/credential-provider-node": "^3.972.61",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
31
29
  "tslib": "^2.6.2"
32
30
  },
33
31
  "devDependencies": {