@aws-sdk/client-backup-gateway 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 (83) hide show
  1. package/dist-cjs/index.js +33 -253
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateGatewayToServerCommand.js +2 -14
  4. package/dist-es/commands/CreateGatewayCommand.js +2 -14
  5. package/dist-es/commands/DeleteGatewayCommand.js +2 -14
  6. package/dist-es/commands/DeleteHypervisorCommand.js +2 -14
  7. package/dist-es/commands/DisassociateGatewayFromServerCommand.js +2 -14
  8. package/dist-es/commands/GetBandwidthRateLimitScheduleCommand.js +2 -14
  9. package/dist-es/commands/GetGatewayCommand.js +2 -14
  10. package/dist-es/commands/GetHypervisorCommand.js +2 -14
  11. package/dist-es/commands/GetHypervisorPropertyMappingsCommand.js +2 -14
  12. package/dist-es/commands/GetVirtualMachineCommand.js +2 -14
  13. package/dist-es/commands/ImportHypervisorConfigurationCommand.js +2 -14
  14. package/dist-es/commands/ListGatewaysCommand.js +2 -14
  15. package/dist-es/commands/ListHypervisorsCommand.js +2 -14
  16. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  17. package/dist-es/commands/ListVirtualMachinesCommand.js +2 -14
  18. package/dist-es/commands/PutBandwidthRateLimitScheduleCommand.js +2 -14
  19. package/dist-es/commands/PutHypervisorPropertyMappingsCommand.js +2 -14
  20. package/dist-es/commands/PutMaintenanceStartTimeCommand.js +2 -14
  21. package/dist-es/commands/StartVirtualMachinesMetadataSyncCommand.js +2 -14
  22. package/dist-es/commands/TagResourceCommand.js +2 -14
  23. package/dist-es/commands/TestHypervisorConfigurationCommand.js +2 -14
  24. package/dist-es/commands/UntagResourceCommand.js +2 -14
  25. package/dist-es/commands/UpdateGatewayInformationCommand.js +2 -14
  26. package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +2 -14
  27. package/dist-es/commands/UpdateHypervisorCommand.js +2 -14
  28. package/dist-es/index.js +1 -0
  29. package/dist-types/commandBuilder.d.ts +18 -0
  30. package/dist-types/commands/AssociateGatewayToServerCommand.d.ts +3 -8
  31. package/dist-types/commands/CreateGatewayCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteGatewayCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteHypervisorCommand.d.ts +3 -8
  34. package/dist-types/commands/DisassociateGatewayFromServerCommand.d.ts +3 -8
  35. package/dist-types/commands/GetBandwidthRateLimitScheduleCommand.d.ts +3 -8
  36. package/dist-types/commands/GetGatewayCommand.d.ts +3 -8
  37. package/dist-types/commands/GetHypervisorCommand.d.ts +3 -8
  38. package/dist-types/commands/GetHypervisorPropertyMappingsCommand.d.ts +3 -8
  39. package/dist-types/commands/GetVirtualMachineCommand.d.ts +3 -8
  40. package/dist-types/commands/ImportHypervisorConfigurationCommand.d.ts +3 -8
  41. package/dist-types/commands/ListGatewaysCommand.d.ts +3 -8
  42. package/dist-types/commands/ListHypervisorsCommand.d.ts +3 -8
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  44. package/dist-types/commands/ListVirtualMachinesCommand.d.ts +3 -8
  45. package/dist-types/commands/PutBandwidthRateLimitScheduleCommand.d.ts +3 -8
  46. package/dist-types/commands/PutHypervisorPropertyMappingsCommand.d.ts +3 -8
  47. package/dist-types/commands/PutMaintenanceStartTimeCommand.d.ts +3 -8
  48. package/dist-types/commands/StartVirtualMachinesMetadataSyncCommand.d.ts +3 -8
  49. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  50. package/dist-types/commands/TestHypervisorConfigurationCommand.d.ts +3 -8
  51. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateGatewayInformationCommand.d.ts +3 -8
  53. package/dist-types/commands/UpdateGatewaySoftwareNowCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdateHypervisorCommand.d.ts +3 -8
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  57. package/dist-types/ts3.4/commands/AssociateGatewayToServerCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/CreateGatewayCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/DeleteHypervisorCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DisassociateGatewayFromServerCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/GetBandwidthRateLimitScheduleCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/GetGatewayCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetHypervisorCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetHypervisorPropertyMappingsCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetVirtualMachineCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/ImportHypervisorConfigurationCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/ListHypervisorsCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListVirtualMachinesCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/PutBandwidthRateLimitScheduleCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/PutHypervisorPropertyMappingsCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/PutMaintenanceStartTimeCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/StartVirtualMachinesMetadataSyncCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/TestHypervisorConfigurationCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/UpdateGatewayInformationCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/UpdateGatewaySoftwareNowCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UpdateHypervisorCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/index.d.ts +1 -0
  83. 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
 
