@aws-sdk/client-workspaces-thin-client 3.1077.0 → 3.1078.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 (56) hide show
  1. package/dist-cjs/index.js +24 -163
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateEnvironmentCommand.js +2 -14
  4. package/dist-es/commands/DeleteDeviceCommand.js +2 -14
  5. package/dist-es/commands/DeleteEnvironmentCommand.js +2 -14
  6. package/dist-es/commands/DeregisterDeviceCommand.js +2 -14
  7. package/dist-es/commands/GetDeviceCommand.js +2 -14
  8. package/dist-es/commands/GetEnvironmentCommand.js +2 -14
  9. package/dist-es/commands/GetSoftwareSetCommand.js +2 -14
  10. package/dist-es/commands/ListDevicesCommand.js +2 -14
  11. package/dist-es/commands/ListEnvironmentsCommand.js +2 -14
  12. package/dist-es/commands/ListSoftwareSetsCommand.js +2 -14
  13. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  14. package/dist-es/commands/TagResourceCommand.js +2 -14
  15. package/dist-es/commands/UntagResourceCommand.js +2 -14
  16. package/dist-es/commands/UpdateDeviceCommand.js +2 -14
  17. package/dist-es/commands/UpdateEnvironmentCommand.js +2 -14
  18. package/dist-es/commands/UpdateSoftwareSetCommand.js +2 -14
  19. package/dist-es/index.js +1 -0
  20. package/dist-types/commandBuilder.d.ts +18 -0
  21. package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -8
  22. package/dist-types/commands/DeleteDeviceCommand.d.ts +3 -8
  23. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -8
  24. package/dist-types/commands/DeregisterDeviceCommand.d.ts +3 -8
  25. package/dist-types/commands/GetDeviceCommand.d.ts +3 -8
  26. package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -8
  27. package/dist-types/commands/GetSoftwareSetCommand.d.ts +3 -8
  28. package/dist-types/commands/ListDevicesCommand.d.ts +3 -8
  29. package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -8
  30. package/dist-types/commands/ListSoftwareSetsCommand.d.ts +3 -8
  31. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  32. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  33. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  34. package/dist-types/commands/UpdateDeviceCommand.d.ts +3 -8
  35. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +3 -8
  36. package/dist-types/commands/UpdateSoftwareSetCommand.d.ts +3 -8
  37. package/dist-types/index.d.ts +1 -0
  38. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  39. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/DeleteDeviceCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/DeregisterDeviceCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/GetSoftwareSetCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/ListSoftwareSetsCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/UpdateDeviceCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/UpdateSoftwareSetCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/index.d.ts +1 -0
  56. 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.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -882,196 +883,56 @@ class WorkSpacesThinClientClient extends Client {
882
883
  }
883
884
  }
884
885
 
