@aws-sdk/client-backup-gateway 3.721.0 → 3.726.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.
package/dist-cjs/index.js CHANGED
@@ -164,7 +164,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
164
164
  }, "resolveRuntimeExtensions");
165
165
 
166
166
  // src/BackupGatewayClient.ts
167
- var _BackupGatewayClient = class _BackupGatewayClient extends import_smithy_client.Client {
167
+ var BackupGatewayClient = class extends import_smithy_client.Client {
168
+ static {
169
+ __name(this, "BackupGatewayClient");
170
+ }
171
+ /**
172
+ * The resolved configuration of BackupGatewayClient class. This is resolved and normalized from the {@link BackupGatewayClientConfig | constructor configuration interface}.
173
+ */
174
+ config;
168
175
  constructor(...[configuration]) {
169
176
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
170
177
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -174,7 +181,7 @@ var _BackupGatewayClient = class _BackupGatewayClient extends import_smithy_clie
174
181
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
175
182
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
176
183
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
177
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
184
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
178
185
  super(_config_8);
179
186
  this.config = _config_8;
180
187
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -202,8 +209,6 @@ var _BackupGatewayClient = class _BackupGatewayClient extends import_smithy_clie
202
209
  super.destroy();
203
210
  }
204
211
  };
205
- __name(_BackupGatewayClient, "BackupGatewayClient");
206
- var BackupGatewayClient = _BackupGatewayClient;
207
212
 
208
213
  // src/BackupGateway.ts
209
214
 
@@ -220,7 +225,10 @@ var import_core2 = require("@aws-sdk/core");
220
225
 
221
226
  // src/models/BackupGatewayServiceException.ts
222
227
 
223
- var _BackupGatewayServiceException = class _BackupGatewayServiceException extends import_smithy_client.ServiceException {
228
+ var BackupGatewayServiceException = class _BackupGatewayServiceException extends import_smithy_client.ServiceException {
229
+ static {
230
+ __name(this, "BackupGatewayServiceException");
231
+ }
224
232
  /**
225
233
  * @internal
226
234
  */
@@ -229,12 +237,21 @@ var _BackupGatewayServiceException = class _BackupGatewayServiceException extend
229
237
  Object.setPrototypeOf(this, _BackupGatewayServiceException.prototype);
230
238
  }
231
239
  };
232
- __name(_BackupGatewayServiceException, "BackupGatewayServiceException");
233
- var BackupGatewayServiceException = _BackupGatewayServiceException;
234
240
 
235
241
  // src/models/models_0.ts
236
242
 
237
- var _AccessDeniedException = class _AccessDeniedException extends BackupGatewayServiceException {
243
+ var AccessDeniedException = class _AccessDeniedException extends BackupGatewayServiceException {
244
+ static {
245
+ __name(this, "AccessDeniedException");
246
+ }
247
+ name = "AccessDeniedException";
248
+ $fault = "client";
249
+ /**
250
+ * <p>A description of why you have insufficient permissions.</p>
251
+ * @public
252
+ */
253
+ ErrorCode;
254
+ Message;
238
255
  /**
239
256
  * @internal
240
257
  */
@@ -244,16 +261,23 @@ var _AccessDeniedException = class _AccessDeniedException extends BackupGatewayS
244
261
  $fault: "client",
245
262
  ...opts
246
263
  });
247
- this.name = "AccessDeniedException";
248
- this.$fault = "client";
249
264
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
250
265
  this.ErrorCode = opts.ErrorCode;
251
266
  this.Message = opts.Message;
252
267
  }
253
268
  };
254
- __name(_AccessDeniedException, "AccessDeniedException");
255
- var AccessDeniedException = _AccessDeniedException;
256
- var _ConflictException = class _ConflictException extends BackupGatewayServiceException {
269
+ var ConflictException = class _ConflictException extends BackupGatewayServiceException {
270
+ static {
271
+ __name(this, "ConflictException");
272
+ }
273
+ name = "ConflictException";
274
+ $fault = "client";
275
+ /**
276
+ * <p>A description of why the operation is not supported.</p>
277
+ * @public
278
+ */
279
+ ErrorCode;
280
+ Message;
257
281
  /**
258
282
  * @internal
259
283
  */
@@ -263,16 +287,23 @@ var _ConflictException = class _ConflictException extends BackupGatewayServiceEx
263
287
  $fault: "client",
264
288
  ...opts
265
289
  });
266
- this.name = "ConflictException";
267
- this.$fault = "client";
268
290
  Object.setPrototypeOf(this, _ConflictException.prototype);
269
291
  this.ErrorCode = opts.ErrorCode;
270
292
  this.Message = opts.Message;
271
293
  }
272
294
  };
273
- __name(_ConflictException, "ConflictException");
274
- var ConflictException = _ConflictException;
275
- var _InternalServerException = class _InternalServerException extends BackupGatewayServiceException {
295
+ var InternalServerException = class _InternalServerException extends BackupGatewayServiceException {
296
+ static {
297
+ __name(this, "InternalServerException");
298
+ }
299
+ name = "InternalServerException";
300
+ $fault = "server";
301
+ /**
302
+ * <p>A description of which internal error occured.</p>
303
+ * @public
304
+ */
305
+ ErrorCode;
306
+ Message;
276
307
  /**
277
308
  * @internal
278
309
  */
@@ -282,16 +313,24 @@ var _InternalServerException = class _InternalServerException extends BackupGate
282
313
  $fault: "server",
283
314
  ...opts
284
315
  });
285
- this.name = "InternalServerException";
286
- this.$fault = "server";
287
316
  Object.setPrototypeOf(this, _InternalServerException.prototype);
288
317
  this.ErrorCode = opts.ErrorCode;
289
318
  this.Message = opts.Message;
290
319
  }
291
320
  };
292
- __name(_InternalServerException, "InternalServerException");
293
- var InternalServerException = _InternalServerException;
294
- var _ThrottlingException = class _ThrottlingException extends BackupGatewayServiceException {
321
+ var ThrottlingException = class _ThrottlingException extends BackupGatewayServiceException {
322
+ static {
323
+ __name(this, "ThrottlingException");
324
+ }
325
+ name = "ThrottlingException";
326
+ $fault = "client";
327
+ /**
328
+ * <p>Error: TPS has been limited to protect against intentional or unintentional
329
+ * high request volumes.</p>
330
+ * @public
331
+ */
332
+ ErrorCode;
333
+ Message;
295
334
  /**
296
335
  * @internal
297
336
  */
@@ -301,16 +340,23 @@ var _ThrottlingException = class _ThrottlingException extends BackupGatewayServi
301
340
  $fault: "client",
302
341
  ...opts
303
342
  });
304
- this.name = "ThrottlingException";
305
- this.$fault = "client";
306
343
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
307
344
  this.ErrorCode = opts.ErrorCode;
308
345
  this.Message = opts.Message;
309
346
  }
310
347
  };
311
- __name(_ThrottlingException, "ThrottlingException");
312
- var ThrottlingException = _ThrottlingException;
313
- var _ValidationException = class _ValidationException extends BackupGatewayServiceException {
348
+ var ValidationException = class _ValidationException extends BackupGatewayServiceException {
349
+ static {
350
+ __name(this, "ValidationException");
351
+ }
352
+ name = "ValidationException";
353
+ $fault = "client";
354
+ /**
355
+ * <p>A description of what caused the validation error.</p>
356
+ * @public
357
+ */
358
+ ErrorCode;
359
+ Message;
314
360
  /**
315
361
  * @internal
316
362
  */
@@ -320,16 +366,23 @@ var _ValidationException = class _ValidationException extends BackupGatewayServi
320
366
  $fault: "client",
321
367
  ...opts
322
368
  });
323
- this.name = "ValidationException";
324
- this.$fault = "client";
325
369
  Object.setPrototypeOf(this, _ValidationException.prototype);
326
370
  this.ErrorCode = opts.ErrorCode;
327
371
  this.Message = opts.Message;
328
372
  }
329
373
  };
330
- __name(_ValidationException, "ValidationException");
331
- var ValidationException = _ValidationException;
332
- var _ResourceNotFoundException = class _ResourceNotFoundException extends BackupGatewayServiceException {
374
+ var ResourceNotFoundException = class _ResourceNotFoundException extends BackupGatewayServiceException {
375
+ static {
376
+ __name(this, "ResourceNotFoundException");
377
+ }
378
+ name = "ResourceNotFoundException";
379
+ $fault = "client";
380
+ /**
381
+ * <p>A description of which resource wasn't found.</p>
382
+ * @public
383
+ */
384
+ ErrorCode;
385
+ Message;
333
386
  /**
334
387
  * @internal
335
388
  */
@@ -339,15 +392,11 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Backup
339
392
  $fault: "client",
340
393
  ...opts
341
394
  });
342
- this.name = "ResourceNotFoundException";
343
- this.$fault = "client";
344
395
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
345
396
  this.ErrorCode = opts.ErrorCode;
346
397
  this.Message = opts.Message;
347
398
  }
348
399
  };
349
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
350
- var ResourceNotFoundException = _ResourceNotFoundException;
351
400
  var GatewayType = {
352
401
  BACKUP_VM: "BACKUP_VM"
353
402
  };
