@aws-sdk/client-iot-data-plane 3.1045.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,6 +1,6 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
- import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
- import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
3
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
6
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
@@ -1,10 +1,10 @@
1
1
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
2
  import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
3
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
6
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
7
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
8
8
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import type { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
4
4
  import type { DeleteConnectionRequest } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteConnectionCommandInput extends DeleteConnectionRequest {
22
22
  export interface DeleteConnectionCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  declare const DeleteConnectionCommand_base: {
25
- new (input: DeleteConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteConnectionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Disconnects a connected MQTT client from Amazon Web Services IoT Core. When you disconnect a client, Amazon Web Services IoT Core closes the client's network connection and optionally cleans the session state.</p>
@@ -1,6 +1,6 @@
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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
4
4
  import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
5
5
  import type { DeleteThingShadowRequest, DeleteThingShadowResponse } from "../models/models_0";
6
6
  /**
@@ -29,9 +29,11 @@ export type DeleteThingShadowCommandOutputType = Omit<DeleteThingShadowResponse,
29
29
  export interface DeleteThingShadowCommandOutput extends DeleteThingShadowCommandOutputType, __MetadataBearer {
30
30
  }
31
31
  declare const DeleteThingShadowCommand_base: {
32
- new (input: DeleteThingShadowCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
- new (input: DeleteThingShadowCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
32
+ new (input: DeleteThingShadowCommandInput): import("@smithy/core/client").CommandImpl<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
+ new (input: DeleteThingShadowCommandInput): import("@smithy/core/client").CommandImpl<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
35
37
  };
36
38
  /**
37
39
  * <p>Deletes the shadow for the specified thing.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
4
4
  import type { GetRetainedMessageRequest, GetRetainedMessageResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface GetRetainedMessageCommandInput extends GetRetainedMessageReques
22
22
  export interface GetRetainedMessageCommandOutput extends GetRetainedMessageResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetRetainedMessageCommand_base: {
25
- new (input: GetRetainedMessageCommandInput): import("@smithy/smithy-client").CommandImpl<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetRetainedMessageCommandInput): import("@smithy/smithy-client").CommandImpl<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetRetainedMessageCommandInput): import("@smithy/core/client").CommandImpl<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRetainedMessageCommandInput): import("@smithy/core/client").CommandImpl<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Gets the details of a single retained message for the specified topic.</p>
@@ -1,6 +1,6 @@
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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
4
4
  import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
5
5
  import type { GetThingShadowRequest, GetThingShadowResponse } from "../models/models_0";
6
6
  /**
@@ -29,9 +29,11 @@ export type GetThingShadowCommandOutputType = Omit<GetThingShadowResponse, "payl
29
29
  export interface GetThingShadowCommandOutput extends GetThingShadowCommandOutputType, __MetadataBearer {
30
30
  }
31
31
  declare const GetThingShadowCommand_base: {
32
- new (input: GetThingShadowCommandInput): import("@smithy/smithy-client").CommandImpl<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
- new (input: GetThingShadowCommandInput): import("@smithy/smithy-client").CommandImpl<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
32
+ new (input: GetThingShadowCommandInput): import("@smithy/core/client").CommandImpl<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
+ new (input: GetThingShadowCommandInput): import("@smithy/core/client").CommandImpl<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
35
37
  };
36
38
  /**
37
39
  * <p>Gets the shadow for the specified thing.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
4
4
  import type { ListNamedShadowsForThingRequest, ListNamedShadowsForThingResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface ListNamedShadowsForThingCommandInput extends ListNamedShadowsFo
22
22
  export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsForThingResponse, __MetadataBearer {
23
23
  }
24
24
  declare const ListNamedShadowsForThingCommand_base: {
25
- new (input: ListNamedShadowsForThingCommandInput): import("@smithy/smithy-client").CommandImpl<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListNamedShadowsForThingCommandInput): import("@smithy/smithy-client").CommandImpl<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListNamedShadowsForThingCommandInput): import("@smithy/core/client").CommandImpl<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListNamedShadowsForThingCommandInput): import("@smithy/core/client").CommandImpl<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Lists the shadows for the specified thing.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
4
4
  import type { ListRetainedMessagesRequest, ListRetainedMessagesResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface ListRetainedMessagesCommandInput extends ListRetainedMessagesRe
22
22
  export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesResponse, __MetadataBearer {
23
23
  }
24
24
  declare const ListRetainedMessagesCommand_base: {
25
- new (input: ListRetainedMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListRetainedMessagesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: ListRetainedMessagesCommandInput): import("@smithy/core/client").CommandImpl<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListRetainedMessagesCommandInput]): import("@smithy/core/client").CommandImpl<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Lists summary information about the retained messages stored for the account.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
4
4
  import type { PublishRequest } from "../models/models_0";
@@ -28,9 +28,11 @@ export interface PublishCommandInput extends PublishCommandInputType {
28
28
  export interface PublishCommandOutput extends __MetadataBearer {
29
29
  }
30
30
  declare const PublishCommand_base: {
31
- new (input: PublishCommandInput): import("@smithy/smithy-client").CommandImpl<PublishCommandInput, PublishCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
32
- new (input: PublishCommandInput): import("@smithy/smithy-client").CommandImpl<PublishCommandInput, PublishCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
31
+ new (input: PublishCommandInput): import("@smithy/core/client").CommandImpl<PublishCommandInput, PublishCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
32
+ new (input: PublishCommandInput): import("@smithy/core/client").CommandImpl<PublishCommandInput, PublishCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
+ getEndpointParameterInstructions(): {
34
+ [x: string]: unknown;
35
+ };
34
36
  };
35
37
  /**
36
38
  * <p>Publishes an MQTT message.</p>
@@ -1,6 +1,6 @@
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 type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
4
4
  import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
5
5
  import type { UpdateThingShadowRequest, UpdateThingShadowResponse } from "../models/models_0";
6
6
  /**
@@ -35,9 +35,11 @@ export type UpdateThingShadowCommandOutputType = Omit<UpdateThingShadowResponse,
35
35
  export interface UpdateThingShadowCommandOutput extends UpdateThingShadowCommandOutputType, __MetadataBearer {
36
36
  }
37
37
  declare const UpdateThingShadowCommand_base: {
38
- new (input: UpdateThingShadowCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
39
- new (input: UpdateThingShadowCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
40
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ new (input: UpdateThingShadowCommandInput): import("@smithy/core/client").CommandImpl<UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
39
+ new (input: UpdateThingShadowCommandInput): import("@smithy/core/client").CommandImpl<UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
40
+ getEndpointParameterInstructions(): {
41
+ [x: string]: unknown;
42
+ };
41
43
  };
42
44
  /**
43
45
  * <p>Updates the shadow for the specified thing.</p>
@@ -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 type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import type { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/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>
@@ -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 type { PayloadFormatIndicator } from "./enums";
3
3
  /**
4
4
  * @public
@@ -5,13 +5,13 @@ import type { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
14
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,14 +5,14 @@ import type { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
11
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
12
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
14
  region: string | import("@smithy/types").Provider<string>;
15
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
17
  sha256: import("@smithy/types").HashConstructor;
18
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,7 @@ import type { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
5
5
  export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  cacheMiddleware?: boolean;
10
10
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
11
11
  protocolSettings: {
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
32
32
  retryMode: string | import("@smithy/types").Provider<string>;
33
33
  logger: import("@smithy/types").Logger;
34
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
35
- defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
35
+ defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
36
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
37
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
38
38
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -6,25 +6,19 @@ import {
6
6
  UserAgentInputConfig,
7
7
  UserAgentResolvedConfig,
8
8
  } from "@aws-sdk/middleware-user-agent";
9
- import {
10
- RegionInputConfig,
11
- RegionResolvedConfig,
12
- } from "@smithy/config-resolver";
13
- import {
14
- EndpointInputConfig,
15
- EndpointResolvedConfig,
16
- } from "@smithy/middleware-endpoint";
17
- import {
18
- RetryInputConfig,
19
- RetryResolvedConfig,
20
- } from "@smithy/middleware-retry";
21
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
9
  import {
23
10
  DefaultsMode as __DefaultsMode,
24
11
  SmithyConfiguration as __SmithyConfiguration,
25
12
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
13
  Client as __Client,
27
- } from "@smithy/smithy-client";
14
+ } from "@smithy/core/client";
15
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
16
+ import {
17
+ EndpointInputConfig,
18
+ EndpointResolvedConfig,
19
+ } from "@smithy/core/endpoints";
20
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
21
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
28
22
  import {
29
23
  AwsCredentialIdentityProvider,
30
24
  BodyLengthCalculator as __BodyLengthCalculator,
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  IoTDataPlaneClientResolvedConfig,
@@ -13,7 +13,7 @@ export interface DeleteConnectionCommandOutput extends __MetadataBearer {}
13
13
  declare const DeleteConnectionCommand_base: {
14
14
  new (
15
15
  input: DeleteConnectionCommandInput
16
- ): import("@smithy/smithy-client").CommandImpl<
16
+ ): import("@smithy/core/client").CommandImpl<
17
17
  DeleteConnectionCommandInput,
18
18
  DeleteConnectionCommandOutput,
19
19
  IoTDataPlaneClientResolvedConfig,
@@ -22,14 +22,16 @@ declare const DeleteConnectionCommand_base: {
22
22
  >;
23
23
  new (
24
24
  input: DeleteConnectionCommandInput
25
- ): import("@smithy/smithy-client").CommandImpl<
25
+ ): import("@smithy/core/client").CommandImpl<
26
26
  DeleteConnectionCommandInput,
27
27
  DeleteConnectionCommandOutput,
28
28
  IoTDataPlaneClientResolvedConfig,
29
29
  ServiceInputTypes,
30
30
  ServiceOutputTypes
31
31
  >;
32
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
32
+ getEndpointParameterInstructions(): {
33
+ [x: string]: unknown;
34
+ };
33
35
  };
34
36
  export declare class DeleteConnectionCommand extends DeleteConnectionCommand_base {
35
37
  protected static __types: {
@@ -1,6 +1,6 @@
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 { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
4
4
  import {
5
5
  IoTDataPlaneClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -26,7 +26,7 @@ export interface DeleteThingShadowCommandOutput
26
26
  declare const DeleteThingShadowCommand_base: {
27
27
  new (
28
28
  input: DeleteThingShadowCommandInput
29
- ): import("@smithy/smithy-client").CommandImpl<
29
+ ): import("@smithy/core/client").CommandImpl<
30
30
  DeleteThingShadowCommandInput,
31
31
  DeleteThingShadowCommandOutput,
32
32
  IoTDataPlaneClientResolvedConfig,
@@ -35,14 +35,16 @@ declare const DeleteThingShadowCommand_base: {
35
35
  >;
36
36
  new (
37
37
  input: DeleteThingShadowCommandInput
38
- ): import("@smithy/smithy-client").CommandImpl<
38
+ ): import("@smithy/core/client").CommandImpl<
39
39
  DeleteThingShadowCommandInput,
40
40
  DeleteThingShadowCommandOutput,
41
41
  IoTDataPlaneClientResolvedConfig,
42
42
  ServiceInputTypes,
43
43
  ServiceOutputTypes
44
44
  >;
45
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
45
+ getEndpointParameterInstructions(): {
46
+ [x: string]: unknown;
47
+ };
46
48
  };
47
49
  export declare class DeleteThingShadowCommand extends DeleteThingShadowCommand_base {
48
50
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  IoTDataPlaneClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface GetRetainedMessageCommandOutput
19
19
  declare const GetRetainedMessageCommand_base: {
20
20
  new (
21
21
  input: GetRetainedMessageCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  GetRetainedMessageCommandInput,
24
24
  GetRetainedMessageCommandOutput,
25
25
  IoTDataPlaneClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const GetRetainedMessageCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: GetRetainedMessageCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  GetRetainedMessageCommandInput,
33
33
  GetRetainedMessageCommandOutput,
34
34
  IoTDataPlaneClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class GetRetainedMessageCommand extends GetRetainedMessageCommand_base {
41
43
  protected static __types: {
@@ -1,6 +1,6 @@
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 { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
4
4
  import {
5
5
  IoTDataPlaneClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -25,7 +25,7 @@ export interface GetThingShadowCommandOutput
25
25
  declare const GetThingShadowCommand_base: {
26
26
  new (
27
27
  input: GetThingShadowCommandInput
28
- ): import("@smithy/smithy-client").CommandImpl<
28
+ ): import("@smithy/core/client").CommandImpl<
29
29
  GetThingShadowCommandInput,
30
30
  GetThingShadowCommandOutput,
31
31
  IoTDataPlaneClientResolvedConfig,
@@ -34,14 +34,16 @@ declare const GetThingShadowCommand_base: {
34
34
  >;
35
35
  new (
36
36
  input: GetThingShadowCommandInput
37
- ): import("@smithy/smithy-client").CommandImpl<
37
+ ): import("@smithy/core/client").CommandImpl<
38
38
  GetThingShadowCommandInput,
39
39
  GetThingShadowCommandOutput,
40
40
  IoTDataPlaneClientResolvedConfig,
41
41
  ServiceInputTypes,
42
42
  ServiceOutputTypes
43
43
  >;
44
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
44
+ getEndpointParameterInstructions(): {
45
+ [x: string]: unknown;
46
+ };
45
47
  };
46
48
  export declare class GetThingShadowCommand extends GetThingShadowCommand_base {
47
49
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  IoTDataPlaneClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface ListNamedShadowsForThingCommandOutput
19
19
  declare const ListNamedShadowsForThingCommand_base: {
20
20
  new (
21
21
  input: ListNamedShadowsForThingCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  ListNamedShadowsForThingCommandInput,
24
24
  ListNamedShadowsForThingCommandOutput,
25
25
  IoTDataPlaneClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const ListNamedShadowsForThingCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: ListNamedShadowsForThingCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  ListNamedShadowsForThingCommandInput,
33
33
  ListNamedShadowsForThingCommandOutput,
34
34
  IoTDataPlaneClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class ListNamedShadowsForThingCommand extends ListNamedShadowsForThingCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  IoTDataPlaneClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface ListRetainedMessagesCommandOutput
19
19
  declare const ListRetainedMessagesCommand_base: {
20
20
  new (
21
21
  input: ListRetainedMessagesCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  ListRetainedMessagesCommandInput,
24
24
  ListRetainedMessagesCommandOutput,
25
25
  IoTDataPlaneClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const ListRetainedMessagesCommand_base: {
28
28
  >;
29
29
  new (
30
30
  ...[input]: [] | [ListRetainedMessagesCommandInput]
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  ListRetainedMessagesCommandInput,
33
33
  ListRetainedMessagesCommandOutput,
34
34
  IoTDataPlaneClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class ListRetainedMessagesCommand extends ListRetainedMessagesCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import {
3
3
  BlobPayloadInputTypes,
4
4
  MetadataBearer as __MetadataBearer,
@@ -20,21 +20,23 @@ export type PublishCommandInputType = Pick<
20
20
  export interface PublishCommandInput extends PublishCommandInputType {}
21
21
  export interface PublishCommandOutput extends __MetadataBearer {}
22
22
  declare const PublishCommand_base: {
23
- new (input: PublishCommandInput): import("@smithy/smithy-client").CommandImpl<
23
+ new (input: PublishCommandInput): import("@smithy/core/client").CommandImpl<
24
24
  PublishCommandInput,
25
25
  PublishCommandOutput,
26
26
  IoTDataPlaneClientResolvedConfig,
27
27
  ServiceInputTypes,
28
28
  ServiceOutputTypes
29
29
  >;
30
- new (input: PublishCommandInput): import("@smithy/smithy-client").CommandImpl<
30
+ new (input: PublishCommandInput): import("@smithy/core/client").CommandImpl<
31
31
  PublishCommandInput,
32
32
  PublishCommandOutput,
33
33
  IoTDataPlaneClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class PublishCommand extends PublishCommand_base {
40
42
  protected static __types: {