885
- class CreateEnvironmentCommand extends Command
886
- .classBuilder()
887
- .ep(commonParams)
888
- .m(function (Command, cs, config, o) {
889
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
890
- })
891
- .s("ThinClient", "CreateEnvironment", {})
892
- .n("WorkSpacesThinClientClient", "CreateEnvironmentCommand")
893
- .sc(CreateEnvironment$)
894
- .build() {
886
+ const command = makeBuilder(commonParams, "ThinClient", "WorkSpacesThinClientClient", getEndpointPlugin);
887
+ const _ep0 = {};
888
+ const _mw0 = (Command, cs, config, o) => [];
889
+
890
+ class CreateEnvironmentCommand extends command(_ep0, _mw0, "CreateEnvironment", CreateEnvironment$) {
895
891
  }
896
892
 
897
- class DeleteDeviceCommand extends Command
898
- .classBuilder()
899
- .ep(commonParams)
900
- .m(function (Command, cs, config, o) {
901
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
902
- })
903
- .s("ThinClient", "DeleteDevice", {})
904
- .n("WorkSpacesThinClientClient", "DeleteDeviceCommand")
905
- .sc(DeleteDevice$)
906
- .build() {
893
+ class DeleteDeviceCommand extends command(_ep0, _mw0, "DeleteDevice", DeleteDevice$) {
907
894
  }
908
895
 
909
- class DeleteEnvironmentCommand extends Command
910
- .classBuilder()
911
- .ep(commonParams)
912
- .m(function (Command, cs, config, o) {
913
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
914
- })
915
- .s("ThinClient", "DeleteEnvironment", {})
916
- .n("WorkSpacesThinClientClient", "DeleteEnvironmentCommand")
917
- .sc(DeleteEnvironment$)
918
- .build() {
896
+ class DeleteEnvironmentCommand extends command(_ep0, _mw0, "DeleteEnvironment", DeleteEnvironment$) {
919
897
  }
920
898
 
921
- class DeregisterDeviceCommand extends Command
922
- .classBuilder()
923
- .ep(commonParams)
924
- .m(function (Command, cs, config, o) {
925
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
926
- })
927
- .s("ThinClient", "DeregisterDevice", {})
928
- .n("WorkSpacesThinClientClient", "DeregisterDeviceCommand")
929
- .sc(DeregisterDevice$)
930
- .build() {
899
+ class DeregisterDeviceCommand extends command(_ep0, _mw0, "DeregisterDevice", DeregisterDevice$) {
931
900
  }
932
901
 
933
- class GetDeviceCommand extends Command
934
- .classBuilder()
935
- .ep(commonParams)
936
- .m(function (Command, cs, config, o) {
937
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
938
- })
939
- .s("ThinClient", "GetDevice", {})
940
- .n("WorkSpacesThinClientClient", "GetDeviceCommand")
941
- .sc(GetDevice$)
942
- .build() {
902
+ class GetDeviceCommand extends command(_ep0, _mw0, "GetDevice", GetDevice$) {
943
903
  }
944
904
 
945
- class GetEnvironmentCommand extends Command
946
- .classBuilder()
947
- .ep(commonParams)
948
- .m(function (Command, cs, config, o) {
949
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
950
- })
951
- .s("ThinClient", "GetEnvironment", {})
952
- .n("WorkSpacesThinClientClient", "GetEnvironmentCommand")
953
- .sc(GetEnvironment$)
954
- .build() {
905
+ class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
955
906
  }
956
907
 
957
- class GetSoftwareSetCommand extends Command
958
- .classBuilder()
959
- .ep(commonParams)
960
- .m(function (Command, cs, config, o) {
961
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
962
- })
963
- .s("ThinClient", "GetSoftwareSet", {})
964
- .n("WorkSpacesThinClientClient", "GetSoftwareSetCommand")
965
- .sc(GetSoftwareSet$)
966
- .build() {
908
+ class GetSoftwareSetCommand extends command(_ep0, _mw0, "GetSoftwareSet", GetSoftwareSet$) {
967
909
  }
968
910
 
969
- class ListDevicesCommand extends Command
970
- .classBuilder()
971
- .ep(commonParams)
972
- .m(function (Command, cs, config, o) {
973
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
974
- })
975
- .s("ThinClient", "ListDevices", {})
976
- .n("WorkSpacesThinClientClient", "ListDevicesCommand")
977
- .sc(ListDevices$)
978
- .build() {
911
+ class ListDevicesCommand extends command(_ep0, _mw0, "ListDevices", ListDevices$) {
979
912
  }
980
913
 
981
- class ListEnvironmentsCommand extends Command
982
- .classBuilder()
983
- .ep(commonParams)
984
- .m(function (Command, cs, config, o) {
985
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
986
- })
987
- .s("ThinClient", "ListEnvironments", {})
988
- .n("WorkSpacesThinClientClient", "ListEnvironmentsCommand")
989
- .sc(ListEnvironments$)
990
- .build() {
914
+ class ListEnvironmentsCommand extends command(_ep0, _mw0, "ListEnvironments", ListEnvironments$) {
991
915
  }
992
916
 
993
- class ListSoftwareSetsCommand extends Command
994
- .classBuilder()
995
- .ep(commonParams)
996
- .m(function (Command, cs, config, o) {
997
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
998
- })
999
- .s("ThinClient", "ListSoftwareSets", {})
1000
- .n("WorkSpacesThinClientClient", "ListSoftwareSetsCommand")
1001
- .sc(ListSoftwareSets$)
1002
- .build() {
917
+ class ListSoftwareSetsCommand extends command(_ep0, _mw0, "ListSoftwareSets", ListSoftwareSets$) {
1003
918
  }
1004
919
 
1005
- class ListTagsForResourceCommand extends Command
1006
- .classBuilder()
1007
- .ep(commonParams)
1008
- .m(function (Command, cs, config, o) {
1009
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1010
- })
1011
- .s("ThinClient", "ListTagsForResource", {})
1012
- .n("WorkSpacesThinClientClient", "ListTagsForResourceCommand")
1013
- .sc(ListTagsForResource$)
1014
- .build() {
920
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1015
921
  }
1016
922
 
1017
- class TagResourceCommand extends Command
1018
- .classBuilder()
1019
- .ep(commonParams)
1020
- .m(function (Command, cs, config, o) {
1021
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1022
- })
1023
- .s("ThinClient", "TagResource", {})
1024
- .n("WorkSpacesThinClientClient", "TagResourceCommand")
1025
- .sc(TagResource$)
1026
- .build() {
923
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1027
924
  }
1028
925
 
1029
- class UntagResourceCommand extends Command
1030
- .classBuilder()
1031
- .ep(commonParams)
1032
- .m(function (Command, cs, config, o) {
1033
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1034
- })
1035
- .s("ThinClient", "UntagResource", {})
1036
- .n("WorkSpacesThinClientClient", "UntagResourceCommand")
1037
- .sc(UntagResource$)
1038
- .build() {
926
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1039
927
  }
1040
928
 
1041
- class UpdateDeviceCommand extends Command
1042
- .classBuilder()
1043
- .ep(commonParams)
1044
- .m(function (Command, cs, config, o) {
1045
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1046
- })
1047
- .s("ThinClient", "UpdateDevice", {})
1048
- .n("WorkSpacesThinClientClient", "UpdateDeviceCommand")
1049
- .sc(UpdateDevice$)
1050
- .build() {
929
+ class UpdateDeviceCommand extends command(_ep0, _mw0, "UpdateDevice", UpdateDevice$) {
1051
930
  }
1052
931
 
1053
- class UpdateEnvironmentCommand extends Command
1054
- .classBuilder()
1055
- .ep(commonParams)
1056
- .m(function (Command, cs, config, o) {
1057
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1058
- })
1059
- .s("ThinClient", "UpdateEnvironment", {})
1060
- .n("WorkSpacesThinClientClient", "UpdateEnvironmentCommand")
1061
- .sc(UpdateEnvironment$)
1062
- .build() {
932
+ class UpdateEnvironmentCommand extends command(_ep0, _mw0, "UpdateEnvironment", UpdateEnvironment$) {
1063
933
  }
1064
934
 
1065
- class UpdateSoftwareSetCommand extends Command
1066
- .classBuilder()
1067
- .ep(commonParams)
1068
- .m(function (Command, cs, config, o) {
1069
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1070
- })
1071
- .s("ThinClient", "UpdateSoftwareSet", {})
1072
- .n("WorkSpacesThinClientClient", "UpdateSoftwareSetCommand")
1073
- .sc(UpdateSoftwareSet$)
1074
- .build() {
935
+ class UpdateSoftwareSetCommand extends command(_ep0, _mw0, "UpdateSoftwareSet", UpdateSoftwareSet$) {
1075
936
  }
1076
937
 
1077
938
  const paginateListDevices = createPaginator(WorkSpacesThinClientClient, ListDevicesCommand, "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, "ThinClient", "WorkSpacesThinClientClient", 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 { CreateEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "CreateEnvironment", {})
13
- .n("WorkSpacesThinClientClient", "CreateEnvironmentCommand")
14
- .sc(CreateEnvironment$)
15
- .build() {
3
+ export class CreateEnvironmentCommand extends command(_ep0, _mw0, "CreateEnvironment", CreateEnvironment$) {
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 { DeleteDevice$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDeviceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "DeleteDevice", {})
13
- .n("WorkSpacesThinClientClient", "DeleteDeviceCommand")
14
- .sc(DeleteDevice$)
15
- .build() {
3
+ export class DeleteDeviceCommand extends command(_ep0, _mw0, "DeleteDevice", DeleteDevice$) {
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 { DeleteEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "DeleteEnvironment", {})
13
- .n("WorkSpacesThinClientClient", "DeleteEnvironmentCommand")
14
- .sc(DeleteEnvironment$)
15
- .build() {
3
+ export class DeleteEnvironmentCommand extends command(_ep0, _mw0, "DeleteEnvironment", DeleteEnvironment$) {
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 { DeregisterDevice$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeregisterDeviceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "DeregisterDevice", {})
13
- .n("WorkSpacesThinClientClient", "DeregisterDeviceCommand")
14
- .sc(DeregisterDevice$)
15
- .build() {
3
+ export class DeregisterDeviceCommand extends command(_ep0, _mw0, "DeregisterDevice", DeregisterDevice$) {
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 { GetDevice$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDeviceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "GetDevice", {})
13
- .n("WorkSpacesThinClientClient", "GetDeviceCommand")
14
- .sc(GetDevice$)
15
- .build() {
3
+ export class GetDeviceCommand extends command(_ep0, _mw0, "GetDevice", GetDevice$) {
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 { GetEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "GetEnvironment", {})
13
- .n("WorkSpacesThinClientClient", "GetEnvironmentCommand")
14
- .sc(GetEnvironment$)
15
- .build() {
3
+ export class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
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 { GetSoftwareSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSoftwareSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "GetSoftwareSet", {})
13
- .n("WorkSpacesThinClientClient", "GetSoftwareSetCommand")
14
- .sc(GetSoftwareSet$)
15
- .build() {
3
+ export class GetSoftwareSetCommand extends command(_ep0, _mw0, "GetSoftwareSet", GetSoftwareSet$) {
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 { ListDevices$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDevicesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "ListDevices", {})
13
- .n("WorkSpacesThinClientClient", "ListDevicesCommand")
14
- .sc(ListDevices$)
15
- .build() {
3
+ export class ListDevicesCommand extends command(_ep0, _mw0, "ListDevices", ListDevices$) {
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 { ListEnvironments$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEnvironmentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "ListEnvironments", {})
13
- .n("WorkSpacesThinClientClient", "ListEnvironmentsCommand")
14
- .sc(ListEnvironments$)
15
- .build() {
3
+ export class ListEnvironmentsCommand extends command(_ep0, _mw0, "ListEnvironments", ListEnvironments$) {
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 { ListSoftwareSets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSoftwareSetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "ListSoftwareSets", {})
13
- .n("WorkSpacesThinClientClient", "ListSoftwareSetsCommand")
14
- .sc(ListSoftwareSets$)
15
- .build() {
3
+ export class ListSoftwareSetsCommand extends command(_ep0, _mw0, "ListSoftwareSets", ListSoftwareSets$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "ListTagsForResource", {})
13
- .n("WorkSpacesThinClientClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "TagResource", {})
13
- .n("WorkSpacesThinClientClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "UntagResource", {})
13
- .n("WorkSpacesThinClientClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateDevice$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDeviceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "UpdateDevice", {})
13
- .n("WorkSpacesThinClientClient", "UpdateDeviceCommand")
14
- .sc(UpdateDevice$)
15
- .build() {
3
+ export class UpdateDeviceCommand extends command(_ep0, _mw0, "UpdateDevice", UpdateDevice$) {
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 { UpdateEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "UpdateEnvironment", {})
13
- .n("WorkSpacesThinClientClient", "UpdateEnvironmentCommand")
14
- .sc(UpdateEnvironment$)
15
- .build() {
3
+ export class UpdateEnvironmentCommand extends command(_ep0, _mw0, "UpdateEnvironment", UpdateEnvironment$) {
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 { UpdateSoftwareSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSoftwareSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ThinClient", "UpdateSoftwareSet", {})
13
- .n("WorkSpacesThinClientClient", "UpdateSoftwareSetCommand")
14
- .sc(UpdateSoftwareSet$)
15
- .build() {
3
+ export class UpdateSoftwareSetCommand extends command(_ep0, _mw0, "UpdateSoftwareSet", UpdateSoftwareSet$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./WorkSpacesThinClientClient";
2
2
  export * from "./WorkSpacesThinClient";
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 { ServiceInputTypes, ServiceOutputTypes, WorkSpacesThinClientClientResolvedConfig } from "./WorkSpacesThinClientClient";
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, WorkSpacesThinClientClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, WorkSpacesThinClientClientResolvedConfig, 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
2
  import type { CreateEnvironmentRequest, CreateEnvironmentResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, WorkSpacesThinClientClientResolvedConfig } from "../WorkSpacesThinClientClient";
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 CreateEnvironmentCommandInput extends CreateEnvironmentRequest
22
19
  export interface CreateEnvironmentCommandOutput extends CreateEnvironmentResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateEnvironmentCommand_base: {
25
- new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, WorkSpacesThinClientClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, WorkSpacesThinClientClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, import("..").WorkSpacesThinClientClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateEnvironmentCommandInput): import("@smithy/core/client").CommandImpl<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, import("..").WorkSpacesThinClientClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an environment for your thin client devices.</p>