@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.
- package/dist-cjs/commands/AssociateServiceQuotaTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.js +2 -2
- package/dist-cjs/commands/DisassociateServiceQuotaTemplateCommand.js +2 -2
- package/dist-cjs/commands/GetAWSDefaultServiceQuotaCommand.js +2 -2
- package/dist-cjs/commands/GetAssociationForServiceQuotaTemplateCommand.js +2 -2
- package/dist-cjs/commands/GetRequestedServiceQuotaChangeCommand.js +2 -2
- package/dist-cjs/commands/GetServiceQuotaCommand.js +2 -2
- package/dist-cjs/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.js +2 -2
- package/dist-cjs/commands/ListAWSDefaultServiceQuotasCommand.js +2 -2
- package/dist-cjs/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.js +2 -2
- package/dist-cjs/commands/ListRequestedServiceQuotaChangeHistoryCommand.js +2 -2
- package/dist-cjs/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.js +2 -2
- package/dist-cjs/commands/ListServiceQuotasCommand.js +2 -2
- package/dist-cjs/commands/ListServicesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.js +2 -2
- package/dist-cjs/commands/RequestServiceQuotaIncreaseCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +414 -420
- package/dist-es/commands/AssociateServiceQuotaTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.js +3 -3
- package/dist-es/commands/DisassociateServiceQuotaTemplateCommand.js +3 -3
- package/dist-es/commands/GetAWSDefaultServiceQuotaCommand.js +3 -3
- package/dist-es/commands/GetAssociationForServiceQuotaTemplateCommand.js +3 -3
- package/dist-es/commands/GetRequestedServiceQuotaChangeCommand.js +3 -3
- package/dist-es/commands/GetServiceQuotaCommand.js +3 -3
- package/dist-es/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.js +3 -3
- package/dist-es/commands/ListAWSDefaultServiceQuotasCommand.js +3 -3
- package/dist-es/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.js +3 -3
- package/dist-es/commands/ListRequestedServiceQuotaChangeHistoryCommand.js +3 -3
- package/dist-es/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.js +3 -3
- package/dist-es/commands/ListServiceQuotasCommand.js +3 -3
- package/dist-es/commands/ListServicesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.js +3 -3
- package/dist-es/commands/RequestServiceQuotaIncreaseCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +375 -381
- package/dist-types/protocols/Aws_json1_1.d.ts +152 -38
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +38 -38
- 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
|
|
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(
|
|
11
|
+
body = JSON.stringify(se_AssociateServiceQuotaTemplateRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
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(
|
|
20
|
+
body = JSON.stringify(se_DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
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(
|
|
29
|
+
body = JSON.stringify(se_DisassociateServiceQuotaTemplateRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
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(
|
|
38
|
+
body = JSON.stringify(se_GetAssociationForServiceQuotaTemplateRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
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(
|
|
47
|
+
body = JSON.stringify(se_GetAWSDefaultServiceQuotaRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
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(
|
|
56
|
+
body = JSON.stringify(se_GetRequestedServiceQuotaChangeRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
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(
|
|
65
|
+
body = JSON.stringify(se_GetServiceQuotaRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
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(
|
|
74
|
+
body = JSON.stringify(se_GetServiceQuotaIncreaseRequestFromTemplateRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
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(
|
|
83
|
+
body = JSON.stringify(se_ListAWSDefaultServiceQuotasRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
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(
|
|
92
|
+
body = JSON.stringify(se_ListRequestedServiceQuotaChangeHistoryRequest(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
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(
|
|
101
|
+
body = JSON.stringify(se_ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
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(
|
|
110
|
+
body = JSON.stringify(se_ListServiceQuotaIncreaseRequestsInTemplateRequest(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
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(
|
|
119
|
+
body = JSON.stringify(se_ListServiceQuotasRequest(input, context));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
|
-
export const
|
|
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(
|
|
128
|
+
body = JSON.stringify(se_ListServicesRequest(input, context));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
-
export const
|
|
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(
|
|
137
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
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(
|
|
146
|
+
body = JSON.stringify(se_PutServiceQuotaIncreaseRequestIntoTemplateRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
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(
|
|
155
|
+
body = JSON.stringify(se_RequestServiceQuotaIncreaseRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
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(
|
|
164
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
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(
|
|
173
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const de_AssociateServiceQuotaTemplateCommand = async (output, context) => {
|
|
177
177
|
if (output.statusCode >= 300) {
|
|
178
|
-
return
|
|
178
|
+
return de_AssociateServiceQuotaTemplateCommandError(output, context);
|
|
179
179
|
}
|
|
180
180
|
const data = await parseBody(output.body, context);
|
|
181
181
|
let contents = {};
|
|
182
|
-
contents =
|
|
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
|
|
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
|
|
198
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
199
199
|
case "AccessDeniedException":
|
|
200
200
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
201
|
-
throw await
|
|
201
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
202
202
|
case "DependencyAccessDeniedException":
|
|
203
203
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
204
|
-
throw await
|
|
204
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
205
205
|
case "NoAvailableOrganizationException":
|
|
206
206
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
207
|
-
throw await
|
|
207
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
208
208
|
case "OrganizationNotInAllFeaturesModeException":
|
|
209
209
|
case "com.amazonaws.servicequotas#OrganizationNotInAllFeaturesModeException":
|
|
210
|
-
throw await
|
|
210
|
+
throw await de_OrganizationNotInAllFeaturesModeExceptionRes(parsedOutput, context);
|
|
211
211
|
case "ServiceException":
|
|
212
212
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
213
|
-
throw await
|
|
213
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
214
214
|
case "TemplatesNotAvailableInRegionException":
|
|
215
215
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
216
|
-
throw await
|
|
216
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
217
217
|
case "TooManyRequestsException":
|
|
218
218
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
219
|
-
throw await
|
|
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
|
|
230
|
+
export const de_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
|
|
231
231
|
if (output.statusCode >= 300) {
|
|
232
|
-
return
|
|
232
|
+
return de_DeleteServiceQuotaIncreaseRequestFromTemplateCommandError(output, context);
|
|
233
233
|
}
|
|
234
234
|
const data = await parseBody(output.body, context);
|
|
235
235
|
let contents = {};
|
|
236
|
-
contents =
|
|
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
|
|
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
|
|
252
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
253
253
|
case "AccessDeniedException":
|
|
254
254
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
255
|
-
throw await
|
|
255
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
256
256
|
case "DependencyAccessDeniedException":
|
|
257
257
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
258
|
-
throw await
|
|
258
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
259
259
|
case "IllegalArgumentException":
|
|
260
260
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
261
|
-
throw await
|
|
261
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
262
262
|
case "NoAvailableOrganizationException":
|
|
263
263
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
264
|
-
throw await
|
|
264
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
265
265
|
case "NoSuchResourceException":
|
|
266
266
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
267
|
-
throw await
|
|
267
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
268
268
|
case "ServiceException":
|
|
269
269
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
270
|
-
throw await
|
|
270
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
271
271
|
case "TemplatesNotAvailableInRegionException":
|
|
272
272
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
273
|
-
throw await
|
|
273
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
274
274
|
case "TooManyRequestsException":
|
|
275
275
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
276
|
-
throw await
|
|
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
|
|
287
|
+
export const de_DisassociateServiceQuotaTemplateCommand = async (output, context) => {
|
|
288
288
|
if (output.statusCode >= 300) {
|
|
289
|
-
return
|
|
289
|
+
return de_DisassociateServiceQuotaTemplateCommandError(output, context);
|
|
290
290
|
}
|
|
291
291
|
const data = await parseBody(output.body, context);
|
|
292
292
|
let contents = {};
|
|
293
|
-
contents =
|
|
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
|
|
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
|
|
309
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
310
310
|
case "AccessDeniedException":
|
|
311
311
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
312
|
-
throw await
|
|
312
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
313
313
|
case "DependencyAccessDeniedException":
|
|
314
314
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
315
|
-
throw await
|
|
315
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
316
316
|
case "NoAvailableOrganizationException":
|
|
317
317
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
318
|
-
throw await
|
|
318
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
319
319
|
case "ServiceException":
|
|
320
320
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
321
|
-
throw await
|
|
321
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
322
322
|
case "ServiceQuotaTemplateNotInUseException":
|
|
323
323
|
case "com.amazonaws.servicequotas#ServiceQuotaTemplateNotInUseException":
|
|
324
|
-
throw await
|
|
324
|
+
throw await de_ServiceQuotaTemplateNotInUseExceptionRes(parsedOutput, context);
|
|
325
325
|
case "TemplatesNotAvailableInRegionException":
|
|
326
326
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
327
|
-
throw await
|
|
327
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
328
328
|
case "TooManyRequestsException":
|
|
329
329
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
330
|
-
throw await
|
|
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
|
|
341
|
+
export const de_GetAssociationForServiceQuotaTemplateCommand = async (output, context) => {
|
|
342
342
|
if (output.statusCode >= 300) {
|
|
343
|
-
return
|
|
343
|
+
return de_GetAssociationForServiceQuotaTemplateCommandError(output, context);
|
|
344
344
|
}
|
|
345
345
|
const data = await parseBody(output.body, context);
|
|
346
346
|
let contents = {};
|
|
347
|
-
contents =
|
|
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
|
|
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
|
|
363
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
364
364
|
case "AccessDeniedException":
|
|
365
365
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
366
|
-
throw await
|
|
366
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
367
367
|
case "DependencyAccessDeniedException":
|
|
368
368
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
369
|
-
throw await
|
|
369
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
370
370
|
case "NoAvailableOrganizationException":
|
|
371
371
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
372
|
-
throw await
|
|
372
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
373
373
|
case "ServiceException":
|
|
374
374
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
375
|
-
throw await
|
|
375
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
376
376
|
case "ServiceQuotaTemplateNotInUseException":
|
|
377
377
|
case "com.amazonaws.servicequotas#ServiceQuotaTemplateNotInUseException":
|
|
378
|
-
throw await
|
|
378
|
+
throw await de_ServiceQuotaTemplateNotInUseExceptionRes(parsedOutput, context);
|
|
379
379
|
case "TemplatesNotAvailableInRegionException":
|
|
380
380
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
381
|
-
throw await
|
|
381
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
382
382
|
case "TooManyRequestsException":
|
|
383
383
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
384
|
-
throw await
|
|
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
|
|
395
|
+
export const de_GetAWSDefaultServiceQuotaCommand = async (output, context) => {
|
|
396
396
|
if (output.statusCode >= 300) {
|
|
397
|
-
return
|
|
397
|
+
return de_GetAWSDefaultServiceQuotaCommandError(output, context);
|
|
398
398
|
}
|
|
399
399
|
const data = await parseBody(output.body, context);
|
|
400
400
|
let contents = {};
|
|
401
|
-
contents =
|
|
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
|
|
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
|
|
417
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
418
418
|
case "IllegalArgumentException":
|
|
419
419
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
420
|
-
throw await
|
|
420
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
421
421
|
case "NoSuchResourceException":
|
|
422
422
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
423
|
-
throw await
|
|
423
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
424
424
|
case "ServiceException":
|
|
425
425
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
426
|
-
throw await
|
|
426
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
427
427
|
case "TooManyRequestsException":
|
|
428
428
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
429
|
-
throw await
|
|
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
|
|
440
|
+
export const de_GetRequestedServiceQuotaChangeCommand = async (output, context) => {
|
|
441
441
|
if (output.statusCode >= 300) {
|
|
442
|
-
return
|
|
442
|
+
return de_GetRequestedServiceQuotaChangeCommandError(output, context);
|
|
443
443
|
}
|
|
444
444
|
const data = await parseBody(output.body, context);
|
|
445
445
|
let contents = {};
|
|
446
|
-
contents =
|
|
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
|
|
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
|
|
462
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
463
463
|
case "IllegalArgumentException":
|
|
464
464
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
465
|
-
throw await
|
|
465
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
466
466
|
case "NoSuchResourceException":
|
|
467
467
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
468
|
-
throw await
|
|
468
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
469
469
|
case "ServiceException":
|
|
470
470
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
471
|
-
throw await
|
|
471
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
472
472
|
case "TooManyRequestsException":
|
|
473
473
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
474
|
-
throw await
|
|
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
|
|
485
|
+
export const de_GetServiceQuotaCommand = async (output, context) => {
|
|
486
486
|
if (output.statusCode >= 300) {
|
|
487
|
-
return
|
|
487
|
+
return de_GetServiceQuotaCommandError(output, context);
|
|
488
488
|
}
|
|
489
489
|
const data = await parseBody(output.body, context);
|
|
490
490
|
let contents = {};
|
|
491
|
-
contents =
|
|
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
|
|
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
|
|
507
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
508
508
|
case "IllegalArgumentException":
|
|
509
509
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
510
|
-
throw await
|
|
510
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
511
511
|
case "NoSuchResourceException":
|
|
512
512
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
513
|
-
throw await
|
|
513
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
514
514
|
case "ServiceException":
|
|
515
515
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
516
|
-
throw await
|
|
516
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
517
517
|
case "TooManyRequestsException":
|
|
518
518
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
519
|
-
throw await
|
|
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
|
|
530
|
+
export const de_GetServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
|
|
531
531
|
if (output.statusCode >= 300) {
|
|
532
|
-
return
|
|
532
|
+
return de_GetServiceQuotaIncreaseRequestFromTemplateCommandError(output, context);
|
|
533
533
|
}
|
|
534
534
|
const data = await parseBody(output.body, context);
|
|
535
535
|
let contents = {};
|
|
536
|
-
contents =
|
|
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
|
|
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
|
|
552
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
553
553
|
case "AccessDeniedException":
|
|
554
554
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
555
|
-
throw await
|
|
555
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
556
556
|
case "DependencyAccessDeniedException":
|
|
557
557
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
558
|
-
throw await
|
|
558
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
559
559
|
case "IllegalArgumentException":
|
|
560
560
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
561
|
-
throw await
|
|
561
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
562
562
|
case "NoAvailableOrganizationException":
|
|
563
563
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
564
|
-
throw await
|
|
564
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
565
565
|
case "NoSuchResourceException":
|
|
566
566
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
567
|
-
throw await
|
|
567
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
568
568
|
case "ServiceException":
|
|
569
569
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
570
|
-
throw await
|
|
570
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
571
571
|
case "TemplatesNotAvailableInRegionException":
|
|
572
572
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
573
|
-
throw await
|
|
573
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
574
574
|
case "TooManyRequestsException":
|
|
575
575
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
576
|
-
throw await
|
|
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
|
|
587
|
+
export const de_ListAWSDefaultServiceQuotasCommand = async (output, context) => {
|
|
588
588
|
if (output.statusCode >= 300) {
|
|
589
|
-
return
|
|
589
|
+
return de_ListAWSDefaultServiceQuotasCommandError(output, context);
|
|
590
590
|
}
|
|
591
591
|
const data = await parseBody(output.body, context);
|
|
592
592
|
let contents = {};
|
|
593
|
-
contents =
|
|
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
|
|
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
|
|
609
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
610
610
|
case "IllegalArgumentException":
|
|
611
611
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
612
|
-
throw await
|
|
612
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
613
613
|
case "InvalidPaginationTokenException":
|
|
614
614
|
case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
|
|
615
|
-
throw await
|
|
615
|
+
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
616
616
|
case "NoSuchResourceException":
|
|
617
617
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
618
|
-
throw await
|
|
618
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
619
619
|
case "ServiceException":
|
|
620
620
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
621
|
-
throw await
|
|
621
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
622
622
|
case "TooManyRequestsException":
|
|
623
623
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
624
|
-
throw await
|
|
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
|
|
635
|
+
export const de_ListRequestedServiceQuotaChangeHistoryCommand = async (output, context) => {
|
|
636
636
|
if (output.statusCode >= 300) {
|
|
637
|
-
return
|
|
637
|
+
return de_ListRequestedServiceQuotaChangeHistoryCommandError(output, context);
|
|
638
638
|
}
|
|
639
639
|
const data = await parseBody(output.body, context);
|
|
640
640
|
let contents = {};
|
|
641
|
-
contents =
|
|
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
|
|
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
|
|
657
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
658
658
|
case "IllegalArgumentException":
|
|
659
659
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
660
|
-
throw await
|
|
660
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
661
661
|
case "InvalidPaginationTokenException":
|
|
662
662
|
case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
|
|
663
|
-
throw await
|
|
663
|
+
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
664
664
|
case "NoSuchResourceException":
|
|
665
665
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
666
|
-
throw await
|
|
666
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
667
667
|
case "ServiceException":
|
|
668
668
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
669
|
-
throw await
|
|
669
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
670
670
|
case "TooManyRequestsException":
|
|
671
671
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
672
|
-
throw await
|
|
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
|
|
683
|
+
export const de_ListRequestedServiceQuotaChangeHistoryByQuotaCommand = async (output, context) => {
|
|
684
684
|
if (output.statusCode >= 300) {
|
|
685
|
-
return
|
|
685
|
+
return de_ListRequestedServiceQuotaChangeHistoryByQuotaCommandError(output, context);
|
|
686
686
|
}
|
|
687
687
|
const data = await parseBody(output.body, context);
|
|
688
688
|
let contents = {};
|
|
689
|
-
contents =
|
|
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
|
|
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
|
|
705
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
706
706
|
case "IllegalArgumentException":
|
|
707
707
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
708
|
-
throw await
|
|
708
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
709
709
|
case "InvalidPaginationTokenException":
|
|
710
710
|
case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
|
|
711
|
-
throw await
|
|
711
|
+
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
712
712
|
case "NoSuchResourceException":
|
|
713
713
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
714
|
-
throw await
|
|
714
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
715
715
|
case "ServiceException":
|
|
716
716
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
717
|
-
throw await
|
|
717
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
718
718
|
case "TooManyRequestsException":
|
|
719
719
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
720
|
-
throw await
|
|
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
|
|
731
|
+
export const de_ListServiceQuotaIncreaseRequestsInTemplateCommand = async (output, context) => {
|
|
732
732
|
if (output.statusCode >= 300) {
|
|
733
|
-
return
|
|
733
|
+
return de_ListServiceQuotaIncreaseRequestsInTemplateCommandError(output, context);
|
|
734
734
|
}
|
|
735
735
|
const data = await parseBody(output.body, context);
|
|
736
736
|
let contents = {};
|
|
737
|
-
contents =
|
|
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
|
|
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
|
|
753
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
754
754
|
case "AccessDeniedException":
|
|
755
755
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
756
|
-
throw await
|
|
756
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
757
757
|
case "DependencyAccessDeniedException":
|
|
758
758
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
759
|
-
throw await
|
|
759
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
760
760
|
case "IllegalArgumentException":
|
|
761
761
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
762
|
-
throw await
|
|
762
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
763
763
|
case "NoAvailableOrganizationException":
|
|
764
764
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
765
|
-
throw await
|
|
765
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
766
766
|
case "ServiceException":
|
|
767
767
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
768
|
-
throw await
|
|
768
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
769
769
|
case "TemplatesNotAvailableInRegionException":
|
|
770
770
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
771
|
-
throw await
|
|
771
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
772
772
|
case "TooManyRequestsException":
|
|
773
773
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
774
|
-
throw await
|
|
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
|
|
785
|
+
export const de_ListServiceQuotasCommand = async (output, context) => {
|
|
786
786
|
if (output.statusCode >= 300) {
|
|
787
|
-
return
|
|
787
|
+
return de_ListServiceQuotasCommandError(output, context);
|
|
788
788
|
}
|
|
789
789
|
const data = await parseBody(output.body, context);
|
|
790
790
|
let contents = {};
|
|
791
|
-
contents =
|
|
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
|
|
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
|
|
807
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
808
808
|
case "IllegalArgumentException":
|
|
809
809
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
810
|
-
throw await
|
|
810
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
811
811
|
case "InvalidPaginationTokenException":
|
|
812
812
|
case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
|
|
813
|
-
throw await
|
|
813
|
+
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
814
814
|
case "NoSuchResourceException":
|
|
815
815
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
816
|
-
throw await
|
|
816
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
817
817
|
case "ServiceException":
|
|
818
818
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
819
|
-
throw await
|
|
819
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
820
820
|
case "TooManyRequestsException":
|
|
821
821
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
822
|
-
throw await
|
|
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
|
|
833
|
+
export const de_ListServicesCommand = async (output, context) => {
|
|
834
834
|
if (output.statusCode >= 300) {
|
|
835
|
-
return
|
|
835
|
+
return de_ListServicesCommandError(output, context);
|
|
836
836
|
}
|
|
837
837
|
const data = await parseBody(output.body, context);
|
|
838
838
|
let contents = {};
|
|
839
|
-
contents =
|
|
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
|
|
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
|
|
855
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
856
856
|
case "IllegalArgumentException":
|
|
857
857
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
858
|
-
throw await
|
|
858
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
859
859
|
case "InvalidPaginationTokenException":
|
|
860
860
|
case "com.amazonaws.servicequotas#InvalidPaginationTokenException":
|
|
861
|
-
throw await
|
|
861
|
+
throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
|
|
862
862
|
case "ServiceException":
|
|
863
863
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
864
|
-
throw await
|
|
864
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
865
865
|
case "TooManyRequestsException":
|
|
866
866
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
867
|
-
throw await
|
|
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
|
|
878
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
879
879
|
if (output.statusCode >= 300) {
|
|
880
|
-
return
|
|
880
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
881
881
|
}
|
|
882
882
|
const data = await parseBody(output.body, context);
|
|
883
883
|
let contents = {};
|
|
884
|
-
contents =
|
|
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
|
|
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
|
|
900
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
901
901
|
case "IllegalArgumentException":
|
|
902
902
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
904
904
|
case "NoSuchResourceException":
|
|
905
905
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
906
|
-
throw await
|
|
906
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
907
907
|
case "ServiceException":
|
|
908
908
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
909
|
-
throw await
|
|
909
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
910
910
|
case "TooManyRequestsException":
|
|
911
911
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
912
|
-
throw await
|
|
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
|
|
923
|
+
export const de_PutServiceQuotaIncreaseRequestIntoTemplateCommand = async (output, context) => {
|
|
924
924
|
if (output.statusCode >= 300) {
|
|
925
|
-
return
|
|
925
|
+
return de_PutServiceQuotaIncreaseRequestIntoTemplateCommandError(output, context);
|
|
926
926
|
}
|
|
927
927
|
const data = await parseBody(output.body, context);
|
|
928
928
|
let contents = {};
|
|
929
|
-
contents =
|
|
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
|
|
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
|
|
945
|
+
throw await de_AWSServiceAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
946
946
|
case "AccessDeniedException":
|
|
947
947
|
case "com.amazonaws.servicequotas#AccessDeniedException":
|
|
948
|
-
throw await
|
|
948
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
949
949
|
case "DependencyAccessDeniedException":
|
|
950
950
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
951
|
-
throw await
|
|
951
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
952
952
|
case "IllegalArgumentException":
|
|
953
953
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
954
|
-
throw await
|
|
954
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
955
955
|
case "NoAvailableOrganizationException":
|
|
956
956
|
case "com.amazonaws.servicequotas#NoAvailableOrganizationException":
|
|
957
|
-
throw await
|
|
957
|
+
throw await de_NoAvailableOrganizationExceptionRes(parsedOutput, context);
|
|
958
958
|
case "NoSuchResourceException":
|
|
959
959
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
960
|
-
throw await
|
|
960
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
961
961
|
case "QuotaExceededException":
|
|
962
962
|
case "com.amazonaws.servicequotas#QuotaExceededException":
|
|
963
|
-
throw await
|
|
963
|
+
throw await de_QuotaExceededExceptionRes(parsedOutput, context);
|
|
964
964
|
case "ServiceException":
|
|
965
965
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
966
|
-
throw await
|
|
966
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
967
967
|
case "TemplatesNotAvailableInRegionException":
|
|
968
968
|
case "com.amazonaws.servicequotas#TemplatesNotAvailableInRegionException":
|
|
969
|
-
throw await
|
|
969
|
+
throw await de_TemplatesNotAvailableInRegionExceptionRes(parsedOutput, context);
|
|
970
970
|
case "TooManyRequestsException":
|
|
971
971
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
972
|
-
throw await
|
|
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
|
|
983
|
+
export const de_RequestServiceQuotaIncreaseCommand = async (output, context) => {
|
|
984
984
|
if (output.statusCode >= 300) {
|
|
985
|
-
return
|
|
985
|
+
return de_RequestServiceQuotaIncreaseCommandError(output, context);
|
|
986
986
|
}
|
|
987
987
|
const data = await parseBody(output.body, context);
|
|
988
988
|
let contents = {};
|
|
989
|
-
contents =
|
|
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
|
|
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
|
|
1005
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1006
1006
|
case "DependencyAccessDeniedException":
|
|
1007
1007
|
case "com.amazonaws.servicequotas#DependencyAccessDeniedException":
|
|
1008
|
-
throw await
|
|
1008
|
+
throw await de_DependencyAccessDeniedExceptionRes(parsedOutput, context);
|
|
1009
1009
|
case "IllegalArgumentException":
|
|
1010
1010
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
1011
|
-
throw await
|
|
1011
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1012
1012
|
case "InvalidResourceStateException":
|
|
1013
1013
|
case "com.amazonaws.servicequotas#InvalidResourceStateException":
|
|
1014
|
-
throw await
|
|
1014
|
+
throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
|
|
1015
1015
|
case "NoSuchResourceException":
|
|
1016
1016
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
1017
|
-
throw await
|
|
1017
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
1018
1018
|
case "QuotaExceededException":
|
|
1019
1019
|
case "com.amazonaws.servicequotas#QuotaExceededException":
|
|
1020
|
-
throw await
|
|
1020
|
+
throw await de_QuotaExceededExceptionRes(parsedOutput, context);
|
|
1021
1021
|
case "ResourceAlreadyExistsException":
|
|
1022
1022
|
case "com.amazonaws.servicequotas#ResourceAlreadyExistsException":
|
|
1023
|
-
throw await
|
|
1023
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1024
1024
|
case "ServiceException":
|
|
1025
1025
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
1026
|
-
throw await
|
|
1026
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1027
1027
|
case "TooManyRequestsException":
|
|
1028
1028
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
1029
|
-
throw await
|
|
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
|
|
1040
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1041
1041
|
if (output.statusCode >= 300) {
|
|
1042
|
-
return
|
|
1042
|
+
return de_TagResourceCommandError(output, context);
|
|
1043
1043
|
}
|
|
1044
1044
|
const data = await parseBody(output.body, context);
|
|
1045
1045
|
let contents = {};
|
|
1046
|
-
contents =
|
|
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
|
|
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
|
|
1062
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1063
1063
|
case "IllegalArgumentException":
|
|
1064
1064
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
1065
|
-
throw await
|
|
1065
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1066
1066
|
case "NoSuchResourceException":
|
|
1067
1067
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
1068
|
-
throw await
|
|
1068
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
1069
1069
|
case "ServiceException":
|
|
1070
1070
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
1071
|
-
throw await
|
|
1071
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1072
1072
|
case "TagPolicyViolationException":
|
|
1073
1073
|
case "com.amazonaws.servicequotas#TagPolicyViolationException":
|
|
1074
|
-
throw await
|
|
1074
|
+
throw await de_TagPolicyViolationExceptionRes(parsedOutput, context);
|
|
1075
1075
|
case "TooManyRequestsException":
|
|
1076
1076
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
1077
|
-
throw await
|
|
1077
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1078
1078
|
case "TooManyTagsException":
|
|
1079
1079
|
case "com.amazonaws.servicequotas#TooManyTagsException":
|
|
1080
|
-
throw await
|
|
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
|
|
1091
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1092
1092
|
if (output.statusCode >= 300) {
|
|
1093
|
-
return
|
|
1093
|
+
return de_UntagResourceCommandError(output, context);
|
|
1094
1094
|
}
|
|
1095
1095
|
const data = await parseBody(output.body, context);
|
|
1096
1096
|
let contents = {};
|
|
1097
|
-
contents =
|
|
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
|
|
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
|
|
1113
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1114
1114
|
case "IllegalArgumentException":
|
|
1115
1115
|
case "com.amazonaws.servicequotas#IllegalArgumentException":
|
|
1116
|
-
throw await
|
|
1116
|
+
throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
|
|
1117
1117
|
case "NoSuchResourceException":
|
|
1118
1118
|
case "com.amazonaws.servicequotas#NoSuchResourceException":
|
|
1119
|
-
throw await
|
|
1119
|
+
throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
|
|
1120
1120
|
case "ServiceException":
|
|
1121
1121
|
case "com.amazonaws.servicequotas#ServiceException":
|
|
1122
|
-
throw await
|
|
1122
|
+
throw await de_ServiceExceptionRes(parsedOutput, context);
|
|
1123
1123
|
case "TooManyRequestsException":
|
|
1124
1124
|
case "com.amazonaws.servicequotas#TooManyRequestsException":
|
|
1125
|
-
throw await
|
|
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
|
|
1136
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1137
1137
|
const body = parsedOutput.body;
|
|
1138
|
-
const deserialized =
|
|
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
|
|
1145
|
+
const de_AWSServiceAccessNotEnabledExceptionRes = async (parsedOutput, context) => {
|
|
1146
1146
|
const body = parsedOutput.body;
|
|
1147
|
-
const deserialized =
|
|
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
|
|
1154
|
+
const de_DependencyAccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1155
1155
|
const body = parsedOutput.body;
|
|
1156
|
-
const deserialized =
|
|
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
|
|
1163
|
+
const de_IllegalArgumentExceptionRes = async (parsedOutput, context) => {
|
|
1164
1164
|
const body = parsedOutput.body;
|
|
1165
|
-
const deserialized =
|
|
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
|
|
1172
|
+
const de_InvalidPaginationTokenExceptionRes = async (parsedOutput, context) => {
|
|
1173
1173
|
const body = parsedOutput.body;
|
|
1174
|
-
const deserialized =
|
|
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
|
|
1181
|
+
const de_InvalidResourceStateExceptionRes = async (parsedOutput, context) => {
|
|
1182
1182
|
const body = parsedOutput.body;
|
|
1183
|
-
const deserialized =
|
|
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
|
|
1190
|
+
const de_NoAvailableOrganizationExceptionRes = async (parsedOutput, context) => {
|
|
1191
1191
|
const body = parsedOutput.body;
|
|
1192
|
-
const deserialized =
|
|
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
|
|
1199
|
+
const de_NoSuchResourceExceptionRes = async (parsedOutput, context) => {
|
|
1200
1200
|
const body = parsedOutput.body;
|
|
1201
|
-
const deserialized =
|
|
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
|
|
1208
|
+
const de_OrganizationNotInAllFeaturesModeExceptionRes = async (parsedOutput, context) => {
|
|
1209
1209
|
const body = parsedOutput.body;
|
|
1210
|
-
const deserialized =
|
|
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
|
|
1217
|
+
const de_QuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1218
1218
|
const body = parsedOutput.body;
|
|
1219
|
-
const deserialized =
|
|
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
|
|
1226
|
+
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1227
1227
|
const body = parsedOutput.body;
|
|
1228
|
-
const deserialized =
|
|
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
|
|
1235
|
+
const de_ServiceExceptionRes = async (parsedOutput, context) => {
|
|
1236
1236
|
const body = parsedOutput.body;
|
|
1237
|
-
const deserialized =
|
|
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
|
|
1244
|
+
const de_ServiceQuotaTemplateNotInUseExceptionRes = async (parsedOutput, context) => {
|
|
1245
1245
|
const body = parsedOutput.body;
|
|
1246
|
-
const deserialized =
|
|
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
|
|
1253
|
+
const de_TagPolicyViolationExceptionRes = async (parsedOutput, context) => {
|
|
1254
1254
|
const body = parsedOutput.body;
|
|
1255
|
-
const deserialized =
|
|
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
|
|
1262
|
+
const de_TemplatesNotAvailableInRegionExceptionRes = async (parsedOutput, context) => {
|
|
1263
1263
|
const body = parsedOutput.body;
|
|
1264
|
-
const deserialized =
|
|
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
|
|
1271
|
+
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
1272
1272
|
const body = parsedOutput.body;
|
|
1273
|
-
const deserialized =
|
|
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
|
|
1280
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1281
1281
|
const body = parsedOutput.body;
|
|
1282
|
-
const deserialized =
|
|
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
|
|
1289
|
+
const se_AssociateServiceQuotaTemplateRequest = (input, context) => {
|
|
1290
1290
|
return {};
|
|
1291
1291
|
};
|
|
1292
|
-
const
|
|
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
|
|
1299
|
+
const se_DisassociateServiceQuotaTemplateRequest = (input, context) => {
|
|
1300
1300
|
return {};
|
|
1301
1301
|
};
|
|
1302
|
-
const
|
|
1302
|
+
const se_GetAssociationForServiceQuotaTemplateRequest = (input, context) => {
|
|
1303
1303
|
return {};
|
|
1304
1304
|
};
|
|
1305
|
-
const
|
|
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
|
|
1311
|
+
const se_GetRequestedServiceQuotaChangeRequest = (input, context) => {
|
|
1312
1312
|
return {
|
|
1313
1313
|
...(input.RequestId != null && { RequestId: input.RequestId }),
|
|
1314
1314
|
};
|
|
1315
1315
|
};
|
|
1316
|
-
const
|
|
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
|
|
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
|
|
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
|
|
1336
|
+
const se_InputTags = (input, context) => {
|
|
1337
1337
|
return input
|
|
1338
1338
|
.filter((e) => e != null)
|
|
1339
1339
|
.map((entry) => {
|
|
1340
|
-
return
|
|
1340
|
+
return se_Tag(entry, context);
|
|
1341
1341
|
});
|
|
1342
1342
|
};
|
|
1343
|
-
const
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1388
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
1389
1389
|
return {
|
|
1390
1390
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1391
1391
|
};
|
|
1392
1392
|
};
|
|
1393
|
-
const
|
|
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
|
|
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
|
|
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
|
|
1414
|
+
const se_TagResourceRequest = (input, context) => {
|
|
1415
1415
|
return {
|
|
1416
1416
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1417
|
-
...(input.Tags != null && { Tags:
|
|
1417
|
+
...(input.Tags != null && { Tags: se_InputTags(input.Tags, context) }),
|
|
1418
1418
|
};
|
|
1419
1419
|
};
|
|
1420
|
-
const
|
|
1420
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
1421
1421
|
return {
|
|
1422
1422
|
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1423
|
-
...(input.TagKeys != null && { TagKeys:
|
|
1423
|
+
...(input.TagKeys != null && { TagKeys: se_InputTagKeys(input.TagKeys, context) }),
|
|
1424
1424
|
};
|
|
1425
1425
|
};
|
|
1426
|
-
const
|
|
1426
|
+
const de_AccessDeniedException = (output, context) => {
|
|
1427
1427
|
return {
|
|
1428
1428
|
Message: __expectString(output.Message),
|
|
1429
1429
|
};
|
|
1430
1430
|
};
|
|
1431
|
-
const
|
|
1431
|
+
const de_AssociateServiceQuotaTemplateResponse = (output, context) => {
|
|
1432
1432
|
return {};
|
|
1433
1433
|
};
|
|
1434
|
-
const
|
|
1434
|
+
const de_AWSServiceAccessNotEnabledException = (output, context) => {
|
|
1435
1435
|
return {
|
|
1436
1436
|
Message: __expectString(output.Message),
|
|
1437
1437
|
};
|
|
1438
1438
|
};
|
|
1439
|
-
const
|
|
1439
|
+
const de_DeleteServiceQuotaIncreaseRequestFromTemplateResponse = (output, context) => {
|
|
1440
1440
|
return {};
|
|
1441
1441
|
};
|
|
1442
|
-
const
|
|
1442
|
+
const de_DependencyAccessDeniedException = (output, context) => {
|
|
1443
1443
|
return {
|
|
1444
1444
|
Message: __expectString(output.Message),
|
|
1445
1445
|
};
|
|
1446
1446
|
};
|
|
1447
|
-
const
|
|
1447
|
+
const de_DisassociateServiceQuotaTemplateResponse = (output, context) => {
|
|
1448
1448
|
return {};
|
|
1449
1449
|
};
|
|
1450
|
-
const
|
|
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
|
|
1456
|
+
const de_GetAssociationForServiceQuotaTemplateResponse = (output, context) => {
|
|
1457
1457
|
return {
|
|
1458
1458
|
ServiceQuotaTemplateAssociationStatus: __expectString(output.ServiceQuotaTemplateAssociationStatus),
|
|
1459
1459
|
};
|
|
1460
1460
|
};
|
|
1461
|
-
const
|
|
1461
|
+
const de_GetAWSDefaultServiceQuotaResponse = (output, context) => {
|
|
1462
1462
|
return {
|
|
1463
|
-
Quota: output.Quota != null ?
|
|
1463
|
+
Quota: output.Quota != null ? de_ServiceQuota(output.Quota, context) : undefined,
|
|
1464
1464
|
};
|
|
1465
1465
|
};
|
|
1466
|
-
const
|
|
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
|
|
1471
|
+
const de_GetServiceQuotaIncreaseRequestFromTemplateResponse = (output, context) => {
|
|
1474
1472
|
return {
|
|
1475
1473
|
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate != null
|
|
1476
|
-
?
|
|
1474
|
+
? de_ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
|
|
1477
1475
|
: undefined,
|
|
1478
1476
|
};
|
|
1479
1477
|
};
|
|
1480
|
-
const
|
|
1478
|
+
const de_GetServiceQuotaResponse = (output, context) => {
|
|
1481
1479
|
return {
|
|
1482
|
-
Quota: output.Quota != null ?
|
|
1480
|
+
Quota: output.Quota != null ? de_ServiceQuota(output.Quota, context) : undefined,
|
|
1483
1481
|
};
|
|
1484
1482
|
};
|
|
1485
|
-
const
|
|
1483
|
+
const de_IllegalArgumentException = (output, context) => {
|
|
1486
1484
|
return {
|
|
1487
1485
|
Message: __expectString(output.Message),
|
|
1488
1486
|
};
|
|
1489
1487
|
};
|
|
1490
|
-
const
|
|
1488
|
+
const de_InvalidPaginationTokenException = (output, context) => {
|
|
1491
1489
|
return {
|
|
1492
1490
|
Message: __expectString(output.Message),
|
|
1493
1491
|
};
|
|
1494
1492
|
};
|
|
1495
|
-
const
|
|
1493
|
+
const de_InvalidResourceStateException = (output, context) => {
|
|
1496
1494
|
return {
|
|
1497
1495
|
Message: __expectString(output.Message),
|
|
1498
1496
|
};
|
|
1499
1497
|
};
|
|
1500
|
-
const
|
|
1498
|
+
const de_ListAWSDefaultServiceQuotasResponse = (output, context) => {
|
|
1501
1499
|
return {
|
|
1502
1500
|
NextToken: __expectString(output.NextToken),
|
|
1503
|
-
Quotas: output.Quotas != null ?
|
|
1501
|
+
Quotas: output.Quotas != null ? de_ServiceQuotaListDefinition(output.Quotas, context) : undefined,
|
|
1504
1502
|
};
|
|
1505
1503
|
};
|
|
1506
|
-
const
|
|
1504
|
+
const de_ListRequestedServiceQuotaChangeHistoryByQuotaResponse = (output, context) => {
|
|
1507
1505
|
return {
|
|
1508
1506
|
NextToken: __expectString(output.NextToken),
|
|
1509
1507
|
RequestedQuotas: output.RequestedQuotas != null
|
|
1510
|
-
?
|
|
1508
|
+
? de_RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
|
|
1511
1509
|
: undefined,
|
|
1512
1510
|
};
|
|
1513
1511
|
};
|
|
1514
|
-
const
|
|
1512
|
+
const de_ListRequestedServiceQuotaChangeHistoryResponse = (output, context) => {
|
|
1515
1513
|
return {
|
|
1516
1514
|
NextToken: __expectString(output.NextToken),
|
|
1517
1515
|
RequestedQuotas: output.RequestedQuotas != null
|
|
1518
|
-
?
|
|
1516
|
+
? de_RequestedServiceQuotaChangeHistoryListDefinition(output.RequestedQuotas, context)
|
|
1519
1517
|
: undefined,
|
|
1520
1518
|
};
|
|
1521
1519
|
};
|
|
1522
|
-
const
|
|
1520
|
+
const de_ListServiceQuotaIncreaseRequestsInTemplateResponse = (output, context) => {
|
|
1523
1521
|
return {
|
|
1524
1522
|
NextToken: __expectString(output.NextToken),
|
|
1525
1523
|
ServiceQuotaIncreaseRequestInTemplateList: output.ServiceQuotaIncreaseRequestInTemplateList != null
|
|
1526
|
-
?
|
|
1524
|
+
? de_ServiceQuotaIncreaseRequestInTemplateList(output.ServiceQuotaIncreaseRequestInTemplateList, context)
|
|
1527
1525
|
: undefined,
|
|
1528
1526
|
};
|
|
1529
1527
|
};
|
|
1530
|
-
const
|
|
1528
|
+
const de_ListServiceQuotasResponse = (output, context) => {
|
|
1531
1529
|
return {
|
|
1532
1530
|
NextToken: __expectString(output.NextToken),
|
|
1533
|
-
Quotas: output.Quotas != null ?
|
|
1531
|
+
Quotas: output.Quotas != null ? de_ServiceQuotaListDefinition(output.Quotas, context) : undefined,
|
|
1534
1532
|
};
|
|
1535
1533
|
};
|
|
1536
|
-
const
|
|
1534
|
+
const de_ListServicesResponse = (output, context) => {
|
|
1537
1535
|
return {
|
|
1538
1536
|
NextToken: __expectString(output.NextToken),
|
|
1539
|
-
Services: output.Services != null ?
|
|
1537
|
+
Services: output.Services != null ? de_ServiceInfoListDefinition(output.Services, context) : undefined,
|
|
1540
1538
|
};
|
|
1541
1539
|
};
|
|
1542
|
-
const
|
|
1540
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
1543
1541
|
return {
|
|
1544
|
-
Tags: output.Tags != null ?
|
|
1542
|
+
Tags: output.Tags != null ? de_OutputTags(output.Tags, context) : undefined,
|
|
1545
1543
|
};
|
|
1546
1544
|
};
|
|
1547
|
-
const
|
|
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
|
|
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
|
|
1562
|
+
const de_NoAvailableOrganizationException = (output, context) => {
|
|
1567
1563
|
return {
|
|
1568
1564
|
Message: __expectString(output.Message),
|
|
1569
1565
|
};
|
|
1570
1566
|
};
|
|
1571
|
-
const
|
|
1567
|
+
const de_NoSuchResourceException = (output, context) => {
|
|
1572
1568
|
return {
|
|
1573
1569
|
Message: __expectString(output.Message),
|
|
1574
1570
|
};
|
|
1575
1571
|
};
|
|
1576
|
-
const
|
|
1572
|
+
const de_OrganizationNotInAllFeaturesModeException = (output, context) => {
|
|
1577
1573
|
return {
|
|
1578
1574
|
Message: __expectString(output.Message),
|
|
1579
1575
|
};
|
|
1580
1576
|
};
|
|
1581
|
-
const
|
|
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
|
|
1584
|
+
return de_Tag(entry, context);
|
|
1589
1585
|
});
|
|
1590
1586
|
return retVal;
|
|
1591
1587
|
};
|
|
1592
|
-
const
|
|
1588
|
+
const de_PutServiceQuotaIncreaseRequestIntoTemplateResponse = (output, context) => {
|
|
1593
1589
|
return {
|
|
1594
1590
|
ServiceQuotaIncreaseRequestInTemplate: output.ServiceQuotaIncreaseRequestInTemplate != null
|
|
1595
|
-
?
|
|
1591
|
+
? de_ServiceQuotaIncreaseRequestInTemplate(output.ServiceQuotaIncreaseRequestInTemplate, context)
|
|
1596
1592
|
: undefined,
|
|
1597
1593
|
};
|
|
1598
1594
|
};
|
|
1599
|
-
const
|
|
1595
|
+
const de_QuotaExceededException = (output, context) => {
|
|
1600
1596
|
return {
|
|
1601
1597
|
Message: __expectString(output.Message),
|
|
1602
1598
|
};
|
|
1603
1599
|
};
|
|
1604
|
-
const
|
|
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
|
|
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
|
|
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
|
|
1633
|
+
return de_RequestedServiceQuotaChange(entry, context);
|
|
1638
1634
|
});
|
|
1639
1635
|
return retVal;
|
|
1640
1636
|
};
|
|
1641
|
-
const
|
|
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
|
|
1642
|
+
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
1649
1643
|
return {
|
|
1650
1644
|
Message: __expectString(output.Message),
|
|
1651
1645
|
};
|
|
1652
1646
|
};
|
|
1653
|
-
const
|
|
1647
|
+
const de_ServiceException = (output, context) => {
|
|
1654
1648
|
return {
|
|
1655
1649
|
Message: __expectString(output.Message),
|
|
1656
1650
|
};
|
|
1657
1651
|
};
|
|
1658
|
-
const
|
|
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
|
|
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
|
|
1665
|
+
return de_ServiceInfo(entry, context);
|
|
1672
1666
|
});
|
|
1673
1667
|
return retVal;
|
|
1674
1668
|
};
|
|
1675
|
-
const
|
|
1669
|
+
const de_ServiceQuota = (output, context) => {
|
|
1676
1670
|
return {
|
|
1677
1671
|
Adjustable: __expectBoolean(output.Adjustable),
|
|
1678
|
-
ErrorReason: output.ErrorReason != null ?
|
|
1672
|
+
ErrorReason: output.ErrorReason != null ? de_ErrorReason(output.ErrorReason, context) : undefined,
|
|
1679
1673
|
GlobalQuota: __expectBoolean(output.GlobalQuota),
|
|
1680
|
-
Period: output.Period != null ?
|
|
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 ?
|
|
1681
|
+
UsageMetric: output.UsageMetric != null ? de_MetricInfo(output.UsageMetric, context) : undefined,
|
|
1688
1682
|
Value: __limitedParseDouble(output.Value),
|
|
1689
1683
|
};
|
|
1690
1684
|
};
|
|
1691
|
-
const
|
|
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
|
|
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
|
|
1704
|
+
return de_ServiceQuotaIncreaseRequestInTemplate(entry, context);
|
|
1711
1705
|
});
|
|
1712
1706
|
return retVal;
|
|
1713
1707
|
};
|
|
1714
|
-
const
|
|
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
|
|
1715
|
+
return de_ServiceQuota(entry, context);
|
|
1722
1716
|
});
|
|
1723
1717
|
return retVal;
|
|
1724
1718
|
};
|
|
1725
|
-
const
|
|
1719
|
+
const de_ServiceQuotaTemplateNotInUseException = (output, context) => {
|
|
1726
1720
|
return {
|
|
1727
1721
|
Message: __expectString(output.Message),
|
|
1728
1722
|
};
|
|
1729
1723
|
};
|
|
1730
|
-
const
|
|
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
|
|
1730
|
+
const de_TagPolicyViolationException = (output, context) => {
|
|
1737
1731
|
return {
|
|
1738
1732
|
Message: __expectString(output.Message),
|
|
1739
1733
|
};
|
|
1740
1734
|
};
|
|
1741
|
-
const
|
|
1735
|
+
const de_TagResourceResponse = (output, context) => {
|
|
1742
1736
|
return {};
|
|
1743
1737
|
};
|
|
1744
|
-
const
|
|
1738
|
+
const de_TemplatesNotAvailableInRegionException = (output, context) => {
|
|
1745
1739
|
return {
|
|
1746
1740
|
Message: __expectString(output.Message),
|
|
1747
1741
|
};
|
|
1748
1742
|
};
|
|
1749
|
-
const
|
|
1743
|
+
const de_TooManyRequestsException = (output, context) => {
|
|
1750
1744
|
return {
|
|
1751
1745
|
Message: __expectString(output.Message),
|
|
1752
1746
|
};
|
|
1753
1747
|
};
|
|
1754
|
-
const
|
|
1748
|
+
const de_TooManyTagsException = (output, context) => {
|
|
1755
1749
|
return {
|
|
1756
1750
|
Message: __expectString(output.Message),
|
|
1757
1751
|
};
|
|
1758
1752
|
};
|
|
1759
|
-
const
|
|
1753
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
1760
1754
|
return {};
|
|
1761
1755
|
};
|
|
1762
1756
|
const deserializeMetadata = (output) => ({
|