@@ -1072,351 +1121,376 @@ function sharedHeaders(operation) {
1072
1121
  __name(sharedHeaders, "sharedHeaders");
1073
1122
 
1074
1123
  // src/commands/AssociateGatewayToServerCommand.ts
1075
- var _AssociateGatewayToServerCommand = class _AssociateGatewayToServerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1124
+ var AssociateGatewayToServerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1076
1125
  return [
1077
1126
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1078
1127
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1079
1128
  ];
1080
1129
  }).s("BackupOnPremises_v20210101", "AssociateGatewayToServer", {}).n("BackupGatewayClient", "AssociateGatewayToServerCommand").f(void 0, void 0).ser(se_AssociateGatewayToServerCommand).de(de_AssociateGatewayToServerCommand).build() {
1130
+ static {
1131
+ __name(this, "AssociateGatewayToServerCommand");
1132
+ }
1081
1133
  };
1082
- __name(_AssociateGatewayToServerCommand, "AssociateGatewayToServerCommand");
1083
- var AssociateGatewayToServerCommand = _AssociateGatewayToServerCommand;
1084
1134
 
1085
1135
  // src/commands/CreateGatewayCommand.ts
1086
1136
 
1087
1137
 
1088
1138
 
1089
- var _CreateGatewayCommand = class _CreateGatewayCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1139
+ var CreateGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1090
1140
  return [
1091
1141
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1092
1142
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1093
1143
  ];
1094
1144
  }).s("BackupOnPremises_v20210101", "CreateGateway", {}).n("BackupGatewayClient", "CreateGatewayCommand").f(void 0, void 0).ser(se_CreateGatewayCommand).de(de_CreateGatewayCommand).build() {
1145
+ static {
1146
+ __name(this, "CreateGatewayCommand");
1147
+ }
1095
1148
  };
1096
- __name(_CreateGatewayCommand, "CreateGatewayCommand");
1097
- var CreateGatewayCommand = _CreateGatewayCommand;
1098
1149
 
1099
1150
  // src/commands/DeleteGatewayCommand.ts
1100
1151
 
1101
1152
 
1102
1153
 
1103
- var _DeleteGatewayCommand = class _DeleteGatewayCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1154
+ var DeleteGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1104
1155
  return [
1105
1156
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1106
1157
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1107
1158
  ];
1108
1159
  }).s("BackupOnPremises_v20210101", "DeleteGateway", {}).n("BackupGatewayClient", "DeleteGatewayCommand").f(void 0, void 0).ser(se_DeleteGatewayCommand).de(de_DeleteGatewayCommand).build() {
1160
+ static {
1161
+ __name(this, "DeleteGatewayCommand");
1162
+ }
1109
1163
  };
1110
- __name(_DeleteGatewayCommand, "DeleteGatewayCommand");
1111
- var DeleteGatewayCommand = _DeleteGatewayCommand;
1112
1164
 
1113
1165
  // src/commands/DeleteHypervisorCommand.ts
1114
1166
 
1115
1167
 
1116
1168
 
1117
- var _DeleteHypervisorCommand = class _DeleteHypervisorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1169
+ var DeleteHypervisorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1118
1170
  return [
1119
1171
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1120
1172
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1121
1173
  ];
1122
1174
  }).s("BackupOnPremises_v20210101", "DeleteHypervisor", {}).n("BackupGatewayClient", "DeleteHypervisorCommand").f(void 0, void 0).ser(se_DeleteHypervisorCommand).de(de_DeleteHypervisorCommand).build() {
1175
+ static {
1176
+ __name(this, "DeleteHypervisorCommand");
1177
+ }
1123
1178
  };
1124
- __name(_DeleteHypervisorCommand, "DeleteHypervisorCommand");
1125
- var DeleteHypervisorCommand = _DeleteHypervisorCommand;
1126
1179
 
1127
1180
  // src/commands/DisassociateGatewayFromServerCommand.ts
1128
1181
 
1129
1182
 
1130
1183
 
1131
- var _DisassociateGatewayFromServerCommand = class _DisassociateGatewayFromServerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1184
+ var DisassociateGatewayFromServerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1132
1185
  return [
1133
1186
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1134
1187
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1135
1188
  ];
1136
1189
  }).s("BackupOnPremises_v20210101", "DisassociateGatewayFromServer", {}).n("BackupGatewayClient", "DisassociateGatewayFromServerCommand").f(void 0, void 0).ser(se_DisassociateGatewayFromServerCommand).de(de_DisassociateGatewayFromServerCommand).build() {
1190
+ static {
1191
+ __name(this, "DisassociateGatewayFromServerCommand");
1192
+ }
1137
1193
  };
1138
- __name(_DisassociateGatewayFromServerCommand, "DisassociateGatewayFromServerCommand");
1139
- var DisassociateGatewayFromServerCommand = _DisassociateGatewayFromServerCommand;
1140
1194
 
1141
1195
  // src/commands/GetBandwidthRateLimitScheduleCommand.ts
1142
1196
 
1143
1197
 
1144
1198
 
1145
- var _GetBandwidthRateLimitScheduleCommand = class _GetBandwidthRateLimitScheduleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1199
+ var GetBandwidthRateLimitScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1146
1200
  return [
1147
1201
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1148
1202
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1149
1203
  ];
1150
1204
  }).s("BackupOnPremises_v20210101", "GetBandwidthRateLimitSchedule", {}).n("BackupGatewayClient", "GetBandwidthRateLimitScheduleCommand").f(void 0, void 0).ser(se_GetBandwidthRateLimitScheduleCommand).de(de_GetBandwidthRateLimitScheduleCommand).build() {
1205
+ static {
1206
+ __name(this, "GetBandwidthRateLimitScheduleCommand");
1207
+ }
1151
1208
  };
1152
- __name(_GetBandwidthRateLimitScheduleCommand, "GetBandwidthRateLimitScheduleCommand");
1153
- var GetBandwidthRateLimitScheduleCommand = _GetBandwidthRateLimitScheduleCommand;
1154
1209
 
1155
1210
  // src/commands/GetGatewayCommand.ts
1156
1211
 
1157
1212
 
1158
1213
 
1159
- var _GetGatewayCommand = class _GetGatewayCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1214
+ var GetGatewayCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1160
1215
  return [
1161
1216
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1162
1217
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1163
1218
  ];
1164
1219
  }).s("BackupOnPremises_v20210101", "GetGateway", {}).n("BackupGatewayClient", "GetGatewayCommand").f(void 0, void 0).ser(se_GetGatewayCommand).de(de_GetGatewayCommand).build() {
1220
+ static {
1221
+ __name(this, "GetGatewayCommand");
1222
+ }
1165
1223
  };
1166
- __name(_GetGatewayCommand, "GetGatewayCommand");
1167
- var GetGatewayCommand = _GetGatewayCommand;
1168
1224
 
1169
1225
  // src/commands/GetHypervisorCommand.ts
1170
1226
 
1171
1227
 
1172
1228
 
1173
- var _GetHypervisorCommand = class _GetHypervisorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1229
+ var GetHypervisorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1174
1230
  return [
1175
1231
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1176
1232
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1177
1233
  ];
1178
1234
  }).s("BackupOnPremises_v20210101", "GetHypervisor", {}).n("BackupGatewayClient", "GetHypervisorCommand").f(void 0, void 0).ser(se_GetHypervisorCommand).de(de_GetHypervisorCommand).build() {
1235
+ static {
1236
+ __name(this, "GetHypervisorCommand");
1237
+ }
1179
1238
  };
1180
- __name(_GetHypervisorCommand, "GetHypervisorCommand");
1181
- var GetHypervisorCommand = _GetHypervisorCommand;
1182
1239
 
1183
1240
  // src/commands/GetHypervisorPropertyMappingsCommand.ts
1184
1241
 
1185
1242
 
1186
1243
 
1187
- var _GetHypervisorPropertyMappingsCommand = class _GetHypervisorPropertyMappingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1244
+ var GetHypervisorPropertyMappingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1188
1245
  return [
1189
1246
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1190
1247
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1191
1248
  ];
1192
1249
  }).s("BackupOnPremises_v20210101", "GetHypervisorPropertyMappings", {}).n("BackupGatewayClient", "GetHypervisorPropertyMappingsCommand").f(void 0, void 0).ser(se_GetHypervisorPropertyMappingsCommand).de(de_GetHypervisorPropertyMappingsCommand).build() {
1250
+ static {
1251
+ __name(this, "GetHypervisorPropertyMappingsCommand");
1252
+ }
1193
1253
  };
1194
- __name(_GetHypervisorPropertyMappingsCommand, "GetHypervisorPropertyMappingsCommand");
1195
- var GetHypervisorPropertyMappingsCommand = _GetHypervisorPropertyMappingsCommand;
1196
1254
 
1197
1255
  // src/commands/GetVirtualMachineCommand.ts
1198
1256
 
1199
1257
 
1200
1258
 
1201
- var _GetVirtualMachineCommand = class _GetVirtualMachineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1259
+ var GetVirtualMachineCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1202
1260
  return [
1203
1261
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1204
1262
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1205
1263
  ];
1206
1264
  }).s("BackupOnPremises_v20210101", "GetVirtualMachine", {}).n("BackupGatewayClient", "GetVirtualMachineCommand").f(void 0, void 0).ser(se_GetVirtualMachineCommand).de(de_GetVirtualMachineCommand).build() {
1265
+ static {
1266
+ __name(this, "GetVirtualMachineCommand");
1267
+ }
1207
1268
  };
