@aws-sdk/client-billingconductor 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 (67) hide show
  1. package/dist-cjs/commands/AssociateAccountsCommand.js +2 -2
  2. package/dist-cjs/commands/AssociatePricingRulesCommand.js +2 -2
  3. package/dist-cjs/commands/BatchAssociateResourcesToCustomLineItemCommand.js +2 -2
  4. package/dist-cjs/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +2 -2
  5. package/dist-cjs/commands/CreateBillingGroupCommand.js +2 -2
  6. package/dist-cjs/commands/CreateCustomLineItemCommand.js +2 -2
  7. package/dist-cjs/commands/CreatePricingPlanCommand.js +2 -2
  8. package/dist-cjs/commands/CreatePricingRuleCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteBillingGroupCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteCustomLineItemCommand.js +2 -2
  11. package/dist-cjs/commands/DeletePricingPlanCommand.js +2 -2
  12. package/dist-cjs/commands/DeletePricingRuleCommand.js +2 -2
  13. package/dist-cjs/commands/DisassociateAccountsCommand.js +2 -2
  14. package/dist-cjs/commands/DisassociatePricingRulesCommand.js +2 -2
  15. package/dist-cjs/commands/ListAccountAssociationsCommand.js +2 -2
  16. package/dist-cjs/commands/ListBillingGroupCostReportsCommand.js +2 -2
  17. package/dist-cjs/commands/ListBillingGroupsCommand.js +2 -2
  18. package/dist-cjs/commands/ListCustomLineItemVersionsCommand.js +2 -2
  19. package/dist-cjs/commands/ListCustomLineItemsCommand.js +2 -2
  20. package/dist-cjs/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +2 -2
  21. package/dist-cjs/commands/ListPricingPlansCommand.js +2 -2
  22. package/dist-cjs/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +2 -2
  23. package/dist-cjs/commands/ListPricingRulesCommand.js +2 -2
  24. package/dist-cjs/commands/ListResourcesAssociatedToCustomLineItemCommand.js +2 -2
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  26. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  27. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  28. package/dist-cjs/commands/UpdateBillingGroupCommand.js +2 -2
  29. package/dist-cjs/commands/UpdateCustomLineItemCommand.js +2 -2
  30. package/dist-cjs/commands/UpdatePricingPlanCommand.js +2 -2
  31. package/dist-cjs/commands/UpdatePricingRuleCommand.js +2 -2
  32. package/dist-cjs/protocols/Aws_restJson1.js +522 -552
  33. package/dist-es/commands/AssociateAccountsCommand.js +3 -3
  34. package/dist-es/commands/AssociatePricingRulesCommand.js +3 -3
  35. package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +3 -3
  36. package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +3 -3
  37. package/dist-es/commands/CreateBillingGroupCommand.js +3 -3
  38. package/dist-es/commands/CreateCustomLineItemCommand.js +3 -3
  39. package/dist-es/commands/CreatePricingPlanCommand.js +3 -3
  40. package/dist-es/commands/CreatePricingRuleCommand.js +3 -3
  41. package/dist-es/commands/DeleteBillingGroupCommand.js +3 -3
  42. package/dist-es/commands/DeleteCustomLineItemCommand.js +3 -3
  43. package/dist-es/commands/DeletePricingPlanCommand.js +3 -3
  44. package/dist-es/commands/DeletePricingRuleCommand.js +3 -3
  45. package/dist-es/commands/DisassociateAccountsCommand.js +3 -3
  46. package/dist-es/commands/DisassociatePricingRulesCommand.js +3 -3
  47. package/dist-es/commands/ListAccountAssociationsCommand.js +3 -3
  48. package/dist-es/commands/ListBillingGroupCostReportsCommand.js +3 -3
  49. package/dist-es/commands/ListBillingGroupsCommand.js +3 -3
  50. package/dist-es/commands/ListCustomLineItemVersionsCommand.js +3 -3
  51. package/dist-es/commands/ListCustomLineItemsCommand.js +3 -3
  52. package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +3 -3
  53. package/dist-es/commands/ListPricingPlansCommand.js +3 -3
  54. package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +3 -3
  55. package/dist-es/commands/ListPricingRulesCommand.js +3 -3
  56. package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +3 -3
  57. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  58. package/dist-es/commands/TagResourceCommand.js +3 -3
  59. package/dist-es/commands/UntagResourceCommand.js +3 -3
  60. package/dist-es/commands/UpdateBillingGroupCommand.js +3 -3
  61. package/dist-es/commands/UpdateCustomLineItemCommand.js +3 -3
  62. package/dist-es/commands/UpdatePricingPlanCommand.js +3 -3
  63. package/dist-es/commands/UpdatePricingRuleCommand.js +3 -3
  64. package/dist-es/protocols/Aws_restJson1.js +458 -488
  65. package/dist-types/protocols/Aws_restJson1.d.ts +248 -62
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -62
  67. package/package.json +29 -29
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { BillingconductorServiceException as __BaseException } from "../models/BillingconductorServiceException";
4
4
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceLimitExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
- export const serializeAws_restJson1AssociateAccountsCommand = async (input, context) => {
5
+ export const se_AssociateAccountsCommand = async (input, context) => {
6
6
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
7
  const headers = {
8
8
  "content-type": "application/json",
@@ -10,7 +10,7 @@ export const serializeAws_restJson1AssociateAccountsCommand = async (input, cont
10
10
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/associate-accounts";
11
11
  let body;
12
12
  body = JSON.stringify({
13
- ...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
13
+ ...(input.AccountIds != null && { AccountIds: se_AccountIdList(input.AccountIds, context) }),
14
14
  ...(input.Arn != null && { Arn: input.Arn }),
15
15
  });
16
16
  return new __HttpRequest({
@@ -23,7 +23,7 @@ export const serializeAws_restJson1AssociateAccountsCommand = async (input, cont
23
23
  body,
24
24
  });
25
25
  };
26
- export const serializeAws_restJson1AssociatePricingRulesCommand = async (input, context) => {
26
+ export const se_AssociatePricingRulesCommand = async (input, context) => {
27
27
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
28
  const headers = {
29
29
  "content-type": "application/json",
@@ -33,7 +33,7 @@ export const serializeAws_restJson1AssociatePricingRulesCommand = async (input,
33
33
  body = JSON.stringify({
34
34
  ...(input.Arn != null && { Arn: input.Arn }),
35
35
  ...(input.PricingRuleArns != null && {
36
- PricingRuleArns: serializeAws_restJson1PricingRuleArnsNonEmptyInput(input.PricingRuleArns, context),
36
+ PricingRuleArns: se_PricingRuleArnsNonEmptyInput(input.PricingRuleArns, context),
37
37
  }),
38
38
  });
39
39
  return new __HttpRequest({
@@ -46,7 +46,7 @@ export const serializeAws_restJson1AssociatePricingRulesCommand = async (input,
46
46
  body,
47
47
  });
48
48
  };
49
- export const serializeAws_restJson1BatchAssociateResourcesToCustomLineItemCommand = async (input, context) => {
49
+ export const se_BatchAssociateResourcesToCustomLineItemCommand = async (input, context) => {
50
50
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
51
51
  const headers = {
52
52
  "content-type": "application/json",
@@ -56,10 +56,10 @@ export const serializeAws_restJson1BatchAssociateResourcesToCustomLineItemComman
56
56
  let body;
57
57
  body = JSON.stringify({
58
58
  ...(input.BillingPeriodRange != null && {
59
- BillingPeriodRange: serializeAws_restJson1CustomLineItemBillingPeriodRange(input.BillingPeriodRange, context),
59
+ BillingPeriodRange: se_CustomLineItemBillingPeriodRange(input.BillingPeriodRange, context),
60
60
  }),
61
61
  ...(input.ResourceArns != null && {
62
- ResourceArns: serializeAws_restJson1CustomLineItemBatchAssociationsList(input.ResourceArns, context),
62
+ ResourceArns: se_CustomLineItemBatchAssociationsList(input.ResourceArns, context),
63
63
  }),
64
64
  ...(input.TargetArn != null && { TargetArn: input.TargetArn }),
65
65
  });
@@ -73,7 +73,7 @@ export const serializeAws_restJson1BatchAssociateResourcesToCustomLineItemComman
73
73
  body,
74
74
  });
75
75
  };
76
- export const serializeAws_restJson1BatchDisassociateResourcesFromCustomLineItemCommand = async (input, context) => {
76
+ export const se_BatchDisassociateResourcesFromCustomLineItemCommand = async (input, context) => {
77
77
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
78
78
  const headers = {
79
79
  "content-type": "application/json",
@@ -83,10 +83,10 @@ export const serializeAws_restJson1BatchDisassociateResourcesFromCustomLineItemC
83
83
  let body;
84
84
  body = JSON.stringify({
85
85
  ...(input.BillingPeriodRange != null && {
86
- BillingPeriodRange: serializeAws_restJson1CustomLineItemBillingPeriodRange(input.BillingPeriodRange, context),
86
+ BillingPeriodRange: se_CustomLineItemBillingPeriodRange(input.BillingPeriodRange, context),
87
87
  }),
88
88
  ...(input.ResourceArns != null && {
89
- ResourceArns: serializeAws_restJson1CustomLineItemBatchDisassociationsList(input.ResourceArns, context),
89
+ ResourceArns: se_CustomLineItemBatchDisassociationsList(input.ResourceArns, context),
90
90
  }),
91
91
  ...(input.TargetArn != null && { TargetArn: input.TargetArn }),
92
92
  });
@@ -100,7 +100,7 @@ export const serializeAws_restJson1BatchDisassociateResourcesFromCustomLineItemC
100
100
  body,
101
101
  });
102
102
  };
103
- export const serializeAws_restJson1CreateBillingGroupCommand = async (input, context) => {
103
+ export const se_CreateBillingGroupCommand = async (input, context) => {
104
104
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
105
105
  const headers = map({}, isSerializableHeaderValue, {
106
106
  "content-type": "application/json",
@@ -109,16 +109,14 @@ export const serializeAws_restJson1CreateBillingGroupCommand = async (input, con
109
109
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-billing-group";
110
110
  let body;
111
111
  body = JSON.stringify({
112
- ...(input.AccountGrouping != null && {
113
- AccountGrouping: serializeAws_restJson1AccountGrouping(input.AccountGrouping, context),
114
- }),
112
+ ...(input.AccountGrouping != null && { AccountGrouping: se_AccountGrouping(input.AccountGrouping, context) }),
115
113
  ...(input.ComputationPreference != null && {
116
- ComputationPreference: serializeAws_restJson1ComputationPreference(input.ComputationPreference, context),
114
+ ComputationPreference: se_ComputationPreference(input.ComputationPreference, context),
117
115
  }),
118
116
  ...(input.Description != null && { Description: input.Description }),
119
117
  ...(input.Name != null && { Name: input.Name }),
120
118
  ...(input.PrimaryAccountId != null && { PrimaryAccountId: input.PrimaryAccountId }),
121
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
119
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
122
120
  });
123
121
  return new __HttpRequest({
124
122
  protocol,
@@ -130,7 +128,7 @@ export const serializeAws_restJson1CreateBillingGroupCommand = async (input, con
130
128
  body,
131
129
  });
132
130
  };
133
- export const serializeAws_restJson1CreateCustomLineItemCommand = async (input, context) => {
131
+ export const se_CreateCustomLineItemCommand = async (input, context) => {
134
132
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
135
133
  const headers = map({}, isSerializableHeaderValue, {
136
134
  "content-type": "application/json",
@@ -141,14 +139,12 @@ export const serializeAws_restJson1CreateCustomLineItemCommand = async (input, c
141
139
  body = JSON.stringify({
142
140
  ...(input.BillingGroupArn != null && { BillingGroupArn: input.BillingGroupArn }),
143
141
  ...(input.BillingPeriodRange != null && {
144
- BillingPeriodRange: serializeAws_restJson1CustomLineItemBillingPeriodRange(input.BillingPeriodRange, context),
145
- }),
146
- ...(input.ChargeDetails != null && {
147
- ChargeDetails: serializeAws_restJson1CustomLineItemChargeDetails(input.ChargeDetails, context),
142
+ BillingPeriodRange: se_CustomLineItemBillingPeriodRange(input.BillingPeriodRange, context),
148
143
  }),
144
+ ...(input.ChargeDetails != null && { ChargeDetails: se_CustomLineItemChargeDetails(input.ChargeDetails, context) }),
149
145
  ...(input.Description != null && { Description: input.Description }),
150
146
  ...(input.Name != null && { Name: input.Name }),
151
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
147
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
152
148
  });
153
149
  return new __HttpRequest({
154
150
  protocol,
@@ -160,7 +156,7 @@ export const serializeAws_restJson1CreateCustomLineItemCommand = async (input, c
160
156
  body,
161
157
  });
162
158
  };
163
- export const serializeAws_restJson1CreatePricingPlanCommand = async (input, context) => {
159
+ export const se_CreatePricingPlanCommand = async (input, context) => {
164
160
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
165
161
  const headers = map({}, isSerializableHeaderValue, {
166
162
  "content-type": "application/json",
@@ -171,10 +167,8 @@ export const serializeAws_restJson1CreatePricingPlanCommand = async (input, cont
171
167
  body = JSON.stringify({
172
168
  ...(input.Description != null && { Description: input.Description }),
173
169
  ...(input.Name != null && { Name: input.Name }),
174
- ...(input.PricingRuleArns != null && {
175
- PricingRuleArns: serializeAws_restJson1PricingRuleArnsInput(input.PricingRuleArns, context),
176
- }),
177
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
170
+ ...(input.PricingRuleArns != null && { PricingRuleArns: se_PricingRuleArnsInput(input.PricingRuleArns, context) }),
171
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
178
172
  });
179
173
  return new __HttpRequest({
180
174
  protocol,
@@ -186,7 +180,7 @@ export const serializeAws_restJson1CreatePricingPlanCommand = async (input, cont
186
180
  body,
187
181
  });
188
182
  };
189
- export const serializeAws_restJson1CreatePricingRuleCommand = async (input, context) => {
183
+ export const se_CreatePricingRuleCommand = async (input, context) => {
190
184
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
191
185
  const headers = map({}, isSerializableHeaderValue, {
192
186
  "content-type": "application/json",
@@ -202,8 +196,8 @@ export const serializeAws_restJson1CreatePricingRuleCommand = async (input, cont
202
196
  ...(input.Operation != null && { Operation: input.Operation }),
203
197
  ...(input.Scope != null && { Scope: input.Scope }),
204
198
  ...(input.Service != null && { Service: input.Service }),
205
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
206
- ...(input.Tiering != null && { Tiering: serializeAws_restJson1CreateTieringInput(input.Tiering, context) }),
199
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
200
+ ...(input.Tiering != null && { Tiering: se_CreateTieringInput(input.Tiering, context) }),
207
201
  ...(input.Type != null && { Type: input.Type }),
208
202
  ...(input.UsageType != null && { UsageType: input.UsageType }),
209
203
  });
@@ -217,7 +211,7 @@ export const serializeAws_restJson1CreatePricingRuleCommand = async (input, cont
217
211
  body,
218
212
  });
219
213
  };
220
- export const serializeAws_restJson1DeleteBillingGroupCommand = async (input, context) => {
214
+ export const se_DeleteBillingGroupCommand = async (input, context) => {
221
215
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
222
216
  const headers = {
223
217
  "content-type": "application/json",
@@ -237,7 +231,7 @@ export const serializeAws_restJson1DeleteBillingGroupCommand = async (input, con
237
231
  body,
238
232
  });
239
233
  };
240
- export const serializeAws_restJson1DeleteCustomLineItemCommand = async (input, context) => {
234
+ export const se_DeleteCustomLineItemCommand = async (input, context) => {
241
235
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
242
236
  const headers = {
243
237
  "content-type": "application/json",
@@ -247,7 +241,7 @@ export const serializeAws_restJson1DeleteCustomLineItemCommand = async (input, c
247
241
  body = JSON.stringify({
248
242
  ...(input.Arn != null && { Arn: input.Arn }),
249
243
  ...(input.BillingPeriodRange != null && {
250
- BillingPeriodRange: serializeAws_restJson1CustomLineItemBillingPeriodRange(input.BillingPeriodRange, context),
244
+ BillingPeriodRange: se_CustomLineItemBillingPeriodRange(input.BillingPeriodRange, context),
251
245
  }),
252
246
  });
253
247
  return new __HttpRequest({
@@ -260,7 +254,7 @@ export const serializeAws_restJson1DeleteCustomLineItemCommand = async (input, c
260
254
  body,
261
255
  });
262
256
  };
263
- export const serializeAws_restJson1DeletePricingPlanCommand = async (input, context) => {
257
+ export const se_DeletePricingPlanCommand = async (input, context) => {
264
258
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
265
259
  const headers = {
266
260
  "content-type": "application/json",
@@ -280,7 +274,7 @@ export const serializeAws_restJson1DeletePricingPlanCommand = async (input, cont
280
274
  body,
281
275
  });
282
276
  };
283
- export const serializeAws_restJson1DeletePricingRuleCommand = async (input, context) => {
277
+ export const se_DeletePricingRuleCommand = async (input, context) => {
284
278
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
285
279
  const headers = {
286
280
  "content-type": "application/json",
@@ -300,7 +294,7 @@ export const serializeAws_restJson1DeletePricingRuleCommand = async (input, cont
300
294
  body,
301
295
  });
302
296
  };
303
- export const serializeAws_restJson1DisassociateAccountsCommand = async (input, context) => {
297
+ export const se_DisassociateAccountsCommand = async (input, context) => {
304
298
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
305
299
  const headers = {
306
300
  "content-type": "application/json",
@@ -308,7 +302,7 @@ export const serializeAws_restJson1DisassociateAccountsCommand = async (input, c
308
302
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/disassociate-accounts";
309
303
  let body;
310
304
  body = JSON.stringify({
311
- ...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
305
+ ...(input.AccountIds != null && { AccountIds: se_AccountIdList(input.AccountIds, context) }),
312
306
  ...(input.Arn != null && { Arn: input.Arn }),
313
307
  });
314
308
  return new __HttpRequest({
@@ -321,7 +315,7 @@ export const serializeAws_restJson1DisassociateAccountsCommand = async (input, c
321
315
  body,
322
316
  });
323
317
  };
324
- export const serializeAws_restJson1DisassociatePricingRulesCommand = async (input, context) => {
318
+ export const se_DisassociatePricingRulesCommand = async (input, context) => {
325
319
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
326
320
  const headers = {
327
321
  "content-type": "application/json",
@@ -331,7 +325,7 @@ export const serializeAws_restJson1DisassociatePricingRulesCommand = async (inpu
331
325
  body = JSON.stringify({
332
326
  ...(input.Arn != null && { Arn: input.Arn }),
333
327
  ...(input.PricingRuleArns != null && {
334
- PricingRuleArns: serializeAws_restJson1PricingRuleArnsNonEmptyInput(input.PricingRuleArns, context),
328
+ PricingRuleArns: se_PricingRuleArnsNonEmptyInput(input.PricingRuleArns, context),
335
329
  }),
336
330
  });
337
331
  return new __HttpRequest({
@@ -344,7 +338,7 @@ export const serializeAws_restJson1DisassociatePricingRulesCommand = async (inpu
344
338
  body,
345
339
  });
346
340
  };
347
- export const serializeAws_restJson1ListAccountAssociationsCommand = async (input, context) => {
341
+ export const se_ListAccountAssociationsCommand = async (input, context) => {
348
342
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
349
343
  const headers = {
350
344
  "content-type": "application/json",
@@ -353,9 +347,7 @@ export const serializeAws_restJson1ListAccountAssociationsCommand = async (input
353
347
  let body;
354
348
  body = JSON.stringify({
355
349
  ...(input.BillingPeriod != null && { BillingPeriod: input.BillingPeriod }),
356
- ...(input.Filters != null && {
357
- Filters: serializeAws_restJson1ListAccountAssociationsFilter(input.Filters, context),
358
- }),
350
+ ...(input.Filters != null && { Filters: se_ListAccountAssociationsFilter(input.Filters, context) }),
359
351
  ...(input.NextToken != null && { NextToken: input.NextToken }),
360
352
  });
361
353
  return new __HttpRequest({
@@ -368,7 +360,7 @@ export const serializeAws_restJson1ListAccountAssociationsCommand = async (input
368
360
  body,
369
361
  });
370
362
  };
371
- export const serializeAws_restJson1ListBillingGroupCostReportsCommand = async (input, context) => {
363
+ export const se_ListBillingGroupCostReportsCommand = async (input, context) => {
372
364
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
373
365
  const headers = {
374
366
  "content-type": "application/json",
@@ -377,9 +369,7 @@ export const serializeAws_restJson1ListBillingGroupCostReportsCommand = async (i
377
369
  let body;
378
370
  body = JSON.stringify({
379
371
  ...(input.BillingPeriod != null && { BillingPeriod: input.BillingPeriod }),
380
- ...(input.Filters != null && {
381
- Filters: serializeAws_restJson1ListBillingGroupCostReportsFilter(input.Filters, context),
382
- }),
372
+ ...(input.Filters != null && { Filters: se_ListBillingGroupCostReportsFilter(input.Filters, context) }),
383
373
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
384
374
  ...(input.NextToken != null && { NextToken: input.NextToken }),
385
375
  });
@@ -393,7 +383,7 @@ export const serializeAws_restJson1ListBillingGroupCostReportsCommand = async (i
393
383
  body,
394
384
  });
395
385
  };
396
- export const serializeAws_restJson1ListBillingGroupsCommand = async (input, context) => {
386
+ export const se_ListBillingGroupsCommand = async (input, context) => {
397
387
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
398
388
  const headers = {
399
389
  "content-type": "application/json",
@@ -402,7 +392,7 @@ export const serializeAws_restJson1ListBillingGroupsCommand = async (input, cont
402
392
  let body;
403
393
  body = JSON.stringify({
404
394
  ...(input.BillingPeriod != null && { BillingPeriod: input.BillingPeriod }),
405
- ...(input.Filters != null && { Filters: serializeAws_restJson1ListBillingGroupsFilter(input.Filters, context) }),
395
+ ...(input.Filters != null && { Filters: se_ListBillingGroupsFilter(input.Filters, context) }),
406
396
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
407
397
  ...(input.NextToken != null && { NextToken: input.NextToken }),
408
398
  });
@@ -416,7 +406,7 @@ export const serializeAws_restJson1ListBillingGroupsCommand = async (input, cont
416
406
  body,
417
407
  });
418
408
  };
419
- export const serializeAws_restJson1ListCustomLineItemsCommand = async (input, context) => {
409
+ export const se_ListCustomLineItemsCommand = async (input, context) => {
420
410
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
421
411
  const headers = {
422
412
  "content-type": "application/json",
@@ -425,7 +415,7 @@ export const serializeAws_restJson1ListCustomLineItemsCommand = async (input, co
425
415
  let body;
426
416
  body = JSON.stringify({
427
417
  ...(input.BillingPeriod != null && { BillingPeriod: input.BillingPeriod }),
428
- ...(input.Filters != null && { Filters: serializeAws_restJson1ListCustomLineItemsFilter(input.Filters, context) }),
418
+ ...(input.Filters != null && { Filters: se_ListCustomLineItemsFilter(input.Filters, context) }),
429
419
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
430
420
  ...(input.NextToken != null && { NextToken: input.NextToken }),
431
421
  });
@@ -439,7 +429,7 @@ export const serializeAws_restJson1ListCustomLineItemsCommand = async (input, co
439
429
  body,
440
430
  });
441
431
  };
442
- export const serializeAws_restJson1ListCustomLineItemVersionsCommand = async (input, context) => {
432
+ export const se_ListCustomLineItemVersionsCommand = async (input, context) => {
443
433
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
444
434
  const headers = {
445
435
  "content-type": "application/json",
@@ -448,9 +438,7 @@ export const serializeAws_restJson1ListCustomLineItemVersionsCommand = async (in
448
438
  let body;
449
439
  body = JSON.stringify({
450
440
  ...(input.Arn != null && { Arn: input.Arn }),
451
- ...(input.Filters != null && {
452
- Filters: serializeAws_restJson1ListCustomLineItemVersionsFilter(input.Filters, context),
453
- }),
441
+ ...(input.Filters != null && { Filters: se_ListCustomLineItemVersionsFilter(input.Filters, context) }),
454
442
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
455
443
  ...(input.NextToken != null && { NextToken: input.NextToken }),
456
444
  });
@@ -464,7 +452,7 @@ export const serializeAws_restJson1ListCustomLineItemVersionsCommand = async (in
464
452
  body,
465
453
  });
466
454
  };
467
- export const serializeAws_restJson1ListPricingPlansCommand = async (input, context) => {
455
+ export const se_ListPricingPlansCommand = async (input, context) => {
468
456
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
469
457
  const headers = {
470
458
  "content-type": "application/json",
@@ -473,7 +461,7 @@ export const serializeAws_restJson1ListPricingPlansCommand = async (input, conte
473
461
  let body;
474
462
  body = JSON.stringify({
475
463
  ...(input.BillingPeriod != null && { BillingPeriod: input.BillingPeriod }),
476
- ...(input.Filters != null && { Filters: serializeAws_restJson1ListPricingPlansFilter(input.Filters, context) }),
464
+ ...(input.Filters != null && { Filters: se_ListPricingPlansFilter(input.Filters, context) }),
477
465
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
478
466
  ...(input.NextToken != null && { NextToken: input.NextToken }),
479
467
  });
@@ -487,7 +475,7 @@ export const serializeAws_restJson1ListPricingPlansCommand = async (input, conte
487
475
  body,
488
476
  });
489
477
  };
490
- export const serializeAws_restJson1ListPricingPlansAssociatedWithPricingRuleCommand = async (input, context) => {
478
+ export const se_ListPricingPlansAssociatedWithPricingRuleCommand = async (input, context) => {
491
479
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
492
480
  const headers = {
493
481
  "content-type": "application/json",
@@ -511,7 +499,7 @@ export const serializeAws_restJson1ListPricingPlansAssociatedWithPricingRuleComm
511
499
  body,
512
500
  });
513
501
  };
514
- export const serializeAws_restJson1ListPricingRulesCommand = async (input, context) => {
502
+ export const se_ListPricingRulesCommand = async (input, context) => {
515
503
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
516
504
  const headers = {
517
505
  "content-type": "application/json",
@@ -520,7 +508,7 @@ export const serializeAws_restJson1ListPricingRulesCommand = async (input, conte
520
508
  let body;
521
509
  body = JSON.stringify({
522
510
  ...(input.BillingPeriod != null && { BillingPeriod: input.BillingPeriod }),
523
- ...(input.Filters != null && { Filters: serializeAws_restJson1ListPricingRulesFilter(input.Filters, context) }),
511
+ ...(input.Filters != null && { Filters: se_ListPricingRulesFilter(input.Filters, context) }),
524
512
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
525
513
  ...(input.NextToken != null && { NextToken: input.NextToken }),
526
514
  });
@@ -534,7 +522,7 @@ export const serializeAws_restJson1ListPricingRulesCommand = async (input, conte
534
522
  body,
535
523
  });
536
524
  };
537
- export const serializeAws_restJson1ListPricingRulesAssociatedToPricingPlanCommand = async (input, context) => {
525
+ export const se_ListPricingRulesAssociatedToPricingPlanCommand = async (input, context) => {
538
526
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
539
527
  const headers = {
540
528
  "content-type": "application/json",
@@ -558,7 +546,7 @@ export const serializeAws_restJson1ListPricingRulesAssociatedToPricingPlanComman
558
546
  body,
559
547
  });
560
548
  };
561
- export const serializeAws_restJson1ListResourcesAssociatedToCustomLineItemCommand = async (input, context) => {
549
+ export const se_ListResourcesAssociatedToCustomLineItemCommand = async (input, context) => {
562
550
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
563
551
  const headers = {
564
552
  "content-type": "application/json",
@@ -569,9 +557,7 @@ export const serializeAws_restJson1ListResourcesAssociatedToCustomLineItemComman
569
557
  body = JSON.stringify({
570
558
  ...(input.Arn != null && { Arn: input.Arn }),
571
559
  ...(input.BillingPeriod != null && { BillingPeriod: input.BillingPeriod }),
572
- ...(input.Filters != null && {
573
- Filters: serializeAws_restJson1ListResourcesAssociatedToCustomLineItemFilter(input.Filters, context),
574
- }),
560
+ ...(input.Filters != null && { Filters: se_ListResourcesAssociatedToCustomLineItemFilter(input.Filters, context) }),
575
561
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
576
562
  ...(input.NextToken != null && { NextToken: input.NextToken }),
577
563
  });
@@ -585,7 +571,7 @@ export const serializeAws_restJson1ListResourcesAssociatedToCustomLineItemComman
585
571
  body,
586
572
  });
587
573
  };
588
- export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
574
+ export const se_ListTagsForResourceCommand = async (input, context) => {
589
575
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
590
576
  const headers = {};
591
577
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -601,7 +587,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
601
587
  body,
602
588
  });
603
589
  };
604
- export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
590
+ export const se_TagResourceCommand = async (input, context) => {
605
591
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
606
592
  const headers = {
607
593
  "content-type": "application/json",
@@ -610,7 +596,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
610
596
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
611
597
  let body;
612
598
  body = JSON.stringify({
613
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
599
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
614
600
  });
615
601
  return new __HttpRequest({
616
602
  protocol,
@@ -622,7 +608,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
622
608
  body,
623
609
  });
624
610
  };
625
- export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
611
+ export const se_UntagResourceCommand = async (input, context) => {
626
612
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
627
613
  const headers = {};
628
614
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -645,7 +631,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
645
631
  body,
646
632
  });
647
633
  };
648
- export const serializeAws_restJson1UpdateBillingGroupCommand = async (input, context) => {
634
+ export const se_UpdateBillingGroupCommand = async (input, context) => {
649
635
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
650
636
  const headers = {
651
637
  "content-type": "application/json",
@@ -655,7 +641,7 @@ export const serializeAws_restJson1UpdateBillingGroupCommand = async (input, con
655
641
  body = JSON.stringify({
656
642
  ...(input.Arn != null && { Arn: input.Arn }),
657
643
  ...(input.ComputationPreference != null && {
658
- ComputationPreference: serializeAws_restJson1ComputationPreference(input.ComputationPreference, context),
644
+ ComputationPreference: se_ComputationPreference(input.ComputationPreference, context),
659
645
  }),
660
646
  ...(input.Description != null && { Description: input.Description }),
661
647
  ...(input.Name != null && { Name: input.Name }),
@@ -671,7 +657,7 @@ export const serializeAws_restJson1UpdateBillingGroupCommand = async (input, con
671
657
  body,
672
658
  });
673
659
  };
674
- export const serializeAws_restJson1UpdateCustomLineItemCommand = async (input, context) => {
660
+ export const se_UpdateCustomLineItemCommand = async (input, context) => {
675
661
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
676
662
  const headers = {
677
663
  "content-type": "application/json",
@@ -681,10 +667,10 @@ export const serializeAws_restJson1UpdateCustomLineItemCommand = async (input, c
681
667
  body = JSON.stringify({
682
668
  ...(input.Arn != null && { Arn: input.Arn }),
683
669
  ...(input.BillingPeriodRange != null && {
684
- BillingPeriodRange: serializeAws_restJson1CustomLineItemBillingPeriodRange(input.BillingPeriodRange, context),
670
+ BillingPeriodRange: se_CustomLineItemBillingPeriodRange(input.BillingPeriodRange, context),
685
671
  }),
686
672
  ...(input.ChargeDetails != null && {
687
- ChargeDetails: serializeAws_restJson1UpdateCustomLineItemChargeDetails(input.ChargeDetails, context),
673
+ ChargeDetails: se_UpdateCustomLineItemChargeDetails(input.ChargeDetails, context),
688
674
  }),
689
675
  ...(input.Description != null && { Description: input.Description }),
690
676
  ...(input.Name != null && { Name: input.Name }),
@@ -699,7 +685,7 @@ export const serializeAws_restJson1UpdateCustomLineItemCommand = async (input, c
699
685
  body,
700
686
  });
701
687
  };
702
- export const serializeAws_restJson1UpdatePricingPlanCommand = async (input, context) => {
688
+ export const se_UpdatePricingPlanCommand = async (input, context) => {
703
689
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
704
690
  const headers = {
705
691
  "content-type": "application/json",
@@ -721,7 +707,7 @@ export const serializeAws_restJson1UpdatePricingPlanCommand = async (input, cont
721
707
  body,
722
708
  });
723
709
  };
724
- export const serializeAws_restJson1UpdatePricingRuleCommand = async (input, context) => {
710
+ export const se_UpdatePricingRuleCommand = async (input, context) => {
725
711
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
726
712
  const headers = {
727
713
  "content-type": "application/json",
@@ -733,7 +719,7 @@ export const serializeAws_restJson1UpdatePricingRuleCommand = async (input, cont
733
719
  ...(input.Description != null && { Description: input.Description }),
734
720
  ...(input.ModifierPercentage != null && { ModifierPercentage: __serializeFloat(input.ModifierPercentage) }),
735
721
  ...(input.Name != null && { Name: input.Name }),
736
- ...(input.Tiering != null && { Tiering: serializeAws_restJson1UpdateTieringInput(input.Tiering, context) }),
722
+ ...(input.Tiering != null && { Tiering: se_UpdateTieringInput(input.Tiering, context) }),
737
723
  ...(input.Type != null && { Type: input.Type }),
738
724
  });
739
725
  return new __HttpRequest({
@@ -746,9 +732,9 @@ export const serializeAws_restJson1UpdatePricingRuleCommand = async (input, cont
746
732
  body,
747
733
  });
748
734
  };
749
- export const deserializeAws_restJson1AssociateAccountsCommand = async (output, context) => {
735
+ export const de_AssociateAccountsCommand = async (output, context) => {
750
736
  if (output.statusCode !== 200 && output.statusCode >= 300) {
751
- return deserializeAws_restJson1AssociateAccountsCommandError(output, context);
737
+ return de_AssociateAccountsCommandError(output, context);
752
738
  }
753
739
  const contents = map({
754
740
  $metadata: deserializeMetadata(output),
@@ -759,7 +745,7 @@ export const deserializeAws_restJson1AssociateAccountsCommand = async (output, c
759
745
  }
760
746
  return contents;
761
747
  };
762
- const deserializeAws_restJson1AssociateAccountsCommandError = async (output, context) => {
748
+ const de_AssociateAccountsCommandError = async (output, context) => {
763
749
  const parsedOutput = {
764
750
  ...output,
765
751
  body: await parseErrorBody(output.body, context),
@@ -768,25 +754,25 @@ const deserializeAws_restJson1AssociateAccountsCommandError = async (output, con
768
754
  switch (errorCode) {
769
755
  case "AccessDeniedException":
770
756
  case "com.amazonaws.billingconductor#AccessDeniedException":
771
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
757
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
772
758
  case "ConflictException":
773
759
  case "com.amazonaws.billingconductor#ConflictException":
774
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
760
+ throw await de_ConflictExceptionRes(parsedOutput, context);
775
761
  case "InternalServerException":
776
762
  case "com.amazonaws.billingconductor#InternalServerException":
777
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
763
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
778
764
  case "ResourceNotFoundException":
779
765
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
780
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
766
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
781
767
  case "ServiceLimitExceededException":
782
768
  case "com.amazonaws.billingconductor#ServiceLimitExceededException":
783
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
769
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
784
770
  case "ThrottlingException":
785
771
  case "com.amazonaws.billingconductor#ThrottlingException":
786
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
772
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
787
773
  case "ValidationException":
788
774
  case "com.amazonaws.billingconductor#ValidationException":
789
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
775
+ throw await de_ValidationExceptionRes(parsedOutput, context);
790
776
  default:
791
777
  const parsedBody = parsedOutput.body;
792
778
  throwDefaultError({
@@ -797,9 +783,9 @@ const deserializeAws_restJson1AssociateAccountsCommandError = async (output, con
797
783
  });
798
784
  }
799
785
  };
800
- export const deserializeAws_restJson1AssociatePricingRulesCommand = async (output, context) => {
786
+ export const de_AssociatePricingRulesCommand = async (output, context) => {
801
787
  if (output.statusCode !== 200 && output.statusCode >= 300) {
802
- return deserializeAws_restJson1AssociatePricingRulesCommandError(output, context);
788
+ return de_AssociatePricingRulesCommandError(output, context);
803
789
  }
804
790
  const contents = map({
805
791
  $metadata: deserializeMetadata(output),
@@ -810,7 +796,7 @@ export const deserializeAws_restJson1AssociatePricingRulesCommand = async (outpu
810
796
  }
811
797
  return contents;
812
798
  };
813
- const deserializeAws_restJson1AssociatePricingRulesCommandError = async (output, context) => {
799
+ const de_AssociatePricingRulesCommandError = async (output, context) => {
814
800
  const parsedOutput = {
815
801
  ...output,
816
802
  body: await parseErrorBody(output.body, context),
@@ -819,25 +805,25 @@ const deserializeAws_restJson1AssociatePricingRulesCommandError = async (output,
819
805
  switch (errorCode) {
820
806
  case "AccessDeniedException":
821
807
  case "com.amazonaws.billingconductor#AccessDeniedException":
822
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
808
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
823
809
  case "ConflictException":
824
810
  case "com.amazonaws.billingconductor#ConflictException":
825
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
811
+ throw await de_ConflictExceptionRes(parsedOutput, context);
826
812
  case "InternalServerException":
827
813
  case "com.amazonaws.billingconductor#InternalServerException":
828
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
814
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
829
815
  case "ResourceNotFoundException":
830
816
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
831
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
817
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
832
818
  case "ServiceLimitExceededException":
833
819
  case "com.amazonaws.billingconductor#ServiceLimitExceededException":
834
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
820
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
835
821
  case "ThrottlingException":
836
822
  case "com.amazonaws.billingconductor#ThrottlingException":
837
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
823
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
838
824
  case "ValidationException":
839
825
  case "com.amazonaws.billingconductor#ValidationException":
840
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
826
+ throw await de_ValidationExceptionRes(parsedOutput, context);
841
827
  default:
842
828
  const parsedBody = parsedOutput.body;
843
829
  throwDefaultError({
@@ -848,23 +834,23 @@ const deserializeAws_restJson1AssociatePricingRulesCommandError = async (output,
848
834
  });
849
835
  }
850
836
  };
851
- export const deserializeAws_restJson1BatchAssociateResourcesToCustomLineItemCommand = async (output, context) => {
837
+ export const de_BatchAssociateResourcesToCustomLineItemCommand = async (output, context) => {
852
838
  if (output.statusCode !== 200 && output.statusCode >= 300) {
853
- return deserializeAws_restJson1BatchAssociateResourcesToCustomLineItemCommandError(output, context);
839
+ return de_BatchAssociateResourcesToCustomLineItemCommandError(output, context);
854
840
  }
855
841
  const contents = map({
856
842
  $metadata: deserializeMetadata(output),
857
843
  });
858
844
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
859
845
  if (data.FailedAssociatedResources != null) {
860
- contents.FailedAssociatedResources = deserializeAws_restJson1AssociateResourcesResponseList(data.FailedAssociatedResources, context);
846
+ contents.FailedAssociatedResources = de_AssociateResourcesResponseList(data.FailedAssociatedResources, context);
861
847
  }
862
848
  if (data.SuccessfullyAssociatedResources != null) {
863
- contents.SuccessfullyAssociatedResources = deserializeAws_restJson1AssociateResourcesResponseList(data.SuccessfullyAssociatedResources, context);
849
+ contents.SuccessfullyAssociatedResources = de_AssociateResourcesResponseList(data.SuccessfullyAssociatedResources, context);
864
850
  }
865
851
  return contents;
866
852
  };
867
- const deserializeAws_restJson1BatchAssociateResourcesToCustomLineItemCommandError = async (output, context) => {
853
+ const de_BatchAssociateResourcesToCustomLineItemCommandError = async (output, context) => {
868
854
  const parsedOutput = {
869
855
  ...output,
870
856
  body: await parseErrorBody(output.body, context),
@@ -873,25 +859,25 @@ const deserializeAws_restJson1BatchAssociateResourcesToCustomLineItemCommandErro
873
859
  switch (errorCode) {
874
860
  case "AccessDeniedException":
875
861
  case "com.amazonaws.billingconductor#AccessDeniedException":
876
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
862
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
877
863
  case "ConflictException":
878
864
  case "com.amazonaws.billingconductor#ConflictException":
879
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
865
+ throw await de_ConflictExceptionRes(parsedOutput, context);
880
866
  case "InternalServerException":
881
867
  case "com.amazonaws.billingconductor#InternalServerException":
882
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
868
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
883
869
  case "ResourceNotFoundException":
884
870
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
885
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
871
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
886
872
  case "ServiceLimitExceededException":
887
873
  case "com.amazonaws.billingconductor#ServiceLimitExceededException":
888
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
874
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
889
875
  case "ThrottlingException":
890
876
  case "com.amazonaws.billingconductor#ThrottlingException":
891
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
877
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
892
878
  case "ValidationException":
893
879
  case "com.amazonaws.billingconductor#ValidationException":
894
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
880
+ throw await de_ValidationExceptionRes(parsedOutput, context);
895
881
  default:
896
882
  const parsedBody = parsedOutput.body;
897
883
  throwDefaultError({
@@ -902,23 +888,23 @@ const deserializeAws_restJson1BatchAssociateResourcesToCustomLineItemCommandErro
902
888
  });
903
889
  }
904
890
  };
905
- export const deserializeAws_restJson1BatchDisassociateResourcesFromCustomLineItemCommand = async (output, context) => {
891
+ export const de_BatchDisassociateResourcesFromCustomLineItemCommand = async (output, context) => {
906
892
  if (output.statusCode !== 200 && output.statusCode >= 300) {
907
- return deserializeAws_restJson1BatchDisassociateResourcesFromCustomLineItemCommandError(output, context);
893
+ return de_BatchDisassociateResourcesFromCustomLineItemCommandError(output, context);
908
894
  }
909
895
  const contents = map({
910
896
  $metadata: deserializeMetadata(output),
911
897
  });
912
898
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
913
899
  if (data.FailedDisassociatedResources != null) {
914
- contents.FailedDisassociatedResources = deserializeAws_restJson1DisassociateResourcesResponseList(data.FailedDisassociatedResources, context);
900
+ contents.FailedDisassociatedResources = de_DisassociateResourcesResponseList(data.FailedDisassociatedResources, context);
915
901
  }
916
902
  if (data.SuccessfullyDisassociatedResources != null) {
917
- contents.SuccessfullyDisassociatedResources = deserializeAws_restJson1DisassociateResourcesResponseList(data.SuccessfullyDisassociatedResources, context);
903
+ contents.SuccessfullyDisassociatedResources = de_DisassociateResourcesResponseList(data.SuccessfullyDisassociatedResources, context);
918
904
  }
919
905
  return contents;
920
906
  };
921
- const deserializeAws_restJson1BatchDisassociateResourcesFromCustomLineItemCommandError = async (output, context) => {
907
+ const de_BatchDisassociateResourcesFromCustomLineItemCommandError = async (output, context) => {
922
908
  const parsedOutput = {
923
909
  ...output,
924
910
  body: await parseErrorBody(output.body, context),
@@ -927,22 +913,22 @@ const deserializeAws_restJson1BatchDisassociateResourcesFromCustomLineItemComman
927
913
  switch (errorCode) {
928
914
  case "AccessDeniedException":
929
915
  case "com.amazonaws.billingconductor#AccessDeniedException":
930
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
916
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
931
917
  case "ConflictException":
932
918
  case "com.amazonaws.billingconductor#ConflictException":
933
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
919
+ throw await de_ConflictExceptionRes(parsedOutput, context);
934
920
  case "InternalServerException":
935
921
  case "com.amazonaws.billingconductor#InternalServerException":
936
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
922
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
937
923
  case "ResourceNotFoundException":
938
924
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
939
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
925
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
940
926
  case "ThrottlingException":
941
927
  case "com.amazonaws.billingconductor#ThrottlingException":
942
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
928
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
943
929
  case "ValidationException":
944
930
  case "com.amazonaws.billingconductor#ValidationException":
945
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
931
+ throw await de_ValidationExceptionRes(parsedOutput, context);
946
932
  default:
947
933
  const parsedBody = parsedOutput.body;
948
934
  throwDefaultError({
@@ -953,9 +939,9 @@ const deserializeAws_restJson1BatchDisassociateResourcesFromCustomLineItemComman
953
939
  });
954
940
  }
955
941
  };
956
- export const deserializeAws_restJson1CreateBillingGroupCommand = async (output, context) => {
942
+ export const de_CreateBillingGroupCommand = async (output, context) => {
957
943
  if (output.statusCode !== 200 && output.statusCode >= 300) {
958
- return deserializeAws_restJson1CreateBillingGroupCommandError(output, context);
944
+ return de_CreateBillingGroupCommandError(output, context);
959
945
  }
960
946
  const contents = map({
961
947
  $metadata: deserializeMetadata(output),
@@ -966,7 +952,7 @@ export const deserializeAws_restJson1CreateBillingGroupCommand = async (output,
966
952
  }
967
953
  return contents;
968
954
  };
969
- const deserializeAws_restJson1CreateBillingGroupCommandError = async (output, context) => {
955
+ const de_CreateBillingGroupCommandError = async (output, context) => {
970
956
  const parsedOutput = {
971
957
  ...output,
972
958
  body: await parseErrorBody(output.body, context),
@@ -975,22 +961,22 @@ const deserializeAws_restJson1CreateBillingGroupCommandError = async (output, co
975
961
  switch (errorCode) {
976
962
  case "AccessDeniedException":
977
963
  case "com.amazonaws.billingconductor#AccessDeniedException":
978
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
964
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
979
965
  case "ConflictException":
980
966
  case "com.amazonaws.billingconductor#ConflictException":
981
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
967
+ throw await de_ConflictExceptionRes(parsedOutput, context);
982
968
  case "InternalServerException":
983
969
  case "com.amazonaws.billingconductor#InternalServerException":
984
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
970
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
985
971
  case "ServiceLimitExceededException":
986
972
  case "com.amazonaws.billingconductor#ServiceLimitExceededException":
987
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
973
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
988
974
  case "ThrottlingException":
989
975
  case "com.amazonaws.billingconductor#ThrottlingException":
990
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
976
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
991
977
  case "ValidationException":
992
978
  case "com.amazonaws.billingconductor#ValidationException":
993
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
979
+ throw await de_ValidationExceptionRes(parsedOutput, context);
994
980
  default:
995
981
  const parsedBody = parsedOutput.body;
996
982
  throwDefaultError({
@@ -1001,9 +987,9 @@ const deserializeAws_restJson1CreateBillingGroupCommandError = async (output, co
1001
987
  });
1002
988
  }
1003
989
  };
1004
- export const deserializeAws_restJson1CreateCustomLineItemCommand = async (output, context) => {
990
+ export const de_CreateCustomLineItemCommand = async (output, context) => {
1005
991
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1006
- return deserializeAws_restJson1CreateCustomLineItemCommandError(output, context);
992
+ return de_CreateCustomLineItemCommandError(output, context);
1007
993
  }
1008
994
  const contents = map({
1009
995
  $metadata: deserializeMetadata(output),
@@ -1014,7 +1000,7 @@ export const deserializeAws_restJson1CreateCustomLineItemCommand = async (output
1014
1000
  }
1015
1001
  return contents;
1016
1002
  };
1017
- const deserializeAws_restJson1CreateCustomLineItemCommandError = async (output, context) => {
1003
+ const de_CreateCustomLineItemCommandError = async (output, context) => {
1018
1004
  const parsedOutput = {
1019
1005
  ...output,
1020
1006
  body: await parseErrorBody(output.body, context),
@@ -1023,22 +1009,22 @@ const deserializeAws_restJson1CreateCustomLineItemCommandError = async (output,
1023
1009
  switch (errorCode) {
1024
1010
  case "AccessDeniedException":
1025
1011
  case "com.amazonaws.billingconductor#AccessDeniedException":
1026
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1012
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1027
1013
  case "ConflictException":
1028
1014
  case "com.amazonaws.billingconductor#ConflictException":
1029
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1015
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1030
1016
  case "InternalServerException":
1031
1017
  case "com.amazonaws.billingconductor#InternalServerException":
1032
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1018
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1033
1019
  case "ServiceLimitExceededException":
1034
1020
  case "com.amazonaws.billingconductor#ServiceLimitExceededException":
1035
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
1021
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
1036
1022
  case "ThrottlingException":
1037
1023
  case "com.amazonaws.billingconductor#ThrottlingException":
1038
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1024
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1039
1025
  case "ValidationException":
1040
1026
  case "com.amazonaws.billingconductor#ValidationException":
1041
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1027
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1042
1028
  default:
1043
1029
  const parsedBody = parsedOutput.body;
1044
1030
  throwDefaultError({
@@ -1049,9 +1035,9 @@ const deserializeAws_restJson1CreateCustomLineItemCommandError = async (output,
1049
1035
  });
1050
1036
  }
1051
1037
  };
1052
- export const deserializeAws_restJson1CreatePricingPlanCommand = async (output, context) => {
1038
+ export const de_CreatePricingPlanCommand = async (output, context) => {
1053
1039
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1054
- return deserializeAws_restJson1CreatePricingPlanCommandError(output, context);
1040
+ return de_CreatePricingPlanCommandError(output, context);
1055
1041
  }
1056
1042
  const contents = map({
1057
1043
  $metadata: deserializeMetadata(output),
@@ -1062,7 +1048,7 @@ export const deserializeAws_restJson1CreatePricingPlanCommand = async (output, c
1062
1048
  }
1063
1049
  return contents;
1064
1050
  };
1065
- const deserializeAws_restJson1CreatePricingPlanCommandError = async (output, context) => {
1051
+ const de_CreatePricingPlanCommandError = async (output, context) => {
1066
1052
  const parsedOutput = {
1067
1053
  ...output,
1068
1054
  body: await parseErrorBody(output.body, context),
@@ -1071,25 +1057,25 @@ const deserializeAws_restJson1CreatePricingPlanCommandError = async (output, con
1071
1057
  switch (errorCode) {
1072
1058
  case "AccessDeniedException":
1073
1059
  case "com.amazonaws.billingconductor#AccessDeniedException":
1074
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1060
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1075
1061
  case "ConflictException":
1076
1062
  case "com.amazonaws.billingconductor#ConflictException":
1077
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1063
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1078
1064
  case "InternalServerException":
1079
1065
  case "com.amazonaws.billingconductor#InternalServerException":
1080
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1066
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1081
1067
  case "ResourceNotFoundException":
1082
1068
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1083
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1069
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1084
1070
  case "ServiceLimitExceededException":
1085
1071
  case "com.amazonaws.billingconductor#ServiceLimitExceededException":
1086
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
1072
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
1087
1073
  case "ThrottlingException":
1088
1074
  case "com.amazonaws.billingconductor#ThrottlingException":
1089
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1075
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1090
1076
  case "ValidationException":
1091
1077
  case "com.amazonaws.billingconductor#ValidationException":
1092
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1078
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1093
1079
  default:
1094
1080
  const parsedBody = parsedOutput.body;
1095
1081
  throwDefaultError({
@@ -1100,9 +1086,9 @@ const deserializeAws_restJson1CreatePricingPlanCommandError = async (output, con
1100
1086
  });
1101
1087
  }
1102
1088
  };
1103
- export const deserializeAws_restJson1CreatePricingRuleCommand = async (output, context) => {
1089
+ export const de_CreatePricingRuleCommand = async (output, context) => {
1104
1090
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1105
- return deserializeAws_restJson1CreatePricingRuleCommandError(output, context);
1091
+ return de_CreatePricingRuleCommandError(output, context);
1106
1092
  }
1107
1093
  const contents = map({
1108
1094
  $metadata: deserializeMetadata(output),
@@ -1113,7 +1099,7 @@ export const deserializeAws_restJson1CreatePricingRuleCommand = async (output, c
1113
1099
  }
1114
1100
  return contents;
1115
1101
  };
1116
- const deserializeAws_restJson1CreatePricingRuleCommandError = async (output, context) => {
1102
+ const de_CreatePricingRuleCommandError = async (output, context) => {
1117
1103
  const parsedOutput = {
1118
1104
  ...output,
1119
1105
  body: await parseErrorBody(output.body, context),
@@ -1122,22 +1108,22 @@ const deserializeAws_restJson1CreatePricingRuleCommandError = async (output, con
1122
1108
  switch (errorCode) {
1123
1109
  case "AccessDeniedException":
1124
1110
  case "com.amazonaws.billingconductor#AccessDeniedException":
1125
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1111
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1126
1112
  case "ConflictException":
1127
1113
  case "com.amazonaws.billingconductor#ConflictException":
1128
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1114
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1129
1115
  case "InternalServerException":
1130
1116
  case "com.amazonaws.billingconductor#InternalServerException":
1131
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1117
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1132
1118
  case "ServiceLimitExceededException":
1133
1119
  case "com.amazonaws.billingconductor#ServiceLimitExceededException":
1134
- throw await deserializeAws_restJson1ServiceLimitExceededExceptionResponse(parsedOutput, context);
1120
+ throw await de_ServiceLimitExceededExceptionRes(parsedOutput, context);
1135
1121
  case "ThrottlingException":
1136
1122
  case "com.amazonaws.billingconductor#ThrottlingException":
1137
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1123
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1138
1124
  case "ValidationException":
1139
1125
  case "com.amazonaws.billingconductor#ValidationException":
1140
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1126
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1141
1127
  default:
1142
1128
  const parsedBody = parsedOutput.body;
1143
1129
  throwDefaultError({
@@ -1148,9 +1134,9 @@ const deserializeAws_restJson1CreatePricingRuleCommandError = async (output, con
1148
1134
  });
1149
1135
  }
1150
1136
  };
1151
- export const deserializeAws_restJson1DeleteBillingGroupCommand = async (output, context) => {
1137
+ export const de_DeleteBillingGroupCommand = async (output, context) => {
1152
1138
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1153
- return deserializeAws_restJson1DeleteBillingGroupCommandError(output, context);
1139
+ return de_DeleteBillingGroupCommandError(output, context);
1154
1140
  }
1155
1141
  const contents = map({
1156
1142
  $metadata: deserializeMetadata(output),
@@ -1161,7 +1147,7 @@ export const deserializeAws_restJson1DeleteBillingGroupCommand = async (output,
1161
1147
  }
1162
1148
  return contents;
1163
1149
  };
1164
- const deserializeAws_restJson1DeleteBillingGroupCommandError = async (output, context) => {
1150
+ const de_DeleteBillingGroupCommandError = async (output, context) => {
1165
1151
  const parsedOutput = {
1166
1152
  ...output,
1167
1153
  body: await parseErrorBody(output.body, context),
@@ -1170,16 +1156,16 @@ const deserializeAws_restJson1DeleteBillingGroupCommandError = async (output, co
1170
1156
  switch (errorCode) {
1171
1157
  case "AccessDeniedException":
1172
1158
  case "com.amazonaws.billingconductor#AccessDeniedException":
1173
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1159
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1174
1160
  case "InternalServerException":
1175
1161
  case "com.amazonaws.billingconductor#InternalServerException":
1176
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1162
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1177
1163
  case "ThrottlingException":
1178
1164
  case "com.amazonaws.billingconductor#ThrottlingException":
1179
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1165
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1180
1166
  case "ValidationException":
1181
1167
  case "com.amazonaws.billingconductor#ValidationException":
1182
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1168
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1183
1169
  default:
1184
1170
  const parsedBody = parsedOutput.body;
1185
1171
  throwDefaultError({
@@ -1190,9 +1176,9 @@ const deserializeAws_restJson1DeleteBillingGroupCommandError = async (output, co
1190
1176
  });
1191
1177
  }
1192
1178
  };
1193
- export const deserializeAws_restJson1DeleteCustomLineItemCommand = async (output, context) => {
1179
+ export const de_DeleteCustomLineItemCommand = async (output, context) => {
1194
1180
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1195
- return deserializeAws_restJson1DeleteCustomLineItemCommandError(output, context);
1181
+ return de_DeleteCustomLineItemCommandError(output, context);
1196
1182
  }
1197
1183
  const contents = map({
1198
1184
  $metadata: deserializeMetadata(output),
@@ -1203,7 +1189,7 @@ export const deserializeAws_restJson1DeleteCustomLineItemCommand = async (output
1203
1189
  }
1204
1190
  return contents;
1205
1191
  };
1206
- const deserializeAws_restJson1DeleteCustomLineItemCommandError = async (output, context) => {
1192
+ const de_DeleteCustomLineItemCommandError = async (output, context) => {
1207
1193
  const parsedOutput = {
1208
1194
  ...output,
1209
1195
  body: await parseErrorBody(output.body, context),
@@ -1212,19 +1198,19 @@ const deserializeAws_restJson1DeleteCustomLineItemCommandError = async (output,
1212
1198
  switch (errorCode) {
1213
1199
  case "AccessDeniedException":
1214
1200
  case "com.amazonaws.billingconductor#AccessDeniedException":
1215
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1201
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1216
1202
  case "ConflictException":
1217
1203
  case "com.amazonaws.billingconductor#ConflictException":
1218
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1204
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1219
1205
  case "InternalServerException":
1220
1206
  case "com.amazonaws.billingconductor#InternalServerException":
1221
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1207
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1222
1208
  case "ThrottlingException":
1223
1209
  case "com.amazonaws.billingconductor#ThrottlingException":
1224
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1210
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1225
1211
  case "ValidationException":
1226
1212
  case "com.amazonaws.billingconductor#ValidationException":
1227
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1213
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1228
1214
  default:
1229
1215
  const parsedBody = parsedOutput.body;
1230
1216
  throwDefaultError({
@@ -1235,9 +1221,9 @@ const deserializeAws_restJson1DeleteCustomLineItemCommandError = async (output,
1235
1221
  });
1236
1222
  }
1237
1223
  };
1238
- export const deserializeAws_restJson1DeletePricingPlanCommand = async (output, context) => {
1224
+ export const de_DeletePricingPlanCommand = async (output, context) => {
1239
1225
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1240
- return deserializeAws_restJson1DeletePricingPlanCommandError(output, context);
1226
+ return de_DeletePricingPlanCommandError(output, context);
1241
1227
  }
1242
1228
  const contents = map({
1243
1229
  $metadata: deserializeMetadata(output),
@@ -1248,7 +1234,7 @@ export const deserializeAws_restJson1DeletePricingPlanCommand = async (output, c
1248
1234
  }
1249
1235
  return contents;
1250
1236
  };
1251
- const deserializeAws_restJson1DeletePricingPlanCommandError = async (output, context) => {
1237
+ const de_DeletePricingPlanCommandError = async (output, context) => {
1252
1238
  const parsedOutput = {
1253
1239
  ...output,
1254
1240
  body: await parseErrorBody(output.body, context),
@@ -1257,19 +1243,19 @@ const deserializeAws_restJson1DeletePricingPlanCommandError = async (output, con
1257
1243
  switch (errorCode) {
1258
1244
  case "AccessDeniedException":
1259
1245
  case "com.amazonaws.billingconductor#AccessDeniedException":
1260
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1246
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1261
1247
  case "ConflictException":
1262
1248
  case "com.amazonaws.billingconductor#ConflictException":
1263
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1249
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1264
1250
  case "InternalServerException":
1265
1251
  case "com.amazonaws.billingconductor#InternalServerException":
1266
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1252
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1267
1253
  case "ThrottlingException":
1268
1254
  case "com.amazonaws.billingconductor#ThrottlingException":
1269
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1255
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1270
1256
  case "ValidationException":
1271
1257
  case "com.amazonaws.billingconductor#ValidationException":
1272
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1258
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1273
1259
  default:
1274
1260
  const parsedBody = parsedOutput.body;
1275
1261
  throwDefaultError({
@@ -1280,9 +1266,9 @@ const deserializeAws_restJson1DeletePricingPlanCommandError = async (output, con
1280
1266
  });
1281
1267
  }
1282
1268
  };
1283
- export const deserializeAws_restJson1DeletePricingRuleCommand = async (output, context) => {
1269
+ export const de_DeletePricingRuleCommand = async (output, context) => {
1284
1270
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1285
- return deserializeAws_restJson1DeletePricingRuleCommandError(output, context);
1271
+ return de_DeletePricingRuleCommandError(output, context);
1286
1272
  }
1287
1273
  const contents = map({
1288
1274
  $metadata: deserializeMetadata(output),
@@ -1293,7 +1279,7 @@ export const deserializeAws_restJson1DeletePricingRuleCommand = async (output, c
1293
1279
  }
1294
1280
  return contents;
1295
1281
  };
1296
- const deserializeAws_restJson1DeletePricingRuleCommandError = async (output, context) => {
1282
+ const de_DeletePricingRuleCommandError = async (output, context) => {
1297
1283
  const parsedOutput = {
1298
1284
  ...output,
1299
1285
  body: await parseErrorBody(output.body, context),
@@ -1302,19 +1288,19 @@ const deserializeAws_restJson1DeletePricingRuleCommandError = async (output, con
1302
1288
  switch (errorCode) {
1303
1289
  case "AccessDeniedException":
1304
1290
  case "com.amazonaws.billingconductor#AccessDeniedException":
1305
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1291
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1306
1292
  case "ConflictException":
1307
1293
  case "com.amazonaws.billingconductor#ConflictException":
1308
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1294
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1309
1295
  case "InternalServerException":
1310
1296
  case "com.amazonaws.billingconductor#InternalServerException":
1311
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1297
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1312
1298
  case "ThrottlingException":
1313
1299
  case "com.amazonaws.billingconductor#ThrottlingException":
1314
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1300
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1315
1301
  case "ValidationException":
1316
1302
  case "com.amazonaws.billingconductor#ValidationException":
1317
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1303
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1318
1304
  default:
1319
1305
  const parsedBody = parsedOutput.body;
1320
1306
  throwDefaultError({
@@ -1325,9 +1311,9 @@ const deserializeAws_restJson1DeletePricingRuleCommandError = async (output, con
1325
1311
  });
1326
1312
  }
1327
1313
  };
1328
- export const deserializeAws_restJson1DisassociateAccountsCommand = async (output, context) => {
1314
+ export const de_DisassociateAccountsCommand = async (output, context) => {
1329
1315
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1330
- return deserializeAws_restJson1DisassociateAccountsCommandError(output, context);
1316
+ return de_DisassociateAccountsCommandError(output, context);
1331
1317
  }
1332
1318
  const contents = map({
1333
1319
  $metadata: deserializeMetadata(output),
@@ -1338,7 +1324,7 @@ export const deserializeAws_restJson1DisassociateAccountsCommand = async (output
1338
1324
  }
1339
1325
  return contents;
1340
1326
  };
1341
- const deserializeAws_restJson1DisassociateAccountsCommandError = async (output, context) => {
1327
+ const de_DisassociateAccountsCommandError = async (output, context) => {
1342
1328
  const parsedOutput = {
1343
1329
  ...output,
1344
1330
  body: await parseErrorBody(output.body, context),
@@ -1347,22 +1333,22 @@ const deserializeAws_restJson1DisassociateAccountsCommandError = async (output,
1347
1333
  switch (errorCode) {
1348
1334
  case "AccessDeniedException":
1349
1335
  case "com.amazonaws.billingconductor#AccessDeniedException":
1350
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1336
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1351
1337
  case "ConflictException":
1352
1338
  case "com.amazonaws.billingconductor#ConflictException":
1353
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1339
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1354
1340
  case "InternalServerException":
1355
1341
  case "com.amazonaws.billingconductor#InternalServerException":
1356
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1342
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1357
1343
  case "ResourceNotFoundException":
1358
1344
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1359
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1345
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1360
1346
  case "ThrottlingException":
1361
1347
  case "com.amazonaws.billingconductor#ThrottlingException":
1362
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1348
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1363
1349
  case "ValidationException":
1364
1350
  case "com.amazonaws.billingconductor#ValidationException":
1365
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1351
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1366
1352
  default:
1367
1353
  const parsedBody = parsedOutput.body;
1368
1354
  throwDefaultError({
@@ -1373,9 +1359,9 @@ const deserializeAws_restJson1DisassociateAccountsCommandError = async (output,
1373
1359
  });
1374
1360
  }
1375
1361
  };
1376
- export const deserializeAws_restJson1DisassociatePricingRulesCommand = async (output, context) => {
1362
+ export const de_DisassociatePricingRulesCommand = async (output, context) => {
1377
1363
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1378
- return deserializeAws_restJson1DisassociatePricingRulesCommandError(output, context);
1364
+ return de_DisassociatePricingRulesCommandError(output, context);
1379
1365
  }
1380
1366
  const contents = map({
1381
1367
  $metadata: deserializeMetadata(output),
@@ -1386,7 +1372,7 @@ export const deserializeAws_restJson1DisassociatePricingRulesCommand = async (ou
1386
1372
  }
1387
1373
  return contents;
1388
1374
  };
1389
- const deserializeAws_restJson1DisassociatePricingRulesCommandError = async (output, context) => {
1375
+ const de_DisassociatePricingRulesCommandError = async (output, context) => {
1390
1376
  const parsedOutput = {
1391
1377
  ...output,
1392
1378
  body: await parseErrorBody(output.body, context),
@@ -1395,22 +1381,22 @@ const deserializeAws_restJson1DisassociatePricingRulesCommandError = async (outp
1395
1381
  switch (errorCode) {
1396
1382
  case "AccessDeniedException":
1397
1383
  case "com.amazonaws.billingconductor#AccessDeniedException":
1398
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1384
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1399
1385
  case "ConflictException":
1400
1386
  case "com.amazonaws.billingconductor#ConflictException":
1401
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1387
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1402
1388
  case "InternalServerException":
1403
1389
  case "com.amazonaws.billingconductor#InternalServerException":
1404
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1390
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1405
1391
  case "ResourceNotFoundException":
1406
1392
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1407
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1393
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1408
1394
  case "ThrottlingException":
1409
1395
  case "com.amazonaws.billingconductor#ThrottlingException":
1410
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1396
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1411
1397
  case "ValidationException":
1412
1398
  case "com.amazonaws.billingconductor#ValidationException":
1413
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1399
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1414
1400
  default:
1415
1401
  const parsedBody = parsedOutput.body;
1416
1402
  throwDefaultError({
@@ -1421,23 +1407,23 @@ const deserializeAws_restJson1DisassociatePricingRulesCommandError = async (outp
1421
1407
  });
1422
1408
  }
1423
1409
  };
1424
- export const deserializeAws_restJson1ListAccountAssociationsCommand = async (output, context) => {
1410
+ export const de_ListAccountAssociationsCommand = async (output, context) => {
1425
1411
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1426
- return deserializeAws_restJson1ListAccountAssociationsCommandError(output, context);
1412
+ return de_ListAccountAssociationsCommandError(output, context);
1427
1413
  }
1428
1414
  const contents = map({
1429
1415
  $metadata: deserializeMetadata(output),
1430
1416
  });
1431
1417
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1432
1418
  if (data.LinkedAccounts != null) {
1433
- contents.LinkedAccounts = deserializeAws_restJson1AccountAssociationsList(data.LinkedAccounts, context);
1419
+ contents.LinkedAccounts = de_AccountAssociationsList(data.LinkedAccounts, context);
1434
1420
  }
1435
1421
  if (data.NextToken != null) {
1436
1422
  contents.NextToken = __expectString(data.NextToken);
1437
1423
  }
1438
1424
  return contents;
1439
1425
  };
1440
- const deserializeAws_restJson1ListAccountAssociationsCommandError = async (output, context) => {
1426
+ const de_ListAccountAssociationsCommandError = async (output, context) => {
1441
1427
  const parsedOutput = {
1442
1428
  ...output,
1443
1429
  body: await parseErrorBody(output.body, context),
@@ -1446,19 +1432,19 @@ const deserializeAws_restJson1ListAccountAssociationsCommandError = async (outpu
1446
1432
  switch (errorCode) {
1447
1433
  case "AccessDeniedException":
1448
1434
  case "com.amazonaws.billingconductor#AccessDeniedException":
1449
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1435
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1450
1436
  case "InternalServerException":
1451
1437
  case "com.amazonaws.billingconductor#InternalServerException":
1452
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1438
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1453
1439
  case "ResourceNotFoundException":
1454
1440
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1455
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1441
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1456
1442
  case "ThrottlingException":
1457
1443
  case "com.amazonaws.billingconductor#ThrottlingException":
1458
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1444
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1459
1445
  case "ValidationException":
1460
1446
  case "com.amazonaws.billingconductor#ValidationException":
1461
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1447
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1462
1448
  default:
1463
1449
  const parsedBody = parsedOutput.body;
1464
1450
  throwDefaultError({
@@ -1469,23 +1455,23 @@ const deserializeAws_restJson1ListAccountAssociationsCommandError = async (outpu
1469
1455
  });
1470
1456
  }
1471
1457
  };
1472
- export const deserializeAws_restJson1ListBillingGroupCostReportsCommand = async (output, context) => {
1458
+ export const de_ListBillingGroupCostReportsCommand = async (output, context) => {
1473
1459
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1474
- return deserializeAws_restJson1ListBillingGroupCostReportsCommandError(output, context);
1460
+ return de_ListBillingGroupCostReportsCommandError(output, context);
1475
1461
  }
1476
1462
  const contents = map({
1477
1463
  $metadata: deserializeMetadata(output),
1478
1464
  });
1479
1465
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1480
1466
  if (data.BillingGroupCostReports != null) {
1481
- contents.BillingGroupCostReports = deserializeAws_restJson1BillingGroupCostReportList(data.BillingGroupCostReports, context);
1467
+ contents.BillingGroupCostReports = de_BillingGroupCostReportList(data.BillingGroupCostReports, context);
1482
1468
  }
1483
1469
  if (data.NextToken != null) {
1484
1470
  contents.NextToken = __expectString(data.NextToken);
1485
1471
  }
1486
1472
  return contents;
1487
1473
  };
1488
- const deserializeAws_restJson1ListBillingGroupCostReportsCommandError = async (output, context) => {
1474
+ const de_ListBillingGroupCostReportsCommandError = async (output, context) => {
1489
1475
  const parsedOutput = {
1490
1476
  ...output,
1491
1477
  body: await parseErrorBody(output.body, context),
@@ -1494,19 +1480,19 @@ const deserializeAws_restJson1ListBillingGroupCostReportsCommandError = async (o
1494
1480
  switch (errorCode) {
1495
1481
  case "AccessDeniedException":
1496
1482
  case "com.amazonaws.billingconductor#AccessDeniedException":
1497
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1483
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1498
1484
  case "InternalServerException":
1499
1485
  case "com.amazonaws.billingconductor#InternalServerException":
1500
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1486
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1501
1487
  case "ResourceNotFoundException":
1502
1488
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1503
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1489
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1504
1490
  case "ThrottlingException":
1505
1491
  case "com.amazonaws.billingconductor#ThrottlingException":
1506
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1492
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1507
1493
  case "ValidationException":
1508
1494
  case "com.amazonaws.billingconductor#ValidationException":
1509
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1495
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1510
1496
  default:
1511
1497
  const parsedBody = parsedOutput.body;
1512
1498
  throwDefaultError({
@@ -1517,23 +1503,23 @@ const deserializeAws_restJson1ListBillingGroupCostReportsCommandError = async (o
1517
1503
  });
1518
1504
  }
1519
1505
  };
1520
- export const deserializeAws_restJson1ListBillingGroupsCommand = async (output, context) => {
1506
+ export const de_ListBillingGroupsCommand = async (output, context) => {
1521
1507
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1522
- return deserializeAws_restJson1ListBillingGroupsCommandError(output, context);
1508
+ return de_ListBillingGroupsCommandError(output, context);
1523
1509
  }
1524
1510
  const contents = map({
1525
1511
  $metadata: deserializeMetadata(output),
1526
1512
  });
1527
1513
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1528
1514
  if (data.BillingGroups != null) {
1529
- contents.BillingGroups = deserializeAws_restJson1BillingGroupList(data.BillingGroups, context);
1515
+ contents.BillingGroups = de_BillingGroupList(data.BillingGroups, context);
1530
1516
  }
1531
1517
  if (data.NextToken != null) {
1532
1518
  contents.NextToken = __expectString(data.NextToken);
1533
1519
  }
1534
1520
  return contents;
1535
1521
  };
1536
- const deserializeAws_restJson1ListBillingGroupsCommandError = async (output, context) => {
1522
+ const de_ListBillingGroupsCommandError = async (output, context) => {
1537
1523
  const parsedOutput = {
1538
1524
  ...output,
1539
1525
  body: await parseErrorBody(output.body, context),
@@ -1542,19 +1528,19 @@ const deserializeAws_restJson1ListBillingGroupsCommandError = async (output, con
1542
1528
  switch (errorCode) {
1543
1529
  case "AccessDeniedException":
1544
1530
  case "com.amazonaws.billingconductor#AccessDeniedException":
1545
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1531
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1546
1532
  case "InternalServerException":
1547
1533
  case "com.amazonaws.billingconductor#InternalServerException":
1548
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1534
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1549
1535
  case "ResourceNotFoundException":
1550
1536
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1551
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1537
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1552
1538
  case "ThrottlingException":
1553
1539
  case "com.amazonaws.billingconductor#ThrottlingException":
1554
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1540
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1555
1541
  case "ValidationException":
1556
1542
  case "com.amazonaws.billingconductor#ValidationException":
1557
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1543
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1558
1544
  default:
1559
1545
  const parsedBody = parsedOutput.body;
1560
1546
  throwDefaultError({
@@ -1565,23 +1551,23 @@ const deserializeAws_restJson1ListBillingGroupsCommandError = async (output, con
1565
1551
  });
1566
1552
  }
1567
1553
  };
1568
- export const deserializeAws_restJson1ListCustomLineItemsCommand = async (output, context) => {
1554
+ export const de_ListCustomLineItemsCommand = async (output, context) => {
1569
1555
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1570
- return deserializeAws_restJson1ListCustomLineItemsCommandError(output, context);
1556
+ return de_ListCustomLineItemsCommandError(output, context);
1571
1557
  }
1572
1558
  const contents = map({
1573
1559
  $metadata: deserializeMetadata(output),
1574
1560
  });
1575
1561
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1576
1562
  if (data.CustomLineItems != null) {
1577
- contents.CustomLineItems = deserializeAws_restJson1CustomLineItemList(data.CustomLineItems, context);
1563
+ contents.CustomLineItems = de_CustomLineItemList(data.CustomLineItems, context);
1578
1564
  }
1579
1565
  if (data.NextToken != null) {
1580
1566
  contents.NextToken = __expectString(data.NextToken);
1581
1567
  }
1582
1568
  return contents;
1583
1569
  };
1584
- const deserializeAws_restJson1ListCustomLineItemsCommandError = async (output, context) => {
1570
+ const de_ListCustomLineItemsCommandError = async (output, context) => {
1585
1571
  const parsedOutput = {
1586
1572
  ...output,
1587
1573
  body: await parseErrorBody(output.body, context),
@@ -1590,19 +1576,19 @@ const deserializeAws_restJson1ListCustomLineItemsCommandError = async (output, c
1590
1576
  switch (errorCode) {
1591
1577
  case "AccessDeniedException":
1592
1578
  case "com.amazonaws.billingconductor#AccessDeniedException":
1593
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1579
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1594
1580
  case "InternalServerException":
1595
1581
  case "com.amazonaws.billingconductor#InternalServerException":
1596
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1582
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1597
1583
  case "ResourceNotFoundException":
1598
1584
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1599
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1585
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1600
1586
  case "ThrottlingException":
1601
1587
  case "com.amazonaws.billingconductor#ThrottlingException":
1602
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1588
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1603
1589
  case "ValidationException":
1604
1590
  case "com.amazonaws.billingconductor#ValidationException":
1605
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1591
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1606
1592
  default:
1607
1593
  const parsedBody = parsedOutput.body;
1608
1594
  throwDefaultError({
@@ -1613,23 +1599,23 @@ const deserializeAws_restJson1ListCustomLineItemsCommandError = async (output, c
1613
1599
  });
1614
1600
  }
1615
1601
  };
1616
- export const deserializeAws_restJson1ListCustomLineItemVersionsCommand = async (output, context) => {
1602
+ export const de_ListCustomLineItemVersionsCommand = async (output, context) => {
1617
1603
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1618
- return deserializeAws_restJson1ListCustomLineItemVersionsCommandError(output, context);
1604
+ return de_ListCustomLineItemVersionsCommandError(output, context);
1619
1605
  }
1620
1606
  const contents = map({
1621
1607
  $metadata: deserializeMetadata(output),
1622
1608
  });
1623
1609
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1624
1610
  if (data.CustomLineItemVersions != null) {
1625
- contents.CustomLineItemVersions = deserializeAws_restJson1CustomLineItemVersionList(data.CustomLineItemVersions, context);
1611
+ contents.CustomLineItemVersions = de_CustomLineItemVersionList(data.CustomLineItemVersions, context);
1626
1612
  }
1627
1613
  if (data.NextToken != null) {
1628
1614
  contents.NextToken = __expectString(data.NextToken);
1629
1615
  }
1630
1616
  return contents;
1631
1617
  };
1632
- const deserializeAws_restJson1ListCustomLineItemVersionsCommandError = async (output, context) => {
1618
+ const de_ListCustomLineItemVersionsCommandError = async (output, context) => {
1633
1619
  const parsedOutput = {
1634
1620
  ...output,
1635
1621
  body: await parseErrorBody(output.body, context),
@@ -1638,16 +1624,16 @@ const deserializeAws_restJson1ListCustomLineItemVersionsCommandError = async (ou
1638
1624
  switch (errorCode) {
1639
1625
  case "AccessDeniedException":
1640
1626
  case "com.amazonaws.billingconductor#AccessDeniedException":
1641
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1627
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1642
1628
  case "InternalServerException":
1643
1629
  case "com.amazonaws.billingconductor#InternalServerException":
1644
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1630
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1645
1631
  case "ThrottlingException":
1646
1632
  case "com.amazonaws.billingconductor#ThrottlingException":
1647
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1633
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1648
1634
  case "ValidationException":
1649
1635
  case "com.amazonaws.billingconductor#ValidationException":
1650
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1636
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1651
1637
  default:
1652
1638
  const parsedBody = parsedOutput.body;
1653
1639
  throwDefaultError({
@@ -1658,9 +1644,9 @@ const deserializeAws_restJson1ListCustomLineItemVersionsCommandError = async (ou
1658
1644
  });
1659
1645
  }
1660
1646
  };
1661
- export const deserializeAws_restJson1ListPricingPlansCommand = async (output, context) => {
1647
+ export const de_ListPricingPlansCommand = async (output, context) => {
1662
1648
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1663
- return deserializeAws_restJson1ListPricingPlansCommandError(output, context);
1649
+ return de_ListPricingPlansCommandError(output, context);
1664
1650
  }
1665
1651
  const contents = map({
1666
1652
  $metadata: deserializeMetadata(output),
@@ -1673,11 +1659,11 @@ export const deserializeAws_restJson1ListPricingPlansCommand = async (output, co
1673
1659
  contents.NextToken = __expectString(data.NextToken);
1674
1660
  }
1675
1661
  if (data.PricingPlans != null) {
1676
- contents.PricingPlans = deserializeAws_restJson1PricingPlanList(data.PricingPlans, context);
1662
+ contents.PricingPlans = de_PricingPlanList(data.PricingPlans, context);
1677
1663
  }
1678
1664
  return contents;
1679
1665
  };
1680
- const deserializeAws_restJson1ListPricingPlansCommandError = async (output, context) => {
1666
+ const de_ListPricingPlansCommandError = async (output, context) => {
1681
1667
  const parsedOutput = {
1682
1668
  ...output,
1683
1669
  body: await parseErrorBody(output.body, context),
@@ -1686,16 +1672,16 @@ const deserializeAws_restJson1ListPricingPlansCommandError = async (output, cont
1686
1672
  switch (errorCode) {
1687
1673
  case "AccessDeniedException":
1688
1674
  case "com.amazonaws.billingconductor#AccessDeniedException":
1689
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1675
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1690
1676
  case "InternalServerException":
1691
1677
  case "com.amazonaws.billingconductor#InternalServerException":
1692
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1678
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1693
1679
  case "ThrottlingException":
1694
1680
  case "com.amazonaws.billingconductor#ThrottlingException":
1695
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1681
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1696
1682
  case "ValidationException":
1697
1683
  case "com.amazonaws.billingconductor#ValidationException":
1698
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1684
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1699
1685
  default:
1700
1686
  const parsedBody = parsedOutput.body;
1701
1687
  throwDefaultError({
@@ -1706,9 +1692,9 @@ const deserializeAws_restJson1ListPricingPlansCommandError = async (output, cont
1706
1692
  });
1707
1693
  }
1708
1694
  };
1709
- export const deserializeAws_restJson1ListPricingPlansAssociatedWithPricingRuleCommand = async (output, context) => {
1695
+ export const de_ListPricingPlansAssociatedWithPricingRuleCommand = async (output, context) => {
1710
1696
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1711
- return deserializeAws_restJson1ListPricingPlansAssociatedWithPricingRuleCommandError(output, context);
1697
+ return de_ListPricingPlansAssociatedWithPricingRuleCommandError(output, context);
1712
1698
  }
1713
1699
  const contents = map({
1714
1700
  $metadata: deserializeMetadata(output),
@@ -1721,14 +1707,14 @@ export const deserializeAws_restJson1ListPricingPlansAssociatedWithPricingRuleCo
1721
1707
  contents.NextToken = __expectString(data.NextToken);
1722
1708
  }
1723
1709
  if (data.PricingPlanArns != null) {
1724
- contents.PricingPlanArns = deserializeAws_restJson1PricingPlanArns(data.PricingPlanArns, context);
1710
+ contents.PricingPlanArns = de_PricingPlanArns(data.PricingPlanArns, context);
1725
1711
  }
1726
1712
  if (data.PricingRuleArn != null) {
1727
1713
  contents.PricingRuleArn = __expectString(data.PricingRuleArn);
1728
1714
  }
1729
1715
  return contents;
1730
1716
  };
1731
- const deserializeAws_restJson1ListPricingPlansAssociatedWithPricingRuleCommandError = async (output, context) => {
1717
+ const de_ListPricingPlansAssociatedWithPricingRuleCommandError = async (output, context) => {
1732
1718
  const parsedOutput = {
1733
1719
  ...output,
1734
1720
  body: await parseErrorBody(output.body, context),
@@ -1737,19 +1723,19 @@ const deserializeAws_restJson1ListPricingPlansAssociatedWithPricingRuleCommandEr
1737
1723
  switch (errorCode) {
1738
1724
  case "AccessDeniedException":
1739
1725
  case "com.amazonaws.billingconductor#AccessDeniedException":
1740
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1726
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1741
1727
  case "InternalServerException":
1742
1728
  case "com.amazonaws.billingconductor#InternalServerException":
1743
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1729
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1744
1730
  case "ResourceNotFoundException":
1745
1731
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1746
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1732
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1747
1733
  case "ThrottlingException":
1748
1734
  case "com.amazonaws.billingconductor#ThrottlingException":
1749
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1735
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1750
1736
  case "ValidationException":
1751
1737
  case "com.amazonaws.billingconductor#ValidationException":
1752
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1738
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1753
1739
  default:
1754
1740
  const parsedBody = parsedOutput.body;
1755
1741
  throwDefaultError({
@@ -1760,9 +1746,9 @@ const deserializeAws_restJson1ListPricingPlansAssociatedWithPricingRuleCommandEr
1760
1746
  });
1761
1747
  }
1762
1748
  };
1763
- export const deserializeAws_restJson1ListPricingRulesCommand = async (output, context) => {
1749
+ export const de_ListPricingRulesCommand = async (output, context) => {
1764
1750
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1765
- return deserializeAws_restJson1ListPricingRulesCommandError(output, context);
1751
+ return de_ListPricingRulesCommandError(output, context);
1766
1752
  }
1767
1753
  const contents = map({
1768
1754
  $metadata: deserializeMetadata(output),
@@ -1775,11 +1761,11 @@ export const deserializeAws_restJson1ListPricingRulesCommand = async (output, co
1775
1761
  contents.NextToken = __expectString(data.NextToken);
1776
1762
  }
1777
1763
  if (data.PricingRules != null) {
1778
- contents.PricingRules = deserializeAws_restJson1PricingRuleList(data.PricingRules, context);
1764
+ contents.PricingRules = de_PricingRuleList(data.PricingRules, context);
1779
1765
  }
1780
1766
  return contents;
1781
1767
  };
1782
- const deserializeAws_restJson1ListPricingRulesCommandError = async (output, context) => {
1768
+ const de_ListPricingRulesCommandError = async (output, context) => {
1783
1769
  const parsedOutput = {
1784
1770
  ...output,
1785
1771
  body: await parseErrorBody(output.body, context),
@@ -1788,16 +1774,16 @@ const deserializeAws_restJson1ListPricingRulesCommandError = async (output, cont
1788
1774
  switch (errorCode) {
1789
1775
  case "AccessDeniedException":
1790
1776
  case "com.amazonaws.billingconductor#AccessDeniedException":
1791
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1777
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1792
1778
  case "InternalServerException":
1793
1779
  case "com.amazonaws.billingconductor#InternalServerException":
1794
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1780
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1795
1781
  case "ThrottlingException":
1796
1782
  case "com.amazonaws.billingconductor#ThrottlingException":
1797
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1783
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1798
1784
  case "ValidationException":
1799
1785
  case "com.amazonaws.billingconductor#ValidationException":
1800
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1786
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1801
1787
  default:
1802
1788
  const parsedBody = parsedOutput.body;
1803
1789
  throwDefaultError({
@@ -1808,9 +1794,9 @@ const deserializeAws_restJson1ListPricingRulesCommandError = async (output, cont
1808
1794
  });
1809
1795
  }
1810
1796
  };
1811
- export const deserializeAws_restJson1ListPricingRulesAssociatedToPricingPlanCommand = async (output, context) => {
1797
+ export const de_ListPricingRulesAssociatedToPricingPlanCommand = async (output, context) => {
1812
1798
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1813
- return deserializeAws_restJson1ListPricingRulesAssociatedToPricingPlanCommandError(output, context);
1799
+ return de_ListPricingRulesAssociatedToPricingPlanCommandError(output, context);
1814
1800
  }
1815
1801
  const contents = map({
1816
1802
  $metadata: deserializeMetadata(output),
@@ -1826,11 +1812,11 @@ export const deserializeAws_restJson1ListPricingRulesAssociatedToPricingPlanComm
1826
1812
  contents.PricingPlanArn = __expectString(data.PricingPlanArn);
1827
1813
  }
1828
1814
  if (data.PricingRuleArns != null) {
1829
- contents.PricingRuleArns = deserializeAws_restJson1PricingRuleArns(data.PricingRuleArns, context);
1815
+ contents.PricingRuleArns = de_PricingRuleArns(data.PricingRuleArns, context);
1830
1816
  }
1831
1817
  return contents;
1832
1818
  };
1833
- const deserializeAws_restJson1ListPricingRulesAssociatedToPricingPlanCommandError = async (output, context) => {
1819
+ const de_ListPricingRulesAssociatedToPricingPlanCommandError = async (output, context) => {
1834
1820
  const parsedOutput = {
1835
1821
  ...output,
1836
1822
  body: await parseErrorBody(output.body, context),
@@ -1839,19 +1825,19 @@ const deserializeAws_restJson1ListPricingRulesAssociatedToPricingPlanCommandErro
1839
1825
  switch (errorCode) {
1840
1826
  case "AccessDeniedException":
1841
1827
  case "com.amazonaws.billingconductor#AccessDeniedException":
1842
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1828
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1843
1829
  case "InternalServerException":
1844
1830
  case "com.amazonaws.billingconductor#InternalServerException":
1845
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1831
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1846
1832
  case "ResourceNotFoundException":
1847
1833
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1848
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1834
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1849
1835
  case "ThrottlingException":
1850
1836
  case "com.amazonaws.billingconductor#ThrottlingException":
1851
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1837
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1852
1838
  case "ValidationException":
1853
1839
  case "com.amazonaws.billingconductor#ValidationException":
1854
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1840
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1855
1841
  default:
1856
1842
  const parsedBody = parsedOutput.body;
1857
1843
  throwDefaultError({
@@ -1862,9 +1848,9 @@ const deserializeAws_restJson1ListPricingRulesAssociatedToPricingPlanCommandErro
1862
1848
  });
1863
1849
  }
1864
1850
  };
1865
- export const deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemCommand = async (output, context) => {
1851
+ export const de_ListResourcesAssociatedToCustomLineItemCommand = async (output, context) => {
1866
1852
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1867
- return deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemCommandError(output, context);
1853
+ return de_ListResourcesAssociatedToCustomLineItemCommandError(output, context);
1868
1854
  }
1869
1855
  const contents = map({
1870
1856
  $metadata: deserializeMetadata(output),
@@ -1874,14 +1860,14 @@ export const deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemComm
1874
1860
  contents.Arn = __expectString(data.Arn);
1875
1861
  }
1876
1862
  if (data.AssociatedResources != null) {
1877
- contents.AssociatedResources = deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemResponseList(data.AssociatedResources, context);
1863
+ contents.AssociatedResources = de_ListResourcesAssociatedToCustomLineItemResponseList(data.AssociatedResources, context);
1878
1864
  }
1879
1865
  if (data.NextToken != null) {
1880
1866
  contents.NextToken = __expectString(data.NextToken);
1881
1867
  }
1882
1868
  return contents;
1883
1869
  };
1884
- const deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemCommandError = async (output, context) => {
1870
+ const de_ListResourcesAssociatedToCustomLineItemCommandError = async (output, context) => {
1885
1871
  const parsedOutput = {
1886
1872
  ...output,
1887
1873
  body: await parseErrorBody(output.body, context),
@@ -1890,19 +1876,19 @@ const deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemCommandErro
1890
1876
  switch (errorCode) {
1891
1877
  case "AccessDeniedException":
1892
1878
  case "com.amazonaws.billingconductor#AccessDeniedException":
1893
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1879
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1894
1880
  case "InternalServerException":
1895
1881
  case "com.amazonaws.billingconductor#InternalServerException":
1896
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1882
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1897
1883
  case "ResourceNotFoundException":
1898
1884
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1899
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1885
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1900
1886
  case "ThrottlingException":
1901
1887
  case "com.amazonaws.billingconductor#ThrottlingException":
1902
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1888
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1903
1889
  case "ValidationException":
1904
1890
  case "com.amazonaws.billingconductor#ValidationException":
1905
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1891
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1906
1892
  default:
1907
1893
  const parsedBody = parsedOutput.body;
1908
1894
  throwDefaultError({
@@ -1913,20 +1899,20 @@ const deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemCommandErro
1913
1899
  });
1914
1900
  }
1915
1901
  };
1916
- export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1902
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1917
1903
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1918
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1904
+ return de_ListTagsForResourceCommandError(output, context);
1919
1905
  }
1920
1906
  const contents = map({
1921
1907
  $metadata: deserializeMetadata(output),
1922
1908
  });
1923
1909
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1924
1910
  if (data.Tags != null) {
1925
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
1911
+ contents.Tags = de_TagMap(data.Tags, context);
1926
1912
  }
1927
1913
  return contents;
1928
1914
  };
1929
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1915
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1930
1916
  const parsedOutput = {
1931
1917
  ...output,
1932
1918
  body: await parseErrorBody(output.body, context),
@@ -1935,19 +1921,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1935
1921
  switch (errorCode) {
1936
1922
  case "AccessDeniedException":
1937
1923
  case "com.amazonaws.billingconductor#AccessDeniedException":
1938
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1924
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1939
1925
  case "InternalServerException":
1940
1926
  case "com.amazonaws.billingconductor#InternalServerException":
1941
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1927
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1942
1928
  case "ResourceNotFoundException":
1943
1929
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1944
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1930
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1945
1931
  case "ThrottlingException":
1946
1932
  case "com.amazonaws.billingconductor#ThrottlingException":
1947
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1933
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1948
1934
  case "ValidationException":
1949
1935
  case "com.amazonaws.billingconductor#ValidationException":
1950
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1936
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1951
1937
  default:
1952
1938
  const parsedBody = parsedOutput.body;
1953
1939
  throwDefaultError({
@@ -1958,9 +1944,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1958
1944
  });
1959
1945
  }
1960
1946
  };
1961
- export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1947
+ export const de_TagResourceCommand = async (output, context) => {
1962
1948
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1963
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1949
+ return de_TagResourceCommandError(output, context);
1964
1950
  }
1965
1951
  const contents = map({
1966
1952
  $metadata: deserializeMetadata(output),
@@ -1968,7 +1954,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
1968
1954
  await collectBody(output.body, context);
1969
1955
  return contents;
1970
1956
  };
1971
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1957
+ const de_TagResourceCommandError = async (output, context) => {
1972
1958
  const parsedOutput = {
1973
1959
  ...output,
1974
1960
  body: await parseErrorBody(output.body, context),
@@ -1977,19 +1963,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1977
1963
  switch (errorCode) {
1978
1964
  case "AccessDeniedException":
1979
1965
  case "com.amazonaws.billingconductor#AccessDeniedException":
1980
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1966
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1981
1967
  case "InternalServerException":
1982
1968
  case "com.amazonaws.billingconductor#InternalServerException":
1983
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1969
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1984
1970
  case "ResourceNotFoundException":
1985
1971
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
1986
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1972
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1987
1973
  case "ThrottlingException":
1988
1974
  case "com.amazonaws.billingconductor#ThrottlingException":
1989
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1975
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1990
1976
  case "ValidationException":
1991
1977
  case "com.amazonaws.billingconductor#ValidationException":
1992
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1978
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1993
1979
  default:
1994
1980
  const parsedBody = parsedOutput.body;
1995
1981
  throwDefaultError({
@@ -2000,9 +1986,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2000
1986
  });
2001
1987
  }
2002
1988
  };
2003
- export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1989
+ export const de_UntagResourceCommand = async (output, context) => {
2004
1990
  if (output.statusCode !== 204 && output.statusCode >= 300) {
2005
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1991
+ return de_UntagResourceCommandError(output, context);
2006
1992
  }
2007
1993
  const contents = map({
2008
1994
  $metadata: deserializeMetadata(output),
@@ -2010,7 +1996,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
2010
1996
  await collectBody(output.body, context);
2011
1997
  return contents;
2012
1998
  };
2013
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1999
+ const de_UntagResourceCommandError = async (output, context) => {
2014
2000
  const parsedOutput = {
2015
2001
  ...output,
2016
2002
  body: await parseErrorBody(output.body, context),
@@ -2019,19 +2005,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2019
2005
  switch (errorCode) {
2020
2006
  case "AccessDeniedException":
2021
2007
  case "com.amazonaws.billingconductor#AccessDeniedException":
2022
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2008
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2023
2009
  case "InternalServerException":
2024
2010
  case "com.amazonaws.billingconductor#InternalServerException":
2025
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2011
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2026
2012
  case "ResourceNotFoundException":
2027
2013
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
2028
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2014
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2029
2015
  case "ThrottlingException":
2030
2016
  case "com.amazonaws.billingconductor#ThrottlingException":
2031
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2017
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2032
2018
  case "ValidationException":
2033
2019
  case "com.amazonaws.billingconductor#ValidationException":
2034
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2020
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2035
2021
  default:
2036
2022
  const parsedBody = parsedOutput.body;
2037
2023
  throwDefaultError({
@@ -2042,9 +2028,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2042
2028
  });
2043
2029
  }
2044
2030
  };
2045
- export const deserializeAws_restJson1UpdateBillingGroupCommand = async (output, context) => {
2031
+ export const de_UpdateBillingGroupCommand = async (output, context) => {
2046
2032
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2047
- return deserializeAws_restJson1UpdateBillingGroupCommandError(output, context);
2033
+ return de_UpdateBillingGroupCommandError(output, context);
2048
2034
  }
2049
2035
  const contents = map({
2050
2036
  $metadata: deserializeMetadata(output),
@@ -2079,7 +2065,7 @@ export const deserializeAws_restJson1UpdateBillingGroupCommand = async (output,
2079
2065
  }
2080
2066
  return contents;
2081
2067
  };
2082
- const deserializeAws_restJson1UpdateBillingGroupCommandError = async (output, context) => {
2068
+ const de_UpdateBillingGroupCommandError = async (output, context) => {
2083
2069
  const parsedOutput = {
2084
2070
  ...output,
2085
2071
  body: await parseErrorBody(output.body, context),
@@ -2088,22 +2074,22 @@ const deserializeAws_restJson1UpdateBillingGroupCommandError = async (output, co
2088
2074
  switch (errorCode) {
2089
2075
  case "AccessDeniedException":
2090
2076
  case "com.amazonaws.billingconductor#AccessDeniedException":
2091
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2077
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2092
2078
  case "ConflictException":
2093
2079
  case "com.amazonaws.billingconductor#ConflictException":
2094
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2080
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2095
2081
  case "InternalServerException":
2096
2082
  case "com.amazonaws.billingconductor#InternalServerException":
2097
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2083
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2098
2084
  case "ResourceNotFoundException":
2099
2085
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
2100
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2086
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2101
2087
  case "ThrottlingException":
2102
2088
  case "com.amazonaws.billingconductor#ThrottlingException":
2103
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2089
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2104
2090
  case "ValidationException":
2105
2091
  case "com.amazonaws.billingconductor#ValidationException":
2106
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2092
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2107
2093
  default:
2108
2094
  const parsedBody = parsedOutput.body;
2109
2095
  throwDefaultError({
@@ -2114,9 +2100,9 @@ const deserializeAws_restJson1UpdateBillingGroupCommandError = async (output, co
2114
2100
  });
2115
2101
  }
2116
2102
  };
2117
- export const deserializeAws_restJson1UpdateCustomLineItemCommand = async (output, context) => {
2103
+ export const de_UpdateCustomLineItemCommand = async (output, context) => {
2118
2104
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2119
- return deserializeAws_restJson1UpdateCustomLineItemCommandError(output, context);
2105
+ return de_UpdateCustomLineItemCommandError(output, context);
2120
2106
  }
2121
2107
  const contents = map({
2122
2108
  $metadata: deserializeMetadata(output),
@@ -2132,7 +2118,7 @@ export const deserializeAws_restJson1UpdateCustomLineItemCommand = async (output
2132
2118
  contents.BillingGroupArn = __expectString(data.BillingGroupArn);
2133
2119
  }
2134
2120
  if (data.ChargeDetails != null) {
2135
- contents.ChargeDetails = deserializeAws_restJson1ListCustomLineItemChargeDetails(data.ChargeDetails, context);
2121
+ contents.ChargeDetails = de_ListCustomLineItemChargeDetails(data.ChargeDetails, context);
2136
2122
  }
2137
2123
  if (data.Description != null) {
2138
2124
  contents.Description = __expectString(data.Description);
@@ -2145,7 +2131,7 @@ export const deserializeAws_restJson1UpdateCustomLineItemCommand = async (output
2145
2131
  }
2146
2132
  return contents;
2147
2133
  };
2148
- const deserializeAws_restJson1UpdateCustomLineItemCommandError = async (output, context) => {
2134
+ const de_UpdateCustomLineItemCommandError = async (output, context) => {
2149
2135
  const parsedOutput = {
2150
2136
  ...output,
2151
2137
  body: await parseErrorBody(output.body, context),
@@ -2154,19 +2140,19 @@ const deserializeAws_restJson1UpdateCustomLineItemCommandError = async (output,
2154
2140
  switch (errorCode) {
2155
2141
  case "AccessDeniedException":
2156
2142
  case "com.amazonaws.billingconductor#AccessDeniedException":
2157
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2143
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2158
2144
  case "InternalServerException":
2159
2145
  case "com.amazonaws.billingconductor#InternalServerException":
2160
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2146
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2161
2147
  case "ResourceNotFoundException":
2162
2148
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
2163
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2149
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2164
2150
  case "ThrottlingException":
2165
2151
  case "com.amazonaws.billingconductor#ThrottlingException":
2166
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2152
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2167
2153
  case "ValidationException":
2168
2154
  case "com.amazonaws.billingconductor#ValidationException":
2169
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2155
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2170
2156
  default:
2171
2157
  const parsedBody = parsedOutput.body;
2172
2158
  throwDefaultError({
@@ -2177,9 +2163,9 @@ const deserializeAws_restJson1UpdateCustomLineItemCommandError = async (output,
2177
2163
  });
2178
2164
  }
2179
2165
  };
2180
- export const deserializeAws_restJson1UpdatePricingPlanCommand = async (output, context) => {
2166
+ export const de_UpdatePricingPlanCommand = async (output, context) => {
2181
2167
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2182
- return deserializeAws_restJson1UpdatePricingPlanCommandError(output, context);
2168
+ return de_UpdatePricingPlanCommandError(output, context);
2183
2169
  }
2184
2170
  const contents = map({
2185
2171
  $metadata: deserializeMetadata(output),
@@ -2202,7 +2188,7 @@ export const deserializeAws_restJson1UpdatePricingPlanCommand = async (output, c
2202
2188
  }
2203
2189
  return contents;
2204
2190
  };
2205
- const deserializeAws_restJson1UpdatePricingPlanCommandError = async (output, context) => {
2191
+ const de_UpdatePricingPlanCommandError = async (output, context) => {
2206
2192
  const parsedOutput = {
2207
2193
  ...output,
2208
2194
  body: await parseErrorBody(output.body, context),
@@ -2211,22 +2197,22 @@ const deserializeAws_restJson1UpdatePricingPlanCommandError = async (output, con
2211
2197
  switch (errorCode) {
2212
2198
  case "AccessDeniedException":
2213
2199
  case "com.amazonaws.billingconductor#AccessDeniedException":
2214
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2200
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2215
2201
  case "ConflictException":
2216
2202
  case "com.amazonaws.billingconductor#ConflictException":
2217
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2203
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2218
2204
  case "InternalServerException":
2219
2205
  case "com.amazonaws.billingconductor#InternalServerException":
2220
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2206
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2221
2207
  case "ResourceNotFoundException":
2222
2208
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
2223
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2209
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2224
2210
  case "ThrottlingException":
2225
2211
  case "com.amazonaws.billingconductor#ThrottlingException":
2226
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2212
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2227
2213
  case "ValidationException":
2228
2214
  case "com.amazonaws.billingconductor#ValidationException":
2229
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2215
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2230
2216
  default:
2231
2217
  const parsedBody = parsedOutput.body;
2232
2218
  throwDefaultError({
@@ -2237,9 +2223,9 @@ const deserializeAws_restJson1UpdatePricingPlanCommandError = async (output, con
2237
2223
  });
2238
2224
  }
2239
2225
  };
2240
- export const deserializeAws_restJson1UpdatePricingRuleCommand = async (output, context) => {
2226
+ export const de_UpdatePricingRuleCommand = async (output, context) => {
2241
2227
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2242
- return deserializeAws_restJson1UpdatePricingRuleCommandError(output, context);
2228
+ return de_UpdatePricingRuleCommandError(output, context);
2243
2229
  }
2244
2230
  const contents = map({
2245
2231
  $metadata: deserializeMetadata(output),
@@ -2276,7 +2262,7 @@ export const deserializeAws_restJson1UpdatePricingRuleCommand = async (output, c
2276
2262
  contents.Service = __expectString(data.Service);
2277
2263
  }
2278
2264
  if (data.Tiering != null) {
2279
- contents.Tiering = deserializeAws_restJson1UpdateTieringInput(data.Tiering, context);
2265
+ contents.Tiering = de_UpdateTieringInput(data.Tiering, context);
2280
2266
  }
2281
2267
  if (data.Type != null) {
2282
2268
  contents.Type = __expectString(data.Type);
@@ -2286,7 +2272,7 @@ export const deserializeAws_restJson1UpdatePricingRuleCommand = async (output, c
2286
2272
  }
2287
2273
  return contents;
2288
2274
  };
2289
- const deserializeAws_restJson1UpdatePricingRuleCommandError = async (output, context) => {
2275
+ const de_UpdatePricingRuleCommandError = async (output, context) => {
2290
2276
  const parsedOutput = {
2291
2277
  ...output,
2292
2278
  body: await parseErrorBody(output.body, context),
@@ -2295,22 +2281,22 @@ const deserializeAws_restJson1UpdatePricingRuleCommandError = async (output, con
2295
2281
  switch (errorCode) {
2296
2282
  case "AccessDeniedException":
2297
2283
  case "com.amazonaws.billingconductor#AccessDeniedException":
2298
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2284
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2299
2285
  case "ConflictException":
2300
2286
  case "com.amazonaws.billingconductor#ConflictException":
2301
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2287
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2302
2288
  case "InternalServerException":
2303
2289
  case "com.amazonaws.billingconductor#InternalServerException":
2304
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2290
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2305
2291
  case "ResourceNotFoundException":
2306
2292
  case "com.amazonaws.billingconductor#ResourceNotFoundException":
2307
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2293
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2308
2294
  case "ThrottlingException":
2309
2295
  case "com.amazonaws.billingconductor#ThrottlingException":
2310
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2296
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2311
2297
  case "ValidationException":
2312
2298
  case "com.amazonaws.billingconductor#ValidationException":
2313
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2299
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2314
2300
  default:
2315
2301
  const parsedBody = parsedOutput.body;
2316
2302
  throwDefaultError({
@@ -2322,7 +2308,7 @@ const deserializeAws_restJson1UpdatePricingRuleCommandError = async (output, con
2322
2308
  }
2323
2309
  };
2324
2310
  const map = __map;
2325
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2311
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2326
2312
  const contents = map({});
2327
2313
  const data = parsedOutput.body;
2328
2314
  if (data.Message != null) {
@@ -2334,7 +2320,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2334
2320
  });
2335
2321
  return __decorateServiceException(exception, parsedOutput.body);
2336
2322
  };
2337
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
2323
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2338
2324
  const contents = map({});
2339
2325
  const data = parsedOutput.body;
2340
2326
  if (data.Message != null) {
@@ -2355,7 +2341,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2355
2341
  });
2356
2342
  return __decorateServiceException(exception, parsedOutput.body);
2357
2343
  };
2358
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
2344
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2359
2345
  const contents = map({
2360
2346
  RetryAfterSeconds: [
2361
2347
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2372,7 +2358,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2372
2358
  });
2373
2359
  return __decorateServiceException(exception, parsedOutput.body);
2374
2360
  };
2375
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2361
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2376
2362
  const contents = map({});
2377
2363
  const data = parsedOutput.body;
2378
2364
  if (data.Message != null) {
@@ -2390,7 +2376,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2390
2376
  });
2391
2377
  return __decorateServiceException(exception, parsedOutput.body);
2392
2378
  };
2393
- const deserializeAws_restJson1ServiceLimitExceededExceptionResponse = async (parsedOutput, context) => {
2379
+ const de_ServiceLimitExceededExceptionRes = async (parsedOutput, context) => {
2394
2380
  const contents = map({});
2395
2381
  const data = parsedOutput.body;
2396
2382
  if (data.LimitCode != null) {
@@ -2414,7 +2400,7 @@ const deserializeAws_restJson1ServiceLimitExceededExceptionResponse = async (par
2414
2400
  });
2415
2401
  return __decorateServiceException(exception, parsedOutput.body);
2416
2402
  };
2417
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2403
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2418
2404
  const contents = map({
2419
2405
  RetryAfterSeconds: [
2420
2406
  () => void 0 !== parsedOutput.headers["retry-after"],
@@ -2431,11 +2417,11 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2431
2417
  });
2432
2418
  return __decorateServiceException(exception, parsedOutput.body);
2433
2419
  };
2434
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
2420
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2435
2421
  const contents = map({});
2436
2422
  const data = parsedOutput.body;
2437
2423
  if (data.Fields != null) {
2438
- contents.Fields = deserializeAws_restJson1ValidationExceptionFieldList(data.Fields, context);
2424
+ contents.Fields = de_ValidationExceptionFieldList(data.Fields, context);
2439
2425
  }
2440
2426
  if (data.Message != null) {
2441
2427
  contents.Message = __expectString(data.Message);
@@ -2449,85 +2435,83 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2449
2435
  });
2450
2436
  return __decorateServiceException(exception, parsedOutput.body);
2451
2437
  };
2452
- const serializeAws_restJson1AccountGrouping = (input, context) => {
2438
+ const se_AccountGrouping = (input, context) => {
2453
2439
  return {
2454
- ...(input.LinkedAccountIds != null && {
2455
- LinkedAccountIds: serializeAws_restJson1AccountIdList(input.LinkedAccountIds, context),
2456
- }),
2440
+ ...(input.LinkedAccountIds != null && { LinkedAccountIds: se_AccountIdList(input.LinkedAccountIds, context) }),
2457
2441
  };
2458
2442
  };
2459
- const serializeAws_restJson1AccountIdFilterList = (input, context) => {
2443
+ const se_AccountIdFilterList = (input, context) => {
2460
2444
  return input
2461
2445
  .filter((e) => e != null)
2462
2446
  .map((entry) => {
2463
2447
  return entry;
2464
2448
  });
2465
2449
  };
2466
- const serializeAws_restJson1AccountIdList = (input, context) => {
2450
+ const se_AccountIdList = (input, context) => {
2467
2451
  return input
2468
2452
  .filter((e) => e != null)
2469
2453
  .map((entry) => {
2470
2454
  return entry;
2471
2455
  });
2472
2456
  };
2473
- const serializeAws_restJson1BillingGroupArnList = (input, context) => {
2457
+ const se_BillingGroupArnList = (input, context) => {
2474
2458
  return input
2475
2459
  .filter((e) => e != null)
2476
2460
  .map((entry) => {
2477
2461
  return entry;
2478
2462
  });
2479
2463
  };
2480
- const serializeAws_restJson1BillingGroupStatusList = (input, context) => {
2464
+ const se_BillingGroupStatusList = (input, context) => {
2481
2465
  return input
2482
2466
  .filter((e) => e != null)
2483
2467
  .map((entry) => {
2484
2468
  return entry;
2485
2469
  });
2486
2470
  };
2487
- const serializeAws_restJson1ComputationPreference = (input, context) => {
2471
+ const se_ComputationPreference = (input, context) => {
2488
2472
  return {
2489
2473
  ...(input.PricingPlanArn != null && { PricingPlanArn: input.PricingPlanArn }),
2490
2474
  };
2491
2475
  };
2492
- const serializeAws_restJson1CreateFreeTierConfig = (input, context) => {
2476
+ const se_CreateFreeTierConfig = (input, context) => {
2493
2477
  return {
2494
2478
  ...(input.Activated != null && { Activated: input.Activated }),
2495
2479
  };
2496
2480
  };
2497
- const serializeAws_restJson1CreateTieringInput = (input, context) => {
2481
+ const se_CreateTieringInput = (input, context) => {
2498
2482
  return {
2499
- ...(input.FreeTier != null && { FreeTier: serializeAws_restJson1CreateFreeTierConfig(input.FreeTier, context) }),
2483
+ ...(input.FreeTier != null && { FreeTier: se_CreateFreeTierConfig(input.FreeTier, context) }),
2500
2484
  };
2501
2485
  };
2502
- const serializeAws_restJson1CustomLineItemArns = (input, context) => {
2486
+ const se_CustomLineItemArns = (input, context) => {
2503
2487
  return input
2504
2488
  .filter((e) => e != null)
2505
2489
  .map((entry) => {
2506
2490
  return entry;
2507
2491
  });
2508
2492
  };
2509
- const serializeAws_restJson1CustomLineItemAssociationsList = (input, context) => {
2493
+ const se_CustomLineItemAssociationsList = (input, context) => {
2510
2494
  return input
2511
2495
  .filter((e) => e != null)
2512
2496
  .map((entry) => {
2513
2497
  return entry;
2514
2498
  });
2515
2499
  };
2516
- const serializeAws_restJson1CustomLineItemBatchAssociationsList = (input, context) => {
2500
+ const se_CustomLineItemBatchAssociationsList = (input, context) => {
2517
2501
  return input
2518
2502
  .filter((e) => e != null)
2519
2503
  .map((entry) => {
2520
2504
  return entry;
2521
2505
  });
2522
2506
  };
2523
- const serializeAws_restJson1CustomLineItemBatchDisassociationsList = (input, context) => {
2507
+ const se_CustomLineItemBatchDisassociationsList = (input, context) => {
2524
2508
  return input
2525
2509
  .filter((e) => e != null)
2526
2510
  .map((entry) => {
2527
2511
  return entry;
2528
2512
  });
2529
2513
  };
2530
- const serializeAws_restJson1CustomLineItemBillingPeriodRange = (input, context) => {
2514
+ const se_CustomLineItemBillingPeriodRange = (input, context) => {
2531
2515
  return {
2532
2516
  ...(input.ExclusiveEndBillingPeriod != null && { ExclusiveEndBillingPeriod: input.ExclusiveEndBillingPeriod }),
2533
2517
  ...(input.InclusiveStartBillingPeriod != null && {
@@ -2535,124 +2519,120 @@ const serializeAws_restJson1CustomLineItemBillingPeriodRange = (input, context)
2535
2519
  }),
2536
2520
  };
2537
2521
  };
2538
- const serializeAws_restJson1CustomLineItemChargeDetails = (input, context) => {
2522
+ const se_CustomLineItemChargeDetails = (input, context) => {
2539
2523
  return {
2540
- ...(input.Flat != null && { Flat: serializeAws_restJson1CustomLineItemFlatChargeDetails(input.Flat, context) }),
2524
+ ...(input.Flat != null && { Flat: se_CustomLineItemFlatChargeDetails(input.Flat, context) }),
2541
2525
  ...(input.Percentage != null && {
2542
- Percentage: serializeAws_restJson1CustomLineItemPercentageChargeDetails(input.Percentage, context),
2526
+ Percentage: se_CustomLineItemPercentageChargeDetails(input.Percentage, context),
2543
2527
  }),
2544
2528
  ...(input.Type != null && { Type: input.Type }),
2545
2529
  };
2546
2530
  };
2547
- const serializeAws_restJson1CustomLineItemFlatChargeDetails = (input, context) => {
2531
+ const se_CustomLineItemFlatChargeDetails = (input, context) => {
2548
2532
  return {
2549
2533
  ...(input.ChargeValue != null && { ChargeValue: __serializeFloat(input.ChargeValue) }),
2550
2534
  };
2551
2535
  };
2552
- const serializeAws_restJson1CustomLineItemNameList = (input, context) => {
2536
+ const se_CustomLineItemNameList = (input, context) => {
2553
2537
  return input
2554
2538
  .filter((e) => e != null)
2555
2539
  .map((entry) => {
2556
2540
  return entry;
2557
2541
  });
2558
2542
  };
2559
- const serializeAws_restJson1CustomLineItemPercentageChargeDetails = (input, context) => {
2543
+ const se_CustomLineItemPercentageChargeDetails = (input, context) => {
2560
2544
  return {
2561
2545
  ...(input.AssociatedValues != null && {
2562
- AssociatedValues: serializeAws_restJson1CustomLineItemAssociationsList(input.AssociatedValues, context),
2546
+ AssociatedValues: se_CustomLineItemAssociationsList(input.AssociatedValues, context),
2563
2547
  }),
2564
2548
  ...(input.PercentageValue != null && { PercentageValue: __serializeFloat(input.PercentageValue) }),
2565
2549
  };
2566
2550
  };
2567
- const serializeAws_restJson1ListAccountAssociationsFilter = (input, context) => {
2551
+ const se_ListAccountAssociationsFilter = (input, context) => {
2568
2552
  return {
2569
2553
  ...(input.AccountId != null && { AccountId: input.AccountId }),
2570
- ...(input.AccountIds != null && {
2571
- AccountIds: serializeAws_restJson1AccountIdFilterList(input.AccountIds, context),
2572
- }),
2554
+ ...(input.AccountIds != null && { AccountIds: se_AccountIdFilterList(input.AccountIds, context) }),
2573
2555
  ...(input.Association != null && { Association: input.Association }),
2574
2556
  };
2575
2557
  };
2576
- const serializeAws_restJson1ListBillingGroupCostReportsFilter = (input, context) => {
2558
+ const se_ListBillingGroupCostReportsFilter = (input, context) => {
2577
2559
  return {
2578
2560
  ...(input.BillingGroupArns != null && {
2579
- BillingGroupArns: serializeAws_restJson1BillingGroupArnList(input.BillingGroupArns, context),
2561
+ BillingGroupArns: se_BillingGroupArnList(input.BillingGroupArns, context),
2580
2562
  }),
2581
2563
  };
2582
2564
  };
2583
- const serializeAws_restJson1ListBillingGroupsFilter = (input, context) => {
2565
+ const se_ListBillingGroupsFilter = (input, context) => {
2584
2566
  return {
2585
- ...(input.Arns != null && { Arns: serializeAws_restJson1BillingGroupArnList(input.Arns, context) }),
2567
+ ...(input.Arns != null && { Arns: se_BillingGroupArnList(input.Arns, context) }),
2586
2568
  ...(input.PricingPlan != null && { PricingPlan: input.PricingPlan }),
2587
- ...(input.Statuses != null && { Statuses: serializeAws_restJson1BillingGroupStatusList(input.Statuses, context) }),
2569
+ ...(input.Statuses != null && { Statuses: se_BillingGroupStatusList(input.Statuses, context) }),
2588
2570
  };
2589
2571
  };
2590
- const serializeAws_restJson1ListCustomLineItemsFilter = (input, context) => {
2572
+ const se_ListCustomLineItemsFilter = (input, context) => {
2591
2573
  return {
2592
- ...(input.Arns != null && { Arns: serializeAws_restJson1CustomLineItemArns(input.Arns, context) }),
2593
- ...(input.BillingGroups != null && {
2594
- BillingGroups: serializeAws_restJson1BillingGroupArnList(input.BillingGroups, context),
2595
- }),
2596
- ...(input.Names != null && { Names: serializeAws_restJson1CustomLineItemNameList(input.Names, context) }),
2574
+ ...(input.Arns != null && { Arns: se_CustomLineItemArns(input.Arns, context) }),
2575
+ ...(input.BillingGroups != null && { BillingGroups: se_BillingGroupArnList(input.BillingGroups, context) }),
2576
+ ...(input.Names != null && { Names: se_CustomLineItemNameList(input.Names, context) }),
2597
2577
  };
2598
2578
  };
2599
- const serializeAws_restJson1ListCustomLineItemVersionsBillingPeriodRangeFilter = (input, context) => {
2579
+ const se_ListCustomLineItemVersionsBillingPeriodRangeFilter = (input, context) => {
2600
2580
  return {
2601
2581
  ...(input.EndBillingPeriod != null && { EndBillingPeriod: input.EndBillingPeriod }),
2602
2582
  ...(input.StartBillingPeriod != null && { StartBillingPeriod: input.StartBillingPeriod }),
2603
2583
  };
2604
2584
  };
2605
- const serializeAws_restJson1ListCustomLineItemVersionsFilter = (input, context) => {
2585
+ const se_ListCustomLineItemVersionsFilter = (input, context) => {
2606
2586
  return {
2607
2587
  ...(input.BillingPeriodRange != null && {
2608
- BillingPeriodRange: serializeAws_restJson1ListCustomLineItemVersionsBillingPeriodRangeFilter(input.BillingPeriodRange, context),
2588
+ BillingPeriodRange: se_ListCustomLineItemVersionsBillingPeriodRangeFilter(input.BillingPeriodRange, context),
2609
2589
  }),
2610
2590
  };
2611
2591
  };
2612
- const serializeAws_restJson1ListPricingPlansFilter = (input, context) => {
2592
+ const se_ListPricingPlansFilter = (input, context) => {
2613
2593
  return {
2614
- ...(input.Arns != null && { Arns: serializeAws_restJson1PricingPlanArns(input.Arns, context) }),
2594
+ ...(input.Arns != null && { Arns: se_PricingPlanArns(input.Arns, context) }),
2615
2595
  };
2616
2596
  };
2617
- const serializeAws_restJson1ListPricingRulesFilter = (input, context) => {
2597
+ const se_ListPricingRulesFilter = (input, context) => {
2618
2598
  return {
2619
- ...(input.Arns != null && { Arns: serializeAws_restJson1PricingRuleArns(input.Arns, context) }),
2599
+ ...(input.Arns != null && { Arns: se_PricingRuleArns(input.Arns, context) }),
2620
2600
  };
2621
2601
  };
2622
- const serializeAws_restJson1ListResourcesAssociatedToCustomLineItemFilter = (input, context) => {
2602
+ const se_ListResourcesAssociatedToCustomLineItemFilter = (input, context) => {
2623
2603
  return {
2624
2604
  ...(input.Relationship != null && { Relationship: input.Relationship }),
2625
2605
  };
2626
2606
  };
2627
- const serializeAws_restJson1PricingPlanArns = (input, context) => {
2607
+ const se_PricingPlanArns = (input, context) => {
2628
2608
  return input
2629
2609
  .filter((e) => e != null)
2630
2610
  .map((entry) => {
2631
2611
  return entry;
2632
2612
  });
2633
2613
  };
2634
- const serializeAws_restJson1PricingRuleArns = (input, context) => {
2614
+ const se_PricingRuleArns = (input, context) => {
2635
2615
  return input
2636
2616
  .filter((e) => e != null)
2637
2617
  .map((entry) => {
2638
2618
  return entry;
2639
2619
  });
2640
2620
  };
2641
- const serializeAws_restJson1PricingRuleArnsInput = (input, context) => {
2621
+ const se_PricingRuleArnsInput = (input, context) => {
2642
2622
  return input
2643
2623
  .filter((e) => e != null)
2644
2624
  .map((entry) => {
2645
2625
  return entry;
2646
2626
  });
2647
2627
  };
2648
- const serializeAws_restJson1PricingRuleArnsNonEmptyInput = (input, context) => {
2628
+ const se_PricingRuleArnsNonEmptyInput = (input, context) => {
2649
2629
  return input
2650
2630
  .filter((e) => e != null)
2651
2631
  .map((entry) => {
2652
2632
  return entry;
2653
2633
  });
2654
2634
  };
2655
- const serializeAws_restJson1TagMap = (input, context) => {
2635
+ const se_TagMap = (input, context) => {
2656
2636
  return Object.entries(input).reduce((acc, [key, value]) => {
2657
2637
  if (value === null) {
2658
2638
  return acc;
@@ -2661,48 +2641,46 @@ const serializeAws_restJson1TagMap = (input, context) => {
2661
2641
  return acc;
2662
2642
  }, {});
2663
2643
  };
2664
- const serializeAws_restJson1UpdateCustomLineItemChargeDetails = (input, context) => {
2644
+ const se_UpdateCustomLineItemChargeDetails = (input, context) => {
2665
2645
  return {
2666
- ...(input.Flat != null && {
2667
- Flat: serializeAws_restJson1UpdateCustomLineItemFlatChargeDetails(input.Flat, context),
2668
- }),
2646
+ ...(input.Flat != null && { Flat: se_UpdateCustomLineItemFlatChargeDetails(input.Flat, context) }),
2669
2647
  ...(input.Percentage != null && {
2670
- Percentage: serializeAws_restJson1UpdateCustomLineItemPercentageChargeDetails(input.Percentage, context),
2648
+ Percentage: se_UpdateCustomLineItemPercentageChargeDetails(input.Percentage, context),
2671
2649
  }),
2672
2650
  };
2673
2651
  };
2674
- const serializeAws_restJson1UpdateCustomLineItemFlatChargeDetails = (input, context) => {
2652
+ const se_UpdateCustomLineItemFlatChargeDetails = (input, context) => {
2675
2653
  return {
2676
2654
  ...(input.ChargeValue != null && { ChargeValue: __serializeFloat(input.ChargeValue) }),
2677
2655
  };
2678
2656
  };
2679
- const serializeAws_restJson1UpdateCustomLineItemPercentageChargeDetails = (input, context) => {
2657
+ const se_UpdateCustomLineItemPercentageChargeDetails = (input, context) => {
2680
2658
  return {
2681
2659
  ...(input.PercentageValue != null && { PercentageValue: __serializeFloat(input.PercentageValue) }),
2682
2660
  };
2683
2661
  };
2684
- const serializeAws_restJson1UpdateFreeTierConfig = (input, context) => {
2662
+ const se_UpdateFreeTierConfig = (input, context) => {
2685
2663
  return {
2686
2664
  ...(input.Activated != null && { Activated: input.Activated }),
2687
2665
  };
2688
2666
  };
2689
- const serializeAws_restJson1UpdateTieringInput = (input, context) => {
2667
+ const se_UpdateTieringInput = (input, context) => {
2690
2668
  return {
2691
- ...(input.FreeTier != null && { FreeTier: serializeAws_restJson1UpdateFreeTierConfig(input.FreeTier, context) }),
2669
+ ...(input.FreeTier != null && { FreeTier: se_UpdateFreeTierConfig(input.FreeTier, context) }),
2692
2670
  };
2693
2671
  };
2694
- const deserializeAws_restJson1AccountAssociationsList = (output, context) => {
2672
+ const de_AccountAssociationsList = (output, context) => {
2695
2673
  const retVal = (output || [])
2696
2674
  .filter((e) => e != null)
2697
2675
  .map((entry) => {
2698
2676
  if (entry === null) {
2699
2677
  return null;
2700
2678
  }
2701
- return deserializeAws_restJson1AccountAssociationsListElement(entry, context);
2679
+ return de_AccountAssociationsListElement(entry, context);
2702
2680
  });
2703
2681
  return retVal;
2704
2682
  };
2705
- const deserializeAws_restJson1AccountAssociationsListElement = (output, context) => {
2683
+ const de_AccountAssociationsListElement = (output, context) => {
2706
2684
  return {
2707
2685
  AccountEmail: __expectString(output.AccountEmail),
2708
2686
  AccountId: __expectString(output.AccountId),
@@ -2710,30 +2688,30 @@ const deserializeAws_restJson1AccountAssociationsListElement = (output, context)
2710
2688
  BillingGroupArn: __expectString(output.BillingGroupArn),
2711
2689
  };
2712
2690
  };
2713
- const deserializeAws_restJson1AssociateResourceError = (output, context) => {
2691
+ const de_AssociateResourceError = (output, context) => {
2714
2692
  return {
2715
2693
  Message: __expectString(output.Message),
2716
2694
  Reason: __expectString(output.Reason),
2717
2695
  };
2718
2696
  };
2719
- const deserializeAws_restJson1AssociateResourceResponseElement = (output, context) => {
2697
+ const de_AssociateResourceResponseElement = (output, context) => {
2720
2698
  return {
2721
2699
  Arn: __expectString(output.Arn),
2722
- Error: output.Error != null ? deserializeAws_restJson1AssociateResourceError(output.Error, context) : undefined,
2700
+ Error: output.Error != null ? de_AssociateResourceError(output.Error, context) : undefined,
2723
2701
  };
2724
2702
  };
2725
- const deserializeAws_restJson1AssociateResourcesResponseList = (output, context) => {
2703
+ const de_AssociateResourcesResponseList = (output, context) => {
2726
2704
  const retVal = (output || [])
2727
2705
  .filter((e) => e != null)
2728
2706
  .map((entry) => {
2729
2707
  if (entry === null) {
2730
2708
  return null;
2731
2709
  }
2732
- return deserializeAws_restJson1AssociateResourceResponseElement(entry, context);
2710
+ return de_AssociateResourceResponseElement(entry, context);
2733
2711
  });
2734
2712
  return retVal;
2735
2713
  };
2736
- const deserializeAws_restJson1BillingGroupCostReportElement = (output, context) => {
2714
+ const de_BillingGroupCostReportElement = (output, context) => {
2737
2715
  return {
2738
2716
  AWSCost: __expectString(output.AWSCost),
2739
2717
  Arn: __expectString(output.Arn),
@@ -2743,33 +2721,33 @@ const deserializeAws_restJson1BillingGroupCostReportElement = (output, context)
2743
2721
  ProformaCost: __expectString(output.ProformaCost),
2744
2722
  };
2745
2723
  };
2746
- const deserializeAws_restJson1BillingGroupCostReportList = (output, context) => {
2724
+ const de_BillingGroupCostReportList = (output, context) => {
2747
2725
  const retVal = (output || [])
2748
2726
  .filter((e) => e != null)
2749
2727
  .map((entry) => {
2750
2728
  if (entry === null) {
2751
2729
  return null;
2752
2730
  }
2753
- return deserializeAws_restJson1BillingGroupCostReportElement(entry, context);
2731
+ return de_BillingGroupCostReportElement(entry, context);
2754
2732
  });
2755
2733
  return retVal;
2756
2734
  };
2757
- const deserializeAws_restJson1BillingGroupList = (output, context) => {
2735
+ const de_BillingGroupList = (output, context) => {
2758
2736
  const retVal = (output || [])
2759
2737
  .filter((e) => e != null)
2760
2738
  .map((entry) => {
2761
2739
  if (entry === null) {
2762
2740
  return null;
2763
2741
  }
2764
- return deserializeAws_restJson1BillingGroupListElement(entry, context);
2742
+ return de_BillingGroupListElement(entry, context);
2765
2743
  });
2766
2744
  return retVal;
2767
2745
  };
2768
- const deserializeAws_restJson1BillingGroupListElement = (output, context) => {
2746
+ const de_BillingGroupListElement = (output, context) => {
2769
2747
  return {
2770
2748
  Arn: __expectString(output.Arn),
2771
2749
  ComputationPreference: output.ComputationPreference != null
2772
- ? deserializeAws_restJson1ComputationPreference(output.ComputationPreference, context)
2750
+ ? de_ComputationPreference(output.ComputationPreference, context)
2773
2751
  : undefined,
2774
2752
  CreationTime: __expectLong(output.CreationTime),
2775
2753
  Description: __expectString(output.Description),
@@ -2781,30 +2759,28 @@ const deserializeAws_restJson1BillingGroupListElement = (output, context) => {
2781
2759
  StatusReason: __expectString(output.StatusReason),
2782
2760
  };
2783
2761
  };
2784
- const deserializeAws_restJson1ComputationPreference = (output, context) => {
2762
+ const de_ComputationPreference = (output, context) => {
2785
2763
  return {
2786
2764
  PricingPlanArn: __expectString(output.PricingPlanArn),
2787
2765
  };
2788
2766
  };
2789
- const deserializeAws_restJson1CustomLineItemList = (output, context) => {
2767
+ const de_CustomLineItemList = (output, context) => {
2790
2768
  const retVal = (output || [])
2791
2769
  .filter((e) => e != null)
2792
2770
  .map((entry) => {
2793
2771
  if (entry === null) {
2794
2772
  return null;
2795
2773
  }
2796
- return deserializeAws_restJson1CustomLineItemListElement(entry, context);
2774
+ return de_CustomLineItemListElement(entry, context);
2797
2775
  });
2798
2776
  return retVal;
2799
2777
  };
2800
- const deserializeAws_restJson1CustomLineItemListElement = (output, context) => {
2778
+ const de_CustomLineItemListElement = (output, context) => {
2801
2779
  return {
2802
2780
  Arn: __expectString(output.Arn),
2803
2781
  AssociationSize: __expectLong(output.AssociationSize),
2804
2782
  BillingGroupArn: __expectString(output.BillingGroupArn),
2805
- ChargeDetails: output.ChargeDetails != null
2806
- ? deserializeAws_restJson1ListCustomLineItemChargeDetails(output.ChargeDetails, context)
2807
- : undefined,
2783
+ ChargeDetails: output.ChargeDetails != null ? de_ListCustomLineItemChargeDetails(output.ChargeDetails, context) : undefined,
2808
2784
  CreationTime: __expectLong(output.CreationTime),
2809
2785
  CurrencyCode: __expectString(output.CurrencyCode),
2810
2786
  Description: __expectString(output.Description),
@@ -2813,25 +2789,23 @@ const deserializeAws_restJson1CustomLineItemListElement = (output, context) => {
2813
2789
  ProductCode: __expectString(output.ProductCode),
2814
2790
  };
2815
2791
  };
2816
- const deserializeAws_restJson1CustomLineItemVersionList = (output, context) => {
2792
+ const de_CustomLineItemVersionList = (output, context) => {
2817
2793
  const retVal = (output || [])
2818
2794
  .filter((e) => e != null)
2819
2795
  .map((entry) => {
2820
2796
  if (entry === null) {
2821
2797
  return null;
2822
2798
  }
2823
- return deserializeAws_restJson1CustomLineItemVersionListElement(entry, context);
2799
+ return de_CustomLineItemVersionListElement(entry, context);
2824
2800
  });
2825
2801
  return retVal;
2826
2802
  };
2827
- const deserializeAws_restJson1CustomLineItemVersionListElement = (output, context) => {
2803
+ const de_CustomLineItemVersionListElement = (output, context) => {
2828
2804
  return {
2829
2805
  Arn: __expectString(output.Arn),
2830
2806
  AssociationSize: __expectLong(output.AssociationSize),
2831
2807
  BillingGroupArn: __expectString(output.BillingGroupArn),
2832
- ChargeDetails: output.ChargeDetails != null
2833
- ? deserializeAws_restJson1ListCustomLineItemChargeDetails(output.ChargeDetails, context)
2834
- : undefined,
2808
+ ChargeDetails: output.ChargeDetails != null ? de_ListCustomLineItemChargeDetails(output.ChargeDetails, context) : undefined,
2835
2809
  CreationTime: __expectLong(output.CreationTime),
2836
2810
  CurrencyCode: __expectString(output.CurrencyCode),
2837
2811
  Description: __expectString(output.Description),
@@ -2843,68 +2817,64 @@ const deserializeAws_restJson1CustomLineItemVersionListElement = (output, contex
2843
2817
  StartTime: __expectLong(output.StartTime),
2844
2818
  };
2845
2819
  };
2846
- const deserializeAws_restJson1DisassociateResourceResponseElement = (output, context) => {
2820
+ const de_DisassociateResourceResponseElement = (output, context) => {
2847
2821
  return {
2848
2822
  Arn: __expectString(output.Arn),
2849
- Error: output.Error != null ? deserializeAws_restJson1AssociateResourceError(output.Error, context) : undefined,
2823
+ Error: output.Error != null ? de_AssociateResourceError(output.Error, context) : undefined,
2850
2824
  };
2851
2825
  };
2852
- const deserializeAws_restJson1DisassociateResourcesResponseList = (output, context) => {
2826
+ const de_DisassociateResourcesResponseList = (output, context) => {
2853
2827
  const retVal = (output || [])
2854
2828
  .filter((e) => e != null)
2855
2829
  .map((entry) => {
2856
2830
  if (entry === null) {
2857
2831
  return null;
2858
2832
  }
2859
- return deserializeAws_restJson1DisassociateResourceResponseElement(entry, context);
2833
+ return de_DisassociateResourceResponseElement(entry, context);
2860
2834
  });
2861
2835
  return retVal;
2862
2836
  };
2863
- const deserializeAws_restJson1FreeTierConfig = (output, context) => {
2837
+ const de_FreeTierConfig = (output, context) => {
2864
2838
  return {
2865
2839
  Activated: __expectBoolean(output.Activated),
2866
2840
  };
2867
2841
  };
2868
- const deserializeAws_restJson1ListCustomLineItemChargeDetails = (output, context) => {
2842
+ const de_ListCustomLineItemChargeDetails = (output, context) => {
2869
2843
  return {
2870
- Flat: output.Flat != null
2871
- ? deserializeAws_restJson1ListCustomLineItemFlatChargeDetails(output.Flat, context)
2872
- : undefined,
2873
- Percentage: output.Percentage != null
2874
- ? deserializeAws_restJson1ListCustomLineItemPercentageChargeDetails(output.Percentage, context)
2875
- : undefined,
2844
+ Flat: output.Flat != null ? de_ListCustomLineItemFlatChargeDetails(output.Flat, context) : undefined,
2845
+ Percentage: output.Percentage != null ? de_ListCustomLineItemPercentageChargeDetails(output.Percentage, context) : undefined,
2876
2846
  Type: __expectString(output.Type),
2877
2847
  };
2878
2848
  };
2879
- const deserializeAws_restJson1ListCustomLineItemFlatChargeDetails = (output, context) => {
2849
+ const de_ListCustomLineItemFlatChargeDetails = (output, context) => {
2880
2850
  return {
2881
2851
  ChargeValue: __limitedParseDouble(output.ChargeValue),
2882
2852
  };
2883
2853
  };
2884
- const deserializeAws_restJson1ListCustomLineItemPercentageChargeDetails = (output, context) => {
2854
+ const de_ListCustomLineItemPercentageChargeDetails = (output, context) => {
2885
2855
  return {
2886
2856
  PercentageValue: __limitedParseDouble(output.PercentageValue),
2887
2857
  };
2888
2858
  };
2889
- const deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemResponseElement = (output, context) => {
2859
+ const de_ListResourcesAssociatedToCustomLineItemResponseElement = (output, context) => {
2890
2860
  return {
2891
2861
  Arn: __expectString(output.Arn),
2892
2862
  EndBillingPeriod: __expectString(output.EndBillingPeriod),
2893
2863
  Relationship: __expectString(output.Relationship),
2894
2864
  };
2895
2865
  };
2896
- const deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemResponseList = (output, context) => {
2866
+ const de_ListResourcesAssociatedToCustomLineItemResponseList = (output, context) => {
2897
2867
  const retVal = (output || [])
2898
2868
  .filter((e) => e != null)
2899
2869
  .map((entry) => {
2900
2870
  if (entry === null) {
2901
2871
  return null;
2902
2872
  }
2903
- return deserializeAws_restJson1ListResourcesAssociatedToCustomLineItemResponseElement(entry, context);
2873
+ return de_ListResourcesAssociatedToCustomLineItemResponseElement(entry, context);
2904
2874
  });
2905
2875
  return retVal;
2906
2876
  };
2907
- const deserializeAws_restJson1PricingPlanArns = (output, context) => {
2877
+ const de_PricingPlanArns = (output, context) => {
2908
2878
  const retVal = (output || [])
2909
2879
  .filter((e) => e != null)
2910
2880
  .map((entry) => {
@@ -2915,18 +2885,18 @@ const deserializeAws_restJson1PricingPlanArns = (output, context) => {
2915
2885
  });
2916
2886
  return retVal;
2917
2887
  };
2918
- const deserializeAws_restJson1PricingPlanList = (output, context) => {
2888
+ const de_PricingPlanList = (output, context) => {
2919
2889
  const retVal = (output || [])
2920
2890
  .filter((e) => e != null)
2921
2891
  .map((entry) => {
2922
2892
  if (entry === null) {
2923
2893
  return null;
2924
2894
  }
2925
- return deserializeAws_restJson1PricingPlanListElement(entry, context);
2895
+ return de_PricingPlanListElement(entry, context);
2926
2896
  });
2927
2897
  return retVal;
2928
2898
  };
2929
- const deserializeAws_restJson1PricingPlanListElement = (output, context) => {
2899
+ const de_PricingPlanListElement = (output, context) => {
2930
2900
  return {
2931
2901
  Arn: __expectString(output.Arn),
2932
2902
  CreationTime: __expectLong(output.CreationTime),
@@ -2936,7 +2906,7 @@ const deserializeAws_restJson1PricingPlanListElement = (output, context) => {
2936
2906
  Size: __expectLong(output.Size),
2937
2907
  };
2938
2908
  };
2939
- const deserializeAws_restJson1PricingRuleArns = (output, context) => {
2909
+ const de_PricingRuleArns = (output, context) => {
2940
2910
  const retVal = (output || [])
2941
2911
  .filter((e) => e != null)
2942
2912
  .map((entry) => {
@@ -2947,18 +2917,18 @@ const deserializeAws_restJson1PricingRuleArns = (output, context) => {
2947
2917
  });
2948
2918
  return retVal;
2949
2919
  };
2950
- const deserializeAws_restJson1PricingRuleList = (output, context) => {
2920
+ const de_PricingRuleList = (output, context) => {
2951
2921
  const retVal = (output || [])
2952
2922
  .filter((e) => e != null)
2953
2923
  .map((entry) => {
2954
2924
  if (entry === null) {
2955
2925
  return null;
2956
2926
  }
2957
- return deserializeAws_restJson1PricingRuleListElement(entry, context);
2927
+ return de_PricingRuleListElement(entry, context);
2958
2928
  });
2959
2929
  return retVal;
2960
2930
  };
2961
- const deserializeAws_restJson1PricingRuleListElement = (output, context) => {
2931
+ const de_PricingRuleListElement = (output, context) => {
2962
2932
  return {
2963
2933
  Arn: __expectString(output.Arn),
2964
2934
  AssociatedPricingPlanCount: __expectLong(output.AssociatedPricingPlanCount),
@@ -2971,12 +2941,12 @@ const deserializeAws_restJson1PricingRuleListElement = (output, context) => {
2971
2941
  Operation: __expectString(output.Operation),
2972
2942
  Scope: __expectString(output.Scope),
2973
2943
  Service: __expectString(output.Service),
2974
- Tiering: output.Tiering != null ? deserializeAws_restJson1Tiering(output.Tiering, context) : undefined,
2944
+ Tiering: output.Tiering != null ? de_Tiering(output.Tiering, context) : undefined,
2975
2945
  Type: __expectString(output.Type),
2976
2946
  UsageType: __expectString(output.UsageType),
2977
2947
  };
2978
2948
  };
2979
- const deserializeAws_restJson1TagMap = (output, context) => {
2949
+ const de_TagMap = (output, context) => {
2980
2950
  return Object.entries(output).reduce((acc, [key, value]) => {
2981
2951
  if (value === null) {
2982
2952
  return acc;
@@ -2985,35 +2955,35 @@ const deserializeAws_restJson1TagMap = (output, context) => {
2985
2955
  return acc;
2986
2956
  }, {});
2987
2957
  };
2988
- const deserializeAws_restJson1Tiering = (output, context) => {
2958
+ const de_Tiering = (output, context) => {
2989
2959
  return {
2990
- FreeTier: output.FreeTier != null ? deserializeAws_restJson1FreeTierConfig(output.FreeTier, context) : undefined,
2960
+ FreeTier: output.FreeTier != null ? de_FreeTierConfig(output.FreeTier, context) : undefined,
2991
2961
  };
2992
2962
  };
2993
- const deserializeAws_restJson1UpdateFreeTierConfig = (output, context) => {
2963
+ const de_UpdateFreeTierConfig = (output, context) => {
2994
2964
  return {
2995
2965
  Activated: __expectBoolean(output.Activated),
2996
2966
  };
2997
2967
  };
2998
- const deserializeAws_restJson1UpdateTieringInput = (output, context) => {
2968
+ const de_UpdateTieringInput = (output, context) => {
2999
2969
  return {
3000
- FreeTier: output.FreeTier != null ? deserializeAws_restJson1UpdateFreeTierConfig(output.FreeTier, context) : undefined,
2970
+ FreeTier: output.FreeTier != null ? de_UpdateFreeTierConfig(output.FreeTier, context) : undefined,
3001
2971
  };
3002
2972
  };
3003
- const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
2973
+ const de_ValidationExceptionField = (output, context) => {
3004
2974
  return {
3005
2975
  Message: __expectString(output.Message),
3006
2976
  Name: __expectString(output.Name),
3007
2977
  };
3008
2978
  };
3009
- const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
2979
+ const de_ValidationExceptionFieldList = (output, context) => {
3010
2980
  const retVal = (output || [])
3011
2981
  .filter((e) => e != null)
3012
2982
  .map((entry) => {
3013
2983
  if (entry === null) {
3014
2984
  return null;
3015
2985
  }
3016
- return deserializeAws_restJson1ValidationExceptionField(entry, context);
2986
+ return de_ValidationExceptionField(entry, context);
3017
2987
  });
3018
2988
  return retVal;
3019
2989
  };