@aws-sdk/client-backup-gateway 3.489.0 → 3.495.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 (42) hide show
  1. package/dist-cjs/BackupGateway.js +1 -61
  2. package/dist-cjs/BackupGatewayClient.js +1 -43
  3. package/dist-cjs/commands/AssociateGatewayToServerCommand.js +1 -28
  4. package/dist-cjs/commands/CreateGatewayCommand.js +1 -28
  5. package/dist-cjs/commands/DeleteGatewayCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteHypervisorCommand.js +1 -28
  7. package/dist-cjs/commands/DisassociateGatewayFromServerCommand.js +1 -28
  8. package/dist-cjs/commands/GetBandwidthRateLimitScheduleCommand.js +1 -28
  9. package/dist-cjs/commands/GetGatewayCommand.js +1 -28
  10. package/dist-cjs/commands/GetHypervisorCommand.js +1 -28
  11. package/dist-cjs/commands/GetHypervisorPropertyMappingsCommand.js +1 -28
  12. package/dist-cjs/commands/GetVirtualMachineCommand.js +1 -28
  13. package/dist-cjs/commands/ImportHypervisorConfigurationCommand.js +1 -29
  14. package/dist-cjs/commands/ListGatewaysCommand.js +1 -28
  15. package/dist-cjs/commands/ListHypervisorsCommand.js +1 -28
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  17. package/dist-cjs/commands/ListVirtualMachinesCommand.js +1 -28
  18. package/dist-cjs/commands/PutBandwidthRateLimitScheduleCommand.js +1 -28
  19. package/dist-cjs/commands/PutHypervisorPropertyMappingsCommand.js +1 -28
  20. package/dist-cjs/commands/PutMaintenanceStartTimeCommand.js +1 -28
  21. package/dist-cjs/commands/StartVirtualMachinesMetadataSyncCommand.js +1 -28
  22. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  23. package/dist-cjs/commands/TestHypervisorConfigurationCommand.js +1 -29
  24. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  25. package/dist-cjs/commands/UpdateGatewayInformationCommand.js +1 -28
  26. package/dist-cjs/commands/UpdateGatewaySoftwareNowCommand.js +1 -28
  27. package/dist-cjs/commands/UpdateHypervisorCommand.js +1 -29
  28. package/dist-cjs/commands/index.js +1 -28
  29. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  30. package/dist-cjs/extensionConfiguration.js +1 -2
  31. package/dist-cjs/index.js +2267 -11
  32. package/dist-cjs/models/BackupGatewayServiceException.js +1 -12
  33. package/dist-cjs/models/index.js +1 -4
  34. package/dist-cjs/models/models_0.js +1 -129
  35. package/dist-cjs/pagination/Interfaces.js +1 -2
  36. package/dist-cjs/pagination/ListGatewaysPaginator.js +1 -7
  37. package/dist-cjs/pagination/ListHypervisorsPaginator.js +1 -7
  38. package/dist-cjs/pagination/ListVirtualMachinesPaginator.js +1 -7
  39. package/dist-cjs/pagination/index.js +1 -7
  40. package/dist-cjs/protocols/Aws_json1_0.js +1 -1480
  41. package/dist-cjs/runtimeExtensions.js +1 -22
  42. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BackupGatewayServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class BackupGatewayServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, BackupGatewayServiceException.prototype);
