@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,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.ListVirtualMachinesOutput = exports.VirtualMachine = exports.ListVirtualMachinesInput = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = exports.UpdateHypervisorOutput = exports.UpdateHypervisorInput = exports.ListHypervisorsOutput = exports.Hypervisor = exports.HypervisorState = exports.ListHypervisorsInput = exports.ImportHypervisorConfigurationOutput = exports.ImportHypervisorConfigurationInput = exports.DeleteHypervisorOutput = exports.DeleteHypervisorInput = exports.UpdateGatewaySoftwareNowOutput = exports.UpdateGatewaySoftwareNowInput = exports.UpdateGatewayInformationOutput = exports.UpdateGatewayInformationInput = exports.TestHypervisorConfigurationOutput = exports.TestHypervisorConfigurationInput = exports.PutMaintenanceStartTimeOutput = exports.PutMaintenanceStartTimeInput = exports.ListGatewaysOutput = exports.Gateway = exports.ListGatewaysInput = exports.GetGatewayOutput = exports.GatewayDetails = exports.GetGatewayInput = exports.DisassociateGatewayFromServerOutput = exports.DisassociateGatewayFromServerInput = exports.ResourceNotFoundException = exports.DeleteGatewayOutput = exports.DeleteGatewayInput = exports.CreateGatewayOutput = exports.CreateGatewayInput = exports.Tag = exports.GatewayType = exports.ValidationException = exports.InternalServerException = exports.ConflictException = exports.AssociateGatewayToServerOutput = exports.AssociateGatewayToServerInput = exports.AccessDeniedException = void 0;
3
+ exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.ListVirtualMachinesOutputFilterSensitiveLog = exports.VirtualMachineFilterSensitiveLog = exports.ListVirtualMachinesInputFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.UpdateHypervisorOutputFilterSensitiveLog = exports.UpdateHypervisorInputFilterSensitiveLog = exports.ListHypervisorsOutputFilterSensitiveLog = exports.HypervisorFilterSensitiveLog = exports.ListHypervisorsInputFilterSensitiveLog = exports.ImportHypervisorConfigurationOutputFilterSensitiveLog = exports.ImportHypervisorConfigurationInputFilterSensitiveLog = exports.DeleteHypervisorOutputFilterSensitiveLog = exports.DeleteHypervisorInputFilterSensitiveLog = exports.UpdateGatewaySoftwareNowOutputFilterSensitiveLog = exports.UpdateGatewaySoftwareNowInputFilterSensitiveLog = exports.UpdateGatewayInformationOutputFilterSensitiveLog = exports.UpdateGatewayInformationInputFilterSensitiveLog = exports.TestHypervisorConfigurationOutputFilterSensitiveLog = exports.TestHypervisorConfigurationInputFilterSensitiveLog = exports.PutMaintenanceStartTimeOutputFilterSensitiveLog = exports.PutMaintenanceStartTimeInputFilterSensitiveLog = exports.ListGatewaysOutputFilterSensitiveLog = exports.GatewayFilterSensitiveLog = exports.ListGatewaysInputFilterSensitiveLog = exports.GetGatewayOutputFilterSensitiveLog = exports.GatewayDetailsFilterSensitiveLog = exports.GetGatewayInputFilterSensitiveLog = exports.DisassociateGatewayFromServerOutputFilterSensitiveLog = exports.DisassociateGatewayFromServerInputFilterSensitiveLog = exports.DeleteGatewayOutputFilterSensitiveLog = exports.DeleteGatewayInputFilterSensitiveLog = exports.CreateGatewayOutputFilterSensitiveLog = exports.CreateGatewayInputFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.AssociateGatewayToServerOutputFilterSensitiveLog = exports.AssociateGatewayToServerInputFilterSensitiveLog = exports.HypervisorState = exports.ResourceNotFoundException = exports.GatewayType = exports.ValidationException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const BackupGatewayServiceException_1 = require("./BackupGatewayServiceException");
6
6
  class AccessDeniedException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
@@ -18,18 +18,6 @@ class AccessDeniedException extends BackupGatewayServiceException_1.BackupGatewa
18
18
  }
19
19
  }
20
20
  exports.AccessDeniedException = AccessDeniedException;
