@aws-sdk/client-mediaconnect 3.303.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 (65) hide show
  1. package/dist-cjs/commands/AddFlowMediaStreamsCommand.js +2 -2
  2. package/dist-cjs/commands/AddFlowOutputsCommand.js +2 -2
  3. package/dist-cjs/commands/AddFlowSourcesCommand.js +2 -2
  4. package/dist-cjs/commands/AddFlowVpcInterfacesCommand.js +2 -2
  5. package/dist-cjs/commands/CreateFlowCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteFlowCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeFlowCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeOfferingCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeReservationCommand.js +2 -2
  10. package/dist-cjs/commands/GrantFlowEntitlementsCommand.js +2 -2
  11. package/dist-cjs/commands/ListEntitlementsCommand.js +2 -2
  12. package/dist-cjs/commands/ListFlowsCommand.js +2 -2
  13. package/dist-cjs/commands/ListOfferingsCommand.js +2 -2
  14. package/dist-cjs/commands/ListReservationsCommand.js +2 -2
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-cjs/commands/PurchaseOfferingCommand.js +2 -2
  17. package/dist-cjs/commands/RemoveFlowMediaStreamCommand.js +2 -2
  18. package/dist-cjs/commands/RemoveFlowOutputCommand.js +2 -2
  19. package/dist-cjs/commands/RemoveFlowSourceCommand.js +2 -2
  20. package/dist-cjs/commands/RemoveFlowVpcInterfaceCommand.js +2 -2
  21. package/dist-cjs/commands/RevokeFlowEntitlementCommand.js +2 -2
  22. package/dist-cjs/commands/StartFlowCommand.js +2 -2
  23. package/dist-cjs/commands/StopFlowCommand.js +2 -2
  24. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  25. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateFlowCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateFlowEntitlementCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateFlowMediaStreamCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateFlowOutputCommand.js +2 -2
  30. package/dist-cjs/commands/UpdateFlowSourceCommand.js +2 -2
  31. package/dist-cjs/protocols/Aws_restJson1.js +546 -592
  32. package/dist-es/commands/AddFlowMediaStreamsCommand.js +3 -3
  33. package/dist-es/commands/AddFlowOutputsCommand.js +3 -3
  34. package/dist-es/commands/AddFlowSourcesCommand.js +3 -3
  35. package/dist-es/commands/AddFlowVpcInterfacesCommand.js +3 -3
  36. package/dist-es/commands/CreateFlowCommand.js +3 -3
  37. package/dist-es/commands/DeleteFlowCommand.js +3 -3
  38. package/dist-es/commands/DescribeFlowCommand.js +3 -3
  39. package/dist-es/commands/DescribeOfferingCommand.js +3 -3
  40. package/dist-es/commands/DescribeReservationCommand.js +3 -3
  41. package/dist-es/commands/GrantFlowEntitlementsCommand.js +3 -3
  42. package/dist-es/commands/ListEntitlementsCommand.js +3 -3
  43. package/dist-es/commands/ListFlowsCommand.js +3 -3
  44. package/dist-es/commands/ListOfferingsCommand.js +3 -3
  45. package/dist-es/commands/ListReservationsCommand.js +3 -3
  46. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  47. package/dist-es/commands/PurchaseOfferingCommand.js +3 -3
  48. package/dist-es/commands/RemoveFlowMediaStreamCommand.js +3 -3
  49. package/dist-es/commands/RemoveFlowOutputCommand.js +3 -3
  50. package/dist-es/commands/RemoveFlowSourceCommand.js +3 -3
  51. package/dist-es/commands/RemoveFlowVpcInterfaceCommand.js +3 -3
  52. package/dist-es/commands/RevokeFlowEntitlementCommand.js +3 -3
  53. package/dist-es/commands/StartFlowCommand.js +3 -3
  54. package/dist-es/commands/StopFlowCommand.js +3 -3
  55. package/dist-es/commands/TagResourceCommand.js +3 -3
  56. package/dist-es/commands/UntagResourceCommand.js +3 -3
  57. package/dist-es/commands/UpdateFlowCommand.js +3 -3
  58. package/dist-es/commands/UpdateFlowEntitlementCommand.js +3 -3
  59. package/dist-es/commands/UpdateFlowMediaStreamCommand.js +3 -3
  60. package/dist-es/commands/UpdateFlowOutputCommand.js +3 -3
  61. package/dist-es/commands/UpdateFlowSourceCommand.js +3 -3
  62. package/dist-es/protocols/Aws_restJson1.js +484 -530
  63. package/dist-types/protocols/Aws_restJson1.d.ts +240 -60
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -60
  65. package/package.json +30 -30
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1RemoveFlowVpcInterfaceCommand = exports.deserializeAws_restJson1RemoveFlowSourceCommand = exports.deserializeAws_restJson1RemoveFlowOutputCommand = exports.deserializeAws_restJson1RemoveFlowMediaStreamCommand = exports.deserializeAws_restJson1PurchaseOfferingCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListReservationsCommand = exports.deserializeAws_restJson1ListOfferingsCommand = exports.deserializeAws_restJson1ListFlowsCommand = exports.deserializeAws_restJson1ListEntitlementsCommand = exports.deserializeAws_restJson1GrantFlowEntitlementsCommand = exports.deserializeAws_restJson1DescribeReservationCommand = exports.deserializeAws_restJson1DescribeOfferingCommand = exports.deserializeAws_restJson1DescribeFlowCommand = exports.deserializeAws_restJson1DeleteFlowCommand = exports.deserializeAws_restJson1CreateFlowCommand = exports.deserializeAws_restJson1AddFlowVpcInterfacesCommand = exports.deserializeAws_restJson1AddFlowSourcesCommand = exports.deserializeAws_restJson1AddFlowOutputsCommand = exports.deserializeAws_restJson1AddFlowMediaStreamsCommand = exports.serializeAws_restJson1UpdateFlowSourceCommand = exports.serializeAws_restJson1UpdateFlowOutputCommand = exports.serializeAws_restJson1UpdateFlowMediaStreamCommand = exports.serializeAws_restJson1UpdateFlowEntitlementCommand = exports.serializeAws_restJson1UpdateFlowCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopFlowCommand = exports.serializeAws_restJson1StartFlowCommand = exports.serializeAws_restJson1RevokeFlowEntitlementCommand = exports.serializeAws_restJson1RemoveFlowVpcInterfaceCommand = exports.serializeAws_restJson1RemoveFlowSourceCommand = exports.serializeAws_restJson1RemoveFlowOutputCommand = exports.serializeAws_restJson1RemoveFlowMediaStreamCommand = exports.serializeAws_restJson1PurchaseOfferingCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListReservationsCommand = exports.serializeAws_restJson1ListOfferingsCommand = exports.serializeAws_restJson1ListFlowsCommand = exports.serializeAws_restJson1ListEntitlementsCommand = exports.serializeAws_restJson1GrantFlowEntitlementsCommand = exports.serializeAws_restJson1DescribeReservationCommand = exports.serializeAws_restJson1DescribeOfferingCommand = exports.serializeAws_restJson1DescribeFlowCommand = exports.serializeAws_restJson1DeleteFlowCommand = exports.serializeAws_restJson1CreateFlowCommand = exports.serializeAws_restJson1AddFlowVpcInterfacesCommand = exports.serializeAws_restJson1AddFlowSourcesCommand = exports.serializeAws_restJson1AddFlowOutputsCommand = exports.serializeAws_restJson1AddFlowMediaStreamsCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateFlowSourceCommand = exports.deserializeAws_restJson1UpdateFlowOutputCommand = exports.deserializeAws_restJson1UpdateFlowMediaStreamCommand = exports.deserializeAws_restJson1UpdateFlowEntitlementCommand = exports.deserializeAws_restJson1UpdateFlowCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopFlowCommand = exports.deserializeAws_restJson1StartFlowCommand = exports.deserializeAws_restJson1RevokeFlowEntitlementCommand = void 0;
3
+ exports.de_RemoveFlowVpcInterfaceCommand = exports.de_RemoveFlowSourceCommand = exports.de_RemoveFlowOutputCommand = exports.de_RemoveFlowMediaStreamCommand = exports.de_PurchaseOfferingCommand = exports.de_ListTagsForResourceCommand = exports.de_ListReservationsCommand = exports.de_ListOfferingsCommand = exports.de_ListFlowsCommand = exports.de_ListEntitlementsCommand = exports.de_GrantFlowEntitlementsCommand = exports.de_DescribeReservationCommand = exports.de_DescribeOfferingCommand = exports.de_DescribeFlowCommand = exports.de_DeleteFlowCommand = exports.de_CreateFlowCommand = exports.de_AddFlowVpcInterfacesCommand = exports.de_AddFlowSourcesCommand = exports.de_AddFlowOutputsCommand = exports.de_AddFlowMediaStreamsCommand = exports.se_UpdateFlowSourceCommand = exports.se_UpdateFlowOutputCommand = exports.se_UpdateFlowMediaStreamCommand = exports.se_UpdateFlowEntitlementCommand = exports.se_UpdateFlowCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopFlowCommand = exports.se_StartFlowCommand = exports.se_RevokeFlowEntitlementCommand = exports.se_RemoveFlowVpcInterfaceCommand = exports.se_RemoveFlowSourceCommand = exports.se_RemoveFlowOutputCommand = exports.se_RemoveFlowMediaStreamCommand = exports.se_PurchaseOfferingCommand = exports.se_ListTagsForResourceCommand = exports.se_ListReservationsCommand = exports.se_ListOfferingsCommand = exports.se_ListFlowsCommand = exports.se_ListEntitlementsCommand = exports.se_GrantFlowEntitlementsCommand = exports.se_DescribeReservationCommand = exports.se_DescribeOfferingCommand = exports.se_DescribeFlowCommand = exports.se_DeleteFlowCommand = exports.se_CreateFlowCommand = exports.se_AddFlowVpcInterfacesCommand = exports.se_AddFlowSourcesCommand = exports.se_AddFlowOutputsCommand = exports.se_AddFlowMediaStreamsCommand = void 0;
4
+ exports.de_UpdateFlowSourceCommand = exports.de_UpdateFlowOutputCommand = exports.de_UpdateFlowMediaStreamCommand = exports.de_UpdateFlowEntitlementCommand = exports.de_UpdateFlowCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopFlowCommand = exports.de_StartFlowCommand = exports.de_RevokeFlowEntitlementCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const MediaConnectServiceException_1 = require("../models/MediaConnectServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
- const serializeAws_restJson1AddFlowMediaStreamsCommand = async (input, context) => {
9
+ const se_AddFlowMediaStreamsCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {
12
12
  "content-type": "application/json",
@@ -15,9 +15,7 @@ const serializeAws_restJson1AddFlowMediaStreamsCommand = async (input, context)
15
15
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FlowArn", () => input.FlowArn, "{FlowArn}", false);
16
16
  let body;
17
17
  body = JSON.stringify({
18
- ...(input.MediaStreams != null && {
19
- mediaStreams: serializeAws_restJson1__listOfAddMediaStreamRequest(input.MediaStreams, context),
20
- }),
18
+ ...(input.MediaStreams != null && { mediaStreams: se___listOfAddMediaStreamRequest(input.MediaStreams, context) }),
21
19
  });
22
20
  return new protocol_http_1.HttpRequest({
23
21
  protocol,
@@ -29,8 +27,8 @@ const serializeAws_restJson1AddFlowMediaStreamsCommand = async (input, context)
29
27
  body,
30
28
  });
31
29
  };
32
- exports.serializeAws_restJson1AddFlowMediaStreamsCommand = serializeAws_restJson1AddFlowMediaStreamsCommand;
33
- const serializeAws_restJson1AddFlowOutputsCommand = async (input, context) => {
30
+ exports.se_AddFlowMediaStreamsCommand = se_AddFlowMediaStreamsCommand;
31
+ const se_AddFlowOutputsCommand = async (input, context) => {
34
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
35
33
  const headers = {
36
34
  "content-type": "application/json",
@@ -39,7 +37,7 @@ const serializeAws_restJson1AddFlowOutputsCommand = async (input, context) => {
39
37
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FlowArn", () => input.FlowArn, "{FlowArn}", false);
40
38
  let body;
41
39
  body = JSON.stringify({
42
- ...(input.Outputs != null && { outputs: serializeAws_restJson1__listOfAddOutputRequest(input.Outputs, context) }),
40
+ ...(input.Outputs != null && { outputs: se___listOfAddOutputRequest(input.Outputs, context) }),
43
41
  });
44
42
  return new protocol_http_1.HttpRequest({
45
43
  protocol,
@@ -51,8 +49,8 @@ const serializeAws_restJson1AddFlowOutputsCommand = async (input, context) => {
51
49
  body,
52
50
  });
53
51
  };
54
- exports.serializeAws_restJson1AddFlowOutputsCommand = serializeAws_restJson1AddFlowOutputsCommand;
55
- const serializeAws_restJson1AddFlowSourcesCommand = async (input, context) => {
52
+ exports.se_AddFlowOutputsCommand = se_AddFlowOutputsCommand;
53
+ const se_AddFlowSourcesCommand = async (input, context) => {
56
54
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
57
55
  const headers = {
58
56
  "content-type": "application/json",
@@ -61,7 +59,7 @@ const serializeAws_restJson1AddFlowSourcesCommand = async (input, context) => {
61
59
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FlowArn", () => input.FlowArn, "{FlowArn}", false);
62
60
  let body;
63
61
  body = JSON.stringify({
64
- ...(input.Sources != null && { sources: serializeAws_restJson1__listOfSetSourceRequest(input.Sources, context) }),
62
+ ...(input.Sources != null && { sources: se___listOfSetSourceRequest(input.Sources, context) }),
65
63
  });
66
64
  return new protocol_http_1.HttpRequest({
67
65
  protocol,
@@ -73,8 +71,8 @@ const serializeAws_restJson1AddFlowSourcesCommand = async (input, context) => {
73
71
  body,
74
72
  });
75
73
  };
76
- exports.serializeAws_restJson1AddFlowSourcesCommand = serializeAws_restJson1AddFlowSourcesCommand;
77
- const serializeAws_restJson1AddFlowVpcInterfacesCommand = async (input, context) => {
74
+ exports.se_AddFlowSourcesCommand = se_AddFlowSourcesCommand;
75
+ const se_AddFlowVpcInterfacesCommand = async (input, context) => {
78
76
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
79
77
  const headers = {
80
78
  "content-type": "application/json",
@@ -83,9 +81,7 @@ const serializeAws_restJson1AddFlowVpcInterfacesCommand = async (input, context)
83
81
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FlowArn", () => input.FlowArn, "{FlowArn}", false);
84
82
  let body;
85
83
  body = JSON.stringify({
86
- ...(input.VpcInterfaces != null && {
87
- vpcInterfaces: serializeAws_restJson1__listOfVpcInterfaceRequest(input.VpcInterfaces, context),
88
- }),
84
+ ...(input.VpcInterfaces != null && { vpcInterfaces: se___listOfVpcInterfaceRequest(input.VpcInterfaces, context) }),
89
85
  });
90
86
  return new protocol_http_1.HttpRequest({
91
87
  protocol,
@@ -97,8 +93,8 @@ const serializeAws_restJson1AddFlowVpcInterfacesCommand = async (input, context)
97
93
  body,
98
94
  });
99
95
  };
100
- exports.serializeAws_restJson1AddFlowVpcInterfacesCommand = serializeAws_restJson1AddFlowVpcInterfacesCommand;
101
- const serializeAws_restJson1CreateFlowCommand = async (input, context) => {
96
+ exports.se_AddFlowVpcInterfacesCommand = se_AddFlowVpcInterfacesCommand;
97
+ const se_CreateFlowCommand = async (input, context) => {
102
98
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
103
99
  const headers = {
104
100
  "content-type": "application/json",
@@ -108,22 +104,18 @@ const serializeAws_restJson1CreateFlowCommand = async (input, context) => {
108
104
  body = JSON.stringify({
109
105
  ...(input.AvailabilityZone != null && { availabilityZone: input.AvailabilityZone }),
110
106
  ...(input.Entitlements != null && {
111
- entitlements: serializeAws_restJson1__listOfGrantEntitlementRequest(input.Entitlements, context),
112
- }),
113
- ...(input.Maintenance != null && { maintenance: serializeAws_restJson1AddMaintenance(input.Maintenance, context) }),
114
- ...(input.MediaStreams != null && {
115
- mediaStreams: serializeAws_restJson1__listOfAddMediaStreamRequest(input.MediaStreams, context),
107
+ entitlements: se___listOfGrantEntitlementRequest(input.Entitlements, context),
116
108
  }),
109
+ ...(input.Maintenance != null && { maintenance: se_AddMaintenance(input.Maintenance, context) }),
110
+ ...(input.MediaStreams != null && { mediaStreams: se___listOfAddMediaStreamRequest(input.MediaStreams, context) }),
117
111
  ...(input.Name != null && { name: input.Name }),
118
- ...(input.Outputs != null && { outputs: serializeAws_restJson1__listOfAddOutputRequest(input.Outputs, context) }),
119
- ...(input.Source != null && { source: serializeAws_restJson1SetSourceRequest(input.Source, context) }),
112
+ ...(input.Outputs != null && { outputs: se___listOfAddOutputRequest(input.Outputs, context) }),
113
+ ...(input.Source != null && { source: se_SetSourceRequest(input.Source, context) }),
120
114
  ...(input.SourceFailoverConfig != null && {
121
- sourceFailoverConfig: serializeAws_restJson1FailoverConfig(input.SourceFailoverConfig, context),
122
- }),
123
- ...(input.Sources != null && { sources: serializeAws_restJson1__listOfSetSourceRequest(input.Sources, context) }),
124
- ...(input.VpcInterfaces != null && {
125
- vpcInterfaces: serializeAws_restJson1__listOfVpcInterfaceRequest(input.VpcInterfaces, context),
115
+ sourceFailoverConfig: se_FailoverConfig(input.SourceFailoverConfig, context),
126
116
  }),
117
+ ...(input.Sources != null && { sources: se___listOfSetSourceRequest(input.Sources, context) }),
118
+ ...(input.VpcInterfaces != null && { vpcInterfaces: se___listOfVpcInterfaceRequest(input.VpcInterfaces, context) }),
127
119
  });
128
120
  return new protocol_http_1.HttpRequest({
129
121
  protocol,
@@ -135,8 +127,8 @@ const serializeAws_restJson1CreateFlowCommand = async (input, context) => {
135
127
  body,
136
128
  });
137
129
  };
138
- exports.serializeAws_restJson1CreateFlowCommand = serializeAws_restJson1CreateFlowCommand;
139
- const serializeAws_restJson1DeleteFlowCommand = async (input, context) => {
130
+ exports.se_CreateFlowCommand = se_CreateFlowCommand;
131
+ const se_DeleteFlowCommand = async (input, context) => {
140
132
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
141
133
  const headers = {};
142
134
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/{FlowArn}";
@@ -152,8 +144,8 @@ const serializeAws_restJson1DeleteFlowCommand = async (input, context) => {
152
144
  body,
153
145
  });
154
146
  };
155
- exports.serializeAws_restJson1DeleteFlowCommand = serializeAws_restJson1DeleteFlowCommand;
156
- const serializeAws_restJson1DescribeFlowCommand = async (input, context) => {
147
+ exports.se_DeleteFlowCommand = se_DeleteFlowCommand;
148
+ const se_DescribeFlowCommand = async (input, context) => {
157
149
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
158
150
  const headers = {};
159
151
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/{FlowArn}";
@@ -169,8 +161,8 @@ const serializeAws_restJson1DescribeFlowCommand = async (input, context) => {
169
161
  body,
170
162
  });
171
163
  };
172
- exports.serializeAws_restJson1DescribeFlowCommand = serializeAws_restJson1DescribeFlowCommand;
173
- const serializeAws_restJson1DescribeOfferingCommand = async (input, context) => {
164
+ exports.se_DescribeFlowCommand = se_DescribeFlowCommand;
165
+ const se_DescribeOfferingCommand = async (input, context) => {
174
166
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
175
167
  const headers = {};
176
168
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/offerings/{OfferingArn}";
@@ -186,8 +178,8 @@ const serializeAws_restJson1DescribeOfferingCommand = async (input, context) =>
186
178
  body,
187
179
  });
188
180
  };
189
- exports.serializeAws_restJson1DescribeOfferingCommand = serializeAws_restJson1DescribeOfferingCommand;
190
- const serializeAws_restJson1DescribeReservationCommand = async (input, context) => {
181
+ exports.se_DescribeOfferingCommand = se_DescribeOfferingCommand;
182
+ const se_DescribeReservationCommand = async (input, context) => {
191
183
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
192
184
  const headers = {};
193
185
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/reservations/{ReservationArn}";
@@ -203,8 +195,8 @@ const serializeAws_restJson1DescribeReservationCommand = async (input, context)
203
195
  body,
204
196
  });
205
197
  };
206
- exports.serializeAws_restJson1DescribeReservationCommand = serializeAws_restJson1DescribeReservationCommand;
207
- const serializeAws_restJson1GrantFlowEntitlementsCommand = async (input, context) => {
198
+ exports.se_DescribeReservationCommand = se_DescribeReservationCommand;
199
+ const se_GrantFlowEntitlementsCommand = async (input, context) => {
208
200
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
209
201
  const headers = {
210
202
  "content-type": "application/json",
@@ -214,7 +206,7 @@ const serializeAws_restJson1GrantFlowEntitlementsCommand = async (input, context
214
206
  let body;
215
207
  body = JSON.stringify({
216
208
  ...(input.Entitlements != null && {
217
- entitlements: serializeAws_restJson1__listOfGrantEntitlementRequest(input.Entitlements, context),
209
+ entitlements: se___listOfGrantEntitlementRequest(input.Entitlements, context),
218
210
  }),
219
211
  });
220
212
  return new protocol_http_1.HttpRequest({
@@ -227,8 +219,8 @@ const serializeAws_restJson1GrantFlowEntitlementsCommand = async (input, context
227
219
  body,
228
220
  });
229
221
  };
230
- exports.serializeAws_restJson1GrantFlowEntitlementsCommand = serializeAws_restJson1GrantFlowEntitlementsCommand;
231
- const serializeAws_restJson1ListEntitlementsCommand = async (input, context) => {
222
+ exports.se_GrantFlowEntitlementsCommand = se_GrantFlowEntitlementsCommand;
223
+ const se_ListEntitlementsCommand = async (input, context) => {
232
224
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
233
225
  const headers = {};
234
226
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/entitlements";
@@ -248,8 +240,8 @@ const serializeAws_restJson1ListEntitlementsCommand = async (input, context) =>
248
240
  body,
249
241
  });
250
242
  };
251
- exports.serializeAws_restJson1ListEntitlementsCommand = serializeAws_restJson1ListEntitlementsCommand;
252
- const serializeAws_restJson1ListFlowsCommand = async (input, context) => {
243
+ exports.se_ListEntitlementsCommand = se_ListEntitlementsCommand;
244
+ const se_ListFlowsCommand = async (input, context) => {
253
245
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
254
246
  const headers = {};
255
247
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows";
@@ -269,8 +261,8 @@ const serializeAws_restJson1ListFlowsCommand = async (input, context) => {
269
261
  body,
270
262
  });
271
263
  };
272
- exports.serializeAws_restJson1ListFlowsCommand = serializeAws_restJson1ListFlowsCommand;
273
- const serializeAws_restJson1ListOfferingsCommand = async (input, context) => {
264
+ exports.se_ListFlowsCommand = se_ListFlowsCommand;
265
+ const se_ListOfferingsCommand = async (input, context) => {
274
266
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
275
267
  const headers = {};
276
268
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/offerings";
@@ -290,8 +282,8 @@ const serializeAws_restJson1ListOfferingsCommand = async (input, context) => {
290
282
  body,
291
283
  });
292
284
  };
293
- exports.serializeAws_restJson1ListOfferingsCommand = serializeAws_restJson1ListOfferingsCommand;
294
- const serializeAws_restJson1ListReservationsCommand = async (input, context) => {
285
+ exports.se_ListOfferingsCommand = se_ListOfferingsCommand;
286
+ const se_ListReservationsCommand = async (input, context) => {
295
287
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
296
288
  const headers = {};
297
289
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/reservations";
@@ -311,8 +303,8 @@ const serializeAws_restJson1ListReservationsCommand = async (input, context) =>
311
303
  body,
312
304
  });
313
305
  };
314
- exports.serializeAws_restJson1ListReservationsCommand = serializeAws_restJson1ListReservationsCommand;
315
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
306
+ exports.se_ListReservationsCommand = se_ListReservationsCommand;
307
+ const se_ListTagsForResourceCommand = async (input, context) => {
316
308
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
317
309
  const headers = {};
318
310
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -328,8 +320,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
328
320
  body,
329
321
  });
330
322
  };
331
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
332
- const serializeAws_restJson1PurchaseOfferingCommand = async (input, context) => {
323
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
324
+ const se_PurchaseOfferingCommand = async (input, context) => {
333
325
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
334
326
  const headers = {
335
327
  "content-type": "application/json",
@@ -351,8 +343,8 @@ const serializeAws_restJson1PurchaseOfferingCommand = async (input, context) =>
351
343
  body,
352
344
  });
353
345
  };
354
- exports.serializeAws_restJson1PurchaseOfferingCommand = serializeAws_restJson1PurchaseOfferingCommand;
355
- const serializeAws_restJson1RemoveFlowMediaStreamCommand = async (input, context) => {
346
+ exports.se_PurchaseOfferingCommand = se_PurchaseOfferingCommand;
347
+ const se_RemoveFlowMediaStreamCommand = async (input, context) => {
356
348
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
357
349
  const headers = {};
358
350
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -370,8 +362,8 @@ const serializeAws_restJson1RemoveFlowMediaStreamCommand = async (input, context
370
362
  body,
371
363
  });
372
364
  };
373
- exports.serializeAws_restJson1RemoveFlowMediaStreamCommand = serializeAws_restJson1RemoveFlowMediaStreamCommand;
374
- const serializeAws_restJson1RemoveFlowOutputCommand = async (input, context) => {
365
+ exports.se_RemoveFlowMediaStreamCommand = se_RemoveFlowMediaStreamCommand;
366
+ const se_RemoveFlowOutputCommand = async (input, context) => {
375
367
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
376
368
  const headers = {};
377
369
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/{FlowArn}/outputs/{OutputArn}";
@@ -388,8 +380,8 @@ const serializeAws_restJson1RemoveFlowOutputCommand = async (input, context) =>
388
380
  body,
389
381
  });
390
382
  };
391
- exports.serializeAws_restJson1RemoveFlowOutputCommand = serializeAws_restJson1RemoveFlowOutputCommand;
392
- const serializeAws_restJson1RemoveFlowSourceCommand = async (input, context) => {
383
+ exports.se_RemoveFlowOutputCommand = se_RemoveFlowOutputCommand;
384
+ const se_RemoveFlowSourceCommand = async (input, context) => {
393
385
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
394
386
  const headers = {};
395
387
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/{FlowArn}/source/{SourceArn}";
@@ -406,8 +398,8 @@ const serializeAws_restJson1RemoveFlowSourceCommand = async (input, context) =>
406
398
  body,
407
399
  });
408
400
  };
409
- exports.serializeAws_restJson1RemoveFlowSourceCommand = serializeAws_restJson1RemoveFlowSourceCommand;
410
- const serializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (input, context) => {
401
+ exports.se_RemoveFlowSourceCommand = se_RemoveFlowSourceCommand;
402
+ const se_RemoveFlowVpcInterfaceCommand = async (input, context) => {
411
403
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
412
404
  const headers = {};
413
405
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -425,8 +417,8 @@ const serializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (input, contex
425
417
  body,
426
418
  });
427
419
  };
428
- exports.serializeAws_restJson1RemoveFlowVpcInterfaceCommand = serializeAws_restJson1RemoveFlowVpcInterfaceCommand;
429
- const serializeAws_restJson1RevokeFlowEntitlementCommand = async (input, context) => {
420
+ exports.se_RemoveFlowVpcInterfaceCommand = se_RemoveFlowVpcInterfaceCommand;
421
+ const se_RevokeFlowEntitlementCommand = async (input, context) => {
430
422
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
431
423
  const headers = {};
432
424
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -444,8 +436,8 @@ const serializeAws_restJson1RevokeFlowEntitlementCommand = async (input, context
444
436
  body,
445
437
  });
446
438
  };
447
- exports.serializeAws_restJson1RevokeFlowEntitlementCommand = serializeAws_restJson1RevokeFlowEntitlementCommand;
448
- const serializeAws_restJson1StartFlowCommand = async (input, context) => {
439
+ exports.se_RevokeFlowEntitlementCommand = se_RevokeFlowEntitlementCommand;
440
+ const se_StartFlowCommand = async (input, context) => {
449
441
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
450
442
  const headers = {};
451
443
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/start/{FlowArn}";
@@ -461,8 +453,8 @@ const serializeAws_restJson1StartFlowCommand = async (input, context) => {
461
453
  body,
462
454
  });
463
455
  };
464
- exports.serializeAws_restJson1StartFlowCommand = serializeAws_restJson1StartFlowCommand;
465
- const serializeAws_restJson1StopFlowCommand = async (input, context) => {
456
+ exports.se_StartFlowCommand = se_StartFlowCommand;
457
+ const se_StopFlowCommand = async (input, context) => {
466
458
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
467
459
  const headers = {};
468
460
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/flows/stop/{FlowArn}";
@@ -478,8 +470,8 @@ const serializeAws_restJson1StopFlowCommand = async (input, context) => {
478
470
  body,
479
471
  });
480
472
  };
481
- exports.serializeAws_restJson1StopFlowCommand = serializeAws_restJson1StopFlowCommand;
482
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
473
+ exports.se_StopFlowCommand = se_StopFlowCommand;
474
+ const se_TagResourceCommand = async (input, context) => {
483
475
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
484
476
  const headers = {
485
477
  "content-type": "application/json",
@@ -488,7 +480,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
488
480
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
489
481
  let body;
490
482
  body = JSON.stringify({
491
- ...(input.Tags != null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) }),
483
+ ...(input.Tags != null && { tags: se___mapOf__string(input.Tags, context) }),
492
484
  });
493
485
  return new protocol_http_1.HttpRequest({
494
486
  protocol,
@@ -500,8 +492,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
500
492
  body,
501
493
  });
502
494
  };
503
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
504
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
495
+ exports.se_TagResourceCommand = se_TagResourceCommand;
496
+ const se_UntagResourceCommand = async (input, context) => {
505
497
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
506
498
  const headers = {};
507
499
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -524,8 +516,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
524
516
  body,
525
517
  });
526
518
  };
527
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
528
- const serializeAws_restJson1UpdateFlowCommand = async (input, context) => {
519
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
520
+ const se_UpdateFlowCommand = async (input, context) => {
529
521
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
530
522
  const headers = {
531
523
  "content-type": "application/json",
@@ -534,11 +526,9 @@ const serializeAws_restJson1UpdateFlowCommand = async (input, context) => {
534
526
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FlowArn", () => input.FlowArn, "{FlowArn}", false);
535
527
  let body;
536
528
  body = JSON.stringify({
537
- ...(input.Maintenance != null && {
538
- maintenance: serializeAws_restJson1UpdateMaintenance(input.Maintenance, context),
539
- }),
529
+ ...(input.Maintenance != null && { maintenance: se_UpdateMaintenance(input.Maintenance, context) }),
540
530
  ...(input.SourceFailoverConfig != null && {
541
- sourceFailoverConfig: serializeAws_restJson1UpdateFailoverConfig(input.SourceFailoverConfig, context),
531
+ sourceFailoverConfig: se_UpdateFailoverConfig(input.SourceFailoverConfig, context),
542
532
  }),
543
533
  });
544
534
  return new protocol_http_1.HttpRequest({
@@ -551,8 +541,8 @@ const serializeAws_restJson1UpdateFlowCommand = async (input, context) => {
551
541
  body,
552
542
  });
553
543
  };
554
- exports.serializeAws_restJson1UpdateFlowCommand = serializeAws_restJson1UpdateFlowCommand;
555
- const serializeAws_restJson1UpdateFlowEntitlementCommand = async (input, context) => {
544
+ exports.se_UpdateFlowCommand = se_UpdateFlowCommand;
545
+ const se_UpdateFlowEntitlementCommand = async (input, context) => {
556
546
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
557
547
  const headers = {
558
548
  "content-type": "application/json",
@@ -564,11 +554,9 @@ const serializeAws_restJson1UpdateFlowEntitlementCommand = async (input, context
564
554
  let body;
565
555
  body = JSON.stringify({
566
556
  ...(input.Description != null && { description: input.Description }),
567
- ...(input.Encryption != null && { encryption: serializeAws_restJson1UpdateEncryption(input.Encryption, context) }),
557
+ ...(input.Encryption != null && { encryption: se_UpdateEncryption(input.Encryption, context) }),
568
558
  ...(input.EntitlementStatus != null && { entitlementStatus: input.EntitlementStatus }),
569
- ...(input.Subscribers != null && {
570
- subscribers: serializeAws_restJson1__listOf__string(input.Subscribers, context),
571
- }),
559
+ ...(input.Subscribers != null && { subscribers: se___listOf__string(input.Subscribers, context) }),
572
560
  });
573
561
  return new protocol_http_1.HttpRequest({
574
562
  protocol,
@@ -580,8 +568,8 @@ const serializeAws_restJson1UpdateFlowEntitlementCommand = async (input, context
580
568
  body,
581
569
  });
582
570
  };
583
- exports.serializeAws_restJson1UpdateFlowEntitlementCommand = serializeAws_restJson1UpdateFlowEntitlementCommand;
584
- const serializeAws_restJson1UpdateFlowMediaStreamCommand = async (input, context) => {
571
+ exports.se_UpdateFlowEntitlementCommand = se_UpdateFlowEntitlementCommand;
572
+ const se_UpdateFlowMediaStreamCommand = async (input, context) => {
585
573
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
586
574
  const headers = {
587
575
  "content-type": "application/json",
@@ -592,9 +580,7 @@ const serializeAws_restJson1UpdateFlowMediaStreamCommand = async (input, context
592
580
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "MediaStreamName", () => input.MediaStreamName, "{MediaStreamName}", false);
593
581
  let body;
594
582
  body = JSON.stringify({
595
- ...(input.Attributes != null && {
596
- attributes: serializeAws_restJson1MediaStreamAttributesRequest(input.Attributes, context),
597
- }),
583
+ ...(input.Attributes != null && { attributes: se_MediaStreamAttributesRequest(input.Attributes, context) }),
598
584
  ...(input.ClockRate != null && { clockRate: input.ClockRate }),
599
585
  ...(input.Description != null && { description: input.Description }),
600
586
  ...(input.MediaStreamType != null && { mediaStreamType: input.MediaStreamType }),
@@ -610,8 +596,8 @@ const serializeAws_restJson1UpdateFlowMediaStreamCommand = async (input, context
610
596
  body,
611
597
  });
612
598
  };
613
- exports.serializeAws_restJson1UpdateFlowMediaStreamCommand = serializeAws_restJson1UpdateFlowMediaStreamCommand;
614
- const serializeAws_restJson1UpdateFlowOutputCommand = async (input, context) => {
599
+ exports.se_UpdateFlowMediaStreamCommand = se_UpdateFlowMediaStreamCommand;
600
+ const se_UpdateFlowOutputCommand = async (input, context) => {
615
601
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
616
602
  const headers = {
617
603
  "content-type": "application/json",
@@ -621,15 +607,13 @@ const serializeAws_restJson1UpdateFlowOutputCommand = async (input, context) =>
621
607
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "OutputArn", () => input.OutputArn, "{OutputArn}", false);
622
608
  let body;
623
609
  body = JSON.stringify({
624
- ...(input.CidrAllowList != null && {
625
- cidrAllowList: serializeAws_restJson1__listOf__string(input.CidrAllowList, context),
626
- }),
610
+ ...(input.CidrAllowList != null && { cidrAllowList: se___listOf__string(input.CidrAllowList, context) }),
627
611
  ...(input.Description != null && { description: input.Description }),
628
612
  ...(input.Destination != null && { destination: input.Destination }),
629
- ...(input.Encryption != null && { encryption: serializeAws_restJson1UpdateEncryption(input.Encryption, context) }),
613
+ ...(input.Encryption != null && { encryption: se_UpdateEncryption(input.Encryption, context) }),
630
614
  ...(input.MaxLatency != null && { maxLatency: input.MaxLatency }),
631
615
  ...(input.MediaStreamOutputConfigurations != null && {
632
- mediaStreamOutputConfigurations: serializeAws_restJson1__listOfMediaStreamOutputConfigurationRequest(input.MediaStreamOutputConfigurations, context),
616
+ mediaStreamOutputConfigurations: se___listOfMediaStreamOutputConfigurationRequest(input.MediaStreamOutputConfigurations, context),
633
617
  }),
634
618
  ...(input.MinLatency != null && { minLatency: input.MinLatency }),
635
619
  ...(input.Port != null && { port: input.Port }),
@@ -640,7 +624,7 @@ const serializeAws_restJson1UpdateFlowOutputCommand = async (input, context) =>
640
624
  ...(input.SmoothingLatency != null && { smoothingLatency: input.SmoothingLatency }),
641
625
  ...(input.StreamId != null && { streamId: input.StreamId }),
642
626
  ...(input.VpcInterfaceAttachment != null && {
643
- vpcInterfaceAttachment: serializeAws_restJson1VpcInterfaceAttachment(input.VpcInterfaceAttachment, context),
627
+ vpcInterfaceAttachment: se_VpcInterfaceAttachment(input.VpcInterfaceAttachment, context),
644
628
  }),
645
629
  });
646
630
  return new protocol_http_1.HttpRequest({
@@ -653,8 +637,8 @@ const serializeAws_restJson1UpdateFlowOutputCommand = async (input, context) =>
653
637
  body,
654
638
  });
655
639
  };
656
- exports.serializeAws_restJson1UpdateFlowOutputCommand = serializeAws_restJson1UpdateFlowOutputCommand;
657
- const serializeAws_restJson1UpdateFlowSourceCommand = async (input, context) => {
640
+ exports.se_UpdateFlowOutputCommand = se_UpdateFlowOutputCommand;
641
+ const se_UpdateFlowSourceCommand = async (input, context) => {
658
642
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
659
643
  const headers = {
660
644
  "content-type": "application/json",
@@ -664,7 +648,7 @@ const serializeAws_restJson1UpdateFlowSourceCommand = async (input, context) =>
664
648
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SourceArn", () => input.SourceArn, "{SourceArn}", false);
665
649
  let body;
666
650
  body = JSON.stringify({
667
- ...(input.Decryption != null && { decryption: serializeAws_restJson1UpdateEncryption(input.Decryption, context) }),
651
+ ...(input.Decryption != null && { decryption: se_UpdateEncryption(input.Decryption, context) }),
668
652
  ...(input.Description != null && { description: input.Description }),
669
653
  ...(input.EntitlementArn != null && { entitlementArn: input.EntitlementArn }),
670
654
  ...(input.IngestPort != null && { ingestPort: input.IngestPort }),
@@ -672,7 +656,7 @@ const serializeAws_restJson1UpdateFlowSourceCommand = async (input, context) =>
672
656
  ...(input.MaxLatency != null && { maxLatency: input.MaxLatency }),
673
657
  ...(input.MaxSyncBuffer != null && { maxSyncBuffer: input.MaxSyncBuffer }),
674
658
  ...(input.MediaStreamSourceConfigurations != null && {
675
- mediaStreamSourceConfigurations: serializeAws_restJson1__listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
659
+ mediaStreamSourceConfigurations: se___listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
676
660
  }),
677
661
  ...(input.MinLatency != null && { minLatency: input.MinLatency }),
678
662
  ...(input.Protocol != null && { protocol: input.Protocol }),
@@ -694,10 +678,10 @@ const serializeAws_restJson1UpdateFlowSourceCommand = async (input, context) =>
694
678
  body,
695
679
  });
696
680
  };
697
- exports.serializeAws_restJson1UpdateFlowSourceCommand = serializeAws_restJson1UpdateFlowSourceCommand;
698
- const deserializeAws_restJson1AddFlowMediaStreamsCommand = async (output, context) => {
681
+ exports.se_UpdateFlowSourceCommand = se_UpdateFlowSourceCommand;
682
+ const de_AddFlowMediaStreamsCommand = async (output, context) => {
699
683
  if (output.statusCode !== 201 && output.statusCode >= 300) {
700
- return deserializeAws_restJson1AddFlowMediaStreamsCommandError(output, context);
684
+ return de_AddFlowMediaStreamsCommandError(output, context);
701
685
  }
702
686
  const contents = map({
703
687
  $metadata: deserializeMetadata(output),
@@ -707,12 +691,12 @@ const deserializeAws_restJson1AddFlowMediaStreamsCommand = async (output, contex
707
691
  contents.FlowArn = (0, smithy_client_1.expectString)(data.flowArn);
708
692
  }
709
693
  if (data.mediaStreams != null) {
710
- contents.MediaStreams = deserializeAws_restJson1__listOfMediaStream(data.mediaStreams, context);
694
+ contents.MediaStreams = de___listOfMediaStream(data.mediaStreams, context);
711
695
  }
712
696
  return contents;
713
697
  };
714
- exports.deserializeAws_restJson1AddFlowMediaStreamsCommand = deserializeAws_restJson1AddFlowMediaStreamsCommand;
715
- const deserializeAws_restJson1AddFlowMediaStreamsCommandError = async (output, context) => {
698
+ exports.de_AddFlowMediaStreamsCommand = de_AddFlowMediaStreamsCommand;
699
+ const de_AddFlowMediaStreamsCommandError = async (output, context) => {
716
700
  const parsedOutput = {
717
701
  ...output,
718
702
  body: await parseErrorBody(output.body, context),
@@ -721,22 +705,22 @@ const deserializeAws_restJson1AddFlowMediaStreamsCommandError = async (output, c
721
705
  switch (errorCode) {
722
706
  case "BadRequestException":
723
707
  case "com.amazonaws.mediaconnect#BadRequestException":
724
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
708
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
725
709
  case "ForbiddenException":
726
710
  case "com.amazonaws.mediaconnect#ForbiddenException":
727
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
711
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
728
712
  case "InternalServerErrorException":
729
713
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
730
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
714
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
731
715
  case "NotFoundException":
732
716
  case "com.amazonaws.mediaconnect#NotFoundException":
733
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
717
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
734
718
  case "ServiceUnavailableException":
735
719
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
736
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
720
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
737
721
  case "TooManyRequestsException":
738
722
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
739
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
723
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
740
724
  default:
741
725
  const parsedBody = parsedOutput.body;
742
726
  (0, smithy_client_1.throwDefaultError)({
@@ -747,9 +731,9 @@ const deserializeAws_restJson1AddFlowMediaStreamsCommandError = async (output, c
747
731
  });
748
732
  }
749
733
  };
750
- const deserializeAws_restJson1AddFlowOutputsCommand = async (output, context) => {
734
+ const de_AddFlowOutputsCommand = async (output, context) => {
751
735
  if (output.statusCode !== 201 && output.statusCode >= 300) {
752
- return deserializeAws_restJson1AddFlowOutputsCommandError(output, context);
736
+ return de_AddFlowOutputsCommandError(output, context);
753
737
  }
754
738
  const contents = map({
755
739
  $metadata: deserializeMetadata(output),
@@ -759,12 +743,12 @@ const deserializeAws_restJson1AddFlowOutputsCommand = async (output, context) =>
759
743
  contents.FlowArn = (0, smithy_client_1.expectString)(data.flowArn);
760
744
  }
761
745
  if (data.outputs != null) {
762
- contents.Outputs = deserializeAws_restJson1__listOfOutput(data.outputs, context);
746
+ contents.Outputs = de___listOfOutput(data.outputs, context);
763
747
  }
764
748
  return contents;
765
749
  };
766
- exports.deserializeAws_restJson1AddFlowOutputsCommand = deserializeAws_restJson1AddFlowOutputsCommand;
767
- const deserializeAws_restJson1AddFlowOutputsCommandError = async (output, context) => {
750
+ exports.de_AddFlowOutputsCommand = de_AddFlowOutputsCommand;
751
+ const de_AddFlowOutputsCommandError = async (output, context) => {
768
752
  const parsedOutput = {
769
753
  ...output,
770
754
  body: await parseErrorBody(output.body, context),
@@ -773,25 +757,25 @@ const deserializeAws_restJson1AddFlowOutputsCommandError = async (output, contex
773
757
  switch (errorCode) {
774
758
  case "AddFlowOutputs420Exception":
775
759
  case "com.amazonaws.mediaconnect#AddFlowOutputs420Exception":
776
- throw await deserializeAws_restJson1AddFlowOutputs420ExceptionResponse(parsedOutput, context);
760
+ throw await de_AddFlowOutputs420ExceptionRes(parsedOutput, context);
777
761
  case "BadRequestException":
778
762
  case "com.amazonaws.mediaconnect#BadRequestException":
779
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
763
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
780
764
  case "ForbiddenException":
781
765
  case "com.amazonaws.mediaconnect#ForbiddenException":
782
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
766
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
783
767
  case "InternalServerErrorException":
784
768
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
785
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
769
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
786
770
  case "NotFoundException":
787
771
  case "com.amazonaws.mediaconnect#NotFoundException":
788
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
772
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
789
773
  case "ServiceUnavailableException":
790
774
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
791
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
775
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
792
776
  case "TooManyRequestsException":
793
777
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
794
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
778
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
795
779
  default:
796
780
  const parsedBody = parsedOutput.body;
797
781
  (0, smithy_client_1.throwDefaultError)({
@@ -802,9 +786,9 @@ const deserializeAws_restJson1AddFlowOutputsCommandError = async (output, contex
802
786
  });
803
787
  }
804
788
  };
805
- const deserializeAws_restJson1AddFlowSourcesCommand = async (output, context) => {
789
+ const de_AddFlowSourcesCommand = async (output, context) => {
806
790
  if (output.statusCode !== 201 && output.statusCode >= 300) {
807
- return deserializeAws_restJson1AddFlowSourcesCommandError(output, context);
791
+ return de_AddFlowSourcesCommandError(output, context);
808
792
  }
809
793
  const contents = map({
810
794
  $metadata: deserializeMetadata(output),
@@ -814,12 +798,12 @@ const deserializeAws_restJson1AddFlowSourcesCommand = async (output, context) =>
814
798
  contents.FlowArn = (0, smithy_client_1.expectString)(data.flowArn);
815
799
  }
816
800
  if (data.sources != null) {
817
- contents.Sources = deserializeAws_restJson1__listOfSource(data.sources, context);
801
+ contents.Sources = de___listOfSource(data.sources, context);
818
802
  }
819
803
  return contents;
820
804
  };
821
- exports.deserializeAws_restJson1AddFlowSourcesCommand = deserializeAws_restJson1AddFlowSourcesCommand;
822
- const deserializeAws_restJson1AddFlowSourcesCommandError = async (output, context) => {
805
+ exports.de_AddFlowSourcesCommand = de_AddFlowSourcesCommand;
806
+ const de_AddFlowSourcesCommandError = async (output, context) => {
823
807
  const parsedOutput = {
824
808
  ...output,
825
809
  body: await parseErrorBody(output.body, context),
@@ -828,22 +812,22 @@ const deserializeAws_restJson1AddFlowSourcesCommandError = async (output, contex
828
812
  switch (errorCode) {
829
813
  case "BadRequestException":
830
814
  case "com.amazonaws.mediaconnect#BadRequestException":
831
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
815
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
832
816
  case "ForbiddenException":
833
817
  case "com.amazonaws.mediaconnect#ForbiddenException":
834
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
818
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
835
819
  case "InternalServerErrorException":
836
820
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
837
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
821
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
838
822
  case "NotFoundException":
839
823
  case "com.amazonaws.mediaconnect#NotFoundException":
840
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
824
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
841
825
  case "ServiceUnavailableException":
842
826
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
843
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
827
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
844
828
  case "TooManyRequestsException":
845
829
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
846
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
830
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
847
831
  default:
848
832
  const parsedBody = parsedOutput.body;
849
833
  (0, smithy_client_1.throwDefaultError)({
@@ -854,9 +838,9 @@ const deserializeAws_restJson1AddFlowSourcesCommandError = async (output, contex
854
838
  });
855
839
  }
856
840
  };
857
- const deserializeAws_restJson1AddFlowVpcInterfacesCommand = async (output, context) => {
841
+ const de_AddFlowVpcInterfacesCommand = async (output, context) => {
858
842
  if (output.statusCode !== 201 && output.statusCode >= 300) {
859
- return deserializeAws_restJson1AddFlowVpcInterfacesCommandError(output, context);
843
+ return de_AddFlowVpcInterfacesCommandError(output, context);
860
844
  }
861
845
  const contents = map({
862
846
  $metadata: deserializeMetadata(output),
@@ -866,12 +850,12 @@ const deserializeAws_restJson1AddFlowVpcInterfacesCommand = async (output, conte
866
850
  contents.FlowArn = (0, smithy_client_1.expectString)(data.flowArn);
867
851
  }
868
852
  if (data.vpcInterfaces != null) {
869
- contents.VpcInterfaces = deserializeAws_restJson1__listOfVpcInterface(data.vpcInterfaces, context);
853
+ contents.VpcInterfaces = de___listOfVpcInterface(data.vpcInterfaces, context);
870
854
  }
871
855
  return contents;
872
856
  };
873
- exports.deserializeAws_restJson1AddFlowVpcInterfacesCommand = deserializeAws_restJson1AddFlowVpcInterfacesCommand;
874
- const deserializeAws_restJson1AddFlowVpcInterfacesCommandError = async (output, context) => {
857
+ exports.de_AddFlowVpcInterfacesCommand = de_AddFlowVpcInterfacesCommand;
858
+ const de_AddFlowVpcInterfacesCommandError = async (output, context) => {
875
859
  const parsedOutput = {
876
860
  ...output,
877
861
  body: await parseErrorBody(output.body, context),
@@ -880,22 +864,22 @@ const deserializeAws_restJson1AddFlowVpcInterfacesCommandError = async (output,
880
864
  switch (errorCode) {
881
865
  case "BadRequestException":
882
866
  case "com.amazonaws.mediaconnect#BadRequestException":
883
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
867
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
884
868
  case "ForbiddenException":
885
869
  case "com.amazonaws.mediaconnect#ForbiddenException":
886
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
870
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
887
871
  case "InternalServerErrorException":
888
872
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
889
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
873
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
890
874
  case "NotFoundException":
891
875
  case "com.amazonaws.mediaconnect#NotFoundException":
892
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
876
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
893
877
  case "ServiceUnavailableException":
894
878
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
895
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
879
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
896
880
  case "TooManyRequestsException":
897
881
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
898
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
882
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
899
883
  default:
900
884
  const parsedBody = parsedOutput.body;
901
885
  (0, smithy_client_1.throwDefaultError)({
@@ -906,21 +890,21 @@ const deserializeAws_restJson1AddFlowVpcInterfacesCommandError = async (output,
906
890
  });
907
891
  }
908
892
  };
909
- const deserializeAws_restJson1CreateFlowCommand = async (output, context) => {
893
+ const de_CreateFlowCommand = async (output, context) => {
910
894
  if (output.statusCode !== 201 && output.statusCode >= 300) {
911
- return deserializeAws_restJson1CreateFlowCommandError(output, context);
895
+ return de_CreateFlowCommandError(output, context);
912
896
  }
913
897
  const contents = map({
914
898
  $metadata: deserializeMetadata(output),
915
899
  });
916
900
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
917
901
  if (data.flow != null) {
918
- contents.Flow = deserializeAws_restJson1Flow(data.flow, context);
902
+ contents.Flow = de_Flow(data.flow, context);
919
903
  }
920
904
  return contents;
921
905
  };
922
- exports.deserializeAws_restJson1CreateFlowCommand = deserializeAws_restJson1CreateFlowCommand;
923
- const deserializeAws_restJson1CreateFlowCommandError = async (output, context) => {
906
+ exports.de_CreateFlowCommand = de_CreateFlowCommand;
907
+ const de_CreateFlowCommandError = async (output, context) => {
924
908
  const parsedOutput = {
925
909
  ...output,
926
910
  body: await parseErrorBody(output.body, context),
@@ -929,22 +913,22 @@ const deserializeAws_restJson1CreateFlowCommandError = async (output, context) =
929
913
  switch (errorCode) {
930
914
  case "BadRequestException":
931
915
  case "com.amazonaws.mediaconnect#BadRequestException":
932
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
916
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
933
917
  case "CreateFlow420Exception":
934
918
  case "com.amazonaws.mediaconnect#CreateFlow420Exception":
935
- throw await deserializeAws_restJson1CreateFlow420ExceptionResponse(parsedOutput, context);
919
+ throw await de_CreateFlow420ExceptionRes(parsedOutput, context);
936
920
  case "ForbiddenException":
937
921
  case "com.amazonaws.mediaconnect#ForbiddenException":
938
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
922
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
939
923
  case "InternalServerErrorException":
940
924
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
941
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
925
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
942
926
  case "ServiceUnavailableException":
943
927
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
944
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
928
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
945
929
  case "TooManyRequestsException":
946
930
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
947
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
931
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
948
932
  default:
949
933
  const parsedBody = parsedOutput.body;
950
934
  (0, smithy_client_1.throwDefaultError)({
@@ -955,9 +939,9 @@ const deserializeAws_restJson1CreateFlowCommandError = async (output, context) =
955
939
  });
956
940
  }
957
941
  };
958
- const deserializeAws_restJson1DeleteFlowCommand = async (output, context) => {
942
+ const de_DeleteFlowCommand = async (output, context) => {
959
943
  if (output.statusCode !== 202 && output.statusCode >= 300) {
960
- return deserializeAws_restJson1DeleteFlowCommandError(output, context);
944
+ return de_DeleteFlowCommandError(output, context);
961
945
  }
962
946
  const contents = map({
963
947
  $metadata: deserializeMetadata(output),
@@ -971,8 +955,8 @@ const deserializeAws_restJson1DeleteFlowCommand = async (output, context) => {
971
955
  }
972
956
  return contents;
973
957
  };
974
- exports.deserializeAws_restJson1DeleteFlowCommand = deserializeAws_restJson1DeleteFlowCommand;
975
- const deserializeAws_restJson1DeleteFlowCommandError = async (output, context) => {
958
+ exports.de_DeleteFlowCommand = de_DeleteFlowCommand;
959
+ const de_DeleteFlowCommandError = async (output, context) => {
976
960
  const parsedOutput = {
977
961
  ...output,
978
962
  body: await parseErrorBody(output.body, context),
@@ -981,22 +965,22 @@ const deserializeAws_restJson1DeleteFlowCommandError = async (output, context) =
981
965
  switch (errorCode) {
982
966
  case "BadRequestException":
983
967
  case "com.amazonaws.mediaconnect#BadRequestException":
984
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
968
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
985
969
  case "ForbiddenException":
986
970
  case "com.amazonaws.mediaconnect#ForbiddenException":
987
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
971
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
988
972
  case "InternalServerErrorException":
989
973
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
990
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
974
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
991
975
  case "NotFoundException":
992
976
  case "com.amazonaws.mediaconnect#NotFoundException":
993
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
977
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
994
978
  case "ServiceUnavailableException":
995
979
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
996
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
980
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
997
981
  case "TooManyRequestsException":
998
982
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
999
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
983
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1000
984
  default:
1001
985
  const parsedBody = parsedOutput.body;
1002
986
  (0, smithy_client_1.throwDefaultError)({
@@ -1007,24 +991,24 @@ const deserializeAws_restJson1DeleteFlowCommandError = async (output, context) =
1007
991
  });
1008
992
  }
1009
993
  };
1010
- const deserializeAws_restJson1DescribeFlowCommand = async (output, context) => {
994
+ const de_DescribeFlowCommand = async (output, context) => {
1011
995
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1012
- return deserializeAws_restJson1DescribeFlowCommandError(output, context);
996
+ return de_DescribeFlowCommandError(output, context);
1013
997
  }
1014
998
  const contents = map({
1015
999
  $metadata: deserializeMetadata(output),
1016
1000
  });
1017
1001
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1018
1002
  if (data.flow != null) {
1019
- contents.Flow = deserializeAws_restJson1Flow(data.flow, context);
1003
+ contents.Flow = de_Flow(data.flow, context);
1020
1004
  }
1021
1005
  if (data.messages != null) {
1022
- contents.Messages = deserializeAws_restJson1Messages(data.messages, context);
1006
+ contents.Messages = de_Messages(data.messages, context);
1023
1007
  }
1024
1008
  return contents;
1025
1009
  };
1026
- exports.deserializeAws_restJson1DescribeFlowCommand = deserializeAws_restJson1DescribeFlowCommand;
1027
- const deserializeAws_restJson1DescribeFlowCommandError = async (output, context) => {
1010
+ exports.de_DescribeFlowCommand = de_DescribeFlowCommand;
1011
+ const de_DescribeFlowCommandError = async (output, context) => {
1028
1012
  const parsedOutput = {
1029
1013
  ...output,
1030
1014
  body: await parseErrorBody(output.body, context),
@@ -1033,22 +1017,22 @@ const deserializeAws_restJson1DescribeFlowCommandError = async (output, context)
1033
1017
  switch (errorCode) {
1034
1018
  case "BadRequestException":
1035
1019
  case "com.amazonaws.mediaconnect#BadRequestException":
1036
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1020
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1037
1021
  case "ForbiddenException":
1038
1022
  case "com.amazonaws.mediaconnect#ForbiddenException":
1039
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1023
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1040
1024
  case "InternalServerErrorException":
1041
1025
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1042
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1026
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1043
1027
  case "NotFoundException":
1044
1028
  case "com.amazonaws.mediaconnect#NotFoundException":
1045
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1029
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1046
1030
  case "ServiceUnavailableException":
1047
1031
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1048
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1032
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1049
1033
  case "TooManyRequestsException":
1050
1034
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1051
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1035
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1052
1036
  default:
1053
1037
  const parsedBody = parsedOutput.body;
1054
1038
  (0, smithy_client_1.throwDefaultError)({
@@ -1059,21 +1043,21 @@ const deserializeAws_restJson1DescribeFlowCommandError = async (output, context)
1059
1043
  });
1060
1044
  }
1061
1045
  };
1062
- const deserializeAws_restJson1DescribeOfferingCommand = async (output, context) => {
1046
+ const de_DescribeOfferingCommand = async (output, context) => {
1063
1047
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1064
- return deserializeAws_restJson1DescribeOfferingCommandError(output, context);
1048
+ return de_DescribeOfferingCommandError(output, context);
1065
1049
  }
1066
1050
  const contents = map({
1067
1051
  $metadata: deserializeMetadata(output),
1068
1052
  });
1069
1053
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1070
1054
  if (data.offering != null) {
1071
- contents.Offering = deserializeAws_restJson1Offering(data.offering, context);
1055
+ contents.Offering = de_Offering(data.offering, context);
1072
1056
  }
1073
1057
  return contents;
1074
1058
  };
1075
- exports.deserializeAws_restJson1DescribeOfferingCommand = deserializeAws_restJson1DescribeOfferingCommand;
1076
- const deserializeAws_restJson1DescribeOfferingCommandError = async (output, context) => {
1059
+ exports.de_DescribeOfferingCommand = de_DescribeOfferingCommand;
1060
+ const de_DescribeOfferingCommandError = async (output, context) => {
1077
1061
  const parsedOutput = {
1078
1062
  ...output,
1079
1063
  body: await parseErrorBody(output.body, context),
@@ -1082,19 +1066,19 @@ const deserializeAws_restJson1DescribeOfferingCommandError = async (output, cont
1082
1066
  switch (errorCode) {
1083
1067
  case "BadRequestException":
1084
1068
  case "com.amazonaws.mediaconnect#BadRequestException":
1085
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1069
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1086
1070
  case "InternalServerErrorException":
1087
1071
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1088
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1072
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1089
1073
  case "NotFoundException":
1090
1074
  case "com.amazonaws.mediaconnect#NotFoundException":
1091
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1075
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1092
1076
  case "ServiceUnavailableException":
1093
1077
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1094
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1078
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1095
1079
  case "TooManyRequestsException":
1096
1080
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1097
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1081
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1098
1082
  default:
1099
1083
  const parsedBody = parsedOutput.body;
1100
1084
  (0, smithy_client_1.throwDefaultError)({
@@ -1105,21 +1089,21 @@ const deserializeAws_restJson1DescribeOfferingCommandError = async (output, cont
1105
1089
  });
1106
1090
  }
1107
1091
  };
1108
- const deserializeAws_restJson1DescribeReservationCommand = async (output, context) => {
1092
+ const de_DescribeReservationCommand = async (output, context) => {
1109
1093
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1110
- return deserializeAws_restJson1DescribeReservationCommandError(output, context);
1094
+ return de_DescribeReservationCommandError(output, context);
1111
1095
  }
1112
1096
  const contents = map({
1113
1097
  $metadata: deserializeMetadata(output),
1114
1098
  });
1115
1099
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1116
1100
  if (data.reservation != null) {
1117
- contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
1101
+ contents.Reservation = de_Reservation(data.reservation, context);
1118
1102
  }
1119
1103
  return contents;
1120
1104
  };
1121
- exports.deserializeAws_restJson1DescribeReservationCommand = deserializeAws_restJson1DescribeReservationCommand;
1122
- const deserializeAws_restJson1DescribeReservationCommandError = async (output, context) => {
1105
+ exports.de_DescribeReservationCommand = de_DescribeReservationCommand;
1106
+ const de_DescribeReservationCommandError = async (output, context) => {
1123
1107
  const parsedOutput = {
1124
1108
  ...output,
1125
1109
  body: await parseErrorBody(output.body, context),
@@ -1128,19 +1112,19 @@ const deserializeAws_restJson1DescribeReservationCommandError = async (output, c
1128
1112
  switch (errorCode) {
1129
1113
  case "BadRequestException":
1130
1114
  case "com.amazonaws.mediaconnect#BadRequestException":
1131
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1115
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1132
1116
  case "InternalServerErrorException":
1133
1117
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1134
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1118
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1135
1119
  case "NotFoundException":
1136
1120
  case "com.amazonaws.mediaconnect#NotFoundException":
1137
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1121
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1138
1122
  case "ServiceUnavailableException":
1139
1123
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1140
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1124
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1141
1125
  case "TooManyRequestsException":
1142
1126
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1143
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1127
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1144
1128
  default:
1145
1129
  const parsedBody = parsedOutput.body;
1146
1130
  (0, smithy_client_1.throwDefaultError)({
@@ -1151,24 +1135,24 @@ const deserializeAws_restJson1DescribeReservationCommandError = async (output, c
1151
1135
  });
1152
1136
  }
1153
1137
  };
1154
- const deserializeAws_restJson1GrantFlowEntitlementsCommand = async (output, context) => {
1138
+ const de_GrantFlowEntitlementsCommand = async (output, context) => {
1155
1139
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1156
- return deserializeAws_restJson1GrantFlowEntitlementsCommandError(output, context);
1140
+ return de_GrantFlowEntitlementsCommandError(output, context);
1157
1141
  }
1158
1142
  const contents = map({
1159
1143
  $metadata: deserializeMetadata(output),
1160
1144
  });
1161
1145
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1162
1146
  if (data.entitlements != null) {
1163
- contents.Entitlements = deserializeAws_restJson1__listOfEntitlement(data.entitlements, context);
1147
+ contents.Entitlements = de___listOfEntitlement(data.entitlements, context);
1164
1148
  }
1165
1149
  if (data.flowArn != null) {
1166
1150
  contents.FlowArn = (0, smithy_client_1.expectString)(data.flowArn);
1167
1151
  }
1168
1152
  return contents;
1169
1153
  };
1170
- exports.deserializeAws_restJson1GrantFlowEntitlementsCommand = deserializeAws_restJson1GrantFlowEntitlementsCommand;
1171
- const deserializeAws_restJson1GrantFlowEntitlementsCommandError = async (output, context) => {
1154
+ exports.de_GrantFlowEntitlementsCommand = de_GrantFlowEntitlementsCommand;
1155
+ const de_GrantFlowEntitlementsCommandError = async (output, context) => {
1172
1156
  const parsedOutput = {
1173
1157
  ...output,
1174
1158
  body: await parseErrorBody(output.body, context),
@@ -1177,25 +1161,25 @@ const deserializeAws_restJson1GrantFlowEntitlementsCommandError = async (output,
1177
1161
  switch (errorCode) {
1178
1162
  case "BadRequestException":
1179
1163
  case "com.amazonaws.mediaconnect#BadRequestException":
1180
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1164
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1181
1165
  case "ForbiddenException":
1182
1166
  case "com.amazonaws.mediaconnect#ForbiddenException":
1183
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1167
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1184
1168
  case "GrantFlowEntitlements420Exception":
1185
1169
  case "com.amazonaws.mediaconnect#GrantFlowEntitlements420Exception":
1186
- throw await deserializeAws_restJson1GrantFlowEntitlements420ExceptionResponse(parsedOutput, context);
1170
+ throw await de_GrantFlowEntitlements420ExceptionRes(parsedOutput, context);
1187
1171
  case "InternalServerErrorException":
1188
1172
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1189
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1173
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1190
1174
  case "NotFoundException":
1191
1175
  case "com.amazonaws.mediaconnect#NotFoundException":
1192
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1176
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1193
1177
  case "ServiceUnavailableException":
1194
1178
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1195
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1179
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1196
1180
  case "TooManyRequestsException":
1197
1181
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1198
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1182
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1199
1183
  default:
1200
1184
  const parsedBody = parsedOutput.body;
1201
1185
  (0, smithy_client_1.throwDefaultError)({
@@ -1206,24 +1190,24 @@ const deserializeAws_restJson1GrantFlowEntitlementsCommandError = async (output,
1206
1190
  });
1207
1191
  }
1208
1192
  };
1209
- const deserializeAws_restJson1ListEntitlementsCommand = async (output, context) => {
1193
+ const de_ListEntitlementsCommand = async (output, context) => {
1210
1194
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1211
- return deserializeAws_restJson1ListEntitlementsCommandError(output, context);
1195
+ return de_ListEntitlementsCommandError(output, context);
1212
1196
  }
1213
1197
  const contents = map({
1214
1198
  $metadata: deserializeMetadata(output),
1215
1199
  });
1216
1200
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1217
1201
  if (data.entitlements != null) {
1218
- contents.Entitlements = deserializeAws_restJson1__listOfListedEntitlement(data.entitlements, context);
1202
+ contents.Entitlements = de___listOfListedEntitlement(data.entitlements, context);
1219
1203
  }
1220
1204
  if (data.nextToken != null) {
1221
1205
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1222
1206
  }
1223
1207
  return contents;
1224
1208
  };
1225
- exports.deserializeAws_restJson1ListEntitlementsCommand = deserializeAws_restJson1ListEntitlementsCommand;
1226
- const deserializeAws_restJson1ListEntitlementsCommandError = async (output, context) => {
1209
+ exports.de_ListEntitlementsCommand = de_ListEntitlementsCommand;
1210
+ const de_ListEntitlementsCommandError = async (output, context) => {
1227
1211
  const parsedOutput = {
1228
1212
  ...output,
1229
1213
  body: await parseErrorBody(output.body, context),
@@ -1232,16 +1216,16 @@ const deserializeAws_restJson1ListEntitlementsCommandError = async (output, cont
1232
1216
  switch (errorCode) {
1233
1217
  case "BadRequestException":
1234
1218
  case "com.amazonaws.mediaconnect#BadRequestException":
1235
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1219
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1236
1220
  case "InternalServerErrorException":
1237
1221
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1238
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1222
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1239
1223
  case "ServiceUnavailableException":
1240
1224
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1241
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1225
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1242
1226
  case "TooManyRequestsException":
1243
1227
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1244
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1228
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1245
1229
  default:
1246
1230
  const parsedBody = parsedOutput.body;
1247
1231
  (0, smithy_client_1.throwDefaultError)({
@@ -1252,24 +1236,24 @@ const deserializeAws_restJson1ListEntitlementsCommandError = async (output, cont
1252
1236
  });
1253
1237
  }
1254
1238
  };
1255
- const deserializeAws_restJson1ListFlowsCommand = async (output, context) => {
1239
+ const de_ListFlowsCommand = async (output, context) => {
1256
1240
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1257
- return deserializeAws_restJson1ListFlowsCommandError(output, context);
1241
+ return de_ListFlowsCommandError(output, context);
1258
1242
  }
1259
1243
  const contents = map({
1260
1244
  $metadata: deserializeMetadata(output),
1261
1245
  });
1262
1246
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1263
1247
  if (data.flows != null) {
1264
- contents.Flows = deserializeAws_restJson1__listOfListedFlow(data.flows, context);
1248
+ contents.Flows = de___listOfListedFlow(data.flows, context);
1265
1249
  }
1266
1250
  if (data.nextToken != null) {
1267
1251
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1268
1252
  }
1269
1253
  return contents;
1270
1254
  };
1271
- exports.deserializeAws_restJson1ListFlowsCommand = deserializeAws_restJson1ListFlowsCommand;
1272
- const deserializeAws_restJson1ListFlowsCommandError = async (output, context) => {
1255
+ exports.de_ListFlowsCommand = de_ListFlowsCommand;
1256
+ const de_ListFlowsCommandError = async (output, context) => {
1273
1257
  const parsedOutput = {
1274
1258
  ...output,
1275
1259
  body: await parseErrorBody(output.body, context),
@@ -1278,16 +1262,16 @@ const deserializeAws_restJson1ListFlowsCommandError = async (output, context) =>
1278
1262
  switch (errorCode) {
1279
1263
  case "BadRequestException":
1280
1264
  case "com.amazonaws.mediaconnect#BadRequestException":
1281
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1265
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1282
1266
  case "InternalServerErrorException":
1283
1267
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1284
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1268
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1285
1269
  case "ServiceUnavailableException":
1286
1270
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1287
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1271
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1288
1272
  case "TooManyRequestsException":
1289
1273
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1290
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1274
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1291
1275
  default:
1292
1276
  const parsedBody = parsedOutput.body;
1293
1277
  (0, smithy_client_1.throwDefaultError)({
@@ -1298,9 +1282,9 @@ const deserializeAws_restJson1ListFlowsCommandError = async (output, context) =>
1298
1282
  });
1299
1283
  }
1300
1284
  };
1301
- const deserializeAws_restJson1ListOfferingsCommand = async (output, context) => {
1285
+ const de_ListOfferingsCommand = async (output, context) => {
1302
1286
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1303
- return deserializeAws_restJson1ListOfferingsCommandError(output, context);
1287
+ return de_ListOfferingsCommandError(output, context);
1304
1288
  }
1305
1289
  const contents = map({
1306
1290
  $metadata: deserializeMetadata(output),
@@ -1310,12 +1294,12 @@ const deserializeAws_restJson1ListOfferingsCommand = async (output, context) =>
1310
1294
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1311
1295
  }
1312
1296
  if (data.offerings != null) {
1313
- contents.Offerings = deserializeAws_restJson1__listOfOffering(data.offerings, context);
1297
+ contents.Offerings = de___listOfOffering(data.offerings, context);
1314
1298
  }
1315
1299
  return contents;
1316
1300
  };
1317
- exports.deserializeAws_restJson1ListOfferingsCommand = deserializeAws_restJson1ListOfferingsCommand;
1318
- const deserializeAws_restJson1ListOfferingsCommandError = async (output, context) => {
1301
+ exports.de_ListOfferingsCommand = de_ListOfferingsCommand;
1302
+ const de_ListOfferingsCommandError = async (output, context) => {
1319
1303
  const parsedOutput = {
1320
1304
  ...output,
1321
1305
  body: await parseErrorBody(output.body, context),
@@ -1324,16 +1308,16 @@ const deserializeAws_restJson1ListOfferingsCommandError = async (output, context
1324
1308
  switch (errorCode) {
1325
1309
  case "BadRequestException":
1326
1310
  case "com.amazonaws.mediaconnect#BadRequestException":
1327
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1311
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1328
1312
  case "InternalServerErrorException":
1329
1313
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1330
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1314
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1331
1315
  case "ServiceUnavailableException":
1332
1316
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1333
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1317
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1334
1318
  case "TooManyRequestsException":
1335
1319
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1336
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1320
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1337
1321
  default:
1338
1322
  const parsedBody = parsedOutput.body;
1339
1323
  (0, smithy_client_1.throwDefaultError)({
@@ -1344,9 +1328,9 @@ const deserializeAws_restJson1ListOfferingsCommandError = async (output, context
1344
1328
  });
1345
1329
  }
1346
1330
  };
1347
- const deserializeAws_restJson1ListReservationsCommand = async (output, context) => {
1331
+ const de_ListReservationsCommand = async (output, context) => {
1348
1332
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1349
- return deserializeAws_restJson1ListReservationsCommandError(output, context);
1333
+ return de_ListReservationsCommandError(output, context);
1350
1334
  }
1351
1335
  const contents = map({
1352
1336
  $metadata: deserializeMetadata(output),
@@ -1356,12 +1340,12 @@ const deserializeAws_restJson1ListReservationsCommand = async (output, context)
1356
1340
  contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
1357
1341
  }
1358
1342
  if (data.reservations != null) {
1359
- contents.Reservations = deserializeAws_restJson1__listOfReservation(data.reservations, context);
1343
+ contents.Reservations = de___listOfReservation(data.reservations, context);
1360
1344
  }
1361
1345
  return contents;
1362
1346
  };
1363
- exports.deserializeAws_restJson1ListReservationsCommand = deserializeAws_restJson1ListReservationsCommand;
1364
- const deserializeAws_restJson1ListReservationsCommandError = async (output, context) => {
1347
+ exports.de_ListReservationsCommand = de_ListReservationsCommand;
1348
+ const de_ListReservationsCommandError = async (output, context) => {
1365
1349
  const parsedOutput = {
1366
1350
  ...output,
1367
1351
  body: await parseErrorBody(output.body, context),
@@ -1370,16 +1354,16 @@ const deserializeAws_restJson1ListReservationsCommandError = async (output, cont
1370
1354
  switch (errorCode) {
1371
1355
  case "BadRequestException":
1372
1356
  case "com.amazonaws.mediaconnect#BadRequestException":
1373
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1357
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1374
1358
  case "InternalServerErrorException":
1375
1359
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1376
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1360
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1377
1361
  case "ServiceUnavailableException":
1378
1362
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1379
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1363
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1380
1364
  case "TooManyRequestsException":
1381
1365
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1382
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1366
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1383
1367
  default:
1384
1368
  const parsedBody = parsedOutput.body;
1385
1369
  (0, smithy_client_1.throwDefaultError)({
@@ -1390,21 +1374,21 @@ const deserializeAws_restJson1ListReservationsCommandError = async (output, cont
1390
1374
  });
1391
1375
  }
1392
1376
  };
1393
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1377
+ const de_ListTagsForResourceCommand = async (output, context) => {
1394
1378
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1395
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1379
+ return de_ListTagsForResourceCommandError(output, context);
1396
1380
  }
1397
1381
  const contents = map({
1398
1382
  $metadata: deserializeMetadata(output),
1399
1383
  });
1400
1384
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1401
1385
  if (data.tags != null) {
1402
- contents.Tags = deserializeAws_restJson1__mapOf__string(data.tags, context);
1386
+ contents.Tags = de___mapOf__string(data.tags, context);
1403
1387
  }
1404
1388
  return contents;
1405
1389
  };
1406
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1407
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1390
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1391
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1408
1392
  const parsedOutput = {
1409
1393
  ...output,
1410
1394
  body: await parseErrorBody(output.body, context),
@@ -1413,13 +1397,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1413
1397
  switch (errorCode) {
1414
1398
  case "BadRequestException":
1415
1399
  case "com.amazonaws.mediaconnect#BadRequestException":
1416
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1400
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1417
1401
  case "InternalServerErrorException":
1418
1402
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1419
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1403
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1420
1404
  case "NotFoundException":
1421
1405
  case "com.amazonaws.mediaconnect#NotFoundException":
1422
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1406
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1423
1407
  default:
1424
1408
  const parsedBody = parsedOutput.body;
1425
1409
  (0, smithy_client_1.throwDefaultError)({
@@ -1430,21 +1414,21 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1430
1414
  });
1431
1415
  }
1432
1416
  };
1433
- const deserializeAws_restJson1PurchaseOfferingCommand = async (output, context) => {
1417
+ const de_PurchaseOfferingCommand = async (output, context) => {
1434
1418
  if (output.statusCode !== 201 && output.statusCode >= 300) {
1435
- return deserializeAws_restJson1PurchaseOfferingCommandError(output, context);
1419
+ return de_PurchaseOfferingCommandError(output, context);
1436
1420
  }
1437
1421
  const contents = map({
1438
1422
  $metadata: deserializeMetadata(output),
1439
1423
  });
1440
1424
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1441
1425
  if (data.reservation != null) {
1442
- contents.Reservation = deserializeAws_restJson1Reservation(data.reservation, context);
1426
+ contents.Reservation = de_Reservation(data.reservation, context);
1443
1427
  }
1444
1428
  return contents;
1445
1429
  };
1446
- exports.deserializeAws_restJson1PurchaseOfferingCommand = deserializeAws_restJson1PurchaseOfferingCommand;
1447
- const deserializeAws_restJson1PurchaseOfferingCommandError = async (output, context) => {
1430
+ exports.de_PurchaseOfferingCommand = de_PurchaseOfferingCommand;
1431
+ const de_PurchaseOfferingCommandError = async (output, context) => {
1448
1432
  const parsedOutput = {
1449
1433
  ...output,
1450
1434
  body: await parseErrorBody(output.body, context),
@@ -1453,22 +1437,22 @@ const deserializeAws_restJson1PurchaseOfferingCommandError = async (output, cont
1453
1437
  switch (errorCode) {
1454
1438
  case "BadRequestException":
1455
1439
  case "com.amazonaws.mediaconnect#BadRequestException":
1456
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1440
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1457
1441
  case "ForbiddenException":
1458
1442
  case "com.amazonaws.mediaconnect#ForbiddenException":
1459
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1443
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1460
1444
  case "InternalServerErrorException":
1461
1445
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1462
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1446
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1463
1447
  case "NotFoundException":
1464
1448
  case "com.amazonaws.mediaconnect#NotFoundException":
1465
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1449
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1466
1450
  case "ServiceUnavailableException":
1467
1451
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1468
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1452
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1469
1453
  case "TooManyRequestsException":
1470
1454
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1471
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1455
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1472
1456
  default:
1473
1457
  const parsedBody = parsedOutput.body;
1474
1458
  (0, smithy_client_1.throwDefaultError)({
@@ -1479,9 +1463,9 @@ const deserializeAws_restJson1PurchaseOfferingCommandError = async (output, cont
1479
1463
  });
1480
1464
  }
1481
1465
  };
1482
- const deserializeAws_restJson1RemoveFlowMediaStreamCommand = async (output, context) => {
1466
+ const de_RemoveFlowMediaStreamCommand = async (output, context) => {
1483
1467
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1484
- return deserializeAws_restJson1RemoveFlowMediaStreamCommandError(output, context);
1468
+ return de_RemoveFlowMediaStreamCommandError(output, context);
1485
1469
  }
1486
1470
  const contents = map({
1487
1471
  $metadata: deserializeMetadata(output),
@@ -1495,8 +1479,8 @@ const deserializeAws_restJson1RemoveFlowMediaStreamCommand = async (output, cont
1495
1479
  }
1496
1480
  return contents;
1497
1481
  };
1498
- exports.deserializeAws_restJson1RemoveFlowMediaStreamCommand = deserializeAws_restJson1RemoveFlowMediaStreamCommand;
1499
- const deserializeAws_restJson1RemoveFlowMediaStreamCommandError = async (output, context) => {
1482
+ exports.de_RemoveFlowMediaStreamCommand = de_RemoveFlowMediaStreamCommand;
1483
+ const de_RemoveFlowMediaStreamCommandError = async (output, context) => {
1500
1484
  const parsedOutput = {
1501
1485
  ...output,
1502
1486
  body: await parseErrorBody(output.body, context),
@@ -1505,22 +1489,22 @@ const deserializeAws_restJson1RemoveFlowMediaStreamCommandError = async (output,
1505
1489
  switch (errorCode) {
1506
1490
  case "BadRequestException":
1507
1491
  case "com.amazonaws.mediaconnect#BadRequestException":
1508
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1492
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1509
1493
  case "ForbiddenException":
1510
1494
  case "com.amazonaws.mediaconnect#ForbiddenException":
1511
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1495
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1512
1496
  case "InternalServerErrorException":
1513
1497
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1514
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1498
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1515
1499
  case "NotFoundException":
1516
1500
  case "com.amazonaws.mediaconnect#NotFoundException":
1517
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1501
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1518
1502
  case "ServiceUnavailableException":
1519
1503
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1520
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1504
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1521
1505
  case "TooManyRequestsException":
1522
1506
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1523
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1507
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1524
1508
  default:
1525
1509
  const parsedBody = parsedOutput.body;
1526
1510
  (0, smithy_client_1.throwDefaultError)({
@@ -1531,9 +1515,9 @@ const deserializeAws_restJson1RemoveFlowMediaStreamCommandError = async (output,
1531
1515
  });
1532
1516
  }
1533
1517
  };
1534
- const deserializeAws_restJson1RemoveFlowOutputCommand = async (output, context) => {
1518
+ const de_RemoveFlowOutputCommand = async (output, context) => {
1535
1519
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1536
- return deserializeAws_restJson1RemoveFlowOutputCommandError(output, context);
1520
+ return de_RemoveFlowOutputCommandError(output, context);
1537
1521
  }
1538
1522
  const contents = map({
1539
1523
  $metadata: deserializeMetadata(output),
@@ -1547,8 +1531,8 @@ const deserializeAws_restJson1RemoveFlowOutputCommand = async (output, context)
1547
1531
  }
1548
1532
  return contents;
1549
1533
  };
1550
- exports.deserializeAws_restJson1RemoveFlowOutputCommand = deserializeAws_restJson1RemoveFlowOutputCommand;
1551
- const deserializeAws_restJson1RemoveFlowOutputCommandError = async (output, context) => {
1534
+ exports.de_RemoveFlowOutputCommand = de_RemoveFlowOutputCommand;
1535
+ const de_RemoveFlowOutputCommandError = async (output, context) => {
1552
1536
  const parsedOutput = {
1553
1537
  ...output,
1554
1538
  body: await parseErrorBody(output.body, context),
@@ -1557,22 +1541,22 @@ const deserializeAws_restJson1RemoveFlowOutputCommandError = async (output, cont
1557
1541
  switch (errorCode) {
1558
1542
  case "BadRequestException":
1559
1543
  case "com.amazonaws.mediaconnect#BadRequestException":
1560
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1544
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1561
1545
  case "ForbiddenException":
1562
1546
  case "com.amazonaws.mediaconnect#ForbiddenException":
1563
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1547
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1564
1548
  case "InternalServerErrorException":
1565
1549
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1566
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1550
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1567
1551
  case "NotFoundException":
1568
1552
  case "com.amazonaws.mediaconnect#NotFoundException":
1569
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1553
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1570
1554
  case "ServiceUnavailableException":
1571
1555
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1572
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1556
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1573
1557
  case "TooManyRequestsException":
1574
1558
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1575
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1559
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1576
1560
  default:
1577
1561
  const parsedBody = parsedOutput.body;
1578
1562
  (0, smithy_client_1.throwDefaultError)({
@@ -1583,9 +1567,9 @@ const deserializeAws_restJson1RemoveFlowOutputCommandError = async (output, cont
1583
1567
  });
1584
1568
  }
1585
1569
  };
1586
- const deserializeAws_restJson1RemoveFlowSourceCommand = async (output, context) => {
1570
+ const de_RemoveFlowSourceCommand = async (output, context) => {
1587
1571
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1588
- return deserializeAws_restJson1RemoveFlowSourceCommandError(output, context);
1572
+ return de_RemoveFlowSourceCommandError(output, context);
1589
1573
  }
1590
1574
  const contents = map({
1591
1575
  $metadata: deserializeMetadata(output),
@@ -1599,8 +1583,8 @@ const deserializeAws_restJson1RemoveFlowSourceCommand = async (output, context)
1599
1583
  }
1600
1584
  return contents;
1601
1585
  };
1602
- exports.deserializeAws_restJson1RemoveFlowSourceCommand = deserializeAws_restJson1RemoveFlowSourceCommand;
1603
- const deserializeAws_restJson1RemoveFlowSourceCommandError = async (output, context) => {
1586
+ exports.de_RemoveFlowSourceCommand = de_RemoveFlowSourceCommand;
1587
+ const de_RemoveFlowSourceCommandError = async (output, context) => {
1604
1588
  const parsedOutput = {
1605
1589
  ...output,
1606
1590
  body: await parseErrorBody(output.body, context),
@@ -1609,22 +1593,22 @@ const deserializeAws_restJson1RemoveFlowSourceCommandError = async (output, cont
1609
1593
  switch (errorCode) {
1610
1594
  case "BadRequestException":
1611
1595
  case "com.amazonaws.mediaconnect#BadRequestException":
1612
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1596
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1613
1597
  case "ForbiddenException":
1614
1598
  case "com.amazonaws.mediaconnect#ForbiddenException":
1615
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1599
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1616
1600
  case "InternalServerErrorException":
1617
1601
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1618
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1602
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1619
1603
  case "NotFoundException":
1620
1604
  case "com.amazonaws.mediaconnect#NotFoundException":
1621
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1605
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1622
1606
  case "ServiceUnavailableException":
1623
1607
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1624
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1608
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1625
1609
  case "TooManyRequestsException":
1626
1610
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1627
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1611
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1628
1612
  default:
1629
1613
  const parsedBody = parsedOutput.body;
1630
1614
  (0, smithy_client_1.throwDefaultError)({
@@ -1635,9 +1619,9 @@ const deserializeAws_restJson1RemoveFlowSourceCommandError = async (output, cont
1635
1619
  });
1636
1620
  }
1637
1621
  };
1638
- const deserializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (output, context) => {
1622
+ const de_RemoveFlowVpcInterfaceCommand = async (output, context) => {
1639
1623
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1640
- return deserializeAws_restJson1RemoveFlowVpcInterfaceCommandError(output, context);
1624
+ return de_RemoveFlowVpcInterfaceCommandError(output, context);
1641
1625
  }
1642
1626
  const contents = map({
1643
1627
  $metadata: deserializeMetadata(output),
@@ -1647,15 +1631,15 @@ const deserializeAws_restJson1RemoveFlowVpcInterfaceCommand = async (output, con
1647
1631
  contents.FlowArn = (0, smithy_client_1.expectString)(data.flowArn);
1648
1632
  }
1649
1633
  if (data.nonDeletedNetworkInterfaceIds != null) {
1650
- contents.NonDeletedNetworkInterfaceIds = deserializeAws_restJson1__listOf__string(data.nonDeletedNetworkInterfaceIds, context);
1634
+ contents.NonDeletedNetworkInterfaceIds = de___listOf__string(data.nonDeletedNetworkInterfaceIds, context);
1651
1635
  }
1652
1636
  if (data.vpcInterfaceName != null) {
1653
1637
  contents.VpcInterfaceName = (0, smithy_client_1.expectString)(data.vpcInterfaceName);
1654
1638
  }
1655
1639
  return contents;
1656
1640
  };
1657
- exports.deserializeAws_restJson1RemoveFlowVpcInterfaceCommand = deserializeAws_restJson1RemoveFlowVpcInterfaceCommand;
1658
- const deserializeAws_restJson1RemoveFlowVpcInterfaceCommandError = async (output, context) => {
1641
+ exports.de_RemoveFlowVpcInterfaceCommand = de_RemoveFlowVpcInterfaceCommand;
1642
+ const de_RemoveFlowVpcInterfaceCommandError = async (output, context) => {
1659
1643
  const parsedOutput = {
1660
1644
  ...output,
1661
1645
  body: await parseErrorBody(output.body, context),
@@ -1664,22 +1648,22 @@ const deserializeAws_restJson1RemoveFlowVpcInterfaceCommandError = async (output
1664
1648
  switch (errorCode) {
1665
1649
  case "BadRequestException":
1666
1650
  case "com.amazonaws.mediaconnect#BadRequestException":
1667
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1651
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1668
1652
  case "ForbiddenException":
1669
1653
  case "com.amazonaws.mediaconnect#ForbiddenException":
1670
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1654
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1671
1655
  case "InternalServerErrorException":
1672
1656
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1673
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1657
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1674
1658
  case "NotFoundException":
1675
1659
  case "com.amazonaws.mediaconnect#NotFoundException":
1676
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1660
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1677
1661
  case "ServiceUnavailableException":
1678
1662
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1679
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1663
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1680
1664
  case "TooManyRequestsException":
1681
1665
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1682
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1666
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1683
1667
  default:
1684
1668
  const parsedBody = parsedOutput.body;
1685
1669
  (0, smithy_client_1.throwDefaultError)({
@@ -1690,9 +1674,9 @@ const deserializeAws_restJson1RemoveFlowVpcInterfaceCommandError = async (output
1690
1674
  });
1691
1675
  }
1692
1676
  };
1693
- const deserializeAws_restJson1RevokeFlowEntitlementCommand = async (output, context) => {
1677
+ const de_RevokeFlowEntitlementCommand = async (output, context) => {
1694
1678
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1695
- return deserializeAws_restJson1RevokeFlowEntitlementCommandError(output, context);
1679
+ return de_RevokeFlowEntitlementCommandError(output, context);
1696
1680
  }
1697
1681
  const contents = map({
1698
1682
  $metadata: deserializeMetadata(output),
@@ -1706,8 +1690,8 @@ const deserializeAws_restJson1RevokeFlowEntitlementCommand = async (output, cont
1706
1690
  }
1707
1691
  return contents;
1708
1692
  };
1709
- exports.deserializeAws_restJson1RevokeFlowEntitlementCommand = deserializeAws_restJson1RevokeFlowEntitlementCommand;
1710
- const deserializeAws_restJson1RevokeFlowEntitlementCommandError = async (output, context) => {
1693
+ exports.de_RevokeFlowEntitlementCommand = de_RevokeFlowEntitlementCommand;
1694
+ const de_RevokeFlowEntitlementCommandError = async (output, context) => {
1711
1695
  const parsedOutput = {
1712
1696
  ...output,
1713
1697
  body: await parseErrorBody(output.body, context),
@@ -1716,22 +1700,22 @@ const deserializeAws_restJson1RevokeFlowEntitlementCommandError = async (output,
1716
1700
  switch (errorCode) {
1717
1701
  case "BadRequestException":
1718
1702
  case "com.amazonaws.mediaconnect#BadRequestException":
1719
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1703
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1720
1704
  case "ForbiddenException":
1721
1705
  case "com.amazonaws.mediaconnect#ForbiddenException":
1722
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1706
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1723
1707
  case "InternalServerErrorException":
1724
1708
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1725
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1709
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1726
1710
  case "NotFoundException":
1727
1711
  case "com.amazonaws.mediaconnect#NotFoundException":
1728
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1712
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1729
1713
  case "ServiceUnavailableException":
1730
1714
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1731
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1715
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1732
1716
  case "TooManyRequestsException":
1733
1717
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1734
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1718
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1735
1719
  default:
1736
1720
  const parsedBody = parsedOutput.body;
1737
1721
  (0, smithy_client_1.throwDefaultError)({
@@ -1742,9 +1726,9 @@ const deserializeAws_restJson1RevokeFlowEntitlementCommandError = async (output,
1742
1726
  });
1743
1727
  }
1744
1728
  };
1745
- const deserializeAws_restJson1StartFlowCommand = async (output, context) => {
1729
+ const de_StartFlowCommand = async (output, context) => {
1746
1730
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1747
- return deserializeAws_restJson1StartFlowCommandError(output, context);
1731
+ return de_StartFlowCommandError(output, context);
1748
1732
  }
1749
1733
  const contents = map({
1750
1734
  $metadata: deserializeMetadata(output),
@@ -1758,8 +1742,8 @@ const deserializeAws_restJson1StartFlowCommand = async (output, context) => {
1758
1742
  }
1759
1743
  return contents;
1760
1744
  };
1761
- exports.deserializeAws_restJson1StartFlowCommand = deserializeAws_restJson1StartFlowCommand;
1762
- const deserializeAws_restJson1StartFlowCommandError = async (output, context) => {
1745
+ exports.de_StartFlowCommand = de_StartFlowCommand;
1746
+ const de_StartFlowCommandError = async (output, context) => {
1763
1747
  const parsedOutput = {
1764
1748
  ...output,
1765
1749
  body: await parseErrorBody(output.body, context),
@@ -1768,22 +1752,22 @@ const deserializeAws_restJson1StartFlowCommandError = async (output, context) =>
1768
1752
  switch (errorCode) {
1769
1753
  case "BadRequestException":
1770
1754
  case "com.amazonaws.mediaconnect#BadRequestException":
1771
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1755
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1772
1756
  case "ForbiddenException":
1773
1757
  case "com.amazonaws.mediaconnect#ForbiddenException":
1774
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1758
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1775
1759
  case "InternalServerErrorException":
1776
1760
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1777
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1761
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1778
1762
  case "NotFoundException":
1779
1763
  case "com.amazonaws.mediaconnect#NotFoundException":
1780
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1764
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1781
1765
  case "ServiceUnavailableException":
1782
1766
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1783
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1767
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1784
1768
  case "TooManyRequestsException":
1785
1769
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1786
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1770
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1787
1771
  default:
1788
1772
  const parsedBody = parsedOutput.body;
1789
1773
  (0, smithy_client_1.throwDefaultError)({
@@ -1794,9 +1778,9 @@ const deserializeAws_restJson1StartFlowCommandError = async (output, context) =>
1794
1778
  });
1795
1779
  }
1796
1780
  };
1797
- const deserializeAws_restJson1StopFlowCommand = async (output, context) => {
1781
+ const de_StopFlowCommand = async (output, context) => {
1798
1782
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1799
- return deserializeAws_restJson1StopFlowCommandError(output, context);
1783
+ return de_StopFlowCommandError(output, context);
1800
1784
  }
1801
1785
  const contents = map({
1802
1786
  $metadata: deserializeMetadata(output),
@@ -1810,8 +1794,8 @@ const deserializeAws_restJson1StopFlowCommand = async (output, context) => {
1810
1794
  }
1811
1795
  return contents;
1812
1796
  };
1813
- exports.deserializeAws_restJson1StopFlowCommand = deserializeAws_restJson1StopFlowCommand;
1814
- const deserializeAws_restJson1StopFlowCommandError = async (output, context) => {
1797
+ exports.de_StopFlowCommand = de_StopFlowCommand;
1798
+ const de_StopFlowCommandError = async (output, context) => {
1815
1799
  const parsedOutput = {
1816
1800
  ...output,
1817
1801
  body: await parseErrorBody(output.body, context),
@@ -1820,22 +1804,22 @@ const deserializeAws_restJson1StopFlowCommandError = async (output, context) =>
1820
1804
  switch (errorCode) {
1821
1805
  case "BadRequestException":
1822
1806
  case "com.amazonaws.mediaconnect#BadRequestException":
1823
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1807
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1824
1808
  case "ForbiddenException":
1825
1809
  case "com.amazonaws.mediaconnect#ForbiddenException":
1826
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1810
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1827
1811
  case "InternalServerErrorException":
1828
1812
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1829
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1813
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1830
1814
  case "NotFoundException":
1831
1815
  case "com.amazonaws.mediaconnect#NotFoundException":
1832
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1816
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1833
1817
  case "ServiceUnavailableException":
1834
1818
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1835
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1819
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1836
1820
  case "TooManyRequestsException":
1837
1821
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1838
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1822
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1839
1823
  default:
1840
1824
  const parsedBody = parsedOutput.body;
1841
1825
  (0, smithy_client_1.throwDefaultError)({
@@ -1846,9 +1830,9 @@ const deserializeAws_restJson1StopFlowCommandError = async (output, context) =>
1846
1830
  });
1847
1831
  }
1848
1832
  };
1849
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1833
+ const de_TagResourceCommand = async (output, context) => {
1850
1834
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1851
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1835
+ return de_TagResourceCommandError(output, context);
1852
1836
  }
1853
1837
  const contents = map({
1854
1838
  $metadata: deserializeMetadata(output),
@@ -1856,8 +1840,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1856
1840
  await collectBody(output.body, context);
1857
1841
  return contents;
1858
1842
  };
1859
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1860
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1843
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1844
+ const de_TagResourceCommandError = async (output, context) => {
1861
1845
  const parsedOutput = {
1862
1846
  ...output,
1863
1847
  body: await parseErrorBody(output.body, context),
@@ -1866,13 +1850,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1866
1850
  switch (errorCode) {
1867
1851
  case "BadRequestException":
1868
1852
  case "com.amazonaws.mediaconnect#BadRequestException":
1869
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1853
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1870
1854
  case "InternalServerErrorException":
1871
1855
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1872
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1856
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1873
1857
  case "NotFoundException":
1874
1858
  case "com.amazonaws.mediaconnect#NotFoundException":
1875
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1859
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1876
1860
  default:
1877
1861
  const parsedBody = parsedOutput.body;
1878
1862
  (0, smithy_client_1.throwDefaultError)({
@@ -1883,9 +1867,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1883
1867
  });
1884
1868
  }
1885
1869
  };
1886
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1870
+ const de_UntagResourceCommand = async (output, context) => {
1887
1871
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1888
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1872
+ return de_UntagResourceCommandError(output, context);
1889
1873
  }
1890
1874
  const contents = map({
1891
1875
  $metadata: deserializeMetadata(output),
@@ -1893,8 +1877,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1893
1877
  await collectBody(output.body, context);
1894
1878
  return contents;
1895
1879
  };
1896
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1897
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1880
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1881
+ const de_UntagResourceCommandError = async (output, context) => {
1898
1882
  const parsedOutput = {
1899
1883
  ...output,
1900
1884
  body: await parseErrorBody(output.body, context),
@@ -1903,13 +1887,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1903
1887
  switch (errorCode) {
1904
1888
  case "BadRequestException":
1905
1889
  case "com.amazonaws.mediaconnect#BadRequestException":
1906
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1890
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1907
1891
  case "InternalServerErrorException":
1908
1892
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1909
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1893
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1910
1894
  case "NotFoundException":
1911
1895
  case "com.amazonaws.mediaconnect#NotFoundException":
1912
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1896
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1913
1897
  default:
1914
1898
  const parsedBody = parsedOutput.body;
1915
1899
  (0, smithy_client_1.throwDefaultError)({
@@ -1920,21 +1904,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1920
1904
  });
1921
1905
  }
1922
1906
  };
1923
- const deserializeAws_restJson1UpdateFlowCommand = async (output, context) => {
1907
+ const de_UpdateFlowCommand = async (output, context) => {
1924
1908
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1925
- return deserializeAws_restJson1UpdateFlowCommandError(output, context);
1909
+ return de_UpdateFlowCommandError(output, context);
1926
1910
  }
1927
1911
  const contents = map({
1928
1912
  $metadata: deserializeMetadata(output),
1929
1913
  });
1930
1914
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1931
1915
  if (data.flow != null) {
1932
- contents.Flow = deserializeAws_restJson1Flow(data.flow, context);
1916
+ contents.Flow = de_Flow(data.flow, context);
1933
1917
  }
1934
1918
  return contents;
1935
1919
  };
1936
- exports.deserializeAws_restJson1UpdateFlowCommand = deserializeAws_restJson1UpdateFlowCommand;
1937
- const deserializeAws_restJson1UpdateFlowCommandError = async (output, context) => {
1920
+ exports.de_UpdateFlowCommand = de_UpdateFlowCommand;
1921
+ const de_UpdateFlowCommandError = async (output, context) => {
1938
1922
  const parsedOutput = {
1939
1923
  ...output,
1940
1924
  body: await parseErrorBody(output.body, context),
@@ -1943,22 +1927,22 @@ const deserializeAws_restJson1UpdateFlowCommandError = async (output, context) =
1943
1927
  switch (errorCode) {
1944
1928
  case "BadRequestException":
1945
1929
  case "com.amazonaws.mediaconnect#BadRequestException":
1946
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1930
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1947
1931
  case "ForbiddenException":
1948
1932
  case "com.amazonaws.mediaconnect#ForbiddenException":
1949
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1933
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1950
1934
  case "InternalServerErrorException":
1951
1935
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
1952
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1936
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1953
1937
  case "NotFoundException":
1954
1938
  case "com.amazonaws.mediaconnect#NotFoundException":
1955
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1939
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1956
1940
  case "ServiceUnavailableException":
1957
1941
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
1958
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1942
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1959
1943
  case "TooManyRequestsException":
1960
1944
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
1961
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1945
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1962
1946
  default:
1963
1947
  const parsedBody = parsedOutput.body;
1964
1948
  (0, smithy_client_1.throwDefaultError)({
@@ -1969,24 +1953,24 @@ const deserializeAws_restJson1UpdateFlowCommandError = async (output, context) =
1969
1953
  });
1970
1954
  }
1971
1955
  };
1972
- const deserializeAws_restJson1UpdateFlowEntitlementCommand = async (output, context) => {
1956
+ const de_UpdateFlowEntitlementCommand = async (output, context) => {
1973
1957
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1974
- return deserializeAws_restJson1UpdateFlowEntitlementCommandError(output, context);
1958
+ return de_UpdateFlowEntitlementCommandError(output, context);
1975
1959
  }
1976
1960
  const contents = map({
1977
1961
  $metadata: deserializeMetadata(output),
1978
1962
  });
1979
1963
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1980
1964
  if (data.entitlement != null) {
1981
- contents.Entitlement = deserializeAws_restJson1Entitlement(data.entitlement, context);
1965
+ contents.Entitlement = de_Entitlement(data.entitlement, context);
1982
1966
  }
1983
1967
  if (data.flowArn != null) {
1984
1968
  contents.FlowArn = (0, smithy_client_1.expectString)(data.flowArn);
1985
1969
  }
1986
1970
  return contents;
1987
1971
  };
1988
- exports.deserializeAws_restJson1UpdateFlowEntitlementCommand = deserializeAws_restJson1UpdateFlowEntitlementCommand;
1989
- const deserializeAws_restJson1UpdateFlowEntitlementCommandError = async (output, context) => {
1972
+ exports.de_UpdateFlowEntitlementCommand = de_UpdateFlowEntitlementCommand;
1973
+ const de_UpdateFlowEntitlementCommandError = async (output, context) => {
1990
1974
  const parsedOutput = {
1991
1975
  ...output,
1992
1976
  body: await parseErrorBody(output.body, context),
@@ -1995,22 +1979,22 @@ const deserializeAws_restJson1UpdateFlowEntitlementCommandError = async (output,
1995
1979
  switch (errorCode) {
1996
1980
  case "BadRequestException":
1997
1981
  case "com.amazonaws.mediaconnect#BadRequestException":
1998
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
1982
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1999
1983
  case "ForbiddenException":
2000
1984
  case "com.amazonaws.mediaconnect#ForbiddenException":
2001
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
1985
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2002
1986
  case "InternalServerErrorException":
2003
1987
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
2004
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
1988
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2005
1989
  case "NotFoundException":
2006
1990
  case "com.amazonaws.mediaconnect#NotFoundException":
2007
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1991
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2008
1992
  case "ServiceUnavailableException":
2009
1993
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
2010
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
1994
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2011
1995
  case "TooManyRequestsException":
2012
1996
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
2013
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
1997
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2014
1998
  default:
2015
1999
  const parsedBody = parsedOutput.body;
2016
2000
  (0, smithy_client_1.throwDefaultError)({
@@ -2021,9 +2005,9 @@ const deserializeAws_restJson1UpdateFlowEntitlementCommandError = async (output,
2021
2005
  });
2022
2006
  }
2023
2007
  };
2024
- const deserializeAws_restJson1UpdateFlowMediaStreamCommand = async (output, context) => {
2008
+ const de_UpdateFlowMediaStreamCommand = async (output, context) => {
2025
2009
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2026
- return deserializeAws_restJson1UpdateFlowMediaStreamCommandError(output, context);
2010
+ return de_UpdateFlowMediaStreamCommandError(output, context);
2027
2011
  }
2028
2012
  const contents = map({
2029
2013
  $metadata: deserializeMetadata(output),
@@ -2033,12 +2017,12 @@ const deserializeAws_restJson1UpdateFlowMediaStreamCommand = async (output, cont
2033
2017
  contents.FlowArn = (0, smithy_client_1.expectString)(data.flowArn);
2034
2018
  }
2035
2019
  if (data.mediaStream != null) {
2036
- contents.MediaStream = deserializeAws_restJson1MediaStream(data.mediaStream, context);
2020
+ contents.MediaStream = de_MediaStream(data.mediaStream, context);
2037
2021
  }
2038
2022
  return contents;
2039
2023
  };
2040
- exports.deserializeAws_restJson1UpdateFlowMediaStreamCommand = deserializeAws_restJson1UpdateFlowMediaStreamCommand;
2041
- const deserializeAws_restJson1UpdateFlowMediaStreamCommandError = async (output, context) => {
2024
+ exports.de_UpdateFlowMediaStreamCommand = de_UpdateFlowMediaStreamCommand;
2025
+ const de_UpdateFlowMediaStreamCommandError = async (output, context) => {
2042
2026
  const parsedOutput = {
2043
2027
  ...output,
2044
2028
  body: await parseErrorBody(output.body, context),
@@ -2047,22 +2031,22 @@ const deserializeAws_restJson1UpdateFlowMediaStreamCommandError = async (output,
2047
2031
  switch (errorCode) {
2048
2032
  case "BadRequestException":
2049
2033
  case "com.amazonaws.mediaconnect#BadRequestException":
2050
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2034
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2051
2035
  case "ForbiddenException":
2052
2036
  case "com.amazonaws.mediaconnect#ForbiddenException":
2053
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2037
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2054
2038
  case "InternalServerErrorException":
2055
2039
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
2056
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2040
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2057
2041
  case "NotFoundException":
2058
2042
  case "com.amazonaws.mediaconnect#NotFoundException":
2059
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2043
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2060
2044
  case "ServiceUnavailableException":
2061
2045
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
2062
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2046
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2063
2047
  case "TooManyRequestsException":
2064
2048
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
2065
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
2049
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2066
2050
  default:
2067
2051
  const parsedBody = parsedOutput.body;
2068
2052
  (0, smithy_client_1.throwDefaultError)({
@@ -2073,9 +2057,9 @@ const deserializeAws_restJson1UpdateFlowMediaStreamCommandError = async (output,
2073
2057
  });
2074
2058
  }
2075
2059
  };
2076
- const deserializeAws_restJson1UpdateFlowOutputCommand = async (output, context) => {
2060
+ const de_UpdateFlowOutputCommand = async (output, context) => {
2077
2061
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2078
- return deserializeAws_restJson1UpdateFlowOutputCommandError(output, context);
2062
+ return de_UpdateFlowOutputCommandError(output, context);
2079
2063
  }
2080
2064
  const contents = map({
2081
2065
  $metadata: deserializeMetadata(output),
@@ -2085,12 +2069,12 @@ const deserializeAws_restJson1UpdateFlowOutputCommand = async (output, context)
2085
2069
  contents.FlowArn = (0, smithy_client_1.expectString)(data.flowArn);
2086
2070
  }
2087
2071
  if (data.output != null) {
2088
- contents.Output = deserializeAws_restJson1Output(data.output, context);
2072
+ contents.Output = de_Output(data.output, context);
2089
2073
  }
2090
2074
  return contents;
2091
2075
  };
2092
- exports.deserializeAws_restJson1UpdateFlowOutputCommand = deserializeAws_restJson1UpdateFlowOutputCommand;
2093
- const deserializeAws_restJson1UpdateFlowOutputCommandError = async (output, context) => {
2076
+ exports.de_UpdateFlowOutputCommand = de_UpdateFlowOutputCommand;
2077
+ const de_UpdateFlowOutputCommandError = async (output, context) => {
2094
2078
  const parsedOutput = {
2095
2079
  ...output,
2096
2080
  body: await parseErrorBody(output.body, context),
@@ -2099,22 +2083,22 @@ const deserializeAws_restJson1UpdateFlowOutputCommandError = async (output, cont
2099
2083
  switch (errorCode) {
2100
2084
  case "BadRequestException":
2101
2085
  case "com.amazonaws.mediaconnect#BadRequestException":
2102
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2086
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2103
2087
  case "ForbiddenException":
2104
2088
  case "com.amazonaws.mediaconnect#ForbiddenException":
2105
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2089
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2106
2090
  case "InternalServerErrorException":
2107
2091
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
2108
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2092
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2109
2093
  case "NotFoundException":
2110
2094
  case "com.amazonaws.mediaconnect#NotFoundException":
2111
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2095
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2112
2096
  case "ServiceUnavailableException":
2113
2097
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
2114
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2098
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2115
2099
  case "TooManyRequestsException":
2116
2100
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
2117
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
2101
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2118
2102
  default:
2119
2103
  const parsedBody = parsedOutput.body;
2120
2104
  (0, smithy_client_1.throwDefaultError)({
@@ -2125,9 +2109,9 @@ const deserializeAws_restJson1UpdateFlowOutputCommandError = async (output, cont
2125
2109
  });
2126
2110
  }
2127
2111
  };
2128
- const deserializeAws_restJson1UpdateFlowSourceCommand = async (output, context) => {
2112
+ const de_UpdateFlowSourceCommand = async (output, context) => {
2129
2113
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2130
- return deserializeAws_restJson1UpdateFlowSourceCommandError(output, context);
2114
+ return de_UpdateFlowSourceCommandError(output, context);
2131
2115
  }
2132
2116
  const contents = map({
2133
2117
  $metadata: deserializeMetadata(output),
@@ -2137,12 +2121,12 @@ const deserializeAws_restJson1UpdateFlowSourceCommand = async (output, context)
2137
2121
  contents.FlowArn = (0, smithy_client_1.expectString)(data.flowArn);
2138
2122
  }
2139
2123
  if (data.source != null) {
2140
- contents.Source = deserializeAws_restJson1Source(data.source, context);
2124
+ contents.Source = de_Source(data.source, context);
2141
2125
  }
2142
2126
  return contents;
2143
2127
  };
2144
- exports.deserializeAws_restJson1UpdateFlowSourceCommand = deserializeAws_restJson1UpdateFlowSourceCommand;
2145
- const deserializeAws_restJson1UpdateFlowSourceCommandError = async (output, context) => {
2128
+ exports.de_UpdateFlowSourceCommand = de_UpdateFlowSourceCommand;
2129
+ const de_UpdateFlowSourceCommandError = async (output, context) => {
2146
2130
  const parsedOutput = {
2147
2131
  ...output,
2148
2132
  body: await parseErrorBody(output.body, context),
@@ -2151,22 +2135,22 @@ const deserializeAws_restJson1UpdateFlowSourceCommandError = async (output, cont
2151
2135
  switch (errorCode) {
2152
2136
  case "BadRequestException":
2153
2137
  case "com.amazonaws.mediaconnect#BadRequestException":
2154
- throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
2138
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2155
2139
  case "ForbiddenException":
2156
2140
  case "com.amazonaws.mediaconnect#ForbiddenException":
2157
- throw await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context);
2141
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2158
2142
  case "InternalServerErrorException":
2159
2143
  case "com.amazonaws.mediaconnect#InternalServerErrorException":
2160
- throw await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context);
2144
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2161
2145
  case "NotFoundException":
2162
2146
  case "com.amazonaws.mediaconnect#NotFoundException":
2163
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
2147
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2164
2148
  case "ServiceUnavailableException":
2165
2149
  case "com.amazonaws.mediaconnect#ServiceUnavailableException":
2166
- throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
2150
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2167
2151
  case "TooManyRequestsException":
2168
2152
  case "com.amazonaws.mediaconnect#TooManyRequestsException":
2169
- throw await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context);
2153
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2170
2154
  default:
2171
2155
  const parsedBody = parsedOutput.body;
2172
2156
  (0, smithy_client_1.throwDefaultError)({
@@ -2178,7 +2162,7 @@ const deserializeAws_restJson1UpdateFlowSourceCommandError = async (output, cont
2178
2162
  }
2179
2163
  };
2180
2164
  const map = smithy_client_1.map;
2181
- const deserializeAws_restJson1AddFlowOutputs420ExceptionResponse = async (parsedOutput, context) => {
2165
+ const de_AddFlowOutputs420ExceptionRes = async (parsedOutput, context) => {
2182
2166
  const contents = map({});
2183
2167
  const data = parsedOutput.body;
2184
2168
  if (data.message != null) {
@@ -2190,7 +2174,7 @@ const deserializeAws_restJson1AddFlowOutputs420ExceptionResponse = async (parsed
2190
2174
  });
2191
2175
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2192
2176
  };
2193
- const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
2177
+ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
2194
2178
  const contents = map({});
2195
2179
  const data = parsedOutput.body;
2196
2180
  if (data.message != null) {
@@ -2202,7 +2186,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
2202
2186
  });
2203
2187
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2204
2188
  };
2205
- const deserializeAws_restJson1CreateFlow420ExceptionResponse = async (parsedOutput, context) => {
2189
+ const de_CreateFlow420ExceptionRes = async (parsedOutput, context) => {
2206
2190
  const contents = map({});
2207
2191
  const data = parsedOutput.body;
2208
2192
  if (data.message != null) {
@@ -2214,7 +2198,7 @@ const deserializeAws_restJson1CreateFlow420ExceptionResponse = async (parsedOutp
2214
2198
  });
2215
2199
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2216
2200
  };
2217
- const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput, context) => {
2201
+ const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
2218
2202
  const contents = map({});
2219
2203
  const data = parsedOutput.body;
2220
2204
  if (data.message != null) {
@@ -2226,7 +2210,7 @@ const deserializeAws_restJson1ForbiddenExceptionResponse = async (parsedOutput,
2226
2210
  });
2227
2211
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2228
2212
  };
2229
- const deserializeAws_restJson1GrantFlowEntitlements420ExceptionResponse = async (parsedOutput, context) => {
2213
+ const de_GrantFlowEntitlements420ExceptionRes = async (parsedOutput, context) => {
2230
2214
  const contents = map({});
2231
2215
  const data = parsedOutput.body;
2232
2216
  if (data.message != null) {
@@ -2238,7 +2222,7 @@ const deserializeAws_restJson1GrantFlowEntitlements420ExceptionResponse = async
2238
2222
  });
2239
2223
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2240
2224
  };
2241
- const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
2225
+ const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
2242
2226
  const contents = map({});
2243
2227
  const data = parsedOutput.body;
2244
2228
  if (data.message != null) {
@@ -2250,7 +2234,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
2250
2234
  });
2251
2235
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2252
2236
  };
2253
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
2237
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
2254
2238
  const contents = map({});
2255
2239
  const data = parsedOutput.body;
2256
2240
  if (data.message != null) {
@@ -2262,7 +2246,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
2262
2246
  });
2263
2247
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2264
2248
  };
2265
- const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
2249
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
2266
2250
  const contents = map({});
2267
2251
  const data = parsedOutput.body;
2268
2252
  if (data.message != null) {
@@ -2274,7 +2258,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
2274
2258
  });
2275
2259
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2276
2260
  };
2277
- const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
2261
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
2278
2262
  const contents = map({});
2279
2263
  const data = parsedOutput.body;
2280
2264
  if (data.message != null) {
@@ -2286,77 +2270,77 @@ const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOu
2286
2270
  });
2287
2271
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2288
2272
  };
2289
- const serializeAws_restJson1__listOf__string = (input, context) => {
2273
+ const se___listOf__string = (input, context) => {
2290
2274
  return input
2291
2275
  .filter((e) => e != null)
2292
2276
  .map((entry) => {
2293
2277
  return entry;
2294
2278
  });
2295
2279
  };
2296
- const serializeAws_restJson1__listOfAddMediaStreamRequest = (input, context) => {
2280
+ const se___listOfAddMediaStreamRequest = (input, context) => {
2297
2281
  return input
2298
2282
  .filter((e) => e != null)
2299
2283
  .map((entry) => {
2300
- return serializeAws_restJson1AddMediaStreamRequest(entry, context);
2284
+ return se_AddMediaStreamRequest(entry, context);
2301
2285
  });
2302
2286
  };
2303
- const serializeAws_restJson1__listOfAddOutputRequest = (input, context) => {
2287
+ const se___listOfAddOutputRequest = (input, context) => {
2304
2288
  return input
2305
2289
  .filter((e) => e != null)
2306
2290
  .map((entry) => {
2307
- return serializeAws_restJson1AddOutputRequest(entry, context);
2291
+ return se_AddOutputRequest(entry, context);
2308
2292
  });
2309
2293
  };
2310
- const serializeAws_restJson1__listOfDestinationConfigurationRequest = (input, context) => {
2294
+ const se___listOfDestinationConfigurationRequest = (input, context) => {
2311
2295
  return input
2312
2296
  .filter((e) => e != null)
2313
2297
  .map((entry) => {
2314
- return serializeAws_restJson1DestinationConfigurationRequest(entry, context);
2298
+ return se_DestinationConfigurationRequest(entry, context);
2315
2299
  });
2316
2300
  };
2317
- const serializeAws_restJson1__listOfGrantEntitlementRequest = (input, context) => {
2301
+ const se___listOfGrantEntitlementRequest = (input, context) => {
2318
2302
  return input
2319
2303
  .filter((e) => e != null)
2320
2304
  .map((entry) => {
2321
- return serializeAws_restJson1GrantEntitlementRequest(entry, context);
2305
+ return se_GrantEntitlementRequest(entry, context);
2322
2306
  });
2323
2307
  };
2324
- const serializeAws_restJson1__listOfInputConfigurationRequest = (input, context) => {
2308
+ const se___listOfInputConfigurationRequest = (input, context) => {
2325
2309
  return input
2326
2310
  .filter((e) => e != null)
2327
2311
  .map((entry) => {
2328
- return serializeAws_restJson1InputConfigurationRequest(entry, context);
2312
+ return se_InputConfigurationRequest(entry, context);
2329
2313
  });
2330
2314
  };
2331
- const serializeAws_restJson1__listOfMediaStreamOutputConfigurationRequest = (input, context) => {
2315
+ const se___listOfMediaStreamOutputConfigurationRequest = (input, context) => {
2332
2316
  return input
2333
2317
  .filter((e) => e != null)
2334
2318
  .map((entry) => {
2335
- return serializeAws_restJson1MediaStreamOutputConfigurationRequest(entry, context);
2319
+ return se_MediaStreamOutputConfigurationRequest(entry, context);
2336
2320
  });
2337
2321
  };
2338
- const serializeAws_restJson1__listOfMediaStreamSourceConfigurationRequest = (input, context) => {
2322
+ const se___listOfMediaStreamSourceConfigurationRequest = (input, context) => {
2339
2323
  return input
2340
2324
  .filter((e) => e != null)
2341
2325
  .map((entry) => {
2342
- return serializeAws_restJson1MediaStreamSourceConfigurationRequest(entry, context);
2326
+ return se_MediaStreamSourceConfigurationRequest(entry, context);
2343
2327
  });
2344
2328
  };
2345
- const serializeAws_restJson1__listOfSetSourceRequest = (input, context) => {
2329
+ const se___listOfSetSourceRequest = (input, context) => {
2346
2330
  return input
2347
2331
  .filter((e) => e != null)
2348
2332
  .map((entry) => {
2349
- return serializeAws_restJson1SetSourceRequest(entry, context);
2333
+ return se_SetSourceRequest(entry, context);
2350
2334
  });
2351
2335
  };
2352
- const serializeAws_restJson1__listOfVpcInterfaceRequest = (input, context) => {
2336
+ const se___listOfVpcInterfaceRequest = (input, context) => {
2353
2337
  return input
2354
2338
  .filter((e) => e != null)
2355
2339
  .map((entry) => {
2356
- return serializeAws_restJson1VpcInterfaceRequest(entry, context);
2340
+ return se_VpcInterfaceRequest(entry, context);
2357
2341
  });
2358
2342
  };
2359
- const serializeAws_restJson1__mapOf__string = (input, context) => {
2343
+ const se___mapOf__string = (input, context) => {
2360
2344
  return Object.entries(input).reduce((acc, [key, value]) => {
2361
2345
  if (value === null) {
2362
2346
  return acc;
@@ -2365,17 +2349,15 @@ const serializeAws_restJson1__mapOf__string = (input, context) => {
2365
2349
  return acc;
2366
2350
  }, {});
2367
2351
  };
2368
- const serializeAws_restJson1AddMaintenance = (input, context) => {
2352
+ const se_AddMaintenance = (input, context) => {
2369
2353
  return {
2370
2354
  ...(input.MaintenanceDay != null && { maintenanceDay: input.MaintenanceDay }),
2371
2355
  ...(input.MaintenanceStartHour != null && { maintenanceStartHour: input.MaintenanceStartHour }),
2372
2356
  };
2373
2357
  };
2374
- const serializeAws_restJson1AddMediaStreamRequest = (input, context) => {
2358
+ const se_AddMediaStreamRequest = (input, context) => {
2375
2359
  return {
2376
- ...(input.Attributes != null && {
2377
- attributes: serializeAws_restJson1MediaStreamAttributesRequest(input.Attributes, context),
2378
- }),
2360
+ ...(input.Attributes != null && { attributes: se_MediaStreamAttributesRequest(input.Attributes, context) }),
2379
2361
  ...(input.ClockRate != null && { clockRate: input.ClockRate }),
2380
2362
  ...(input.Description != null && { description: input.Description }),
2381
2363
  ...(input.MediaStreamId != null && { mediaStreamId: input.MediaStreamId }),
@@ -2384,17 +2366,15 @@ const serializeAws_restJson1AddMediaStreamRequest = (input, context) => {
2384
2366
  ...(input.VideoFormat != null && { videoFormat: input.VideoFormat }),
2385
2367
  };
2386
2368
  };
2387
- const serializeAws_restJson1AddOutputRequest = (input, context) => {
2369
+ const se_AddOutputRequest = (input, context) => {
2388
2370
  return {
2389
- ...(input.CidrAllowList != null && {
2390
- cidrAllowList: serializeAws_restJson1__listOf__string(input.CidrAllowList, context),
2391
- }),
2371
+ ...(input.CidrAllowList != null && { cidrAllowList: se___listOf__string(input.CidrAllowList, context) }),
2392
2372
  ...(input.Description != null && { description: input.Description }),
2393
2373
  ...(input.Destination != null && { destination: input.Destination }),
2394
- ...(input.Encryption != null && { encryption: serializeAws_restJson1Encryption(input.Encryption, context) }),
2374
+ ...(input.Encryption != null && { encryption: se_Encryption(input.Encryption, context) }),
2395
2375
  ...(input.MaxLatency != null && { maxLatency: input.MaxLatency }),
2396
2376
  ...(input.MediaStreamOutputConfigurations != null && {
2397
- mediaStreamOutputConfigurations: serializeAws_restJson1__listOfMediaStreamOutputConfigurationRequest(input.MediaStreamOutputConfigurations, context),
2377
+ mediaStreamOutputConfigurations: se___listOfMediaStreamOutputConfigurationRequest(input.MediaStreamOutputConfigurations, context),
2398
2378
  }),
2399
2379
  ...(input.MinLatency != null && { minLatency: input.MinLatency }),
2400
2380
  ...(input.Name != null && { name: input.Name }),
@@ -2405,24 +2385,24 @@ const serializeAws_restJson1AddOutputRequest = (input, context) => {
2405
2385
  ...(input.SmoothingLatency != null && { smoothingLatency: input.SmoothingLatency }),
2406
2386
  ...(input.StreamId != null && { streamId: input.StreamId }),
2407
2387
  ...(input.VpcInterfaceAttachment != null && {
2408
- vpcInterfaceAttachment: serializeAws_restJson1VpcInterfaceAttachment(input.VpcInterfaceAttachment, context),
2388
+ vpcInterfaceAttachment: se_VpcInterfaceAttachment(input.VpcInterfaceAttachment, context),
2409
2389
  }),
2410
2390
  };
2411
2391
  };
2412
- const serializeAws_restJson1DestinationConfigurationRequest = (input, context) => {
2392
+ const se_DestinationConfigurationRequest = (input, context) => {
2413
2393
  return {
2414
2394
  ...(input.DestinationIp != null && { destinationIp: input.DestinationIp }),
2415
2395
  ...(input.DestinationPort != null && { destinationPort: input.DestinationPort }),
2416
- ...(input.Interface != null && { interface: serializeAws_restJson1InterfaceRequest(input.Interface, context) }),
2396
+ ...(input.Interface != null && { interface: se_InterfaceRequest(input.Interface, context) }),
2417
2397
  };
2418
2398
  };
2419
- const serializeAws_restJson1EncodingParametersRequest = (input, context) => {
2399
+ const se_EncodingParametersRequest = (input, context) => {
2420
2400
  return {
2421
2401
  ...(input.CompressionFactor != null && { compressionFactor: (0, smithy_client_1.serializeFloat)(input.CompressionFactor) }),
2422
2402
  ...(input.EncoderProfile != null && { encoderProfile: input.EncoderProfile }),
2423
2403
  };
2424
2404
  };
2425
- const serializeAws_restJson1Encryption = (input, context) => {
2405
+ const se_Encryption = (input, context) => {
2426
2406
  return {
2427
2407
  ...(input.Algorithm != null && { algorithm: input.Algorithm }),
2428
2408
  ...(input.ConstantInitializationVector != null && {
@@ -2437,17 +2417,15 @@ const serializeAws_restJson1Encryption = (input, context) => {
2437
2417
  ...(input.Url != null && { url: input.Url }),
2438
2418
  };
2439
2419
  };
2440
- const serializeAws_restJson1FailoverConfig = (input, context) => {
2420
+ const se_FailoverConfig = (input, context) => {
2441
2421
  return {
2442
2422
  ...(input.FailoverMode != null && { failoverMode: input.FailoverMode }),
2443
2423
  ...(input.RecoveryWindow != null && { recoveryWindow: input.RecoveryWindow }),
2444
- ...(input.SourcePriority != null && {
2445
- sourcePriority: serializeAws_restJson1SourcePriority(input.SourcePriority, context),
2446
- }),
2424
+ ...(input.SourcePriority != null && { sourcePriority: se_SourcePriority(input.SourcePriority, context) }),
2447
2425
  ...(input.State != null && { state: input.State }),
2448
2426
  };
2449
2427
  };
2450
- const serializeAws_restJson1FmtpRequest = (input, context) => {
2428
+ const se_FmtpRequest = (input, context) => {
2451
2429
  return {
2452
2430
  ...(input.ChannelOrder != null && { channelOrder: input.ChannelOrder }),
2453
2431
  ...(input.Colorimetry != null && { colorimetry: input.Colorimetry }),
@@ -2458,61 +2436,59 @@ const serializeAws_restJson1FmtpRequest = (input, context) => {
2458
2436
  ...(input.Tcs != null && { tcs: input.Tcs }),
2459
2437
  };
2460
2438
  };
2461
- const serializeAws_restJson1GrantEntitlementRequest = (input, context) => {
2439
+ const se_GrantEntitlementRequest = (input, context) => {
2462
2440
  return {
2463
2441
  ...(input.DataTransferSubscriberFeePercent != null && {
2464
2442
  dataTransferSubscriberFeePercent: input.DataTransferSubscriberFeePercent,
2465
2443
  }),
2466
2444
  ...(input.Description != null && { description: input.Description }),
2467
- ...(input.Encryption != null && { encryption: serializeAws_restJson1Encryption(input.Encryption, context) }),
2445
+ ...(input.Encryption != null && { encryption: se_Encryption(input.Encryption, context) }),
2468
2446
  ...(input.EntitlementStatus != null && { entitlementStatus: input.EntitlementStatus }),
2469
2447
  ...(input.Name != null && { name: input.Name }),
2470
- ...(input.Subscribers != null && {
2471
- subscribers: serializeAws_restJson1__listOf__string(input.Subscribers, context),
2472
- }),
2448
+ ...(input.Subscribers != null && { subscribers: se___listOf__string(input.Subscribers, context) }),
2473
2449
  };
2474
2450
  };
2475
- const serializeAws_restJson1InputConfigurationRequest = (input, context) => {
2451
+ const se_InputConfigurationRequest = (input, context) => {
2476
2452
  return {
2477
2453
  ...(input.InputPort != null && { inputPort: input.InputPort }),
2478
- ...(input.Interface != null && { interface: serializeAws_restJson1InterfaceRequest(input.Interface, context) }),
2454
+ ...(input.Interface != null && { interface: se_InterfaceRequest(input.Interface, context) }),
2479
2455
  };
2480
2456
  };
2481
- const serializeAws_restJson1InterfaceRequest = (input, context) => {
2457
+ const se_InterfaceRequest = (input, context) => {
2482
2458
  return {
2483
2459
  ...(input.Name != null && { name: input.Name }),
2484
2460
  };
2485
2461
  };
2486
- const serializeAws_restJson1MediaStreamAttributesRequest = (input, context) => {
2462
+ const se_MediaStreamAttributesRequest = (input, context) => {
2487
2463
  return {
2488
- ...(input.Fmtp != null && { fmtp: serializeAws_restJson1FmtpRequest(input.Fmtp, context) }),
2464
+ ...(input.Fmtp != null && { fmtp: se_FmtpRequest(input.Fmtp, context) }),
2489
2465
  ...(input.Lang != null && { lang: input.Lang }),
2490
2466
  };
2491
2467
  };
2492
- const serializeAws_restJson1MediaStreamOutputConfigurationRequest = (input, context) => {
2468
+ const se_MediaStreamOutputConfigurationRequest = (input, context) => {
2493
2469
  return {
2494
2470
  ...(input.DestinationConfigurations != null && {
2495
- destinationConfigurations: serializeAws_restJson1__listOfDestinationConfigurationRequest(input.DestinationConfigurations, context),
2471
+ destinationConfigurations: se___listOfDestinationConfigurationRequest(input.DestinationConfigurations, context),
2496
2472
  }),
2497
2473
  ...(input.EncodingName != null && { encodingName: input.EncodingName }),
2498
2474
  ...(input.EncodingParameters != null && {
2499
- encodingParameters: serializeAws_restJson1EncodingParametersRequest(input.EncodingParameters, context),
2475
+ encodingParameters: se_EncodingParametersRequest(input.EncodingParameters, context),
2500
2476
  }),
2501
2477
  ...(input.MediaStreamName != null && { mediaStreamName: input.MediaStreamName }),
2502
2478
  };
2503
2479
  };
2504
- const serializeAws_restJson1MediaStreamSourceConfigurationRequest = (input, context) => {
2480
+ const se_MediaStreamSourceConfigurationRequest = (input, context) => {
2505
2481
  return {
2506
2482
  ...(input.EncodingName != null && { encodingName: input.EncodingName }),
2507
2483
  ...(input.InputConfigurations != null && {
2508
- inputConfigurations: serializeAws_restJson1__listOfInputConfigurationRequest(input.InputConfigurations, context),
2484
+ inputConfigurations: se___listOfInputConfigurationRequest(input.InputConfigurations, context),
2509
2485
  }),
2510
2486
  ...(input.MediaStreamName != null && { mediaStreamName: input.MediaStreamName }),
2511
2487
  };
2512
2488
  };
2513
- const serializeAws_restJson1SetSourceRequest = (input, context) => {
2489
+ const se_SetSourceRequest = (input, context) => {
2514
2490
  return {
2515
- ...(input.Decryption != null && { decryption: serializeAws_restJson1Encryption(input.Decryption, context) }),
2491
+ ...(input.Decryption != null && { decryption: se_Encryption(input.Decryption, context) }),
2516
2492
  ...(input.Description != null && { description: input.Description }),
2517
2493
  ...(input.EntitlementArn != null && { entitlementArn: input.EntitlementArn }),
2518
2494
  ...(input.IngestPort != null && { ingestPort: input.IngestPort }),
@@ -2520,7 +2496,7 @@ const serializeAws_restJson1SetSourceRequest = (input, context) => {
2520
2496
  ...(input.MaxLatency != null && { maxLatency: input.MaxLatency }),
2521
2497
  ...(input.MaxSyncBuffer != null && { maxSyncBuffer: input.MaxSyncBuffer }),
2522
2498
  ...(input.MediaStreamSourceConfigurations != null && {
2523
- mediaStreamSourceConfigurations: serializeAws_restJson1__listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
2499
+ mediaStreamSourceConfigurations: se___listOfMediaStreamSourceConfigurationRequest(input.MediaStreamSourceConfigurations, context),
2524
2500
  }),
2525
2501
  ...(input.MinLatency != null && { minLatency: input.MinLatency }),
2526
2502
  ...(input.Name != null && { name: input.Name }),
@@ -2534,12 +2510,12 @@ const serializeAws_restJson1SetSourceRequest = (input, context) => {
2534
2510
  ...(input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr }),
2535
2511
  };
2536
2512
  };
2537
- const serializeAws_restJson1SourcePriority = (input, context) => {
2513
+ const se_SourcePriority = (input, context) => {
2538
2514
  return {
2539
2515
  ...(input.PrimarySource != null && { primarySource: input.PrimarySource }),
2540
2516
  };
2541
2517
  };
2542
- const serializeAws_restJson1UpdateEncryption = (input, context) => {
2518
+ const se_UpdateEncryption = (input, context) => {
2543
2519
  return {
2544
2520
  ...(input.Algorithm != null && { algorithm: input.Algorithm }),
2545
2521
  ...(input.ConstantInitializationVector != null && {
@@ -2554,40 +2530,36 @@ const serializeAws_restJson1UpdateEncryption = (input, context) => {
2554
2530
  ...(input.Url != null && { url: input.Url }),
2555
2531
  };
2556
2532
  };
2557
- const serializeAws_restJson1UpdateFailoverConfig = (input, context) => {
2533
+ const se_UpdateFailoverConfig = (input, context) => {
2558
2534
  return {
2559
2535
  ...(input.FailoverMode != null && { failoverMode: input.FailoverMode }),
2560
2536
  ...(input.RecoveryWindow != null && { recoveryWindow: input.RecoveryWindow }),
2561
- ...(input.SourcePriority != null && {
2562
- sourcePriority: serializeAws_restJson1SourcePriority(input.SourcePriority, context),
2563
- }),
2537
+ ...(input.SourcePriority != null && { sourcePriority: se_SourcePriority(input.SourcePriority, context) }),
2564
2538
  ...(input.State != null && { state: input.State }),
2565
2539
  };
2566
2540
  };
2567
- const serializeAws_restJson1UpdateMaintenance = (input, context) => {
2541
+ const se_UpdateMaintenance = (input, context) => {
2568
2542
  return {
2569
2543
  ...(input.MaintenanceDay != null && { maintenanceDay: input.MaintenanceDay }),
2570
2544
  ...(input.MaintenanceScheduledDate != null && { maintenanceScheduledDate: input.MaintenanceScheduledDate }),
2571
2545
  ...(input.MaintenanceStartHour != null && { maintenanceStartHour: input.MaintenanceStartHour }),
2572
2546
  };
2573
2547
  };
2574
- const serializeAws_restJson1VpcInterfaceAttachment = (input, context) => {
2548
+ const se_VpcInterfaceAttachment = (input, context) => {
2575
2549
  return {
2576
2550
  ...(input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName }),
2577
2551
  };
2578
2552
  };
2579
- const serializeAws_restJson1VpcInterfaceRequest = (input, context) => {
2553
+ const se_VpcInterfaceRequest = (input, context) => {
2580
2554
  return {
2581
2555
  ...(input.Name != null && { name: input.Name }),
2582
2556
  ...(input.NetworkInterfaceType != null && { networkInterfaceType: input.NetworkInterfaceType }),
2583
2557
  ...(input.RoleArn != null && { roleArn: input.RoleArn }),
2584
- ...(input.SecurityGroupIds != null && {
2585
- securityGroupIds: serializeAws_restJson1__listOf__string(input.SecurityGroupIds, context),
2586
- }),
2558
+ ...(input.SecurityGroupIds != null && { securityGroupIds: se___listOf__string(input.SecurityGroupIds, context) }),
2587
2559
  ...(input.SubnetId != null && { subnetId: input.SubnetId }),
2588
2560
  };
2589
2561
  };
2590
- const deserializeAws_restJson1__listOf__string = (output, context) => {
2562
+ const de___listOf__string = (output, context) => {
2591
2563
  const retVal = (output || [])
2592
2564
  .filter((e) => e != null)
2593
2565
  .map((entry) => {
@@ -2598,150 +2570,150 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
2598
2570
  });
2599
2571
  return retVal;
2600
2572
  };
2601
- const deserializeAws_restJson1__listOfDestinationConfiguration = (output, context) => {
2573
+ const de___listOfDestinationConfiguration = (output, context) => {
2602
2574
  const retVal = (output || [])
2603
2575
  .filter((e) => e != null)
2604
2576
  .map((entry) => {
2605
2577
  if (entry === null) {
2606
2578
  return null;
2607
2579
  }
2608
- return deserializeAws_restJson1DestinationConfiguration(entry, context);
2580
+ return de_DestinationConfiguration(entry, context);
2609
2581
  });
2610
2582
  return retVal;
2611
2583
  };
2612
- const deserializeAws_restJson1__listOfEntitlement = (output, context) => {
2584
+ const de___listOfEntitlement = (output, context) => {
2613
2585
  const retVal = (output || [])
2614
2586
  .filter((e) => e != null)
2615
2587
  .map((entry) => {
2616
2588
  if (entry === null) {
2617
2589
  return null;
2618
2590
  }
2619
- return deserializeAws_restJson1Entitlement(entry, context);
2591
+ return de_Entitlement(entry, context);
2620
2592
  });
2621
2593
  return retVal;
2622
2594
  };
2623
- const deserializeAws_restJson1__listOfInputConfiguration = (output, context) => {
2595
+ const de___listOfInputConfiguration = (output, context) => {
2624
2596
  const retVal = (output || [])
2625
2597
  .filter((e) => e != null)
2626
2598
  .map((entry) => {
2627
2599
  if (entry === null) {
2628
2600
  return null;
2629
2601
  }
2630
- return deserializeAws_restJson1InputConfiguration(entry, context);
2602
+ return de_InputConfiguration(entry, context);
2631
2603
  });
2632
2604
  return retVal;
2633
2605
  };
2634
- const deserializeAws_restJson1__listOfListedEntitlement = (output, context) => {
2606
+ const de___listOfListedEntitlement = (output, context) => {
2635
2607
  const retVal = (output || [])
2636
2608
  .filter((e) => e != null)
2637
2609
  .map((entry) => {
2638
2610
  if (entry === null) {
2639
2611
  return null;
2640
2612
  }
2641
- return deserializeAws_restJson1ListedEntitlement(entry, context);
2613
+ return de_ListedEntitlement(entry, context);
2642
2614
  });
2643
2615
  return retVal;
2644
2616
  };
2645
- const deserializeAws_restJson1__listOfListedFlow = (output, context) => {
2617
+ const de___listOfListedFlow = (output, context) => {
2646
2618
  const retVal = (output || [])
2647
2619
  .filter((e) => e != null)
2648
2620
  .map((entry) => {
2649
2621
  if (entry === null) {
2650
2622
  return null;
2651
2623
  }
2652
- return deserializeAws_restJson1ListedFlow(entry, context);
2624
+ return de_ListedFlow(entry, context);
2653
2625
  });
2654
2626
  return retVal;
2655
2627
  };
2656
- const deserializeAws_restJson1__listOfMediaStream = (output, context) => {
2628
+ const de___listOfMediaStream = (output, context) => {
2657
2629
  const retVal = (output || [])
2658
2630
  .filter((e) => e != null)
2659
2631
  .map((entry) => {
2660
2632
  if (entry === null) {
2661
2633
  return null;
2662
2634
  }
2663
- return deserializeAws_restJson1MediaStream(entry, context);
2635
+ return de_MediaStream(entry, context);
2664
2636
  });
2665
2637
  return retVal;
2666
2638
  };
2667
- const deserializeAws_restJson1__listOfMediaStreamOutputConfiguration = (output, context) => {
2639
+ const de___listOfMediaStreamOutputConfiguration = (output, context) => {
2668
2640
  const retVal = (output || [])
2669
2641
  .filter((e) => e != null)
2670
2642
  .map((entry) => {
2671
2643
  if (entry === null) {
2672
2644
  return null;
2673
2645
  }
2674
- return deserializeAws_restJson1MediaStreamOutputConfiguration(entry, context);
2646
+ return de_MediaStreamOutputConfiguration(entry, context);
2675
2647
  });
2676
2648
  return retVal;
2677
2649
  };
2678
- const deserializeAws_restJson1__listOfMediaStreamSourceConfiguration = (output, context) => {
2650
+ const de___listOfMediaStreamSourceConfiguration = (output, context) => {
2679
2651
  const retVal = (output || [])
2680
2652
  .filter((e) => e != null)
2681
2653
  .map((entry) => {
2682
2654
  if (entry === null) {
2683
2655
  return null;
2684
2656
  }
2685
- return deserializeAws_restJson1MediaStreamSourceConfiguration(entry, context);
2657
+ return de_MediaStreamSourceConfiguration(entry, context);
2686
2658
  });
2687
2659
  return retVal;
2688
2660
  };
2689
- const deserializeAws_restJson1__listOfOffering = (output, context) => {
2661
+ const de___listOfOffering = (output, context) => {
2690
2662
  const retVal = (output || [])
2691
2663
  .filter((e) => e != null)
2692
2664
  .map((entry) => {
2693
2665
  if (entry === null) {
2694
2666
  return null;
2695
2667
  }
2696
- return deserializeAws_restJson1Offering(entry, context);
2668
+ return de_Offering(entry, context);
2697
2669
  });
2698
2670
  return retVal;
2699
2671
  };
2700
- const deserializeAws_restJson1__listOfOutput = (output, context) => {
2672
+ const de___listOfOutput = (output, context) => {
2701
2673
  const retVal = (output || [])
2702
2674
  .filter((e) => e != null)
2703
2675
  .map((entry) => {
2704
2676
  if (entry === null) {
2705
2677
  return null;
2706
2678
  }
2707
- return deserializeAws_restJson1Output(entry, context);
2679
+ return de_Output(entry, context);
2708
2680
  });
2709
2681
  return retVal;
2710
2682
  };
2711
- const deserializeAws_restJson1__listOfReservation = (output, context) => {
2683
+ const de___listOfReservation = (output, context) => {
2712
2684
  const retVal = (output || [])
2713
2685
  .filter((e) => e != null)
2714
2686
  .map((entry) => {
2715
2687
  if (entry === null) {
2716
2688
  return null;
2717
2689
  }
2718
- return deserializeAws_restJson1Reservation(entry, context);
2690
+ return de_Reservation(entry, context);
2719
2691
  });
2720
2692
  return retVal;
2721
2693
  };
2722
- const deserializeAws_restJson1__listOfSource = (output, context) => {
2694
+ const de___listOfSource = (output, context) => {
2723
2695
  const retVal = (output || [])
2724
2696
  .filter((e) => e != null)
2725
2697
  .map((entry) => {
2726
2698
  if (entry === null) {
2727
2699
  return null;
2728
2700
  }
2729
- return deserializeAws_restJson1Source(entry, context);
2701
+ return de_Source(entry, context);
2730
2702
  });
2731
2703
  return retVal;
2732
2704
  };
2733
- const deserializeAws_restJson1__listOfVpcInterface = (output, context) => {
2705
+ const de___listOfVpcInterface = (output, context) => {
2734
2706
  const retVal = (output || [])
2735
2707
  .filter((e) => e != null)
2736
2708
  .map((entry) => {
2737
2709
  if (entry === null) {
2738
2710
  return null;
2739
2711
  }
2740
- return deserializeAws_restJson1VpcInterface(entry, context);
2712
+ return de_VpcInterface(entry, context);
2741
2713
  });
2742
2714
  return retVal;
2743
2715
  };
2744
- const deserializeAws_restJson1__mapOf__string = (output, context) => {
2716
+ const de___mapOf__string = (output, context) => {
2745
2717
  return Object.entries(output).reduce((acc, [key, value]) => {
2746
2718
  if (value === null) {
2747
2719
  return acc;
@@ -2750,21 +2722,21 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
2750
2722
  return acc;
2751
2723
  }, {});
2752
2724
  };
2753
- const deserializeAws_restJson1DestinationConfiguration = (output, context) => {
2725
+ const de_DestinationConfiguration = (output, context) => {
2754
2726
  return {
2755
2727
  DestinationIp: (0, smithy_client_1.expectString)(output.destinationIp),
2756
2728
  DestinationPort: (0, smithy_client_1.expectInt32)(output.destinationPort),
2757
- Interface: output.interface != null ? deserializeAws_restJson1Interface(output.interface, context) : undefined,
2729
+ Interface: output.interface != null ? de_Interface(output.interface, context) : undefined,
2758
2730
  OutboundIp: (0, smithy_client_1.expectString)(output.outboundIp),
2759
2731
  };
2760
2732
  };
2761
- const deserializeAws_restJson1EncodingParameters = (output, context) => {
2733
+ const de_EncodingParameters = (output, context) => {
2762
2734
  return {
2763
2735
  CompressionFactor: (0, smithy_client_1.limitedParseDouble)(output.compressionFactor),
2764
2736
  EncoderProfile: (0, smithy_client_1.expectString)(output.encoderProfile),
2765
2737
  };
2766
2738
  };
2767
- const deserializeAws_restJson1Encryption = (output, context) => {
2739
+ const de_Encryption = (output, context) => {
2768
2740
  return {
2769
2741
  Algorithm: (0, smithy_client_1.expectString)(output.algorithm),
2770
2742
  ConstantInitializationVector: (0, smithy_client_1.expectString)(output.constantInitializationVector),
@@ -2777,54 +2749,44 @@ const deserializeAws_restJson1Encryption = (output, context) => {
2777
2749
  Url: (0, smithy_client_1.expectString)(output.url),
2778
2750
  };
2779
2751
  };
2780
- const deserializeAws_restJson1Entitlement = (output, context) => {
2752
+ const de_Entitlement = (output, context) => {
2781
2753
  return {
2782
2754
  DataTransferSubscriberFeePercent: (0, smithy_client_1.expectInt32)(output.dataTransferSubscriberFeePercent),
2783
2755
  Description: (0, smithy_client_1.expectString)(output.description),
2784
- Encryption: output.encryption != null ? deserializeAws_restJson1Encryption(output.encryption, context) : undefined,
2756
+ Encryption: output.encryption != null ? de_Encryption(output.encryption, context) : undefined,
2785
2757
  EntitlementArn: (0, smithy_client_1.expectString)(output.entitlementArn),
2786
2758
  EntitlementStatus: (0, smithy_client_1.expectString)(output.entitlementStatus),
2787
2759
  Name: (0, smithy_client_1.expectString)(output.name),
2788
- Subscribers: output.subscribers != null ? deserializeAws_restJson1__listOf__string(output.subscribers, context) : undefined,
2760
+ Subscribers: output.subscribers != null ? de___listOf__string(output.subscribers, context) : undefined,
2789
2761
  };
2790
2762
  };
2791
- const deserializeAws_restJson1FailoverConfig = (output, context) => {
2763
+ const de_FailoverConfig = (output, context) => {
2792
2764
  return {
2793
2765
  FailoverMode: (0, smithy_client_1.expectString)(output.failoverMode),
2794
2766
  RecoveryWindow: (0, smithy_client_1.expectInt32)(output.recoveryWindow),
2795
- SourcePriority: output.sourcePriority != null
2796
- ? deserializeAws_restJson1SourcePriority(output.sourcePriority, context)
2797
- : undefined,
2767
+ SourcePriority: output.sourcePriority != null ? de_SourcePriority(output.sourcePriority, context) : undefined,
2798
2768
  State: (0, smithy_client_1.expectString)(output.state),
2799
2769
  };
2800
2770
  };
2801
- const deserializeAws_restJson1Flow = (output, context) => {
2771
+ const de_Flow = (output, context) => {
2802
2772
  return {
2803
2773
  AvailabilityZone: (0, smithy_client_1.expectString)(output.availabilityZone),
2804
2774
  Description: (0, smithy_client_1.expectString)(output.description),
2805
2775
  EgressIp: (0, smithy_client_1.expectString)(output.egressIp),
2806
- Entitlements: output.entitlements != null
2807
- ? deserializeAws_restJson1__listOfEntitlement(output.entitlements, context)
2808
- : undefined,
2776
+ Entitlements: output.entitlements != null ? de___listOfEntitlement(output.entitlements, context) : undefined,
2809
2777
  FlowArn: (0, smithy_client_1.expectString)(output.flowArn),
2810
- Maintenance: output.maintenance != null ? deserializeAws_restJson1Maintenance(output.maintenance, context) : undefined,
2811
- MediaStreams: output.mediaStreams != null
2812
- ? deserializeAws_restJson1__listOfMediaStream(output.mediaStreams, context)
2813
- : undefined,
2778
+ Maintenance: output.maintenance != null ? de_Maintenance(output.maintenance, context) : undefined,
2779
+ MediaStreams: output.mediaStreams != null ? de___listOfMediaStream(output.mediaStreams, context) : undefined,
2814
2780
  Name: (0, smithy_client_1.expectString)(output.name),
2815
- Outputs: output.outputs != null ? deserializeAws_restJson1__listOfOutput(output.outputs, context) : undefined,
2816
- Source: output.source != null ? deserializeAws_restJson1Source(output.source, context) : undefined,
2817
- SourceFailoverConfig: output.sourceFailoverConfig != null
2818
- ? deserializeAws_restJson1FailoverConfig(output.sourceFailoverConfig, context)
2819
- : undefined,
2820
- Sources: output.sources != null ? deserializeAws_restJson1__listOfSource(output.sources, context) : undefined,
2781
+ Outputs: output.outputs != null ? de___listOfOutput(output.outputs, context) : undefined,
2782
+ Source: output.source != null ? de_Source(output.source, context) : undefined,
2783
+ SourceFailoverConfig: output.sourceFailoverConfig != null ? de_FailoverConfig(output.sourceFailoverConfig, context) : undefined,
2784
+ Sources: output.sources != null ? de___listOfSource(output.sources, context) : undefined,
2821
2785
  Status: (0, smithy_client_1.expectString)(output.status),
2822
- VpcInterfaces: output.vpcInterfaces != null
2823
- ? deserializeAws_restJson1__listOfVpcInterface(output.vpcInterfaces, context)
2824
- : undefined,
2786
+ VpcInterfaces: output.vpcInterfaces != null ? de___listOfVpcInterface(output.vpcInterfaces, context) : undefined,
2825
2787
  };
2826
2788
  };
2827
- const deserializeAws_restJson1Fmtp = (output, context) => {
2789
+ const de_Fmtp = (output, context) => {
2828
2790
  return {
2829
2791
  ChannelOrder: (0, smithy_client_1.expectString)(output.channelOrder),
2830
2792
  Colorimetry: (0, smithy_client_1.expectString)(output.colorimetry),
@@ -2835,37 +2797,37 @@ const deserializeAws_restJson1Fmtp = (output, context) => {
2835
2797
  Tcs: (0, smithy_client_1.expectString)(output.tcs),
2836
2798
  };
2837
2799
  };
2838
- const deserializeAws_restJson1InputConfiguration = (output, context) => {
2800
+ const de_InputConfiguration = (output, context) => {
2839
2801
  return {
2840
2802
  InputIp: (0, smithy_client_1.expectString)(output.inputIp),
2841
2803
  InputPort: (0, smithy_client_1.expectInt32)(output.inputPort),
2842
- Interface: output.interface != null ? deserializeAws_restJson1Interface(output.interface, context) : undefined,
2804
+ Interface: output.interface != null ? de_Interface(output.interface, context) : undefined,
2843
2805
  };
2844
2806
  };
2845
- const deserializeAws_restJson1Interface = (output, context) => {
2807
+ const de_Interface = (output, context) => {
2846
2808
  return {
2847
2809
  Name: (0, smithy_client_1.expectString)(output.name),
2848
2810
  };
2849
2811
  };
2850
- const deserializeAws_restJson1ListedEntitlement = (output, context) => {
2812
+ const de_ListedEntitlement = (output, context) => {
2851
2813
  return {
2852
2814
  DataTransferSubscriberFeePercent: (0, smithy_client_1.expectInt32)(output.dataTransferSubscriberFeePercent),
2853
2815
  EntitlementArn: (0, smithy_client_1.expectString)(output.entitlementArn),
2854
2816
  EntitlementName: (0, smithy_client_1.expectString)(output.entitlementName),
2855
2817
  };
2856
2818
  };
2857
- const deserializeAws_restJson1ListedFlow = (output, context) => {
2819
+ const de_ListedFlow = (output, context) => {
2858
2820
  return {
2859
2821
  AvailabilityZone: (0, smithy_client_1.expectString)(output.availabilityZone),
2860
2822
  Description: (0, smithy_client_1.expectString)(output.description),
2861
2823
  FlowArn: (0, smithy_client_1.expectString)(output.flowArn),
2862
- Maintenance: output.maintenance != null ? deserializeAws_restJson1Maintenance(output.maintenance, context) : undefined,
2824
+ Maintenance: output.maintenance != null ? de_Maintenance(output.maintenance, context) : undefined,
2863
2825
  Name: (0, smithy_client_1.expectString)(output.name),
2864
2826
  SourceType: (0, smithy_client_1.expectString)(output.sourceType),
2865
2827
  Status: (0, smithy_client_1.expectString)(output.status),
2866
2828
  };
2867
2829
  };
2868
- const deserializeAws_restJson1Maintenance = (output, context) => {
2830
+ const de_Maintenance = (output, context) => {
2869
2831
  return {
2870
2832
  MaintenanceDay: (0, smithy_client_1.expectString)(output.maintenanceDay),
2871
2833
  MaintenanceDeadline: (0, smithy_client_1.expectString)(output.maintenanceDeadline),
@@ -2873,9 +2835,9 @@ const deserializeAws_restJson1Maintenance = (output, context) => {
2873
2835
  MaintenanceStartHour: (0, smithy_client_1.expectString)(output.maintenanceStartHour),
2874
2836
  };
2875
2837
  };
2876
- const deserializeAws_restJson1MediaStream = (output, context) => {
2838
+ const de_MediaStream = (output, context) => {
2877
2839
  return {
2878
- Attributes: output.attributes != null ? deserializeAws_restJson1MediaStreamAttributes(output.attributes, context) : undefined,
2840
+ Attributes: output.attributes != null ? de_MediaStreamAttributes(output.attributes, context) : undefined,
2879
2841
  ClockRate: (0, smithy_client_1.expectInt32)(output.clockRate),
2880
2842
  Description: (0, smithy_client_1.expectString)(output.description),
2881
2843
  Fmt: (0, smithy_client_1.expectInt32)(output.fmt),
@@ -2885,39 +2847,37 @@ const deserializeAws_restJson1MediaStream = (output, context) => {
2885
2847
  VideoFormat: (0, smithy_client_1.expectString)(output.videoFormat),
2886
2848
  };
2887
2849
  };
2888
- const deserializeAws_restJson1MediaStreamAttributes = (output, context) => {
2850
+ const de_MediaStreamAttributes = (output, context) => {
2889
2851
  return {
2890
- Fmtp: output.fmtp != null ? deserializeAws_restJson1Fmtp(output.fmtp, context) : undefined,
2852
+ Fmtp: output.fmtp != null ? de_Fmtp(output.fmtp, context) : undefined,
2891
2853
  Lang: (0, smithy_client_1.expectString)(output.lang),
2892
2854
  };
2893
2855
  };
2894
- const deserializeAws_restJson1MediaStreamOutputConfiguration = (output, context) => {
2856
+ const de_MediaStreamOutputConfiguration = (output, context) => {
2895
2857
  return {
2896
2858
  DestinationConfigurations: output.destinationConfigurations != null
2897
- ? deserializeAws_restJson1__listOfDestinationConfiguration(output.destinationConfigurations, context)
2859
+ ? de___listOfDestinationConfiguration(output.destinationConfigurations, context)
2898
2860
  : undefined,
2899
2861
  EncodingName: (0, smithy_client_1.expectString)(output.encodingName),
2900
- EncodingParameters: output.encodingParameters != null
2901
- ? deserializeAws_restJson1EncodingParameters(output.encodingParameters, context)
2902
- : undefined,
2862
+ EncodingParameters: output.encodingParameters != null ? de_EncodingParameters(output.encodingParameters, context) : undefined,
2903
2863
  MediaStreamName: (0, smithy_client_1.expectString)(output.mediaStreamName),
2904
2864
  };
2905
2865
  };
2906
- const deserializeAws_restJson1MediaStreamSourceConfiguration = (output, context) => {
2866
+ const de_MediaStreamSourceConfiguration = (output, context) => {
2907
2867
  return {
2908
2868
  EncodingName: (0, smithy_client_1.expectString)(output.encodingName),
2909
2869
  InputConfigurations: output.inputConfigurations != null
2910
- ? deserializeAws_restJson1__listOfInputConfiguration(output.inputConfigurations, context)
2870
+ ? de___listOfInputConfiguration(output.inputConfigurations, context)
2911
2871
  : undefined,
2912
2872
  MediaStreamName: (0, smithy_client_1.expectString)(output.mediaStreamName),
2913
2873
  };
2914
2874
  };
2915
- const deserializeAws_restJson1Messages = (output, context) => {
2875
+ const de_Messages = (output, context) => {
2916
2876
  return {
2917
- Errors: output.errors != null ? deserializeAws_restJson1__listOf__string(output.errors, context) : undefined,
2877
+ Errors: output.errors != null ? de___listOf__string(output.errors, context) : undefined,
2918
2878
  };
2919
2879
  };
2920
- const deserializeAws_restJson1Offering = (output, context) => {
2880
+ const de_Offering = (output, context) => {
2921
2881
  return {
2922
2882
  CurrencyCode: (0, smithy_client_1.expectString)(output.currencyCode),
2923
2883
  Duration: (0, smithy_client_1.expectInt32)(output.duration),
@@ -2927,32 +2887,32 @@ const deserializeAws_restJson1Offering = (output, context) => {
2927
2887
  PricePerUnit: (0, smithy_client_1.expectString)(output.pricePerUnit),
2928
2888
  PriceUnits: (0, smithy_client_1.expectString)(output.priceUnits),
2929
2889
  ResourceSpecification: output.resourceSpecification != null
2930
- ? deserializeAws_restJson1ResourceSpecification(output.resourceSpecification, context)
2890
+ ? de_ResourceSpecification(output.resourceSpecification, context)
2931
2891
  : undefined,
2932
2892
  };
2933
2893
  };
2934
- const deserializeAws_restJson1Output = (output, context) => {
2894
+ const de_Output = (output, context) => {
2935
2895
  return {
2936
2896
  DataTransferSubscriberFeePercent: (0, smithy_client_1.expectInt32)(output.dataTransferSubscriberFeePercent),
2937
2897
  Description: (0, smithy_client_1.expectString)(output.description),
2938
2898
  Destination: (0, smithy_client_1.expectString)(output.destination),
2939
- Encryption: output.encryption != null ? deserializeAws_restJson1Encryption(output.encryption, context) : undefined,
2899
+ Encryption: output.encryption != null ? de_Encryption(output.encryption, context) : undefined,
2940
2900
  EntitlementArn: (0, smithy_client_1.expectString)(output.entitlementArn),
2941
2901
  ListenerAddress: (0, smithy_client_1.expectString)(output.listenerAddress),
2942
2902
  MediaLiveInputArn: (0, smithy_client_1.expectString)(output.mediaLiveInputArn),
2943
2903
  MediaStreamOutputConfigurations: output.mediaStreamOutputConfigurations != null
2944
- ? deserializeAws_restJson1__listOfMediaStreamOutputConfiguration(output.mediaStreamOutputConfigurations, context)
2904
+ ? de___listOfMediaStreamOutputConfiguration(output.mediaStreamOutputConfigurations, context)
2945
2905
  : undefined,
2946
2906
  Name: (0, smithy_client_1.expectString)(output.name),
2947
2907
  OutputArn: (0, smithy_client_1.expectString)(output.outputArn),
2948
2908
  Port: (0, smithy_client_1.expectInt32)(output.port),
2949
- Transport: output.transport != null ? deserializeAws_restJson1Transport(output.transport, context) : undefined,
2909
+ Transport: output.transport != null ? de_Transport(output.transport, context) : undefined,
2950
2910
  VpcInterfaceAttachment: output.vpcInterfaceAttachment != null
2951
- ? deserializeAws_restJson1VpcInterfaceAttachment(output.vpcInterfaceAttachment, context)
2911
+ ? de_VpcInterfaceAttachment(output.vpcInterfaceAttachment, context)
2952
2912
  : undefined,
2953
2913
  };
2954
2914
  };
2955
- const deserializeAws_restJson1Reservation = (output, context) => {
2915
+ const de_Reservation = (output, context) => {
2956
2916
  return {
2957
2917
  CurrencyCode: (0, smithy_client_1.expectString)(output.currencyCode),
2958
2918
  Duration: (0, smithy_client_1.expectInt32)(output.duration),
@@ -2966,47 +2926,45 @@ const deserializeAws_restJson1Reservation = (output, context) => {
2966
2926
  ReservationName: (0, smithy_client_1.expectString)(output.reservationName),
2967
2927
  ReservationState: (0, smithy_client_1.expectString)(output.reservationState),
2968
2928
  ResourceSpecification: output.resourceSpecification != null
2969
- ? deserializeAws_restJson1ResourceSpecification(output.resourceSpecification, context)
2929
+ ? de_ResourceSpecification(output.resourceSpecification, context)
2970
2930
  : undefined,
2971
2931
  Start: (0, smithy_client_1.expectString)(output.start),
2972
2932
  };
2973
2933
  };
2974
- const deserializeAws_restJson1ResourceSpecification = (output, context) => {
2934
+ const de_ResourceSpecification = (output, context) => {
2975
2935
  return {
2976
2936
  ReservedBitrate: (0, smithy_client_1.expectInt32)(output.reservedBitrate),
2977
2937
  ResourceType: (0, smithy_client_1.expectString)(output.resourceType),
2978
2938
  };
2979
2939
  };
2980
- const deserializeAws_restJson1Source = (output, context) => {
2940
+ const de_Source = (output, context) => {
2981
2941
  return {
2982
2942
  DataTransferSubscriberFeePercent: (0, smithy_client_1.expectInt32)(output.dataTransferSubscriberFeePercent),
2983
- Decryption: output.decryption != null ? deserializeAws_restJson1Encryption(output.decryption, context) : undefined,
2943
+ Decryption: output.decryption != null ? de_Encryption(output.decryption, context) : undefined,
2984
2944
  Description: (0, smithy_client_1.expectString)(output.description),
2985
2945
  EntitlementArn: (0, smithy_client_1.expectString)(output.entitlementArn),
2986
2946
  IngestIp: (0, smithy_client_1.expectString)(output.ingestIp),
2987
2947
  IngestPort: (0, smithy_client_1.expectInt32)(output.ingestPort),
2988
2948
  MediaStreamSourceConfigurations: output.mediaStreamSourceConfigurations != null
2989
- ? deserializeAws_restJson1__listOfMediaStreamSourceConfiguration(output.mediaStreamSourceConfigurations, context)
2949
+ ? de___listOfMediaStreamSourceConfiguration(output.mediaStreamSourceConfigurations, context)
2990
2950
  : undefined,
2991
2951
  Name: (0, smithy_client_1.expectString)(output.name),
2992
2952
  SenderControlPort: (0, smithy_client_1.expectInt32)(output.senderControlPort),
2993
2953
  SenderIpAddress: (0, smithy_client_1.expectString)(output.senderIpAddress),
2994
2954
  SourceArn: (0, smithy_client_1.expectString)(output.sourceArn),
2995
- Transport: output.transport != null ? deserializeAws_restJson1Transport(output.transport, context) : undefined,
2955
+ Transport: output.transport != null ? de_Transport(output.transport, context) : undefined,
2996
2956
  VpcInterfaceName: (0, smithy_client_1.expectString)(output.vpcInterfaceName),
2997
2957
  WhitelistCidr: (0, smithy_client_1.expectString)(output.whitelistCidr),
2998
2958
  };
2999
2959
  };
3000
- const deserializeAws_restJson1SourcePriority = (output, context) => {
2960
+ const de_SourcePriority = (output, context) => {
3001
2961
  return {
3002
2962
  PrimarySource: (0, smithy_client_1.expectString)(output.primarySource),
3003
2963
  };
3004
2964
  };
3005
- const deserializeAws_restJson1Transport = (output, context) => {
2965
+ const de_Transport = (output, context) => {
3006
2966
  return {
3007
- CidrAllowList: output.cidrAllowList != null
3008
- ? deserializeAws_restJson1__listOf__string(output.cidrAllowList, context)
3009
- : undefined,
2967
+ CidrAllowList: output.cidrAllowList != null ? de___listOf__string(output.cidrAllowList, context) : undefined,
3010
2968
  MaxBitrate: (0, smithy_client_1.expectInt32)(output.maxBitrate),
3011
2969
  MaxLatency: (0, smithy_client_1.expectInt32)(output.maxLatency),
3012
2970
  MaxSyncBuffer: (0, smithy_client_1.expectInt32)(output.maxSyncBuffer),
@@ -3021,21 +2979,17 @@ const deserializeAws_restJson1Transport = (output, context) => {
3021
2979
  StreamId: (0, smithy_client_1.expectString)(output.streamId),
3022
2980
  };
3023
2981
  };
3024
- const deserializeAws_restJson1VpcInterface = (output, context) => {
2982
+ const de_VpcInterface = (output, context) => {
3025
2983
  return {
3026
2984
  Name: (0, smithy_client_1.expectString)(output.name),
3027
- NetworkInterfaceIds: output.networkInterfaceIds != null
3028
- ? deserializeAws_restJson1__listOf__string(output.networkInterfaceIds, context)
3029
- : undefined,
2985
+ NetworkInterfaceIds: output.networkInterfaceIds != null ? de___listOf__string(output.networkInterfaceIds, context) : undefined,
3030
2986
  NetworkInterfaceType: (0, smithy_client_1.expectString)(output.networkInterfaceType),
3031
2987
  RoleArn: (0, smithy_client_1.expectString)(output.roleArn),
3032
- SecurityGroupIds: output.securityGroupIds != null
3033
- ? deserializeAws_restJson1__listOf__string(output.securityGroupIds, context)
3034
- : undefined,
2988
+ SecurityGroupIds: output.securityGroupIds != null ? de___listOf__string(output.securityGroupIds, context) : undefined,
3035
2989
  SubnetId: (0, smithy_client_1.expectString)(output.subnetId),
3036
2990
  };
3037
2991
  };
3038
- const deserializeAws_restJson1VpcInterfaceAttachment = (output, context) => {
2992
+ const de_VpcInterfaceAttachment = (output, context) => {
3039
2993
  return {
3040
2994
  VpcInterfaceName: (0, smithy_client_1.expectString)(output.vpcInterfaceName),
3041
2995
  };