@aws-sdk/client-backup-gateway 3.128.0 → 3.137.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 (44) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/commands/AssociateGatewayToServerCommand.js +2 -2
  3. package/dist-cjs/commands/CreateGatewayCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteGatewayCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteHypervisorCommand.js +2 -2
  6. package/dist-cjs/commands/DisassociateGatewayFromServerCommand.js +2 -2
  7. package/dist-cjs/commands/GetGatewayCommand.js +2 -2
  8. package/dist-cjs/commands/ImportHypervisorConfigurationCommand.js +2 -2
  9. package/dist-cjs/commands/ListGatewaysCommand.js +2 -2
  10. package/dist-cjs/commands/ListHypervisorsCommand.js +2 -2
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  12. package/dist-cjs/commands/ListVirtualMachinesCommand.js +2 -2
  13. package/dist-cjs/commands/PutMaintenanceStartTimeCommand.js +2 -2
  14. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  15. package/dist-cjs/commands/TestHypervisorConfigurationCommand.js +2 -2
  16. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  17. package/dist-cjs/commands/UpdateGatewayInformationCommand.js +2 -2
  18. package/dist-cjs/commands/UpdateGatewaySoftwareNowCommand.js +2 -2
  19. package/dist-cjs/commands/UpdateHypervisorCommand.js +2 -2
  20. package/dist-cjs/models/models_0.js +171 -253
  21. package/dist-cjs/protocols/Aws_json1_0.js +3 -0
  22. package/dist-es/commands/AssociateGatewayToServerCommand.js +3 -3
  23. package/dist-es/commands/CreateGatewayCommand.js +3 -3
  24. package/dist-es/commands/DeleteGatewayCommand.js +3 -3
  25. package/dist-es/commands/DeleteHypervisorCommand.js +3 -3
  26. package/dist-es/commands/DisassociateGatewayFromServerCommand.js +3 -3
  27. package/dist-es/commands/GetGatewayCommand.js +3 -3
  28. package/dist-es/commands/ImportHypervisorConfigurationCommand.js +3 -3
  29. package/dist-es/commands/ListGatewaysCommand.js +3 -3
  30. package/dist-es/commands/ListHypervisorsCommand.js +3 -3
  31. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  32. package/dist-es/commands/ListVirtualMachinesCommand.js +3 -3
  33. package/dist-es/commands/PutMaintenanceStartTimeCommand.js +3 -3
  34. package/dist-es/commands/TagResourceCommand.js +3 -3
  35. package/dist-es/commands/TestHypervisorConfigurationCommand.js +3 -3
  36. package/dist-es/commands/UntagResourceCommand.js +3 -3
  37. package/dist-es/commands/UpdateGatewayInformationCommand.js +3 -3
  38. package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +3 -3
  39. package/dist-es/commands/UpdateHypervisorCommand.js +3 -3
  40. package/dist-es/models/models_0.js +41 -164
  41. package/dist-es/protocols/Aws_json1_0.js +3 -0
  42. package/dist-types/models/models_0.d.ts +164 -246
  43. package/dist-types/ts3.4/models/models_0.d.ts +82 -164
  44. package/package.json +9 -9
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListHypervisorsInput, ListHypervisorsOutput } from "../models/models_0";
4
+ import { ListHypervisorsInputFilterSensitiveLog, ListHypervisorsOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0ListHypervisorsCommand, serializeAws_json1_0ListHypervisorsCommand, } from "../protocols/Aws_json1_0";
6
6
  var ListHypervisorsCommand = (function (_super) {
7
7
  __extends(ListHypervisorsCommand, _super);
@@ -20,8 +20,8 @@ var ListHypervisorsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListHypervisorsInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListHypervisorsOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListHypervisorsInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListHypervisorsOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
4
+ import { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0ListTagsForResourceCommand, serializeAws_json1_0ListTagsForResourceCommand, } from "../protocols/Aws_json1_0";
6
6
  var ListTagsForResourceCommand = (function (_super) {
7
7
  __extends(ListTagsForResourceCommand, _super);
@@ -20,8 +20,8 @@ var ListTagsForResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListTagsForResourceInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListTagsForResourceOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListVirtualMachinesInput, ListVirtualMachinesOutput } from "../models/models_0";
4
+ import { ListVirtualMachinesInputFilterSensitiveLog, ListVirtualMachinesOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0ListVirtualMachinesCommand, serializeAws_json1_0ListVirtualMachinesCommand, } from "../protocols/Aws_json1_0";
6
6
  var ListVirtualMachinesCommand = (function (_super) {
7
7
  __extends(ListVirtualMachinesCommand, _super);
@@ -20,8 +20,8 @@ var ListVirtualMachinesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListVirtualMachinesInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListVirtualMachinesOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListVirtualMachinesInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListVirtualMachinesOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { PutMaintenanceStartTimeInput, PutMaintenanceStartTimeOutput } from "../models/models_0";
4
+ import { PutMaintenanceStartTimeInputFilterSensitiveLog, PutMaintenanceStartTimeOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0PutMaintenanceStartTimeCommand, serializeAws_json1_0PutMaintenanceStartTimeCommand, } from "../protocols/Aws_json1_0";
6
6
  var PutMaintenanceStartTimeCommand = (function (_super) {
7
7
  __extends(PutMaintenanceStartTimeCommand, _super);
@@ -20,8 +20,8 @@ var PutMaintenanceStartTimeCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: PutMaintenanceStartTimeInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: PutMaintenanceStartTimeOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: PutMaintenanceStartTimeInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: PutMaintenanceStartTimeOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { TagResourceInput, TagResourceOutput } from "../models/models_0";
4
+ import { TagResourceInputFilterSensitiveLog, TagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
6
6
  var TagResourceCommand = (function (_super) {
7
7
  __extends(TagResourceCommand, _super);
@@ -20,8 +20,8 @@ var TagResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: TagResourceInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: TagResourceOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: TagResourceOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { TestHypervisorConfigurationInput, TestHypervisorConfigurationOutput } from "../models/models_0";
4
+ import { TestHypervisorConfigurationInputFilterSensitiveLog, TestHypervisorConfigurationOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0TestHypervisorConfigurationCommand, serializeAws_json1_0TestHypervisorConfigurationCommand, } from "../protocols/Aws_json1_0";
6
6
  var TestHypervisorConfigurationCommand = (function (_super) {
7
7
  __extends(TestHypervisorConfigurationCommand, _super);
@@ -20,8 +20,8 @@ var TestHypervisorConfigurationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: TestHypervisorConfigurationInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: TestHypervisorConfigurationOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: TestHypervisorConfigurationInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: TestHypervisorConfigurationOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
4
+ import { UntagResourceInputFilterSensitiveLog, UntagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0UntagResourceCommand, serializeAws_json1_0UntagResourceCommand, } from "../protocols/Aws_json1_0";
6
6
  var UntagResourceCommand = (function (_super) {
7
7
  __extends(UntagResourceCommand, _super);
@@ -20,8 +20,8 @@ var UntagResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UntagResourceInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: UntagResourceOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UntagResourceInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UntagResourceOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateGatewayInformationInput, UpdateGatewayInformationOutput } from "../models/models_0";
4
+ import { UpdateGatewayInformationInputFilterSensitiveLog, UpdateGatewayInformationOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0UpdateGatewayInformationCommand, serializeAws_json1_0UpdateGatewayInformationCommand, } from "../protocols/Aws_json1_0";
6
6
  var UpdateGatewayInformationCommand = (function (_super) {
7
7
  __extends(UpdateGatewayInformationCommand, _super);
@@ -20,8 +20,8 @@ var UpdateGatewayInformationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UpdateGatewayInformationInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: UpdateGatewayInformationOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UpdateGatewayInformationInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateGatewayInformationOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateGatewaySoftwareNowInput, UpdateGatewaySoftwareNowOutput } from "../models/models_0";
4
+ import { UpdateGatewaySoftwareNowInputFilterSensitiveLog, UpdateGatewaySoftwareNowOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0UpdateGatewaySoftwareNowCommand, serializeAws_json1_0UpdateGatewaySoftwareNowCommand, } from "../protocols/Aws_json1_0";
6
6
  var UpdateGatewaySoftwareNowCommand = (function (_super) {
7
7
  __extends(UpdateGatewaySoftwareNowCommand, _super);
@@ -20,8 +20,8 @@ var UpdateGatewaySoftwareNowCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UpdateGatewaySoftwareNowInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: UpdateGatewaySoftwareNowOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UpdateGatewaySoftwareNowInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateGatewaySoftwareNowOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateHypervisorInput, UpdateHypervisorOutput } from "../models/models_0";
4
+ import { UpdateHypervisorInputFilterSensitiveLog, UpdateHypervisorOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0UpdateHypervisorCommand, serializeAws_json1_0UpdateHypervisorCommand, } from "../protocols/Aws_json1_0";
6
6
  var UpdateHypervisorCommand = (function (_super) {
7
7
  __extends(UpdateHypervisorCommand, _super);
@@ -20,8 +20,8 @@ var UpdateHypervisorCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UpdateHypervisorInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: UpdateHypervisorOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UpdateHypervisorInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateHypervisorOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -15,14 +15,6 @@ var AccessDeniedException = (function (_super) {
15
15
  return AccessDeniedException;
16
16
  }(__BaseException));
17
17
  export { AccessDeniedException };
18
- export var AssociateGatewayToServerInput;
19
- (function (AssociateGatewayToServerInput) {
20
- AssociateGatewayToServerInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
- })(AssociateGatewayToServerInput || (AssociateGatewayToServerInput = {}));
22
- export var AssociateGatewayToServerOutput;
23
- (function (AssociateGatewayToServerOutput) {
24
- AssociateGatewayToServerOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
- })(AssociateGatewayToServerOutput || (AssociateGatewayToServerOutput = {}));
26
18
  var ConflictException = (function (_super) {
27
19
  __extends(ConflictException, _super);
28
20
  function ConflictException(opts) {
@@ -69,26 +61,6 @@ export var GatewayType;
69
61
  (function (GatewayType) {
70
62
  GatewayType["BACKUP_VM"] = "BACKUP_VM";
71
63
  })(GatewayType || (GatewayType = {}));
72
- export var Tag;
73
- (function (Tag) {
74
- Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
75
- })(Tag || (Tag = {}));
76
- export var CreateGatewayInput;
77
- (function (CreateGatewayInput) {
78
- CreateGatewayInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
79
- })(CreateGatewayInput || (CreateGatewayInput = {}));
80
- export var CreateGatewayOutput;
81
- (function (CreateGatewayOutput) {
82
- CreateGatewayOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
83
- })(CreateGatewayOutput || (CreateGatewayOutput = {}));
84
- export var DeleteGatewayInput;
85
- (function (DeleteGatewayInput) {
86
- DeleteGatewayInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
87
- })(DeleteGatewayInput || (DeleteGatewayInput = {}));
88
- export var DeleteGatewayOutput;
89
- (function (DeleteGatewayOutput) {
90
- DeleteGatewayOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
91
- })(DeleteGatewayOutput || (DeleteGatewayOutput = {}));
92
64
  var ResourceNotFoundException = (function (_super) {
93
65
  __extends(ResourceNotFoundException, _super);
94
66
  function ResourceNotFoundException(opts) {
@@ -103,90 +75,6 @@ var ResourceNotFoundException = (function (_super) {
103
75
  return ResourceNotFoundException;
104
76
  }(__BaseException));
105
77
  export { ResourceNotFoundException };
106
- export var DisassociateGatewayFromServerInput;
107
- (function (DisassociateGatewayFromServerInput) {
108
- DisassociateGatewayFromServerInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
- })(DisassociateGatewayFromServerInput || (DisassociateGatewayFromServerInput = {}));
110
- export var DisassociateGatewayFromServerOutput;
111
- (function (DisassociateGatewayFromServerOutput) {
112
- DisassociateGatewayFromServerOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
113
- })(DisassociateGatewayFromServerOutput || (DisassociateGatewayFromServerOutput = {}));
114
- export var GetGatewayInput;
115
- (function (GetGatewayInput) {
116
- GetGatewayInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
117
- })(GetGatewayInput || (GetGatewayInput = {}));
118
- export var GatewayDetails;
119
- (function (GatewayDetails) {
120
- GatewayDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
121
- })(GatewayDetails || (GatewayDetails = {}));
122
- export var GetGatewayOutput;
123
- (function (GetGatewayOutput) {
124
- GetGatewayOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
125
- })(GetGatewayOutput || (GetGatewayOutput = {}));
126
- export var ListGatewaysInput;
127
- (function (ListGatewaysInput) {
128
- ListGatewaysInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
129
- })(ListGatewaysInput || (ListGatewaysInput = {}));
130
- export var Gateway;
131
- (function (Gateway) {
132
- Gateway.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
133
- })(Gateway || (Gateway = {}));
134
- export var ListGatewaysOutput;
135
- (function (ListGatewaysOutput) {
136
- ListGatewaysOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
137
- })(ListGatewaysOutput || (ListGatewaysOutput = {}));
138
- export var PutMaintenanceStartTimeInput;
139
- (function (PutMaintenanceStartTimeInput) {
140
- PutMaintenanceStartTimeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
141
- })(PutMaintenanceStartTimeInput || (PutMaintenanceStartTimeInput = {}));
142
- export var PutMaintenanceStartTimeOutput;
143
- (function (PutMaintenanceStartTimeOutput) {
144
- PutMaintenanceStartTimeOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
145
- })(PutMaintenanceStartTimeOutput || (PutMaintenanceStartTimeOutput = {}));
146
- export var TestHypervisorConfigurationInput;
147
- (function (TestHypervisorConfigurationInput) {
148
- TestHypervisorConfigurationInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING })), (obj.Password && { Password: SENSITIVE_STRING }))); };
149
- })(TestHypervisorConfigurationInput || (TestHypervisorConfigurationInput = {}));
150
- export var TestHypervisorConfigurationOutput;
151
- (function (TestHypervisorConfigurationOutput) {
152
- TestHypervisorConfigurationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
153
- })(TestHypervisorConfigurationOutput || (TestHypervisorConfigurationOutput = {}));
154
- export var UpdateGatewayInformationInput;
155
- (function (UpdateGatewayInformationInput) {
156
- UpdateGatewayInformationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
157
- })(UpdateGatewayInformationInput || (UpdateGatewayInformationInput = {}));
158
- export var UpdateGatewayInformationOutput;
159
- (function (UpdateGatewayInformationOutput) {
160
- UpdateGatewayInformationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
161
- })(UpdateGatewayInformationOutput || (UpdateGatewayInformationOutput = {}));
162
- export var UpdateGatewaySoftwareNowInput;
163
- (function (UpdateGatewaySoftwareNowInput) {
164
- UpdateGatewaySoftwareNowInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
165
- })(UpdateGatewaySoftwareNowInput || (UpdateGatewaySoftwareNowInput = {}));
166
- export var UpdateGatewaySoftwareNowOutput;
167
- (function (UpdateGatewaySoftwareNowOutput) {
168
- UpdateGatewaySoftwareNowOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
169
- })(UpdateGatewaySoftwareNowOutput || (UpdateGatewaySoftwareNowOutput = {}));
170
- export var DeleteHypervisorInput;
171
- (function (DeleteHypervisorInput) {
172
- DeleteHypervisorInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
173
- })(DeleteHypervisorInput || (DeleteHypervisorInput = {}));
174
- export var DeleteHypervisorOutput;
175
- (function (DeleteHypervisorOutput) {
176
- DeleteHypervisorOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
177
- })(DeleteHypervisorOutput || (DeleteHypervisorOutput = {}));
178
- export var ImportHypervisorConfigurationInput;
179
- (function (ImportHypervisorConfigurationInput) {
180
- ImportHypervisorConfigurationInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING })), (obj.Password && { Password: SENSITIVE_STRING }))); };
181
- })(ImportHypervisorConfigurationInput || (ImportHypervisorConfigurationInput = {}));
182
- export var ImportHypervisorConfigurationOutput;
183
- (function (ImportHypervisorConfigurationOutput) {
184
- ImportHypervisorConfigurationOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
185
- })(ImportHypervisorConfigurationOutput || (ImportHypervisorConfigurationOutput = {}));
186
- export var ListHypervisorsInput;
187
- (function (ListHypervisorsInput) {
188
- ListHypervisorsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
189
- })(ListHypervisorsInput || (ListHypervisorsInput = {}));
190
78
  export var HypervisorState;
191
79
  (function (HypervisorState) {
192
80
  HypervisorState["ERROR"] = "ERROR";
@@ -194,55 +82,44 @@ export var HypervisorState;
194
82
  HypervisorState["ONLINE"] = "ONLINE";
195
83
  HypervisorState["PENDING"] = "PENDING";
196
84
  })(HypervisorState || (HypervisorState = {}));
197
- export var Hypervisor;
198
- (function (Hypervisor) {
199
- Hypervisor.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
200
- })(Hypervisor || (Hypervisor = {}));
201
- export var ListHypervisorsOutput;
202
- (function (ListHypervisorsOutput) {
203
- ListHypervisorsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
204
- })(ListHypervisorsOutput || (ListHypervisorsOutput = {}));
205
- export var UpdateHypervisorInput;
206
- (function (UpdateHypervisorInput) {
207
- UpdateHypervisorInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING })), (obj.Password && { Password: SENSITIVE_STRING }))); };
208
- })(UpdateHypervisorInput || (UpdateHypervisorInput = {}));
209
- export var UpdateHypervisorOutput;
210
- (function (UpdateHypervisorOutput) {
211
- UpdateHypervisorOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
212
- })(UpdateHypervisorOutput || (UpdateHypervisorOutput = {}));
213
- export var ListTagsForResourceInput;
214
- (function (ListTagsForResourceInput) {
215
- ListTagsForResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
216
- })(ListTagsForResourceInput || (ListTagsForResourceInput = {}));
217
- export var ListTagsForResourceOutput;
218
- (function (ListTagsForResourceOutput) {
219
- ListTagsForResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
220
- })(ListTagsForResourceOutput || (ListTagsForResourceOutput = {}));
221
- export var ListVirtualMachinesInput;
222
- (function (ListVirtualMachinesInput) {
223
- ListVirtualMachinesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
224
- })(ListVirtualMachinesInput || (ListVirtualMachinesInput = {}));
225
- export var VirtualMachine;
226
- (function (VirtualMachine) {
227
- VirtualMachine.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
228
- })(VirtualMachine || (VirtualMachine = {}));
229
- export var ListVirtualMachinesOutput;
230
- (function (ListVirtualMachinesOutput) {
231
- ListVirtualMachinesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
232
- })(ListVirtualMachinesOutput || (ListVirtualMachinesOutput = {}));
233
- export var TagResourceInput;
234
- (function (TagResourceInput) {
235
- TagResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
236
- })(TagResourceInput || (TagResourceInput = {}));
237
- export var TagResourceOutput;
238
- (function (TagResourceOutput) {
239
- TagResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
240
- })(TagResourceOutput || (TagResourceOutput = {}));
241
- export var UntagResourceInput;
242
- (function (UntagResourceInput) {
243
- UntagResourceInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
244
- })(UntagResourceInput || (UntagResourceInput = {}));
245
- export var UntagResourceOutput;
246
- (function (UntagResourceOutput) {
247
- UntagResourceOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
248
- })(UntagResourceOutput || (UntagResourceOutput = {}));
85
+ export var AssociateGatewayToServerInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
86
+ export var AssociateGatewayToServerOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
87
+ export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
88
+ export var CreateGatewayInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
89
+ export var CreateGatewayOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
90
+ export var DeleteGatewayInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
91
+ export var DeleteGatewayOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
92
+ export var DisassociateGatewayFromServerInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
93
+ export var DisassociateGatewayFromServerOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
94
+ export var GetGatewayInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
95
+ export var GatewayDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
96
+ export var GetGatewayOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
97
+ export var ListGatewaysInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
98
+ export var GatewayFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
99
+ export var ListGatewaysOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
100
+ export var PutMaintenanceStartTimeInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
101
+ export var PutMaintenanceStartTimeOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
102
+ export var TestHypervisorConfigurationInputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING })), (obj.Password && { Password: SENSITIVE_STRING }))); };
103
+ export var TestHypervisorConfigurationOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
104
+ export var UpdateGatewayInformationInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
105
+ export var UpdateGatewayInformationOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
106
+ export var UpdateGatewaySoftwareNowInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
107
+ export var UpdateGatewaySoftwareNowOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
108
+ export var DeleteHypervisorInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
109
+ export var DeleteHypervisorOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
110
+ export var ImportHypervisorConfigurationInputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING })), (obj.Password && { Password: SENSITIVE_STRING }))); };
111
+ export var ImportHypervisorConfigurationOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
112
+ export var ListHypervisorsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
113
+ export var HypervisorFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
114
+ export var ListHypervisorsOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
115
+ export var UpdateHypervisorInputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Username && { Username: SENSITIVE_STRING })), (obj.Password && { Password: SENSITIVE_STRING }))); };
116
+ export var UpdateHypervisorOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
117
+ export var ListTagsForResourceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
118
+ export var ListTagsForResourceOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
119
+ export var ListVirtualMachinesInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
120
+ export var VirtualMachineFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
121
+ export var ListVirtualMachinesOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
122
+ export var TagResourceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
123
+ export var TagResourceOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
124
+ export var UntagResourceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
125
+ export var UntagResourceOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1670,6 +1670,9 @@ var loadRestJsonErrorCode = function (output, data) {
1670
1670
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
1671
1671
  var sanitizeErrorCode = function (rawValue) {
1672
1672
  var cleanValue = rawValue;
1673
+ if (typeof cleanValue === "number") {
1674
+ cleanValue = cleanValue.toString();
1675
+ }
1673
1676
  if (cleanValue.indexOf(":") >= 0) {
1674
1677
  cleanValue = cleanValue.split(":")[0];
1675
1678
  }