21
- var AssociateGatewayToServerInput;
22
- (function (AssociateGatewayToServerInput) {
23
- AssociateGatewayToServerInput.filterSensitiveLog = (obj) => ({
24
- ...obj,
25
- });
26
- })(AssociateGatewayToServerInput = exports.AssociateGatewayToServerInput || (exports.AssociateGatewayToServerInput = {}));
27
- var AssociateGatewayToServerOutput;
28
- (function (AssociateGatewayToServerOutput) {
29
- AssociateGatewayToServerOutput.filterSensitiveLog = (obj) => ({
30
- ...obj,
31
- });
32
- })(AssociateGatewayToServerOutput = exports.AssociateGatewayToServerOutput || (exports.AssociateGatewayToServerOutput = {}));
33
21
  class ConflictException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
34
22
  constructor(opts) {
35
23
  super({
@@ -79,36 +67,6 @@ var GatewayType;
79
67
  (function (GatewayType) {
80
68
  GatewayType["BACKUP_VM"] = "BACKUP_VM";
81
69
  })(GatewayType = exports.GatewayType || (exports.GatewayType = {}));
82
- var Tag;
83
- (function (Tag) {
84
- Tag.filterSensitiveLog = (obj) => ({
85
- ...obj,
86
- });
87
- })(Tag = exports.Tag || (exports.Tag = {}));
88
- var CreateGatewayInput;
89
- (function (CreateGatewayInput) {
90
- CreateGatewayInput.filterSensitiveLog = (obj) => ({
91
- ...obj,
92
- });
93
- })(CreateGatewayInput = exports.CreateGatewayInput || (exports.CreateGatewayInput = {}));
94
- var CreateGatewayOutput;
95
- (function (CreateGatewayOutput) {
96
- CreateGatewayOutput.filterSensitiveLog = (obj) => ({
97
- ...obj,
98
- });
99
- })(CreateGatewayOutput = exports.CreateGatewayOutput || (exports.CreateGatewayOutput = {}));
100
- var DeleteGatewayInput;
101
- (function (DeleteGatewayInput) {
102
- DeleteGatewayInput.filterSensitiveLog = (obj) => ({
103
- ...obj,
104
- });
105
- })(DeleteGatewayInput = exports.DeleteGatewayInput || (exports.DeleteGatewayInput = {}));
106
- var DeleteGatewayOutput;
107
- (function (DeleteGatewayOutput) {
108
- DeleteGatewayOutput.filterSensitiveLog = (obj) => ({
109
- ...obj,
110
- });
111
- })(DeleteGatewayOutput = exports.DeleteGatewayOutput || (exports.DeleteGatewayOutput = {}));
112
70
  class ResourceNotFoundException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
113
71
  constructor(opts) {
114
72
  super({
@@ -124,136 +82,6 @@ class ResourceNotFoundException extends BackupGatewayServiceException_1.BackupGa
124
82
  }
125
83
  }
126
84
  exports.ResourceNotFoundException = ResourceNotFoundException;
127
- var DisassociateGatewayFromServerInput;
128
- (function (DisassociateGatewayFromServerInput) {
129
- DisassociateGatewayFromServerInput.filterSensitiveLog = (obj) => ({
130
- ...obj,
131
- });
132
- })(DisassociateGatewayFromServerInput = exports.DisassociateGatewayFromServerInput || (exports.DisassociateGatewayFromServerInput = {}));
133
- var DisassociateGatewayFromServerOutput;
134
- (function (DisassociateGatewayFromServerOutput) {
135
- DisassociateGatewayFromServerOutput.filterSensitiveLog = (obj) => ({
136
- ...obj,
137
- });
138
- })(DisassociateGatewayFromServerOutput = exports.DisassociateGatewayFromServerOutput || (exports.DisassociateGatewayFromServerOutput = {}));
139
- var GetGatewayInput;
140
- (function (GetGatewayInput) {
141
- GetGatewayInput.filterSensitiveLog = (obj) => ({
142
- ...obj,
143
- });
144
- })(GetGatewayInput = exports.GetGatewayInput || (exports.GetGatewayInput = {}));
145
- var GatewayDetails;
146
- (function (GatewayDetails) {
147
- GatewayDetails.filterSensitiveLog = (obj) => ({
148
- ...obj,
149
- });
150
- })(GatewayDetails = exports.GatewayDetails || (exports.GatewayDetails = {}));
151
- var GetGatewayOutput;
152
- (function (GetGatewayOutput) {
153
- GetGatewayOutput.filterSensitiveLog = (obj) => ({
154
- ...obj,
155
- });
156
- })(GetGatewayOutput = exports.GetGatewayOutput || (exports.GetGatewayOutput = {}));
157
- var ListGatewaysInput;
158
- (function (ListGatewaysInput) {
159
- ListGatewaysInput.filterSensitiveLog = (obj) => ({
160
- ...obj,
161
- });
162
- })(ListGatewaysInput = exports.ListGatewaysInput || (exports.ListGatewaysInput = {}));
163
- var Gateway;
164
- (function (Gateway) {
165
- Gateway.filterSensitiveLog = (obj) => ({
166
- ...obj,
167
- });
168
- })(Gateway = exports.Gateway || (exports.Gateway = {}));
169
- var ListGatewaysOutput;
170
- (function (ListGatewaysOutput) {
171
- ListGatewaysOutput.filterSensitiveLog = (obj) => ({
172
- ...obj,
173
- });
174
- })(ListGatewaysOutput = exports.ListGatewaysOutput || (exports.ListGatewaysOutput = {}));
175
- var PutMaintenanceStartTimeInput;
176
- (function (PutMaintenanceStartTimeInput) {
177
- PutMaintenanceStartTimeInput.filterSensitiveLog = (obj) => ({
178
- ...obj,
179
- });
180
- })(PutMaintenanceStartTimeInput = exports.PutMaintenanceStartTimeInput || (exports.PutMaintenanceStartTimeInput = {}));
181
- var PutMaintenanceStartTimeOutput;
182
- (function (PutMaintenanceStartTimeOutput) {
183
- PutMaintenanceStartTimeOutput.filterSensitiveLog = (obj) => ({
184
- ...obj,
185
- });
186
- })(PutMaintenanceStartTimeOutput = exports.PutMaintenanceStartTimeOutput || (exports.PutMaintenanceStartTimeOutput = {}));
187
- var TestHypervisorConfigurationInput;
188
- (function (TestHypervisorConfigurationInput) {
189
- TestHypervisorConfigurationInput.filterSensitiveLog = (obj) => ({
190
- ...obj,
191
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
192
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
193
- });
194
- })(TestHypervisorConfigurationInput = exports.TestHypervisorConfigurationInput || (exports.TestHypervisorConfigurationInput = {}));
195
- var TestHypervisorConfigurationOutput;
196
- (function (TestHypervisorConfigurationOutput) {
197
- TestHypervisorConfigurationOutput.filterSensitiveLog = (obj) => ({
198
- ...obj,
199
- });
200
- })(TestHypervisorConfigurationOutput = exports.TestHypervisorConfigurationOutput || (exports.TestHypervisorConfigurationOutput = {}));
201
- var UpdateGatewayInformationInput;
202
- (function (UpdateGatewayInformationInput) {
203
- UpdateGatewayInformationInput.filterSensitiveLog = (obj) => ({
204
- ...obj,
205
- });
206
- })(UpdateGatewayInformationInput = exports.UpdateGatewayInformationInput || (exports.UpdateGatewayInformationInput = {}));
207
- var UpdateGatewayInformationOutput;
208
- (function (UpdateGatewayInformationOutput) {
209
- UpdateGatewayInformationOutput.filterSensitiveLog = (obj) => ({
210
- ...obj,
211
- });
212
- })(UpdateGatewayInformationOutput = exports.UpdateGatewayInformationOutput || (exports.UpdateGatewayInformationOutput = {}));
213
- var UpdateGatewaySoftwareNowInput;
214
- (function (UpdateGatewaySoftwareNowInput) {
215
- UpdateGatewaySoftwareNowInput.filterSensitiveLog = (obj) => ({
216
- ...obj,
217
- });
218
- })(UpdateGatewaySoftwareNowInput = exports.UpdateGatewaySoftwareNowInput || (exports.UpdateGatewaySoftwareNowInput = {}));
219
- var UpdateGatewaySoftwareNowOutput;
220
- (function (UpdateGatewaySoftwareNowOutput) {
221
- UpdateGatewaySoftwareNowOutput.filterSensitiveLog = (obj) => ({
222
- ...obj,
223
- });
224
- })(UpdateGatewaySoftwareNowOutput = exports.UpdateGatewaySoftwareNowOutput || (exports.UpdateGatewaySoftwareNowOutput = {}));
225
- var DeleteHypervisorInput;
226
- (function (DeleteHypervisorInput) {
227
- DeleteHypervisorInput.filterSensitiveLog = (obj) => ({
228
- ...obj,
229
- });
230
- })(DeleteHypervisorInput = exports.DeleteHypervisorInput || (exports.DeleteHypervisorInput = {}));
231
- var DeleteHypervisorOutput;
232
- (function (DeleteHypervisorOutput) {
233
- DeleteHypervisorOutput.filterSensitiveLog = (obj) => ({
234
- ...obj,
235
- });
236
- })(DeleteHypervisorOutput = exports.DeleteHypervisorOutput || (exports.DeleteHypervisorOutput = {}));
237
- var ImportHypervisorConfigurationInput;
238
- (function (ImportHypervisorConfigurationInput) {
239
- ImportHypervisorConfigurationInput.filterSensitiveLog = (obj) => ({
240
- ...obj,
241
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
242
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
243
- });
244
- })(ImportHypervisorConfigurationInput = exports.ImportHypervisorConfigurationInput || (exports.ImportHypervisorConfigurationInput = {}));
245
- var ImportHypervisorConfigurationOutput;
246
- (function (ImportHypervisorConfigurationOutput) {
247
- ImportHypervisorConfigurationOutput.filterSensitiveLog = (obj) => ({
248
- ...obj,
249
- });
250
- })(ImportHypervisorConfigurationOutput = exports.ImportHypervisorConfigurationOutput || (exports.ImportHypervisorConfigurationOutput = {}));
251
- var ListHypervisorsInput;
252
- (function (ListHypervisorsInput) {
253
- ListHypervisorsInput.filterSensitiveLog = (obj) => ({
254
- ...obj,
255
- });
256
- })(ListHypervisorsInput = exports.ListHypervisorsInput || (exports.ListHypervisorsInput = {}));
257
85
  var HypervisorState;
258
86
  (function (HypervisorState) {
259
87
  HypervisorState["ERROR"] = "ERROR";
@@ -261,83 +89,173 @@ var HypervisorState;
261
89
  HypervisorState["ONLINE"] = "ONLINE";
262
90
  HypervisorState["PENDING"] = "PENDING";
263
91
  })(HypervisorState = exports.HypervisorState || (exports.HypervisorState = {}));
264
- var Hypervisor;
265
- (function (Hypervisor) {
266
- Hypervisor.filterSensitiveLog = (obj) => ({
267
- ...obj,
268
- });
269
- })(Hypervisor = exports.Hypervisor || (exports.Hypervisor = {}));
270
- var ListHypervisorsOutput;
271
- (function (ListHypervisorsOutput) {
272
- ListHypervisorsOutput.filterSensitiveLog = (obj) => ({
273
- ...obj,
274
- });
275
- })(ListHypervisorsOutput = exports.ListHypervisorsOutput || (exports.ListHypervisorsOutput = {}));
276
- var UpdateHypervisorInput;
277
- (function (UpdateHypervisorInput) {
278
- UpdateHypervisorInput.filterSensitiveLog = (obj) => ({
279
- ...obj,
280
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
281
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
282
- });
283
- })(UpdateHypervisorInput = exports.UpdateHypervisorInput || (exports.UpdateHypervisorInput = {}));
284
- var UpdateHypervisorOutput;
285
- (function (UpdateHypervisorOutput) {
286
- UpdateHypervisorOutput.filterSensitiveLog = (obj) => ({
287
- ...obj,
288
- });
289
- })(UpdateHypervisorOutput = exports.UpdateHypervisorOutput || (exports.UpdateHypervisorOutput = {}));
290
- var ListTagsForResourceInput;
291
- (function (ListTagsForResourceInput) {
292
- ListTagsForResourceInput.filterSensitiveLog = (obj) => ({
293
- ...obj,
294
- });
295
- })(ListTagsForResourceInput = exports.ListTagsForResourceInput || (exports.ListTagsForResourceInput = {}));
296
- var ListTagsForResourceOutput;
297
- (function (ListTagsForResourceOutput) {
298
- ListTagsForResourceOutput.filterSensitiveLog = (obj) => ({
299
- ...obj,
300
- });
301
- })(ListTagsForResourceOutput = exports.ListTagsForResourceOutput || (exports.ListTagsForResourceOutput = {}));
302
- var ListVirtualMachinesInput;
303
- (function (ListVirtualMachinesInput) {
304
- ListVirtualMachinesInput.filterSensitiveLog = (obj) => ({
305
- ...obj,
306
- });
307
- })(ListVirtualMachinesInput = exports.ListVirtualMachinesInput || (exports.ListVirtualMachinesInput = {}));
308
- var VirtualMachine;
309
- (function (VirtualMachine) {
310
- VirtualMachine.filterSensitiveLog = (obj) => ({
311
- ...obj,
312
- });
313
- })(VirtualMachine = exports.VirtualMachine || (exports.VirtualMachine = {}));
314
- var ListVirtualMachinesOutput;
315
- (function (ListVirtualMachinesOutput) {
316
- ListVirtualMachinesOutput.filterSensitiveLog = (obj) => ({
317
- ...obj,
318
- });
319
- })(ListVirtualMachinesOutput = exports.ListVirtualMachinesOutput || (exports.ListVirtualMachinesOutput = {}));
320
- var TagResourceInput;
321
- (function (TagResourceInput) {
322
- TagResourceInput.filterSensitiveLog = (obj) => ({
323
- ...obj,
324
- });
325
- })(TagResourceInput = exports.TagResourceInput || (exports.TagResourceInput = {}));
326
- var TagResourceOutput;
327
- (function (TagResourceOutput) {
328
- TagResourceOutput.filterSensitiveLog = (obj) => ({
329
- ...obj,
330
- });
331
- })(TagResourceOutput = exports.TagResourceOutput || (exports.TagResourceOutput = {}));
332
- var UntagResourceInput;
333
- (function (UntagResourceInput) {
334
- UntagResourceInput.filterSensitiveLog = (obj) => ({
335
- ...obj,
336
- });
337
- })(UntagResourceInput = exports.UntagResourceInput || (exports.UntagResourceInput = {}));
338
- var UntagResourceOutput;
339
- (function (UntagResourceOutput) {
340
- UntagResourceOutput.filterSensitiveLog = (obj) => ({
341
- ...obj,
342
- });
343
- })(UntagResourceOutput = exports.UntagResourceOutput || (exports.UntagResourceOutput = {}));
92
+ const AssociateGatewayToServerInputFilterSensitiveLog = (obj) => ({
93
+ ...obj,
94
+ });
95
+ exports.AssociateGatewayToServerInputFilterSensitiveLog = AssociateGatewayToServerInputFilterSensitiveLog;
96
+ const AssociateGatewayToServerOutputFilterSensitiveLog = (obj) => ({
97
+ ...obj,
98
+ });
99
+ exports.AssociateGatewayToServerOutputFilterSensitiveLog = AssociateGatewayToServerOutputFilterSensitiveLog;
100
+ const TagFilterSensitiveLog = (obj) => ({
101
+ ...obj,
102
+ });
103
+ exports.TagFilterSensitiveLog = TagFilterSensitiveLog;
104
+ const CreateGatewayInputFilterSensitiveLog = (obj) => ({
105
+ ...obj,
106
+ });
107
+ exports.CreateGatewayInputFilterSensitiveLog = CreateGatewayInputFilterSensitiveLog;
108
+ const CreateGatewayOutputFilterSensitiveLog = (obj) => ({
109
+ ...obj,
110
+ });
111
+ exports.CreateGatewayOutputFilterSensitiveLog = CreateGatewayOutputFilterSensitiveLog;
112
+ const DeleteGatewayInputFilterSensitiveLog = (obj) => ({
113
+ ...obj,
114
+ });
115
+ exports.DeleteGatewayInputFilterSensitiveLog = DeleteGatewayInputFilterSensitiveLog;
116
+ const DeleteGatewayOutputFilterSensitiveLog = (obj) => ({
117
+ ...obj,
118
+ });
119
+ exports.DeleteGatewayOutputFilterSensitiveLog = DeleteGatewayOutputFilterSensitiveLog;
120
+ const DisassociateGatewayFromServerInputFilterSensitiveLog = (obj) => ({
121
+ ...obj,
122
+ });
123
+ exports.DisassociateGatewayFromServerInputFilterSensitiveLog = DisassociateGatewayFromServerInputFilterSensitiveLog;
124
+ const DisassociateGatewayFromServerOutputFilterSensitiveLog = (obj) => ({
125
+ ...obj,
126
+ });
127
+ exports.DisassociateGatewayFromServerOutputFilterSensitiveLog = DisassociateGatewayFromServerOutputFilterSensitiveLog;
128
+ const GetGatewayInputFilterSensitiveLog = (obj) => ({
129
+ ...obj,
130
+ });
131
+ exports.GetGatewayInputFilterSensitiveLog = GetGatewayInputFilterSensitiveLog;
132
+ const GatewayDetailsFilterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ });
135
+ exports.GatewayDetailsFilterSensitiveLog = GatewayDetailsFilterSensitiveLog;
136
+ const GetGatewayOutputFilterSensitiveLog = (obj) => ({
137
+ ...obj,
138
+ });
139
+ exports.GetGatewayOutputFilterSensitiveLog = GetGatewayOutputFilterSensitiveLog;
140
+ const ListGatewaysInputFilterSensitiveLog = (obj) => ({
141
+ ...obj,
142
+ });
143
+ exports.ListGatewaysInputFilterSensitiveLog = ListGatewaysInputFilterSensitiveLog;
144
+ const GatewayFilterSensitiveLog = (obj) => ({
145
+ ...obj,
146
+ });
147
+ exports.GatewayFilterSensitiveLog = GatewayFilterSensitiveLog;
148
+ const ListGatewaysOutputFilterSensitiveLog = (obj) => ({
149
+ ...obj,
150
+ });
151
+ exports.ListGatewaysOutputFilterSensitiveLog = ListGatewaysOutputFilterSensitiveLog;
152
+ const PutMaintenanceStartTimeInputFilterSensitiveLog = (obj) => ({
153
+ ...obj,
154
+ });
155
+ exports.PutMaintenanceStartTimeInputFilterSensitiveLog = PutMaintenanceStartTimeInputFilterSensitiveLog;
156
+ const PutMaintenanceStartTimeOutputFilterSensitiveLog = (obj) => ({
157
+ ...obj,
158
+ });
159
+ exports.PutMaintenanceStartTimeOutputFilterSensitiveLog = PutMaintenanceStartTimeOutputFilterSensitiveLog;
160
+ const TestHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
161
+ ...obj,
162
+ ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
163
+ ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
164
+ });
165
+ exports.TestHypervisorConfigurationInputFilterSensitiveLog = TestHypervisorConfigurationInputFilterSensitiveLog;
166
+ const TestHypervisorConfigurationOutputFilterSensitiveLog = (obj) => ({
167
+ ...obj,
168
+ });
169
+ exports.TestHypervisorConfigurationOutputFilterSensitiveLog = TestHypervisorConfigurationOutputFilterSensitiveLog;
170
+ const UpdateGatewayInformationInputFilterSensitiveLog = (obj) => ({
171
+ ...obj,
172
+ });
173
+ exports.UpdateGatewayInformationInputFilterSensitiveLog = UpdateGatewayInformationInputFilterSensitiveLog;
174
+ const UpdateGatewayInformationOutputFilterSensitiveLog = (obj) => ({
175
+ ...obj,
176
+ });
177
+ exports.UpdateGatewayInformationOutputFilterSensitiveLog = UpdateGatewayInformationOutputFilterSensitiveLog;
178
+ const UpdateGatewaySoftwareNowInputFilterSensitiveLog = (obj) => ({
179
+ ...obj,
180
+ });
181
+ exports.UpdateGatewaySoftwareNowInputFilterSensitiveLog = UpdateGatewaySoftwareNowInputFilterSensitiveLog;
182
+ const UpdateGatewaySoftwareNowOutputFilterSensitiveLog = (obj) => ({
183
+ ...obj,
184
+ });
185
+ exports.UpdateGatewaySoftwareNowOutputFilterSensitiveLog = UpdateGatewaySoftwareNowOutputFilterSensitiveLog;
186
+ const DeleteHypervisorInputFilterSensitiveLog = (obj) => ({
187
+ ...obj,
188
+ });
189
+ exports.DeleteHypervisorInputFilterSensitiveLog = DeleteHypervisorInputFilterSensitiveLog;
190
+ const DeleteHypervisorOutputFilterSensitiveLog = (obj) => ({
191
+ ...obj,
192
+ });
193
+ exports.DeleteHypervisorOutputFilterSensitiveLog = DeleteHypervisorOutputFilterSensitiveLog;
194
+ const ImportHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
195
+ ...obj,
196
+ ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
197
+ ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
198
+ });
199
+ exports.ImportHypervisorConfigurationInputFilterSensitiveLog = ImportHypervisorConfigurationInputFilterSensitiveLog;
200
+ const ImportHypervisorConfigurationOutputFilterSensitiveLog = (obj) => ({
201
+ ...obj,
202
+ });
203
+ exports.ImportHypervisorConfigurationOutputFilterSensitiveLog = ImportHypervisorConfigurationOutputFilterSensitiveLog;
204
+ const ListHypervisorsInputFilterSensitiveLog = (obj) => ({
205
+ ...obj,
206
+ });
207
+ exports.ListHypervisorsInputFilterSensitiveLog = ListHypervisorsInputFilterSensitiveLog;
208
+ const HypervisorFilterSensitiveLog = (obj) => ({
209
+ ...obj,
210
+ });
211
+ exports.HypervisorFilterSensitiveLog = HypervisorFilterSensitiveLog;
212
+ const ListHypervisorsOutputFilterSensitiveLog = (obj) => ({
213
+ ...obj,
214
+ });
215
+ exports.ListHypervisorsOutputFilterSensitiveLog = ListHypervisorsOutputFilterSensitiveLog;
216
+ const UpdateHypervisorInputFilterSensitiveLog = (obj) => ({
217
+ ...obj,
218
+ ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
219
+ ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
220
+ });
221
+ exports.UpdateHypervisorInputFilterSensitiveLog = UpdateHypervisorInputFilterSensitiveLog;
222
+ const UpdateHypervisorOutputFilterSensitiveLog = (obj) => ({
223
+ ...obj,
224
+ });
225
+ exports.UpdateHypervisorOutputFilterSensitiveLog = UpdateHypervisorOutputFilterSensitiveLog;
226
+ const ListTagsForResourceInputFilterSensitiveLog = (obj) => ({
227
+ ...obj,
228
+ });
229
+ exports.ListTagsForResourceInputFilterSensitiveLog = ListTagsForResourceInputFilterSensitiveLog;
230
+ const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
231
+ ...obj,
232
+ });
233
+ exports.ListTagsForResourceOutputFilterSensitiveLog = ListTagsForResourceOutputFilterSensitiveLog;
234
+ const ListVirtualMachinesInputFilterSensitiveLog = (obj) => ({
235
+ ...obj,
236
+ });
237
+ exports.ListVirtualMachinesInputFilterSensitiveLog = ListVirtualMachinesInputFilterSensitiveLog;
238
+ const VirtualMachineFilterSensitiveLog = (obj) => ({
239
+ ...obj,
240
+ });
241
+ exports.VirtualMachineFilterSensitiveLog = VirtualMachineFilterSensitiveLog;
242
+ const ListVirtualMachinesOutputFilterSensitiveLog = (obj) => ({
243
+ ...obj,
244
+ });
245
+ exports.ListVirtualMachinesOutputFilterSensitiveLog = ListVirtualMachinesOutputFilterSensitiveLog;
246
+ const TagResourceInputFilterSensitiveLog = (obj) => ({
247
+ ...obj,
248
+ });
249
+ exports.TagResourceInputFilterSensitiveLog = TagResourceInputFilterSensitiveLog;
250
+ const TagResourceOutputFilterSensitiveLog = (obj) => ({
251
+ ...obj,
252
+ });
253
+ exports.TagResourceOutputFilterSensitiveLog = TagResourceOutputFilterSensitiveLog;
254
+ const UntagResourceInputFilterSensitiveLog = (obj) => ({
255
+ ...obj,
256
+ });
257
+ exports.UntagResourceInputFilterSensitiveLog = UntagResourceInputFilterSensitiveLog;
258
+ const UntagResourceOutputFilterSensitiveLog = (obj) => ({
259
+ ...obj,
260
+ });
261
+ exports.UntagResourceOutputFilterSensitiveLog = UntagResourceOutputFilterSensitiveLog;
@@ -1417,6 +1417,9 @@ const loadRestJsonErrorCode = (output, data) => {
1417
1417
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
1418
1418
  const sanitizeErrorCode = (rawValue) => {
1419
1419
  let cleanValue = rawValue;
1420
+ if (typeof cleanValue === "number") {
1421
+ cleanValue = cleanValue.toString();
1422
+ }
1420
1423
  if (cleanValue.indexOf(":") >= 0) {
1421
1424
  cleanValue = cleanValue.split(":")[0];
1422
1425
  }
@@ -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 { AssociateGatewayToServerInput, AssociateGatewayToServerOutput } from "../models/models_0";
4
+ import { AssociateGatewayToServerInputFilterSensitiveLog, AssociateGatewayToServerOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0AssociateGatewayToServerCommand, serializeAws_json1_0AssociateGatewayToServerCommand, } from "../protocols/Aws_json1_0";
6
6
  var AssociateGatewayToServerCommand = (function (_super) {
7
7
  __extends(AssociateGatewayToServerCommand, _super);
@@ -20,8 +20,8 @@ var AssociateGatewayToServerCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: AssociateGatewayToServerInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: AssociateGatewayToServerOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: AssociateGatewayToServerInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: AssociateGatewayToServerOutputFilterSensitiveLog,
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 { CreateGatewayInput, CreateGatewayOutput } from "../models/models_0";
4
+ import { CreateGatewayInputFilterSensitiveLog, CreateGatewayOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0CreateGatewayCommand, serializeAws_json1_0CreateGatewayCommand, } from "../protocols/Aws_json1_0";
6
6
  var CreateGatewayCommand = (function (_super) {
7
7
  __extends(CreateGatewayCommand, _super);
@@ -20,8 +20,8 @@ var CreateGatewayCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: CreateGatewayInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: CreateGatewayOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: CreateGatewayInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateGatewayOutputFilterSensitiveLog,
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 { DeleteGatewayInput, DeleteGatewayOutput } from "../models/models_0";
4
+ import { DeleteGatewayInputFilterSensitiveLog, DeleteGatewayOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0DeleteGatewayCommand, serializeAws_json1_0DeleteGatewayCommand, } from "../protocols/Aws_json1_0";
6
6
  var DeleteGatewayCommand = (function (_super) {
7
7
  __extends(DeleteGatewayCommand, _super);
@@ -20,8 +20,8 @@ var DeleteGatewayCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DeleteGatewayInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: DeleteGatewayOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DeleteGatewayInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteGatewayOutputFilterSensitiveLog,
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 { DeleteHypervisorInput, DeleteHypervisorOutput } from "../models/models_0";
4
+ import { DeleteHypervisorInputFilterSensitiveLog, DeleteHypervisorOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0DeleteHypervisorCommand, serializeAws_json1_0DeleteHypervisorCommand, } from "../protocols/Aws_json1_0";
6
6
  var DeleteHypervisorCommand = (function (_super) {
7
7
  __extends(DeleteHypervisorCommand, _super);
@@ -20,8 +20,8 @@ var DeleteHypervisorCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DeleteHypervisorInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: DeleteHypervisorOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DeleteHypervisorInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteHypervisorOutputFilterSensitiveLog,
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 { DisassociateGatewayFromServerInput, DisassociateGatewayFromServerOutput } from "../models/models_0";
4
+ import { DisassociateGatewayFromServerInputFilterSensitiveLog, DisassociateGatewayFromServerOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0DisassociateGatewayFromServerCommand, serializeAws_json1_0DisassociateGatewayFromServerCommand, } from "../protocols/Aws_json1_0";
6
6
  var DisassociateGatewayFromServerCommand = (function (_super) {
7
7
  __extends(DisassociateGatewayFromServerCommand, _super);
@@ -20,8 +20,8 @@ var DisassociateGatewayFromServerCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DisassociateGatewayFromServerInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: DisassociateGatewayFromServerOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DisassociateGatewayFromServerInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DisassociateGatewayFromServerOutputFilterSensitiveLog,
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 { GetGatewayInput, GetGatewayOutput } from "../models/models_0";
4
+ import { GetGatewayInputFilterSensitiveLog, GetGatewayOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0GetGatewayCommand, serializeAws_json1_0GetGatewayCommand, } from "../protocols/Aws_json1_0";
6
6
  var GetGatewayCommand = (function (_super) {
7
7
  __extends(GetGatewayCommand, _super);
@@ -20,8 +20,8 @@ var GetGatewayCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetGatewayInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetGatewayOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetGatewayInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetGatewayOutputFilterSensitiveLog,
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 { ImportHypervisorConfigurationInput, ImportHypervisorConfigurationOutput } from "../models/models_0";
4
+ import { ImportHypervisorConfigurationInputFilterSensitiveLog, ImportHypervisorConfigurationOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0ImportHypervisorConfigurationCommand, serializeAws_json1_0ImportHypervisorConfigurationCommand, } from "../protocols/Aws_json1_0";
6
6
  var ImportHypervisorConfigurationCommand = (function (_super) {
7
7
  __extends(ImportHypervisorConfigurationCommand, _super);
@@ -20,8 +20,8 @@ var ImportHypervisorConfigurationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ImportHypervisorConfigurationInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: ImportHypervisorConfigurationOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ImportHypervisorConfigurationInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ImportHypervisorConfigurationOutputFilterSensitiveLog,
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 { ListGatewaysInput, ListGatewaysOutput } from "../models/models_0";
4
+ import { ListGatewaysInputFilterSensitiveLog, ListGatewaysOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0ListGatewaysCommand, serializeAws_json1_0ListGatewaysCommand, } from "../protocols/Aws_json1_0";
6
6
  var ListGatewaysCommand = (function (_super) {
7
7
  __extends(ListGatewaysCommand, _super);
@@ -20,8 +20,8 @@ var ListGatewaysCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListGatewaysInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListGatewaysOutput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListGatewaysInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListGatewaysOutputFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {