@aws-sdk/client-iot-data-plane 3.588.0 → 3.592.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
@@ -197,7 +197,6 @@ var IoTDataPlaneClient = _IoTDataPlaneClient;
197
197
 
198
198
  var import_middleware_serde = require("@smithy/middleware-serde");
199
199
 
200
- var import_types = require("@smithy/types");
201
200
 
202
201
  // src/protocols/Aws_restJson1.ts
203
202
  var import_core2 = require("@aws-sdk/core");
@@ -807,7 +806,6 @@ var DeleteThingShadowCommand = _DeleteThingShadowCommand;
807
806
 
808
807
 
809
808
 
810
-
811
809
  var _GetRetainedMessageCommand = class _GetRetainedMessageCommand extends import_smithy_client.Command.classBuilder().ep({
812
810
  ...commonParams
813
811
  }).m(function(Command, cs, config, o) {
@@ -824,7 +822,6 @@ var GetRetainedMessageCommand = _GetRetainedMessageCommand;
824
822
 
825
823
 
826
824
 
827
-
828
825
  var _GetThingShadowCommand = class _GetThingShadowCommand extends import_smithy_client.Command.classBuilder().ep({
829
826
  ...commonParams
830
827
  }).m(function(Command, cs, config, o) {
@@ -841,7 +838,6 @@ var GetThingShadowCommand = _GetThingShadowCommand;
841
838
 
842
839
 
843
840
 
844
-
845
841
  var _ListNamedShadowsForThingCommand = class _ListNamedShadowsForThingCommand extends import_smithy_client.Command.classBuilder().ep({
846
842
  ...commonParams
847
843
  }).m(function(Command, cs, config, o) {
@@ -858,7 +854,6 @@ var ListNamedShadowsForThingCommand = _ListNamedShadowsForThingCommand;
858
854
 
859
855
 
860
856
 
861
-
862
857
  var _ListRetainedMessagesCommand = class _ListRetainedMessagesCommand extends import_smithy_client.Command.classBuilder().ep({
863
858
  ...commonParams
864
859
  }).m(function(Command, cs, config, o) {
@@ -875,7 +870,6 @@ var ListRetainedMessagesCommand = _ListRetainedMessagesCommand;
875
870
 
876
871
 
877
872
 
878
-
879
873
  var _PublishCommand = class _PublishCommand extends import_smithy_client.Command.classBuilder().ep({
880
874
  ...commonParams
881
875
  }).m(function(Command, cs, config, o) {
@@ -892,7 +886,6 @@ var PublishCommand = _PublishCommand;
892
886
 
893
887
 
894
888
 
895
-
896
889
  var _UpdateThingShadowCommand = class _UpdateThingShadowCommand extends import_smithy_client.Command.classBuilder().ep({
897
890
  ...commonParams
898
891
  }).m(function(Command, cs, config, o) {
@@ -97,15 +97,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
97
97
  * Enables FIPS compatible endpoints.
98
98
  */
99
99
  useFipsEndpoint?: boolean | __Provider<boolean>;
100
+ /**
101
+ * The AWS region to which this client will send requests
102
+ */
103
+ region?: string | __Provider<string>;
100
104
  /**
101
105
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
102
106
  * @internal
103
107
  */
104
108
  defaultUserAgentProvider?: Provider<__UserAgent>;
105
- /**
106
- * The AWS region to which this client will send requests
107
- */
108
- region?: string | __Provider<string>;
109
109
  /**
110
110
  * Default credentials provider; Not available in browser runtime.
111
111
  * @deprecated
@@ -6,7 +6,8 @@ import { DeleteThingShadowRequest, DeleteThingShadowResponse } from "../models/m
6
6
  /**
7
7
  * @public
8
8
  */
9
- export { __MetadataBearer, $Command };
9
+ export type { __MetadataBearer };
10
+ export { $Command };
10
11
  /**
11
12
  * @public
12
13
  *
@@ -5,7 +5,8 @@ import { GetRetainedMessageRequest, GetRetainedMessageResponse } from "../models
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -6,7 +6,8 @@ import { GetThingShadowRequest, GetThingShadowResponse } from "../models/models_
6
6
  /**
7
7
  * @public
8
8
  */
9
- export { __MetadataBearer, $Command };
9
+ export type { __MetadataBearer };
10
+ export { $Command };
10
11
  /**
11
12
  * @public
12
13
  *
@@ -5,7 +5,8 @@ import { ListNamedShadowsForThingRequest, ListNamedShadowsForThingResponse } fro
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { ListRetainedMessagesRequest, ListRetainedMessagesResponse } from "../mo
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -5,7 +5,8 @@ import { PublishRequest } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  */
@@ -6,7 +6,8 @@ import { UpdateThingShadowRequest, UpdateThingShadowResponse } from "../models/m
6
6
  /**
7
7
  * @public
8
8
  */
9
- export { __MetadataBearer, $Command };
9
+ export type { __MetadataBearer };
10
+ export { $Command };
10
11
  /**
11
12
  * @public
12
13
  */
@@ -16,8 +16,8 @@
16
16
  export * from "./IoTDataPlaneClient";
17
17
  export * from "./IoTDataPlane";
18
18
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
19
- export { RuntimeExtension } from "./runtimeExtensions";
20
- export { IoTDataPlaneExtensionConfiguration } from "./extensionConfiguration";
19
+ export type { RuntimeExtension } from "./runtimeExtensions";
20
+ export type { IoTDataPlaneExtensionConfiguration } from "./extensionConfiguration";
21
21
  export * from "./commands";
22
22
  export * from "./pagination";
23
23
  export * from "./models";
@@ -1,5 +1,6 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
- export { __ServiceException, __ServiceExceptionOptions };
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
3
4
  /**
4
5
  * @public
5
6
  *
@@ -18,8 +18,8 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
22
21
  region: string | import("@smithy/types").Provider<any>;
22
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
23
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -112,8 +112,8 @@ export interface ClientDefaults
112
112
  serviceId?: string;
113
113
  useDualstackEndpoint?: boolean | __Provider<boolean>;
114
114
  useFipsEndpoint?: boolean | __Provider<boolean>;
115
- defaultUserAgentProvider?: Provider<__UserAgent>;
116
115
  region?: string | __Provider<string>;
116
+ defaultUserAgentProvider?: Provider<__UserAgent>;
117
117
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
118
118
  maxAttempts?: number | __Provider<number>;
119
119
  retryMode?: string | __Provider<string>;
@@ -10,7 +10,8 @@ import {
10
10
  DeleteThingShadowRequest,
11
11
  DeleteThingShadowResponse,
12
12
  } from "../models/models_0";
13
- export { __MetadataBearer, $Command };
13
+ export { __MetadataBearer };
14
+ export { $Command };
14
15
  export interface DeleteThingShadowCommandInput
15
16
  extends DeleteThingShadowRequest {}
16
17
  export type DeleteThingShadowCommandOutputType = Pick<
@@ -9,7 +9,8 @@ import {
9
9
  GetRetainedMessageRequest,
10
10
  GetRetainedMessageResponse,
11
11
  } from "../models/models_0";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface GetRetainedMessageCommandInput
14
15
  extends GetRetainedMessageRequest {}
15
16
  export interface GetRetainedMessageCommandOutput
@@ -10,7 +10,8 @@ import {
10
10
  GetThingShadowRequest,
11
11
  GetThingShadowResponse,
12
12
  } from "../models/models_0";
13
- export { __MetadataBearer, $Command };
13
+ export { __MetadataBearer };
14
+ export { $Command };
14
15
  export interface GetThingShadowCommandInput extends GetThingShadowRequest {}
15
16
  export type GetThingShadowCommandOutputType = Pick<
16
17
  GetThingShadowResponse,
@@ -9,7 +9,8 @@ import {
9
9
  ListNamedShadowsForThingRequest,
10
10
  ListNamedShadowsForThingResponse,
11
11
  } from "../models/models_0";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface ListNamedShadowsForThingCommandInput
14
15
  extends ListNamedShadowsForThingRequest {}
15
16
  export interface ListNamedShadowsForThingCommandOutput
@@ -9,7 +9,8 @@ import {
9
9
  ListRetainedMessagesRequest,
10
10
  ListRetainedMessagesResponse,
11
11
  } from "../models/models_0";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export interface ListRetainedMessagesCommandInput
14
15
  extends ListRetainedMessagesRequest {}
15
16
  export interface ListRetainedMessagesCommandOutput
@@ -9,7 +9,8 @@ import {
9
9
  ServiceOutputTypes,
10
10
  } from "../IoTDataPlaneClient";
11
11
  import { PublishRequest } from "../models/models_0";
12
- export { __MetadataBearer, $Command };
12
+ export { __MetadataBearer };
13
+ export { $Command };
13
14
  export type PublishCommandInputType = Pick<
14
15
  PublishRequest,
15
16
  Exclude<keyof PublishRequest, "payload">
@@ -13,7 +13,8 @@ import {
13
13
  UpdateThingShadowRequest,
14
14
  UpdateThingShadowResponse,
15
15
  } from "../models/models_0";
16
- export { __MetadataBearer, $Command };
16
+ export { __MetadataBearer };
17
+ export { $Command };
17
18
  export type UpdateThingShadowCommandInputType = Pick<
18
19
  UpdateThingShadowRequest,
19
20
  Exclude<keyof UpdateThingShadowRequest, "payload">
@@ -2,7 +2,8 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@smithy/smithy-client";
5
- export { __ServiceException, __ServiceExceptionOptions };
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
6
7
  export declare class IoTDataPlaneServiceException extends __ServiceException {
7
8
  constructor(options: __ServiceExceptionOptions);
8
9
  }
@@ -20,10 +20,10 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ region: string | import("@smithy/types").Provider<any>;
23
24
  defaultUserAgentProvider: import("@smithy/types").Provider<
24
25
  import("@smithy/types").UserAgent
25
26
  >;
26
- region: string | import("@smithy/types").Provider<any>;
27
27
  credentialDefaultProvider: (
28
28
  input: any
29
29
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
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.588.0",
4
+ "version": "3.592.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,10 +20,10 @@
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-sso-oidc": "3.588.0",
24
- "@aws-sdk/client-sts": "3.588.0",
25
- "@aws-sdk/core": "3.588.0",
26
- "@aws-sdk/credential-provider-node": "3.588.0",
23
+ "@aws-sdk/client-sso-oidc": "3.592.0",
24
+ "@aws-sdk/client-sts": "3.592.0",
25
+ "@aws-sdk/core": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.592.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
@@ -34,7 +34,7 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.587.0",
36
36
  "@smithy/config-resolver": "^3.0.1",
37
- "@smithy/core": "^2.1.1",
37
+ "@smithy/core": "^2.2.0",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",