@aws-sdk/client-iot-data-plane 3.1086.0 → 3.1088.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 (29) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/IoTDataPlane.d.ts +37 -48
  3. package/dist-types/ts3.4/IoTDataPlaneClient.d.ts +7 -20
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -2
  8. package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +4 -9
  10. package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +5 -10
  11. package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +4 -8
  12. package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +4 -6
  13. package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +4 -9
  14. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +5 -10
  15. package/dist-types/ts3.4/commands/PublishCommand.d.ts +7 -6
  16. package/dist-types/ts3.4/commands/SendDirectMessageCommand.d.ts +6 -14
  17. package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +6 -14
  18. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  19. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  20. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  21. package/dist-types/ts3.4/models/errors.d.ts +10 -33
  22. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  27. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  28. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  29. package/package.json +39 -39
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1085.0";
72
+ var version = "3.1087.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -35,10 +35,7 @@ import {
35
35
  ListSubscriptionsCommandInput,
36
36
  ListSubscriptionsCommandOutput,
37
37
  } from "./commands/ListSubscriptionsCommand";
38
- import {
39
- PublishCommandInput,
40
- PublishCommandOutput,
41
- } from "./commands/PublishCommand";
38
+ import { PublishCommandInput, PublishCommandOutput } from "./commands/PublishCommand";
42
39
  import {
43
40
  SendDirectMessageCommandInput,
44
41
  SendDirectMessageCommandOutput,
@@ -51,163 +48,155 @@ import { IoTDataPlaneClient } from "./IoTDataPlaneClient";
51
48
  export interface IoTDataPlane {
52
49
  deleteConnection(
53
50
  args: DeleteConnectionCommandInput,
54
- options?: __HttpHandlerOptions
51
+ options?: __HttpHandlerOptions,
55
52
  ): Promise<DeleteConnectionCommandOutput>;
56
53
  deleteConnection(
57
54
  args: DeleteConnectionCommandInput,
58
- cb: (err: any, data?: DeleteConnectionCommandOutput) => void
55
+ cb: (err: any, data?: DeleteConnectionCommandOutput) => void,
59
56
  ): void;
60
57
  deleteConnection(
61
58
  args: DeleteConnectionCommandInput,
62
59
  options: __HttpHandlerOptions,
63
- cb: (err: any, data?: DeleteConnectionCommandOutput) => void
60
+ cb: (err: any, data?: DeleteConnectionCommandOutput) => void,
64
61
  ): void;
65
62
  deleteThingShadow(
66
63
  args: DeleteThingShadowCommandInput,
67
- options?: __HttpHandlerOptions
64
+ options?: __HttpHandlerOptions,
68
65
  ): Promise<DeleteThingShadowCommandOutput>;
69
66
  deleteThingShadow(
70
67
  args: DeleteThingShadowCommandInput,
71
- cb: (err: any, data?: DeleteThingShadowCommandOutput) => void
68
+ cb: (err: any, data?: DeleteThingShadowCommandOutput) => void,
72
69
  ): void;
73
70
  deleteThingShadow(
74
71
  args: DeleteThingShadowCommandInput,
75
72
  options: __HttpHandlerOptions,
76
- cb: (err: any, data?: DeleteThingShadowCommandOutput) => void
73
+ cb: (err: any, data?: DeleteThingShadowCommandOutput) => void,
77
74
  ): void;
78
75
  getConnection(
79
76
  args: GetConnectionCommandInput,
80
- options?: __HttpHandlerOptions
77
+ options?: __HttpHandlerOptions,
81
78
  ): Promise<GetConnectionCommandOutput>;
82
79
  getConnection(
83
80
  args: GetConnectionCommandInput,
84
- cb: (err: any, data?: GetConnectionCommandOutput) => void
81
+ cb: (err: any, data?: GetConnectionCommandOutput) => void,
85
82
  ): void;
86
83
  getConnection(
87
84
  args: GetConnectionCommandInput,
88
85
  options: __HttpHandlerOptions,
89
- cb: (err: any, data?: GetConnectionCommandOutput) => void
86
+ cb: (err: any, data?: GetConnectionCommandOutput) => void,
90
87
  ): void;
91
88
  getRetainedMessage(
92
89
  args: GetRetainedMessageCommandInput,
93
- options?: __HttpHandlerOptions
90
+ options?: __HttpHandlerOptions,
94
91
  ): Promise<GetRetainedMessageCommandOutput>;
95
92
  getRetainedMessage(
96
93
  args: GetRetainedMessageCommandInput,
97
- cb: (err: any, data?: GetRetainedMessageCommandOutput) => void
94
+ cb: (err: any, data?: GetRetainedMessageCommandOutput) => void,
98
95
  ): void;
99
96
  getRetainedMessage(
100
97
  args: GetRetainedMessageCommandInput,
101
98
  options: __HttpHandlerOptions,
102
- cb: (err: any, data?: GetRetainedMessageCommandOutput) => void
99
+ cb: (err: any, data?: GetRetainedMessageCommandOutput) => void,
103
100
  ): void;
104
101
  getThingShadow(
105
102
  args: GetThingShadowCommandInput,
106
- options?: __HttpHandlerOptions
103
+ options?: __HttpHandlerOptions,
107
104
  ): Promise<GetThingShadowCommandOutput>;
108
105
  getThingShadow(
109
106
  args: GetThingShadowCommandInput,
110
- cb: (err: any, data?: GetThingShadowCommandOutput) => void
107
+ cb: (err: any, data?: GetThingShadowCommandOutput) => void,
111
108
  ): void;
112
109
  getThingShadow(
113
110
  args: GetThingShadowCommandInput,
114
111
  options: __HttpHandlerOptions,
115
- cb: (err: any, data?: GetThingShadowCommandOutput) => void
112
+ cb: (err: any, data?: GetThingShadowCommandOutput) => void,
116
113
  ): void;
117
114
  listNamedShadowsForThing(
118
115
  args: ListNamedShadowsForThingCommandInput,
119
- options?: __HttpHandlerOptions
116
+ options?: __HttpHandlerOptions,
120
117
  ): Promise<ListNamedShadowsForThingCommandOutput>;
121
118
  listNamedShadowsForThing(
122
119
  args: ListNamedShadowsForThingCommandInput,
123
- cb: (err: any, data?: ListNamedShadowsForThingCommandOutput) => void
120
+ cb: (err: any, data?: ListNamedShadowsForThingCommandOutput) => void,
124
121
  ): void;
125
122
  listNamedShadowsForThing(
126
123
  args: ListNamedShadowsForThingCommandInput,
127
124
  options: __HttpHandlerOptions,
128
- cb: (err: any, data?: ListNamedShadowsForThingCommandOutput) => void
125
+ cb: (err: any, data?: ListNamedShadowsForThingCommandOutput) => void,
129
126
  ): void;
130
127
  listRetainedMessages(): Promise<ListRetainedMessagesCommandOutput>;
131
128
  listRetainedMessages(
132
129
  args: ListRetainedMessagesCommandInput,
133
- options?: __HttpHandlerOptions
130
+ options?: __HttpHandlerOptions,
134
131
  ): Promise<ListRetainedMessagesCommandOutput>;
135
132
  listRetainedMessages(
136
133
  args: ListRetainedMessagesCommandInput,
137
- cb: (err: any, data?: ListRetainedMessagesCommandOutput) => void
134
+ cb: (err: any, data?: ListRetainedMessagesCommandOutput) => void,
138
135
  ): void;
139
136
  listRetainedMessages(
140
137
  args: ListRetainedMessagesCommandInput,
141
138
  options: __HttpHandlerOptions,
142
- cb: (err: any, data?: ListRetainedMessagesCommandOutput) => void
139
+ cb: (err: any, data?: ListRetainedMessagesCommandOutput) => void,
143
140
  ): void;
144
141
  listSubscriptions(
145
142
  args: ListSubscriptionsCommandInput,
146
- options?: __HttpHandlerOptions
143
+ options?: __HttpHandlerOptions,
147
144
  ): Promise<ListSubscriptionsCommandOutput>;
148
145
  listSubscriptions(
149
146
  args: ListSubscriptionsCommandInput,
150
- cb: (err: any, data?: ListSubscriptionsCommandOutput) => void
147
+ cb: (err: any, data?: ListSubscriptionsCommandOutput) => void,
151
148
  ): void;
152
149
  listSubscriptions(
153
150
  args: ListSubscriptionsCommandInput,
154
151
  options: __HttpHandlerOptions,
155
- cb: (err: any, data?: ListSubscriptionsCommandOutput) => void
156
- ): void;
157
- publish(
158
- args: PublishCommandInput,
159
- options?: __HttpHandlerOptions
160
- ): Promise<PublishCommandOutput>;
161
- publish(
162
- args: PublishCommandInput,
163
- cb: (err: any, data?: PublishCommandOutput) => void
152
+ cb: (err: any, data?: ListSubscriptionsCommandOutput) => void,
164
153
  ): void;
154
+ publish(args: PublishCommandInput, options?: __HttpHandlerOptions): Promise<PublishCommandOutput>;
155
+ publish(args: PublishCommandInput, cb: (err: any, data?: PublishCommandOutput) => void): void;
165
156
  publish(
166
157
  args: PublishCommandInput,
167
158
  options: __HttpHandlerOptions,
168
- cb: (err: any, data?: PublishCommandOutput) => void
159
+ cb: (err: any, data?: PublishCommandOutput) => void,
169
160
  ): void;
170
161
  sendDirectMessage(
171
162
  args: SendDirectMessageCommandInput,
172
- options?: __HttpHandlerOptions
163
+ options?: __HttpHandlerOptions,
173
164
  ): Promise<SendDirectMessageCommandOutput>;
174
165
  sendDirectMessage(
175
166
  args: SendDirectMessageCommandInput,
176
- cb: (err: any, data?: SendDirectMessageCommandOutput) => void
167
+ cb: (err: any, data?: SendDirectMessageCommandOutput) => void,
177
168
  ): void;
178
169
  sendDirectMessage(
179
170
  args: SendDirectMessageCommandInput,
180
171
  options: __HttpHandlerOptions,
181
- cb: (err: any, data?: SendDirectMessageCommandOutput) => void
172
+ cb: (err: any, data?: SendDirectMessageCommandOutput) => void,
182
173
  ): void;
183
174
  updateThingShadow(
184
175
  args: UpdateThingShadowCommandInput,
185
- options?: __HttpHandlerOptions
176
+ options?: __HttpHandlerOptions,
186
177
  ): Promise<UpdateThingShadowCommandOutput>;
187
178
  updateThingShadow(
188
179
  args: UpdateThingShadowCommandInput,
189
- cb: (err: any, data?: UpdateThingShadowCommandOutput) => void
180
+ cb: (err: any, data?: UpdateThingShadowCommandOutput) => void,
190
181
  ): void;
191
182
  updateThingShadow(
192
183
  args: UpdateThingShadowCommandInput,
193
184
  options: __HttpHandlerOptions,
194
- cb: (err: any, data?: UpdateThingShadowCommandOutput) => void
185
+ cb: (err: any, data?: UpdateThingShadowCommandOutput) => void,
195
186
  ): void;
196
187
  paginateListRetainedMessages(
197
188
  args?: ListRetainedMessagesCommandInput,
198
189
  paginationConfig?: Pick<
199
190
  PaginationConfiguration,
200
191
  Exclude<keyof PaginationConfiguration, "client">
201
- >
192
+ >,
202
193
  ): Paginator<ListRetainedMessagesCommandOutput>;
203
194
  paginateListSubscriptions(
204
195
  args: ListSubscriptionsCommandInput,
205
196
  paginationConfig?: Pick<
206
197
  PaginationConfiguration,
207
198
  Exclude<keyof PaginationConfiguration, "client">
208
- >
199
+ >,
209
200
  ): Paginator<ListSubscriptionsCommandOutput>;
210
201
  }
211
- export declare class IoTDataPlane
212
- extends IoTDataPlaneClient
213
- implements IoTDataPlane {}
202
+ export declare class IoTDataPlane extends IoTDataPlaneClient implements IoTDataPlane {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -68,10 +65,7 @@ import {
68
65
  ListSubscriptionsCommandInput,
69
66
  ListSubscriptionsCommandOutput,
70
67
  } from "./commands/ListSubscriptionsCommand";
71
- import {
72
- PublishCommandInput,
73
- PublishCommandOutput,
74
- } from "./commands/PublishCommand";
68
+ import { PublishCommandInput, PublishCommandOutput } from "./commands/PublishCommand";
75
69
  import {
76
70
  SendDirectMessageCommandInput,
77
71
  SendDirectMessageCommandOutput,
@@ -111,8 +105,7 @@ export type ServiceOutputTypes =
111
105
  | PublishCommandOutput
112
106
  | SendDirectMessageCommandOutput
113
107
  | UpdateThingShadowCommandOutput;
114
- export interface ClientDefaults
115
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
108
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
116
109
  requestHandler?: __HttpHandlerUserInput;
117
110
  sha256?: __ChecksumConstructor | __HashConstructor;
118
111
  urlParser?: __UrlParser;
@@ -137,9 +130,7 @@ export interface ClientDefaults
137
130
  extensions?: RuntimeExtension[];
138
131
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
139
132
  }
140
- export type IoTDataPlaneClientConfigType = Partial<
141
- __SmithyConfiguration<__HttpHandlerOptions>
142
- > &
133
+ export type IoTDataPlaneClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
143
134
  ClientDefaults &
144
135
  UserAgentInputConfig &
145
136
  RetryInputConfig &
@@ -148,8 +139,7 @@ export type IoTDataPlaneClientConfigType = Partial<
148
139
  EndpointInputConfig<EndpointParameters> &
149
140
  HttpAuthSchemeInputConfig &
150
141
  ClientInputEndpointParameters;
151
- export interface IoTDataPlaneClientConfig
152
- extends IoTDataPlaneClientConfigType {}
142
+ export interface IoTDataPlaneClientConfig extends IoTDataPlaneClientConfigType {}
153
143
  export type IoTDataPlaneClientResolvedConfigType =
154
144
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
155
145
  Required<ClientDefaults> &
@@ -161,8 +151,7 @@ export type IoTDataPlaneClientResolvedConfigType =
161
151
  EndpointResolvedConfig<EndpointParameters> &
162
152
  HttpAuthSchemeResolvedConfig &
163
153
  ClientResolvedEndpointParameters;
164
- export interface IoTDataPlaneClientResolvedConfig
165
- extends IoTDataPlaneClientResolvedConfigType {}
154
+ export interface IoTDataPlaneClientResolvedConfig extends IoTDataPlaneClientResolvedConfigType {}
166
155
  export declare class IoTDataPlaneClient extends __Client<
167
156
  __HttpHandlerOptions,
168
157
  ServiceInputTypes,
@@ -170,8 +159,6 @@ export declare class IoTDataPlaneClient extends __Client<
170
159
  IoTDataPlaneClientResolvedConfig
171
160
  > {
172
161
  readonly config: IoTDataPlaneClientResolvedConfig;
173
- constructor(
174
- ...[configuration]: __CheckOptionalClientConfig<IoTDataPlaneClientConfig>
175
- );
162
+ constructor(...[configuration]: __CheckOptionalClientConfig<IoTDataPlaneClientConfig>);
176
163
  destroy(): void;
177
164
  }
@@ -7,17 +7,10 @@ import { IoTDataPlaneHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: IoTDataPlaneHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: IoTDataPlaneHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): IoTDataPlaneHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { IoTDataPlaneClientResolvedConfig } from "../IoTDataPlaneClient";
15
- export interface IoTDataPlaneHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface IoTDataPlaneHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface IoTDataPlaneHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- IoTDataPlaneClientResolvedConfig,
22
- HandlerExecutionContext,
23
- IoTDataPlaneHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface IoTDataPlaneHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ IoTDataPlaneClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ IoTDataPlaneHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultIoTDataPlaneHttpAuthSchemeParametersProvider: (
27
25
  config: IoTDataPlaneClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<IoTDataPlaneHttpAuthSchemeParameters>;
31
- export interface IoTDataPlaneHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<IoTDataPlaneHttpAuthSchemeParameters> {}
29
+ export interface IoTDataPlaneHttpAuthSchemeProvider extends HttpAuthSchemeProvider<IoTDataPlaneHttpAuthSchemeParameters> {}
33
30
  export declare const defaultIoTDataPlaneHttpAuthSchemeProvider: IoTDataPlaneHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: IoTDataPlaneHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: IoTDataPlaneHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -4,22 +4,21 @@ import {
4
4
  ServiceInputTypes,
5
5
  ServiceOutputTypes,
6
6
  } from "./IoTDataPlaneClient";
7
- export declare const command: <
8
- I extends ServiceInputTypes,
9
- O extends ServiceOutputTypes
10
- >(
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
8
  added: EndpointParameterInstructions,
12
9
  plugins: (
13
10
  CommandCtor: any,
14
11
  clientStack: any,
15
12
  config: any,
16
- options: any
13
+ options: any,
17
14
  ) => import("@smithy/types").Pluggable<any, any>[],
18
15
  op: string,
19
16
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
17
+ smithyContext?: Record<string, unknown>,
21
18
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
23
22
  I,
24
23
  O,
25
24
  IoTDataPlaneClientResolvedConfig,
@@ -38,9 +37,4 @@ export declare const command: <
38
37
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
38
  };
40
39
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -5,7 +5,7 @@ export interface DeleteConnectionCommandInput extends DeleteConnectionRequest {}
5
5
  export interface DeleteConnectionCommandOutput extends __MetadataBearer {}
6
6
  declare const DeleteConnectionCommand_base: {
7
7
  new (
8
- input: DeleteConnectionCommandInput
8
+ input: DeleteConnectionCommandInput,
9
9
  ): import("@smithy/core/client").CommandImpl<
10
10
  DeleteConnectionCommandInput,
11
11
  DeleteConnectionCommandOutput,
@@ -14,7 +14,7 @@ declare const DeleteConnectionCommand_base: {
14
14
  import("..").ServiceOutputTypes
15
15
  >;
16
16
  new (
17
- input: DeleteConnectionCommandInput
17
+ input: DeleteConnectionCommandInput,
18
18
  ): import("@smithy/core/client").CommandImpl<
19
19
  DeleteConnectionCommandInput,
20
20
  DeleteConnectionCommandOutput,
@@ -1,12 +1,8 @@
1
1
  import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- DeleteThingShadowRequest,
5
- DeleteThingShadowResponse,
6
- } from "../models/models_0";
3
+ import { DeleteThingShadowRequest, DeleteThingShadowResponse } from "../models/models_0";
7
4
  export { __MetadataBearer };
8
- export interface DeleteThingShadowCommandInput
9
- extends DeleteThingShadowRequest {}
5
+ export interface DeleteThingShadowCommandInput extends DeleteThingShadowRequest {}
10
6
  export type DeleteThingShadowCommandOutputType = Pick<
11
7
  DeleteThingShadowResponse,
12
8
  Exclude<keyof DeleteThingShadowResponse, "payload">
@@ -14,11 +10,10 @@ export type DeleteThingShadowCommandOutputType = Pick<
14
10
  payload: Uint8ArrayBlobAdapter;
15
11
  };
16
12
  export interface DeleteThingShadowCommandOutput
17
- extends DeleteThingShadowCommandOutputType,
18
- __MetadataBearer {}
13
+ extends DeleteThingShadowCommandOutputType, __MetadataBearer {}
19
14
  declare const DeleteThingShadowCommand_base: {
20
15
  new (
21
- input: DeleteThingShadowCommandInput
16
+ input: DeleteThingShadowCommandInput,
22
17
  ): import("@smithy/core/client").CommandImpl<
23
18
  DeleteThingShadowCommandInput,
24
19
  DeleteThingShadowCommandOutput,
@@ -27,7 +22,7 @@ declare const DeleteThingShadowCommand_base: {
27
22
  import("..").ServiceOutputTypes
28
23
  >;
29
24
  new (
30
- input: DeleteThingShadowCommandInput
25
+ input: DeleteThingShadowCommandInput,
31
26
  ): import("@smithy/core/client").CommandImpl<
32
27
  DeleteThingShadowCommandInput,
33
28
  DeleteThingShadowCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetConnectionRequest,
4
- GetConnectionResponse,
5
- } from "../models/models_0";
2
+ import { GetConnectionRequest, GetConnectionResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface GetConnectionCommandInput extends GetConnectionRequest {}
8
- export interface GetConnectionCommandOutput
9
- extends GetConnectionResponse,
10
- __MetadataBearer {}
5
+ export interface GetConnectionCommandOutput extends GetConnectionResponse, __MetadataBearer {}
11
6
  declare const GetConnectionCommand_base: {
12
7
  new (
13
- input: GetConnectionCommandInput
8
+ input: GetConnectionCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  GetConnectionCommandInput,
16
11
  GetConnectionCommandOutput,
@@ -19,7 +14,7 @@ declare const GetConnectionCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: GetConnectionCommandInput
17
+ input: GetConnectionCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  GetConnectionCommandInput,
25
20
  GetConnectionCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetRetainedMessageRequest,
4
- GetRetainedMessageResponse,
5
- } from "../models/models_0";
2
+ import { GetRetainedMessageRequest, GetRetainedMessageResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface GetRetainedMessageCommandInput
8
- extends GetRetainedMessageRequest {}
4
+ export interface GetRetainedMessageCommandInput extends GetRetainedMessageRequest {}
9
5
  export interface GetRetainedMessageCommandOutput
10
- extends GetRetainedMessageResponse,
11
- __MetadataBearer {}
6
+ extends GetRetainedMessageResponse, __MetadataBearer {}
12
7
  declare const GetRetainedMessageCommand_base: {
13
8
  new (
14
- input: GetRetainedMessageCommandInput
9
+ input: GetRetainedMessageCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  GetRetainedMessageCommandInput,
17
12
  GetRetainedMessageCommandOutput,
@@ -20,7 +15,7 @@ declare const GetRetainedMessageCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: GetRetainedMessageCommandInput
18
+ input: GetRetainedMessageCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  GetRetainedMessageCommandInput,
26
21
  GetRetainedMessageCommandOutput,
@@ -1,9 +1,6 @@
1
1
  import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- GetThingShadowRequest,
5
- GetThingShadowResponse,
6
- } from "../models/models_0";
3
+ import { GetThingShadowRequest, GetThingShadowResponse } from "../models/models_0";
7
4
  export { __MetadataBearer };
8
5
  export interface GetThingShadowCommandInput extends GetThingShadowRequest {}
9
6
  export type GetThingShadowCommandOutputType = Pick<
@@ -13,11 +10,10 @@ export type GetThingShadowCommandOutputType = Pick<
13
10
  payload?: Uint8ArrayBlobAdapter;
14
11
  };
15
12
  export interface GetThingShadowCommandOutput
16
- extends GetThingShadowCommandOutputType,
17
- __MetadataBearer {}
13
+ extends GetThingShadowCommandOutputType, __MetadataBearer {}
18
14
  declare const GetThingShadowCommand_base: {
19
15
  new (
20
- input: GetThingShadowCommandInput
16
+ input: GetThingShadowCommandInput,
21
17
  ): import("@smithy/core/client").CommandImpl<
22
18
  GetThingShadowCommandInput,
23
19
  GetThingShadowCommandOutput,
@@ -26,7 +22,7 @@ declare const GetThingShadowCommand_base: {
26
22
  import("..").ServiceOutputTypes
27
23
  >;
28
24
  new (
29
- input: GetThingShadowCommandInput
25
+ input: GetThingShadowCommandInput,
30
26
  ): import("@smithy/core/client").CommandImpl<
31
27
  GetThingShadowCommandInput,
32
28
  GetThingShadowCommandOutput,
@@ -4,14 +4,12 @@ import {
4
4
  ListNamedShadowsForThingResponse,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface ListNamedShadowsForThingCommandInput
8
- extends ListNamedShadowsForThingRequest {}
7
+ export interface ListNamedShadowsForThingCommandInput extends ListNamedShadowsForThingRequest {}
9
8
  export interface ListNamedShadowsForThingCommandOutput
10
- extends ListNamedShadowsForThingResponse,
11
- __MetadataBearer {}
9
+ extends ListNamedShadowsForThingResponse, __MetadataBearer {}
12
10
  declare const ListNamedShadowsForThingCommand_base: {
13
11
  new (
14
- input: ListNamedShadowsForThingCommandInput
12
+ input: ListNamedShadowsForThingCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  ListNamedShadowsForThingCommandInput,
17
15
  ListNamedShadowsForThingCommandOutput,
@@ -20,7 +18,7 @@ declare const ListNamedShadowsForThingCommand_base: {
20
18
  import("..").ServiceOutputTypes
21
19
  >;
22
20
  new (
23
- input: ListNamedShadowsForThingCommandInput
21
+ input: ListNamedShadowsForThingCommandInput,
24
22
  ): import("@smithy/core/client").CommandImpl<
25
23
  ListNamedShadowsForThingCommandInput,
26
24
  ListNamedShadowsForThingCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- ListRetainedMessagesRequest,
4
- ListRetainedMessagesResponse,
5
- } from "../models/models_0";
2
+ import { ListRetainedMessagesRequest, ListRetainedMessagesResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface ListRetainedMessagesCommandInput
8
- extends ListRetainedMessagesRequest {}
4
+ export interface ListRetainedMessagesCommandInput extends ListRetainedMessagesRequest {}
9
5
  export interface ListRetainedMessagesCommandOutput
10
- extends ListRetainedMessagesResponse,
11
- __MetadataBearer {}
6
+ extends ListRetainedMessagesResponse, __MetadataBearer {}
12
7
  declare const ListRetainedMessagesCommand_base: {
13
8
  new (
14
- input: ListRetainedMessagesCommandInput
9
+ input: ListRetainedMessagesCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  ListRetainedMessagesCommandInput,
17
12
  ListRetainedMessagesCommandOutput,
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- ListSubscriptionsRequest,
4
- ListSubscriptionsResponse,
5
- } from "../models/models_0";
2
+ import { ListSubscriptionsRequest, ListSubscriptionsResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface ListSubscriptionsCommandInput
8
- extends ListSubscriptionsRequest {}
4
+ export interface ListSubscriptionsCommandInput extends ListSubscriptionsRequest {}
9
5
  export interface ListSubscriptionsCommandOutput
10
- extends ListSubscriptionsResponse,
11
- __MetadataBearer {}
6
+ extends ListSubscriptionsResponse, __MetadataBearer {}
12
7
  declare const ListSubscriptionsCommand_base: {
13
8
  new (
14
- input: ListSubscriptionsCommandInput
9
+ input: ListSubscriptionsCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  ListSubscriptionsCommandInput,
17
12
  ListSubscriptionsCommandOutput,
@@ -20,7 +15,7 @@ declare const ListSubscriptionsCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: ListSubscriptionsCommandInput
18
+ input: ListSubscriptionsCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  ListSubscriptionsCommandInput,
26
21
  ListSubscriptionsCommandOutput,
@@ -1,7 +1,4 @@
1
- import {
2
- BlobPayloadInputTypes,
3
- MetadataBearer as __MetadataBearer,
4
- } from "@smithy/types";
1
+ import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
5
2
  import { PublishRequest } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export type PublishCommandInputType = Pick<
@@ -13,14 +10,18 @@ export type PublishCommandInputType = Pick<
13
10
  export interface PublishCommandInput extends PublishCommandInputType {}
14
11
  export interface PublishCommandOutput extends __MetadataBearer {}
15
12
  declare const PublishCommand_base: {
16
- new (input: PublishCommandInput): import("@smithy/core/client").CommandImpl<
13
+ new (
14
+ input: PublishCommandInput,
15
+ ): import("@smithy/core/client").CommandImpl<
17
16
  PublishCommandInput,
18
17
  PublishCommandOutput,
19
18
  import("..").IoTDataPlaneClientResolvedConfig,
20
19
  import("..").ServiceInputTypes,
21
20
  import("..").ServiceOutputTypes
22
21
  >;
23
- new (input: PublishCommandInput): import("@smithy/core/client").CommandImpl<
22
+ new (
23
+ input: PublishCommandInput,
24
+ ): import("@smithy/core/client").CommandImpl<
24
25
  PublishCommandInput,
25
26
  PublishCommandOutput,
26
27
  import("..").IoTDataPlaneClientResolvedConfig,
@@ -1,11 +1,5 @@
1
- import {
2
- BlobPayloadInputTypes,
3
- MetadataBearer as __MetadataBearer,
4
- } from "@smithy/types";
5
- import {
6
- SendDirectMessageRequest,
7
- SendDirectMessageResponse,
8
- } from "../models/models_0";
1
+ import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { SendDirectMessageRequest, SendDirectMessageResponse } from "../models/models_0";
9
3
  export { __MetadataBearer };
10
4
  export type SendDirectMessageCommandInputType = Pick<
11
5
  SendDirectMessageRequest,
@@ -13,14 +7,12 @@ export type SendDirectMessageCommandInputType = Pick<
13
7
  > & {
14
8
  payload?: BlobPayloadInputTypes;
15
9
  };
16
- export interface SendDirectMessageCommandInput
17
- extends SendDirectMessageCommandInputType {}
10
+ export interface SendDirectMessageCommandInput extends SendDirectMessageCommandInputType {}
18
11
  export interface SendDirectMessageCommandOutput
19
- extends SendDirectMessageResponse,
20
- __MetadataBearer {}
12
+ extends SendDirectMessageResponse, __MetadataBearer {}
21
13
  declare const SendDirectMessageCommand_base: {
22
14
  new (
23
- input: SendDirectMessageCommandInput
15
+ input: SendDirectMessageCommandInput,
24
16
  ): import("@smithy/core/client").CommandImpl<
25
17
  SendDirectMessageCommandInput,
26
18
  SendDirectMessageCommandOutput,
@@ -29,7 +21,7 @@ declare const SendDirectMessageCommand_base: {
29
21
  import("..").ServiceOutputTypes
30
22
  >;
31
23
  new (
32
- input: SendDirectMessageCommandInput
24
+ input: SendDirectMessageCommandInput,
33
25
  ): import("@smithy/core/client").CommandImpl<
34
26
  SendDirectMessageCommandInput,
35
27
  SendDirectMessageCommandOutput,
@@ -1,12 +1,6 @@
1
1
  import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
2
- import {
3
- BlobPayloadInputTypes,
4
- MetadataBearer as __MetadataBearer,
5
- } from "@smithy/types";
6
- import {
7
- UpdateThingShadowRequest,
8
- UpdateThingShadowResponse,
9
- } from "../models/models_0";
2
+ import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateThingShadowRequest, UpdateThingShadowResponse } from "../models/models_0";
10
4
  export { __MetadataBearer };
11
5
  export type UpdateThingShadowCommandInputType = Pick<
12
6
  UpdateThingShadowRequest,
@@ -14,8 +8,7 @@ export type UpdateThingShadowCommandInputType = Pick<
14
8
  > & {
15
9
  payload: BlobPayloadInputTypes;
16
10
  };
17
- export interface UpdateThingShadowCommandInput
18
- extends UpdateThingShadowCommandInputType {}
11
+ export interface UpdateThingShadowCommandInput extends UpdateThingShadowCommandInputType {}
19
12
  export type UpdateThingShadowCommandOutputType = Pick<
20
13
  UpdateThingShadowResponse,
21
14
  Exclude<keyof UpdateThingShadowResponse, "payload">
@@ -23,11 +16,10 @@ export type UpdateThingShadowCommandOutputType = Pick<
23
16
  payload?: Uint8ArrayBlobAdapter;
24
17
  };
25
18
  export interface UpdateThingShadowCommandOutput
26
- extends UpdateThingShadowCommandOutputType,
27
- __MetadataBearer {}
19
+ extends UpdateThingShadowCommandOutputType, __MetadataBearer {}
28
20
  declare const UpdateThingShadowCommand_base: {
29
21
  new (
30
- input: UpdateThingShadowCommandInput
22
+ input: UpdateThingShadowCommandInput,
31
23
  ): import("@smithy/core/client").CommandImpl<
32
24
  UpdateThingShadowCommandInput,
33
25
  UpdateThingShadowCommandOutput,
@@ -36,7 +28,7 @@ declare const UpdateThingShadowCommand_base: {
36
28
  import("..").ServiceOutputTypes
37
29
  >;
38
30
  new (
39
- input: UpdateThingShadowCommandInput
31
+ input: UpdateThingShadowCommandInput,
40
32
  ): import("@smithy/core/client").CommandImpl<
41
33
  UpdateThingShadowCommandInput,
42
34
  UpdateThingShadowCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ 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
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -13,73 +13,50 @@ export declare class ForbiddenException extends __BaseException {
13
13
  export declare class InternalFailureException extends __BaseException {
14
14
  readonly name: "InternalFailureException";
15
15
  readonly $fault: "server";
16
- constructor(
17
- opts: __ExceptionOptionType<InternalFailureException, __BaseException>
18
- );
16
+ constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
19
17
  }
20
18
  export declare class InvalidRequestException extends __BaseException {
21
19
  readonly name: "InvalidRequestException";
22
20
  readonly $fault: "client";
23
- constructor(
24
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
25
- );
21
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
26
22
  }
27
23
  export declare class ResourceNotFoundException extends __BaseException {
28
24
  readonly name: "ResourceNotFoundException";
29
25
  readonly $fault: "client";
30
- constructor(
31
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
32
- );
26
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
33
27
  }
34
28
  export declare class ThrottlingException extends __BaseException {
35
29
  readonly name: "ThrottlingException";
36
30
  readonly $fault: "client";
37
- constructor(
38
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
39
- );
31
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
40
32
  }
41
33
  export declare class MethodNotAllowedException extends __BaseException {
42
34
  readonly name: "MethodNotAllowedException";
43
35
  readonly $fault: "client";
44
- constructor(
45
- opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>
46
- );
36
+ constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
47
37
  }
48
38
  export declare class ServiceUnavailableException extends __BaseException {
49
39
  readonly name: "ServiceUnavailableException";
50
40
  readonly $fault: "server";
51
- constructor(
52
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
53
- );
41
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
54
42
  }
55
43
  export declare class UnauthorizedException extends __BaseException {
56
44
  readonly name: "UnauthorizedException";
57
45
  readonly $fault: "client";
58
- constructor(
59
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
60
- );
46
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
61
47
  }
62
48
  export declare class UnsupportedDocumentEncodingException extends __BaseException {
63
49
  readonly name: "UnsupportedDocumentEncodingException";
64
50
  readonly $fault: "client";
65
- constructor(
66
- opts: __ExceptionOptionType<
67
- UnsupportedDocumentEncodingException,
68
- __BaseException
69
- >
70
- );
51
+ constructor(opts: __ExceptionOptionType<UnsupportedDocumentEncodingException, __BaseException>);
71
52
  }
72
53
  export declare class GatewayTimeoutException extends __BaseException {
73
54
  readonly name: "GatewayTimeoutException";
74
55
  readonly $fault: "server";
75
- constructor(
76
- opts: __ExceptionOptionType<GatewayTimeoutException, __BaseException>
77
- );
56
+ constructor(opts: __ExceptionOptionType<GatewayTimeoutException, __BaseException>);
78
57
  }
79
58
  export declare class RequestEntityTooLargeException extends __BaseException {
80
59
  readonly name: "RequestEntityTooLargeException";
81
60
  readonly $fault: "client";
82
- constructor(
83
- opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>
84
- );
61
+ constructor(opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>);
85
62
  }
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { IoTDataPlaneClient } from "../IoTDataPlaneClient";
3
- export interface IoTDataPlanePaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface IoTDataPlanePaginationConfiguration extends PaginationConfiguration {
5
4
  client: IoTDataPlaneClient;
6
5
  }
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").IoTDataPlaneHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var IoTDataPlaneServiceException$: StaticErrorSchema;
8
4
  export declare var ConflictException$: StaticErrorSchema;
9
5
  export declare var ForbiddenException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-data-plane",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Iot Data Plane Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iot-data-plane",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-iot-data-plane"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
55
+ "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
31
58
  "devDependencies": {
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iot-data-plane",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-iot-data-plane"
68
68
  }
69
69
  }