10
- }
11
- }
12
- exports.BackupGatewayServiceException = BackupGatewayServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,129 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateHypervisorInputFilterSensitiveLog = exports.ImportHypervisorConfigurationInputFilterSensitiveLog = exports.TestHypervisorConfigurationInputFilterSensitiveLog = exports.HypervisorState = exports.SyncMetadataStatus = exports.GatewayType = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const BackupGatewayServiceException_1 = require("./BackupGatewayServiceException");
6
- class AccessDeniedException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "AccessDeniedException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "AccessDeniedException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- this.ErrorCode = opts.ErrorCode;
17
- this.Message = opts.Message;
18
- }
19
- }
20
- exports.AccessDeniedException = AccessDeniedException;
21
- class ConflictException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
22
- constructor(opts) {
23
- super({
24
- name: "ConflictException",
25
- $fault: "client",
26
- ...opts,
27
- });
28
- this.name = "ConflictException";
29
- this.$fault = "client";
30
- Object.setPrototypeOf(this, ConflictException.prototype);
31
- this.ErrorCode = opts.ErrorCode;
32
- this.Message = opts.Message;
33
- }
34
- }
35
- exports.ConflictException = ConflictException;
36
- class InternalServerException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
37
- constructor(opts) {
38
- super({
39
- name: "InternalServerException",
40
- $fault: "server",
41
- ...opts,
42
- });
43
- this.name = "InternalServerException";
44
- this.$fault = "server";
45
- Object.setPrototypeOf(this, InternalServerException.prototype);
46
- this.ErrorCode = opts.ErrorCode;
47
- this.Message = opts.Message;
48
- }
49
- }
50
- exports.InternalServerException = InternalServerException;
51
- class ThrottlingException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
52
- constructor(opts) {
53
- super({
54
- name: "ThrottlingException",
55
- $fault: "client",
56
- ...opts,
57
- });
58
- this.name = "ThrottlingException";
59
- this.$fault = "client";
60
- Object.setPrototypeOf(this, ThrottlingException.prototype);
61
- this.ErrorCode = opts.ErrorCode;
62
- this.Message = opts.Message;
63
- }
64
- }
65
- exports.ThrottlingException = ThrottlingException;
66
- class ValidationException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
67
- constructor(opts) {
68
- super({
69
- name: "ValidationException",
70
- $fault: "client",
71
- ...opts,
72
- });
73
- this.name = "ValidationException";
74
- this.$fault = "client";
75
- Object.setPrototypeOf(this, ValidationException.prototype);
76
- this.ErrorCode = opts.ErrorCode;
77
- this.Message = opts.Message;
78
- }
79
- }
80
- exports.ValidationException = ValidationException;
81
- class ResourceNotFoundException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
82
- constructor(opts) {
83
- super({
84
- name: "ResourceNotFoundException",
85
- $fault: "client",
86
- ...opts,
87
- });
88
- this.name = "ResourceNotFoundException";
89
- this.$fault = "client";
90
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
91
- this.ErrorCode = opts.ErrorCode;
92
- this.Message = opts.Message;
93
- }
94
- }
95
- exports.ResourceNotFoundException = ResourceNotFoundException;
96
- exports.GatewayType = {
97
- BACKUP_VM: "BACKUP_VM",
98
- };
99
- exports.SyncMetadataStatus = {
100
- CREATED: "CREATED",
101
- FAILED: "FAILED",
102
- PARTIALLY_FAILED: "PARTIALLY_FAILED",
103
- RUNNING: "RUNNING",
104
- SUCCEEDED: "SUCCEEDED",
105
- };
106
- exports.HypervisorState = {
107
- ERROR: "ERROR",
108
- OFFLINE: "OFFLINE",
109
- ONLINE: "ONLINE",
110
- PENDING: "PENDING",
111
- };
112
- const TestHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
113
- ...obj,
114
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
115
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
116
- });
117
- exports.TestHypervisorConfigurationInputFilterSensitiveLog = TestHypervisorConfigurationInputFilterSensitiveLog;
118
- const ImportHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
119
- ...obj,
120
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
121
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
122
- });
123
- exports.ImportHypervisorConfigurationInputFilterSensitiveLog = ImportHypervisorConfigurationInputFilterSensitiveLog;
124
- const UpdateHypervisorInputFilterSensitiveLog = (obj) => ({
125
- ...obj,
126
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
127
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
128
- });
129
- exports.UpdateHypervisorInputFilterSensitiveLog = UpdateHypervisorInputFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListGateways = void 0;
4
- const core_1 = require("@smithy/core");
5
- const BackupGatewayClient_1 = require("../BackupGatewayClient");
6
- const ListGatewaysCommand_1 = require("../commands/ListGatewaysCommand");
7
- exports.paginateListGateways = (0, core_1.createPaginator)(BackupGatewayClient_1.BackupGatewayClient, ListGatewaysCommand_1.ListGatewaysCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListHypervisors = void 0;
4
- const core_1 = require("@smithy/core");
5
- const BackupGatewayClient_1 = require("../BackupGatewayClient");
6
- const ListHypervisorsCommand_1 = require("../commands/ListHypervisorsCommand");
7
- exports.paginateListHypervisors = (0, core_1.createPaginator)(BackupGatewayClient_1.BackupGatewayClient, ListHypervisorsCommand_1.ListHypervisorsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListVirtualMachines = void 0;
4
- const core_1 = require("@smithy/core");
5
- const BackupGatewayClient_1 = require("../BackupGatewayClient");
6
- const ListVirtualMachinesCommand_1 = require("../commands/ListVirtualMachinesCommand");
7
- exports.paginateListVirtualMachines = (0, core_1.createPaginator)(BackupGatewayClient_1.BackupGatewayClient, ListVirtualMachinesCommand_1.ListVirtualMachinesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListGatewaysPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListHypervisorsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListVirtualMachinesPaginator"), exports);
1
+ module.exports = require("../index.js");