1208
- __name(_GetVirtualMachineCommand, "GetVirtualMachineCommand");
1209
- var GetVirtualMachineCommand = _GetVirtualMachineCommand;
1210
1269
 
1211
1270
  // src/commands/ImportHypervisorConfigurationCommand.ts
1212
1271
 
1213
1272
 
1214
1273
 
1215
- var _ImportHypervisorConfigurationCommand = class _ImportHypervisorConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1274
+ var ImportHypervisorConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1216
1275
  return [
1217
1276
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1218
1277
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1219
1278
  ];
1220
1279
  }).s("BackupOnPremises_v20210101", "ImportHypervisorConfiguration", {}).n("BackupGatewayClient", "ImportHypervisorConfigurationCommand").f(ImportHypervisorConfigurationInputFilterSensitiveLog, void 0).ser(se_ImportHypervisorConfigurationCommand).de(de_ImportHypervisorConfigurationCommand).build() {
1280
+ static {
1281
+ __name(this, "ImportHypervisorConfigurationCommand");
1282
+ }
1221
1283
  };
1222
- __name(_ImportHypervisorConfigurationCommand, "ImportHypervisorConfigurationCommand");
1223
- var ImportHypervisorConfigurationCommand = _ImportHypervisorConfigurationCommand;
1224
1284
 
1225
1285
  // src/commands/ListGatewaysCommand.ts
1226
1286
 
1227
1287
 
1228
1288
 
1229
- var _ListGatewaysCommand = class _ListGatewaysCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1289
+ var ListGatewaysCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1230
1290
  return [
1231
1291
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1232
1292
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1233
1293
  ];
1234
1294
  }).s("BackupOnPremises_v20210101", "ListGateways", {}).n("BackupGatewayClient", "ListGatewaysCommand").f(void 0, void 0).ser(se_ListGatewaysCommand).de(de_ListGatewaysCommand).build() {
1295
+ static {
1296
+ __name(this, "ListGatewaysCommand");
1297
+ }
1235
1298
  };
1236
- __name(_ListGatewaysCommand, "ListGatewaysCommand");
1237
- var ListGatewaysCommand = _ListGatewaysCommand;
1238
1299
 
1239
1300
  // src/commands/ListHypervisorsCommand.ts
1240
1301
 
1241
1302
 
1242
1303
 
1243
- var _ListHypervisorsCommand = class _ListHypervisorsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1304
+ var ListHypervisorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1244
1305
  return [
1245
1306
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1246
1307
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1247
1308
  ];
1248
1309
  }).s("BackupOnPremises_v20210101", "ListHypervisors", {}).n("BackupGatewayClient", "ListHypervisorsCommand").f(void 0, void 0).ser(se_ListHypervisorsCommand).de(de_ListHypervisorsCommand).build() {
1310
+ static {
1311
+ __name(this, "ListHypervisorsCommand");
1312
+ }
1249
1313
  };
1250
- __name(_ListHypervisorsCommand, "ListHypervisorsCommand");
1251
- var ListHypervisorsCommand = _ListHypervisorsCommand;
1252
1314
 
1253
1315
  // src/commands/ListTagsForResourceCommand.ts
1254
1316
 
1255
1317
 
1256
1318
 
1257
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1319
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1258
1320
  return [
1259
1321
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1260
1322
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1261
1323
  ];
1262
1324
  }).s("BackupOnPremises_v20210101", "ListTagsForResource", {}).n("BackupGatewayClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1325
+ static {
1326
+ __name(this, "ListTagsForResourceCommand");
1327
+ }
1263
1328
  };
1264
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1265
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1266
1329
 
1267
1330
  // src/commands/ListVirtualMachinesCommand.ts
1268
1331
 
1269
1332
 
1270
1333
 
1271
- var _ListVirtualMachinesCommand = class _ListVirtualMachinesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1334
+ var ListVirtualMachinesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1272
1335
  return [
1273
1336
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1274
1337
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1275
1338
  ];
1276
1339
  }).s("BackupOnPremises_v20210101", "ListVirtualMachines", {}).n("BackupGatewayClient", "ListVirtualMachinesCommand").f(void 0, void 0).ser(se_ListVirtualMachinesCommand).de(de_ListVirtualMachinesCommand).build() {
1340
+ static {
1341
+ __name(this, "ListVirtualMachinesCommand");
1342
+ }
1277
1343
  };
1278
- __name(_ListVirtualMachinesCommand, "ListVirtualMachinesCommand");
1279
- var ListVirtualMachinesCommand = _ListVirtualMachinesCommand;
1280
1344
 
1281
1345
  // src/commands/PutBandwidthRateLimitScheduleCommand.ts
1282
1346
 
1283
1347
 
1284
1348
 
1285
- var _PutBandwidthRateLimitScheduleCommand = class _PutBandwidthRateLimitScheduleCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1349
+ var PutBandwidthRateLimitScheduleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1286
1350
  return [
1287
1351
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1288
1352
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1289
1353
  ];