@@ -983,304 +984,83 @@ class BackupGatewayClient extends Client {
983
984
  }
984
985
  }
985
986
 
986
- class AssociateGatewayToServerCommand extends Command
987
- .classBuilder()
988
- .ep(commonParams)
989
- .m(function (Command, cs, config, o) {
990
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
991
- })
992
- .s("BackupOnPremises_v20210101", "AssociateGatewayToServer", {})
993
- .n("BackupGatewayClient", "AssociateGatewayToServerCommand")
994
- .sc(AssociateGatewayToServer$)
995
- .build() {
987
+ const command = makeBuilder(commonParams, "BackupOnPremises_v20210101", "BackupGatewayClient", getEndpointPlugin);
988
+ const _ep0 = {};
989
+ const _mw0 = (Command, cs, config, o) => [];
990
+
991
+ class AssociateGatewayToServerCommand extends command(_ep0, _mw0, "AssociateGatewayToServer", AssociateGatewayToServer$) {
996
992
  }
997
993
 
998
- class CreateGatewayCommand extends Command
999
- .classBuilder()
1000
- .ep(commonParams)
1001
- .m(function (Command, cs, config, o) {
1002
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1003
- })
1004
- .s("BackupOnPremises_v20210101", "CreateGateway", {})
1005
- .n("BackupGatewayClient", "CreateGatewayCommand")
1006
- .sc(CreateGateway$)
1007
- .build() {
994
+ class CreateGatewayCommand extends command(_ep0, _mw0, "CreateGateway", CreateGateway$) {
1008
995
  }
1009
996
 
1010
- class DeleteGatewayCommand extends Command
1011
- .classBuilder()
1012
- .ep(commonParams)
1013
- .m(function (Command, cs, config, o) {
1014
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1015
- })
1016
- .s("BackupOnPremises_v20210101", "DeleteGateway", {})
1017
- .n("BackupGatewayClient", "DeleteGatewayCommand")
1018
- .sc(DeleteGateway$)
1019
- .build() {
997
+ class DeleteGatewayCommand extends command(_ep0, _mw0, "DeleteGateway", DeleteGateway$) {
1020
998
  }
1021
999
 
1022
- class DeleteHypervisorCommand extends Command
1023
- .classBuilder()
1024
- .ep(commonParams)
1025
- .m(function (Command, cs, config, o) {
1026
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1027
- })
1028
- .s("BackupOnPremises_v20210101", "DeleteHypervisor", {})
1029
- .n("BackupGatewayClient", "DeleteHypervisorCommand")
1030
- .sc(DeleteHypervisor$)
1031
- .build() {
1000
+ class DeleteHypervisorCommand extends command(_ep0, _mw0, "DeleteHypervisor", DeleteHypervisor$) {
1032
1001
  }
1033
1002
 
1034
- class DisassociateGatewayFromServerCommand extends Command
1035
- .classBuilder()
1036
- .ep(commonParams)
1037
- .m(function (Command, cs, config, o) {
1038
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1039
- })
1040
- .s("BackupOnPremises_v20210101", "DisassociateGatewayFromServer", {})
1041
- .n("BackupGatewayClient", "DisassociateGatewayFromServerCommand")
1042
- .sc(DisassociateGatewayFromServer$)
1043
- .build() {
1003
+ class DisassociateGatewayFromServerCommand extends command(_ep0, _mw0, "DisassociateGatewayFromServer", DisassociateGatewayFromServer$) {
1044
1004
  }
1045
1005
 
1046
- class GetBandwidthRateLimitScheduleCommand extends Command
1047
- .classBuilder()
1048
- .ep(commonParams)
1049
- .m(function (Command, cs, config, o) {
1050
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1051
- })
1052
- .s("BackupOnPremises_v20210101", "GetBandwidthRateLimitSchedule", {})
1053
- .n("BackupGatewayClient", "GetBandwidthRateLimitScheduleCommand")
1054
- .sc(GetBandwidthRateLimitSchedule$)
1055
- .build() {
1006
+ class GetBandwidthRateLimitScheduleCommand extends command(_ep0, _mw0, "GetBandwidthRateLimitSchedule", GetBandwidthRateLimitSchedule$) {
1056
1007
  }
1057
1008
 
1058
- class GetGatewayCommand extends Command
1059
- .classBuilder()
1060
- .ep(commonParams)
1061
- .m(function (Command, cs, config, o) {
1062
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1063
- })
1064
- .s("BackupOnPremises_v20210101", "GetGateway", {})
1065
- .n("BackupGatewayClient", "GetGatewayCommand")
1066
- .sc(GetGateway$)
1067
- .build() {
1009
+ class GetGatewayCommand extends command(_ep0, _mw0, "GetGateway", GetGateway$) {
1068
1010
  }
1069
1011
 
1070
- class GetHypervisorCommand extends Command
1071
- .classBuilder()
1072
- .ep(commonParams)
1073
- .m(function (Command, cs, config, o) {
1074
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1075
- })
1076
- .s("BackupOnPremises_v20210101", "GetHypervisor", {})
1077
- .n("BackupGatewayClient", "GetHypervisorCommand")
1078
- .sc(GetHypervisor$)
1079
- .build() {
1012
+ class GetHypervisorCommand extends command(_ep0, _mw0, "GetHypervisor", GetHypervisor$) {
1080
1013
  }
1081
1014
 
1082
- class GetHypervisorPropertyMappingsCommand extends Command
1083
- .classBuilder()
1084
- .ep(commonParams)
1085
- .m(function (Command, cs, config, o) {
1086
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1087
- })
1088
- .s("BackupOnPremises_v20210101", "GetHypervisorPropertyMappings", {})
1089
- .n("BackupGatewayClient", "GetHypervisorPropertyMappingsCommand")
1090
- .sc(GetHypervisorPropertyMappings$)
1091
- .build() {
1015
+ class GetHypervisorPropertyMappingsCommand extends command(_ep0, _mw0, "GetHypervisorPropertyMappings", GetHypervisorPropertyMappings$) {
1092
1016
  }
1093
1017
 
1094
- class GetVirtualMachineCommand extends Command
1095
- .classBuilder()
1096
- .ep(commonParams)
1097
- .m(function (Command, cs, config, o) {
1098
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1099
- })
1100
- .s("BackupOnPremises_v20210101", "GetVirtualMachine", {})
1101
- .n("BackupGatewayClient", "GetVirtualMachineCommand")
1102
- .sc(GetVirtualMachine$)
1103
- .build() {
1018
+ class GetVirtualMachineCommand extends command(_ep0, _mw0, "GetVirtualMachine", GetVirtualMachine$) {
1104
1019
  }
1105
1020
 
1106
- class ImportHypervisorConfigurationCommand extends Command
1107
- .classBuilder()
1108
- .ep(commonParams)
1109
- .m(function (Command, cs, config, o) {
1110
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1111
- })
1112
- .s("BackupOnPremises_v20210101", "ImportHypervisorConfiguration", {})
1113
- .n("BackupGatewayClient", "ImportHypervisorConfigurationCommand")
1114
- .sc(ImportHypervisorConfiguration$)
1115
- .build() {
1021
+ class ImportHypervisorConfigurationCommand extends command(_ep0, _mw0, "ImportHypervisorConfiguration", ImportHypervisorConfiguration$) {
1116
1022
  }
1117
1023
 
1118
- class ListGatewaysCommand extends Command
1119
- .classBuilder()
1120
- .ep(commonParams)
1121
- .m(function (Command, cs, config, o) {
1122
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1123
- })
1124
- .s("BackupOnPremises_v20210101", "ListGateways", {})
1125
- .n("BackupGatewayClient", "ListGatewaysCommand")
1126
- .sc(ListGateways$)
1127
- .build() {
1024
+ class ListGatewaysCommand extends command(_ep0, _mw0, "ListGateways", ListGateways$) {
1128
1025
  }
1129
1026
 
1130
- class ListHypervisorsCommand extends Command
1131
- .classBuilder()
1132
- .ep(commonParams)
1133
- .m(function (Command, cs, config, o) {
1134
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1135
- })
1136
- .s("BackupOnPremises_v20210101", "ListHypervisors", {})
1137
- .n("BackupGatewayClient", "ListHypervisorsCommand")
1138
- .sc(ListHypervisors$)
1139
- .build() {
1027
+ class ListHypervisorsCommand extends command(_ep0, _mw0, "ListHypervisors", ListHypervisors$) {
1140
1028
  }
1141
1029
 
1142
- class ListTagsForResourceCommand extends Command
1143
- .classBuilder()
1144
- .ep(commonParams)
1145
- .m(function (Command, cs, config, o) {
1146
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1147
- })
1148
- .s("BackupOnPremises_v20210101", "ListTagsForResource", {})
1149
- .n("BackupGatewayClient", "ListTagsForResourceCommand")
1150
- .sc(ListTagsForResource$)
1151
- .build() {
1030
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1152
1031
  }
1153
1032
 
1154
- class ListVirtualMachinesCommand extends Command
1155
- .classBuilder()
1156
- .ep(commonParams)
1157
- .m(function (Command, cs, config, o) {
1158
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1159
- })
1160
- .s("BackupOnPremises_v20210101", "ListVirtualMachines", {})
1161
- .n("BackupGatewayClient", "ListVirtualMachinesCommand")
1162
- .sc(ListVirtualMachines$)
1163
- .build() {
1033
+ class ListVirtualMachinesCommand extends command(_ep0, _mw0, "ListVirtualMachines", ListVirtualMachines$) {
1164
1034
  }
1165
1035
 
1166
- class PutBandwidthRateLimitScheduleCommand extends Command
1167
- .classBuilder()
1168
- .ep(commonParams)
1169
- .m(function (Command, cs, config, o) {
1170
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1171
- })
1172
- .s("BackupOnPremises_v20210101", "PutBandwidthRateLimitSchedule", {})
1173
- .n("BackupGatewayClient", "PutBandwidthRateLimitScheduleCommand")
1174
- .sc(PutBandwidthRateLimitSchedule$)
1175
- .build() {
1036
+ class PutBandwidthRateLimitScheduleCommand extends command(_ep0, _mw0, "PutBandwidthRateLimitSchedule", PutBandwidthRateLimitSchedule$) {
1176
1037
  }
1177
1038
 
1178
- class PutHypervisorPropertyMappingsCommand extends Command
1179
- .classBuilder()
1180
- .ep(commonParams)
1181
- .m(function (Command, cs, config, o) {
1182
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1183
- })
1184
- .s("BackupOnPremises_v20210101", "PutHypervisorPropertyMappings", {})
1185
- .n("BackupGatewayClient", "PutHypervisorPropertyMappingsCommand")
1186
- .sc(PutHypervisorPropertyMappings$)
1187
- .build() {
1039
+ class PutHypervisorPropertyMappingsCommand extends command(_ep0, _mw0, "PutHypervisorPropertyMappings", PutHypervisorPropertyMappings$) {
1188
1040
  }
1189
1041
 
1190
- class PutMaintenanceStartTimeCommand extends Command
1191
- .classBuilder()
1192
- .ep(commonParams)
1193
- .m(function (Command, cs, config, o) {
1194
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1195
- })
1196
- .s("BackupOnPremises_v20210101", "PutMaintenanceStartTime", {})
1197
- .n("BackupGatewayClient", "PutMaintenanceStartTimeCommand")
1198
- .sc(PutMaintenanceStartTime$)
1199
- .build() {
1042
+ class PutMaintenanceStartTimeCommand extends command(_ep0, _mw0, "PutMaintenanceStartTime", PutMaintenanceStartTime$) {
1200
1043
  }
1201
1044
 
1202
- class StartVirtualMachinesMetadataSyncCommand extends Command
1203
- .classBuilder()
1204
- .ep(commonParams)
1205
- .m(function (Command, cs, config, o) {
1206
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1207
- })
1208
- .s("BackupOnPremises_v20210101", "StartVirtualMachinesMetadataSync", {})
1209
- .n("BackupGatewayClient", "StartVirtualMachinesMetadataSyncCommand")
1210
- .sc(StartVirtualMachinesMetadataSync$)
1211
- .build() {
1045
+ class StartVirtualMachinesMetadataSyncCommand extends command(_ep0, _mw0, "StartVirtualMachinesMetadataSync", StartVirtualMachinesMetadataSync$) {
1212
1046
  }
1213
1047
 
1214
- class TagResourceCommand extends Command
1215
- .classBuilder()
1216
- .ep(commonParams)
1217
- .m(function (Command, cs, config, o) {
1218
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1219
- })
1220
- .s("BackupOnPremises_v20210101", "TagResource", {})
1221
- .n("BackupGatewayClient", "TagResourceCommand")
1222
- .sc(TagResource$)
1223
- .build() {
1048
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1224
1049
  }
1225
1050
 
1226
- class TestHypervisorConfigurationCommand extends Command
1227
- .classBuilder()
1228
- .ep(commonParams)
1229
- .m(function (Command, cs, config, o) {
1230
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1231
- })
1232
- .s("BackupOnPremises_v20210101", "TestHypervisorConfiguration", {})
1233
- .n("BackupGatewayClient", "TestHypervisorConfigurationCommand")
1234
- .sc(TestHypervisorConfiguration$)
1235
- .build() {
1051
+ class TestHypervisorConfigurationCommand extends command(_ep0, _mw0, "TestHypervisorConfiguration", TestHypervisorConfiguration$) {
1236
1052
  }
1237
1053
 
1238
- class UntagResourceCommand extends Command
1239
- .classBuilder()
1240
- .ep(commonParams)
1241
- .m(function (Command, cs, config, o) {
1242
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1243
- })
1244
- .s("BackupOnPremises_v20210101", "UntagResource", {})
1245
- .n("BackupGatewayClient", "UntagResourceCommand")
1246
- .sc(UntagResource$)
1247
- .build() {
1054
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1248
1055
  }
1249
1056
 
1250
- class UpdateGatewayInformationCommand extends Command
1251
- .classBuilder()
1252
- .ep(commonParams)
1253
- .m(function (Command, cs, config, o) {
1254
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1255
- })
1256
- .s("BackupOnPremises_v20210101", "UpdateGatewayInformation", {})
1257
- .n("BackupGatewayClient", "UpdateGatewayInformationCommand")
1258
- .sc(UpdateGatewayInformation$)
1259
- .build() {
1057
+ class UpdateGatewayInformationCommand extends command(_ep0, _mw0, "UpdateGatewayInformation", UpdateGatewayInformation$) {
1260
1058
  }
1261
1059
 
1262
- class UpdateGatewaySoftwareNowCommand extends Command
1263
- .classBuilder()
1264
- .ep(commonParams)
1265
- .m(function (Command, cs, config, o) {
1266
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1267
- })
1268
- .s("BackupOnPremises_v20210101", "UpdateGatewaySoftwareNow", {})
1269
- .n("BackupGatewayClient", "UpdateGatewaySoftwareNowCommand")
1270
- .sc(UpdateGatewaySoftwareNow$)
1271
- .build() {
1060
+ class UpdateGatewaySoftwareNowCommand extends command(_ep0, _mw0, "UpdateGatewaySoftwareNow", UpdateGatewaySoftwareNow$) {
1272
1061
  }
1273
1062
 
1274
- class UpdateHypervisorCommand extends Command
1275
- .classBuilder()
1276
- .ep(commonParams)
1277
- .m(function (Command, cs, config, o) {
1278
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1279
- })
1280
- .s("BackupOnPremises_v20210101", "UpdateHypervisor", {})
1281
- .n("BackupGatewayClient", "UpdateHypervisorCommand")
1282
- .sc(UpdateHypervisor$)
1283
- .build() {
1063
+ class UpdateHypervisorCommand extends command(_ep0, _mw0, "UpdateHypervisor", UpdateHypervisor$) {
1284
1064
  }
1285
1065
 
1286
1066
  const paginateListGateways = createPaginator(BackupGatewayClient, ListGatewaysCommand, "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, "BackupOnPremises_v20210101", "BackupGatewayClient", 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 { AssociateGatewayToServer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateGatewayToServerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "AssociateGatewayToServer", {})
13
- .n("BackupGatewayClient", "AssociateGatewayToServerCommand")
14
- .sc(AssociateGatewayToServer$)
15
- .build() {
3
+ export class AssociateGatewayToServerCommand extends command(_ep0, _mw0, "AssociateGatewayToServer", AssociateGatewayToServer$) {
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 { CreateGateway$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateGatewayCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "CreateGateway", {})
13
- .n("BackupGatewayClient", "CreateGatewayCommand")
14
- .sc(CreateGateway$)
15
- .build() {
3
+ export class CreateGatewayCommand extends command(_ep0, _mw0, "CreateGateway", CreateGateway$) {
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 { DeleteGateway$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteGatewayCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "DeleteGateway", {})
13
- .n("BackupGatewayClient", "DeleteGatewayCommand")
14
- .sc(DeleteGateway$)
15
- .build() {
3
+ export class DeleteGatewayCommand extends command(_ep0, _mw0, "DeleteGateway", DeleteGateway$) {
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 { DeleteHypervisor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteHypervisorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "DeleteHypervisor", {})
13
- .n("BackupGatewayClient", "DeleteHypervisorCommand")
14
- .sc(DeleteHypervisor$)
15
- .build() {
3
+ export class DeleteHypervisorCommand extends command(_ep0, _mw0, "DeleteHypervisor", DeleteHypervisor$) {
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 { DisassociateGatewayFromServer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateGatewayFromServerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "DisassociateGatewayFromServer", {})
13
- .n("BackupGatewayClient", "DisassociateGatewayFromServerCommand")
14
- .sc(DisassociateGatewayFromServer$)
15
- .build() {
3
+ export class DisassociateGatewayFromServerCommand extends command(_ep0, _mw0, "DisassociateGatewayFromServer", DisassociateGatewayFromServer$) {
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 { GetBandwidthRateLimitSchedule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBandwidthRateLimitScheduleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "GetBandwidthRateLimitSchedule", {})
13
- .n("BackupGatewayClient", "GetBandwidthRateLimitScheduleCommand")
14
- .sc(GetBandwidthRateLimitSchedule$)
15
- .build() {
3
+ export class GetBandwidthRateLimitScheduleCommand extends command(_ep0, _mw0, "GetBandwidthRateLimitSchedule", GetBandwidthRateLimitSchedule$) {
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 { GetGateway$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetGatewayCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "GetGateway", {})
13
- .n("BackupGatewayClient", "GetGatewayCommand")
14
- .sc(GetGateway$)
15
- .build() {
3
+ export class GetGatewayCommand extends command(_ep0, _mw0, "GetGateway", GetGateway$) {
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 { GetHypervisor$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetHypervisorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "GetHypervisor", {})
13
- .n("BackupGatewayClient", "GetHypervisorCommand")
14
- .sc(GetHypervisor$)
15
- .build() {
3
+ export class GetHypervisorCommand extends command(_ep0, _mw0, "GetHypervisor", GetHypervisor$) {
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 { GetHypervisorPropertyMappings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetHypervisorPropertyMappingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "GetHypervisorPropertyMappings", {})
13
- .n("BackupGatewayClient", "GetHypervisorPropertyMappingsCommand")
14
- .sc(GetHypervisorPropertyMappings$)
15
- .build() {
3
+ export class GetHypervisorPropertyMappingsCommand extends command(_ep0, _mw0, "GetHypervisorPropertyMappings", GetHypervisorPropertyMappings$) {
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 { GetVirtualMachine$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetVirtualMachineCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "GetVirtualMachine", {})
13
- .n("BackupGatewayClient", "GetVirtualMachineCommand")
14
- .sc(GetVirtualMachine$)
15
- .build() {
3
+ export class GetVirtualMachineCommand extends command(_ep0, _mw0, "GetVirtualMachine", GetVirtualMachine$) {
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 { ImportHypervisorConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ImportHypervisorConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "ImportHypervisorConfiguration", {})
13
- .n("BackupGatewayClient", "ImportHypervisorConfigurationCommand")
14
- .sc(ImportHypervisorConfiguration$)
15
- .build() {
3
+ export class ImportHypervisorConfigurationCommand extends command(_ep0, _mw0, "ImportHypervisorConfiguration", ImportHypervisorConfiguration$) {
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 { ListGateways$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListGatewaysCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "ListGateways", {})
13
- .n("BackupGatewayClient", "ListGatewaysCommand")
14
- .sc(ListGateways$)
15
- .build() {
3
+ export class ListGatewaysCommand extends command(_ep0, _mw0, "ListGateways", ListGateways$) {
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 { ListHypervisors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListHypervisorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("BackupOnPremises_v20210101", "ListHypervisors", {})
13
- .n("BackupGatewayClient", "ListHypervisorsCommand")
14
- .sc(ListHypervisors$)
15
- .build() {
3
+ export class ListHypervisorsCommand extends command(_ep0, _mw0, "ListHypervisors", ListHypervisors$) {
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("BackupOnPremises_v20210101", "ListTagsForResource", {})
13
- .n("BackupGatewayClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }