@aws-sdk/client-backup-gateway 3.306.0 → 3.309.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 (55) hide show
  1. package/dist-cjs/commands/AssociateGatewayToServerCommand.js +2 -2
  2. package/dist-cjs/commands/CreateGatewayCommand.js +2 -2
  3. package/dist-cjs/commands/DeleteGatewayCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteHypervisorCommand.js +2 -2
  5. package/dist-cjs/commands/DisassociateGatewayFromServerCommand.js +2 -2
  6. package/dist-cjs/commands/GetBandwidthRateLimitScheduleCommand.js +2 -2
  7. package/dist-cjs/commands/GetGatewayCommand.js +2 -2
  8. package/dist-cjs/commands/GetHypervisorCommand.js +2 -2
  9. package/dist-cjs/commands/GetHypervisorPropertyMappingsCommand.js +2 -2
  10. package/dist-cjs/commands/GetVirtualMachineCommand.js +2 -2
  11. package/dist-cjs/commands/ImportHypervisorConfigurationCommand.js +2 -2
  12. package/dist-cjs/commands/ListGatewaysCommand.js +2 -2
  13. package/dist-cjs/commands/ListHypervisorsCommand.js +2 -2
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  15. package/dist-cjs/commands/ListVirtualMachinesCommand.js +2 -2
  16. package/dist-cjs/commands/PutBandwidthRateLimitScheduleCommand.js +2 -2
  17. package/dist-cjs/commands/PutHypervisorPropertyMappingsCommand.js +2 -2
  18. package/dist-cjs/commands/PutMaintenanceStartTimeCommand.js +2 -2
  19. package/dist-cjs/commands/StartVirtualMachinesMetadataSyncCommand.js +2 -2
  20. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  21. package/dist-cjs/commands/TestHypervisorConfigurationCommand.js +2 -2
  22. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  23. package/dist-cjs/commands/UpdateGatewayInformationCommand.js +2 -2
  24. package/dist-cjs/commands/UpdateGatewaySoftwareNowCommand.js +2 -2
  25. package/dist-cjs/commands/UpdateHypervisorCommand.js +2 -2
  26. package/dist-cjs/protocols/Aws_json1_0.js +433 -439
  27. package/dist-es/commands/AssociateGatewayToServerCommand.js +3 -3
  28. package/dist-es/commands/CreateGatewayCommand.js +3 -3
  29. package/dist-es/commands/DeleteGatewayCommand.js +3 -3
  30. package/dist-es/commands/DeleteHypervisorCommand.js +3 -3
  31. package/dist-es/commands/DisassociateGatewayFromServerCommand.js +3 -3
  32. package/dist-es/commands/GetBandwidthRateLimitScheduleCommand.js +3 -3
  33. package/dist-es/commands/GetGatewayCommand.js +3 -3
  34. package/dist-es/commands/GetHypervisorCommand.js +3 -3
  35. package/dist-es/commands/GetHypervisorPropertyMappingsCommand.js +3 -3
  36. package/dist-es/commands/GetVirtualMachineCommand.js +3 -3
  37. package/dist-es/commands/ImportHypervisorConfigurationCommand.js +3 -3
  38. package/dist-es/commands/ListGatewaysCommand.js +3 -3
  39. package/dist-es/commands/ListHypervisorsCommand.js +3 -3
  40. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  41. package/dist-es/commands/ListVirtualMachinesCommand.js +3 -3
  42. package/dist-es/commands/PutBandwidthRateLimitScheduleCommand.js +3 -3
  43. package/dist-es/commands/PutHypervisorPropertyMappingsCommand.js +3 -3
  44. package/dist-es/commands/PutMaintenanceStartTimeCommand.js +3 -3
  45. package/dist-es/commands/StartVirtualMachinesMetadataSyncCommand.js +3 -3
  46. package/dist-es/commands/TagResourceCommand.js +3 -3
  47. package/dist-es/commands/TestHypervisorConfigurationCommand.js +3 -3
  48. package/dist-es/commands/UntagResourceCommand.js +3 -3
  49. package/dist-es/commands/UpdateGatewayInformationCommand.js +3 -3
  50. package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +3 -3
  51. package/dist-es/commands/UpdateHypervisorCommand.js +3 -3
  52. package/dist-es/protocols/Aws_json1_0.js +382 -388
  53. package/dist-types/protocols/Aws_json1_0.d.ts +200 -50
  54. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +50 -50
  55. package/package.json +6 -6
@@ -1,275 +1,275 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_json1_0UpdateHypervisorCommand = exports.deserializeAws_json1_0UpdateGatewaySoftwareNowCommand = exports.deserializeAws_json1_0UpdateGatewayInformationCommand = exports.deserializeAws_json1_0UntagResourceCommand = exports.deserializeAws_json1_0TestHypervisorConfigurationCommand = exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommand = exports.deserializeAws_json1_0PutMaintenanceStartTimeCommand = exports.deserializeAws_json1_0PutHypervisorPropertyMappingsCommand = exports.deserializeAws_json1_0PutBandwidthRateLimitScheduleCommand = exports.deserializeAws_json1_0ListVirtualMachinesCommand = exports.deserializeAws_json1_0ListTagsForResourceCommand = exports.deserializeAws_json1_0ListHypervisorsCommand = exports.deserializeAws_json1_0ListGatewaysCommand = exports.deserializeAws_json1_0ImportHypervisorConfigurationCommand = exports.deserializeAws_json1_0GetVirtualMachineCommand = exports.deserializeAws_json1_0GetHypervisorPropertyMappingsCommand = exports.deserializeAws_json1_0GetHypervisorCommand = exports.deserializeAws_json1_0GetGatewayCommand = exports.deserializeAws_json1_0GetBandwidthRateLimitScheduleCommand = exports.deserializeAws_json1_0DisassociateGatewayFromServerCommand = exports.deserializeAws_json1_0DeleteHypervisorCommand = exports.deserializeAws_json1_0DeleteGatewayCommand = exports.deserializeAws_json1_0CreateGatewayCommand = exports.deserializeAws_json1_0AssociateGatewayToServerCommand = exports.serializeAws_json1_0UpdateHypervisorCommand = exports.serializeAws_json1_0UpdateGatewaySoftwareNowCommand = exports.serializeAws_json1_0UpdateGatewayInformationCommand = exports.serializeAws_json1_0UntagResourceCommand = exports.serializeAws_json1_0TestHypervisorConfigurationCommand = exports.serializeAws_json1_0TagResourceCommand = exports.serializeAws_json1_0StartVirtualMachinesMetadataSyncCommand = exports.serializeAws_json1_0PutMaintenanceStartTimeCommand = exports.serializeAws_json1_0PutHypervisorPropertyMappingsCommand = exports.serializeAws_json1_0PutBandwidthRateLimitScheduleCommand = exports.serializeAws_json1_0ListVirtualMachinesCommand = exports.serializeAws_json1_0ListTagsForResourceCommand = exports.serializeAws_json1_0ListHypervisorsCommand = exports.serializeAws_json1_0ListGatewaysCommand = exports.serializeAws_json1_0ImportHypervisorConfigurationCommand = exports.serializeAws_json1_0GetVirtualMachineCommand = exports.serializeAws_json1_0GetHypervisorPropertyMappingsCommand = exports.serializeAws_json1_0GetHypervisorCommand = exports.serializeAws_json1_0GetGatewayCommand = exports.serializeAws_json1_0GetBandwidthRateLimitScheduleCommand = exports.serializeAws_json1_0DisassociateGatewayFromServerCommand = exports.serializeAws_json1_0DeleteHypervisorCommand = exports.serializeAws_json1_0DeleteGatewayCommand = exports.serializeAws_json1_0CreateGatewayCommand = exports.serializeAws_json1_0AssociateGatewayToServerCommand = void 0;
3
+ exports.de_UpdateHypervisorCommand = exports.de_UpdateGatewaySoftwareNowCommand = exports.de_UpdateGatewayInformationCommand = exports.de_UntagResourceCommand = exports.de_TestHypervisorConfigurationCommand = exports.de_TagResourceCommand = exports.de_StartVirtualMachinesMetadataSyncCommand = exports.de_PutMaintenanceStartTimeCommand = exports.de_PutHypervisorPropertyMappingsCommand = exports.de_PutBandwidthRateLimitScheduleCommand = exports.de_ListVirtualMachinesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListHypervisorsCommand = exports.de_ListGatewaysCommand = exports.de_ImportHypervisorConfigurationCommand = exports.de_GetVirtualMachineCommand = exports.de_GetHypervisorPropertyMappingsCommand = exports.de_GetHypervisorCommand = exports.de_GetGatewayCommand = exports.de_GetBandwidthRateLimitScheduleCommand = exports.de_DisassociateGatewayFromServerCommand = exports.de_DeleteHypervisorCommand = exports.de_DeleteGatewayCommand = exports.de_CreateGatewayCommand = exports.de_AssociateGatewayToServerCommand = exports.se_UpdateHypervisorCommand = exports.se_UpdateGatewaySoftwareNowCommand = exports.se_UpdateGatewayInformationCommand = exports.se_UntagResourceCommand = exports.se_TestHypervisorConfigurationCommand = exports.se_TagResourceCommand = exports.se_StartVirtualMachinesMetadataSyncCommand = exports.se_PutMaintenanceStartTimeCommand = exports.se_PutHypervisorPropertyMappingsCommand = exports.se_PutBandwidthRateLimitScheduleCommand = exports.se_ListVirtualMachinesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListHypervisorsCommand = exports.se_ListGatewaysCommand = exports.se_ImportHypervisorConfigurationCommand = exports.se_GetVirtualMachineCommand = exports.se_GetHypervisorPropertyMappingsCommand = exports.se_GetHypervisorCommand = exports.se_GetGatewayCommand = exports.se_GetBandwidthRateLimitScheduleCommand = exports.se_DisassociateGatewayFromServerCommand = exports.se_DeleteHypervisorCommand = exports.se_DeleteGatewayCommand = exports.se_CreateGatewayCommand = exports.se_AssociateGatewayToServerCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const BackupGatewayServiceException_1 = require("../models/BackupGatewayServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
- const serializeAws_json1_0AssociateGatewayToServerCommand = async (input, context) => {
8
+ const se_AssociateGatewayToServerCommand = async (input, context) => {
9
9
  const headers = {
10
10
  "content-type": "application/x-amz-json-1.0",
11
11
  "x-amz-target": "BackupOnPremises_v20210101.AssociateGatewayToServer",
12
12
  };
13
13
  let body;
14
- body = JSON.stringify(serializeAws_json1_0AssociateGatewayToServerInput(input, context));
14
+ body = JSON.stringify(se_AssociateGatewayToServerInput(input, context));
15
15
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
16
16
  };
17
- exports.serializeAws_json1_0AssociateGatewayToServerCommand = serializeAws_json1_0AssociateGatewayToServerCommand;
18
- const serializeAws_json1_0CreateGatewayCommand = async (input, context) => {
17
+ exports.se_AssociateGatewayToServerCommand = se_AssociateGatewayToServerCommand;
18
+ const se_CreateGatewayCommand = async (input, context) => {
19
19
  const headers = {
20
20
  "content-type": "application/x-amz-json-1.0",
21
21
  "x-amz-target": "BackupOnPremises_v20210101.CreateGateway",
22
22
  };
23
23
  let body;
24
- body = JSON.stringify(serializeAws_json1_0CreateGatewayInput(input, context));
24
+ body = JSON.stringify(se_CreateGatewayInput(input, context));
25
25
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
26
26
  };
27
- exports.serializeAws_json1_0CreateGatewayCommand = serializeAws_json1_0CreateGatewayCommand;
28
- const serializeAws_json1_0DeleteGatewayCommand = async (input, context) => {
27
+ exports.se_CreateGatewayCommand = se_CreateGatewayCommand;
28
+ const se_DeleteGatewayCommand = async (input, context) => {
29
29
  const headers = {
30
30
  "content-type": "application/x-amz-json-1.0",
31
31
  "x-amz-target": "BackupOnPremises_v20210101.DeleteGateway",
32
32
  };
33
33
  let body;
34
- body = JSON.stringify(serializeAws_json1_0DeleteGatewayInput(input, context));
34
+ body = JSON.stringify(se_DeleteGatewayInput(input, context));
35
35
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
36
36
  };
37
- exports.serializeAws_json1_0DeleteGatewayCommand = serializeAws_json1_0DeleteGatewayCommand;
38
- const serializeAws_json1_0DeleteHypervisorCommand = async (input, context) => {
37
+ exports.se_DeleteGatewayCommand = se_DeleteGatewayCommand;
38
+ const se_DeleteHypervisorCommand = async (input, context) => {
39
39
  const headers = {
40
40
  "content-type": "application/x-amz-json-1.0",
41
41
  "x-amz-target": "BackupOnPremises_v20210101.DeleteHypervisor",
42
42
  };
43
43
  let body;
44
- body = JSON.stringify(serializeAws_json1_0DeleteHypervisorInput(input, context));
44
+ body = JSON.stringify(se_DeleteHypervisorInput(input, context));
45
45
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
46
46
  };
47
- exports.serializeAws_json1_0DeleteHypervisorCommand = serializeAws_json1_0DeleteHypervisorCommand;
48
- const serializeAws_json1_0DisassociateGatewayFromServerCommand = async (input, context) => {
47
+ exports.se_DeleteHypervisorCommand = se_DeleteHypervisorCommand;
48
+ const se_DisassociateGatewayFromServerCommand = async (input, context) => {
49
49
  const headers = {
50
50
  "content-type": "application/x-amz-json-1.0",
51
51
  "x-amz-target": "BackupOnPremises_v20210101.DisassociateGatewayFromServer",
52
52
  };
53
53
  let body;
54
- body = JSON.stringify(serializeAws_json1_0DisassociateGatewayFromServerInput(input, context));
54
+ body = JSON.stringify(se_DisassociateGatewayFromServerInput(input, context));
55
55
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
56
56
  };
57
- exports.serializeAws_json1_0DisassociateGatewayFromServerCommand = serializeAws_json1_0DisassociateGatewayFromServerCommand;
58
- const serializeAws_json1_0GetBandwidthRateLimitScheduleCommand = async (input, context) => {
57
+ exports.se_DisassociateGatewayFromServerCommand = se_DisassociateGatewayFromServerCommand;
58
+ const se_GetBandwidthRateLimitScheduleCommand = async (input, context) => {
59
59
  const headers = {
60
60
  "content-type": "application/x-amz-json-1.0",
61
61
  "x-amz-target": "BackupOnPremises_v20210101.GetBandwidthRateLimitSchedule",
62
62
  };
63
63
  let body;
64
- body = JSON.stringify(serializeAws_json1_0GetBandwidthRateLimitScheduleInput(input, context));
64
+ body = JSON.stringify(se_GetBandwidthRateLimitScheduleInput(input, context));
65
65
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
66
66
  };
67
- exports.serializeAws_json1_0GetBandwidthRateLimitScheduleCommand = serializeAws_json1_0GetBandwidthRateLimitScheduleCommand;
68
- const serializeAws_json1_0GetGatewayCommand = async (input, context) => {
67
+ exports.se_GetBandwidthRateLimitScheduleCommand = se_GetBandwidthRateLimitScheduleCommand;
68
+ const se_GetGatewayCommand = async (input, context) => {
69
69
  const headers = {
70
70
  "content-type": "application/x-amz-json-1.0",
71
71
  "x-amz-target": "BackupOnPremises_v20210101.GetGateway",
72
72
  };
73
73
  let body;
74
- body = JSON.stringify(serializeAws_json1_0GetGatewayInput(input, context));
74
+ body = JSON.stringify(se_GetGatewayInput(input, context));
75
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
76
76
  };
77
- exports.serializeAws_json1_0GetGatewayCommand = serializeAws_json1_0GetGatewayCommand;
78
- const serializeAws_json1_0GetHypervisorCommand = async (input, context) => {
77
+ exports.se_GetGatewayCommand = se_GetGatewayCommand;
78
+ const se_GetHypervisorCommand = async (input, context) => {
79
79
  const headers = {
80
80
  "content-type": "application/x-amz-json-1.0",
81
81
  "x-amz-target": "BackupOnPremises_v20210101.GetHypervisor",
82
82
  };
83
83
  let body;
84
- body = JSON.stringify(serializeAws_json1_0GetHypervisorInput(input, context));
84
+ body = JSON.stringify(se_GetHypervisorInput(input, context));
85
85
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
86
86
  };
87
- exports.serializeAws_json1_0GetHypervisorCommand = serializeAws_json1_0GetHypervisorCommand;
88
- const serializeAws_json1_0GetHypervisorPropertyMappingsCommand = async (input, context) => {
87
+ exports.se_GetHypervisorCommand = se_GetHypervisorCommand;
88
+ const se_GetHypervisorPropertyMappingsCommand = async (input, context) => {
89
89
  const headers = {
90
90
  "content-type": "application/x-amz-json-1.0",
91
91
  "x-amz-target": "BackupOnPremises_v20210101.GetHypervisorPropertyMappings",
92
92
  };
93
93
  let body;
94
- body = JSON.stringify(serializeAws_json1_0GetHypervisorPropertyMappingsInput(input, context));
94
+ body = JSON.stringify(se_GetHypervisorPropertyMappingsInput(input, context));
95
95
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
96
96
  };
97
- exports.serializeAws_json1_0GetHypervisorPropertyMappingsCommand = serializeAws_json1_0GetHypervisorPropertyMappingsCommand;
98
- const serializeAws_json1_0GetVirtualMachineCommand = async (input, context) => {
97
+ exports.se_GetHypervisorPropertyMappingsCommand = se_GetHypervisorPropertyMappingsCommand;
98
+ const se_GetVirtualMachineCommand = async (input, context) => {
99
99
  const headers = {
100
100
  "content-type": "application/x-amz-json-1.0",
101
101
  "x-amz-target": "BackupOnPremises_v20210101.GetVirtualMachine",
102
102
  };
103
103
  let body;
104
- body = JSON.stringify(serializeAws_json1_0GetVirtualMachineInput(input, context));
104
+ body = JSON.stringify(se_GetVirtualMachineInput(input, context));
105
105
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
106
106
  };
107
- exports.serializeAws_json1_0GetVirtualMachineCommand = serializeAws_json1_0GetVirtualMachineCommand;
108
- const serializeAws_json1_0ImportHypervisorConfigurationCommand = async (input, context) => {
107
+ exports.se_GetVirtualMachineCommand = se_GetVirtualMachineCommand;
108
+ const se_ImportHypervisorConfigurationCommand = async (input, context) => {
109
109
  const headers = {
110
110
  "content-type": "application/x-amz-json-1.0",
111
111
  "x-amz-target": "BackupOnPremises_v20210101.ImportHypervisorConfiguration",
112
112
  };
113
113
  let body;
114
- body = JSON.stringify(serializeAws_json1_0ImportHypervisorConfigurationInput(input, context));
114
+ body = JSON.stringify(se_ImportHypervisorConfigurationInput(input, context));
115
115
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
116
116
  };
117
- exports.serializeAws_json1_0ImportHypervisorConfigurationCommand = serializeAws_json1_0ImportHypervisorConfigurationCommand;
118
- const serializeAws_json1_0ListGatewaysCommand = async (input, context) => {
117
+ exports.se_ImportHypervisorConfigurationCommand = se_ImportHypervisorConfigurationCommand;
118
+ const se_ListGatewaysCommand = async (input, context) => {
119
119
  const headers = {
120
120
  "content-type": "application/x-amz-json-1.0",
121
121
  "x-amz-target": "BackupOnPremises_v20210101.ListGateways",
122
122
  };
123
123
  let body;
124
- body = JSON.stringify(serializeAws_json1_0ListGatewaysInput(input, context));
124
+ body = JSON.stringify(se_ListGatewaysInput(input, context));
125
125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
126
126
  };
127
- exports.serializeAws_json1_0ListGatewaysCommand = serializeAws_json1_0ListGatewaysCommand;
128
- const serializeAws_json1_0ListHypervisorsCommand = async (input, context) => {
127
+ exports.se_ListGatewaysCommand = se_ListGatewaysCommand;
128
+ const se_ListHypervisorsCommand = async (input, context) => {
129
129
  const headers = {
130
130
  "content-type": "application/x-amz-json-1.0",
131
131
  "x-amz-target": "BackupOnPremises_v20210101.ListHypervisors",
132
132
  };
133
133
  let body;
134
- body = JSON.stringify(serializeAws_json1_0ListHypervisorsInput(input, context));
134
+ body = JSON.stringify(se_ListHypervisorsInput(input, context));
135
135
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
136
136
  };
137
- exports.serializeAws_json1_0ListHypervisorsCommand = serializeAws_json1_0ListHypervisorsCommand;
138
- const serializeAws_json1_0ListTagsForResourceCommand = async (input, context) => {
137
+ exports.se_ListHypervisorsCommand = se_ListHypervisorsCommand;
138
+ const se_ListTagsForResourceCommand = async (input, context) => {
139
139
  const headers = {
140
140
  "content-type": "application/x-amz-json-1.0",
141
141
  "x-amz-target": "BackupOnPremises_v20210101.ListTagsForResource",
142
142
  };
143
143
  let body;
144
- body = JSON.stringify(serializeAws_json1_0ListTagsForResourceInput(input, context));
144
+ body = JSON.stringify(se_ListTagsForResourceInput(input, context));
145
145
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
146
146
  };
147
- exports.serializeAws_json1_0ListTagsForResourceCommand = serializeAws_json1_0ListTagsForResourceCommand;
148
- const serializeAws_json1_0ListVirtualMachinesCommand = async (input, context) => {
147
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
148
+ const se_ListVirtualMachinesCommand = async (input, context) => {
149
149
  const headers = {
150
150
  "content-type": "application/x-amz-json-1.0",
151
151
  "x-amz-target": "BackupOnPremises_v20210101.ListVirtualMachines",
152
152
  };
153
153
  let body;
154
- body = JSON.stringify(serializeAws_json1_0ListVirtualMachinesInput(input, context));
154
+ body = JSON.stringify(se_ListVirtualMachinesInput(input, context));
155
155
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
156
156
  };
157
- exports.serializeAws_json1_0ListVirtualMachinesCommand = serializeAws_json1_0ListVirtualMachinesCommand;
158
- const serializeAws_json1_0PutBandwidthRateLimitScheduleCommand = async (input, context) => {
157
+ exports.se_ListVirtualMachinesCommand = se_ListVirtualMachinesCommand;
158
+ const se_PutBandwidthRateLimitScheduleCommand = async (input, context) => {
159
159
  const headers = {
160
160
  "content-type": "application/x-amz-json-1.0",
161
161
  "x-amz-target": "BackupOnPremises_v20210101.PutBandwidthRateLimitSchedule",
162
162
  };
163
163
  let body;
164
- body = JSON.stringify(serializeAws_json1_0PutBandwidthRateLimitScheduleInput(input, context));
164
+ body = JSON.stringify(se_PutBandwidthRateLimitScheduleInput(input, context));
165
165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
166
166
  };
167
- exports.serializeAws_json1_0PutBandwidthRateLimitScheduleCommand = serializeAws_json1_0PutBandwidthRateLimitScheduleCommand;
168
- const serializeAws_json1_0PutHypervisorPropertyMappingsCommand = async (input, context) => {
167
+ exports.se_PutBandwidthRateLimitScheduleCommand = se_PutBandwidthRateLimitScheduleCommand;
168
+ const se_PutHypervisorPropertyMappingsCommand = async (input, context) => {
169
169
  const headers = {
170
170
  "content-type": "application/x-amz-json-1.0",
171
171
  "x-amz-target": "BackupOnPremises_v20210101.PutHypervisorPropertyMappings",
172
172
  };
173
173
  let body;
174
- body = JSON.stringify(serializeAws_json1_0PutHypervisorPropertyMappingsInput(input, context));
174
+ body = JSON.stringify(se_PutHypervisorPropertyMappingsInput(input, context));
175
175
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
176
176
  };
177
- exports.serializeAws_json1_0PutHypervisorPropertyMappingsCommand = serializeAws_json1_0PutHypervisorPropertyMappingsCommand;
178
- const serializeAws_json1_0PutMaintenanceStartTimeCommand = async (input, context) => {
177
+ exports.se_PutHypervisorPropertyMappingsCommand = se_PutHypervisorPropertyMappingsCommand;
178
+ const se_PutMaintenanceStartTimeCommand = async (input, context) => {
179
179
  const headers = {
180
180
  "content-type": "application/x-amz-json-1.0",
181
181
  "x-amz-target": "BackupOnPremises_v20210101.PutMaintenanceStartTime",
182
182
  };
183
183
  let body;
184
- body = JSON.stringify(serializeAws_json1_0PutMaintenanceStartTimeInput(input, context));
184
+ body = JSON.stringify(se_PutMaintenanceStartTimeInput(input, context));
185
185
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
186
186
  };
187
- exports.serializeAws_json1_0PutMaintenanceStartTimeCommand = serializeAws_json1_0PutMaintenanceStartTimeCommand;
188
- const serializeAws_json1_0StartVirtualMachinesMetadataSyncCommand = async (input, context) => {
187
+ exports.se_PutMaintenanceStartTimeCommand = se_PutMaintenanceStartTimeCommand;
188
+ const se_StartVirtualMachinesMetadataSyncCommand = async (input, context) => {
189
189
  const headers = {
190
190
  "content-type": "application/x-amz-json-1.0",
191
191
  "x-amz-target": "BackupOnPremises_v20210101.StartVirtualMachinesMetadataSync",
192
192
  };
193
193
  let body;
194
- body = JSON.stringify(serializeAws_json1_0StartVirtualMachinesMetadataSyncInput(input, context));
194
+ body = JSON.stringify(se_StartVirtualMachinesMetadataSyncInput(input, context));
195
195
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
196
196
  };
197
- exports.serializeAws_json1_0StartVirtualMachinesMetadataSyncCommand = serializeAws_json1_0StartVirtualMachinesMetadataSyncCommand;
198
- const serializeAws_json1_0TagResourceCommand = async (input, context) => {
197
+ exports.se_StartVirtualMachinesMetadataSyncCommand = se_StartVirtualMachinesMetadataSyncCommand;
198
+ const se_TagResourceCommand = async (input, context) => {
199
199
  const headers = {
200
200
  "content-type": "application/x-amz-json-1.0",
201
201
  "x-amz-target": "BackupOnPremises_v20210101.TagResource",
202
202
  };
203
203
  let body;
204
- body = JSON.stringify(serializeAws_json1_0TagResourceInput(input, context));
204
+ body = JSON.stringify(se_TagResourceInput(input, context));
205
205
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
206
206
  };
207
- exports.serializeAws_json1_0TagResourceCommand = serializeAws_json1_0TagResourceCommand;
208
- const serializeAws_json1_0TestHypervisorConfigurationCommand = async (input, context) => {
207
+ exports.se_TagResourceCommand = se_TagResourceCommand;
208
+ const se_TestHypervisorConfigurationCommand = async (input, context) => {
209
209
  const headers = {
210
210
  "content-type": "application/x-amz-json-1.0",
211
211
  "x-amz-target": "BackupOnPremises_v20210101.TestHypervisorConfiguration",
212
212
  };
213
213
  let body;
214
- body = JSON.stringify(serializeAws_json1_0TestHypervisorConfigurationInput(input, context));
214
+ body = JSON.stringify(se_TestHypervisorConfigurationInput(input, context));
215
215
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
216
216
  };
217
- exports.serializeAws_json1_0TestHypervisorConfigurationCommand = serializeAws_json1_0TestHypervisorConfigurationCommand;
218
- const serializeAws_json1_0UntagResourceCommand = async (input, context) => {
217
+ exports.se_TestHypervisorConfigurationCommand = se_TestHypervisorConfigurationCommand;
218
+ const se_UntagResourceCommand = async (input, context) => {
219
219
  const headers = {
220
220
  "content-type": "application/x-amz-json-1.0",
221
221
  "x-amz-target": "BackupOnPremises_v20210101.UntagResource",
222
222
  };
223
223
  let body;
224
- body = JSON.stringify(serializeAws_json1_0UntagResourceInput(input, context));
224
+ body = JSON.stringify(se_UntagResourceInput(input, context));
225
225
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
226
226
  };
227
- exports.serializeAws_json1_0UntagResourceCommand = serializeAws_json1_0UntagResourceCommand;
228
- const serializeAws_json1_0UpdateGatewayInformationCommand = async (input, context) => {
227
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
228
+ const se_UpdateGatewayInformationCommand = async (input, context) => {
229
229
  const headers = {
230
230
  "content-type": "application/x-amz-json-1.0",
231
231
  "x-amz-target": "BackupOnPremises_v20210101.UpdateGatewayInformation",
232
232
  };
233
233
  let body;
234
- body = JSON.stringify(serializeAws_json1_0UpdateGatewayInformationInput(input, context));
234
+ body = JSON.stringify(se_UpdateGatewayInformationInput(input, context));
235
235
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
236
236
  };
237
- exports.serializeAws_json1_0UpdateGatewayInformationCommand = serializeAws_json1_0UpdateGatewayInformationCommand;
238
- const serializeAws_json1_0UpdateGatewaySoftwareNowCommand = async (input, context) => {
237
+ exports.se_UpdateGatewayInformationCommand = se_UpdateGatewayInformationCommand;
238
+ const se_UpdateGatewaySoftwareNowCommand = async (input, context) => {
239
239
  const headers = {
240
240
  "content-type": "application/x-amz-json-1.0",
241
241
  "x-amz-target": "BackupOnPremises_v20210101.UpdateGatewaySoftwareNow",
242
242
  };
243
243
  let body;
244
- body = JSON.stringify(serializeAws_json1_0UpdateGatewaySoftwareNowInput(input, context));
244
+ body = JSON.stringify(se_UpdateGatewaySoftwareNowInput(input, context));
245
245
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
246
246
  };
247
- exports.serializeAws_json1_0UpdateGatewaySoftwareNowCommand = serializeAws_json1_0UpdateGatewaySoftwareNowCommand;
248
- const serializeAws_json1_0UpdateHypervisorCommand = async (input, context) => {
247
+ exports.se_UpdateGatewaySoftwareNowCommand = se_UpdateGatewaySoftwareNowCommand;
248
+ const se_UpdateHypervisorCommand = async (input, context) => {
249
249
  const headers = {
250
250
  "content-type": "application/x-amz-json-1.0",
251
251
  "x-amz-target": "BackupOnPremises_v20210101.UpdateHypervisor",
252
252
  };
253
253
  let body;
254
- body = JSON.stringify(serializeAws_json1_0UpdateHypervisorInput(input, context));
254
+ body = JSON.stringify(se_UpdateHypervisorInput(input, context));
255
255
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
256
256
  };
257
- exports.serializeAws_json1_0UpdateHypervisorCommand = serializeAws_json1_0UpdateHypervisorCommand;
258
- const deserializeAws_json1_0AssociateGatewayToServerCommand = async (output, context) => {
257
+ exports.se_UpdateHypervisorCommand = se_UpdateHypervisorCommand;
258
+ const de_AssociateGatewayToServerCommand = async (output, context) => {
259
259
  if (output.statusCode >= 300) {
260
- return deserializeAws_json1_0AssociateGatewayToServerCommandError(output, context);
260
+ return de_AssociateGatewayToServerCommandError(output, context);
261
261
  }
262
262
  const data = await parseBody(output.body, context);
263
263
  let contents = {};
264
- contents = deserializeAws_json1_0AssociateGatewayToServerOutput(data, context);
264
+ contents = de_AssociateGatewayToServerOutput(data, context);
265
265
  const response = {
266
266
  $metadata: deserializeMetadata(output),
267
267
  ...contents,
268
268
  };
269
269
  return Promise.resolve(response);
270
270
  };
271
- exports.deserializeAws_json1_0AssociateGatewayToServerCommand = deserializeAws_json1_0AssociateGatewayToServerCommand;
272
- const deserializeAws_json1_0AssociateGatewayToServerCommandError = async (output, context) => {
271
+ exports.de_AssociateGatewayToServerCommand = de_AssociateGatewayToServerCommand;
272
+ const de_AssociateGatewayToServerCommandError = async (output, context) => {
273
273
  const parsedOutput = {
274
274
  ...output,
275
275
  body: await parseErrorBody(output.body, context),
@@ -278,16 +278,16 @@ const deserializeAws_json1_0AssociateGatewayToServerCommandError = async (output
278
278
  switch (errorCode) {
279
279
  case "ConflictException":
280
280
  case "com.amazonaws.backupgateway#ConflictException":
281
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
281
+ throw await de_ConflictExceptionRes(parsedOutput, context);
282
282
  case "InternalServerException":
283
283
  case "com.amazonaws.backupgateway#InternalServerException":
284
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
284
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
285
285
  case "ThrottlingException":
286
286
  case "com.amazonaws.backupgateway#ThrottlingException":
287
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
287
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
288
288
  case "ValidationException":
289
289
  case "com.amazonaws.backupgateway#ValidationException":
290
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
290
+ throw await de_ValidationExceptionRes(parsedOutput, context);
291
291
  default:
292
292
  const parsedBody = parsedOutput.body;
293
293
  (0, smithy_client_1.throwDefaultError)({
@@ -298,21 +298,21 @@ const deserializeAws_json1_0AssociateGatewayToServerCommandError = async (output
298
298
  });
299
299
  }
300
300
  };
301
- const deserializeAws_json1_0CreateGatewayCommand = async (output, context) => {
301
+ const de_CreateGatewayCommand = async (output, context) => {
302
302
  if (output.statusCode >= 300) {
303
- return deserializeAws_json1_0CreateGatewayCommandError(output, context);
303
+ return de_CreateGatewayCommandError(output, context);
304
304
  }
305
305
  const data = await parseBody(output.body, context);
306
306
  let contents = {};
307
- contents = deserializeAws_json1_0CreateGatewayOutput(data, context);
307
+ contents = de_CreateGatewayOutput(data, context);
308
308
  const response = {
309
309
  $metadata: deserializeMetadata(output),
310
310
  ...contents,
311
311
  };
312
312
  return Promise.resolve(response);
313
313
  };
314
- exports.deserializeAws_json1_0CreateGatewayCommand = deserializeAws_json1_0CreateGatewayCommand;
315
- const deserializeAws_json1_0CreateGatewayCommandError = async (output, context) => {
314
+ exports.de_CreateGatewayCommand = de_CreateGatewayCommand;
315
+ const de_CreateGatewayCommandError = async (output, context) => {
316
316
  const parsedOutput = {
317
317
  ...output,
318
318
  body: await parseErrorBody(output.body, context),
@@ -321,13 +321,13 @@ const deserializeAws_json1_0CreateGatewayCommandError = async (output, context)
321
321
  switch (errorCode) {
322
322
  case "InternalServerException":
323
323
  case "com.amazonaws.backupgateway#InternalServerException":
324
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
324
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
325
325
  case "ThrottlingException":
326
326
  case "com.amazonaws.backupgateway#ThrottlingException":
327
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
327
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
328
328
  case "ValidationException":
329
329
  case "com.amazonaws.backupgateway#ValidationException":
330
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
330
+ throw await de_ValidationExceptionRes(parsedOutput, context);
331
331
  default:
332
332
  const parsedBody = parsedOutput.body;
333
333
  (0, smithy_client_1.throwDefaultError)({
@@ -338,21 +338,21 @@ const deserializeAws_json1_0CreateGatewayCommandError = async (output, context)
338
338
  });
339
339
  }
340
340
  };
341
- const deserializeAws_json1_0DeleteGatewayCommand = async (output, context) => {
341
+ const de_DeleteGatewayCommand = async (output, context) => {
342
342
  if (output.statusCode >= 300) {
343
- return deserializeAws_json1_0DeleteGatewayCommandError(output, context);
343
+ return de_DeleteGatewayCommandError(output, context);
344
344
  }
345
345
  const data = await parseBody(output.body, context);
346
346
  let contents = {};
347
- contents = deserializeAws_json1_0DeleteGatewayOutput(data, context);
347
+ contents = de_DeleteGatewayOutput(data, context);
348
348
  const response = {
349
349
  $metadata: deserializeMetadata(output),
350
350
  ...contents,
351
351
  };
352
352
  return Promise.resolve(response);
353
353
  };
354
- exports.deserializeAws_json1_0DeleteGatewayCommand = deserializeAws_json1_0DeleteGatewayCommand;
355
- const deserializeAws_json1_0DeleteGatewayCommandError = async (output, context) => {
354
+ exports.de_DeleteGatewayCommand = de_DeleteGatewayCommand;
355
+ const de_DeleteGatewayCommandError = async (output, context) => {
356
356
  const parsedOutput = {
357
357
  ...output,
358
358
  body: await parseErrorBody(output.body, context),
@@ -361,16 +361,16 @@ const deserializeAws_json1_0DeleteGatewayCommandError = async (output, context)
361
361
  switch (errorCode) {
362
362
  case "InternalServerException":
363
363
  case "com.amazonaws.backupgateway#InternalServerException":
364
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
364
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
365
365
  case "ResourceNotFoundException":
366
366
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
367
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
367
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
368
368
  case "ThrottlingException":
369
369
  case "com.amazonaws.backupgateway#ThrottlingException":
370
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
370
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
371
371
  case "ValidationException":
372
372
  case "com.amazonaws.backupgateway#ValidationException":
373
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
373
+ throw await de_ValidationExceptionRes(parsedOutput, context);
374
374
  default:
375
375
  const parsedBody = parsedOutput.body;
376
376
  (0, smithy_client_1.throwDefaultError)({
@@ -381,21 +381,21 @@ const deserializeAws_json1_0DeleteGatewayCommandError = async (output, context)
381
381
  });
382
382
  }
383
383
  };
384
- const deserializeAws_json1_0DeleteHypervisorCommand = async (output, context) => {
384
+ const de_DeleteHypervisorCommand = async (output, context) => {
385
385
  if (output.statusCode >= 300) {
386
- return deserializeAws_json1_0DeleteHypervisorCommandError(output, context);
386
+ return de_DeleteHypervisorCommandError(output, context);
387
387
  }
388
388
  const data = await parseBody(output.body, context);
389
389
  let contents = {};
390
- contents = deserializeAws_json1_0DeleteHypervisorOutput(data, context);
390
+ contents = de_DeleteHypervisorOutput(data, context);
391
391
  const response = {
392
392
  $metadata: deserializeMetadata(output),
393
393
  ...contents,
394
394
  };
395
395
  return Promise.resolve(response);
396
396
  };
397
- exports.deserializeAws_json1_0DeleteHypervisorCommand = deserializeAws_json1_0DeleteHypervisorCommand;
398
- const deserializeAws_json1_0DeleteHypervisorCommandError = async (output, context) => {
397
+ exports.de_DeleteHypervisorCommand = de_DeleteHypervisorCommand;
398
+ const de_DeleteHypervisorCommandError = async (output, context) => {
399
399
  const parsedOutput = {
400
400
  ...output,
401
401
  body: await parseErrorBody(output.body, context),
@@ -404,22 +404,22 @@ const deserializeAws_json1_0DeleteHypervisorCommandError = async (output, contex
404
404
  switch (errorCode) {
405
405
  case "AccessDeniedException":
406
406
  case "com.amazonaws.backupgateway#AccessDeniedException":
407
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
407
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
408
408
  case "ConflictException":
409
409
  case "com.amazonaws.backupgateway#ConflictException":
410
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
410
+ throw await de_ConflictExceptionRes(parsedOutput, context);
411
411
  case "InternalServerException":
412
412
  case "com.amazonaws.backupgateway#InternalServerException":
413
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
413
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
414
414
  case "ResourceNotFoundException":
415
415
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
416
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
416
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
417
417
  case "ThrottlingException":
418
418
  case "com.amazonaws.backupgateway#ThrottlingException":
419
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
419
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
420
420
  case "ValidationException":
421
421
  case "com.amazonaws.backupgateway#ValidationException":
422
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
422
+ throw await de_ValidationExceptionRes(parsedOutput, context);
423
423
  default:
424
424
  const parsedBody = parsedOutput.body;
425
425
  (0, smithy_client_1.throwDefaultError)({
@@ -430,21 +430,21 @@ const deserializeAws_json1_0DeleteHypervisorCommandError = async (output, contex
430
430
  });
431
431
  }
432
432
  };
433
- const deserializeAws_json1_0DisassociateGatewayFromServerCommand = async (output, context) => {
433
+ const de_DisassociateGatewayFromServerCommand = async (output, context) => {
434
434
  if (output.statusCode >= 300) {
435
- return deserializeAws_json1_0DisassociateGatewayFromServerCommandError(output, context);
435
+ return de_DisassociateGatewayFromServerCommandError(output, context);
436
436
  }
437
437
  const data = await parseBody(output.body, context);
438
438
  let contents = {};
439
- contents = deserializeAws_json1_0DisassociateGatewayFromServerOutput(data, context);
439
+ contents = de_DisassociateGatewayFromServerOutput(data, context);
440
440
  const response = {
441
441
  $metadata: deserializeMetadata(output),
442
442
  ...contents,
443
443
  };
444
444
  return Promise.resolve(response);
445
445
  };
446
- exports.deserializeAws_json1_0DisassociateGatewayFromServerCommand = deserializeAws_json1_0DisassociateGatewayFromServerCommand;
447
- const deserializeAws_json1_0DisassociateGatewayFromServerCommandError = async (output, context) => {
446
+ exports.de_DisassociateGatewayFromServerCommand = de_DisassociateGatewayFromServerCommand;
447
+ const de_DisassociateGatewayFromServerCommandError = async (output, context) => {
448
448
  const parsedOutput = {
449
449
  ...output,
450
450
  body: await parseErrorBody(output.body, context),
@@ -453,19 +453,19 @@ const deserializeAws_json1_0DisassociateGatewayFromServerCommandError = async (o
453
453
  switch (errorCode) {
454
454
  case "ConflictException":
455
455
  case "com.amazonaws.backupgateway#ConflictException":
456
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
456
+ throw await de_ConflictExceptionRes(parsedOutput, context);
457
457
  case "InternalServerException":
458
458
  case "com.amazonaws.backupgateway#InternalServerException":
459
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
459
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
460
460
  case "ResourceNotFoundException":
461
461
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
462
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
462
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
463
463
  case "ThrottlingException":
464
464
  case "com.amazonaws.backupgateway#ThrottlingException":
465
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
465
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
466
466
  case "ValidationException":
467
467
  case "com.amazonaws.backupgateway#ValidationException":
468
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
468
+ throw await de_ValidationExceptionRes(parsedOutput, context);
469
469
  default:
470
470
  const parsedBody = parsedOutput.body;
471
471
  (0, smithy_client_1.throwDefaultError)({
@@ -476,21 +476,21 @@ const deserializeAws_json1_0DisassociateGatewayFromServerCommandError = async (o
476
476
  });
477
477
  }
478
478
  };
479
- const deserializeAws_json1_0GetBandwidthRateLimitScheduleCommand = async (output, context) => {
479
+ const de_GetBandwidthRateLimitScheduleCommand = async (output, context) => {
480
480
  if (output.statusCode >= 300) {
481
- return deserializeAws_json1_0GetBandwidthRateLimitScheduleCommandError(output, context);
481
+ return de_GetBandwidthRateLimitScheduleCommandError(output, context);
482
482
  }
483
483
  const data = await parseBody(output.body, context);
484
484
  let contents = {};
485
- contents = deserializeAws_json1_0GetBandwidthRateLimitScheduleOutput(data, context);
485
+ contents = de_GetBandwidthRateLimitScheduleOutput(data, context);
486
486
  const response = {
487
487
  $metadata: deserializeMetadata(output),
488
488
  ...contents,
489
489
  };
490
490
  return Promise.resolve(response);
491
491
  };
492
- exports.deserializeAws_json1_0GetBandwidthRateLimitScheduleCommand = deserializeAws_json1_0GetBandwidthRateLimitScheduleCommand;
493
- const deserializeAws_json1_0GetBandwidthRateLimitScheduleCommandError = async (output, context) => {
492
+ exports.de_GetBandwidthRateLimitScheduleCommand = de_GetBandwidthRateLimitScheduleCommand;
493
+ const de_GetBandwidthRateLimitScheduleCommandError = async (output, context) => {
494
494
  const parsedOutput = {
495
495
  ...output,
496
496
  body: await parseErrorBody(output.body, context),
@@ -499,16 +499,16 @@ const deserializeAws_json1_0GetBandwidthRateLimitScheduleCommandError = async (o
499
499
  switch (errorCode) {
500
500
  case "InternalServerException":
501
501
  case "com.amazonaws.backupgateway#InternalServerException":
502
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
502
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
503
503
  case "ResourceNotFoundException":
504
504
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
505
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
505
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
506
506
  case "ThrottlingException":
507
507
  case "com.amazonaws.backupgateway#ThrottlingException":
508
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
508
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
509
509
  case "ValidationException":
510
510
  case "com.amazonaws.backupgateway#ValidationException":
511
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
511
+ throw await de_ValidationExceptionRes(parsedOutput, context);
512
512
  default:
513
513
  const parsedBody = parsedOutput.body;
514
514
  (0, smithy_client_1.throwDefaultError)({
@@ -519,21 +519,21 @@ const deserializeAws_json1_0GetBandwidthRateLimitScheduleCommandError = async (o
519
519
  });
520
520
  }
521
521
  };
522
- const deserializeAws_json1_0GetGatewayCommand = async (output, context) => {
522
+ const de_GetGatewayCommand = async (output, context) => {
523
523
  if (output.statusCode >= 300) {
524
- return deserializeAws_json1_0GetGatewayCommandError(output, context);
524
+ return de_GetGatewayCommandError(output, context);
525
525
  }
526
526
  const data = await parseBody(output.body, context);
527
527
  let contents = {};
528
- contents = deserializeAws_json1_0GetGatewayOutput(data, context);
528
+ contents = de_GetGatewayOutput(data, context);
529
529
  const response = {
530
530
  $metadata: deserializeMetadata(output),
531
531
  ...contents,
532
532
  };
533
533
  return Promise.resolve(response);
534
534
  };
535
- exports.deserializeAws_json1_0GetGatewayCommand = deserializeAws_json1_0GetGatewayCommand;
536
- const deserializeAws_json1_0GetGatewayCommandError = async (output, context) => {
535
+ exports.de_GetGatewayCommand = de_GetGatewayCommand;
536
+ const de_GetGatewayCommandError = async (output, context) => {
537
537
  const parsedOutput = {
538
538
  ...output,
539
539
  body: await parseErrorBody(output.body, context),
@@ -542,16 +542,16 @@ const deserializeAws_json1_0GetGatewayCommandError = async (output, context) =>
542
542
  switch (errorCode) {
543
543
  case "InternalServerException":
544
544
  case "com.amazonaws.backupgateway#InternalServerException":
545
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
545
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
546
546
  case "ResourceNotFoundException":
547
547
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
548
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
548
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
549
549
  case "ThrottlingException":
550
550
  case "com.amazonaws.backupgateway#ThrottlingException":
551
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
551
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
552
552
  case "ValidationException":
553
553
  case "com.amazonaws.backupgateway#ValidationException":
554
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
554
+ throw await de_ValidationExceptionRes(parsedOutput, context);
555
555
  default:
556
556
  const parsedBody = parsedOutput.body;
557
557
  (0, smithy_client_1.throwDefaultError)({
@@ -562,21 +562,21 @@ const deserializeAws_json1_0GetGatewayCommandError = async (output, context) =>
562
562
  });
563
563
  }
564
564
  };
565
- const deserializeAws_json1_0GetHypervisorCommand = async (output, context) => {
565
+ const de_GetHypervisorCommand = async (output, context) => {
566
566
  if (output.statusCode >= 300) {
567
- return deserializeAws_json1_0GetHypervisorCommandError(output, context);
567
+ return de_GetHypervisorCommandError(output, context);
568
568
  }
569
569
  const data = await parseBody(output.body, context);
570
570
  let contents = {};
571
- contents = deserializeAws_json1_0GetHypervisorOutput(data, context);
571
+ contents = de_GetHypervisorOutput(data, context);
572
572
  const response = {
573
573
  $metadata: deserializeMetadata(output),
574
574
  ...contents,
575
575
  };
576
576
  return Promise.resolve(response);
577
577
  };
578
- exports.deserializeAws_json1_0GetHypervisorCommand = deserializeAws_json1_0GetHypervisorCommand;
579
- const deserializeAws_json1_0GetHypervisorCommandError = async (output, context) => {
578
+ exports.de_GetHypervisorCommand = de_GetHypervisorCommand;
579
+ const de_GetHypervisorCommandError = async (output, context) => {
580
580
  const parsedOutput = {
581
581
  ...output,
582
582
  body: await parseErrorBody(output.body, context),
@@ -585,16 +585,16 @@ const deserializeAws_json1_0GetHypervisorCommandError = async (output, context)
585
585
  switch (errorCode) {
586
586
  case "InternalServerException":
587
587
  case "com.amazonaws.backupgateway#InternalServerException":
588
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
588
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
589
589
  case "ResourceNotFoundException":
590
590
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
591
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
591
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
592
592
  case "ThrottlingException":
593
593
  case "com.amazonaws.backupgateway#ThrottlingException":
594
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
594
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
595
595
  case "ValidationException":
596
596
  case "com.amazonaws.backupgateway#ValidationException":
597
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
597
+ throw await de_ValidationExceptionRes(parsedOutput, context);
598
598
  default:
599
599
  const parsedBody = parsedOutput.body;
600
600
  (0, smithy_client_1.throwDefaultError)({
@@ -605,21 +605,21 @@ const deserializeAws_json1_0GetHypervisorCommandError = async (output, context)
605
605
  });
606
606
  }
607
607
  };
608
- const deserializeAws_json1_0GetHypervisorPropertyMappingsCommand = async (output, context) => {
608
+ const de_GetHypervisorPropertyMappingsCommand = async (output, context) => {
609
609
  if (output.statusCode >= 300) {
610
- return deserializeAws_json1_0GetHypervisorPropertyMappingsCommandError(output, context);
610
+ return de_GetHypervisorPropertyMappingsCommandError(output, context);
611
611
  }
612
612
  const data = await parseBody(output.body, context);
613
613
  let contents = {};
614
- contents = deserializeAws_json1_0GetHypervisorPropertyMappingsOutput(data, context);
614
+ contents = de_GetHypervisorPropertyMappingsOutput(data, context);
615
615
  const response = {
616
616
  $metadata: deserializeMetadata(output),
617
617
  ...contents,
618
618
  };
619
619
  return Promise.resolve(response);
620
620
  };
621
- exports.deserializeAws_json1_0GetHypervisorPropertyMappingsCommand = deserializeAws_json1_0GetHypervisorPropertyMappingsCommand;
622
- const deserializeAws_json1_0GetHypervisorPropertyMappingsCommandError = async (output, context) => {
621
+ exports.de_GetHypervisorPropertyMappingsCommand = de_GetHypervisorPropertyMappingsCommand;
622
+ const de_GetHypervisorPropertyMappingsCommandError = async (output, context) => {
623
623
  const parsedOutput = {
624
624
  ...output,
625
625
  body: await parseErrorBody(output.body, context),
@@ -628,16 +628,16 @@ const deserializeAws_json1_0GetHypervisorPropertyMappingsCommandError = async (o
628
628
  switch (errorCode) {
629
629
  case "InternalServerException":
630
630
  case "com.amazonaws.backupgateway#InternalServerException":
631
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
631
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
632
632
  case "ResourceNotFoundException":
633
633
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
634
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
634
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
635
635
  case "ThrottlingException":
636
636
  case "com.amazonaws.backupgateway#ThrottlingException":
637
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
637
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
638
638
  case "ValidationException":
639
639
  case "com.amazonaws.backupgateway#ValidationException":
640
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
640
+ throw await de_ValidationExceptionRes(parsedOutput, context);
641
641
  default:
642
642
  const parsedBody = parsedOutput.body;
643
643
  (0, smithy_client_1.throwDefaultError)({
@@ -648,21 +648,21 @@ const deserializeAws_json1_0GetHypervisorPropertyMappingsCommandError = async (o
648
648
  });
649
649
  }
650
650
  };
651
- const deserializeAws_json1_0GetVirtualMachineCommand = async (output, context) => {
651
+ const de_GetVirtualMachineCommand = async (output, context) => {
652
652
  if (output.statusCode >= 300) {
653
- return deserializeAws_json1_0GetVirtualMachineCommandError(output, context);
653
+ return de_GetVirtualMachineCommandError(output, context);
654
654
  }
655
655
  const data = await parseBody(output.body, context);
656
656
  let contents = {};
657
- contents = deserializeAws_json1_0GetVirtualMachineOutput(data, context);
657
+ contents = de_GetVirtualMachineOutput(data, context);
658
658
  const response = {
659
659
  $metadata: deserializeMetadata(output),
660
660
  ...contents,
661
661
  };
662
662
  return Promise.resolve(response);
663
663
  };
664
- exports.deserializeAws_json1_0GetVirtualMachineCommand = deserializeAws_json1_0GetVirtualMachineCommand;
665
- const deserializeAws_json1_0GetVirtualMachineCommandError = async (output, context) => {
664
+ exports.de_GetVirtualMachineCommand = de_GetVirtualMachineCommand;
665
+ const de_GetVirtualMachineCommandError = async (output, context) => {
666
666
  const parsedOutput = {
667
667
  ...output,
668
668
  body: await parseErrorBody(output.body, context),
@@ -671,16 +671,16 @@ const deserializeAws_json1_0GetVirtualMachineCommandError = async (output, conte
671
671
  switch (errorCode) {
672
672
  case "InternalServerException":
673
673
  case "com.amazonaws.backupgateway#InternalServerException":
674
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
674
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
675
675
  case "ResourceNotFoundException":
676
676
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
677
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
677
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
678
678
  case "ThrottlingException":
679
679
  case "com.amazonaws.backupgateway#ThrottlingException":
680
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
680
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
681
681
  case "ValidationException":
682
682
  case "com.amazonaws.backupgateway#ValidationException":
683
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
683
+ throw await de_ValidationExceptionRes(parsedOutput, context);
684
684
  default:
685
685
  const parsedBody = parsedOutput.body;
686
686
  (0, smithy_client_1.throwDefaultError)({
@@ -691,21 +691,21 @@ const deserializeAws_json1_0GetVirtualMachineCommandError = async (output, conte
691
691
  });
692
692
  }
693
693
  };
694
- const deserializeAws_json1_0ImportHypervisorConfigurationCommand = async (output, context) => {
694
+ const de_ImportHypervisorConfigurationCommand = async (output, context) => {
695
695
  if (output.statusCode >= 300) {
696
- return deserializeAws_json1_0ImportHypervisorConfigurationCommandError(output, context);
696
+ return de_ImportHypervisorConfigurationCommandError(output, context);
697
697
  }
698
698
  const data = await parseBody(output.body, context);
699
699
  let contents = {};
700
- contents = deserializeAws_json1_0ImportHypervisorConfigurationOutput(data, context);
700
+ contents = de_ImportHypervisorConfigurationOutput(data, context);
701
701
  const response = {
702
702
  $metadata: deserializeMetadata(output),
703
703
  ...contents,
704
704
  };
705
705
  return Promise.resolve(response);
706
706
  };
707
- exports.deserializeAws_json1_0ImportHypervisorConfigurationCommand = deserializeAws_json1_0ImportHypervisorConfigurationCommand;
708
- const deserializeAws_json1_0ImportHypervisorConfigurationCommandError = async (output, context) => {
707
+ exports.de_ImportHypervisorConfigurationCommand = de_ImportHypervisorConfigurationCommand;
708
+ const de_ImportHypervisorConfigurationCommandError = async (output, context) => {
709
709
  const parsedOutput = {
710
710
  ...output,
711
711
  body: await parseErrorBody(output.body, context),
@@ -714,19 +714,19 @@ const deserializeAws_json1_0ImportHypervisorConfigurationCommandError = async (o
714
714
  switch (errorCode) {
715
715
  case "AccessDeniedException":
716
716
  case "com.amazonaws.backupgateway#AccessDeniedException":
717
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
717
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
718
718
  case "ConflictException":
719
719
  case "com.amazonaws.backupgateway#ConflictException":
720
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
720
+ throw await de_ConflictExceptionRes(parsedOutput, context);
721
721
  case "InternalServerException":
722
722
  case "com.amazonaws.backupgateway#InternalServerException":
723
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
723
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
724
724
  case "ThrottlingException":
725
725
  case "com.amazonaws.backupgateway#ThrottlingException":
726
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
726
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
727
727
  case "ValidationException":
728
728
  case "com.amazonaws.backupgateway#ValidationException":
729
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
729
+ throw await de_ValidationExceptionRes(parsedOutput, context);
730
730
  default:
731
731
  const parsedBody = parsedOutput.body;
732
732
  (0, smithy_client_1.throwDefaultError)({
@@ -737,21 +737,21 @@ const deserializeAws_json1_0ImportHypervisorConfigurationCommandError = async (o
737
737
  });
738
738
  }
739
739
  };
740
- const deserializeAws_json1_0ListGatewaysCommand = async (output, context) => {
740
+ const de_ListGatewaysCommand = async (output, context) => {
741
741
  if (output.statusCode >= 300) {
742
- return deserializeAws_json1_0ListGatewaysCommandError(output, context);
742
+ return de_ListGatewaysCommandError(output, context);
743
743
  }
744
744
  const data = await parseBody(output.body, context);
745
745
  let contents = {};
746
- contents = deserializeAws_json1_0ListGatewaysOutput(data, context);
746
+ contents = de_ListGatewaysOutput(data, context);
747
747
  const response = {
748
748
  $metadata: deserializeMetadata(output),
749
749
  ...contents,
750
750
  };
751
751
  return Promise.resolve(response);
752
752
  };
753
- exports.deserializeAws_json1_0ListGatewaysCommand = deserializeAws_json1_0ListGatewaysCommand;
754
- const deserializeAws_json1_0ListGatewaysCommandError = async (output, context) => {
753
+ exports.de_ListGatewaysCommand = de_ListGatewaysCommand;
754
+ const de_ListGatewaysCommandError = async (output, context) => {
755
755
  const parsedOutput = {
756
756
  ...output,
757
757
  body: await parseErrorBody(output.body, context),
@@ -760,13 +760,13 @@ const deserializeAws_json1_0ListGatewaysCommandError = async (output, context) =
760
760
  switch (errorCode) {
761
761
  case "InternalServerException":
762
762
  case "com.amazonaws.backupgateway#InternalServerException":
763
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
763
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
764
764
  case "ThrottlingException":
765
765
  case "com.amazonaws.backupgateway#ThrottlingException":
766
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
766
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
767
767
  case "ValidationException":
768
768
  case "com.amazonaws.backupgateway#ValidationException":
769
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
769
+ throw await de_ValidationExceptionRes(parsedOutput, context);
770
770
  default:
771
771
  const parsedBody = parsedOutput.body;
772
772
  (0, smithy_client_1.throwDefaultError)({
@@ -777,21 +777,21 @@ const deserializeAws_json1_0ListGatewaysCommandError = async (output, context) =
777
777
  });
778
778
  }
779
779
  };
780
- const deserializeAws_json1_0ListHypervisorsCommand = async (output, context) => {
780
+ const de_ListHypervisorsCommand = async (output, context) => {
781
781
  if (output.statusCode >= 300) {
782
- return deserializeAws_json1_0ListHypervisorsCommandError(output, context);
782
+ return de_ListHypervisorsCommandError(output, context);
783
783
  }
784
784
  const data = await parseBody(output.body, context);
785
785
  let contents = {};
786
- contents = deserializeAws_json1_0ListHypervisorsOutput(data, context);
786
+ contents = de_ListHypervisorsOutput(data, context);
787
787
  const response = {
788
788
  $metadata: deserializeMetadata(output),
789
789
  ...contents,
790
790
  };
791
791
  return Promise.resolve(response);
792
792
  };
793
- exports.deserializeAws_json1_0ListHypervisorsCommand = deserializeAws_json1_0ListHypervisorsCommand;
794
- const deserializeAws_json1_0ListHypervisorsCommandError = async (output, context) => {
793
+ exports.de_ListHypervisorsCommand = de_ListHypervisorsCommand;
794
+ const de_ListHypervisorsCommandError = async (output, context) => {
795
795
  const parsedOutput = {
796
796
  ...output,
797
797
  body: await parseErrorBody(output.body, context),
@@ -800,13 +800,13 @@ const deserializeAws_json1_0ListHypervisorsCommandError = async (output, context
800
800
  switch (errorCode) {
801
801
  case "InternalServerException":
802
802
  case "com.amazonaws.backupgateway#InternalServerException":
803
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
803
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
804
804
  case "ThrottlingException":
805
805
  case "com.amazonaws.backupgateway#ThrottlingException":
806
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
806
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
807
807
  case "ValidationException":
808
808
  case "com.amazonaws.backupgateway#ValidationException":
809
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
809
+ throw await de_ValidationExceptionRes(parsedOutput, context);
810
810
  default:
811
811
  const parsedBody = parsedOutput.body;
812
812
  (0, smithy_client_1.throwDefaultError)({
@@ -817,21 +817,21 @@ const deserializeAws_json1_0ListHypervisorsCommandError = async (output, context
817
817
  });
818
818
  }
819
819
  };
820
- const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
820
+ const de_ListTagsForResourceCommand = async (output, context) => {
821
821
  if (output.statusCode >= 300) {
822
- return deserializeAws_json1_0ListTagsForResourceCommandError(output, context);
822
+ return de_ListTagsForResourceCommandError(output, context);
823
823
  }
824
824
  const data = await parseBody(output.body, context);
825
825
  let contents = {};
826
- contents = deserializeAws_json1_0ListTagsForResourceOutput(data, context);
826
+ contents = de_ListTagsForResourceOutput(data, context);
827
827
  const response = {
828
828
  $metadata: deserializeMetadata(output),
829
829
  ...contents,
830
830
  };
831
831
  return Promise.resolve(response);
832
832
  };
833
- exports.deserializeAws_json1_0ListTagsForResourceCommand = deserializeAws_json1_0ListTagsForResourceCommand;
834
- const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, context) => {
833
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
834
+ const de_ListTagsForResourceCommandError = async (output, context) => {
835
835
  const parsedOutput = {
836
836
  ...output,
837
837
  body: await parseErrorBody(output.body, context),
@@ -840,16 +840,16 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
840
840
  switch (errorCode) {
841
841
  case "InternalServerException":
842
842
  case "com.amazonaws.backupgateway#InternalServerException":
843
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
843
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
844
844
  case "ResourceNotFoundException":
845
845
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
846
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
846
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
847
847
  case "ThrottlingException":
848
848
  case "com.amazonaws.backupgateway#ThrottlingException":
849
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
849
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
850
850
  case "ValidationException":
851
851
  case "com.amazonaws.backupgateway#ValidationException":
852
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
852
+ throw await de_ValidationExceptionRes(parsedOutput, context);
853
853
  default:
854
854
  const parsedBody = parsedOutput.body;
855
855
  (0, smithy_client_1.throwDefaultError)({
@@ -860,21 +860,21 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
860
860
  });
861
861
  }
862
862
  };
863
- const deserializeAws_json1_0ListVirtualMachinesCommand = async (output, context) => {
863
+ const de_ListVirtualMachinesCommand = async (output, context) => {
864
864
  if (output.statusCode >= 300) {
865
- return deserializeAws_json1_0ListVirtualMachinesCommandError(output, context);
865
+ return de_ListVirtualMachinesCommandError(output, context);
866
866
  }
867
867
  const data = await parseBody(output.body, context);
868
868
  let contents = {};
869
- contents = deserializeAws_json1_0ListVirtualMachinesOutput(data, context);
869
+ contents = de_ListVirtualMachinesOutput(data, context);
870
870
  const response = {
871
871
  $metadata: deserializeMetadata(output),
872
872
  ...contents,
873
873
  };
874
874
  return Promise.resolve(response);
875
875
  };
876
- exports.deserializeAws_json1_0ListVirtualMachinesCommand = deserializeAws_json1_0ListVirtualMachinesCommand;
877
- const deserializeAws_json1_0ListVirtualMachinesCommandError = async (output, context) => {
876
+ exports.de_ListVirtualMachinesCommand = de_ListVirtualMachinesCommand;
877
+ const de_ListVirtualMachinesCommandError = async (output, context) => {
878
878
  const parsedOutput = {
879
879
  ...output,
880
880
  body: await parseErrorBody(output.body, context),
@@ -883,13 +883,13 @@ const deserializeAws_json1_0ListVirtualMachinesCommandError = async (output, con
883
883
  switch (errorCode) {
884
884
  case "InternalServerException":
885
885
  case "com.amazonaws.backupgateway#InternalServerException":
886
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
886
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
887
887
  case "ThrottlingException":
888
888
  case "com.amazonaws.backupgateway#ThrottlingException":
889
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
889
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
890
890
  case "ValidationException":
891
891
  case "com.amazonaws.backupgateway#ValidationException":
892
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
892
+ throw await de_ValidationExceptionRes(parsedOutput, context);
893
893
  default:
894
894
  const parsedBody = parsedOutput.body;
895
895
  (0, smithy_client_1.throwDefaultError)({
@@ -900,21 +900,21 @@ const deserializeAws_json1_0ListVirtualMachinesCommandError = async (output, con
900
900
  });
901
901
  }
902
902
  };
903
- const deserializeAws_json1_0PutBandwidthRateLimitScheduleCommand = async (output, context) => {
903
+ const de_PutBandwidthRateLimitScheduleCommand = async (output, context) => {
904
904
  if (output.statusCode >= 300) {
905
- return deserializeAws_json1_0PutBandwidthRateLimitScheduleCommandError(output, context);
905
+ return de_PutBandwidthRateLimitScheduleCommandError(output, context);
906
906
  }
907
907
  const data = await parseBody(output.body, context);
908
908
  let contents = {};
909
- contents = deserializeAws_json1_0PutBandwidthRateLimitScheduleOutput(data, context);
909
+ contents = de_PutBandwidthRateLimitScheduleOutput(data, context);
910
910
  const response = {
911
911
  $metadata: deserializeMetadata(output),
912
912
  ...contents,
913
913
  };
914
914
  return Promise.resolve(response);
915
915
  };
916
- exports.deserializeAws_json1_0PutBandwidthRateLimitScheduleCommand = deserializeAws_json1_0PutBandwidthRateLimitScheduleCommand;
917
- const deserializeAws_json1_0PutBandwidthRateLimitScheduleCommandError = async (output, context) => {
916
+ exports.de_PutBandwidthRateLimitScheduleCommand = de_PutBandwidthRateLimitScheduleCommand;
917
+ const de_PutBandwidthRateLimitScheduleCommandError = async (output, context) => {
918
918
  const parsedOutput = {
919
919
  ...output,
920
920
  body: await parseErrorBody(output.body, context),
@@ -923,16 +923,16 @@ const deserializeAws_json1_0PutBandwidthRateLimitScheduleCommandError = async (o
923
923
  switch (errorCode) {
924
924
  case "InternalServerException":
925
925
  case "com.amazonaws.backupgateway#InternalServerException":
926
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
926
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
927
927
  case "ResourceNotFoundException":
928
928
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
929
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
929
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
930
930
  case "ThrottlingException":
931
931
  case "com.amazonaws.backupgateway#ThrottlingException":
932
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
932
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
933
933
  case "ValidationException":
934
934
  case "com.amazonaws.backupgateway#ValidationException":
935
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
935
+ throw await de_ValidationExceptionRes(parsedOutput, context);
936
936
  default:
937
937
  const parsedBody = parsedOutput.body;
938
938
  (0, smithy_client_1.throwDefaultError)({
@@ -943,21 +943,21 @@ const deserializeAws_json1_0PutBandwidthRateLimitScheduleCommandError = async (o
943
943
  });
944
944
  }
945
945
  };
946
- const deserializeAws_json1_0PutHypervisorPropertyMappingsCommand = async (output, context) => {
946
+ const de_PutHypervisorPropertyMappingsCommand = async (output, context) => {
947
947
  if (output.statusCode >= 300) {
948
- return deserializeAws_json1_0PutHypervisorPropertyMappingsCommandError(output, context);
948
+ return de_PutHypervisorPropertyMappingsCommandError(output, context);
949
949
  }
950
950
  const data = await parseBody(output.body, context);
951
951
  let contents = {};
952
- contents = deserializeAws_json1_0PutHypervisorPropertyMappingsOutput(data, context);
952
+ contents = de_PutHypervisorPropertyMappingsOutput(data, context);
953
953
  const response = {
954
954
  $metadata: deserializeMetadata(output),
955
955
  ...contents,
956
956
  };
957
957
  return Promise.resolve(response);
958
958
  };
959
- exports.deserializeAws_json1_0PutHypervisorPropertyMappingsCommand = deserializeAws_json1_0PutHypervisorPropertyMappingsCommand;
960
- const deserializeAws_json1_0PutHypervisorPropertyMappingsCommandError = async (output, context) => {
959
+ exports.de_PutHypervisorPropertyMappingsCommand = de_PutHypervisorPropertyMappingsCommand;
960
+ const de_PutHypervisorPropertyMappingsCommandError = async (output, context) => {
961
961
  const parsedOutput = {
962
962
  ...output,
963
963
  body: await parseErrorBody(output.body, context),
@@ -966,22 +966,22 @@ const deserializeAws_json1_0PutHypervisorPropertyMappingsCommandError = async (o
966
966
  switch (errorCode) {
967
967
  case "AccessDeniedException":
968
968
  case "com.amazonaws.backupgateway#AccessDeniedException":
969
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
969
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
970
970
  case "ConflictException":
971
971
  case "com.amazonaws.backupgateway#ConflictException":
972
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
972
+ throw await de_ConflictExceptionRes(parsedOutput, context);
973
973
  case "InternalServerException":
974
974
  case "com.amazonaws.backupgateway#InternalServerException":
975
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
975
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
976
976
  case "ResourceNotFoundException":
977
977
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
978
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
978
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
979
979
  case "ThrottlingException":
980
980
  case "com.amazonaws.backupgateway#ThrottlingException":
981
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
981
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
982
982
  case "ValidationException":
983
983
  case "com.amazonaws.backupgateway#ValidationException":
984
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
984
+ throw await de_ValidationExceptionRes(parsedOutput, context);
985
985
  default:
986
986
  const parsedBody = parsedOutput.body;
987
987
  (0, smithy_client_1.throwDefaultError)({
@@ -992,21 +992,21 @@ const deserializeAws_json1_0PutHypervisorPropertyMappingsCommandError = async (o
992
992
  });
993
993
  }
994
994
  };
995
- const deserializeAws_json1_0PutMaintenanceStartTimeCommand = async (output, context) => {
995
+ const de_PutMaintenanceStartTimeCommand = async (output, context) => {
996
996
  if (output.statusCode >= 300) {
997
- return deserializeAws_json1_0PutMaintenanceStartTimeCommandError(output, context);
997
+ return de_PutMaintenanceStartTimeCommandError(output, context);
998
998
  }
999
999
  const data = await parseBody(output.body, context);
1000
1000
  let contents = {};
1001
- contents = deserializeAws_json1_0PutMaintenanceStartTimeOutput(data, context);
1001
+ contents = de_PutMaintenanceStartTimeOutput(data, context);
1002
1002
  const response = {
1003
1003
  $metadata: deserializeMetadata(output),
1004
1004
  ...contents,
1005
1005
  };
1006
1006
  return Promise.resolve(response);
1007
1007
  };
1008
- exports.deserializeAws_json1_0PutMaintenanceStartTimeCommand = deserializeAws_json1_0PutMaintenanceStartTimeCommand;
1009
- const deserializeAws_json1_0PutMaintenanceStartTimeCommandError = async (output, context) => {
1008
+ exports.de_PutMaintenanceStartTimeCommand = de_PutMaintenanceStartTimeCommand;
1009
+ const de_PutMaintenanceStartTimeCommandError = async (output, context) => {
1010
1010
  const parsedOutput = {
1011
1011
  ...output,
1012
1012
  body: await parseErrorBody(output.body, context),
@@ -1015,19 +1015,19 @@ const deserializeAws_json1_0PutMaintenanceStartTimeCommandError = async (output,
1015
1015
  switch (errorCode) {
1016
1016
  case "ConflictException":
1017
1017
  case "com.amazonaws.backupgateway#ConflictException":
1018
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
1018
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1019
1019
  case "InternalServerException":
1020
1020
  case "com.amazonaws.backupgateway#InternalServerException":
1021
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
1021
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1022
1022
  case "ResourceNotFoundException":
1023
1023
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
1024
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
1024
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1025
1025
  case "ThrottlingException":
1026
1026
  case "com.amazonaws.backupgateway#ThrottlingException":
1027
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
1027
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1028
1028
  case "ValidationException":
1029
1029
  case "com.amazonaws.backupgateway#ValidationException":
1030
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
1030
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1031
1031
  default:
1032
1032
  const parsedBody = parsedOutput.body;
1033
1033
  (0, smithy_client_1.throwDefaultError)({
@@ -1038,21 +1038,21 @@ const deserializeAws_json1_0PutMaintenanceStartTimeCommandError = async (output,
1038
1038
  });
1039
1039
  }
1040
1040
  };
1041
- const deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommand = async (output, context) => {
1041
+ const de_StartVirtualMachinesMetadataSyncCommand = async (output, context) => {
1042
1042
  if (output.statusCode >= 300) {
1043
- return deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommandError(output, context);
1043
+ return de_StartVirtualMachinesMetadataSyncCommandError(output, context);
1044
1044
  }
1045
1045
  const data = await parseBody(output.body, context);
1046
1046
  let contents = {};
1047
- contents = deserializeAws_json1_0StartVirtualMachinesMetadataSyncOutput(data, context);
1047
+ contents = de_StartVirtualMachinesMetadataSyncOutput(data, context);
1048
1048
  const response = {
1049
1049
  $metadata: deserializeMetadata(output),
1050
1050
  ...contents,
1051
1051
  };
1052
1052
  return Promise.resolve(response);
1053
1053
  };
1054
- exports.deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommand = deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommand;
1055
- const deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommandError = async (output, context) => {
1054
+ exports.de_StartVirtualMachinesMetadataSyncCommand = de_StartVirtualMachinesMetadataSyncCommand;
1055
+ const de_StartVirtualMachinesMetadataSyncCommandError = async (output, context) => {
1056
1056
  const parsedOutput = {
1057
1057
  ...output,
1058
1058
  body: await parseErrorBody(output.body, context),
@@ -1061,19 +1061,19 @@ const deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommandError = async
1061
1061
  switch (errorCode) {
1062
1062
  case "AccessDeniedException":
1063
1063
  case "com.amazonaws.backupgateway#AccessDeniedException":
1064
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
1064
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1065
1065
  case "InternalServerException":
1066
1066
  case "com.amazonaws.backupgateway#InternalServerException":
1067
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
1067
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1068
1068
  case "ResourceNotFoundException":
1069
1069
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
1070
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
1070
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1071
1071
  case "ThrottlingException":
1072
1072
  case "com.amazonaws.backupgateway#ThrottlingException":
1073
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
1073
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1074
1074
  case "ValidationException":
1075
1075
  case "com.amazonaws.backupgateway#ValidationException":
1076
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
1076
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1077
1077
  default:
1078
1078
  const parsedBody = parsedOutput.body;
1079
1079
  (0, smithy_client_1.throwDefaultError)({
@@ -1084,21 +1084,21 @@ const deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommandError = async
1084
1084
  });
1085
1085
  }
1086
1086
  };
1087
- const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
1087
+ const de_TagResourceCommand = async (output, context) => {
1088
1088
  if (output.statusCode >= 300) {
1089
- return deserializeAws_json1_0TagResourceCommandError(output, context);
1089
+ return de_TagResourceCommandError(output, context);
1090
1090
  }
1091
1091
  const data = await parseBody(output.body, context);
1092
1092
  let contents = {};
1093
- contents = deserializeAws_json1_0TagResourceOutput(data, context);
1093
+ contents = de_TagResourceOutput(data, context);
1094
1094
  const response = {
1095
1095
  $metadata: deserializeMetadata(output),
1096
1096
  ...contents,
1097
1097
  };
1098
1098
  return Promise.resolve(response);
1099
1099
  };
1100
- exports.deserializeAws_json1_0TagResourceCommand = deserializeAws_json1_0TagResourceCommand;
1101
- const deserializeAws_json1_0TagResourceCommandError = async (output, context) => {
1100
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1101
+ const de_TagResourceCommandError = async (output, context) => {
1102
1102
  const parsedOutput = {
1103
1103
  ...output,
1104
1104
  body: await parseErrorBody(output.body, context),
@@ -1107,16 +1107,16 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
1107
1107
  switch (errorCode) {
1108
1108
  case "InternalServerException":
1109
1109
  case "com.amazonaws.backupgateway#InternalServerException":
1110
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
1110
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1111
1111
  case "ResourceNotFoundException":
1112
1112
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
1113
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
1113
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1114
1114
  case "ThrottlingException":
1115
1115
  case "com.amazonaws.backupgateway#ThrottlingException":
1116
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
1116
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1117
1117
  case "ValidationException":
1118
1118
  case "com.amazonaws.backupgateway#ValidationException":
1119
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
1119
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1120
1120
  default:
1121
1121
  const parsedBody = parsedOutput.body;
1122
1122
  (0, smithy_client_1.throwDefaultError)({
@@ -1127,21 +1127,21 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
1127
1127
  });
1128
1128
  }
1129
1129
  };
1130
- const deserializeAws_json1_0TestHypervisorConfigurationCommand = async (output, context) => {
1130
+ const de_TestHypervisorConfigurationCommand = async (output, context) => {
1131
1131
  if (output.statusCode >= 300) {
1132
- return deserializeAws_json1_0TestHypervisorConfigurationCommandError(output, context);
1132
+ return de_TestHypervisorConfigurationCommandError(output, context);
1133
1133
  }
1134
1134
  const data = await parseBody(output.body, context);
1135
1135
  let contents = {};
1136
- contents = deserializeAws_json1_0TestHypervisorConfigurationOutput(data, context);
1136
+ contents = de_TestHypervisorConfigurationOutput(data, context);
1137
1137
  const response = {
1138
1138
  $metadata: deserializeMetadata(output),
1139
1139
  ...contents,
1140
1140
  };
1141
1141
  return Promise.resolve(response);
1142
1142
  };
1143
- exports.deserializeAws_json1_0TestHypervisorConfigurationCommand = deserializeAws_json1_0TestHypervisorConfigurationCommand;
1144
- const deserializeAws_json1_0TestHypervisorConfigurationCommandError = async (output, context) => {
1143
+ exports.de_TestHypervisorConfigurationCommand = de_TestHypervisorConfigurationCommand;
1144
+ const de_TestHypervisorConfigurationCommandError = async (output, context) => {
1145
1145
  const parsedOutput = {
1146
1146
  ...output,
1147
1147
  body: await parseErrorBody(output.body, context),
@@ -1150,19 +1150,19 @@ const deserializeAws_json1_0TestHypervisorConfigurationCommandError = async (out
1150
1150
  switch (errorCode) {
1151
1151
  case "ConflictException":
1152
1152
  case "com.amazonaws.backupgateway#ConflictException":
1153
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
1153
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1154
1154
  case "InternalServerException":
1155
1155
  case "com.amazonaws.backupgateway#InternalServerException":
1156
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
1156
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1157
1157
  case "ResourceNotFoundException":
1158
1158
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
1159
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
1159
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1160
1160
  case "ThrottlingException":
1161
1161
  case "com.amazonaws.backupgateway#ThrottlingException":
1162
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
1162
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1163
1163
  case "ValidationException":
1164
1164
  case "com.amazonaws.backupgateway#ValidationException":
1165
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
1165
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1166
1166
  default:
1167
1167
  const parsedBody = parsedOutput.body;
1168
1168
  (0, smithy_client_1.throwDefaultError)({
@@ -1173,21 +1173,21 @@ const deserializeAws_json1_0TestHypervisorConfigurationCommandError = async (out
1173
1173
  });
1174
1174
  }
1175
1175
  };
1176
- const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
1176
+ const de_UntagResourceCommand = async (output, context) => {
1177
1177
  if (output.statusCode >= 300) {
1178
- return deserializeAws_json1_0UntagResourceCommandError(output, context);
1178
+ return de_UntagResourceCommandError(output, context);
1179
1179
  }
1180
1180
  const data = await parseBody(output.body, context);
1181
1181
  let contents = {};
1182
- contents = deserializeAws_json1_0UntagResourceOutput(data, context);
1182
+ contents = de_UntagResourceOutput(data, context);
1183
1183
  const response = {
1184
1184
  $metadata: deserializeMetadata(output),
1185
1185
  ...contents,
1186
1186
  };
1187
1187
  return Promise.resolve(response);
1188
1188
  };
1189
- exports.deserializeAws_json1_0UntagResourceCommand = deserializeAws_json1_0UntagResourceCommand;
1190
- const deserializeAws_json1_0UntagResourceCommandError = async (output, context) => {
1189
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1190
+ const de_UntagResourceCommandError = async (output, context) => {
1191
1191
  const parsedOutput = {
1192
1192
  ...output,
1193
1193
  body: await parseErrorBody(output.body, context),
@@ -1196,16 +1196,16 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
1196
1196
  switch (errorCode) {
1197
1197
  case "InternalServerException":
1198
1198
  case "com.amazonaws.backupgateway#InternalServerException":
1199
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
1199
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1200
1200
  case "ResourceNotFoundException":
1201
1201
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
1202
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
1202
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1203
1203
  case "ThrottlingException":
1204
1204
  case "com.amazonaws.backupgateway#ThrottlingException":
1205
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
1205
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1206
1206
  case "ValidationException":
1207
1207
  case "com.amazonaws.backupgateway#ValidationException":
1208
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
1208
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1209
1209
  default:
1210
1210
  const parsedBody = parsedOutput.body;
1211
1211
  (0, smithy_client_1.throwDefaultError)({
@@ -1216,21 +1216,21 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
1216
1216
  });
1217
1217
  }
1218
1218
  };
1219
- const deserializeAws_json1_0UpdateGatewayInformationCommand = async (output, context) => {
1219
+ const de_UpdateGatewayInformationCommand = async (output, context) => {
1220
1220
  if (output.statusCode >= 300) {
1221
- return deserializeAws_json1_0UpdateGatewayInformationCommandError(output, context);
1221
+ return de_UpdateGatewayInformationCommandError(output, context);
1222
1222
  }
1223
1223
  const data = await parseBody(output.body, context);
1224
1224
  let contents = {};
1225
- contents = deserializeAws_json1_0UpdateGatewayInformationOutput(data, context);
1225
+ contents = de_UpdateGatewayInformationOutput(data, context);
1226
1226
  const response = {
1227
1227
  $metadata: deserializeMetadata(output),
1228
1228
  ...contents,
1229
1229
  };
1230
1230
  return Promise.resolve(response);
1231
1231
  };
1232
- exports.deserializeAws_json1_0UpdateGatewayInformationCommand = deserializeAws_json1_0UpdateGatewayInformationCommand;
1233
- const deserializeAws_json1_0UpdateGatewayInformationCommandError = async (output, context) => {
1232
+ exports.de_UpdateGatewayInformationCommand = de_UpdateGatewayInformationCommand;
1233
+ const de_UpdateGatewayInformationCommandError = async (output, context) => {
1234
1234
  const parsedOutput = {
1235
1235
  ...output,
1236
1236
  body: await parseErrorBody(output.body, context),
@@ -1239,19 +1239,19 @@ const deserializeAws_json1_0UpdateGatewayInformationCommandError = async (output
1239
1239
  switch (errorCode) {
1240
1240
  case "ConflictException":
1241
1241
  case "com.amazonaws.backupgateway#ConflictException":
1242
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
1242
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1243
1243
  case "InternalServerException":
1244
1244
  case "com.amazonaws.backupgateway#InternalServerException":
1245
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
1245
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1246
1246
  case "ResourceNotFoundException":
1247
1247
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
1248
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
1248
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1249
1249
  case "ThrottlingException":
1250
1250
  case "com.amazonaws.backupgateway#ThrottlingException":
1251
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
1251
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1252
1252
  case "ValidationException":
1253
1253
  case "com.amazonaws.backupgateway#ValidationException":
1254
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
1254
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1255
1255
  default:
1256
1256
  const parsedBody = parsedOutput.body;
1257
1257
  (0, smithy_client_1.throwDefaultError)({
@@ -1262,21 +1262,21 @@ const deserializeAws_json1_0UpdateGatewayInformationCommandError = async (output
1262
1262
  });
1263
1263
  }
1264
1264
  };
1265
- const deserializeAws_json1_0UpdateGatewaySoftwareNowCommand = async (output, context) => {
1265
+ const de_UpdateGatewaySoftwareNowCommand = async (output, context) => {
1266
1266
  if (output.statusCode >= 300) {
1267
- return deserializeAws_json1_0UpdateGatewaySoftwareNowCommandError(output, context);
1267
+ return de_UpdateGatewaySoftwareNowCommandError(output, context);
1268
1268
  }
1269
1269
  const data = await parseBody(output.body, context);
1270
1270
  let contents = {};
1271
- contents = deserializeAws_json1_0UpdateGatewaySoftwareNowOutput(data, context);
1271
+ contents = de_UpdateGatewaySoftwareNowOutput(data, context);
1272
1272
  const response = {
1273
1273
  $metadata: deserializeMetadata(output),
1274
1274
  ...contents,
1275
1275
  };
1276
1276
  return Promise.resolve(response);
1277
1277
  };
1278
- exports.deserializeAws_json1_0UpdateGatewaySoftwareNowCommand = deserializeAws_json1_0UpdateGatewaySoftwareNowCommand;
1279
- const deserializeAws_json1_0UpdateGatewaySoftwareNowCommandError = async (output, context) => {
1278
+ exports.de_UpdateGatewaySoftwareNowCommand = de_UpdateGatewaySoftwareNowCommand;
1279
+ const de_UpdateGatewaySoftwareNowCommandError = async (output, context) => {
1280
1280
  const parsedOutput = {
1281
1281
  ...output,
1282
1282
  body: await parseErrorBody(output.body, context),
@@ -1285,16 +1285,16 @@ const deserializeAws_json1_0UpdateGatewaySoftwareNowCommandError = async (output
1285
1285
  switch (errorCode) {
1286
1286
  case "InternalServerException":
1287
1287
  case "com.amazonaws.backupgateway#InternalServerException":
1288
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
1288
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1289
1289
  case "ResourceNotFoundException":
1290
1290
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
1291
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
1291
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1292
1292
  case "ThrottlingException":
1293
1293
  case "com.amazonaws.backupgateway#ThrottlingException":
1294
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
1294
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1295
1295
  case "ValidationException":
1296
1296
  case "com.amazonaws.backupgateway#ValidationException":
1297
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
1297
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1298
1298
  default:
1299
1299
  const parsedBody = parsedOutput.body;
1300
1300
  (0, smithy_client_1.throwDefaultError)({
@@ -1305,21 +1305,21 @@ const deserializeAws_json1_0UpdateGatewaySoftwareNowCommandError = async (output
1305
1305
  });
1306
1306
  }
1307
1307
  };
1308
- const deserializeAws_json1_0UpdateHypervisorCommand = async (output, context) => {
1308
+ const de_UpdateHypervisorCommand = async (output, context) => {
1309
1309
  if (output.statusCode >= 300) {
1310
- return deserializeAws_json1_0UpdateHypervisorCommandError(output, context);
1310
+ return de_UpdateHypervisorCommandError(output, context);
1311
1311
  }
1312
1312
  const data = await parseBody(output.body, context);
1313
1313
  let contents = {};
1314
- contents = deserializeAws_json1_0UpdateHypervisorOutput(data, context);
1314
+ contents = de_UpdateHypervisorOutput(data, context);
1315
1315
  const response = {
1316
1316
  $metadata: deserializeMetadata(output),
1317
1317
  ...contents,
1318
1318
  };
1319
1319
  return Promise.resolve(response);
1320
1320
  };
1321
- exports.deserializeAws_json1_0UpdateHypervisorCommand = deserializeAws_json1_0UpdateHypervisorCommand;
1322
- const deserializeAws_json1_0UpdateHypervisorCommandError = async (output, context) => {
1321
+ exports.de_UpdateHypervisorCommand = de_UpdateHypervisorCommand;
1322
+ const de_UpdateHypervisorCommandError = async (output, context) => {
1323
1323
  const parsedOutput = {
1324
1324
  ...output,
1325
1325
  body: await parseErrorBody(output.body, context),
@@ -1328,22 +1328,22 @@ const deserializeAws_json1_0UpdateHypervisorCommandError = async (output, contex
1328
1328
  switch (errorCode) {
1329
1329
  case "AccessDeniedException":
1330
1330
  case "com.amazonaws.backupgateway#AccessDeniedException":
1331
- throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
1331
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1332
1332
  case "ConflictException":
1333
1333
  case "com.amazonaws.backupgateway#ConflictException":
1334
- throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
1334
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1335
1335
  case "InternalServerException":
1336
1336
  case "com.amazonaws.backupgateway#InternalServerException":
1337
- throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
1337
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1338
1338
  case "ResourceNotFoundException":
1339
1339
  case "com.amazonaws.backupgateway#ResourceNotFoundException":
1340
- throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
1340
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1341
1341
  case "ThrottlingException":
1342
1342
  case "com.amazonaws.backupgateway#ThrottlingException":
1343
- throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
1343
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1344
1344
  case "ValidationException":
1345
1345
  case "com.amazonaws.backupgateway#ValidationException":
1346
- throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
1346
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1347
1347
  default:
1348
1348
  const parsedBody = parsedOutput.body;
1349
1349
  (0, smithy_client_1.throwDefaultError)({
@@ -1354,192 +1354,192 @@ const deserializeAws_json1_0UpdateHypervisorCommandError = async (output, contex
1354
1354
  });
1355
1355
  }
1356
1356
  };
1357
- const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1357
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1358
1358
  const body = parsedOutput.body;
1359
- const deserialized = deserializeAws_json1_0AccessDeniedException(body, context);
1359
+ const deserialized = de_AccessDeniedException(body, context);
1360
1360
  const exception = new models_0_1.AccessDeniedException({
1361
1361
  $metadata: deserializeMetadata(parsedOutput),
1362
1362
  ...deserialized,
1363
1363
  });
1364
1364
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1365
1365
  };
1366
- const deserializeAws_json1_0ConflictExceptionResponse = async (parsedOutput, context) => {
1366
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1367
1367
  const body = parsedOutput.body;
1368
- const deserialized = deserializeAws_json1_0ConflictException(body, context);
1368
+ const deserialized = de_ConflictException(body, context);
1369
1369
  const exception = new models_0_1.ConflictException({
1370
1370
  $metadata: deserializeMetadata(parsedOutput),
1371
1371
  ...deserialized,
1372
1372
  });
1373
1373
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1374
1374
  };
1375
- const deserializeAws_json1_0InternalServerExceptionResponse = async (parsedOutput, context) => {
1375
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1376
1376
  const body = parsedOutput.body;
1377
- const deserialized = deserializeAws_json1_0InternalServerException(body, context);
1377
+ const deserialized = de_InternalServerException(body, context);
1378
1378
  const exception = new models_0_1.InternalServerException({
1379
1379
  $metadata: deserializeMetadata(parsedOutput),
1380
1380
  ...deserialized,
1381
1381
  });
1382
1382
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1383
1383
  };
1384
- const deserializeAws_json1_0ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1384
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1385
1385
  const body = parsedOutput.body;
1386
- const deserialized = deserializeAws_json1_0ResourceNotFoundException(body, context);
1386
+ const deserialized = de_ResourceNotFoundException(body, context);
1387
1387
  const exception = new models_0_1.ResourceNotFoundException({
1388
1388
  $metadata: deserializeMetadata(parsedOutput),
1389
1389
  ...deserialized,
1390
1390
  });
1391
1391
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1392
1392
  };
1393
- const deserializeAws_json1_0ThrottlingExceptionResponse = async (parsedOutput, context) => {
1393
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1394
1394
  const body = parsedOutput.body;
1395
- const deserialized = deserializeAws_json1_0ThrottlingException(body, context);
1395
+ const deserialized = de_ThrottlingException(body, context);
1396
1396
  const exception = new models_0_1.ThrottlingException({
1397
1397
  $metadata: deserializeMetadata(parsedOutput),
1398
1398
  ...deserialized,
1399
1399
  });
1400
1400
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1401
1401
  };
1402
- const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, context) => {
1402
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1403
1403
  const body = parsedOutput.body;
1404
- const deserialized = deserializeAws_json1_0ValidationException(body, context);
1404
+ const deserialized = de_ValidationException(body, context);
1405
1405
  const exception = new models_0_1.ValidationException({
1406
1406
  $metadata: deserializeMetadata(parsedOutput),
1407
1407
  ...deserialized,
1408
1408
  });
1409
1409
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1410
1410
  };
1411
- const serializeAws_json1_0AssociateGatewayToServerInput = (input, context) => {
1411
+ const se_AssociateGatewayToServerInput = (input, context) => {
1412
1412
  return {
1413
1413
  ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1414
1414
  ...(input.ServerArn != null && { ServerArn: input.ServerArn }),
1415
1415
  };
1416
1416
  };
1417
- const serializeAws_json1_0BandwidthRateLimitInterval = (input, context) => {
1417
+ const se_BandwidthRateLimitInterval = (input, context) => {
1418
1418
  return {
1419
1419
  ...(input.AverageUploadRateLimitInBitsPerSec != null && {
1420
1420
  AverageUploadRateLimitInBitsPerSec: input.AverageUploadRateLimitInBitsPerSec,
1421
1421
  }),
1422
- ...(input.DaysOfWeek != null && { DaysOfWeek: serializeAws_json1_0DaysOfWeek(input.DaysOfWeek, context) }),
1422
+ ...(input.DaysOfWeek != null && { DaysOfWeek: se_DaysOfWeek(input.DaysOfWeek, context) }),
1423
1423
  ...(input.EndHourOfDay != null && { EndHourOfDay: input.EndHourOfDay }),
1424
1424
  ...(input.EndMinuteOfHour != null && { EndMinuteOfHour: input.EndMinuteOfHour }),
1425
1425
  ...(input.StartHourOfDay != null && { StartHourOfDay: input.StartHourOfDay }),
1426
1426
  ...(input.StartMinuteOfHour != null && { StartMinuteOfHour: input.StartMinuteOfHour }),
1427
1427
  };
1428
1428
  };
1429
- const serializeAws_json1_0BandwidthRateLimitIntervals = (input, context) => {
1429
+ const se_BandwidthRateLimitIntervals = (input, context) => {
1430
1430
  return input
1431
1431
  .filter((e) => e != null)
1432
1432
  .map((entry) => {
1433
- return serializeAws_json1_0BandwidthRateLimitInterval(entry, context);
1433
+ return se_BandwidthRateLimitInterval(entry, context);
1434
1434
  });
1435
1435
  };
1436
- const serializeAws_json1_0CreateGatewayInput = (input, context) => {
1436
+ const se_CreateGatewayInput = (input, context) => {
1437
1437
  return {
1438
1438
  ...(input.ActivationKey != null && { ActivationKey: input.ActivationKey }),
1439
1439
  ...(input.GatewayDisplayName != null && { GatewayDisplayName: input.GatewayDisplayName }),
1440
1440
  ...(input.GatewayType != null && { GatewayType: input.GatewayType }),
1441
- ...(input.Tags != null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }),
1441
+ ...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
1442
1442
  };
1443
1443
  };
1444
- const serializeAws_json1_0DaysOfWeek = (input, context) => {
1444
+ const se_DaysOfWeek = (input, context) => {
1445
1445
  return input
1446
1446
  .filter((e) => e != null)
1447
1447
  .map((entry) => {
1448
1448
  return entry;
1449
1449
  });
1450
1450
  };
1451
- const serializeAws_json1_0DeleteGatewayInput = (input, context) => {
1451
+ const se_DeleteGatewayInput = (input, context) => {
1452
1452
  return {
1453
1453
  ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1454
1454
  };
1455
1455
  };
1456
- const serializeAws_json1_0DeleteHypervisorInput = (input, context) => {
1456
+ const se_DeleteHypervisorInput = (input, context) => {
1457
1457
  return {
1458
1458
  ...(input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn }),
1459
1459
  };
1460
1460
  };
1461
- const serializeAws_json1_0DisassociateGatewayFromServerInput = (input, context) => {
1461
+ const se_DisassociateGatewayFromServerInput = (input, context) => {
1462
1462
  return {
1463
1463
  ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1464
1464
  };
1465
1465
  };
1466
- const serializeAws_json1_0GetBandwidthRateLimitScheduleInput = (input, context) => {
1466
+ const se_GetBandwidthRateLimitScheduleInput = (input, context) => {
1467
1467
  return {
1468
1468
  ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1469
1469
  };
1470
1470
  };
1471
- const serializeAws_json1_0GetGatewayInput = (input, context) => {
1471
+ const se_GetGatewayInput = (input, context) => {
1472
1472
  return {
1473
1473
  ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1474
1474
  };
1475
1475
  };
1476
- const serializeAws_json1_0GetHypervisorInput = (input, context) => {
1476
+ const se_GetHypervisorInput = (input, context) => {
1477
1477
  return {
1478
1478
  ...(input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn }),
1479
1479
  };
1480
1480
  };
1481
- const serializeAws_json1_0GetHypervisorPropertyMappingsInput = (input, context) => {
1481
+ const se_GetHypervisorPropertyMappingsInput = (input, context) => {
1482
1482
  return {
1483
1483
  ...(input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn }),
1484
1484
  };
1485
1485
  };
1486
- const serializeAws_json1_0GetVirtualMachineInput = (input, context) => {
1486
+ const se_GetVirtualMachineInput = (input, context) => {
1487
1487
  return {
1488
1488
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
1489
1489
  };
1490
1490
  };
1491
- const serializeAws_json1_0ImportHypervisorConfigurationInput = (input, context) => {
1491
+ const se_ImportHypervisorConfigurationInput = (input, context) => {
1492
1492
  return {
1493
1493
  ...(input.Host != null && { Host: input.Host }),
1494
1494
  ...(input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }),
1495
1495
  ...(input.Name != null && { Name: input.Name }),
1496
1496
  ...(input.Password != null && { Password: input.Password }),
1497
- ...(input.Tags != null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }),
1497
+ ...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
1498
1498
  ...(input.Username != null && { Username: input.Username }),
1499
1499
  };
1500
1500
  };
1501
- const serializeAws_json1_0ListGatewaysInput = (input, context) => {
1501
+ const se_ListGatewaysInput = (input, context) => {
1502
1502
  return {
1503
1503
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1504
1504
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1505
1505
  };
1506
1506
  };
1507
- const serializeAws_json1_0ListHypervisorsInput = (input, context) => {
1507
+ const se_ListHypervisorsInput = (input, context) => {
1508
1508
  return {
1509
1509
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1510
1510
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1511
1511
  };
1512
1512
  };
1513
- const serializeAws_json1_0ListTagsForResourceInput = (input, context) => {
1513
+ const se_ListTagsForResourceInput = (input, context) => {
1514
1514
  return {
1515
1515
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
1516
1516
  };
1517
1517
  };
1518
- const serializeAws_json1_0ListVirtualMachinesInput = (input, context) => {
1518
+ const se_ListVirtualMachinesInput = (input, context) => {
1519
1519
  return {
1520
1520
  ...(input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn }),
1521
1521
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1522
1522
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1523
1523
  };
1524
1524
  };
1525
- const serializeAws_json1_0PutBandwidthRateLimitScheduleInput = (input, context) => {
1525
+ const se_PutBandwidthRateLimitScheduleInput = (input, context) => {
1526
1526
  return {
1527
1527
  ...(input.BandwidthRateLimitIntervals != null && {
1528
- BandwidthRateLimitIntervals: serializeAws_json1_0BandwidthRateLimitIntervals(input.BandwidthRateLimitIntervals, context),
1528
+ BandwidthRateLimitIntervals: se_BandwidthRateLimitIntervals(input.BandwidthRateLimitIntervals, context),
1529
1529
  }),
1530
1530
  ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1531
1531
  };
1532
1532
  };
1533
- const serializeAws_json1_0PutHypervisorPropertyMappingsInput = (input, context) => {
1533
+ const se_PutHypervisorPropertyMappingsInput = (input, context) => {
1534
1534
  return {
1535
1535
  ...(input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn }),
1536
1536
  ...(input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn }),
1537
1537
  ...(input.VmwareToAwsTagMappings != null && {
1538
- VmwareToAwsTagMappings: serializeAws_json1_0VmwareToAwsTagMappings(input.VmwareToAwsTagMappings, context),
1538
+ VmwareToAwsTagMappings: se_VmwareToAwsTagMappings(input.VmwareToAwsTagMappings, context),
1539
1539
  }),
1540
1540
  };
1541
1541
  };
1542
- const serializeAws_json1_0PutMaintenanceStartTimeInput = (input, context) => {
1542
+ const se_PutMaintenanceStartTimeInput = (input, context) => {
1543
1543
  return {
1544
1544
  ...(input.DayOfMonth != null && { DayOfMonth: input.DayOfMonth }),
1545
1545
  ...(input.DayOfWeek != null && { DayOfWeek: input.DayOfWeek }),
@@ -1548,38 +1548,38 @@ const serializeAws_json1_0PutMaintenanceStartTimeInput = (input, context) => {
1548
1548
  ...(input.MinuteOfHour != null && { MinuteOfHour: input.MinuteOfHour }),
1549
1549
  };
1550
1550
  };
1551
- const serializeAws_json1_0StartVirtualMachinesMetadataSyncInput = (input, context) => {
1551
+ const se_StartVirtualMachinesMetadataSyncInput = (input, context) => {
1552
1552
  return {
1553
1553
  ...(input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn }),
1554
1554
  };
1555
1555
  };
1556
- const serializeAws_json1_0Tag = (input, context) => {
1556
+ const se_Tag = (input, context) => {
1557
1557
  return {
1558
1558
  ...(input.Key != null && { Key: input.Key }),
1559
1559
  ...(input.Value != null && { Value: input.Value }),
1560
1560
  };
1561
1561
  };
1562
- const serializeAws_json1_0TagKeys = (input, context) => {
1562
+ const se_TagKeys = (input, context) => {
1563
1563
  return input
1564
1564
  .filter((e) => e != null)
1565
1565
  .map((entry) => {
1566
1566
  return entry;
1567
1567
  });
1568
1568
  };
1569
- const serializeAws_json1_0TagResourceInput = (input, context) => {
1569
+ const se_TagResourceInput = (input, context) => {
1570
1570
  return {
1571
1571
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1572
- ...(input.Tags != null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }),
1572
+ ...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
1573
1573
  };
1574
1574
  };
1575
- const serializeAws_json1_0Tags = (input, context) => {
1575
+ const se_Tags = (input, context) => {
1576
1576
  return input
1577
1577
  .filter((e) => e != null)
1578
1578
  .map((entry) => {
1579
- return serializeAws_json1_0Tag(entry, context);
1579
+ return se_Tag(entry, context);
1580
1580
  });
1581
1581
  };
1582
- const serializeAws_json1_0TestHypervisorConfigurationInput = (input, context) => {
1582
+ const se_TestHypervisorConfigurationInput = (input, context) => {
1583
1583
  return {
1584
1584
  ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1585
1585
  ...(input.Host != null && { Host: input.Host }),
@@ -1587,24 +1587,24 @@ const serializeAws_json1_0TestHypervisorConfigurationInput = (input, context) =>
1587
1587
  ...(input.Username != null && { Username: input.Username }),
1588
1588
  };
1589
1589
  };
1590
- const serializeAws_json1_0UntagResourceInput = (input, context) => {
1590
+ const se_UntagResourceInput = (input, context) => {
1591
1591
  return {
1592
1592
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1593
- ...(input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeys(input.TagKeys, context) }),
1593
+ ...(input.TagKeys != null && { TagKeys: se_TagKeys(input.TagKeys, context) }),
1594
1594
  };
1595
1595
  };
1596
- const serializeAws_json1_0UpdateGatewayInformationInput = (input, context) => {
1596
+ const se_UpdateGatewayInformationInput = (input, context) => {
1597
1597
  return {
1598
1598
  ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1599
1599
  ...(input.GatewayDisplayName != null && { GatewayDisplayName: input.GatewayDisplayName }),
1600
1600
  };
1601
1601
  };
1602
- const serializeAws_json1_0UpdateGatewaySoftwareNowInput = (input, context) => {
1602
+ const se_UpdateGatewaySoftwareNowInput = (input, context) => {
1603
1603
  return {
1604
1604
  ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1605
1605
  };
1606
1606
  };
1607
- const serializeAws_json1_0UpdateHypervisorInput = (input, context) => {
1607
+ const se_UpdateHypervisorInput = (input, context) => {
1608
1608
  return {
1609
1609
  ...(input.Host != null && { Host: input.Host }),
1610
1610
  ...(input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn }),
@@ -1614,7 +1614,7 @@ const serializeAws_json1_0UpdateHypervisorInput = (input, context) => {
1614
1614
  ...(input.Username != null && { Username: input.Username }),
1615
1615
  };
1616
1616
  };
1617
- const serializeAws_json1_0VmwareToAwsTagMapping = (input, context) => {
1617
+ const se_VmwareToAwsTagMapping = (input, context) => {
1618
1618
  return {
1619
1619
  ...(input.AwsTagKey != null && { AwsTagKey: input.AwsTagKey }),
1620
1620
  ...(input.AwsTagValue != null && { AwsTagValue: input.AwsTagValue }),
@@ -1622,57 +1622,57 @@ const serializeAws_json1_0VmwareToAwsTagMapping = (input, context) => {
1622
1622
  ...(input.VmwareTagName != null && { VmwareTagName: input.VmwareTagName }),
1623
1623
  };
1624
1624
  };
1625
- const serializeAws_json1_0VmwareToAwsTagMappings = (input, context) => {
1625
+ const se_VmwareToAwsTagMappings = (input, context) => {
1626
1626
  return input
1627
1627
  .filter((e) => e != null)
1628
1628
  .map((entry) => {
1629
- return serializeAws_json1_0VmwareToAwsTagMapping(entry, context);
1629
+ return se_VmwareToAwsTagMapping(entry, context);
1630
1630
  });
1631
1631
  };
1632
- const deserializeAws_json1_0AccessDeniedException = (output, context) => {
1632
+ const de_AccessDeniedException = (output, context) => {
1633
1633
  return {
1634
1634
  ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
1635
1635
  Message: (0, smithy_client_1.expectString)(output.Message),
1636
1636
  };
1637
1637
  };
1638
- const deserializeAws_json1_0AssociateGatewayToServerOutput = (output, context) => {
1638
+ const de_AssociateGatewayToServerOutput = (output, context) => {
1639
1639
  return {
1640
1640
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1641
1641
  };
1642
1642
  };
1643
- const deserializeAws_json1_0BandwidthRateLimitInterval = (output, context) => {
1643
+ const de_BandwidthRateLimitInterval = (output, context) => {
1644
1644
  return {
1645
1645
  AverageUploadRateLimitInBitsPerSec: (0, smithy_client_1.expectLong)(output.AverageUploadRateLimitInBitsPerSec),
1646
- DaysOfWeek: output.DaysOfWeek != null ? deserializeAws_json1_0DaysOfWeek(output.DaysOfWeek, context) : undefined,
1646
+ DaysOfWeek: output.DaysOfWeek != null ? de_DaysOfWeek(output.DaysOfWeek, context) : undefined,
1647
1647
  EndHourOfDay: (0, smithy_client_1.expectInt32)(output.EndHourOfDay),
1648
1648
  EndMinuteOfHour: (0, smithy_client_1.expectInt32)(output.EndMinuteOfHour),
1649
1649
  StartHourOfDay: (0, smithy_client_1.expectInt32)(output.StartHourOfDay),
1650
1650
  StartMinuteOfHour: (0, smithy_client_1.expectInt32)(output.StartMinuteOfHour),
1651
1651
  };
1652
1652
  };
1653
- const deserializeAws_json1_0BandwidthRateLimitIntervals = (output, context) => {
1653
+ const de_BandwidthRateLimitIntervals = (output, context) => {
1654
1654
  const retVal = (output || [])
1655
1655
  .filter((e) => e != null)
1656
1656
  .map((entry) => {
1657
1657
  if (entry === null) {
1658
1658
  return null;
1659
1659
  }
1660
- return deserializeAws_json1_0BandwidthRateLimitInterval(entry, context);
1660
+ return de_BandwidthRateLimitInterval(entry, context);
1661
1661
  });
1662
1662
  return retVal;
1663
1663
  };
1664
- const deserializeAws_json1_0ConflictException = (output, context) => {
1664
+ const de_ConflictException = (output, context) => {
1665
1665
  return {
1666
1666
  ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
1667
1667
  Message: (0, smithy_client_1.expectString)(output.Message),
1668
1668
  };
1669
1669
  };
1670
- const deserializeAws_json1_0CreateGatewayOutput = (output, context) => {
1670
+ const de_CreateGatewayOutput = (output, context) => {
1671
1671
  return {
1672
1672
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1673
1673
  };
1674
1674
  };
1675
- const deserializeAws_json1_0DaysOfWeek = (output, context) => {
1675
+ const de_DaysOfWeek = (output, context) => {
1676
1676
  const retVal = (output || [])
1677
1677
  .filter((e) => e != null)
1678
1678
  .map((entry) => {
@@ -1683,22 +1683,22 @@ const deserializeAws_json1_0DaysOfWeek = (output, context) => {
1683
1683
  });
1684
1684
  return retVal;
1685
1685
  };
1686
- const deserializeAws_json1_0DeleteGatewayOutput = (output, context) => {
1686
+ const de_DeleteGatewayOutput = (output, context) => {
1687
1687
  return {
1688
1688
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1689
1689
  };
1690
1690
  };
1691
- const deserializeAws_json1_0DeleteHypervisorOutput = (output, context) => {
1691
+ const de_DeleteHypervisorOutput = (output, context) => {
1692
1692
  return {
1693
1693
  HypervisorArn: (0, smithy_client_1.expectString)(output.HypervisorArn),
1694
1694
  };
1695
1695
  };
1696
- const deserializeAws_json1_0DisassociateGatewayFromServerOutput = (output, context) => {
1696
+ const de_DisassociateGatewayFromServerOutput = (output, context) => {
1697
1697
  return {
1698
1698
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1699
1699
  };
1700
1700
  };
1701
- const deserializeAws_json1_0Gateway = (output, context) => {
1701
+ const de_Gateway = (output, context) => {
1702
1702
  return {
1703
1703
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1704
1704
  GatewayDisplayName: (0, smithy_client_1.expectString)(output.GatewayDisplayName),
@@ -1709,7 +1709,7 @@ const deserializeAws_json1_0Gateway = (output, context) => {
1709
1709
  : undefined,
1710
1710
  };
1711
1711
  };
1712
- const deserializeAws_json1_0GatewayDetails = (output, context) => {
1712
+ const de_GatewayDetails = (output, context) => {
1713
1713
  return {
1714
1714
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1715
1715
  GatewayDisplayName: (0, smithy_client_1.expectString)(output.GatewayDisplayName),
@@ -1718,61 +1718,57 @@ const deserializeAws_json1_0GatewayDetails = (output, context) => {
1718
1718
  LastSeenTime: output.LastSeenTime != null
1719
1719
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastSeenTime)))
1720
1720
  : undefined,
1721
- MaintenanceStartTime: output.MaintenanceStartTime != null
1722
- ? deserializeAws_json1_0MaintenanceStartTime(output.MaintenanceStartTime, context)
1723
- : undefined,
1721
+ MaintenanceStartTime: output.MaintenanceStartTime != null ? de_MaintenanceStartTime(output.MaintenanceStartTime, context) : undefined,
1724
1722
  NextUpdateAvailabilityTime: output.NextUpdateAvailabilityTime != null
1725
1723
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NextUpdateAvailabilityTime)))
1726
1724
  : undefined,
1727
1725
  VpcEndpoint: (0, smithy_client_1.expectString)(output.VpcEndpoint),
1728
1726
  };
1729
1727
  };
1730
- const deserializeAws_json1_0Gateways = (output, context) => {
1728
+ const de_Gateways = (output, context) => {
1731
1729
  const retVal = (output || [])
1732
1730
  .filter((e) => e != null)
1733
1731
  .map((entry) => {
1734
1732
  if (entry === null) {
1735
1733
  return null;
1736
1734
  }
1737
- return deserializeAws_json1_0Gateway(entry, context);
1735
+ return de_Gateway(entry, context);
1738
1736
  });
1739
1737
  return retVal;
1740
1738
  };
1741
- const deserializeAws_json1_0GetBandwidthRateLimitScheduleOutput = (output, context) => {
1739
+ const de_GetBandwidthRateLimitScheduleOutput = (output, context) => {
1742
1740
  return {
1743
1741
  BandwidthRateLimitIntervals: output.BandwidthRateLimitIntervals != null
1744
- ? deserializeAws_json1_0BandwidthRateLimitIntervals(output.BandwidthRateLimitIntervals, context)
1742
+ ? de_BandwidthRateLimitIntervals(output.BandwidthRateLimitIntervals, context)
1745
1743
  : undefined,
1746
1744
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1747
1745
  };
1748
1746
  };
1749
- const deserializeAws_json1_0GetGatewayOutput = (output, context) => {
1747
+ const de_GetGatewayOutput = (output, context) => {
1750
1748
  return {
1751
- Gateway: output.Gateway != null ? deserializeAws_json1_0GatewayDetails(output.Gateway, context) : undefined,
1749
+ Gateway: output.Gateway != null ? de_GatewayDetails(output.Gateway, context) : undefined,
1752
1750
  };
1753
1751
  };
1754
- const deserializeAws_json1_0GetHypervisorOutput = (output, context) => {
1752
+ const de_GetHypervisorOutput = (output, context) => {
1755
1753
  return {
1756
- Hypervisor: output.Hypervisor != null ? deserializeAws_json1_0HypervisorDetails(output.Hypervisor, context) : undefined,
1754
+ Hypervisor: output.Hypervisor != null ? de_HypervisorDetails(output.Hypervisor, context) : undefined,
1757
1755
  };
1758
1756
  };
1759
- const deserializeAws_json1_0GetHypervisorPropertyMappingsOutput = (output, context) => {
1757
+ const de_GetHypervisorPropertyMappingsOutput = (output, context) => {
1760
1758
  return {
1761
1759
  HypervisorArn: (0, smithy_client_1.expectString)(output.HypervisorArn),
1762
1760
  IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
1763
1761
  VmwareToAwsTagMappings: output.VmwareToAwsTagMappings != null
1764
- ? deserializeAws_json1_0VmwareToAwsTagMappings(output.VmwareToAwsTagMappings, context)
1762
+ ? de_VmwareToAwsTagMappings(output.VmwareToAwsTagMappings, context)
1765
1763
  : undefined,
1766
1764
  };
1767
1765
  };
1768
- const deserializeAws_json1_0GetVirtualMachineOutput = (output, context) => {
1766
+ const de_GetVirtualMachineOutput = (output, context) => {
1769
1767
  return {
1770
- VirtualMachine: output.VirtualMachine != null
1771
- ? deserializeAws_json1_0VirtualMachineDetails(output.VirtualMachine, context)
1772
- : undefined,
1768
+ VirtualMachine: output.VirtualMachine != null ? de_VirtualMachineDetails(output.VirtualMachine, context) : undefined,
1773
1769
  };
1774
1770
  };
1775
- const deserializeAws_json1_0Hypervisor = (output, context) => {
1771
+ const de_Hypervisor = (output, context) => {
1776
1772
  return {
1777
1773
  Host: (0, smithy_client_1.expectString)(output.Host),
1778
1774
  HypervisorArn: (0, smithy_client_1.expectString)(output.HypervisorArn),
@@ -1781,7 +1777,7 @@ const deserializeAws_json1_0Hypervisor = (output, context) => {
1781
1777
  State: (0, smithy_client_1.expectString)(output.State),
1782
1778
  };
1783
1779
  };
1784
- const deserializeAws_json1_0HypervisorDetails = (output, context) => {
1780
+ const de_HypervisorDetails = (output, context) => {
1785
1781
  return {
1786
1782
  Host: (0, smithy_client_1.expectString)(output.Host),
1787
1783
  HypervisorArn: (0, smithy_client_1.expectString)(output.HypervisorArn),
@@ -1796,55 +1792,53 @@ const deserializeAws_json1_0HypervisorDetails = (output, context) => {
1796
1792
  State: (0, smithy_client_1.expectString)(output.State),
1797
1793
  };
1798
1794
  };
1799
- const deserializeAws_json1_0Hypervisors = (output, context) => {
1795
+ const de_Hypervisors = (output, context) => {
1800
1796
  const retVal = (output || [])
1801
1797
  .filter((e) => e != null)
1802
1798
  .map((entry) => {
1803
1799
  if (entry === null) {
1804
1800
  return null;
1805
1801
  }
1806
- return deserializeAws_json1_0Hypervisor(entry, context);
1802
+ return de_Hypervisor(entry, context);
1807
1803
  });
1808
1804
  return retVal;
1809
1805
  };
1810
- const deserializeAws_json1_0ImportHypervisorConfigurationOutput = (output, context) => {
1806
+ const de_ImportHypervisorConfigurationOutput = (output, context) => {
1811
1807
  return {
1812
1808
  HypervisorArn: (0, smithy_client_1.expectString)(output.HypervisorArn),
1813
1809
  };
1814
1810
  };
1815
- const deserializeAws_json1_0InternalServerException = (output, context) => {
1811
+ const de_InternalServerException = (output, context) => {
1816
1812
  return {
1817
1813
  ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
1818
1814
  Message: (0, smithy_client_1.expectString)(output.Message),
1819
1815
  };
1820
1816
  };
1821
- const deserializeAws_json1_0ListGatewaysOutput = (output, context) => {
1817
+ const de_ListGatewaysOutput = (output, context) => {
1822
1818
  return {
1823
- Gateways: output.Gateways != null ? deserializeAws_json1_0Gateways(output.Gateways, context) : undefined,
1819
+ Gateways: output.Gateways != null ? de_Gateways(output.Gateways, context) : undefined,
1824
1820
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1825
1821
  };
1826
1822
  };
1827
- const deserializeAws_json1_0ListHypervisorsOutput = (output, context) => {
1823
+ const de_ListHypervisorsOutput = (output, context) => {
1828
1824
  return {
1829
- Hypervisors: output.Hypervisors != null ? deserializeAws_json1_0Hypervisors(output.Hypervisors, context) : undefined,
1825
+ Hypervisors: output.Hypervisors != null ? de_Hypervisors(output.Hypervisors, context) : undefined,
1830
1826
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1831
1827
  };
1832
1828
  };
1833
- const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
1829
+ const de_ListTagsForResourceOutput = (output, context) => {
1834
1830
  return {
1835
1831
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
1836
- Tags: output.Tags != null ? deserializeAws_json1_0Tags(output.Tags, context) : undefined,
1832
+ Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
1837
1833
  };
1838
1834
  };
1839
- const deserializeAws_json1_0ListVirtualMachinesOutput = (output, context) => {
1835
+ const de_ListVirtualMachinesOutput = (output, context) => {
1840
1836
  return {
1841
1837
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1842
- VirtualMachines: output.VirtualMachines != null
1843
- ? deserializeAws_json1_0VirtualMachines(output.VirtualMachines, context)
1844
- : undefined,
1838
+ VirtualMachines: output.VirtualMachines != null ? de_VirtualMachines(output.VirtualMachines, context) : undefined,
1845
1839
  };
1846
1840
  };
1847
- const deserializeAws_json1_0MaintenanceStartTime = (output, context) => {
1841
+ const de_MaintenanceStartTime = (output, context) => {
1848
1842
  return {
1849
1843
  DayOfMonth: (0, smithy_client_1.expectInt32)(output.DayOfMonth),
1850
1844
  DayOfWeek: (0, smithy_client_1.expectInt32)(output.DayOfWeek),
@@ -1852,90 +1846,90 @@ const deserializeAws_json1_0MaintenanceStartTime = (output, context) => {
1852
1846
  MinuteOfHour: (0, smithy_client_1.expectInt32)(output.MinuteOfHour),
1853
1847
  };
1854
1848
  };
1855
- const deserializeAws_json1_0PutBandwidthRateLimitScheduleOutput = (output, context) => {
1849
+ const de_PutBandwidthRateLimitScheduleOutput = (output, context) => {
1856
1850
  return {
1857
1851
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1858
1852
  };
1859
1853
  };
1860
- const deserializeAws_json1_0PutHypervisorPropertyMappingsOutput = (output, context) => {
1854
+ const de_PutHypervisorPropertyMappingsOutput = (output, context) => {
1861
1855
  return {
1862
1856
  HypervisorArn: (0, smithy_client_1.expectString)(output.HypervisorArn),
1863
1857
  };
1864
1858
  };
1865
- const deserializeAws_json1_0PutMaintenanceStartTimeOutput = (output, context) => {
1859
+ const de_PutMaintenanceStartTimeOutput = (output, context) => {
1866
1860
  return {
1867
1861
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1868
1862
  };
1869
1863
  };
1870
- const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
1864
+ const de_ResourceNotFoundException = (output, context) => {
1871
1865
  return {
1872
1866
  ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
1873
1867
  Message: (0, smithy_client_1.expectString)(output.Message),
1874
1868
  };
1875
1869
  };
1876
- const deserializeAws_json1_0StartVirtualMachinesMetadataSyncOutput = (output, context) => {
1870
+ const de_StartVirtualMachinesMetadataSyncOutput = (output, context) => {
1877
1871
  return {
1878
1872
  HypervisorArn: (0, smithy_client_1.expectString)(output.HypervisorArn),
1879
1873
  };
1880
1874
  };
1881
- const deserializeAws_json1_0Tag = (output, context) => {
1875
+ const de_Tag = (output, context) => {
1882
1876
  return {
1883
1877
  Key: (0, smithy_client_1.expectString)(output.Key),
1884
1878
  Value: (0, smithy_client_1.expectString)(output.Value),
1885
1879
  };
1886
1880
  };
1887
- const deserializeAws_json1_0TagResourceOutput = (output, context) => {
1881
+ const de_TagResourceOutput = (output, context) => {
1888
1882
  return {
1889
1883
  ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
1890
1884
  };
1891
1885
  };
1892
- const deserializeAws_json1_0Tags = (output, context) => {
1886
+ const de_Tags = (output, context) => {
1893
1887
  const retVal = (output || [])
1894
1888
  .filter((e) => e != null)
1895
1889
  .map((entry) => {
1896
1890
  if (entry === null) {
1897
1891
  return null;
1898
1892
  }
1899
- return deserializeAws_json1_0Tag(entry, context);
1893
+ return de_Tag(entry, context);
1900
1894
  });
1901
1895
  return retVal;
1902
1896
  };
1903
- const deserializeAws_json1_0TestHypervisorConfigurationOutput = (output, context) => {
1897
+ const de_TestHypervisorConfigurationOutput = (output, context) => {
1904
1898
  return {};
1905
1899
  };
1906
- const deserializeAws_json1_0ThrottlingException = (output, context) => {
1900
+ const de_ThrottlingException = (output, context) => {
1907
1901
  return {
1908
1902
  ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
1909
1903
  Message: (0, smithy_client_1.expectString)(output.Message),
1910
1904
  };
1911
1905
  };
1912
- const deserializeAws_json1_0UntagResourceOutput = (output, context) => {
1906
+ const de_UntagResourceOutput = (output, context) => {
1913
1907
  return {
1914
1908
  ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
1915
1909
  };
1916
1910
  };
1917
- const deserializeAws_json1_0UpdateGatewayInformationOutput = (output, context) => {
1911
+ const de_UpdateGatewayInformationOutput = (output, context) => {
1918
1912
  return {
1919
1913
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1920
1914
  };
1921
1915
  };
1922
- const deserializeAws_json1_0UpdateGatewaySoftwareNowOutput = (output, context) => {
1916
+ const de_UpdateGatewaySoftwareNowOutput = (output, context) => {
1923
1917
  return {
1924
1918
  GatewayArn: (0, smithy_client_1.expectString)(output.GatewayArn),
1925
1919
  };
1926
1920
  };
1927
- const deserializeAws_json1_0UpdateHypervisorOutput = (output, context) => {
1921
+ const de_UpdateHypervisorOutput = (output, context) => {
1928
1922
  return {
1929
1923
  HypervisorArn: (0, smithy_client_1.expectString)(output.HypervisorArn),
1930
1924
  };
1931
1925
  };
1932
- const deserializeAws_json1_0ValidationException = (output, context) => {
1926
+ const de_ValidationException = (output, context) => {
1933
1927
  return {
1934
1928
  ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
1935
1929
  Message: (0, smithy_client_1.expectString)(output.Message),
1936
1930
  };
1937
1931
  };
1938
- const deserializeAws_json1_0VirtualMachine = (output, context) => {
1932
+ const de_VirtualMachine = (output, context) => {
1939
1933
  return {
1940
1934
  HostName: (0, smithy_client_1.expectString)(output.HostName),
1941
1935
  HypervisorId: (0, smithy_client_1.expectString)(output.HypervisorId),
@@ -1947,7 +1941,7 @@ const deserializeAws_json1_0VirtualMachine = (output, context) => {
1947
1941
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
1948
1942
  };
1949
1943
  };
1950
- const deserializeAws_json1_0VirtualMachineDetails = (output, context) => {
1944
+ const de_VirtualMachineDetails = (output, context) => {
1951
1945
  return {
1952
1946
  HostName: (0, smithy_client_1.expectString)(output.HostName),
1953
1947
  HypervisorId: (0, smithy_client_1.expectString)(output.HypervisorId),
@@ -1957,39 +1951,39 @@ const deserializeAws_json1_0VirtualMachineDetails = (output, context) => {
1957
1951
  Name: (0, smithy_client_1.expectString)(output.Name),
1958
1952
  Path: (0, smithy_client_1.expectString)(output.Path),
1959
1953
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
1960
- VmwareTags: output.VmwareTags != null ? deserializeAws_json1_0VmwareTags(output.VmwareTags, context) : undefined,
1954
+ VmwareTags: output.VmwareTags != null ? de_VmwareTags(output.VmwareTags, context) : undefined,
1961
1955
  };
1962
1956
  };
1963
- const deserializeAws_json1_0VirtualMachines = (output, context) => {
1957
+ const de_VirtualMachines = (output, context) => {
1964
1958
  const retVal = (output || [])
1965
1959
  .filter((e) => e != null)
1966
1960
  .map((entry) => {
1967
1961
  if (entry === null) {
1968
1962
  return null;
1969
1963
  }
1970
- return deserializeAws_json1_0VirtualMachine(entry, context);
1964
+ return de_VirtualMachine(entry, context);
1971
1965
  });
1972
1966
  return retVal;
1973
1967
  };
1974
- const deserializeAws_json1_0VmwareTag = (output, context) => {
1968
+ const de_VmwareTag = (output, context) => {
1975
1969
  return {
1976
1970
  VmwareCategory: (0, smithy_client_1.expectString)(output.VmwareCategory),
1977
1971
  VmwareTagDescription: (0, smithy_client_1.expectString)(output.VmwareTagDescription),
1978
1972
  VmwareTagName: (0, smithy_client_1.expectString)(output.VmwareTagName),
1979
1973
  };
1980
1974
  };
1981
- const deserializeAws_json1_0VmwareTags = (output, context) => {
1975
+ const de_VmwareTags = (output, context) => {
1982
1976
  const retVal = (output || [])
1983
1977
  .filter((e) => e != null)
1984
1978
  .map((entry) => {
1985
1979
  if (entry === null) {
1986
1980
  return null;
1987
1981
  }
1988
- return deserializeAws_json1_0VmwareTag(entry, context);
1982
+ return de_VmwareTag(entry, context);
1989
1983
  });
1990
1984
  return retVal;
1991
1985
  };
1992
- const deserializeAws_json1_0VmwareToAwsTagMapping = (output, context) => {
1986
+ const de_VmwareToAwsTagMapping = (output, context) => {
1993
1987
  return {
1994
1988
  AwsTagKey: (0, smithy_client_1.expectString)(output.AwsTagKey),
1995
1989
  AwsTagValue: (0, smithy_client_1.expectString)(output.AwsTagValue),
@@ -1997,14 +1991,14 @@ const deserializeAws_json1_0VmwareToAwsTagMapping = (output, context) => {
1997
1991
  VmwareTagName: (0, smithy_client_1.expectString)(output.VmwareTagName),
1998
1992
  };
1999
1993
  };
2000
- const deserializeAws_json1_0VmwareToAwsTagMappings = (output, context) => {
1994
+ const de_VmwareToAwsTagMappings = (output, context) => {
2001
1995
  const retVal = (output || [])
2002
1996
  .filter((e) => e != null)
2003
1997
  .map((entry) => {
2004
1998
  if (entry === null) {
2005
1999
  return null;
2006
2000
  }
2007
- return deserializeAws_json1_0VmwareToAwsTagMapping(entry, context);
2001
+ return de_VmwareToAwsTagMapping(entry, context);
2008
2002
  });
2009
2003
  return retVal;
2010
2004
  };