1290
1354
  }).s("BackupOnPremises_v20210101", "PutBandwidthRateLimitSchedule", {}).n("BackupGatewayClient", "PutBandwidthRateLimitScheduleCommand").f(void 0, void 0).ser(se_PutBandwidthRateLimitScheduleCommand).de(de_PutBandwidthRateLimitScheduleCommand).build() {
1355
+ static {
1356
+ __name(this, "PutBandwidthRateLimitScheduleCommand");
1357
+ }
1291
1358
  };
1292
- __name(_PutBandwidthRateLimitScheduleCommand, "PutBandwidthRateLimitScheduleCommand");
1293
- var PutBandwidthRateLimitScheduleCommand = _PutBandwidthRateLimitScheduleCommand;
1294
1359
 
1295
1360
  // src/commands/PutHypervisorPropertyMappingsCommand.ts
1296
1361
 
1297
1362
 
1298
1363
 
1299
- var _PutHypervisorPropertyMappingsCommand = class _PutHypervisorPropertyMappingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1364
+ var PutHypervisorPropertyMappingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1300
1365
  return [
1301
1366
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1302
1367
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1303
1368
  ];
1304
1369
  }).s("BackupOnPremises_v20210101", "PutHypervisorPropertyMappings", {}).n("BackupGatewayClient", "PutHypervisorPropertyMappingsCommand").f(void 0, void 0).ser(se_PutHypervisorPropertyMappingsCommand).de(de_PutHypervisorPropertyMappingsCommand).build() {
1370
+ static {
1371
+ __name(this, "PutHypervisorPropertyMappingsCommand");
1372
+ }
1305
1373
  };
1306
- __name(_PutHypervisorPropertyMappingsCommand, "PutHypervisorPropertyMappingsCommand");
1307
- var PutHypervisorPropertyMappingsCommand = _PutHypervisorPropertyMappingsCommand;
1308
1374
 
1309
1375
  // src/commands/PutMaintenanceStartTimeCommand.ts
1310
1376
 
1311
1377
 
1312
1378
 
1313
- var _PutMaintenanceStartTimeCommand = class _PutMaintenanceStartTimeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1379
+ var PutMaintenanceStartTimeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1314
1380
  return [
1315
1381
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1316
1382
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1317
1383
  ];
1318
1384
  }).s("BackupOnPremises_v20210101", "PutMaintenanceStartTime", {}).n("BackupGatewayClient", "PutMaintenanceStartTimeCommand").f(void 0, void 0).ser(se_PutMaintenanceStartTimeCommand).de(de_PutMaintenanceStartTimeCommand).build() {
1385
+ static {
1386
+ __name(this, "PutMaintenanceStartTimeCommand");
1387
+ }
1319
1388
  };
1320
- __name(_PutMaintenanceStartTimeCommand, "PutMaintenanceStartTimeCommand");
1321
- var PutMaintenanceStartTimeCommand = _PutMaintenanceStartTimeCommand;
1322
1389
 
1323
1390
  // src/commands/StartVirtualMachinesMetadataSyncCommand.ts
1324
1391
 
1325
1392
 
1326
1393
 
1327
- var _StartVirtualMachinesMetadataSyncCommand = class _StartVirtualMachinesMetadataSyncCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1394
+ var StartVirtualMachinesMetadataSyncCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1328
1395
  return [
1329
1396
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1330
1397
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1331
1398
  ];
1332
1399
  }).s("BackupOnPremises_v20210101", "StartVirtualMachinesMetadataSync", {}).n("BackupGatewayClient", "StartVirtualMachinesMetadataSyncCommand").f(void 0, void 0).ser(se_StartVirtualMachinesMetadataSyncCommand).de(de_StartVirtualMachinesMetadataSyncCommand).build() {
1400
+ static {
1401
+ __name(this, "StartVirtualMachinesMetadataSyncCommand");
1402
+ }
1333
1403
  };
1334
- __name(_StartVirtualMachinesMetadataSyncCommand, "StartVirtualMachinesMetadataSyncCommand");
1335
- var StartVirtualMachinesMetadataSyncCommand = _StartVirtualMachinesMetadataSyncCommand;
1336
1404
 
1337
1405
  // src/commands/TagResourceCommand.ts
1338
1406
 
1339
1407
 
1340
1408
 
1341
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1409
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1342
1410
  return [
1343
1411
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1344
1412
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1345
1413
  ];
1346
1414
  }).s("BackupOnPremises_v20210101", "TagResource", {}).n("BackupGatewayClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1415
+ static {
1416
+ __name(this, "TagResourceCommand");
1417
+ }
1347
1418
  };
