@aws-sdk/client-iot-data-plane 3.478.0 → 3.481.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 (33) hide show
  1. package/dist-cjs/commands/DeleteThingShadowCommand.js +18 -41
  2. package/dist-cjs/commands/GetRetainedMessageCommand.js +18 -41
  3. package/dist-cjs/commands/GetThingShadowCommand.js +18 -41
  4. package/dist-cjs/commands/ListNamedShadowsForThingCommand.js +18 -41
  5. package/dist-cjs/commands/ListRetainedMessagesCommand.js +18 -41
  6. package/dist-cjs/commands/PublishCommand.js +18 -41
  7. package/dist-cjs/commands/UpdateThingShadowCommand.js +18 -41
  8. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  9. package/dist-es/commands/DeleteThingShadowCommand.js +18 -41
  10. package/dist-es/commands/GetRetainedMessageCommand.js +18 -41
  11. package/dist-es/commands/GetThingShadowCommand.js +18 -41
  12. package/dist-es/commands/ListNamedShadowsForThingCommand.js +18 -41
  13. package/dist-es/commands/ListRetainedMessagesCommand.js +18 -41
  14. package/dist-es/commands/PublishCommand.js +18 -41
  15. package/dist-es/commands/UpdateThingShadowCommand.js +18 -41
  16. package/dist-es/endpoint/EndpointParameters.js +6 -0
  17. package/dist-types/commands/DeleteThingShadowCommand.d.ts +6 -21
  18. package/dist-types/commands/GetRetainedMessageCommand.d.ts +6 -21
  19. package/dist-types/commands/GetThingShadowCommand.d.ts +6 -21
  20. package/dist-types/commands/ListNamedShadowsForThingCommand.d.ts +6 -21
  21. package/dist-types/commands/ListRetainedMessagesCommand.d.ts +6 -21
  22. package/dist-types/commands/PublishCommand.d.ts +6 -21
  23. package/dist-types/commands/UpdateThingShadowCommand.d.ts +6 -21
  24. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  25. package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +14 -23
  26. package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +14 -23
  27. package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +14 -23
  28. package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +12 -24
  29. package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +12 -24
  30. package/dist-types/ts3.4/commands/PublishCommand.d.ts +11 -20
  31. package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +13 -20
  32. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  33. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetThingShadowCommand, se_GetThingShadowCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetThingShadowCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetThingShadowCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTDataPlaneClient";
26
- const commandName = "GetThingShadowCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotMoonrakerService",
35
- operation: "GetThingShadow",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetThingShadowCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetThingShadowCommand(output, context);
46
- }
7
+ export class GetThingShadowCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotMoonrakerService", "GetThingShadow", {})
19
+ .n("IoTDataPlaneClient", "GetThingShadowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetThingShadowCommand)
22
+ .de(de_GetThingShadowCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListNamedShadowsForThingCommand, se_ListNamedShadowsForThingCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListNamedShadowsForThingCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListNamedShadowsForThingCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTDataPlaneClient";
26
- const commandName = "ListNamedShadowsForThingCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotMoonrakerService",
35
- operation: "ListNamedShadowsForThing",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListNamedShadowsForThingCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListNamedShadowsForThingCommand(output, context);
46
- }
7
+ export class ListNamedShadowsForThingCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotMoonrakerService", "ListNamedShadowsForThing", {})
19
+ .n("IoTDataPlaneClient", "ListNamedShadowsForThingCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListNamedShadowsForThingCommand)
22
+ .de(de_ListNamedShadowsForThingCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListRetainedMessagesCommand, se_ListRetainedMessagesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListRetainedMessagesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListRetainedMessagesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTDataPlaneClient";
26
- const commandName = "ListRetainedMessagesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotMoonrakerService",
35
- operation: "ListRetainedMessages",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListRetainedMessagesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRetainedMessagesCommand(output, context);
46
- }
7
+ export class ListRetainedMessagesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotMoonrakerService", "ListRetainedMessages", {})
19
+ .n("IoTDataPlaneClient", "ListRetainedMessagesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListRetainedMessagesCommand)
22
+ .de(de_ListRetainedMessagesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PublishCommand, se_PublishCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class PublishCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PublishCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTDataPlaneClient";
26
- const commandName = "PublishCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotMoonrakerService",
35
- operation: "Publish",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PublishCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PublishCommand(output, context);
46
- }
7
+ export class PublishCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotMoonrakerService", "Publish", {})
19
+ .n("IoTDataPlaneClient", "PublishCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PublishCommand)
22
+ .de(de_PublishCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateThingShadowCommand, se_UpdateThingShadowCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateThingShadowCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateThingShadowCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "IoTDataPlaneClient";
26
- const commandName = "UpdateThingShadowCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "IotMoonrakerService",
35
- operation: "UpdateThingShadow",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateThingShadowCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateThingShadowCommand(output, context);
46
- }
7
+ export class UpdateThingShadowCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("IotMoonrakerService", "UpdateThingShadow", {})
19
+ .n("IoTDataPlaneClient", "UpdateThingShadowCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateThingShadowCommand)
22
+ .de(de_UpdateThingShadowCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "iotdata",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
5
4
  import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
6
5
  import { DeleteThingShadowRequest, DeleteThingShadowResponse } from "../models/models_0";
@@ -28,6 +27,10 @@ export type DeleteThingShadowCommandOutputType = Omit<DeleteThingShadowResponse,
28
27
  */
29
28
  export interface DeleteThingShadowCommandOutput extends DeleteThingShadowCommandOutputType, __MetadataBearer {
30
29
  }
30
+ declare const DeleteThingShadowCommand_base: {
31
+ new (input: DeleteThingShadowCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
32
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
+ };
31
34
  /**
32
35
  * @public
33
36
  * <p>Deletes the shadow for the specified thing.</p>
@@ -85,23 +88,5 @@ export interface DeleteThingShadowCommandOutput extends DeleteThingShadowCommand
85
88
  * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
86
89
  *
87
90
  */
88
- export declare class DeleteThingShadowCommand extends $Command<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
89
- readonly input: DeleteThingShadowCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: DeleteThingShadowCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class DeleteThingShadowCommand extends DeleteThingShadowCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
5
4
  import { GetRetainedMessageRequest, GetRetainedMessageResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetRetainedMessageCommandInput extends GetRetainedMessageReques
21
20
  */
22
21
  export interface GetRetainedMessageCommandOutput extends GetRetainedMessageResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetRetainedMessageCommand_base: {
24
+ new (input: GetRetainedMessageCommandInput): import("@smithy/smithy-client").CommandImpl<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the details of a single retained message for the specified topic.</p>
@@ -82,23 +85,5 @@ export interface GetRetainedMessageCommandOutput extends GetRetainedMessageRespo
82
85
  * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
83
86
  *
84
87
  */
85
- export declare class GetRetainedMessageCommand extends $Command<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig> {
86
- readonly input: GetRetainedMessageCommandInput;
87
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
- /**
89
- * @public
90
- */
91
- constructor(input: GetRetainedMessageCommandInput);
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput>;
96
- /**
97
- * @internal
98
- */
99
- private serialize;
100
- /**
101
- * @internal
102
- */
103
- private deserialize;
88
+ export declare class GetRetainedMessageCommand extends GetRetainedMessageCommand_base {
104
89
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
5
4
  import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
6
5
  import { GetThingShadowRequest, GetThingShadowResponse } from "../models/models_0";
@@ -28,6 +27,10 @@ export type GetThingShadowCommandOutputType = Omit<GetThingShadowResponse, "payl
28
27
  */
29
28
  export interface GetThingShadowCommandOutput extends GetThingShadowCommandOutputType, __MetadataBearer {
30
29
  }
30
+ declare const GetThingShadowCommand_base: {
31
+ new (input: GetThingShadowCommandInput): import("@smithy/smithy-client").CommandImpl<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
32
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
+ };
31
34
  /**
32
35
  * @public
33
36
  * <p>Gets the shadow for the specified thing.</p>
@@ -86,23 +89,5 @@ export interface GetThingShadowCommandOutput extends GetThingShadowCommandOutput
86
89
  * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
87
90
  *
88
91
  */
89
- export declare class GetThingShadowCommand extends $Command<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
90
- readonly input: GetThingShadowCommandInput;
91
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
- /**
93
- * @public
94
- */
95
- constructor(input: GetThingShadowCommandInput);
96
- /**
97
- * @internal
98
- */
99
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetThingShadowCommandInput, GetThingShadowCommandOutput>;
100
- /**
101
- * @internal
102
- */
103
- private serialize;
104
- /**
105
- * @internal
106
- */
107
- private deserialize;
92
+ export declare class GetThingShadowCommand extends GetThingShadowCommand_base {
108
93
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
5
4
  import { ListNamedShadowsForThingRequest, ListNamedShadowsForThingResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListNamedShadowsForThingCommandInput extends ListNamedShadowsFo
21
20
  */
22
21
  export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsForThingResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListNamedShadowsForThingCommand_base: {
24
+ new (input: ListNamedShadowsForThingCommandInput): import("@smithy/smithy-client").CommandImpl<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the shadows for the specified thing.</p>
@@ -79,23 +82,5 @@ export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsF
79
82
  * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
80
83
  *
81
84
  */
82
- export declare class ListNamedShadowsForThingCommand extends $Command<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig> {
83
- readonly input: ListNamedShadowsForThingCommandInput;
84
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
- /**
86
- * @public
87
- */
88
- constructor(input: ListNamedShadowsForThingCommandInput);
89
- /**
90
- * @internal
91
- */
92
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput>;
93
- /**
94
- * @internal
95
- */
96
- private serialize;
97
- /**
98
- * @internal
99
- */
100
- private deserialize;
85
+ export declare class ListNamedShadowsForThingCommand extends ListNamedShadowsForThingCommand_base {
101
86
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
5
4
  import { ListRetainedMessagesRequest, ListRetainedMessagesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListRetainedMessagesCommandInput extends ListRetainedMessagesRe
21
20
  */
22
21
  export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListRetainedMessagesCommand_base: {
24
+ new (input: ListRetainedMessagesCommandInput): import("@smithy/smithy-client").CommandImpl<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists summary information about the retained messages stored for the account.</p>
@@ -87,23 +90,5 @@ export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesR
87
90
  * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
88
91
  *
89
92
  */
90
- export declare class ListRetainedMessagesCommand extends $Command<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig> {
91
- readonly input: ListRetainedMessagesCommandInput;
92
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
- /**
94
- * @public
95
- */
96
- constructor(input: ListRetainedMessagesCommandInput);
97
- /**
98
- * @internal
99
- */
100
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput>;
101
- /**
102
- * @internal
103
- */
104
- private serialize;
105
- /**
106
- * @internal
107
- */
108
- private deserialize;
93
+ export declare class ListRetainedMessagesCommand extends ListRetainedMessagesCommand_base {
109
94
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { BlobPayloadInputTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
5
4
  import { PublishRequest } from "../models/models_0";
6
5
  /**
@@ -27,6 +26,10 @@ export interface PublishCommandInput extends PublishCommandInputType {
27
26
  */
28
27
  export interface PublishCommandOutput extends __MetadataBearer {
29
28
  }
29
+ declare const PublishCommand_base: {
30
+ new (input: PublishCommandInput): import("@smithy/smithy-client").CommandImpl<PublishCommandInput, PublishCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
31
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
32
+ };
30
33
  /**
31
34
  * @public
32
35
  * <p>Publishes an MQTT message.</p>
@@ -85,23 +88,5 @@ export interface PublishCommandOutput extends __MetadataBearer {
85
88
  * <p>Base exception class for all service exceptions from IoTDataPlane service.</p>
86
89
  *
87
90
  */
88
- export declare class PublishCommand extends $Command<PublishCommandInput, PublishCommandOutput, IoTDataPlaneClientResolvedConfig> {
89
- readonly input: PublishCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: PublishCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PublishCommandInput, PublishCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class PublishCommand extends PublishCommand_base {
107
92
  }