@aws-sdk/client-backup-gateway 3.987.0 → 3.989.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.
@@ -134,8 +134,8 @@ const _URI = "UntagResourceInput";
134
134
  const _URO = "UntagResourceOutput";
135
135
  const _V = "Value";
136
136
  const _VC = "VmwareCategory";
137
- const _VE = "VpcEndpoint";
138
- const _VEa = "ValidationException";
137
+ const _VE = "ValidationException";
138
+ const _VEp = "VpcEndpoint";
139
139
  const _VM = "VirtualMachine";
140
140
  const _VMD = "VirtualMachineDetails";
141
141
  const _VMi = "VirtualMachines";
@@ -148,20 +148,58 @@ const _VTm = "VmwareTag";
148
148
  const _c = "client";
149
149
  const _e = "error";
150
150
  const _hE = "httpError";
151
- const _s = "server";
152
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.backupgateway";
151
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.backupgateway";
152
+ const _se = "server";
153
153
  const n0 = "com.amazonaws.backupgateway";
154
154
  import { TypeRegistry } from "@smithy/core/schema";
155
155
  import { BackupGatewayServiceException } from "../models/BackupGatewayServiceException";
156
156
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
157
- var Password = [0, n0, _P, 8, 0];
158
- var Username = [0, n0, _U, 8, 0];
157
+ const _s_registry = TypeRegistry.for(_s);
158
+ export var BackupGatewayServiceException$ = [-3, _s, "BackupGatewayServiceException", 0, [], []];
159
+ _s_registry.registerError(BackupGatewayServiceException$, BackupGatewayServiceException);
160
+ const n0_registry = TypeRegistry.for(n0);
159
161
  export var AccessDeniedException$ = [-3, n0, _ADE,
160
162
  { [_e]: _c, [_hE]: 403 },
161
163
  [_EC, _M],
162
164
  [0, 0], 1
163
165
  ];
