@aws-sdk/client-iot-data-plane 3.1077.0 → 3.1079.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 (41) hide show
  1. package/dist-cjs/index.js +19 -113
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/DeleteConnectionCommand.js +2 -14
  4. package/dist-es/commands/DeleteThingShadowCommand.js +2 -14
  5. package/dist-es/commands/GetConnectionCommand.js +2 -14
  6. package/dist-es/commands/GetRetainedMessageCommand.js +2 -14
  7. package/dist-es/commands/GetThingShadowCommand.js +2 -14
  8. package/dist-es/commands/ListNamedShadowsForThingCommand.js +2 -14
  9. package/dist-es/commands/ListRetainedMessagesCommand.js +2 -14
  10. package/dist-es/commands/ListSubscriptionsCommand.js +2 -14
  11. package/dist-es/commands/PublishCommand.js +2 -14
  12. package/dist-es/commands/SendDirectMessageCommand.js +2 -14
  13. package/dist-es/commands/UpdateThingShadowCommand.js +2 -14
  14. package/dist-es/index.js +1 -0
  15. package/dist-types/commandBuilder.d.ts +18 -0
  16. package/dist-types/commands/DeleteConnectionCommand.d.ts +3 -8
  17. package/dist-types/commands/DeleteThingShadowCommand.d.ts +3 -8
  18. package/dist-types/commands/GetConnectionCommand.d.ts +3 -8
  19. package/dist-types/commands/GetRetainedMessageCommand.d.ts +3 -8
  20. package/dist-types/commands/GetThingShadowCommand.d.ts +3 -8
  21. package/dist-types/commands/ListNamedShadowsForThingCommand.d.ts +3 -8
  22. package/dist-types/commands/ListRetainedMessagesCommand.d.ts +3 -8
  23. package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -8
  24. package/dist-types/commands/PublishCommand.d.ts +3 -8
  25. package/dist-types/commands/SendDirectMessageCommand.d.ts +3 -8
  26. package/dist-types/commands/UpdateThingShadowCommand.d.ts +3 -8
  27. package/dist-types/index.d.ts +1 -0
  28. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  29. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +7 -16
  30. package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +7 -16
  31. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/PublishCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/SendDirectMessageCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/index.d.ts +1 -0
  41. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -796,136 +797,41 @@ class IoTDataPlaneClient extends Client {
796
797
  }
797
798
  }
798
799
 
