@aws-sdk/client-service-quotas 3.306.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist-cjs/commands/AssociateServiceQuotaTemplateCommand.js +2 -2
  2. package/dist-cjs/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.js +2 -2
  3. package/dist-cjs/commands/DisassociateServiceQuotaTemplateCommand.js +2 -2
  4. package/dist-cjs/commands/GetAWSDefaultServiceQuotaCommand.js +2 -2
  5. package/dist-cjs/commands/GetAssociationForServiceQuotaTemplateCommand.js +2 -2
  6. package/dist-cjs/commands/GetRequestedServiceQuotaChangeCommand.js +2 -2
  7. package/dist-cjs/commands/GetServiceQuotaCommand.js +2 -2
  8. package/dist-cjs/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.js +2 -2
  9. package/dist-cjs/commands/ListAWSDefaultServiceQuotasCommand.js +2 -2
  10. package/dist-cjs/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.js +2 -2
  11. package/dist-cjs/commands/ListRequestedServiceQuotaChangeHistoryCommand.js +2 -2
  12. package/dist-cjs/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.js +2 -2
  13. package/dist-cjs/commands/ListServiceQuotasCommand.js +2 -2
  14. package/dist-cjs/commands/ListServicesCommand.js +2 -2
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-cjs/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.js +2 -2
  17. package/dist-cjs/commands/RequestServiceQuotaIncreaseCommand.js +2 -2
  18. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  19. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  20. package/dist-cjs/protocols/Aws_json1_1.js +414 -420
  21. package/dist-es/commands/AssociateServiceQuotaTemplateCommand.js +3 -3
  22. package/dist-es/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.js +3 -3
  23. package/dist-es/commands/DisassociateServiceQuotaTemplateCommand.js +3 -3
  24. package/dist-es/commands/GetAWSDefaultServiceQuotaCommand.js +3 -3
  25. package/dist-es/commands/GetAssociationForServiceQuotaTemplateCommand.js +3 -3
  26. package/dist-es/commands/GetRequestedServiceQuotaChangeCommand.js +3 -3
  27. package/dist-es/commands/GetServiceQuotaCommand.js +3 -3
  28. package/dist-es/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.js +3 -3
  29. package/dist-es/commands/ListAWSDefaultServiceQuotasCommand.js +3 -3
  30. package/dist-es/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.js +3 -3
  31. package/dist-es/commands/ListRequestedServiceQuotaChangeHistoryCommand.js +3 -3
  32. package/dist-es/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.js +3 -3
  33. package/dist-es/commands/ListServiceQuotasCommand.js +3 -3
  34. package/dist-es/commands/ListServicesCommand.js +3 -3
  35. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  36. package/dist-es/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.js +3 -3
  37. package/dist-es/commands/RequestServiceQuotaIncreaseCommand.js +3 -3
  38. package/dist-es/commands/TagResourceCommand.js +3 -3
  39. package/dist-es/commands/UntagResourceCommand.js +3 -3
  40. package/dist-es/protocols/Aws_json1_1.js +375 -381
  41. package/dist-types/protocols/Aws_json1_1.d.ts +152 -38
  42. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +38 -38
  43. package/package.json +6 -6
@@ -2,191 +2,191 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { AccessDeniedException, AWSServiceAccessNotEnabledException, DependencyAccessDeniedException, IllegalArgumentException, InvalidPaginationTokenException, InvalidResourceStateException, NoAvailableOrganizationException, NoSuchResourceException, OrganizationNotInAllFeaturesModeException, QuotaExceededException, ResourceAlreadyExistsException, ServiceException, ServiceQuotaTemplateNotInUseException, TagPolicyViolationException, TemplatesNotAvailableInRegionException, TooManyRequestsException, TooManyTagsException, } from "../models/models_0";
4
4
  import { ServiceQuotasServiceException as __BaseException } from "../models/ServiceQuotasServiceException";
5
- export const serializeAws_json1_1AssociateServiceQuotaTemplateCommand = async (input, context) => {
5
+ export const se_AssociateServiceQuotaTemplateCommand = async (input, context) => {
6
6
  const headers = {
7
7
  "content-type": "application/x-amz-json-1.1",
8
8
  "x-amz-target": "ServiceQuotasV20190624.AssociateServiceQuotaTemplate",
9
9
  };
10
10
  let body;
11
- body = JSON.stringify(serializeAws_json1_1AssociateServiceQuotaTemplateRequest(input, context));
11
+ body = JSON.stringify(se_AssociateServiceQuotaTemplateRequest(input, context));
12
12
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
13
13
  };
14
- export const serializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand = async (input, context) => {
14
+ export const se_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = async (input, context) => {
15
15
  const headers = {
16
16
  "content-type": "application/x-amz-json-1.1",
17
17
  "x-amz-target": "ServiceQuotasV20190624.DeleteServiceQuotaIncreaseRequestFromTemplate",
18
18
  };
19
19
  let body;
20
- body = JSON.stringify(serializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input, context));
20
+ body = JSON.stringify(se_DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input, context));
21
21
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
22
22
  };