164
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
166
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
167
+ export var ConflictException$ = [-3, n0, _CE,
168
+ { [_e]: _c, [_hE]: 409 },
169
+ [_EC, _M],
170
+ [0, 0], 1
171
+ ];
172
+ n0_registry.registerError(ConflictException$, ConflictException);
173
+ export var InternalServerException$ = [-3, n0, _ISE,
174
+ { [_e]: _se, [_hE]: 500 },
175
+ [_EC, _M],
176
+ [0, 0]
177
+ ];
178
+ n0_registry.registerError(InternalServerException$, InternalServerException);
179
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
180
+ { [_e]: _c, [_hE]: 404 },
181
+ [_EC, _M],
182
+ [0, 0]
183
+ ];
184
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
185
+ export var ThrottlingException$ = [-3, n0, _TE,
186
+ { [_e]: _c, [_hE]: 429 },
187
+ [_EC, _M],
188
+ [0, 0], 1
189
+ ];
190
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
191
+ export var ValidationException$ = [-3, n0, _VE,
192
+ { [_e]: _c, [_hE]: 400 },
193
+ [_EC, _M],
194
+ [0, 0]
195
+ ];
196
+ n0_registry.registerError(ValidationException$, ValidationException);
197
+ export const errorTypeRegistries = [
198
+ _s_registry,
199
+ n0_registry,
200
+ ];
201
+ var Password = [0, n0, _P, 8, 0];
202
+ var Username = [0, n0, _U, 8, 0];
165
203
  export var AssociateGatewayToServerInput$ = [3, n0, _AGTSI,
166
204
  0,
167
205
  [_GA, _SA],
@@ -177,12 +215,6 @@ export var BandwidthRateLimitInterval$ = [3, n0, _BRLI,
177
215
  [_SHOD, _EHOD, _SMOH, _EMOH, _DOW, _AURLIBPS],
178
216
  [1, 1, 1, 1, 64 | 1, 1], 5
179
217
  ];
180
- export var ConflictException$ = [-3, n0, _CE,
181
- { [_e]: _c, [_hE]: 409 },
182
- [_EC, _M],
183
- [0, 0], 1
184
- ];
185
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
186
218
  export var CreateGatewayInput$ = [3, n0, _CGI,
187
219
  0,
188
220
  [_AK, _GDN, _GT, _T],
@@ -230,7 +262,7 @@ export var Gateway$ = [3, n0, _G,
230
262
  ];
231
263
  export var GatewayDetails$ = [3, n0, _GD,
232
264
  0,
233
- [_GA, _GDN, _GT, _HI, _LST, _MST, _NUAT, _VE],
265
+ [_GA, _GDN, _GT, _HI, _LST, _MST, _NUAT, _VEp],
234
266
  [0, 0, 0, 0, 4, () => MaintenanceStartTime$, 4, 0]
235
267
  ];
236
268
  export var GetBandwidthRateLimitScheduleInput$ = [3, n0, _GBRLSI,
@@ -303,12 +335,6 @@ export var ImportHypervisorConfigurationOutput$ = [3, n0, _IHCO,
303
335
  [_HA],
304
336
  [0]
305
337
  ];
306
- export var InternalServerException$ = [-3, n0, _ISE,
307
- { [_e]: _s, [_hE]: 500 },
308
- [_EC, _M],
309
- [0, 0]
310
- ];
311
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
312
338
  export var ListGatewaysInput$ = [3, n0, _LGI,
313
339
  0,
314
340
  [_MR, _NT],
@@ -384,12 +410,6 @@ export var PutMaintenanceStartTimeOutput$ = [3, n0, _PMSTO,
384
410
  [_GA],
385
411
  [0]
386
412
  ];
387
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
388
- { [_e]: _c, [_hE]: 404 },
389
- [_EC, _M],
390
- [0, 0]
391
- ];
392
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
393
413
  export var StartVirtualMachinesMetadataSyncInput$ = [3, n0, _SVMMSI,
394
414
  0,
395
415
  [_HA],
@@ -425,12 +445,6 @@ export var TestHypervisorConfigurationOutput$ = [3, n0, _THCO,
425
445
  [],
426
446
  []
427
447
  ];
428
- export var ThrottlingException$ = [-3, n0, _TE,
429
- { [_e]: _c, [_hE]: 429 },
430
- [_EC, _M],
431
- [0, 0], 1
432
- ];
433
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
434
448
  export var UntagResourceInput$ = [3, n0, _URI,
435
449
  0,
436
450
  [_RARN, _TK],
@@ -471,12 +485,6 @@ export var UpdateHypervisorOutput$ = [3, n0, _UHO,
471
485
  [_HA],
472
486
  [0]
473
487
  ];
474
- export var ValidationException$ = [-3, n0, _VEa,
475
- { [_e]: _c, [_hE]: 400 },
476
- [_EC, _M],
477
- [0, 0]
478
- ];
479
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
480
488
  export var VirtualMachine$ = [3, n0, _VM,
481
489
  0,
482
490
  [_HN, _HI, _N, _Pa, _RA, _LBD],
@@ -497,8 +505,6 @@ export var VmwareToAwsTagMapping$ = [3, n0, _VTATMm,
497
505
  [_VC, _VTN, _ATK, _ATV],
498
506
  [0, 0, 0, 0], 4
499
507
  ];
500
- export var BackupGatewayServiceException$ = [-3, _sm, "BackupGatewayServiceException", 0, [], []];
501
- TypeRegistry.for(_sm).registerError(BackupGatewayServiceException$, BackupGatewayServiceException);
502
508
  var BandwidthRateLimitIntervals = [1, n0, _BRLIa,
503
509
  0, () => BandwidthRateLimitInterval$
504
510
  ];
@@ -1,9 +1,21 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var BackupGatewayServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ThrottlingException$: StaticErrorSchema;
9
+ export declare var ValidationException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
3
16
  export declare var AssociateGatewayToServerInput$: StaticStructureSchema;
4
17
  export declare var AssociateGatewayToServerOutput$: StaticStructureSchema;
5
18
  export declare var BandwidthRateLimitInterval$: StaticStructureSchema;
6
- export declare var ConflictException$: StaticErrorSchema;
7
19
  export declare var CreateGatewayInput$: StaticStructureSchema;
8
20
  export declare var CreateGatewayOutput$: StaticStructureSchema;
9
21
  export declare var DeleteGatewayInput$: StaticStructureSchema;
@@ -28,7 +40,6 @@ export declare var Hypervisor$: StaticStructureSchema;
28
40
  export declare var HypervisorDetails$: StaticStructureSchema;
29
41
  export declare var ImportHypervisorConfigurationInput$: StaticStructureSchema;
30
42
  export declare var ImportHypervisorConfigurationOutput$: StaticStructureSchema;
31
- export declare var InternalServerException$: StaticErrorSchema;
32
43
  export declare var ListGatewaysInput$: StaticStructureSchema;
33
44
  export declare var ListGatewaysOutput$: StaticStructureSchema;
34
45
  export declare var ListHypervisorsInput$: StaticStructureSchema;
@@ -44,7 +55,6 @@ export declare var PutHypervisorPropertyMappingsInput$: StaticStructureSchema;
44
55
  export declare var PutHypervisorPropertyMappingsOutput$: StaticStructureSchema;
45
56
  export declare var PutMaintenanceStartTimeInput$: StaticStructureSchema;
46
57
  export declare var PutMaintenanceStartTimeOutput$: StaticStructureSchema;
47
- export declare var ResourceNotFoundException$: StaticErrorSchema;
48
58
  export declare var StartVirtualMachinesMetadataSyncInput$: StaticStructureSchema;
49
59
  export declare var StartVirtualMachinesMetadataSyncOutput$: StaticStructureSchema;
50
60
  export declare var Tag$: StaticStructureSchema;
@@ -52,7 +62,6 @@ export declare var TagResourceInput$: StaticStructureSchema;
52
62
  export declare var TagResourceOutput$: StaticStructureSchema;
53
63
  export declare var TestHypervisorConfigurationInput$: StaticStructureSchema;
54
64
  export declare var TestHypervisorConfigurationOutput$: StaticStructureSchema;
55
- export declare var ThrottlingException$: StaticErrorSchema;
56
65
  export declare var UntagResourceInput$: StaticStructureSchema;
57
66
  export declare var UntagResourceOutput$: StaticStructureSchema;
58
67
  export declare var UpdateGatewayInformationInput$: StaticStructureSchema;
@@ -61,12 +70,10 @@ export declare var UpdateGatewaySoftwareNowInput$: StaticStructureSchema;
61
70
  export declare var UpdateGatewaySoftwareNowOutput$: StaticStructureSchema;
62
71
  export declare var UpdateHypervisorInput$: StaticStructureSchema;
63
72
  export declare var UpdateHypervisorOutput$: StaticStructureSchema;
64
- export declare var ValidationException$: StaticErrorSchema;
65
73
  export declare var VirtualMachine$: StaticStructureSchema;
66
74
  export declare var VirtualMachineDetails$: StaticStructureSchema;
67
75
  export declare var VmwareTag$: StaticStructureSchema;
68
76
  export declare var VmwareToAwsTagMapping$: StaticStructureSchema;
69
- export declare var BackupGatewayServiceException$: StaticErrorSchema;
70
77
  export declare var AssociateGatewayToServer$: StaticOperationSchema;
71
78
  export declare var CreateGateway$: StaticOperationSchema;
72
79
  export declare var DeleteGateway$: StaticOperationSchema;
@@ -1,13 +1,20 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var BackupGatewayServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
9
+ export declare var ConflictException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ThrottlingException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
7
15
  export declare var AssociateGatewayToServerInput$: StaticStructureSchema;
8
16
  export declare var AssociateGatewayToServerOutput$: StaticStructureSchema;
9
17
  export declare var BandwidthRateLimitInterval$: StaticStructureSchema;
10
- export declare var ConflictException$: StaticErrorSchema;
11
18
  export declare var CreateGatewayInput$: StaticStructureSchema;
12
19
  export declare var CreateGatewayOutput$: StaticStructureSchema;
13
20
  export declare var DeleteGatewayInput$: StaticStructureSchema;
@@ -32,7 +39,6 @@ export declare var Hypervisor$: StaticStructureSchema;
32
39
  export declare var HypervisorDetails$: StaticStructureSchema;
33
40
  export declare var ImportHypervisorConfigurationInput$: StaticStructureSchema;
34
41
  export declare var ImportHypervisorConfigurationOutput$: StaticStructureSchema;
35
- export declare var InternalServerException$: StaticErrorSchema;
36
42
  export declare var ListGatewaysInput$: StaticStructureSchema;
37
43
  export declare var ListGatewaysOutput$: StaticStructureSchema;
38
44
  export declare var ListHypervisorsInput$: StaticStructureSchema;
@@ -48,7 +54,6 @@ export declare var PutHypervisorPropertyMappingsInput$: StaticStructureSchema;
48
54
  export declare var PutHypervisorPropertyMappingsOutput$: StaticStructureSchema;
49
55
  export declare var PutMaintenanceStartTimeInput$: StaticStructureSchema;
50
56
  export declare var PutMaintenanceStartTimeOutput$: StaticStructureSchema;
51
- export declare var ResourceNotFoundException$: StaticErrorSchema;
52
57
  export declare var StartVirtualMachinesMetadataSyncInput$: StaticStructureSchema;
53
58
  export declare var StartVirtualMachinesMetadataSyncOutput$: StaticStructureSchema;
54
59
  export declare var Tag$: StaticStructureSchema;
@@ -56,7 +61,6 @@ export declare var TagResourceInput$: StaticStructureSchema;
56
61
  export declare var TagResourceOutput$: StaticStructureSchema;
57
62
  export declare var TestHypervisorConfigurationInput$: StaticStructureSchema;
58
63
  export declare var TestHypervisorConfigurationOutput$: StaticStructureSchema;
59
- export declare var ThrottlingException$: StaticErrorSchema;
60
64
  export declare var UntagResourceInput$: StaticStructureSchema;
61
65
  export declare var UntagResourceOutput$: StaticStructureSchema;
62
66
  export declare var UpdateGatewayInformationInput$: StaticStructureSchema;
@@ -65,12 +69,10 @@ export declare var UpdateGatewaySoftwareNowInput$: StaticStructureSchema;
65
69
  export declare var UpdateGatewaySoftwareNowOutput$: StaticStructureSchema;
66
70
  export declare var UpdateHypervisorInput$: StaticStructureSchema;
67
71
  export declare var UpdateHypervisorOutput$: StaticStructureSchema;
68
- export declare var ValidationException$: StaticErrorSchema;
69
72
  export declare var VirtualMachine$: StaticStructureSchema;
70
73
  export declare var VirtualMachineDetails$: StaticStructureSchema;
71
74
  export declare var VmwareTag$: StaticStructureSchema;
72
75
  export declare var VmwareToAwsTagMapping$: StaticStructureSchema;
73
- export declare var BackupGatewayServiceException$: StaticErrorSchema;
74
76
  export declare var AssociateGatewayToServer$: StaticOperationSchema;
75
77
  export declare var CreateGateway$: StaticOperationSchema;
76
78
  export declare var DeleteGateway$: StaticOperationSchema;
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.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-backup-gateway",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",