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