23
- export const serializeAws_json1_1DisassociateServiceQuotaTemplateCommand = async (input, context) => {
23
+ export const se_DisassociateServiceQuotaTemplateCommand = async (input, context) => {
24
24
  const headers = {
25
25
  "content-type": "application/x-amz-json-1.1",
26
26
  "x-amz-target": "ServiceQuotasV20190624.DisassociateServiceQuotaTemplate",
27
27
  };
28
28
  let body;
29
- body = JSON.stringify(serializeAws_json1_1DisassociateServiceQuotaTemplateRequest(input, context));
29
+ body = JSON.stringify(se_DisassociateServiceQuotaTemplateRequest(input, context));
30
30
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
31
31
  };
32
- export const serializeAws_json1_1GetAssociationForServiceQuotaTemplateCommand = async (input, context) => {
32
+ export const se_GetAssociationForServiceQuotaTemplateCommand = async (input, context) => {
33
33
  const headers = {
34
34
  "content-type": "application/x-amz-json-1.1",
35
35
  "x-amz-target": "ServiceQuotasV20190624.GetAssociationForServiceQuotaTemplate",
36
36
  };
37
37
  let body;
38
- body = JSON.stringify(serializeAws_json1_1GetAssociationForServiceQuotaTemplateRequest(input, context));
38
+ body = JSON.stringify(se_GetAssociationForServiceQuotaTemplateRequest(input, context));
39
39
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
40
40
  };
41
- export const serializeAws_json1_1GetAWSDefaultServiceQuotaCommand = async (input, context) => {
41
+ export const se_GetAWSDefaultServiceQuotaCommand = async (input, context) => {
42
42
  const headers = {
43
43
  "content-type": "application/x-amz-json-1.1",
44
44
  "x-amz-target": "ServiceQuotasV20190624.GetAWSDefaultServiceQuota",
45
45
  };
46
46
  let body;
47
- body = JSON.stringify(serializeAws_json1_1GetAWSDefaultServiceQuotaRequest(input, context));
47
+ body = JSON.stringify(se_GetAWSDefaultServiceQuotaRequest(input, context));
48
48
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
49
49
  };
50
- export const serializeAws_json1_1GetRequestedServiceQuotaChangeCommand = async (input, context) => {
50
+ export const se_GetRequestedServiceQuotaChangeCommand = async (input, context) => {
51
51
  const headers = {
52
52
  "content-type": "application/x-amz-json-1.1",
53
53
  "x-amz-target": "ServiceQuotasV20190624.GetRequestedServiceQuotaChange",
54
54
  };
55
55
  let body;
56
- body = JSON.stringify(serializeAws_json1_1GetRequestedServiceQuotaChangeRequest(input, context));
56
+ body = JSON.stringify(se_GetRequestedServiceQuotaChangeRequest(input, context));
57
57
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
58
  };
59
- export const serializeAws_json1_1GetServiceQuotaCommand = async (input, context) => {
59
+ export const se_GetServiceQuotaCommand = async (input, context) => {
60
60
  const headers = {
61
61
  "content-type": "application/x-amz-json-1.1",
62
62
  "x-amz-target": "ServiceQuotasV20190624.GetServiceQuota",
63
63
  };
64
64
  let body;
65
- body = JSON.stringify(serializeAws_json1_1GetServiceQuotaRequest(input, context));
65
+ body = JSON.stringify(se_GetServiceQuotaRequest(input, context));
66
66
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
67
67
  };
68
- export const serializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommand = async (input, context) => {
68
+ export const se_GetServiceQuotaIncreaseRequestFromTemplateCommand = async (input, context) => {
69
69
  const headers = {
70
70
  "content-type": "application/x-amz-json-1.1",
71
71
  "x-amz-target": "ServiceQuotasV20190624.GetServiceQuotaIncreaseRequestFromTemplate",
72
72
  };
73
73
  let body;
74
- body = JSON.stringify(serializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateRequest(input, context));
74
+ body = JSON.stringify(se_GetServiceQuotaIncreaseRequestFromTemplateRequest(input, context));
75
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
76
76
  };
77
- export const serializeAws_json1_1ListAWSDefaultServiceQuotasCommand = async (input, context) => {
77
+ export const se_ListAWSDefaultServiceQuotasCommand = async (input, context) => {
78
78
  const headers = {
79
79
  "content-type": "application/x-amz-json-1.1",
80
80
  "x-amz-target": "ServiceQuotasV20190624.ListAWSDefaultServiceQuotas",
81
81
  };
82
82
  let body;
83
- body = JSON.stringify(serializeAws_json1_1ListAWSDefaultServiceQuotasRequest(input, context));
83
+ body = JSON.stringify(se_ListAWSDefaultServiceQuotasRequest(input, context));
84
84
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
85
85
  };
86
- export const serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommand = async (input, context) => {
86
+ export const se_ListRequestedServiceQuotaChangeHistoryCommand = async (input, context) => {
87
87
  const headers = {
88
88
  "content-type": "application/x-amz-json-1.1",
89
89
  "x-amz-target": "ServiceQuotasV20190624.ListRequestedServiceQuotaChangeHistory",
90
90
  };
91
91
  let body;
92
- body = JSON.stringify(serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryRequest(input, context));
92
+ body = JSON.stringify(se_ListRequestedServiceQuotaChangeHistoryRequest(input, context));
93
93
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
94
94
  };
95
- export const serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand = async (input, context) => {
95
+ export const se_ListRequestedServiceQuotaChangeHistoryByQuotaCommand = async (input, context) => {
96
96
  const headers = {
97
97
  "content-type": "application/x-amz-json-1.1",
98
98
  "x-amz-target": "ServiceQuotasV20190624.ListRequestedServiceQuotaChangeHistoryByQuota",
99
99
  };
100
100
  let body;
101
- body = JSON.stringify(serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input, context));
101
+ body = JSON.stringify(se_ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input, context));
102
102
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
103
103
  };
104
- export const serializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommand = async (input, context) => {
104
+ export const se_ListServiceQuotaIncreaseRequestsInTemplateCommand = async (input, context) => {
105
105
  const headers = {
106
106
  "content-type": "application/x-amz-json-1.1",
107
107
  "x-amz-target": "ServiceQuotasV20190624.ListServiceQuotaIncreaseRequestsInTemplate",
108
108
  };
109
109
  let body;
110
- body = JSON.stringify(serializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateRequest(input, context));
110
+ body = JSON.stringify(se_ListServiceQuotaIncreaseRequestsInTemplateRequest(input, context));
111
111
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
112
112
  };
113
- export const serializeAws_json1_1ListServiceQuotasCommand = async (input, context) => {
113
+ export const se_ListServiceQuotasCommand = async (input, context) => {
114
114
  const headers = {
115
115
  "content-type": "application/x-amz-json-1.1",
116
116
  "x-amz-target": "ServiceQuotasV20190624.ListServiceQuotas",
117
117
  };
118
118
  let body;
119
- body = JSON.stringify(serializeAws_json1_1ListServiceQuotasRequest(input, context));
119
+ body = JSON.stringify(se_ListServiceQuotasRequest(input, context));
120
120
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
121
121
  };
122
- export const serializeAws_json1_1ListServicesCommand = async (input, context) => {
122
+ export const se_ListServicesCommand = async (input, context) => {
123
123
  const headers = {
124
124
  "content-type": "application/x-amz-json-1.1",
125
125
  "x-amz-target": "ServiceQuotasV20190624.ListServices",
126
126
  };
127
127
  let body;
128
- body = JSON.stringify(serializeAws_json1_1ListServicesRequest(input, context));
128
+ body = JSON.stringify(se_ListServicesRequest(input, context));
129
129
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
130
130
  };
131
- export const serializeAws_json1_1ListTagsForResourceCommand = async (input, context) => {
131
+ export const se_ListTagsForResourceCommand = async (input, context) => {
132
132
  const headers = {
133
133
  "content-type": "application/x-amz-json-1.1",
134
134
  "x-amz-target": "ServiceQuotasV20190624.ListTagsForResource",
135
135
  };
136
136
  let body;
137
- body = JSON.stringify(serializeAws_json1_1ListTagsForResourceRequest(input, context));
137
+ body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
138
138
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
139
139
  };
140
- export const serializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommand = async (input, context) => {
140
+ export const se_PutServiceQuotaIncreaseRequestIntoTemplateCommand = async (input, context) => {
141
141
  const headers = {
142
142
  "content-type": "application/x-amz-json-1.1",
143
143
  "x-amz-target": "ServiceQuotasV20190624.PutServiceQuotaIncreaseRequestIntoTemplate",
144
144
  };
145
145
  let body;
146
- body = JSON.stringify(serializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateRequest(input, context));
146
+ body = JSON.stringify(se_PutServiceQuotaIncreaseRequestIntoTemplateRequest(input, context));
147
147
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
148
148
  };
149
- export const serializeAws_json1_1RequestServiceQuotaIncreaseCommand = async (input, context) => {
149
+ export const se_RequestServiceQuotaIncreaseCommand = async (input, context) => {
150
150
  const headers = {
151
151
  "content-type": "application/x-amz-json-1.1",
152
152
  "x-amz-target": "ServiceQuotasV20190624.RequestServiceQuotaIncrease",
153
153
  };
154
154
  let body;
155
- body = JSON.stringify(serializeAws_json1_1RequestServiceQuotaIncreaseRequest(input, context));
155
+ body = JSON.stringify(se_RequestServiceQuotaIncreaseRequest(input, context));
156
156
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
157
157
  };
158
- export const serializeAws_json1_1TagResourceCommand = async (input, context) => {
158
+ export const se_TagResourceCommand = async (input, context) => {
159
159
  const headers = {
160
160
  "content-type": "application/x-amz-json-1.1",
161
161
  "x-amz-target": "ServiceQuotasV20190624.TagResource",
162
162
  };
163
163
  let body;
164
- body = JSON.stringify(serializeAws_json1_1TagResourceRequest(input, context));
164
+ body = JSON.stringify(se_TagResourceRequest(input, context));
165
165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
166
166
  };
167
- export const serializeAws_json1_1UntagResourceCommand = async (input, context) => {
167
+ export const se_UntagResourceCommand = async (input, context) => {
168
168
  const headers = {
169
169
  "content-type": "application/x-amz-json-1.1",
170
170
  "x-amz-target": "ServiceQuotasV20190624.UntagResource",
171
171
  };
172
172
  let body;
173
- body = JSON.stringify(serializeAws_json1_1UntagResourceRequest(input, context));
173
+ body = JSON.stringify(se_UntagResourceRequest(input, context));
174
174
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
175
175
  };
176
- export const deserializeAws_json1_1AssociateServiceQuotaTemplateCommand = async (output, context) => {
176
+ export const de_AssociateServiceQuotaTemplateCommand = async (output, context) => {
177
177
  if (output.statusCode >= 300) {
178
- return deserializeAws_json1_1AssociateServiceQuotaTemplateCommandError(output, context);
178
+ return de_AssociateServiceQuotaTemplateCommandError(output, context);
179
179
  }
180
180
  const data = await parseBody(output.body, context);
181
181
  let contents = {};
182
- contents = deserializeAws_json1_1AssociateServiceQuotaTemplateResponse(data, context);
182
+ contents = de_AssociateServiceQuotaTemplateResponse(data, context);
183
183
  const response = {
184
184
  $metadata: deserializeMetadata(output),
185
185
  ...contents,
186
186
  };
187
187
  return Promise.resolve(response);
188
188
  };
189
- const deserializeAws_json1_1AssociateServiceQuotaTemplateCommandError = async (output, context) => {
189
+ const de_AssociateServiceQuotaTemplateCommandError = async (output, context) => {
190
190
  const parsedOutput = {
191
191
  ...output,
192
192
  body: await parseErrorBody(output.body, context),
@@ -195,28 +195,28 @@ const deserializeAws_json1_1AssociateServiceQuotaTemplateCommandError = async (o
195
195
  switch (errorCode) {
196
196
  case "AWSServiceAccessNotEnabledException":
197
197
  case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
198
- throw await deserializeAws_json1_1AWSServiceAccessNotEnabledExceptionResponse(parsedOutput, context);
198
+ throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
199
199
  case "AccessDeniedException":
200
200
  case "com.amazonaws.servicequotas#AccessDeniedException":
201
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
201
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
202
202
  case "DependencyAccessDeniedException":
203
203
  case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
204
- throw await deserializeAws_json1_1DependencyAccessDeniedExceptionResponse(parsedOutput, context);
204
+ throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
205
205
  case "NoAvailableOrganizationException":
206
206
  case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
207
- throw await deserializeAws_json1_1NoAvailableOrganizationExceptionResponse(parsedOutput, context);
207
+ throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
208
208
  case "OrganizationNotInAllFeaturesModeException":
209
209
  case "com.amazonaws.servicequotas#OrganizationNotInAllFeaturesModeException":
210
- throw await deserializeAws_json1_1OrganizationNotInAllFeaturesModeExceptionResponse(parsedOutput, context);
210
+ throw await de_OrganizationNotInAllFeaturesModeExceptionRes(parsedOutput, context);
211
211
  case "ServiceException":
212
212
  case "com.amazonaws.servicequotas#ServiceException":
213
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
213
+ throw await de_ServiceExceptionRes(parsedOutput, context);
214
214
  case "TemplatesNotAvailableInRegionException":
215
215
  case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
216
- throw await deserializeAws_json1_1TemplatesNotAvailableInRegionExceptionResponse(parsedOutput, context);
216
+ throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
217
217
  case "TooManyRequestsException":
218
218
  case "com.amazonaws.servicequotas#TooManyRequestsException":
219
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
219
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
220
220
  default:
221
221
  const parsedBody = parsedOutput.body;
222
222
  throwDefaultError({
@@ -227,20 +227,20 @@ const deserializeAws_json1_1AssociateServiceQuotaTemplateCommandError = async (o
227
227
  });
228
228
  }
229
229
  };
230
- export const deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
230
+ export const de_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
231
231
  if (output.statusCode >= 300) {
232
- return deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommandError(output, context);
232
+ return de_DeleteServiceQuotaIncreaseRequestFromTemplateCommandError(output, context);
233
233
  }
234
234
  const data = await parseBody(output.body, context);
235
235
  let contents = {};
236
- contents = deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateResponse(data, context);
236
+ contents = de_DeleteServiceQuotaIncreaseRequestFromTemplateResponse(data, context);
237
237
  const response = {
238
238
  $metadata: deserializeMetadata(output),
239
239
  ...contents,
240
240
  };
241
241
  return Promise.resolve(response);
242
242
  };
243
- const deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommandError = async (output, context) => {
243
+ const de_DeleteServiceQuotaIncreaseRequestFromTemplateCommandError = async (output, context) => {
244
244
  const parsedOutput = {
245
245
  ...output,
246
246
  body: await parseErrorBody(output.body, context),
@@ -249,31 +249,31 @@ const deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand
249
249
  switch (errorCode) {
250
250
  case "AWSServiceAccessNotEnabledException":
251
251
  case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
252
- throw await deserializeAws_json1_1AWSServiceAccessNotEnabledExceptionResponse(parsedOutput, context);
252
+ throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
253
253
  case "AccessDeniedException":
254
254
  case "com.amazonaws.servicequotas#AccessDeniedException":
255
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
255
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
256
256
  case "DependencyAccessDeniedException":
257
257
  case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
258
- throw await deserializeAws_json1_1DependencyAccessDeniedExceptionResponse(parsedOutput, context);
258
+ throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
259
259
  case "IllegalArgumentException":
260
260
  case "com.amazonaws.servicequotas#IllegalArgumentException":
261
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
261
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
262
262
  case "NoAvailableOrganizationException":
263
263
  case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
264
- throw await deserializeAws_json1_1NoAvailableOrganizationExceptionResponse(parsedOutput, context);
264
+ throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
265
265
  case "NoSuchResourceException":
266
266
  case "com.amazonaws.servicequotas#NoSuchResourceException":
267
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
267
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
268
268
  case "ServiceException":
269
269
  case "com.amazonaws.servicequotas#ServiceException":
270
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
270
+ throw await de_ServiceExceptionRes(parsedOutput, context);
271
271
  case "TemplatesNotAvailableInRegionException":
272
272
  case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
273
- throw await deserializeAws_json1_1TemplatesNotAvailableInRegionExceptionResponse(parsedOutput, context);
273
+ throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
274
274
  case "TooManyRequestsException":
275
275
  case "com.amazonaws.servicequotas#TooManyRequestsException":
276
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
276
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
277
277
  default:
278
278
  const parsedBody = parsedOutput.body;
279
279
  throwDefaultError({
@@ -284,20 +284,20 @@ const deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand
284
284
  });
285
285
  }
286
286
  };
287
- export const deserializeAws_json1_1DisassociateServiceQuotaTemplateCommand = async (output, context) => {
287
+ export const de_DisassociateServiceQuotaTemplateCommand = async (output, context) => {
288
288
  if (output.statusCode >= 300) {
289
- return deserializeAws_json1_1DisassociateServiceQuotaTemplateCommandError(output, context);
289
+ return de_DisassociateServiceQuotaTemplateCommandError(output, context);
290
290
  }
291
291
  const data = await parseBody(output.body, context);
292
292
  let contents = {};
293
- contents = deserializeAws_json1_1DisassociateServiceQuotaTemplateResponse(data, context);
293
+ contents = de_DisassociateServiceQuotaTemplateResponse(data, context);
294
294
  const response = {
295
295
  $metadata: deserializeMetadata(output),
296
296
  ...contents,
297
297
  };
298
298
  return Promise.resolve(response);
299
299
  };
300
- const deserializeAws_json1_1DisassociateServiceQuotaTemplateCommandError = async (output, context) => {
300
+ const de_DisassociateServiceQuotaTemplateCommandError = async (output, context) => {
301
301
  const parsedOutput = {
302
302
  ...output,
303
303
  body: await parseErrorBody(output.body, context),
@@ -306,28 +306,28 @@ const deserializeAws_json1_1DisassociateServiceQuotaTemplateCommandError = async
306
306
  switch (errorCode) {
307
307
  case "AWSServiceAccessNotEnabledException":
308
308
  case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
309
- throw await deserializeAws_json1_1AWSServiceAccessNotEnabledExceptionResponse(parsedOutput, context);
309
+ throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
310
310
  case "AccessDeniedException":
311
311
  case "com.amazonaws.servicequotas#AccessDeniedException":
312
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
312
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
313
313
  case "DependencyAccessDeniedException":
314
314
  case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
315
- throw await deserializeAws_json1_1DependencyAccessDeniedExceptionResponse(parsedOutput, context);
315
+ throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
316
316
  case "NoAvailableOrganizationException":
317
317
  case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
318
- throw await deserializeAws_json1_1NoAvailableOrganizationExceptionResponse(parsedOutput, context);
318
+ throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
319
319
  case "ServiceException":
320
320
  case "com.amazonaws.servicequotas#ServiceException":
321
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
321
+ throw await de_ServiceExceptionRes(parsedOutput, context);
322
322
  case "ServiceQuotaTemplateNotInUseException":
323
323
  case "com.amazonaws.servicequotas#ServiceQuotaTemplateNotInUseException":
324
- throw await deserializeAws_json1_1ServiceQuotaTemplateNotInUseExceptionResponse(parsedOutput, context);
324
+ throw await de_ServiceQuotaTemplateNotInUseExceptionRes(parsedOutput, context);
325
325
  case "TemplatesNotAvailableInRegionException":
326
326
  case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
327
- throw await deserializeAws_json1_1TemplatesNotAvailableInRegionExceptionResponse(parsedOutput, context);
327
+ throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
328
328
  case "TooManyRequestsException":
329
329
  case "com.amazonaws.servicequotas#TooManyRequestsException":
330
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
330
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
331
331
  default:
332
332
  const parsedBody = parsedOutput.body;
333
333
  throwDefaultError({
@@ -338,20 +338,20 @@ const deserializeAws_json1_1DisassociateServiceQuotaTemplateCommandError = async
338
338
  });
339
339
  }
340
340
  };
341
- export const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommand = async (output, context) => {
341
+ export const de_GetAssociationForServiceQuotaTemplateCommand = async (output, context) => {
342
342
  if (output.statusCode >= 300) {
343
- return deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommandError(output, context);
343
+ return de_GetAssociationForServiceQuotaTemplateCommandError(output, context);
344
344
  }
345
345
  const data = await parseBody(output.body, context);
346
346
  let contents = {};
347
- contents = deserializeAws_json1_1GetAssociationForServiceQuotaTemplateResponse(data, context);
347
+ contents = de_GetAssociationForServiceQuotaTemplateResponse(data, context);
348
348
  const response = {
349
349
  $metadata: deserializeMetadata(output),
350
350
  ...contents,
351
351
  };
352
352
  return Promise.resolve(response);
353
353
  };
354
- const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommandError = async (output, context) => {
354
+ const de_GetAssociationForServiceQuotaTemplateCommandError = async (output, context) => {
355
355
  const parsedOutput = {
356
356
  ...output,
357
357
  body: await parseErrorBody(output.body, context),
@@ -360,28 +360,28 @@ const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommandError =
360
360
  switch (errorCode) {
361
361
  case "AWSServiceAccessNotEnabledException":
362
362
  case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
363
- throw await deserializeAws_json1_1AWSServiceAccessNotEnabledExceptionResponse(parsedOutput, context);
363
+ throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
364
364
  case "AccessDeniedException":
365
365
  case "com.amazonaws.servicequotas#AccessDeniedException":
366
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
366
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
367
367
  case "DependencyAccessDeniedException":
368
368
  case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
369
- throw await deserializeAws_json1_1DependencyAccessDeniedExceptionResponse(parsedOutput, context);
369
+ throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
370
370
  case "NoAvailableOrganizationException":
371
371
  case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
372
- throw await deserializeAws_json1_1NoAvailableOrganizationExceptionResponse(parsedOutput, context);
372
+ throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
373
373
  case "ServiceException":
374
374
  case "com.amazonaws.servicequotas#ServiceException":
375
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
375
+ throw await de_ServiceExceptionRes(parsedOutput, context);
376
376
  case "ServiceQuotaTemplateNotInUseException":
377
377
  case "com.amazonaws.servicequotas#ServiceQuotaTemplateNotInUseException":
378
- throw await deserializeAws_json1_1ServiceQuotaTemplateNotInUseExceptionResponse(parsedOutput, context);
378
+ throw await de_ServiceQuotaTemplateNotInUseExceptionRes(parsedOutput, context);
379
379
  case "TemplatesNotAvailableInRegionException":
380
380
  case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
381
- throw await deserializeAws_json1_1TemplatesNotAvailableInRegionExceptionResponse(parsedOutput, context);
381
+ throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
382
382
  case "TooManyRequestsException":
383
383
  case "com.amazonaws.servicequotas#TooManyRequestsException":
384
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
384
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
385
385
  default:
386
386
  const parsedBody = parsedOutput.body;
387
387
  throwDefaultError({
@@ -392,20 +392,20 @@ const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommandError =
392
392
  });
393
393
  }
394
394
  };
395
- export const deserializeAws_json1_1GetAWSDefaultServiceQuotaCommand = async (output, context) => {
395
+ export const de_GetAWSDefaultServiceQuotaCommand = async (output, context) => {
396
396
  if (output.statusCode >= 300) {
397
- return deserializeAws_json1_1GetAWSDefaultServiceQuotaCommandError(output, context);
397
+ return de_GetAWSDefaultServiceQuotaCommandError(output, context);
398
398
  }
399
399
  const data = await parseBody(output.body, context);
400
400
  let contents = {};
401
- contents = deserializeAws_json1_1GetAWSDefaultServiceQuotaResponse(data, context);
401
+ contents = de_GetAWSDefaultServiceQuotaResponse(data, context);
402
402
  const response = {
403
403
  $metadata: deserializeMetadata(output),
404
404
  ...contents,
405
405
  };
406
406
  return Promise.resolve(response);
407
407
  };
408
- const deserializeAws_json1_1GetAWSDefaultServiceQuotaCommandError = async (output, context) => {
408
+ const de_GetAWSDefaultServiceQuotaCommandError = async (output, context) => {
409
409
  const parsedOutput = {
410
410
  ...output,
411
411
  body: await parseErrorBody(output.body, context),
@@ -414,19 +414,19 @@ const deserializeAws_json1_1GetAWSDefaultServiceQuotaCommandError = async (outpu
414
414
  switch (errorCode) {
415
415
  case "AccessDeniedException":
416
416
  case "com.amazonaws.servicequotas#AccessDeniedException":
417
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
417
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
418
418
  case "IllegalArgumentException":
419
419
  case "com.amazonaws.servicequotas#IllegalArgumentException":
420
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
420
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
421
421
  case "NoSuchResourceException":
422
422
  case "com.amazonaws.servicequotas#NoSuchResourceException":
423
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
423
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
424
424
  case "ServiceException":
425
425
  case "com.amazonaws.servicequotas#ServiceException":
426
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
426
+ throw await de_ServiceExceptionRes(parsedOutput, context);
427
427
  case "TooManyRequestsException":
428
428
  case "com.amazonaws.servicequotas#TooManyRequestsException":
429
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
429
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
430
430
  default:
431
431
  const parsedBody = parsedOutput.body;
432
432
  throwDefaultError({
@@ -437,20 +437,20 @@ const deserializeAws_json1_1GetAWSDefaultServiceQuotaCommandError = async (outpu
437
437
  });
438
438
  }
439
439
  };
440
- export const deserializeAws_json1_1GetRequestedServiceQuotaChangeCommand = async (output, context) => {
440
+ export const de_GetRequestedServiceQuotaChangeCommand = async (output, context) => {
441
441
  if (output.statusCode >= 300) {
442
- return deserializeAws_json1_1GetRequestedServiceQuotaChangeCommandError(output, context);
442
+ return de_GetRequestedServiceQuotaChangeCommandError(output, context);
443
443
  }
444
444
  const data = await parseBody(output.body, context);
445
445
  let contents = {};
446
- contents = deserializeAws_json1_1GetRequestedServiceQuotaChangeResponse(data, context);
446
+ contents = de_GetRequestedServiceQuotaChangeResponse(data, context);
447
447
  const response = {
448
448
  $metadata: deserializeMetadata(output),
449
449
  ...contents,
450
450
  };
451
451
  return Promise.resolve(response);
452
452
  };
453
- const deserializeAws_json1_1GetRequestedServiceQuotaChangeCommandError = async (output, context) => {
453
+ const de_GetRequestedServiceQuotaChangeCommandError = async (output, context) => {
454
454
  const parsedOutput = {
455
455
  ...output,
456
456
  body: await parseErrorBody(output.body, context),
@@ -459,19 +459,19 @@ const deserializeAws_json1_1GetRequestedServiceQuotaChangeCommandError = async (
459
459
  switch (errorCode) {
460
460
  case "AccessDeniedException":
461
461
  case "com.amazonaws.servicequotas#AccessDeniedException":
462
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
462
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
463
463
  case "IllegalArgumentException":
464
464
  case "com.amazonaws.servicequotas#IllegalArgumentException":
465
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
465
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
466
466
  case "NoSuchResourceException":
467
467
  case "com.amazonaws.servicequotas#NoSuchResourceException":
468
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
468
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
469
469
  case "ServiceException":
470
470
  case "com.amazonaws.servicequotas#ServiceException":
471
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
471
+ throw await de_ServiceExceptionRes(parsedOutput, context);
472
472
  case "TooManyRequestsException":
473
473
  case "com.amazonaws.servicequotas#TooManyRequestsException":
474
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
474
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
475
475
  default:
476
476
  const parsedBody = parsedOutput.body;
477
477
  throwDefaultError({
@@ -482,20 +482,20 @@ const deserializeAws_json1_1GetRequestedServiceQuotaChangeCommandError = async (
482
482
  });
483
483
  }
484
484
  };
485
- export const deserializeAws_json1_1GetServiceQuotaCommand = async (output, context) => {
485
+ export const de_GetServiceQuotaCommand = async (output, context) => {
486
486
  if (output.statusCode >= 300) {
487
- return deserializeAws_json1_1GetServiceQuotaCommandError(output, context);
487
+ return de_GetServiceQuotaCommandError(output, context);
488
488
  }
489
489
  const data = await parseBody(output.body, context);
490
490
  let contents = {};
491
- contents = deserializeAws_json1_1GetServiceQuotaResponse(data, context);
491
+ contents = de_GetServiceQuotaResponse(data, context);
492
492
  const response = {
493
493
  $metadata: deserializeMetadata(output),
494
494
  ...contents,
495
495
  };
496
496
  return Promise.resolve(response);
497
497
  };
498
- const deserializeAws_json1_1GetServiceQuotaCommandError = async (output, context) => {
498
+ const de_GetServiceQuotaCommandError = async (output, context) => {
499
499
  const parsedOutput = {
500
500
  ...output,
501
501
  body: await parseErrorBody(output.body, context),
@@ -504,19 +504,19 @@ const deserializeAws_json1_1GetServiceQuotaCommandError = async (output, context
504
504
  switch (errorCode) {
505
505
  case "AccessDeniedException":
506
506
  case "com.amazonaws.servicequotas#AccessDeniedException":
507
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
507
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
508
508
  case "IllegalArgumentException":
509
509
  case "com.amazonaws.servicequotas#IllegalArgumentException":
510
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
510
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
511
511
  case "NoSuchResourceException":
512
512
  case "com.amazonaws.servicequotas#NoSuchResourceException":
513
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
513
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
514
514
  case "ServiceException":
515
515
  case "com.amazonaws.servicequotas#ServiceException":
516
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
516
+ throw await de_ServiceExceptionRes(parsedOutput, context);
517
517
  case "TooManyRequestsException":
518
518
  case "com.amazonaws.servicequotas#TooManyRequestsException":
519
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
519
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
520
520
  default:
521
521
  const parsedBody = parsedOutput.body;
522
522
  throwDefaultError({
@@ -527,20 +527,20 @@ const deserializeAws_json1_1GetServiceQuotaCommandError = async (output, context
527
527
  });
528
528
  }
529
529
  };
530
- export const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
530
+ export const de_GetServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
531
531
  if (output.statusCode >= 300) {
532
- return deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommandError(output, context);
532
+ return de_GetServiceQuotaIncreaseRequestFromTemplateCommandError(output, context);
533
533
  }
534
534
  const data = await parseBody(output.body, context);
535
535
  let contents = {};
536
- contents = deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateResponse(data, context);
536
+ contents = de_GetServiceQuotaIncreaseRequestFromTemplateResponse(data, context);
537
537
  const response = {
538
538
  $metadata: deserializeMetadata(output),
539
539
  ...contents,
540
540
  };
541
541
  return Promise.resolve(response);
542
542
  };
543
- const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommandError = async (output, context) => {
543
+ const de_GetServiceQuotaIncreaseRequestFromTemplateCommandError = async (output, context) => {
544
544
  const parsedOutput = {
545
545
  ...output,
546
546
  body: await parseErrorBody(output.body, context),
@@ -549,31 +549,31 @@ const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommandErr
549
549
  switch (errorCode) {
550
550
  case "AWSServiceAccessNotEnabledException":
551
551
  case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
552
- throw await deserializeAws_json1_1AWSServiceAccessNotEnabledExceptionResponse(parsedOutput, context);
552
+ throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
553
553
  case "AccessDeniedException":
554
554
  case "com.amazonaws.servicequotas#AccessDeniedException":
555
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
555
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
556
556
  case "DependencyAccessDeniedException":
557
557
  case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
558
- throw await deserializeAws_json1_1DependencyAccessDeniedExceptionResponse(parsedOutput, context);
558
+ throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
559
559
  case "IllegalArgumentException":
560
560
  case "com.amazonaws.servicequotas#IllegalArgumentException":
561
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
561
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
562
562
  case "NoAvailableOrganizationException":
563
563
  case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
564
- throw await deserializeAws_json1_1NoAvailableOrganizationExceptionResponse(parsedOutput, context);
564
+ throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
565
565
  case "NoSuchResourceException":
566
566
  case "com.amazonaws.servicequotas#NoSuchResourceException":
567
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
567
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
568
568
  case "ServiceException":
569
569
  case "com.amazonaws.servicequotas#ServiceException":
570
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
570
+ throw await de_ServiceExceptionRes(parsedOutput, context);
571
571
  case "TemplatesNotAvailableInRegionException":
572
572
  case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
573
- throw await deserializeAws_json1_1TemplatesNotAvailableInRegionExceptionResponse(parsedOutput, context);
573
+ throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
574
574
  case "TooManyRequestsException":
575
575
  case "com.amazonaws.servicequotas#TooManyRequestsException":
576
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
576
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
577
577
  default:
578
578
  const parsedBody = parsedOutput.body;
579
579
  throwDefaultError({
@@ -584,20 +584,20 @@ const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommandErr
584
584
  });
585
585
  }
586
586
  };
587
- export const deserializeAws_json1_1ListAWSDefaultServiceQuotasCommand = async (output, context) => {
587
+ export const de_ListAWSDefaultServiceQuotasCommand = async (output, context) => {
588
588
  if (output.statusCode >= 300) {
589
- return deserializeAws_json1_1ListAWSDefaultServiceQuotasCommandError(output, context);
589
+ return de_ListAWSDefaultServiceQuotasCommandError(output, context);
590
590
  }
591
591
  const data = await parseBody(output.body, context);
592
592
  let contents = {};
593
- contents = deserializeAws_json1_1ListAWSDefaultServiceQuotasResponse(data, context);
593
+ contents = de_ListAWSDefaultServiceQuotasResponse(data, context);
594
594
  const response = {
595
595
  $metadata: deserializeMetadata(output),
596
596
  ...contents,
597
597
  };
598
598
  return Promise.resolve(response);
599
599
  };
600
- const deserializeAws_json1_1ListAWSDefaultServiceQuotasCommandError = async (output, context) => {
600
+ const de_ListAWSDefaultServiceQuotasCommandError = async (output, context) => {
601
601
  const parsedOutput = {
602
602
  ...output,
603
603
  body: await parseErrorBody(output.body, context),
@@ -606,22 +606,22 @@ const deserializeAws_json1_1ListAWSDefaultServiceQuotasCommandError = async (out
606
606
  switch (errorCode) {
607
607
  case "AccessDeniedException":
608
608
  case "com.amazonaws.servicequotas#AccessDeniedException":
609
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
609
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
610
610
  case "IllegalArgumentException":
611
611
  case "com.amazonaws.servicequotas#IllegalArgumentException":
612
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
612
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
613
613
  case "InvalidPaginationTokenException":
614
614
  case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
615
- throw await deserializeAws_json1_1InvalidPaginationTokenExceptionResponse(parsedOutput, context);
615
+ throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
616
616
  case "NoSuchResourceException":
617
617
  case "com.amazonaws.servicequotas#NoSuchResourceException":
618
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
618
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
619
619
  case "ServiceException":
620
620
  case "com.amazonaws.servicequotas#ServiceException":
621
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
621
+ throw await de_ServiceExceptionRes(parsedOutput, context);
622
622
  case "TooManyRequestsException":
623
623
  case "com.amazonaws.servicequotas#TooManyRequestsException":
624
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
624
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
625
625
  default:
626
626
  const parsedBody = parsedOutput.body;
627
627
  throwDefaultError({
@@ -632,20 +632,20 @@ const deserializeAws_json1_1ListAWSDefaultServiceQuotasCommandError = async (out
632
632
  });
633
633
  }
634
634
  };
635
- export const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommand = async (output, context) => {
635
+ export const de_ListRequestedServiceQuotaChangeHistoryCommand = async (output, context) => {
636
636
  if (output.statusCode >= 300) {
637
- return deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommandError(output, context);
637
+ return de_ListRequestedServiceQuotaChangeHistoryCommandError(output, context);
638
638
  }
639
639
  const data = await parseBody(output.body, context);
640
640
  let contents = {};
641
- contents = deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryResponse(data, context);
641
+ contents = de_ListRequestedServiceQuotaChangeHistoryResponse(data, context);
642
642
  const response = {
643
643
  $metadata: deserializeMetadata(output),
644
644
  ...contents,
645
645
  };
646
646
  return Promise.resolve(response);
647
647
  };
648
- const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommandError = async (output, context) => {
648
+ const de_ListRequestedServiceQuotaChangeHistoryCommandError = async (output, context) => {
649
649
  const parsedOutput = {
650
650
  ...output,
651
651
  body: await parseErrorBody(output.body, context),
@@ -654,22 +654,22 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommandError =
654
654
  switch (errorCode) {
655
655
  case "AccessDeniedException":
656
656
  case "com.amazonaws.servicequotas#AccessDeniedException":
657
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
657
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
658
658
  case "IllegalArgumentException":
659
659
  case "com.amazonaws.servicequotas#IllegalArgumentException":
660
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
660
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
661
661
  case "InvalidPaginationTokenException":
662
662
  case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
663
- throw await deserializeAws_json1_1InvalidPaginationTokenExceptionResponse(parsedOutput, context);
663
+ throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
664
664
  case "NoSuchResourceException":
665
665
  case "com.amazonaws.servicequotas#NoSuchResourceException":
666
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
666
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
667
667
  case "ServiceException":
668
668
  case "com.amazonaws.servicequotas#ServiceException":
669
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
669
+ throw await de_ServiceExceptionRes(parsedOutput, context);
670
670
  case "TooManyRequestsException":
671
671
  case "com.amazonaws.servicequotas#TooManyRequestsException":
672
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
672
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
673
673
  default:
674
674
  const parsedBody = parsedOutput.body;
675
675
  throwDefaultError({
@@ -680,20 +680,20 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommandError =
680
680
  });
681
681
  }
682
682
  };
683
- export const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand = async (output, context) => {
683
+ export const de_ListRequestedServiceQuotaChangeHistoryByQuotaCommand = async (output, context) => {
684
684
  if (output.statusCode >= 300) {
685
- return deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommandError(output, context);
685
+ return de_ListRequestedServiceQuotaChangeHistoryByQuotaCommandError(output, context);
686
686
  }
687
687
  const data = await parseBody(output.body, context);
688
688
  let contents = {};
689
- contents = deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaResponse(data, context);
689
+ contents = de_ListRequestedServiceQuotaChangeHistoryByQuotaResponse(data, context);
690
690
  const response = {
691
691
  $metadata: deserializeMetadata(output),
692
692
  ...contents,
693
693
  };
694
694
  return Promise.resolve(response);
695
695
  };
696
- const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommandError = async (output, context) => {
696
+ const de_ListRequestedServiceQuotaChangeHistoryByQuotaCommandError = async (output, context) => {
697
697
  const parsedOutput = {
698
698
  ...output,
699
699
  body: await parseErrorBody(output.body, context),
@@ -702,22 +702,22 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand
702
702
  switch (errorCode) {
703
703
  case "AccessDeniedException":
704
704
  case "com.amazonaws.servicequotas#AccessDeniedException":
705
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
705
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
706
706
  case "IllegalArgumentException":
707
707
  case "com.amazonaws.servicequotas#IllegalArgumentException":
708
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
708
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
709
709
  case "InvalidPaginationTokenException":
710
710
  case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
711
- throw await deserializeAws_json1_1InvalidPaginationTokenExceptionResponse(parsedOutput, context);
711
+ throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
712
712
  case "NoSuchResourceException":
713
713
  case "com.amazonaws.servicequotas#NoSuchResourceException":
714
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
714
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
715
715
  case "ServiceException":
716
716
  case "com.amazonaws.servicequotas#ServiceException":
717
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
717
+ throw await de_ServiceExceptionRes(parsedOutput, context);
718
718
  case "TooManyRequestsException":
719
719
  case "com.amazonaws.servicequotas#TooManyRequestsException":
720
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
720
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
721
721
  default:
722
722
  const parsedBody = parsedOutput.body;
723
723
  throwDefaultError({
@@ -728,20 +728,20 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand
728
728
  });
729
729
  }
730
730
  };
731
- export const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommand = async (output, context) => {
731
+ export const de_ListServiceQuotaIncreaseRequestsInTemplateCommand = async (output, context) => {
732
732
  if (output.statusCode >= 300) {
733
- return deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommandError(output, context);
733
+ return de_ListServiceQuotaIncreaseRequestsInTemplateCommandError(output, context);
734
734
  }
735
735
  const data = await parseBody(output.body, context);
736
736
  let contents = {};
737
- contents = deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateResponse(data, context);
737
+ contents = de_ListServiceQuotaIncreaseRequestsInTemplateResponse(data, context);
738
738
  const response = {
739
739
  $metadata: deserializeMetadata(output),
740
740
  ...contents,
741
741
  };
742
742
  return Promise.resolve(response);
743
743
  };
744
- const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommandError = async (output, context) => {
744
+ const de_ListServiceQuotaIncreaseRequestsInTemplateCommandError = async (output, context) => {
745
745
  const parsedOutput = {
746
746
  ...output,
747
747
  body: await parseErrorBody(output.body, context),
@@ -750,28 +750,28 @@ const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommandErr
750
750
  switch (errorCode) {
751
751
  case "AWSServiceAccessNotEnabledException":
752
752
  case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
753
- throw await deserializeAws_json1_1AWSServiceAccessNotEnabledExceptionResponse(parsedOutput, context);
753
+ throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
754
754
  case "AccessDeniedException":
755
755
  case "com.amazonaws.servicequotas#AccessDeniedException":
756
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
756
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
757
757
  case "DependencyAccessDeniedException":
758
758
  case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
759
- throw await deserializeAws_json1_1DependencyAccessDeniedExceptionResponse(parsedOutput, context);
759
+ throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
760
760
  case "IllegalArgumentException":
761
761
  case "com.amazonaws.servicequotas#IllegalArgumentException":
762
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
762
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
763
763
  case "NoAvailableOrganizationException":
764
764
  case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
765
- throw await deserializeAws_json1_1NoAvailableOrganizationExceptionResponse(parsedOutput, context);
765
+ throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
766
766
  case "ServiceException":
767
767
  case "com.amazonaws.servicequotas#ServiceException":
768
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
768
+ throw await de_ServiceExceptionRes(parsedOutput, context);
769
769
  case "TemplatesNotAvailableInRegionException":
770
770
  case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
771
- throw await deserializeAws_json1_1TemplatesNotAvailableInRegionExceptionResponse(parsedOutput, context);
771
+ throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
772
772
  case "TooManyRequestsException":
773
773
  case "com.amazonaws.servicequotas#TooManyRequestsException":
774
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
774
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
775
775
  default:
776
776
  const parsedBody = parsedOutput.body;
777
777
  throwDefaultError({
@@ -782,20 +782,20 @@ const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommandErr
782
782
  });
783
783
  }
784
784
  };
785
- export const deserializeAws_json1_1ListServiceQuotasCommand = async (output, context) => {
785
+ export const de_ListServiceQuotasCommand = async (output, context) => {
786
786
  if (output.statusCode >= 300) {
787
- return deserializeAws_json1_1ListServiceQuotasCommandError(output, context);
787
+ return de_ListServiceQuotasCommandError(output, context);
788
788
  }
789
789
  const data = await parseBody(output.body, context);
790
790
  let contents = {};
791
- contents = deserializeAws_json1_1ListServiceQuotasResponse(data, context);
791
+ contents = de_ListServiceQuotasResponse(data, context);
792
792
  const response = {
793
793
  $metadata: deserializeMetadata(output),
794
794
  ...contents,
795
795
  };
796
796
  return Promise.resolve(response);
797
797
  };
798
- const deserializeAws_json1_1ListServiceQuotasCommandError = async (output, context) => {
798
+ const de_ListServiceQuotasCommandError = async (output, context) => {
799
799
  const parsedOutput = {
800
800
  ...output,
801
801
  body: await parseErrorBody(output.body, context),
@@ -804,22 +804,22 @@ const deserializeAws_json1_1ListServiceQuotasCommandError = async (output, conte
804
804
  switch (errorCode) {
805
805
  case "AccessDeniedException":
806
806
  case "com.amazonaws.servicequotas#AccessDeniedException":
807
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
807
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
808
808
  case "IllegalArgumentException":
809
809
  case "com.amazonaws.servicequotas#IllegalArgumentException":
810
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
810
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
811
811
  case "InvalidPaginationTokenException":
812
812
  case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
813
- throw await deserializeAws_json1_1InvalidPaginationTokenExceptionResponse(parsedOutput, context);
813
+ throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
814
814
  case "NoSuchResourceException":
815
815
  case "com.amazonaws.servicequotas#NoSuchResourceException":
816
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
816
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
817
817
  case "ServiceException":
818
818
  case "com.amazonaws.servicequotas#ServiceException":
819
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
819
+ throw await de_ServiceExceptionRes(parsedOutput, context);
820
820
  case "TooManyRequestsException":
821
821
  case "com.amazonaws.servicequotas#TooManyRequestsException":
822
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
822
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
823
823
  default:
824
824
  const parsedBody = parsedOutput.body;
825
825
  throwDefaultError({
@@ -830,20 +830,20 @@ const deserializeAws_json1_1ListServiceQuotasCommandError = async (output, conte
830
830
  });
831
831
  }
832
832
  };
833
- export const deserializeAws_json1_1ListServicesCommand = async (output, context) => {
833
+ export const de_ListServicesCommand = async (output, context) => {
834
834
  if (output.statusCode >= 300) {
835
- return deserializeAws_json1_1ListServicesCommandError(output, context);
835
+ return de_ListServicesCommandError(output, context);
836
836
  }
837
837
  const data = await parseBody(output.body, context);
838
838
  let contents = {};
839
- contents = deserializeAws_json1_1ListServicesResponse(data, context);
839
+ contents = de_ListServicesResponse(data, context);
840
840
  const response = {
841
841
  $metadata: deserializeMetadata(output),
842
842
  ...contents,
843
843
  };
844
844
  return Promise.resolve(response);
845
845
  };
846
- const deserializeAws_json1_1ListServicesCommandError = async (output, context) => {
846
+ const de_ListServicesCommandError = async (output, context) => {
847
847
  const parsedOutput = {
848
848
  ...output,
849
849
  body: await parseErrorBody(output.body, context),
@@ -852,19 +852,19 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
852
852
  switch (errorCode) {
853
853
  case "AccessDeniedException":
854
854
  case "com.amazonaws.servicequotas#AccessDeniedException":
855
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
855
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
856
856
  case "IllegalArgumentException":
857
857
  case "com.amazonaws.servicequotas#IllegalArgumentException":
858
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
858
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
859
859
  case "InvalidPaginationTokenException":
860
860
  case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
861
- throw await deserializeAws_json1_1InvalidPaginationTokenExceptionResponse(parsedOutput, context);
861
+ throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
862
862
  case "ServiceException":
863
863
  case "com.amazonaws.servicequotas#ServiceException":
864
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
864
+ throw await de_ServiceExceptionRes(parsedOutput, context);
865
865
  case "TooManyRequestsException":
866
866
  case "com.amazonaws.servicequotas#TooManyRequestsException":
867
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
867
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
868
868
  default:
869
869
  const parsedBody = parsedOutput.body;
870
870
  throwDefaultError({
@@ -875,20 +875,20 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
875
875
  });
876
876
  }
877
877
  };
878
- export const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
878
+ export const de_ListTagsForResourceCommand = async (output, context) => {
879
879
  if (output.statusCode >= 300) {
880
- return deserializeAws_json1_1ListTagsForResourceCommandError(output, context);
880
+ return de_ListTagsForResourceCommandError(output, context);
881
881
  }
882
882
  const data = await parseBody(output.body, context);
883
883
  let contents = {};
884
- contents = deserializeAws_json1_1ListTagsForResourceResponse(data, context);
884
+ contents = de_ListTagsForResourceResponse(data, context);
885
885
  const response = {
886
886
  $metadata: deserializeMetadata(output),
887
887
  ...contents,
888
888
  };
889
889
  return Promise.resolve(response);
890
890
  };
891
- const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
891
+ const de_ListTagsForResourceCommandError = async (output, context) => {
892
892
  const parsedOutput = {
893
893
  ...output,
894
894
  body: await parseErrorBody(output.body, context),
@@ -897,19 +897,19 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
897
897
  switch (errorCode) {
898
898
  case "AccessDeniedException":
899
899
  case "com.amazonaws.servicequotas#AccessDeniedException":
900
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
900
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
901
901
  case "IllegalArgumentException":
902
902
  case "com.amazonaws.servicequotas#IllegalArgumentException":
903
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
903
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
904
904
  case "NoSuchResourceException":
905
905
  case "com.amazonaws.servicequotas#NoSuchResourceException":
906
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
906
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
907
907
  case "ServiceException":
908
908
  case "com.amazonaws.servicequotas#ServiceException":
909
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
909
+ throw await de_ServiceExceptionRes(parsedOutput, context);
910
910
  case "TooManyRequestsException":
911
911
  case "com.amazonaws.servicequotas#TooManyRequestsException":
912
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
912
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
913
913
  default:
914
914
  const parsedBody = parsedOutput.body;
915
915
  throwDefaultError({
@@ -920,20 +920,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
920
920
  });
921
921
  }
922
922
  };
923
- export const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommand = async (output, context) => {
923
+ export const de_PutServiceQuotaIncreaseRequestIntoTemplateCommand = async (output, context) => {
924
924
  if (output.statusCode >= 300) {
925
- return deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommandError(output, context);
925
+ return de_PutServiceQuotaIncreaseRequestIntoTemplateCommandError(output, context);
926
926
  }
927
927
  const data = await parseBody(output.body, context);
928
928
  let contents = {};
929
- contents = deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateResponse(data, context);
929
+ contents = de_PutServiceQuotaIncreaseRequestIntoTemplateResponse(data, context);
930
930
  const response = {
931
931
  $metadata: deserializeMetadata(output),
932
932
  ...contents,
933
933
  };
934
934
  return Promise.resolve(response);
935
935
  };
936
- const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommandError = async (output, context) => {
936
+ const de_PutServiceQuotaIncreaseRequestIntoTemplateCommandError = async (output, context) => {
937
937
  const parsedOutput = {
938
938
  ...output,
939
939
  body: await parseErrorBody(output.body, context),
@@ -942,34 +942,34 @@ const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommandErr
942
942
  switch (errorCode) {
943
943
  case "AWSServiceAccessNotEnabledException":
944
944
  case "com.amazonaws.servicequotas#AWSServiceAccessNotEnabledException":
945
- throw await deserializeAws_json1_1AWSServiceAccessNotEnabledExceptionResponse(parsedOutput, context);
945
+ throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
946
946
  case "AccessDeniedException":
947
947
  case "com.amazonaws.servicequotas#AccessDeniedException":
948
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
948
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
949
949
  case "DependencyAccessDeniedException":
950
950
  case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
951
- throw await deserializeAws_json1_1DependencyAccessDeniedExceptionResponse(parsedOutput, context);
951
+ throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
952
952
  case "IllegalArgumentException":
953
953
  case "com.amazonaws.servicequotas#IllegalArgumentException":
954
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
954
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
955
955
  case "NoAvailableOrganizationException":
956
956
  case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
957
- throw await deserializeAws_json1_1NoAvailableOrganizationExceptionResponse(parsedOutput, context);
957
+ throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
958
958
  case "NoSuchResourceException":
959
959
  case "com.amazonaws.servicequotas#NoSuchResourceException":
960
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
960
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
961
961
  case "QuotaExceededException":
962
962
  case "com.amazonaws.servicequotas#QuotaExceededException":
963
- throw await deserializeAws_json1_1QuotaExceededExceptionResponse(parsedOutput, context);
963
+ throw await de_QuotaExceededExceptionRes(parsedOutput, context);
964
964
  case "ServiceException":
965
965
  case "com.amazonaws.servicequotas#ServiceException":
966
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
966
+ throw await de_ServiceExceptionRes(parsedOutput, context);
967
967
  case "TemplatesNotAvailableInRegionException":
968
968
  case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
969
- throw await deserializeAws_json1_1TemplatesNotAvailableInRegionExceptionResponse(parsedOutput, context);
969
+ throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
970
970
  case "TooManyRequestsException":
971
971
  case "com.amazonaws.servicequotas#TooManyRequestsException":
972
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
972
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
973
973
  default:
974
974
  const parsedBody = parsedOutput.body;
975
975
  throwDefaultError({
@@ -980,20 +980,20 @@ const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommandErr
980
980
  });
981
981
  }
982
982
  };
983
- export const deserializeAws_json1_1RequestServiceQuotaIncreaseCommand = async (output, context) => {
983
+ export const de_RequestServiceQuotaIncreaseCommand = async (output, context) => {
984
984
  if (output.statusCode >= 300) {
985
- return deserializeAws_json1_1RequestServiceQuotaIncreaseCommandError(output, context);
985
+ return de_RequestServiceQuotaIncreaseCommandError(output, context);
986
986
  }
987
987
  const data = await parseBody(output.body, context);
988
988
  let contents = {};
989
- contents = deserializeAws_json1_1RequestServiceQuotaIncreaseResponse(data, context);
989
+ contents = de_RequestServiceQuotaIncreaseResponse(data, context);
990
990
  const response = {
991
991
  $metadata: deserializeMetadata(output),
992
992
  ...contents,
993
993
  };
994
994
  return Promise.resolve(response);
995
995
  };
996
- const deserializeAws_json1_1RequestServiceQuotaIncreaseCommandError = async (output, context) => {
996
+ const de_RequestServiceQuotaIncreaseCommandError = async (output, context) => {
997
997
  const parsedOutput = {
998
998
  ...output,
999
999
  body: await parseErrorBody(output.body, context),
@@ -1002,31 +1002,31 @@ const deserializeAws_json1_1RequestServiceQuotaIncreaseCommandError = async (out
1002
1002
  switch (errorCode) {
1003
1003
  case "AccessDeniedException":
1004
1004
  case "com.amazonaws.servicequotas#AccessDeniedException":
1005
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1005
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1006
1006
  case "DependencyAccessDeniedException":
1007
1007
  case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
1008
- throw await deserializeAws_json1_1DependencyAccessDeniedExceptionResponse(parsedOutput, context);
1008
+ throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
1009
1009
  case "IllegalArgumentException":
1010
1010
  case "com.amazonaws.servicequotas#IllegalArgumentException":
1011
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
1011
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
1012
1012
  case "InvalidResourceStateException":
1013
1013
  case "com.amazonaws.servicequotas#InvalidResourceStateException":
1014
- throw await deserializeAws_json1_1InvalidResourceStateExceptionResponse(parsedOutput, context);
1014
+ throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
1015
1015
  case "NoSuchResourceException":
1016
1016
  case "com.amazonaws.servicequotas#NoSuchResourceException":
1017
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
1017
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
1018
1018
  case "QuotaExceededException":
1019
1019
  case "com.amazonaws.servicequotas#QuotaExceededException":
1020
- throw await deserializeAws_json1_1QuotaExceededExceptionResponse(parsedOutput, context);
1020
+ throw await de_QuotaExceededExceptionRes(parsedOutput, context);
1021
1021
  case "ResourceAlreadyExistsException":
1022
1022
  case "com.amazonaws.servicequotas#ResourceAlreadyExistsException":
1023
- throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
1023
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1024
1024
  case "ServiceException":
1025
1025
  case "com.amazonaws.servicequotas#ServiceException":
1026
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
1026
+ throw await de_ServiceExceptionRes(parsedOutput, context);
1027
1027
  case "TooManyRequestsException":
1028
1028
  case "com.amazonaws.servicequotas#TooManyRequestsException":
1029
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
1029
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1030
1030
  default:
1031
1031
  const parsedBody = parsedOutput.body;
1032
1032
  throwDefaultError({
@@ -1037,20 +1037,20 @@ const deserializeAws_json1_1RequestServiceQuotaIncreaseCommandError = async (out
1037
1037
  });
1038
1038
  }
1039
1039
  };
1040
- export const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
1040
+ export const de_TagResourceCommand = async (output, context) => {
1041
1041
  if (output.statusCode >= 300) {
1042
- return deserializeAws_json1_1TagResourceCommandError(output, context);
1042
+ return de_TagResourceCommandError(output, context);
1043
1043
  }
1044
1044
  const data = await parseBody(output.body, context);
1045
1045
  let contents = {};
1046
- contents = deserializeAws_json1_1TagResourceResponse(data, context);
1046
+ contents = de_TagResourceResponse(data, context);
1047
1047
  const response = {
1048
1048
  $metadata: deserializeMetadata(output),
1049
1049
  ...contents,
1050
1050
  };
1051
1051
  return Promise.resolve(response);
1052
1052
  };
1053
- const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
1053
+ const de_TagResourceCommandError = async (output, context) => {
1054
1054
  const parsedOutput = {
1055
1055
  ...output,
1056
1056
  body: await parseErrorBody(output.body, context),
@@ -1059,25 +1059,25 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1059
1059
  switch (errorCode) {
1060
1060
  case "AccessDeniedException":
1061
1061
  case "com.amazonaws.servicequotas#AccessDeniedException":
1062
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1062
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1063
1063
  case "IllegalArgumentException":
1064
1064
  case "com.amazonaws.servicequotas#IllegalArgumentException":
1065
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
1065
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
1066
1066
  case "NoSuchResourceException":
1067
1067
  case "com.amazonaws.servicequotas#NoSuchResourceException":
1068
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
1068
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
1069
1069
  case "ServiceException":
1070
1070
  case "com.amazonaws.servicequotas#ServiceException":
1071
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
1071
+ throw await de_ServiceExceptionRes(parsedOutput, context);
1072
1072
  case "TagPolicyViolationException":
1073
1073
  case "com.amazonaws.servicequotas#TagPolicyViolationException":
1074
- throw await deserializeAws_json1_1TagPolicyViolationExceptionResponse(parsedOutput, context);
1074
+ throw await de_TagPolicyViolationExceptionRes(parsedOutput, context);
1075
1075
  case "TooManyRequestsException":
1076
1076
  case "com.amazonaws.servicequotas#TooManyRequestsException":
1077
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
1077
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1078
1078
  case "TooManyTagsException":
1079
1079
  case "com.amazonaws.servicequotas#TooManyTagsException":
1080
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
1080
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1081
1081
  default:
1082
1082
  const parsedBody = parsedOutput.body;
1083
1083
  throwDefaultError({
@@ -1088,20 +1088,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1088
1088
  });
1089
1089
  }
1090
1090
  };
1091
- export const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
1091
+ export const de_UntagResourceCommand = async (output, context) => {
1092
1092
  if (output.statusCode >= 300) {
1093
- return deserializeAws_json1_1UntagResourceCommandError(output, context);
1093
+ return de_UntagResourceCommandError(output, context);
1094
1094
  }
1095
1095
  const data = await parseBody(output.body, context);
1096
1096
  let contents = {};
1097
- contents = deserializeAws_json1_1UntagResourceResponse(data, context);
1097
+ contents = de_UntagResourceResponse(data, context);
1098
1098
  const response = {
1099
1099
  $metadata: deserializeMetadata(output),
1100
1100
  ...contents,
1101
1101
  };
1102
1102
  return Promise.resolve(response);
1103
1103
  };
1104
- const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
1104
+ const de_UntagResourceCommandError = async (output, context) => {
1105
1105
  const parsedOutput = {
1106
1106
  ...output,
1107
1107
  body: await parseErrorBody(output.body, context),
@@ -1110,19 +1110,19 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1110
1110
  switch (errorCode) {
1111
1111
  case "AccessDeniedException":
1112
1112
  case "com.amazonaws.servicequotas#AccessDeniedException":
1113
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1113
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1114
1114
  case "IllegalArgumentException":
1115
1115
  case "com.amazonaws.servicequotas#IllegalArgumentException":
1116
- throw await deserializeAws_json1_1IllegalArgumentExceptionResponse(parsedOutput, context);
1116
+ throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
1117
1117
  case "NoSuchResourceException":
1118
1118
  case "com.amazonaws.servicequotas#NoSuchResourceException":
1119
- throw await deserializeAws_json1_1NoSuchResourceExceptionResponse(parsedOutput, context);
1119
+ throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
1120
1120
  case "ServiceException":
1121
1121
  case "com.amazonaws.servicequotas#ServiceException":
1122
- throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
1122
+ throw await de_ServiceExceptionRes(parsedOutput, context);
1123
1123
  case "TooManyRequestsException":
1124
1124
  case "com.amazonaws.servicequotas#TooManyRequestsException":
1125
- throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
1125
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1126
1126
  default:
1127
1127
  const parsedBody = parsedOutput.body;
1128
1128
  throwDefaultError({
@@ -1133,221 +1133,221 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1133
1133
  });
1134
1134
  }
1135
1135
  };
1136
- const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1136
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1137
1137
  const body = parsedOutput.body;
1138
- const deserialized = deserializeAws_json1_1AccessDeniedException(body, context);
1138
+ const deserialized = de_AccessDeniedException(body, context);
1139
1139
  const exception = new AccessDeniedException({
1140
1140
  $metadata: deserializeMetadata(parsedOutput),
1141
1141
  ...deserialized,
1142
1142
  });
1143
1143
  return __decorateServiceException(exception, body);
1144
1144
  };
1145
- const deserializeAws_json1_1AWSServiceAccessNotEnabledExceptionResponse = async (parsedOutput, context) => {
1145
+ const de_AWSServiceAccessNotEnabledExceptionRes = async (parsedOutput, context) => {
1146
1146
  const body = parsedOutput.body;
1147
- const deserialized = deserializeAws_json1_1AWSServiceAccessNotEnabledException(body, context);
1147
+ const deserialized = de_AWSServiceAccessNotEnabledException(body, context);
1148
1148
  const exception = new AWSServiceAccessNotEnabledException({
1149
1149
  $metadata: deserializeMetadata(parsedOutput),
1150
1150
  ...deserialized,
1151
1151
  });
1152
1152
  return __decorateServiceException(exception, body);
1153
1153
  };
1154
- const deserializeAws_json1_1DependencyAccessDeniedExceptionResponse = async (parsedOutput, context) => {
1154
+ const de_DependencyAccessDeniedExceptionRes = async (parsedOutput, context) => {
1155
1155
  const body = parsedOutput.body;
1156
- const deserialized = deserializeAws_json1_1DependencyAccessDeniedException(body, context);
1156
+ const deserialized = de_DependencyAccessDeniedException(body, context);
1157
1157
  const exception = new DependencyAccessDeniedException({
1158
1158
  $metadata: deserializeMetadata(parsedOutput),
1159
1159
  ...deserialized,
1160
1160
  });
1161
1161
  return __decorateServiceException(exception, body);
1162
1162
  };
1163
- const deserializeAws_json1_1IllegalArgumentExceptionResponse = async (parsedOutput, context) => {
1163
+ const de_IllegalArgumentExceptionRes = async (parsedOutput, context) => {
1164
1164
  const body = parsedOutput.body;
1165
- const deserialized = deserializeAws_json1_1IllegalArgumentException(body, context);
1165
+ const deserialized = de_IllegalArgumentException(body, context);
1166
1166
  const exception = new IllegalArgumentException({
1167
1167
  $metadata: deserializeMetadata(parsedOutput),
1168
1168
  ...deserialized,
1169
1169
  });
1170
1170
  return __decorateServiceException(exception, body);
1171
1171
  };
1172
- const deserializeAws_json1_1InvalidPaginationTokenExceptionResponse = async (parsedOutput, context) => {
1172
+ const de_InvalidPaginationTokenExceptionRes = async (parsedOutput, context) => {
1173
1173
  const body = parsedOutput.body;
1174
- const deserialized = deserializeAws_json1_1InvalidPaginationTokenException(body, context);
1174
+ const deserialized = de_InvalidPaginationTokenException(body, context);
1175
1175
  const exception = new InvalidPaginationTokenException({
1176
1176
  $metadata: deserializeMetadata(parsedOutput),
1177
1177
  ...deserialized,
1178
1178
  });
1179
1179
  return __decorateServiceException(exception, body);
1180
1180
  };
1181
- const deserializeAws_json1_1InvalidResourceStateExceptionResponse = async (parsedOutput, context) => {
1181
+ const de_InvalidResourceStateExceptionRes = async (parsedOutput, context) => {
1182
1182
  const body = parsedOutput.body;
1183
- const deserialized = deserializeAws_json1_1InvalidResourceStateException(body, context);
1183
+ const deserialized = de_InvalidResourceStateException(body, context);
1184
1184
  const exception = new InvalidResourceStateException({
1185
1185
  $metadata: deserializeMetadata(parsedOutput),
1186
1186
  ...deserialized,
1187
1187
  });
1188
1188
  return __decorateServiceException(exception, body);
1189
1189
  };
1190
- const deserializeAws_json1_1NoAvailableOrganizationExceptionResponse = async (parsedOutput, context) => {
1190
+ const de_NoAvailableOrganizationExceptionRes = async (parsedOutput, context) => {
1191
1191
  const body = parsedOutput.body;
1192
- const deserialized = deserializeAws_json1_1NoAvailableOrganizationException(body, context);
1192
+ const deserialized = de_NoAvailableOrganizationException(body, context);
1193
1193
  const exception = new NoAvailableOrganizationException({
1194
1194
  $metadata: deserializeMetadata(parsedOutput),
1195
1195
  ...deserialized,
1196
1196
  });
1197
1197
  return __decorateServiceException(exception, body);
1198
1198
  };
1199
- const deserializeAws_json1_1NoSuchResourceExceptionResponse = async (parsedOutput, context) => {
1199
+ const de_NoSuchResourceExceptionRes = async (parsedOutput, context) => {
1200
1200
  const body = parsedOutput.body;
1201
- const deserialized = deserializeAws_json1_1NoSuchResourceException(body, context);
1201
+ const deserialized = de_NoSuchResourceException(body, context);
1202
1202
  const exception = new NoSuchResourceException({
1203
1203
  $metadata: deserializeMetadata(parsedOutput),
1204
1204
  ...deserialized,
1205
1205
  });
1206
1206
  return __decorateServiceException(exception, body);
1207
1207
  };
1208
- const deserializeAws_json1_1OrganizationNotInAllFeaturesModeExceptionResponse = async (parsedOutput, context) => {
1208
+ const de_OrganizationNotInAllFeaturesModeExceptionRes = async (parsedOutput, context) => {
1209
1209
  const body = parsedOutput.body;
1210
- const deserialized = deserializeAws_json1_1OrganizationNotInAllFeaturesModeException(body, context);
1210
+ const deserialized = de_OrganizationNotInAllFeaturesModeException(body, context);
1211
1211
  const exception = new OrganizationNotInAllFeaturesModeException({
1212
1212
  $metadata: deserializeMetadata(parsedOutput),
1213
1213
  ...deserialized,
1214
1214
  });
1215
1215
  return __decorateServiceException(exception, body);
1216
1216
  };
1217
- const deserializeAws_json1_1QuotaExceededExceptionResponse = async (parsedOutput, context) => {
1217
+ const de_QuotaExceededExceptionRes = async (parsedOutput, context) => {
1218
1218
  const body = parsedOutput.body;
1219
- const deserialized = deserializeAws_json1_1QuotaExceededException(body, context);
1219
+ const deserialized = de_QuotaExceededException(body, context);
1220
1220
  const exception = new QuotaExceededException({
1221
1221
  $metadata: deserializeMetadata(parsedOutput),
1222
1222
  ...deserialized,
1223
1223
  });
1224
1224
  return __decorateServiceException(exception, body);
1225
1225
  };
1226
- const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
1226
+ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1227
1227
  const body = parsedOutput.body;
1228
- const deserialized = deserializeAws_json1_1ResourceAlreadyExistsException(body, context);
1228
+ const deserialized = de_ResourceAlreadyExistsException(body, context);
1229
1229
  const exception = new ResourceAlreadyExistsException({
1230
1230
  $metadata: deserializeMetadata(parsedOutput),
1231
1231
  ...deserialized,
1232
1232
  });
1233
1233
  return __decorateServiceException(exception, body);
1234
1234
  };
1235
- const deserializeAws_json1_1ServiceExceptionResponse = async (parsedOutput, context) => {
1235
+ const de_ServiceExceptionRes = async (parsedOutput, context) => {
1236
1236
  const body = parsedOutput.body;
1237
- const deserialized = deserializeAws_json1_1ServiceException(body, context);
1237
+ const deserialized = de_ServiceException(body, context);
1238
1238
  const exception = new ServiceException({
1239
1239
  $metadata: deserializeMetadata(parsedOutput),
1240
1240
  ...deserialized,
1241
1241
  });
1242
1242
  return __decorateServiceException(exception, body);
1243
1243
  };
1244
- const deserializeAws_json1_1ServiceQuotaTemplateNotInUseExceptionResponse = async (parsedOutput, context) => {
1244
+ const de_ServiceQuotaTemplateNotInUseExceptionRes = async (parsedOutput, context) => {
1245
1245
  const body = parsedOutput.body;
1246
- const deserialized = deserializeAws_json1_1ServiceQuotaTemplateNotInUseException(body, context);
1246
+ const deserialized = de_ServiceQuotaTemplateNotInUseException(body, context);
1247
1247
  const exception = new ServiceQuotaTemplateNotInUseException({
1248
1248
  $metadata: deserializeMetadata(parsedOutput),
1249
1249
  ...deserialized,
1250
1250
  });
1251
1251
  return __decorateServiceException(exception, body);
1252
1252
  };
1253
- const deserializeAws_json1_1TagPolicyViolationExceptionResponse = async (parsedOutput, context) => {
1253
+ const de_TagPolicyViolationExceptionRes = async (parsedOutput, context) => {
1254
1254
  const body = parsedOutput.body;
1255
- const deserialized = deserializeAws_json1_1TagPolicyViolationException(body, context);
1255
+ const deserialized = de_TagPolicyViolationException(body, context);
1256
1256
  const exception = new TagPolicyViolationException({
1257
1257
  $metadata: deserializeMetadata(parsedOutput),
1258
1258
  ...deserialized,
1259
1259
  });
1260
1260
  return __decorateServiceException(exception, body);
1261
1261
  };
1262
- const deserializeAws_json1_1TemplatesNotAvailableInRegionExceptionResponse = async (parsedOutput, context) => {
1262
+ const de_TemplatesNotAvailableInRegionExceptionRes = async (parsedOutput, context) => {
1263
1263
  const body = parsedOutput.body;
1264
- const deserialized = deserializeAws_json1_1TemplatesNotAvailableInRegionException(body, context);
1264
+ const deserialized = de_TemplatesNotAvailableInRegionException(body, context);
1265
1265
  const exception = new TemplatesNotAvailableInRegionException({
1266
1266
  $metadata: deserializeMetadata(parsedOutput),
1267
1267
  ...deserialized,
1268
1268
  });
1269
1269
  return __decorateServiceException(exception, body);
1270
1270
  };
1271
- const deserializeAws_json1_1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
1271
+ const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
1272
1272
  const body = parsedOutput.body;
1273
- const deserialized = deserializeAws_json1_1TooManyRequestsException(body, context);
1273
+ const deserialized = de_TooManyRequestsException(body, context);
1274
1274
  const exception = new TooManyRequestsException({
1275
1275
  $metadata: deserializeMetadata(parsedOutput),
1276
1276
  ...deserialized,
1277
1277
  });
1278
1278
  return __decorateServiceException(exception, body);
1279
1279
  };
1280
- const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
1280
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1281
1281
  const body = parsedOutput.body;
1282
- const deserialized = deserializeAws_json1_1TooManyTagsException(body, context);
1282
+ const deserialized = de_TooManyTagsException(body, context);
1283
1283
  const exception = new TooManyTagsException({
1284
1284
  $metadata: deserializeMetadata(parsedOutput),
1285
1285
  ...deserialized,
1286
1286
  });
1287
1287
  return __decorateServiceException(exception, body);
1288
1288
  };
1289
- const serializeAws_json1_1AssociateServiceQuotaTemplateRequest = (input, context) => {
1289
+ const se_AssociateServiceQuotaTemplateRequest = (input, context) => {
1290
1290
  return {};
1291
1291
  };
1292
- const serializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateRequest = (input, context) => {
1292
+ const se_DeleteServiceQuotaIncreaseRequestFromTemplateRequest = (input, context) => {
1293
1293
  return {
1294
1294
  ...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
1295
1295
  ...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
1296
1296
  ...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
1297
1297
  };
1298
1298
  };
1299
- const serializeAws_json1_1DisassociateServiceQuotaTemplateRequest = (input, context) => {
1299
+ const se_DisassociateServiceQuotaTemplateRequest = (input, context) => {
1300
1300
  return {};
1301
1301
  };
1302
- const serializeAws_json1_1GetAssociationForServiceQuotaTemplateRequest = (input, context) => {
1302
+ const se_GetAssociationForServiceQuotaTemplateRequest = (input, context) => {
1303
1303
  return {};
1304
1304
  };
1305
- const serializeAws_json1_1GetAWSDefaultServiceQuotaRequest = (input, context) => {
1305
+ const se_GetAWSDefaultServiceQuotaRequest = (input, context) => {
1306
1306
  return {
1307
1307
  ...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
1308
1308
  ...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
1309
1309
  };
1310
1310
  };
1311
- const serializeAws_json1_1GetRequestedServiceQuotaChangeRequest = (input, context) => {
1311
+ const se_GetRequestedServiceQuotaChangeRequest = (input, context) => {
1312
1312
  return {
1313
1313
  ...(input.RequestId != null && { RequestId: input.RequestId }),
1314
1314
  };
1315
1315
  };
1316
- const serializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateRequest = (input, context) => {
1316
+ const se_GetServiceQuotaIncreaseRequestFromTemplateRequest = (input, context) => {
1317
1317
  return {
1318
1318
  ...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
1319
1319
  ...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
1320
1320
  ...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
1321
1321
  };
1322
1322
  };
1323
- const serializeAws_json1_1GetServiceQuotaRequest = (input, context) => {
1323
+ const se_GetServiceQuotaRequest = (input, context) => {
1324
1324
  return {
1325
1325
  ...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
1326
1326
  ...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
1327
1327
  };
1328
1328
  };
1329
- const serializeAws_json1_1InputTagKeys = (input, context) => {
1329
+ const se_InputTagKeys = (input, context) => {
1330
1330
  return input
1331
1331
  .filter((e) => e != null)
1332
1332
  .map((entry) => {
1333
1333
  return entry;
1334
1334
  });
1335
1335
  };
1336
- const serializeAws_json1_1InputTags = (input, context) => {
1336
+ const se_InputTags = (input, context) => {
1337
1337
  return input
1338
1338
  .filter((e) => e != null)
1339
1339
  .map((entry) => {
1340
- return serializeAws_json1_1Tag(entry, context);
1340
+ return se_Tag(entry, context);
1341
1341
  });
1342
1342
  };
1343
- const serializeAws_json1_1ListAWSDefaultServiceQuotasRequest = (input, context) => {
1343
+ const se_ListAWSDefaultServiceQuotasRequest = (input, context) => {
1344
1344
  return {
1345
1345
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1346
1346
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1347
1347
  ...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
1348
1348
  };
1349
1349
  };
1350
- const serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaRequest = (input, context) => {
1350
+ const se_ListRequestedServiceQuotaChangeHistoryByQuotaRequest = (input, context) => {
1351
1351
  return {
1352
1352
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1353
1353
  ...(input.NextToken != null && { NextToken: input.NextToken }),
@@ -1356,7 +1356,7 @@ const serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaRequest =
1356
1356
  ...(input.Status != null && { Status: input.Status }),
1357
1357
  };
1358
1358
  };
1359
- const serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryRequest = (input, context) => {
1359
+ const se_ListRequestedServiceQuotaChangeHistoryRequest = (input, context) => {
1360
1360
  return {
1361
1361
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1362
1362
  ...(input.NextToken != null && { NextToken: input.NextToken }),
@@ -1364,7 +1364,7 @@ const serializeAws_json1_1ListRequestedServiceQuotaChangeHistoryRequest = (input
1364
1364
  ...(input.Status != null && { Status: input.Status }),
1365
1365
  };
1366
1366
  };
1367
- const serializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateRequest = (input, context) => {
1367
+ const se_ListServiceQuotaIncreaseRequestsInTemplateRequest = (input, context) => {
1368
1368
  return {
1369
1369
  ...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
1370
1370
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
@@ -1372,25 +1372,25 @@ const serializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateRequest = (i
1372
1372
  ...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
1373
1373
  };
1374
1374
  };
1375
- const serializeAws_json1_1ListServiceQuotasRequest = (input, context) => {
1375
+ const se_ListServiceQuotasRequest = (input, context) => {
1376
1376
  return {
1377
1377
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1378
1378
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1379
1379
  ...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
1380
1380
  };
1381
1381
  };
1382
- const serializeAws_json1_1ListServicesRequest = (input, context) => {
1382
+ const se_ListServicesRequest = (input, context) => {
1383
1383
  return {
1384
1384
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1385
1385
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1386
1386
  };
1387
1387
  };
1388
- const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
1388
+ const se_ListTagsForResourceRequest = (input, context) => {
1389
1389
  return {
1390
1390
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1391
1391
  };
1392
1392
  };
1393
- const serializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateRequest = (input, context) => {
1393
+ const se_PutServiceQuotaIncreaseRequestIntoTemplateRequest = (input, context) => {
1394
1394
  return {
1395
1395
  ...(input.AwsRegion != null && { AwsRegion: input.AwsRegion }),
1396
1396
  ...(input.DesiredValue != null && { DesiredValue: __serializeFloat(input.DesiredValue) }),
@@ -1398,153 +1398,151 @@ const serializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateRequest = (i
1398
1398
  ...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
1399
1399
  };
1400
1400
  };
1401
- const serializeAws_json1_1RequestServiceQuotaIncreaseRequest = (input, context) => {
1401
+ const se_RequestServiceQuotaIncreaseRequest = (input, context) => {
1402
1402
  return {
1403
1403
  ...(input.DesiredValue != null && { DesiredValue: __serializeFloat(input.DesiredValue) }),
1404
1404
  ...(input.QuotaCode != null && { QuotaCode: input.QuotaCode }),
1405
1405
  ...(input.ServiceCode != null && { ServiceCode: input.ServiceCode }),
1406
1406
  };
1407
1407
  };
1408
- const serializeAws_json1_1Tag = (input, context) => {
1408
+ const se_Tag = (input, context) => {
1409
1409
  return {
1410
1410
  ...(input.Key != null && { Key: input.Key }),
1411
1411
  ...(input.Value != null && { Value: input.Value }),
1412
1412
  };
1413
1413
  };
1414
- const serializeAws_json1_1TagResourceRequest = (input, context) => {
1414
+ const se_TagResourceRequest = (input, context) => {
1415
1415
  return {
1416
1416
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1417
- ...(input.Tags != null && { Tags: serializeAws_json1_1InputTags(input.Tags, context) }),
1417
+ ...(input.Tags != null && { Tags: se_InputTags(input.Tags, context) }),
1418
1418
  };
1419
1419
  };
1420
- const serializeAws_json1_1UntagResourceRequest = (input, context) => {
1420
+ const se_UntagResourceRequest = (input, context) => {
1421
1421
  return {
1422
1422
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1423
- ...(input.TagKeys != null && { TagKeys: serializeAws_json1_1InputTagKeys(input.TagKeys, context) }),
1423
+ ...(input.TagKeys != null && { TagKeys: se_InputTagKeys(input.TagKeys, context) }),
1424
1424
  };
1425
1425
  };
1426
- const deserializeAws_json1_1AccessDeniedException = (output, context) => {
1426
+ const de_AccessDeniedException = (output, context) => {
1427
1427
  return {
1428
1428
  Message: __expectString(output.Message),
1429
1429
  };
1430
1430
  };
1431
- const deserializeAws_json1_1AssociateServiceQuotaTemplateResponse = (output, context) => {
1431
+ const de_AssociateServiceQuotaTemplateResponse = (output, context) => {
1432
1432
  return {};
1433
1433
  };
1434
- const deserializeAws_json1_1AWSServiceAccessNotEnabledException = (output, context) => {
1434
+ const de_AWSServiceAccessNotEnabledException = (output, context) => {
1435
1435
  return {
1436
1436
  Message: __expectString(output.Message),
1437
1437
  };
1438
1438
  };
1439
- const deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateResponse = (output, context) => {
1439
+ const de_DeleteServiceQuotaIncreaseRequestFromTemplateResponse = (output, context) => {
1440
1440
  return {};
1441
1441
  };
1442
- const deserializeAws_json1_1DependencyAccessDeniedException = (output, context) => {
1442
+ const de_DependencyAccessDeniedException = (output, context) => {
1443
1443
  return {
1444
1444
  Message: __expectString(output.Message),
1445
1445
  };
1446
1446
  };
1447
- const deserializeAws_json1_1DisassociateServiceQuotaTemplateResponse = (output, context) => {
1447
+ const de_DisassociateServiceQuotaTemplateResponse = (output, context) => {
1448
1448
  return {};
1449
1449
  };
1450
- const deserializeAws_json1_1ErrorReason = (output, context) => {
1450
+ const de_ErrorReason = (output, context) => {
1451
1451
  return {
1452
1452
  ErrorCode: __expectString(output.ErrorCode),
1453
1453
  ErrorMessage: __expectString(output.ErrorMessage),
1454
1454
  };
1455
1455
  };
1456
- const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateResponse = (output, context) => {
1456
+ const de_GetAssociationForServiceQuotaTemplateResponse = (output, context) => {
1457
1457
  return {
1458
1458
  ServiceQuotaTemplateAssociationStatus: __expectString(output.ServiceQuotaTemplateAssociationStatus),
1459
1459
  };
1460
1460
  };
1461
- const deserializeAws_json1_1GetAWSDefaultServiceQuotaResponse = (output, context) => {
1461
+ const de_GetAWSDefaultServiceQuotaResponse = (output, context) => {
1462
1462
  return {
1463
- Quota: output.Quota != null ? deserializeAws_json1_1ServiceQuota(output.Quota, context) : undefined,
1463
+ Quota: output.Quota != null ? de_ServiceQuota(output.Quota, context) : undefined,
1464
1464
  };
1465
1465
  };
1466
- const deserializeAws_json1_1GetRequestedServiceQuotaChangeResponse = (output, context) => {
1466
+ const de_GetRequestedServiceQuotaChangeResponse = (output, context) => {
1467
1467
  return {
1468
- RequestedQuota: output.RequestedQuota != null
1469
- ? deserializeAws_json1_1RequestedServiceQuotaChange(output.RequestedQuota, context)
1470
- : undefined,
1468
+ RequestedQuota: output.RequestedQuota != null ? de_RequestedServiceQuotaChange(output.RequestedQuota, context) : undefined,
1471
1469
  };
1472
1470
  };
1473
- const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateResponse = (output, context) => {
1471
+ const de_GetServiceQuotaIncreaseRequestFromTemplateResponse = (output, context) => {
1474
1472
  return {
1475
1473
  ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate != null
1476
- ? deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
1474
+ ? de_ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
1477
1475
  : undefined,
1478
1476
  };
1479
1477
  };
1480
- const deserializeAws_json1_1GetServiceQuotaResponse = (output, context) => {
1478
+ const de_GetServiceQuotaResponse = (output, context) => {
1481
1479
  return {
1482
- Quota: output.Quota != null ? deserializeAws_json1_1ServiceQuota(output.Quota, context) : undefined,
1480
+ Quota: output.Quota != null ? de_ServiceQuota(output.Quota, context) : undefined,
1483
1481
  };
1484
1482
  };
1485
- const deserializeAws_json1_1IllegalArgumentException = (output, context) => {
1483
+ const de_IllegalArgumentException = (output, context) => {
1486
1484
  return {
1487
1485
  Message: __expectString(output.Message),
1488
1486
  };
1489
1487
  };
1490
- const deserializeAws_json1_1InvalidPaginationTokenException = (output, context) => {
1488
+ const de_InvalidPaginationTokenException = (output, context) => {
1491
1489
  return {
1492
1490
  Message: __expectString(output.Message),
1493
1491
  };
1494
1492
  };
1495
- const deserializeAws_json1_1InvalidResourceStateException = (output, context) => {
1493
+ const de_InvalidResourceStateException = (output, context) => {
1496
1494
  return {
1497
1495
  Message: __expectString(output.Message),
1498
1496
  };
1499
1497
  };
1500
- const deserializeAws_json1_1ListAWSDefaultServiceQuotasResponse = (output, context) => {
1498
+ const de_ListAWSDefaultServiceQuotasResponse = (output, context) => {
1501
1499
  return {
1502
1500
  NextToken: __expectString(output.NextToken),
1503
- Quotas: output.Quotas != null ? deserializeAws_json1_1ServiceQuotaListDefinition(output.Quotas, context) : undefined,
1501
+ Quotas: output.Quotas != null ? de_ServiceQuotaListDefinition(output.Quotas, context) : undefined,
1504
1502
  };
1505
1503
  };
1506
- const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaResponse = (output, context) => {
1504
+ const de_ListRequestedServiceQuotaChangeHistoryByQuotaResponse = (output, context) => {
1507
1505
  return {
1508
1506
  NextToken: __expectString(output.NextToken),
1509
1507
  RequestedQuotas: output.RequestedQuotas != null
1510
- ? deserializeAws_json1_1RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
1508
+ ? de_RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
1511
1509
  : undefined,
1512
1510
  };
1513
1511
  };
1514
- const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryResponse = (output, context) => {
1512
+ const de_ListRequestedServiceQuotaChangeHistoryResponse = (output, context) => {
1515
1513
  return {
1516
1514
  NextToken: __expectString(output.NextToken),
1517
1515
  RequestedQuotas: output.RequestedQuotas != null
1518
- ? deserializeAws_json1_1RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
1516
+ ? de_RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
1519
1517
  : undefined,
1520
1518
  };
1521
1519
  };
1522
- const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateResponse = (output, context) => {
1520
+ const de_ListServiceQuotaIncreaseRequestsInTemplateResponse = (output, context) => {
1523
1521
  return {
1524
1522
  NextToken: __expectString(output.NextToken),
1525
1523
  ServiceQuotaIncreaseRequestInTemplateList: output.ServiceQuotaIncreaseRequestInTemplateList != null
1526
- ? deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplateList(output.ServiceQuotaIncreaseRequestInTemplateList, context)
1524
+ ? de_ServiceQuotaIncreaseRequestInTemplateList(output.ServiceQuotaIncreaseRequestInTemplateList, context)
1527
1525
  : undefined,
1528
1526
  };
1529
1527
  };
1530
- const deserializeAws_json1_1ListServiceQuotasResponse = (output, context) => {
1528
+ const de_ListServiceQuotasResponse = (output, context) => {
1531
1529
  return {
1532
1530
  NextToken: __expectString(output.NextToken),
1533
- Quotas: output.Quotas != null ? deserializeAws_json1_1ServiceQuotaListDefinition(output.Quotas, context) : undefined,
1531
+ Quotas: output.Quotas != null ? de_ServiceQuotaListDefinition(output.Quotas, context) : undefined,
1534
1532
  };
1535
1533
  };
1536
- const deserializeAws_json1_1ListServicesResponse = (output, context) => {
1534
+ const de_ListServicesResponse = (output, context) => {
1537
1535
  return {
1538
1536
  NextToken: __expectString(output.NextToken),
1539
- Services: output.Services != null ? deserializeAws_json1_1ServiceInfoListDefinition(output.Services, context) : undefined,
1537
+ Services: output.Services != null ? de_ServiceInfoListDefinition(output.Services, context) : undefined,
1540
1538
  };
1541
1539
  };
1542
- const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
1540
+ const de_ListTagsForResourceResponse = (output, context) => {
1543
1541
  return {
1544
- Tags: output.Tags != null ? deserializeAws_json1_1OutputTags(output.Tags, context) : undefined,
1542
+ Tags: output.Tags != null ? de_OutputTags(output.Tags, context) : undefined,
1545
1543
  };
1546
1544
  };
1547
- const deserializeAws_json1_1MetricDimensionsMapDefinition = (output, context) => {
1545
+ const de_MetricDimensionsMapDefinition = (output, context) => {
1548
1546
  return Object.entries(output).reduce((acc, [key, value]) => {
1549
1547
  if (value === null) {
1550
1548
  return acc;
@@ -1553,61 +1551,59 @@ const deserializeAws_json1_1MetricDimensionsMapDefinition = (output, context) =>
1553
1551
  return acc;
1554
1552
  }, {});
1555
1553
  };
1556
- const deserializeAws_json1_1MetricInfo = (output, context) => {
1554
+ const de_MetricInfo = (output, context) => {
1557
1555
  return {
1558
- MetricDimensions: output.MetricDimensions != null
1559
- ? deserializeAws_json1_1MetricDimensionsMapDefinition(output.MetricDimensions, context)
1560
- : undefined,
1556
+ MetricDimensions: output.MetricDimensions != null ? de_MetricDimensionsMapDefinition(output.MetricDimensions, context) : undefined,
1561
1557
  MetricName: __expectString(output.MetricName),
1562
1558
  MetricNamespace: __expectString(output.MetricNamespace),
1563
1559
  MetricStatisticRecommendation: __expectString(output.MetricStatisticRecommendation),
1564
1560
  };
1565
1561
  };
1566
- const deserializeAws_json1_1NoAvailableOrganizationException = (output, context) => {
1562
+ const de_NoAvailableOrganizationException = (output, context) => {
1567
1563
  return {
1568
1564
  Message: __expectString(output.Message),
1569
1565
  };
1570
1566
  };
1571
- const deserializeAws_json1_1NoSuchResourceException = (output, context) => {
1567
+ const de_NoSuchResourceException = (output, context) => {
1572
1568
  return {
1573
1569
  Message: __expectString(output.Message),
1574
1570
  };
1575
1571
  };
1576
- const deserializeAws_json1_1OrganizationNotInAllFeaturesModeException = (output, context) => {
1572
+ const de_OrganizationNotInAllFeaturesModeException = (output, context) => {
1577
1573
  return {
1578
1574
  Message: __expectString(output.Message),
1579
1575
  };
1580
1576
  };
1581
- const deserializeAws_json1_1OutputTags = (output, context) => {
1577
+ const de_OutputTags = (output, context) => {
1582
1578
  const retVal = (output || [])
1583
1579
  .filter((e) => e != null)
1584
1580
  .map((entry) => {
1585
1581
  if (entry === null) {
1586
1582
  return null;
1587
1583
  }
1588
- return deserializeAws_json1_1Tag(entry, context);
1584
+ return de_Tag(entry, context);
1589
1585
  });
1590
1586
  return retVal;
1591
1587
  };
1592
- const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateResponse = (output, context) => {
1588
+ const de_PutServiceQuotaIncreaseRequestIntoTemplateResponse = (output, context) => {
1593
1589
  return {
1594
1590
  ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate != null
1595
- ? deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
1591
+ ? de_ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
1596
1592
  : undefined,
1597
1593
  };
1598
1594
  };
1599
- const deserializeAws_json1_1QuotaExceededException = (output, context) => {
1595
+ const de_QuotaExceededException = (output, context) => {
1600
1596
  return {
1601
1597
  Message: __expectString(output.Message),
1602
1598
  };
1603
1599
  };
1604
- const deserializeAws_json1_1QuotaPeriod = (output, context) => {
1600
+ const de_QuotaPeriod = (output, context) => {
1605
1601
  return {
1606
1602
  PeriodUnit: __expectString(output.PeriodUnit),
1607
1603
  PeriodValue: __expectInt32(output.PeriodValue),
1608
1604
  };
1609
1605
  };
1610
- const deserializeAws_json1_1RequestedServiceQuotaChange = (output, context) => {
1606
+ const de_RequestedServiceQuotaChange = (output, context) => {
1611
1607
  return {
1612
1608
  CaseId: __expectString(output.CaseId),
1613
1609
  Created: output.Created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Created))) : undefined,
@@ -1627,68 +1623,66 @@ const deserializeAws_json1_1RequestedServiceQuotaChange = (output, context) => {
1627
1623
  Unit: __expectString(output.Unit),
1628
1624
  };
1629
1625
  };
1630
- const deserializeAws_json1_1RequestedServiceQuotaChangeHistoryListDefinition = (output, context) => {
1626
+ const de_RequestedServiceQuotaChangeHistoryListDefinition = (output, context) => {
1631
1627
  const retVal = (output || [])
1632
1628
  .filter((e) => e != null)
1633
1629
  .map((entry) => {
1634
1630
  if (entry === null) {
1635
1631
  return null;
1636
1632
  }
1637
- return deserializeAws_json1_1RequestedServiceQuotaChange(entry, context);
1633
+ return de_RequestedServiceQuotaChange(entry, context);
1638
1634
  });
1639
1635
  return retVal;
1640
1636
  };
1641
- const deserializeAws_json1_1RequestServiceQuotaIncreaseResponse = (output, context) => {
1637
+ const de_RequestServiceQuotaIncreaseResponse = (output, context) => {
1642
1638
  return {
1643
- RequestedQuota: output.RequestedQuota != null
1644
- ? deserializeAws_json1_1RequestedServiceQuotaChange(output.RequestedQuota, context)
1645
- : undefined,
1639
+ RequestedQuota: output.RequestedQuota != null ? de_RequestedServiceQuotaChange(output.RequestedQuota, context) : undefined,
1646
1640
  };
1647
1641
  };
1648
- const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
1642
+ const de_ResourceAlreadyExistsException = (output, context) => {
1649
1643
  return {
1650
1644
  Message: __expectString(output.Message),
1651
1645
  };
1652
1646
  };
1653
- const deserializeAws_json1_1ServiceException = (output, context) => {
1647
+ const de_ServiceException = (output, context) => {
1654
1648
  return {
1655
1649
  Message: __expectString(output.Message),
1656
1650
  };
1657
1651
  };
1658
- const deserializeAws_json1_1ServiceInfo = (output, context) => {
1652
+ const de_ServiceInfo = (output, context) => {
1659
1653
  return {
1660
1654
  ServiceCode: __expectString(output.ServiceCode),
1661
1655
  ServiceName: __expectString(output.ServiceName),
1662
1656
  };
1663
1657
  };
1664
- const deserializeAws_json1_1ServiceInfoListDefinition = (output, context) => {
1658
+ const de_ServiceInfoListDefinition = (output, context) => {
1665
1659
  const retVal = (output || [])
1666
1660
  .filter((e) => e != null)
1667
1661
  .map((entry) => {
1668
1662
  if (entry === null) {
1669
1663
  return null;
1670
1664
  }
1671
- return deserializeAws_json1_1ServiceInfo(entry, context);
1665
+ return de_ServiceInfo(entry, context);
1672
1666
  });
1673
1667
  return retVal;
1674
1668
  };
1675
- const deserializeAws_json1_1ServiceQuota = (output, context) => {
1669
+ const de_ServiceQuota = (output, context) => {
1676
1670
  return {
1677
1671
  Adjustable: __expectBoolean(output.Adjustable),
1678
- ErrorReason: output.ErrorReason != null ? deserializeAws_json1_1ErrorReason(output.ErrorReason, context) : undefined,
1672
+ ErrorReason: output.ErrorReason != null ? de_ErrorReason(output.ErrorReason, context) : undefined,
1679
1673
  GlobalQuota: __expectBoolean(output.GlobalQuota),
1680
- Period: output.Period != null ? deserializeAws_json1_1QuotaPeriod(output.Period, context) : undefined,
1674
+ Period: output.Period != null ? de_QuotaPeriod(output.Period, context) : undefined,
1681
1675
  QuotaArn: __expectString(output.QuotaArn),
1682
1676
  QuotaCode: __expectString(output.QuotaCode),
1683
1677
  QuotaName: __expectString(output.QuotaName),
1684
1678
  ServiceCode: __expectString(output.ServiceCode),
1685
1679
  ServiceName: __expectString(output.ServiceName),
1686
1680
  Unit: __expectString(output.Unit),
1687
- UsageMetric: output.UsageMetric != null ? deserializeAws_json1_1MetricInfo(output.UsageMetric, context) : undefined,
1681
+ UsageMetric: output.UsageMetric != null ? de_MetricInfo(output.UsageMetric, context) : undefined,
1688
1682
  Value: __limitedParseDouble(output.Value),
1689
1683
  };
1690
1684
  };
1691
- const deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplate = (output, context) => {
1685
+ const de_ServiceQuotaIncreaseRequestInTemplate = (output, context) => {
1692
1686
  return {
1693
1687
  AwsRegion: __expectString(output.AwsRegion),
1694
1688
  DesiredValue: __limitedParseDouble(output.DesiredValue),
@@ -1700,63 +1694,63 @@ const deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplate = (output, con
1700
1694
  Unit: __expectString(output.Unit),
1701
1695
  };
1702
1696
  };
1703
- const deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplateList = (output, context) => {
1697
+ const de_ServiceQuotaIncreaseRequestInTemplateList = (output, context) => {
1704
1698
  const retVal = (output || [])
1705
1699
  .filter((e) => e != null)
1706
1700
  .map((entry) => {
1707
1701
  if (entry === null) {
1708
1702
  return null;
1709
1703
  }
1710
- return deserializeAws_json1_1ServiceQuotaIncreaseRequestInTemplate(entry, context);
1704
+ return de_ServiceQuotaIncreaseRequestInTemplate(entry, context);
1711
1705
  });
1712
1706
  return retVal;
1713
1707
  };
1714
- const deserializeAws_json1_1ServiceQuotaListDefinition = (output, context) => {
1708
+ const de_ServiceQuotaListDefinition = (output, context) => {
1715
1709
  const retVal = (output || [])
1716
1710
  .filter((e) => e != null)
1717
1711
  .map((entry) => {
1718
1712
  if (entry === null) {
1719
1713
  return null;
1720
1714
  }
1721
- return deserializeAws_json1_1ServiceQuota(entry, context);
1715
+ return de_ServiceQuota(entry, context);
1722
1716
  });
1723
1717
  return retVal;
1724
1718
  };
1725
- const deserializeAws_json1_1ServiceQuotaTemplateNotInUseException = (output, context) => {
1719
+ const de_ServiceQuotaTemplateNotInUseException = (output, context) => {
1726
1720
  return {
1727
1721
  Message: __expectString(output.Message),
1728
1722
  };
1729
1723
  };
1730
- const deserializeAws_json1_1Tag = (output, context) => {
1724
+ const de_Tag = (output, context) => {
1731
1725
  return {
1732
1726
  Key: __expectString(output.Key),
1733
1727
  Value: __expectString(output.Value),
1734
1728
  };
1735
1729
  };
1736
- const deserializeAws_json1_1TagPolicyViolationException = (output, context) => {
1730
+ const de_TagPolicyViolationException = (output, context) => {
1737
1731
  return {
1738
1732
  Message: __expectString(output.Message),
1739
1733
  };
1740
1734
  };
1741
- const deserializeAws_json1_1TagResourceResponse = (output, context) => {
1735
+ const de_TagResourceResponse = (output, context) => {
1742
1736
  return {};
1743
1737
  };
1744
- const deserializeAws_json1_1TemplatesNotAvailableInRegionException = (output, context) => {
1738
+ const de_TemplatesNotAvailableInRegionException = (output, context) => {
1745
1739
  return {
1746
1740
  Message: __expectString(output.Message),
1747
1741
  };
1748
1742
  };
1749
- const deserializeAws_json1_1TooManyRequestsException = (output, context) => {
1743
+ const de_TooManyRequestsException = (output, context) => {
1750
1744
  return {
1751
1745
  Message: __expectString(output.Message),
1752
1746
  };
1753
1747
  };
1754
- const deserializeAws_json1_1TooManyTagsException = (output, context) => {
1748
+ const de_TooManyTagsException = (output, context) => {
1755
1749
  return {
1756
1750
  Message: __expectString(output.Message),
1757
1751
  };
1758
1752
  };
1759
- const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
1753
+ const de_UntagResourceResponse = (output, context) => {
1760
1754
  return {};
1761
1755
  };
1762
1756
  const deserializeMetadata = (output) => ({