1348
- __name(_TagResourceCommand, "TagResourceCommand");
1349
- var TagResourceCommand = _TagResourceCommand;
1350
1419
 
1351
1420
  // src/commands/TestHypervisorConfigurationCommand.ts
1352
1421
 
1353
1422
 
1354
1423
 
1355
- var _TestHypervisorConfigurationCommand = class _TestHypervisorConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1424
+ var TestHypervisorConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1356
1425
  return [
1357
1426
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1358
1427
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1359
1428
  ];
1360
1429
  }).s("BackupOnPremises_v20210101", "TestHypervisorConfiguration", {}).n("BackupGatewayClient", "TestHypervisorConfigurationCommand").f(TestHypervisorConfigurationInputFilterSensitiveLog, void 0).ser(se_TestHypervisorConfigurationCommand).de(de_TestHypervisorConfigurationCommand).build() {
1430
+ static {
1431
+ __name(this, "TestHypervisorConfigurationCommand");
1432
+ }
1361
1433
  };
1362
- __name(_TestHypervisorConfigurationCommand, "TestHypervisorConfigurationCommand");
1363
- var TestHypervisorConfigurationCommand = _TestHypervisorConfigurationCommand;
1364
1434
 
1365
1435
  // src/commands/UntagResourceCommand.ts
1366
1436
 
1367
1437
 
1368
1438
 
1369
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1439
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1370
1440
  return [
1371
1441
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1372
1442
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1373
1443
  ];
1374
1444
  }).s("BackupOnPremises_v20210101", "UntagResource", {}).n("BackupGatewayClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1445
+ static {
1446
+ __name(this, "UntagResourceCommand");
1447
+ }
1375
1448
  };
1376
- __name(_UntagResourceCommand, "UntagResourceCommand");
1377
- var UntagResourceCommand = _UntagResourceCommand;
1378
1449
 
1379
1450
  // src/commands/UpdateGatewayInformationCommand.ts
1380
1451
 
1381
1452
 
1382
1453
 
1383
- var _UpdateGatewayInformationCommand = class _UpdateGatewayInformationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1454
+ var UpdateGatewayInformationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1384
1455
  return [
1385
1456
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1386
1457
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1387
1458
  ];
1388
1459
  }).s("BackupOnPremises_v20210101", "UpdateGatewayInformation", {}).n("BackupGatewayClient", "UpdateGatewayInformationCommand").f(void 0, void 0).ser(se_UpdateGatewayInformationCommand).de(de_UpdateGatewayInformationCommand).build() {
1460
+ static {
1461
+ __name(this, "UpdateGatewayInformationCommand");
1462
+ }
1389
1463
  };
1390
- __name(_UpdateGatewayInformationCommand, "UpdateGatewayInformationCommand");
1391
- var UpdateGatewayInformationCommand = _UpdateGatewayInformationCommand;
1392
1464
 
1393
1465
  // src/commands/UpdateGatewaySoftwareNowCommand.ts
1394
1466
 
1395
1467
 
1396
1468
 
1397
- var _UpdateGatewaySoftwareNowCommand = class _UpdateGatewaySoftwareNowCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1469
+ var UpdateGatewaySoftwareNowCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1398
1470
  return [
1399
1471
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1400
1472
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1401
1473
  ];
1402
1474
  }).s("BackupOnPremises_v20210101", "UpdateGatewaySoftwareNow", {}).n("BackupGatewayClient", "UpdateGatewaySoftwareNowCommand").f(void 0, void 0).ser(se_UpdateGatewaySoftwareNowCommand).de(de_UpdateGatewaySoftwareNowCommand).build() {
1475
+ static {
1476
+ __name(this, "UpdateGatewaySoftwareNowCommand");
1477
+ }
1403
1478
  };
1404
- __name(_UpdateGatewaySoftwareNowCommand, "UpdateGatewaySoftwareNowCommand");
1405
- var UpdateGatewaySoftwareNowCommand = _UpdateGatewaySoftwareNowCommand;
1406
1479
 
1407
1480
  // src/commands/UpdateHypervisorCommand.ts
1408
1481
 
1409
1482
 
1410
1483
 
1411
- var _UpdateHypervisorCommand = class _UpdateHypervisorCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1484
+ var UpdateHypervisorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1412
1485
  return [
1413
1486
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1414
1487
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1415
1488
  ];
1416
1489
  }).s("BackupOnPremises_v20210101", "UpdateHypervisor", {}).n("BackupGatewayClient", "UpdateHypervisorCommand").f(UpdateHypervisorInputFilterSensitiveLog, void 0).ser(se_UpdateHypervisorCommand).de(de_UpdateHypervisorCommand).build() {
1490
+ static {
1491
+ __name(this, "UpdateHypervisorCommand");
1492
+ }
1417
1493
  };