799
- class DeleteConnectionCommand extends Command
800
- .classBuilder()
801
- .ep(commonParams)
802
- .m(function (Command, cs, config, o) {
803
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
804
- })
805
- .s("IotMoonrakerService", "DeleteConnection", {})
806
- .n("IoTDataPlaneClient", "DeleteConnectionCommand")
807
- .sc(DeleteConnection$)
808
- .build() {
800
+ const command = makeBuilder(commonParams, "IotMoonrakerService", "IoTDataPlaneClient", getEndpointPlugin);
801
+ const _ep0 = {};
802
+ const _mw0 = (Command, cs, config, o) => [];
803
+
804
+ class DeleteConnectionCommand extends command(_ep0, _mw0, "DeleteConnection", DeleteConnection$) {
809
805
  }
810
806
 
811
- class DeleteThingShadowCommand extends Command
812
- .classBuilder()
813
- .ep(commonParams)
814
- .m(function (Command, cs, config, o) {
815
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
816
- })
817
- .s("IotMoonrakerService", "DeleteThingShadow", {})
818
- .n("IoTDataPlaneClient", "DeleteThingShadowCommand")
819
- .sc(DeleteThingShadow$)
820
- .build() {
807
+ class DeleteThingShadowCommand extends command(_ep0, _mw0, "DeleteThingShadow", DeleteThingShadow$) {
821
808
  }
822
809
 
823
- class GetConnectionCommand extends Command
824
- .classBuilder()
825
- .ep(commonParams)
826
- .m(function (Command, cs, config, o) {
827
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
828
- })
829
- .s("IotMoonrakerService", "GetConnection", {})
830
- .n("IoTDataPlaneClient", "GetConnectionCommand")
831
- .sc(GetConnection$)
832
- .build() {
810
+ class GetConnectionCommand extends command(_ep0, _mw0, "GetConnection", GetConnection$) {
833
811
  }
834
812
 
835
- class GetRetainedMessageCommand extends Command
836
- .classBuilder()
837
- .ep(commonParams)
838
- .m(function (Command, cs, config, o) {
839
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
840
- })
841
- .s("IotMoonrakerService", "GetRetainedMessage", {})
842
- .n("IoTDataPlaneClient", "GetRetainedMessageCommand")
843
- .sc(GetRetainedMessage$)
844
- .build() {
813
+ class GetRetainedMessageCommand extends command(_ep0, _mw0, "GetRetainedMessage", GetRetainedMessage$) {
845
814
  }
846
815
 
847
- class GetThingShadowCommand extends Command
848
- .classBuilder()
849
- .ep(commonParams)
850
- .m(function (Command, cs, config, o) {
851
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
852
- })
853
- .s("IotMoonrakerService", "GetThingShadow", {})
854
- .n("IoTDataPlaneClient", "GetThingShadowCommand")
855
- .sc(GetThingShadow$)
856
- .build() {
816
+ class GetThingShadowCommand extends command(_ep0, _mw0, "GetThingShadow", GetThingShadow$) {
857
817
  }
858
818
 
859
- class ListNamedShadowsForThingCommand extends Command
860
- .classBuilder()
861
- .ep(commonParams)
862
- .m(function (Command, cs, config, o) {
863
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
864
- })
865
- .s("IotMoonrakerService", "ListNamedShadowsForThing", {})
866
- .n("IoTDataPlaneClient", "ListNamedShadowsForThingCommand")
867
- .sc(ListNamedShadowsForThing$)
868
- .build() {
819
+ class ListNamedShadowsForThingCommand extends command(_ep0, _mw0, "ListNamedShadowsForThing", ListNamedShadowsForThing$) {
869
820
  }
870
821
 
871
- class ListRetainedMessagesCommand extends Command
872
- .classBuilder()
873
- .ep(commonParams)
874
- .m(function (Command, cs, config, o) {
875
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
876
- })
877
- .s("IotMoonrakerService", "ListRetainedMessages", {})
878
- .n("IoTDataPlaneClient", "ListRetainedMessagesCommand")
879
- .sc(ListRetainedMessages$)
880
- .build() {
822
+ class ListRetainedMessagesCommand extends command(_ep0, _mw0, "ListRetainedMessages", ListRetainedMessages$) {
881
823
  }
882
824
 
883
- class ListSubscriptionsCommand extends Command
884
- .classBuilder()
885
- .ep(commonParams)
886
- .m(function (Command, cs, config, o) {
887
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
888
- })
889
- .s("IotMoonrakerService", "ListSubscriptions", {})
890
- .n("IoTDataPlaneClient", "ListSubscriptionsCommand")
891
- .sc(ListSubscriptions$)
892
- .build() {
825
+ class ListSubscriptionsCommand extends command(_ep0, _mw0, "ListSubscriptions", ListSubscriptions$) {
893
826
  }
894
827
 
895
- class PublishCommand extends Command
896
- .classBuilder()
897
- .ep(commonParams)
898
- .m(function (Command, cs, config, o) {
899
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
900
- })
901
- .s("IotMoonrakerService", "Publish", {})
902
- .n("IoTDataPlaneClient", "PublishCommand")
903
- .sc(Publish$)
904
- .build() {
828
+ class PublishCommand extends command(_ep0, _mw0, "Publish", Publish$) {
905
829
  }
906
830
 
907
- class SendDirectMessageCommand extends Command
908
- .classBuilder()
909
- .ep(commonParams)
910
- .m(function (Command, cs, config, o) {
911
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
912
- })
913
- .s("IotMoonrakerService", "SendDirectMessage", {})
914
- .n("IoTDataPlaneClient", "SendDirectMessageCommand")
915
- .sc(SendDirectMessage$)
916
- .build() {
831
+ class SendDirectMessageCommand extends command(_ep0, _mw0, "SendDirectMessage", SendDirectMessage$) {
917
832
  }
918
833
 
919
- class UpdateThingShadowCommand extends Command
920
- .classBuilder()
921
- .ep(commonParams)
922
- .m(function (Command, cs, config, o) {
923
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
924
- })
925
- .s("IotMoonrakerService", "UpdateThingShadow", {})
926
- .n("IoTDataPlaneClient", "UpdateThingShadowCommand")
927
- .sc(UpdateThingShadow$)
928
- .build() {
834
+ class UpdateThingShadowCommand extends command(_ep0, _mw0, "UpdateThingShadow", UpdateThingShadow$) {
929
835
  }
930
836
 
931
837
  const paginateListRetainedMessages = createPaginator(IoTDataPlaneClient, ListRetainedMessagesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "IotMoonrakerService", "IoTDataPlaneClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "DeleteConnection", {})
13
- .n("IoTDataPlaneClient", "DeleteConnectionCommand")
14
- .sc(DeleteConnection$)
15
- .build() {
3
+ export class DeleteConnectionCommand extends command(_ep0, _mw0, "DeleteConnection", DeleteConnection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteThingShadow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteThingShadowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "DeleteThingShadow", {})
13
- .n("IoTDataPlaneClient", "DeleteThingShadowCommand")
14
- .sc(DeleteThingShadow$)
15
- .build() {
3
+ export class DeleteThingShadowCommand extends command(_ep0, _mw0, "DeleteThingShadow", DeleteThingShadow$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "GetConnection", {})
13
- .n("IoTDataPlaneClient", "GetConnectionCommand")
14
- .sc(GetConnection$)
15
- .build() {
3
+ export class GetConnectionCommand extends command(_ep0, _mw0, "GetConnection", GetConnection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRetainedMessage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRetainedMessageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "GetRetainedMessage", {})
13
- .n("IoTDataPlaneClient", "GetRetainedMessageCommand")
14
- .sc(GetRetainedMessage$)
15
- .build() {
3
+ export class GetRetainedMessageCommand extends command(_ep0, _mw0, "GetRetainedMessage", GetRetainedMessage$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetThingShadow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetThingShadowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "GetThingShadow", {})
13
- .n("IoTDataPlaneClient", "GetThingShadowCommand")
14
- .sc(GetThingShadow$)
15
- .build() {
3
+ export class GetThingShadowCommand extends command(_ep0, _mw0, "GetThingShadow", GetThingShadow$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListNamedShadowsForThing$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListNamedShadowsForThingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "ListNamedShadowsForThing", {})
13
- .n("IoTDataPlaneClient", "ListNamedShadowsForThingCommand")
14
- .sc(ListNamedShadowsForThing$)
15
- .build() {
3
+ export class ListNamedShadowsForThingCommand extends command(_ep0, _mw0, "ListNamedShadowsForThing", ListNamedShadowsForThing$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListRetainedMessages$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRetainedMessagesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "ListRetainedMessages", {})
13
- .n("IoTDataPlaneClient", "ListRetainedMessagesCommand")
14
- .sc(ListRetainedMessages$)
15
- .build() {
3
+ export class ListRetainedMessagesCommand extends command(_ep0, _mw0, "ListRetainedMessages", ListRetainedMessages$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListSubscriptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSubscriptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "ListSubscriptions", {})
13
- .n("IoTDataPlaneClient", "ListSubscriptionsCommand")
14
- .sc(ListSubscriptions$)
15
- .build() {
3
+ export class ListSubscriptionsCommand extends command(_ep0, _mw0, "ListSubscriptions", ListSubscriptions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { Publish$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PublishCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "Publish", {})
13
- .n("IoTDataPlaneClient", "PublishCommand")
14
- .sc(Publish$)
15
- .build() {
3
+ export class PublishCommand extends command(_ep0, _mw0, "Publish", Publish$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SendDirectMessage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SendDirectMessageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "SendDirectMessage", {})
13
- .n("IoTDataPlaneClient", "SendDirectMessageCommand")
14
- .sc(SendDirectMessage$)
15
- .build() {
3
+ export class SendDirectMessageCommand extends command(_ep0, _mw0, "SendDirectMessage", SendDirectMessage$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateThingShadow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateThingShadowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("IotMoonrakerService", "UpdateThingShadow", {})
13
- .n("IoTDataPlaneClient", "UpdateThingShadowCommand")
14
- .sc(UpdateThingShadow$)
15
- .build() {
3
+ export class UpdateThingShadowCommand extends command(_ep0, _mw0, "UpdateThingShadow", UpdateThingShadow$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./IoTDataPlaneClient";
2
2
  export * from "./IoTDataPlane";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./IoTDataPlaneClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
4
2
  import type { DeleteConnectionRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteConnectionCommandInput extends DeleteConnectionRequest {
22
19
  export interface DeleteConnectionCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteConnectionCommand_base: {
25
- new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Disconnects a connected MQTT client from Amazon Web Services IoT Core. When you disconnect a client, Amazon Web Services IoT Core closes the client's network connection and optionally cleans the session state.</p>
@@ -1,13 +1,10 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
3
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
- import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
5
3
  import type { DeleteThingShadowRequest, DeleteThingShadowResponse } from "../models/models_0";
6
4
  /**
7
5
  * @public
8
6
  */
9
7
  export type { __MetadataBearer };
10
- export { $Command };
11
8
  /**
12
9
  * @public
13
10
  *
@@ -29,11 +26,9 @@ export type DeleteThingShadowCommandOutputType = Omit<DeleteThingShadowResponse,
29
26
  export interface DeleteThingShadowCommandOutput extends DeleteThingShadowCommandOutputType, __MetadataBearer {
30
27
  }
31
28
  declare const DeleteThingShadowCommand_base: {
32
- new (input: DeleteThingShadowCommandInput): import("@smithy/core/client").CommandImpl<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
- new (input: DeleteThingShadowCommandInput): import("@smithy/core/client").CommandImpl<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
29
+ new (input: DeleteThingShadowCommandInput): import("@smithy/core/client").CommandImpl<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
30
+ new (input: DeleteThingShadowCommandInput): import("@smithy/core/client").CommandImpl<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
32
  };
38
33
  /**
39
34
  * <p>Deletes the shadow for the specified thing.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
4
2
  import type { GetConnectionRequest, GetConnectionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetConnectionCommandInput extends GetConnectionRequest {
22
19
  export interface GetConnectionCommandOutput extends GetConnectionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetConnectionCommand_base: {
25
- new (input: GetConnectionCommandInput): import("@smithy/core/client").CommandImpl<GetConnectionCommandInput, GetConnectionCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetConnectionCommandInput): import("@smithy/core/client").CommandImpl<GetConnectionCommandInput, GetConnectionCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetConnectionCommandInput): import("@smithy/core/client").CommandImpl<GetConnectionCommandInput, GetConnectionCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetConnectionCommandInput): import("@smithy/core/client").CommandImpl<GetConnectionCommandInput, GetConnectionCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves connection information for the specified MQTT client.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
4
2
  import type { GetRetainedMessageRequest, GetRetainedMessageResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetRetainedMessageCommandInput extends GetRetainedMessageReques
22
19
  export interface GetRetainedMessageCommandOutput extends GetRetainedMessageResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetRetainedMessageCommand_base: {
25
- new (input: GetRetainedMessageCommandInput): import("@smithy/core/client").CommandImpl<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetRetainedMessageCommandInput): import("@smithy/core/client").CommandImpl<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetRetainedMessageCommandInput): import("@smithy/core/client").CommandImpl<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetRetainedMessageCommandInput): import("@smithy/core/client").CommandImpl<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Gets the details of a single retained message for the specified topic.</p>
@@ -1,13 +1,10 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
3
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
- import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
5
3
  import type { GetThingShadowRequest, GetThingShadowResponse } from "../models/models_0";
6
4
  /**
7
5
  * @public
8
6
  */
9
7
  export type { __MetadataBearer };
10
- export { $Command };
11
8
  /**
12
9
  * @public
13
10
  *
@@ -29,11 +26,9 @@ export type GetThingShadowCommandOutputType = Omit<GetThingShadowResponse, "payl
29
26
  export interface GetThingShadowCommandOutput extends GetThingShadowCommandOutputType, __MetadataBearer {
30
27
  }
31
28
  declare const GetThingShadowCommand_base: {
32
- new (input: GetThingShadowCommandInput): import("@smithy/core/client").CommandImpl<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
- new (input: GetThingShadowCommandInput): import("@smithy/core/client").CommandImpl<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
29
+ new (input: GetThingShadowCommandInput): import("@smithy/core/client").CommandImpl<GetThingShadowCommandInput, GetThingShadowCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
30
+ new (input: GetThingShadowCommandInput): import("@smithy/core/client").CommandImpl<GetThingShadowCommandInput, GetThingShadowCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
32
  };
38
33
  /**
39
34
  * <p>Gets the shadow for the specified thing.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
4
2
  import type { ListNamedShadowsForThingRequest, ListNamedShadowsForThingResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListNamedShadowsForThingCommandInput extends ListNamedShadowsFo
22
19
  export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsForThingResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListNamedShadowsForThingCommand_base: {
25
- new (input: ListNamedShadowsForThingCommandInput): import("@smithy/core/client").CommandImpl<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListNamedShadowsForThingCommandInput): import("@smithy/core/client").CommandImpl<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListNamedShadowsForThingCommandInput): import("@smithy/core/client").CommandImpl<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListNamedShadowsForThingCommandInput): import("@smithy/core/client").CommandImpl<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists the shadows for the specified thing.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
4
2
  import type { ListRetainedMessagesRequest, ListRetainedMessagesResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ListRetainedMessagesCommandInput extends ListRetainedMessagesRe
22
19
  export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ListRetainedMessagesCommand_base: {
25
- new (input: ListRetainedMessagesCommandInput): import("@smithy/core/client").CommandImpl<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListRetainedMessagesCommandInput]): import("@smithy/core/client").CommandImpl<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListRetainedMessagesCommandInput): import("@smithy/core/client").CommandImpl<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListRetainedMessagesCommandInput]): import("@smithy/core/client").CommandImpl<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, import("..").IoTDataPlaneClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists summary information about the retained messages stored for the account.</p>