1418
- __name(_UpdateHypervisorCommand, "UpdateHypervisorCommand");
1419
- var UpdateHypervisorCommand = _UpdateHypervisorCommand;
1420
1494
 
1421
1495
  // src/BackupGateway.ts
1422
1496
  var commands = {
@@ -1446,10 +1520,11 @@ var commands = {
1446
1520
  UpdateGatewaySoftwareNowCommand,
1447
1521
  UpdateHypervisorCommand
1448
1522
  };
1449
- var _BackupGateway = class _BackupGateway extends BackupGatewayClient {
1523
+ var BackupGateway = class extends BackupGatewayClient {
1524
+ static {
1525
+ __name(this, "BackupGateway");
1526
+ }
1450
1527
  };
1451
- __name(_BackupGateway, "BackupGateway");
1452
- var BackupGateway = _BackupGateway;
1453
1528
  (0, import_smithy_client.createAggregatedClient)(commands, BackupGateway);
1454
1529
 
1455
1530
  // src/pagination/ListGatewaysPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class BackupGatewayClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,84 +1,96 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { BackupGatewayServiceException as __BaseException } from "./BackupGatewayServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
6
+ ErrorCode;
7
+ Message;
4
8
  constructor(opts) {
5
9
  super({
6
10
  name: "AccessDeniedException",
7
11
  $fault: "client",
8
12
  ...opts,
9
13
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
14
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
15
  this.ErrorCode = opts.ErrorCode;
14
16
  this.Message = opts.Message;
15
17
  }
16
18
  }
17
19
  export class ConflictException extends __BaseException {
20
+ name = "ConflictException";
21
+ $fault = "client";
22
+ ErrorCode;
23
+ Message;
18
24
  constructor(opts) {
19
25
  super({
20
26
  name: "ConflictException",
21
27
  $fault: "client",
22
28
  ...opts,
23
29
  });
24
- this.name = "ConflictException";
25
- this.$fault = "client";
26
30
  Object.setPrototypeOf(this, ConflictException.prototype);
27
31
  this.ErrorCode = opts.ErrorCode;
28
32
  this.Message = opts.Message;
29
33
  }
30
34
  }
31
35
  export class InternalServerException extends __BaseException {
36
+ name = "InternalServerException";
37
+ $fault = "server";
38
+ ErrorCode;
39
+ Message;
32
40
  constructor(opts) {
33
41
  super({
34
42
  name: "InternalServerException",
35
43
  $fault: "server",
36
44
  ...opts,
37
45
  });
38
- this.name = "InternalServerException";
39
- this.$fault = "server";
40
46
  Object.setPrototypeOf(this, InternalServerException.prototype);
41
47
  this.ErrorCode = opts.ErrorCode;
42
48
  this.Message = opts.Message;
43
49
  }
44
50
  }
45
51
  export class ThrottlingException extends __BaseException {
52
+ name = "ThrottlingException";
53
+ $fault = "client";
54
+ ErrorCode;
55
+ Message;
46
56
  constructor(opts) {
47
57
  super({
48
58
  name: "ThrottlingException",
49
59
  $fault: "client",
50
60
  ...opts,
51
61
  });
52
- this.name = "ThrottlingException";
53
- this.$fault = "client";
54
62
  Object.setPrototypeOf(this, ThrottlingException.prototype);
55
63
  this.ErrorCode = opts.ErrorCode;
56
64
  this.Message = opts.Message;
57
65
  }
58
66
  }
59
67
  export class ValidationException extends __BaseException {
68
+ name = "ValidationException";
69
+ $fault = "client";
70
+ ErrorCode;
71
+ Message;
60
72
  constructor(opts) {
61
73
  super({
62
74
  name: "ValidationException",
63
75
  $fault: "client",
64
76
  ...opts,
65
77
  });
66
- this.name = "ValidationException";
67
- this.$fault = "client";
68
78
  Object.setPrototypeOf(this, ValidationException.prototype);
69
79
  this.ErrorCode = opts.ErrorCode;
70
80
  this.Message = opts.Message;
71
81
  }
72
82
  }
73
83
  export class ResourceNotFoundException extends __BaseException {
84
+ name = "ResourceNotFoundException";
85
+ $fault = "client";
86
+ ErrorCode;
87
+ Message;
74
88
  constructor(opts) {
75
89
  super({
76
90
  name: "ResourceNotFoundException",
77
91
  $fault: "client",
78
92
  ...opts,
79
93
  });
80
- this.name = "ResourceNotFoundException";
81
- this.$fault = "client";
82
94
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
83
95
  this.ErrorCode = opts.ErrorCode;
84
96
  this.Message = opts.Message;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-backup-gateway",
3
3
  "description": "AWS SDK for JavaScript Backup Gateway Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.726.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-backup-gateway",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {