@aws-sdk/client-elastic-beanstalk 3.310.0 → 3.315.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/protocols/Aws_query.js +145 -282
- package/dist-es/protocols/Aws_query.js +146 -283
- package/package.json +6 -6
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { ElasticBeanstalkServiceException as __BaseException } from "../models/ElasticBeanstalkServiceException";
|
|
5
5
|
import { CodeBuildNotInServiceRegionException, ElasticBeanstalkServiceException, InsufficientPrivilegesException, InvalidRequestException, ManagedActionInvalidStateException, OperationInProgressException, PlatformVersionStillReferencedException, ResourceNotFoundException, ResourceTypeNotSupportedException, S3LocationNotInServiceRegionException, S3SubscriptionRequiredException, SourceBundleDeletionException, TooManyApplicationsException, TooManyApplicationVersionsException, TooManyBucketsException, TooManyConfigurationTemplatesException, TooManyEnvironmentsException, TooManyPlatformsException, TooManyTagsException, } from "../models/models_0";
|
|
6
6
|
export const se_AbortEnvironmentUpdateCommand = async (input, context) => {
|
|
7
|
-
const headers =
|
|
8
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
9
|
-
};
|
|
7
|
+
const headers = SHARED_HEADERS;
|
|
10
8
|
let body;
|
|
11
9
|
body = buildFormUrlencodedString({
|
|
12
10
|
...se_AbortEnvironmentUpdateMessage(input, context),
|
|
@@ -16,9 +14,7 @@ export const se_AbortEnvironmentUpdateCommand = async (input, context) => {
|
|
|
16
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
15
|
};
|
|
18
16
|
export const se_ApplyEnvironmentManagedActionCommand = async (input, context) => {
|
|
19
|
-
const headers =
|
|
20
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
21
|
-
};
|
|
17
|
+
const headers = SHARED_HEADERS;
|
|
22
18
|
let body;
|
|
23
19
|
body = buildFormUrlencodedString({
|
|
24
20
|
...se_ApplyEnvironmentManagedActionRequest(input, context),
|
|
@@ -28,9 +24,7 @@ export const se_ApplyEnvironmentManagedActionCommand = async (input, context) =>
|
|
|
28
24
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
25
|
};
|
|
30
26
|
export const se_AssociateEnvironmentOperationsRoleCommand = async (input, context) => {
|
|
31
|
-
const headers =
|
|
32
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
33
|
-
};
|
|
27
|
+
const headers = SHARED_HEADERS;
|
|
34
28
|
let body;
|
|
35
29
|
body = buildFormUrlencodedString({
|
|
36
30
|
...se_AssociateEnvironmentOperationsRoleMessage(input, context),
|
|
@@ -40,9 +34,7 @@ export const se_AssociateEnvironmentOperationsRoleCommand = async (input, contex
|
|
|
40
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
35
|
};
|
|
42
36
|
export const se_CheckDNSAvailabilityCommand = async (input, context) => {
|
|
43
|
-
const headers =
|
|
44
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
45
|
-
};
|
|
37
|
+
const headers = SHARED_HEADERS;
|
|
46
38
|
let body;
|
|
47
39
|
body = buildFormUrlencodedString({
|
|
48
40
|
...se_CheckDNSAvailabilityMessage(input, context),
|
|
@@ -52,9 +44,7 @@ export const se_CheckDNSAvailabilityCommand = async (input, context) => {
|
|
|
52
44
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
45
|
};
|
|
54
46
|
export const se_ComposeEnvironmentsCommand = async (input, context) => {
|
|
55
|
-
const headers =
|
|
56
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
57
|
-
};
|
|
47
|
+
const headers = SHARED_HEADERS;
|
|
58
48
|
let body;
|
|
59
49
|
body = buildFormUrlencodedString({
|
|
60
50
|
...se_ComposeEnvironmentsMessage(input, context),
|
|
@@ -64,9 +54,7 @@ export const se_ComposeEnvironmentsCommand = async (input, context) => {
|
|
|
64
54
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
55
|
};
|
|
66
56
|
export const se_CreateApplicationCommand = async (input, context) => {
|
|
67
|
-
const headers =
|
|
68
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
69
|
-
};
|
|
57
|
+
const headers = SHARED_HEADERS;
|
|
70
58
|
let body;
|
|
71
59
|
body = buildFormUrlencodedString({
|
|
72
60
|
...se_CreateApplicationMessage(input, context),
|
|
@@ -76,9 +64,7 @@ export const se_CreateApplicationCommand = async (input, context) => {
|
|
|
76
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
65
|
};
|
|
78
66
|
export const se_CreateApplicationVersionCommand = async (input, context) => {
|
|
79
|
-
const headers =
|
|
80
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
81
|
-
};
|
|
67
|
+
const headers = SHARED_HEADERS;
|
|
82
68
|
let body;
|
|
83
69
|
body = buildFormUrlencodedString({
|
|
84
70
|
...se_CreateApplicationVersionMessage(input, context),
|
|
@@ -88,9 +74,7 @@ export const se_CreateApplicationVersionCommand = async (input, context) => {
|
|
|
88
74
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
75
|
};
|
|
90
76
|
export const se_CreateConfigurationTemplateCommand = async (input, context) => {
|
|
91
|
-
const headers =
|
|
92
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
93
|
-
};
|
|
77
|
+
const headers = SHARED_HEADERS;
|
|
94
78
|
let body;
|
|
95
79
|
body = buildFormUrlencodedString({
|
|
96
80
|
...se_CreateConfigurationTemplateMessage(input, context),
|
|
@@ -100,9 +84,7 @@ export const se_CreateConfigurationTemplateCommand = async (input, context) => {
|
|
|
100
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
85
|
};
|
|
102
86
|
export const se_CreateEnvironmentCommand = async (input, context) => {
|
|
103
|
-
const headers =
|
|
104
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
105
|
-
};
|
|
87
|
+
const headers = SHARED_HEADERS;
|
|
106
88
|
let body;
|
|
107
89
|
body = buildFormUrlencodedString({
|
|
108
90
|
...se_CreateEnvironmentMessage(input, context),
|
|
@@ -112,9 +94,7 @@ export const se_CreateEnvironmentCommand = async (input, context) => {
|
|
|
112
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
95
|
};
|
|
114
96
|
export const se_CreatePlatformVersionCommand = async (input, context) => {
|
|
115
|
-
const headers =
|
|
116
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
117
|
-
};
|
|
97
|
+
const headers = SHARED_HEADERS;
|
|
118
98
|
let body;
|
|
119
99
|
body = buildFormUrlencodedString({
|
|
120
100
|
...se_CreatePlatformVersionRequest(input, context),
|
|
@@ -124,9 +104,7 @@ export const se_CreatePlatformVersionCommand = async (input, context) => {
|
|
|
124
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
105
|
};
|
|
126
106
|
export const se_CreateStorageLocationCommand = async (input, context) => {
|
|
127
|
-
const headers =
|
|
128
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
129
|
-
};
|
|
107
|
+
const headers = SHARED_HEADERS;
|
|
130
108
|
const body = buildFormUrlencodedString({
|
|
131
109
|
Action: "CreateStorageLocation",
|
|
132
110
|
Version: "2010-12-01",
|
|
@@ -134,9 +112,7 @@ export const se_CreateStorageLocationCommand = async (input, context) => {
|
|
|
134
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
135
113
|
};
|
|
136
114
|
export const se_DeleteApplicationCommand = async (input, context) => {
|
|
137
|
-
const headers =
|
|
138
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
139
|
-
};
|
|
115
|
+
const headers = SHARED_HEADERS;
|
|
140
116
|
let body;
|
|
141
117
|
body = buildFormUrlencodedString({
|
|
142
118
|
...se_DeleteApplicationMessage(input, context),
|
|
@@ -146,9 +122,7 @@ export const se_DeleteApplicationCommand = async (input, context) => {
|
|
|
146
122
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
123
|
};
|
|
148
124
|
export const se_DeleteApplicationVersionCommand = async (input, context) => {
|
|
149
|
-
const headers =
|
|
150
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
151
|
-
};
|
|
125
|
+
const headers = SHARED_HEADERS;
|
|
152
126
|
let body;
|
|
153
127
|
body = buildFormUrlencodedString({
|
|
154
128
|
...se_DeleteApplicationVersionMessage(input, context),
|
|
@@ -158,9 +132,7 @@ export const se_DeleteApplicationVersionCommand = async (input, context) => {
|
|
|
158
132
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
159
133
|
};
|
|
160
134
|
export const se_DeleteConfigurationTemplateCommand = async (input, context) => {
|
|
161
|
-
const headers =
|
|
162
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
163
|
-
};
|
|
135
|
+
const headers = SHARED_HEADERS;
|
|
164
136
|
let body;
|
|
165
137
|
body = buildFormUrlencodedString({
|
|
166
138
|
...se_DeleteConfigurationTemplateMessage(input, context),
|
|
@@ -170,9 +142,7 @@ export const se_DeleteConfigurationTemplateCommand = async (input, context) => {
|
|
|
170
142
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
171
143
|
};
|
|
172
144
|
export const se_DeleteEnvironmentConfigurationCommand = async (input, context) => {
|
|
173
|
-
const headers =
|
|
174
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
175
|
-
};
|
|
145
|
+
const headers = SHARED_HEADERS;
|
|
176
146
|
let body;
|
|
177
147
|
body = buildFormUrlencodedString({
|
|
178
148
|
...se_DeleteEnvironmentConfigurationMessage(input, context),
|
|
@@ -182,9 +152,7 @@ export const se_DeleteEnvironmentConfigurationCommand = async (input, context) =
|
|
|
182
152
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
183
153
|
};
|
|
184
154
|
export const se_DeletePlatformVersionCommand = async (input, context) => {
|
|
185
|
-
const headers =
|
|
186
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
187
|
-
};
|
|
155
|
+
const headers = SHARED_HEADERS;
|
|
188
156
|
let body;
|
|
189
157
|
body = buildFormUrlencodedString({
|
|
190
158
|
...se_DeletePlatformVersionRequest(input, context),
|
|
@@ -194,9 +162,7 @@ export const se_DeletePlatformVersionCommand = async (input, context) => {
|
|
|
194
162
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
195
163
|
};
|
|
196
164
|
export const se_DescribeAccountAttributesCommand = async (input, context) => {
|
|
197
|
-
const headers =
|
|
198
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
199
|
-
};
|
|
165
|
+
const headers = SHARED_HEADERS;
|
|
200
166
|
const body = buildFormUrlencodedString({
|
|
201
167
|
Action: "DescribeAccountAttributes",
|
|
202
168
|
Version: "2010-12-01",
|
|
@@ -204,9 +170,7 @@ export const se_DescribeAccountAttributesCommand = async (input, context) => {
|
|
|
204
170
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
205
171
|
};
|
|
206
172
|
export const se_DescribeApplicationsCommand = async (input, context) => {
|
|
207
|
-
const headers =
|
|
208
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
209
|
-
};
|
|
173
|
+
const headers = SHARED_HEADERS;
|
|
210
174
|
let body;
|
|
211
175
|
body = buildFormUrlencodedString({
|
|
212
176
|
...se_DescribeApplicationsMessage(input, context),
|
|
@@ -216,9 +180,7 @@ export const se_DescribeApplicationsCommand = async (input, context) => {
|
|
|
216
180
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
181
|
};
|
|
218
182
|
export const se_DescribeApplicationVersionsCommand = async (input, context) => {
|
|
219
|
-
const headers =
|
|
220
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
221
|
-
};
|
|
183
|
+
const headers = SHARED_HEADERS;
|
|
222
184
|
let body;
|
|
223
185
|
body = buildFormUrlencodedString({
|
|
224
186
|
...se_DescribeApplicationVersionsMessage(input, context),
|
|
@@ -228,9 +190,7 @@ export const se_DescribeApplicationVersionsCommand = async (input, context) => {
|
|
|
228
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
191
|
};
|
|
230
192
|
export const se_DescribeConfigurationOptionsCommand = async (input, context) => {
|
|
231
|
-
const headers =
|
|
232
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
233
|
-
};
|
|
193
|
+
const headers = SHARED_HEADERS;
|
|
234
194
|
let body;
|
|
235
195
|
body = buildFormUrlencodedString({
|
|
236
196
|
...se_DescribeConfigurationOptionsMessage(input, context),
|
|
@@ -240,9 +200,7 @@ export const se_DescribeConfigurationOptionsCommand = async (input, context) =>
|
|
|
240
200
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
241
201
|
};
|
|
242
202
|
export const se_DescribeConfigurationSettingsCommand = async (input, context) => {
|
|
243
|
-
const headers =
|
|
244
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
245
|
-
};
|
|
203
|
+
const headers = SHARED_HEADERS;
|
|
246
204
|
let body;
|
|
247
205
|
body = buildFormUrlencodedString({
|
|
248
206
|
...se_DescribeConfigurationSettingsMessage(input, context),
|
|
@@ -252,9 +210,7 @@ export const se_DescribeConfigurationSettingsCommand = async (input, context) =>
|
|
|
252
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
253
211
|
};
|
|
254
212
|
export const se_DescribeEnvironmentHealthCommand = async (input, context) => {
|
|
255
|
-
const headers =
|
|
256
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
257
|
-
};
|
|
213
|
+
const headers = SHARED_HEADERS;
|
|
258
214
|
let body;
|
|
259
215
|
body = buildFormUrlencodedString({
|
|
260
216
|
...se_DescribeEnvironmentHealthRequest(input, context),
|
|
@@ -264,9 +220,7 @@ export const se_DescribeEnvironmentHealthCommand = async (input, context) => {
|
|
|
264
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
221
|
};
|
|
266
222
|
export const se_DescribeEnvironmentManagedActionHistoryCommand = async (input, context) => {
|
|
267
|
-
const headers =
|
|
268
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
269
|
-
};
|
|
223
|
+
const headers = SHARED_HEADERS;
|
|
270
224
|
let body;
|
|
271
225
|
body = buildFormUrlencodedString({
|
|
272
226
|
...se_DescribeEnvironmentManagedActionHistoryRequest(input, context),
|
|
@@ -276,9 +230,7 @@ export const se_DescribeEnvironmentManagedActionHistoryCommand = async (input, c
|
|
|
276
230
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
231
|
};
|
|
278
232
|
export const se_DescribeEnvironmentManagedActionsCommand = async (input, context) => {
|
|
279
|
-
const headers =
|
|
280
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
281
|
-
};
|
|
233
|
+
const headers = SHARED_HEADERS;
|
|
282
234
|
let body;
|
|
283
235
|
body = buildFormUrlencodedString({
|
|
284
236
|
...se_DescribeEnvironmentManagedActionsRequest(input, context),
|
|
@@ -288,9 +240,7 @@ export const se_DescribeEnvironmentManagedActionsCommand = async (input, context
|
|
|
288
240
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
289
241
|
};
|
|
290
242
|
export const se_DescribeEnvironmentResourcesCommand = async (input, context) => {
|
|
291
|
-
const headers =
|
|
292
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
293
|
-
};
|
|
243
|
+
const headers = SHARED_HEADERS;
|
|
294
244
|
let body;
|
|
295
245
|
body = buildFormUrlencodedString({
|
|
296
246
|
...se_DescribeEnvironmentResourcesMessage(input, context),
|
|
@@ -300,9 +250,7 @@ export const se_DescribeEnvironmentResourcesCommand = async (input, context) =>
|
|
|
300
250
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
251
|
};
|
|
302
252
|
export const se_DescribeEnvironmentsCommand = async (input, context) => {
|
|
303
|
-
const headers =
|
|
304
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
305
|
-
};
|
|
253
|
+
const headers = SHARED_HEADERS;
|
|
306
254
|
let body;
|
|
307
255
|
body = buildFormUrlencodedString({
|
|
308
256
|
...se_DescribeEnvironmentsMessage(input, context),
|
|
@@ -312,9 +260,7 @@ export const se_DescribeEnvironmentsCommand = async (input, context) => {
|
|
|
312
260
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
313
261
|
};
|
|
314
262
|
export const se_DescribeEventsCommand = async (input, context) => {
|
|
315
|
-
const headers =
|
|
316
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
317
|
-
};
|
|
263
|
+
const headers = SHARED_HEADERS;
|
|
318
264
|
let body;
|
|
319
265
|
body = buildFormUrlencodedString({
|
|
320
266
|
...se_DescribeEventsMessage(input, context),
|
|
@@ -324,9 +270,7 @@ export const se_DescribeEventsCommand = async (input, context) => {
|
|
|
324
270
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
325
271
|
};
|
|
326
272
|
export const se_DescribeInstancesHealthCommand = async (input, context) => {
|
|
327
|
-
const headers =
|
|
328
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
329
|
-
};
|
|
273
|
+
const headers = SHARED_HEADERS;
|
|
330
274
|
let body;
|
|
331
275
|
body = buildFormUrlencodedString({
|
|
332
276
|
...se_DescribeInstancesHealthRequest(input, context),
|
|
@@ -336,9 +280,7 @@ export const se_DescribeInstancesHealthCommand = async (input, context) => {
|
|
|
336
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
281
|
};
|
|
338
282
|
export const se_DescribePlatformVersionCommand = async (input, context) => {
|
|
339
|
-
const headers =
|
|
340
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
341
|
-
};
|
|
283
|
+
const headers = SHARED_HEADERS;
|
|
342
284
|
let body;
|
|
343
285
|
body = buildFormUrlencodedString({
|
|
344
286
|
...se_DescribePlatformVersionRequest(input, context),
|
|
@@ -348,9 +290,7 @@ export const se_DescribePlatformVersionCommand = async (input, context) => {
|
|
|
348
290
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
349
291
|
};
|
|
350
292
|
export const se_DisassociateEnvironmentOperationsRoleCommand = async (input, context) => {
|
|
351
|
-
const headers =
|
|
352
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
353
|
-
};
|
|
293
|
+
const headers = SHARED_HEADERS;
|
|
354
294
|
let body;
|
|
355
295
|
body = buildFormUrlencodedString({
|
|
356
296
|
...se_DisassociateEnvironmentOperationsRoleMessage(input, context),
|
|
@@ -360,9 +300,7 @@ export const se_DisassociateEnvironmentOperationsRoleCommand = async (input, con
|
|
|
360
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
361
301
|
};
|
|
362
302
|
export const se_ListAvailableSolutionStacksCommand = async (input, context) => {
|
|
363
|
-
const headers =
|
|
364
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
365
|
-
};
|
|
303
|
+
const headers = SHARED_HEADERS;
|
|
366
304
|
const body = buildFormUrlencodedString({
|
|
367
305
|
Action: "ListAvailableSolutionStacks",
|
|
368
306
|
Version: "2010-12-01",
|
|
@@ -370,9 +308,7 @@ export const se_ListAvailableSolutionStacksCommand = async (input, context) => {
|
|
|
370
308
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
371
309
|
};
|
|
372
310
|
export const se_ListPlatformBranchesCommand = async (input, context) => {
|
|
373
|
-
const headers =
|
|
374
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
375
|
-
};
|
|
311
|
+
const headers = SHARED_HEADERS;
|
|
376
312
|
let body;
|
|
377
313
|
body = buildFormUrlencodedString({
|
|
378
314
|
...se_ListPlatformBranchesRequest(input, context),
|
|
@@ -382,9 +318,7 @@ export const se_ListPlatformBranchesCommand = async (input, context) => {
|
|
|
382
318
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
383
319
|
};
|
|
384
320
|
export const se_ListPlatformVersionsCommand = async (input, context) => {
|
|
385
|
-
const headers =
|
|
386
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
387
|
-
};
|
|
321
|
+
const headers = SHARED_HEADERS;
|
|
388
322
|
let body;
|
|
389
323
|
body = buildFormUrlencodedString({
|
|
390
324
|
...se_ListPlatformVersionsRequest(input, context),
|
|
@@ -394,9 +328,7 @@ export const se_ListPlatformVersionsCommand = async (input, context) => {
|
|
|
394
328
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
395
329
|
};
|
|
396
330
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
397
|
-
const headers =
|
|
398
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
399
|
-
};
|
|
331
|
+
const headers = SHARED_HEADERS;
|
|
400
332
|
let body;
|
|
401
333
|
body = buildFormUrlencodedString({
|
|
402
334
|
...se_ListTagsForResourceMessage(input, context),
|
|
@@ -406,9 +338,7 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
406
338
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
407
339
|
};
|
|
408
340
|
export const se_RebuildEnvironmentCommand = async (input, context) => {
|
|
409
|
-
const headers =
|
|
410
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
411
|
-
};
|
|
341
|
+
const headers = SHARED_HEADERS;
|
|
412
342
|
let body;
|
|
413
343
|
body = buildFormUrlencodedString({
|
|
414
344
|
...se_RebuildEnvironmentMessage(input, context),
|
|
@@ -418,9 +348,7 @@ export const se_RebuildEnvironmentCommand = async (input, context) => {
|
|
|
418
348
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
419
349
|
};
|
|
420
350
|
export const se_RequestEnvironmentInfoCommand = async (input, context) => {
|
|
421
|
-
const headers =
|
|
422
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
423
|
-
};
|
|
351
|
+
const headers = SHARED_HEADERS;
|
|
424
352
|
let body;
|
|
425
353
|
body = buildFormUrlencodedString({
|
|
426
354
|
...se_RequestEnvironmentInfoMessage(input, context),
|
|
@@ -430,9 +358,7 @@ export const se_RequestEnvironmentInfoCommand = async (input, context) => {
|
|
|
430
358
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
431
359
|
};
|
|
432
360
|
export const se_RestartAppServerCommand = async (input, context) => {
|
|
433
|
-
const headers =
|
|
434
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
435
|
-
};
|
|
361
|
+
const headers = SHARED_HEADERS;
|
|
436
362
|
let body;
|
|
437
363
|
body = buildFormUrlencodedString({
|
|
438
364
|
...se_RestartAppServerMessage(input, context),
|
|
@@ -442,9 +368,7 @@ export const se_RestartAppServerCommand = async (input, context) => {
|
|
|
442
368
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
443
369
|
};
|
|
444
370
|
export const se_RetrieveEnvironmentInfoCommand = async (input, context) => {
|
|
445
|
-
const headers =
|
|
446
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
447
|
-
};
|
|
371
|
+
const headers = SHARED_HEADERS;
|
|
448
372
|
let body;
|
|
449
373
|
body = buildFormUrlencodedString({
|
|
450
374
|
...se_RetrieveEnvironmentInfoMessage(input, context),
|
|
@@ -454,9 +378,7 @@ export const se_RetrieveEnvironmentInfoCommand = async (input, context) => {
|
|
|
454
378
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
455
379
|
};
|
|
456
380
|
export const se_SwapEnvironmentCNAMEsCommand = async (input, context) => {
|
|
457
|
-
const headers =
|
|
458
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
459
|
-
};
|
|
381
|
+
const headers = SHARED_HEADERS;
|
|
460
382
|
let body;
|
|
461
383
|
body = buildFormUrlencodedString({
|
|
462
384
|
...se_SwapEnvironmentCNAMEsMessage(input, context),
|
|
@@ -466,9 +388,7 @@ export const se_SwapEnvironmentCNAMEsCommand = async (input, context) => {
|
|
|
466
388
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
467
389
|
};
|
|
468
390
|
export const se_TerminateEnvironmentCommand = async (input, context) => {
|
|
469
|
-
const headers =
|
|
470
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
471
|
-
};
|
|
391
|
+
const headers = SHARED_HEADERS;
|
|
472
392
|
let body;
|
|
473
393
|
body = buildFormUrlencodedString({
|
|
474
394
|
...se_TerminateEnvironmentMessage(input, context),
|
|
@@ -478,9 +398,7 @@ export const se_TerminateEnvironmentCommand = async (input, context) => {
|
|
|
478
398
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
479
399
|
};
|
|
480
400
|
export const se_UpdateApplicationCommand = async (input, context) => {
|
|
481
|
-
const headers =
|
|
482
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
483
|
-
};
|
|
401
|
+
const headers = SHARED_HEADERS;
|
|
484
402
|
let body;
|
|
485
403
|
body = buildFormUrlencodedString({
|
|
486
404
|
...se_UpdateApplicationMessage(input, context),
|
|
@@ -490,9 +408,7 @@ export const se_UpdateApplicationCommand = async (input, context) => {
|
|
|
490
408
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
491
409
|
};
|
|
492
410
|
export const se_UpdateApplicationResourceLifecycleCommand = async (input, context) => {
|
|
493
|
-
const headers =
|
|
494
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
495
|
-
};
|
|
411
|
+
const headers = SHARED_HEADERS;
|
|
496
412
|
let body;
|
|
497
413
|
body = buildFormUrlencodedString({
|
|
498
414
|
...se_UpdateApplicationResourceLifecycleMessage(input, context),
|
|
@@ -502,9 +418,7 @@ export const se_UpdateApplicationResourceLifecycleCommand = async (input, contex
|
|
|
502
418
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
503
419
|
};
|
|
504
420
|
export const se_UpdateApplicationVersionCommand = async (input, context) => {
|
|
505
|
-
const headers =
|
|
506
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
507
|
-
};
|
|
421
|
+
const headers = SHARED_HEADERS;
|
|
508
422
|
let body;
|
|
509
423
|
body = buildFormUrlencodedString({
|
|
510
424
|
...se_UpdateApplicationVersionMessage(input, context),
|
|
@@ -514,9 +428,7 @@ export const se_UpdateApplicationVersionCommand = async (input, context) => {
|
|
|
514
428
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
515
429
|
};
|
|
516
430
|
export const se_UpdateConfigurationTemplateCommand = async (input, context) => {
|
|
517
|
-
const headers =
|
|
518
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
519
|
-
};
|
|
431
|
+
const headers = SHARED_HEADERS;
|
|
520
432
|
let body;
|
|
521
433
|
body = buildFormUrlencodedString({
|
|
522
434
|
...se_UpdateConfigurationTemplateMessage(input, context),
|
|
@@ -526,9 +438,7 @@ export const se_UpdateConfigurationTemplateCommand = async (input, context) => {
|
|
|
526
438
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
527
439
|
};
|
|
528
440
|
export const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
529
|
-
const headers =
|
|
530
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
531
|
-
};
|
|
441
|
+
const headers = SHARED_HEADERS;
|
|
532
442
|
let body;
|
|
533
443
|
body = buildFormUrlencodedString({
|
|
534
444
|
...se_UpdateEnvironmentMessage(input, context),
|
|
@@ -538,9 +448,7 @@ export const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
|
538
448
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
539
449
|
};
|
|
540
450
|
export const se_UpdateTagsForResourceCommand = async (input, context) => {
|
|
541
|
-
const headers =
|
|
542
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
543
|
-
};
|
|
451
|
+
const headers = SHARED_HEADERS;
|
|
544
452
|
let body;
|
|
545
453
|
body = buildFormUrlencodedString({
|
|
546
454
|
...se_UpdateTagsForResourceMessage(input, context),
|
|
@@ -550,9 +458,7 @@ export const se_UpdateTagsForResourceCommand = async (input, context) => {
|
|
|
550
458
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
551
459
|
};
|
|
552
460
|
export const se_ValidateConfigurationSettingsCommand = async (input, context) => {
|
|
553
|
-
const headers =
|
|
554
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
555
|
-
};
|
|
461
|
+
const headers = SHARED_HEADERS;
|
|
556
462
|
let body;
|
|
557
463
|
body = buildFormUrlencodedString({
|
|
558
464
|
...se_ValidateConfigurationSettingsMessage(input, context),
|
|
@@ -569,7 +475,7 @@ export const de_AbortEnvironmentUpdateCommand = async (output, context) => {
|
|
|
569
475
|
const response = {
|
|
570
476
|
$metadata: deserializeMetadata(output),
|
|
571
477
|
};
|
|
572
|
-
return
|
|
478
|
+
return response;
|
|
573
479
|
};
|
|
574
480
|
const de_AbortEnvironmentUpdateCommandError = async (output, context) => {
|
|
575
481
|
const parsedOutput = {
|
|
@@ -583,10 +489,9 @@ const de_AbortEnvironmentUpdateCommandError = async (output, context) => {
|
|
|
583
489
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
584
490
|
default:
|
|
585
491
|
const parsedBody = parsedOutput.body;
|
|
586
|
-
throwDefaultError({
|
|
492
|
+
return throwDefaultError({
|
|
587
493
|
output,
|
|
588
494
|
parsedBody: parsedBody.Error,
|
|
589
|
-
exceptionCtor: __BaseException,
|
|
590
495
|
errorCode,
|
|
591
496
|
});
|
|
592
497
|
}
|
|
@@ -602,7 +507,7 @@ export const de_ApplyEnvironmentManagedActionCommand = async (output, context) =
|
|
|
602
507
|
$metadata: deserializeMetadata(output),
|
|
603
508
|
...contents,
|
|
604
509
|
};
|
|
605
|
-
return
|
|
510
|
+
return response;
|
|
606
511
|
};
|
|
607
512
|
const de_ApplyEnvironmentManagedActionCommandError = async (output, context) => {
|
|
608
513
|
const parsedOutput = {
|
|
@@ -619,10 +524,9 @@ const de_ApplyEnvironmentManagedActionCommandError = async (output, context) =>
|
|
|
619
524
|
throw await de_ManagedActionInvalidStateExceptionRes(parsedOutput, context);
|
|
620
525
|
default:
|
|
621
526
|
const parsedBody = parsedOutput.body;
|
|
622
|
-
throwDefaultError({
|
|
527
|
+
return throwDefaultError({
|
|
623
528
|
output,
|
|
624
529
|
parsedBody: parsedBody.Error,
|
|
625
|
-
exceptionCtor: __BaseException,
|
|
626
530
|
errorCode,
|
|
627
531
|
});
|
|
628
532
|
}
|
|
@@ -635,7 +539,7 @@ export const de_AssociateEnvironmentOperationsRoleCommand = async (output, conte
|
|
|
635
539
|
const response = {
|
|
636
540
|
$metadata: deserializeMetadata(output),
|
|
637
541
|
};
|
|
638
|
-
return
|
|
542
|
+
return response;
|
|
639
543
|
};
|
|
640
544
|
const de_AssociateEnvironmentOperationsRoleCommandError = async (output, context) => {
|
|
641
545
|
const parsedOutput = {
|
|
@@ -649,10 +553,9 @@ const de_AssociateEnvironmentOperationsRoleCommandError = async (output, context
|
|
|
649
553
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
650
554
|
default:
|
|
651
555
|
const parsedBody = parsedOutput.body;
|
|
652
|
-
throwDefaultError({
|
|
556
|
+
return throwDefaultError({
|
|
653
557
|
output,
|
|
654
558
|
parsedBody: parsedBody.Error,
|
|
655
|
-
exceptionCtor: __BaseException,
|
|
656
559
|
errorCode,
|
|
657
560
|
});
|
|
658
561
|
}
|
|
@@ -668,7 +571,7 @@ export const de_CheckDNSAvailabilityCommand = async (output, context) => {
|
|
|
668
571
|
$metadata: deserializeMetadata(output),
|
|
669
572
|
...contents,
|
|
670
573
|
};
|
|
671
|
-
return
|
|
574
|
+
return response;
|
|
672
575
|
};
|
|
673
576
|
const de_CheckDNSAvailabilityCommandError = async (output, context) => {
|
|
674
577
|
const parsedOutput = {
|
|
@@ -677,10 +580,9 @@ const de_CheckDNSAvailabilityCommandError = async (output, context) => {
|
|
|
677
580
|
};
|
|
678
581
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
679
582
|
const parsedBody = parsedOutput.body;
|
|
680
|
-
throwDefaultError({
|
|
583
|
+
return throwDefaultError({
|
|
681
584
|
output,
|
|
682
585
|
parsedBody: parsedBody.Error,
|
|
683
|
-
exceptionCtor: __BaseException,
|
|
684
586
|
errorCode,
|
|
685
587
|
});
|
|
686
588
|
};
|
|
@@ -695,7 +597,7 @@ export const de_ComposeEnvironmentsCommand = async (output, context) => {
|
|
|
695
597
|
$metadata: deserializeMetadata(output),
|
|
696
598
|
...contents,
|
|
697
599
|
};
|
|
698
|
-
return
|
|
600
|
+
return response;
|
|
699
601
|
};
|
|
700
602
|
const de_ComposeEnvironmentsCommandError = async (output, context) => {
|
|
701
603
|
const parsedOutput = {
|
|
@@ -712,10 +614,9 @@ const de_ComposeEnvironmentsCommandError = async (output, context) => {
|
|
|
712
614
|
throw await de_TooManyEnvironmentsExceptionRes(parsedOutput, context);
|
|
713
615
|
default:
|
|
714
616
|
const parsedBody = parsedOutput.body;
|
|
715
|
-
throwDefaultError({
|
|
617
|
+
return throwDefaultError({
|
|
716
618
|
output,
|
|
717
619
|
parsedBody: parsedBody.Error,
|
|
718
|
-
exceptionCtor: __BaseException,
|
|
719
620
|
errorCode,
|
|
720
621
|
});
|
|
721
622
|
}
|
|
@@ -731,7 +632,7 @@ export const de_CreateApplicationCommand = async (output, context) => {
|
|
|
731
632
|
$metadata: deserializeMetadata(output),
|
|
732
633
|
...contents,
|
|
733
634
|
};
|
|
734
|
-
return
|
|
635
|
+
return response;
|
|
735
636
|
};
|
|
736
637
|
const de_CreateApplicationCommandError = async (output, context) => {
|
|
737
638
|
const parsedOutput = {
|
|
@@ -745,10 +646,9 @@ const de_CreateApplicationCommandError = async (output, context) => {
|
|
|
745
646
|
throw await de_TooManyApplicationsExceptionRes(parsedOutput, context);
|
|
746
647
|
default:
|
|
747
648
|
const parsedBody = parsedOutput.body;
|
|
748
|
-
throwDefaultError({
|
|
649
|
+
return throwDefaultError({
|
|
749
650
|
output,
|
|
750
651
|
parsedBody: parsedBody.Error,
|
|
751
|
-
exceptionCtor: __BaseException,
|
|
752
652
|
errorCode,
|
|
753
653
|
});
|
|
754
654
|
}
|
|
@@ -764,7 +664,7 @@ export const de_CreateApplicationVersionCommand = async (output, context) => {
|
|
|
764
664
|
$metadata: deserializeMetadata(output),
|
|
765
665
|
...contents,
|
|
766
666
|
};
|
|
767
|
-
return
|
|
667
|
+
return response;
|
|
768
668
|
};
|
|
769
669
|
const de_CreateApplicationVersionCommandError = async (output, context) => {
|
|
770
670
|
const parsedOutput = {
|
|
@@ -790,10 +690,9 @@ const de_CreateApplicationVersionCommandError = async (output, context) => {
|
|
|
790
690
|
throw await de_TooManyApplicationsExceptionRes(parsedOutput, context);
|
|
791
691
|
default:
|
|
792
692
|
const parsedBody = parsedOutput.body;
|
|
793
|
-
throwDefaultError({
|
|
693
|
+
return throwDefaultError({
|
|
794
694
|
output,
|
|
795
695
|
parsedBody: parsedBody.Error,
|
|
796
|
-
exceptionCtor: __BaseException,
|
|
797
696
|
errorCode,
|
|
798
697
|
});
|
|
799
698
|
}
|
|
@@ -809,7 +708,7 @@ export const de_CreateConfigurationTemplateCommand = async (output, context) =>
|
|
|
809
708
|
$metadata: deserializeMetadata(output),
|
|
810
709
|
...contents,
|
|
811
710
|
};
|
|
812
|
-
return
|
|
711
|
+
return response;
|
|
813
712
|
};
|
|
814
713
|
const de_CreateConfigurationTemplateCommandError = async (output, context) => {
|
|
815
714
|
const parsedOutput = {
|
|
@@ -829,10 +728,9 @@ const de_CreateConfigurationTemplateCommandError = async (output, context) => {
|
|
|
829
728
|
throw await de_TooManyConfigurationTemplatesExceptionRes(parsedOutput, context);
|
|
830
729
|
default:
|
|
831
730
|
const parsedBody = parsedOutput.body;
|
|
832
|
-
throwDefaultError({
|
|
731
|
+
return throwDefaultError({
|
|
833
732
|
output,
|
|
834
733
|
parsedBody: parsedBody.Error,
|
|
835
|
-
exceptionCtor: __BaseException,
|
|
836
734
|
errorCode,
|
|
837
735
|
});
|
|
838
736
|
}
|
|
@@ -848,7 +746,7 @@ export const de_CreateEnvironmentCommand = async (output, context) => {
|
|
|
848
746
|
$metadata: deserializeMetadata(output),
|
|
849
747
|
...contents,
|
|
850
748
|
};
|
|
851
|
-
return
|
|
749
|
+
return response;
|
|
852
750
|
};
|
|
853
751
|
const de_CreateEnvironmentCommandError = async (output, context) => {
|
|
854
752
|
const parsedOutput = {
|
|
@@ -865,10 +763,9 @@ const de_CreateEnvironmentCommandError = async (output, context) => {
|
|
|
865
763
|
throw await de_TooManyEnvironmentsExceptionRes(parsedOutput, context);
|
|
866
764
|
default:
|
|
867
765
|
const parsedBody = parsedOutput.body;
|
|
868
|
-
throwDefaultError({
|
|
766
|
+
return throwDefaultError({
|
|
869
767
|
output,
|
|
870
768
|
parsedBody: parsedBody.Error,
|
|
871
|
-
exceptionCtor: __BaseException,
|
|
872
769
|
errorCode,
|
|
873
770
|
});
|
|
874
771
|
}
|
|
@@ -884,7 +781,7 @@ export const de_CreatePlatformVersionCommand = async (output, context) => {
|
|
|
884
781
|
$metadata: deserializeMetadata(output),
|
|
885
782
|
...contents,
|
|
886
783
|
};
|
|
887
|
-
return
|
|
784
|
+
return response;
|
|
888
785
|
};
|
|
889
786
|
const de_CreatePlatformVersionCommandError = async (output, context) => {
|
|
890
787
|
const parsedOutput = {
|
|
@@ -904,10 +801,9 @@ const de_CreatePlatformVersionCommandError = async (output, context) => {
|
|
|
904
801
|
throw await de_TooManyPlatformsExceptionRes(parsedOutput, context);
|
|
905
802
|
default:
|
|
906
803
|
const parsedBody = parsedOutput.body;
|
|
907
|
-
throwDefaultError({
|
|
804
|
+
return throwDefaultError({
|
|
908
805
|
output,
|
|
909
806
|
parsedBody: parsedBody.Error,
|
|
910
|
-
exceptionCtor: __BaseException,
|
|
911
807
|
errorCode,
|
|
912
808
|
});
|
|
913
809
|
}
|
|
@@ -923,7 +819,7 @@ export const de_CreateStorageLocationCommand = async (output, context) => {
|
|
|
923
819
|
$metadata: deserializeMetadata(output),
|
|
924
820
|
...contents,
|
|
925
821
|
};
|
|
926
|
-
return
|
|
822
|
+
return response;
|
|
927
823
|
};
|
|
928
824
|
const de_CreateStorageLocationCommandError = async (output, context) => {
|
|
929
825
|
const parsedOutput = {
|
|
@@ -943,10 +839,9 @@ const de_CreateStorageLocationCommandError = async (output, context) => {
|
|
|
943
839
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
944
840
|
default:
|
|
945
841
|
const parsedBody = parsedOutput.body;
|
|
946
|
-
throwDefaultError({
|
|
842
|
+
return throwDefaultError({
|
|
947
843
|
output,
|
|
948
844
|
parsedBody: parsedBody.Error,
|
|
949
|
-
exceptionCtor: __BaseException,
|
|
950
845
|
errorCode,
|
|
951
846
|
});
|
|
952
847
|
}
|
|
@@ -959,7 +854,7 @@ export const de_DeleteApplicationCommand = async (output, context) => {
|
|
|
959
854
|
const response = {
|
|
960
855
|
$metadata: deserializeMetadata(output),
|
|
961
856
|
};
|
|
962
|
-
return
|
|
857
|
+
return response;
|
|
963
858
|
};
|
|
964
859
|
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
965
860
|
const parsedOutput = {
|
|
@@ -973,10 +868,9 @@ const de_DeleteApplicationCommandError = async (output, context) => {
|
|
|
973
868
|
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
|
974
869
|
default:
|
|
975
870
|
const parsedBody = parsedOutput.body;
|
|
976
|
-
throwDefaultError({
|
|
871
|
+
return throwDefaultError({
|
|
977
872
|
output,
|
|
978
873
|
parsedBody: parsedBody.Error,
|
|
979
|
-
exceptionCtor: __BaseException,
|
|
980
874
|
errorCode,
|
|
981
875
|
});
|
|
982
876
|
}
|
|
@@ -989,7 +883,7 @@ export const de_DeleteApplicationVersionCommand = async (output, context) => {
|
|
|
989
883
|
const response = {
|
|
990
884
|
$metadata: deserializeMetadata(output),
|
|
991
885
|
};
|
|
992
|
-
return
|
|
886
|
+
return response;
|
|
993
887
|
};
|
|
994
888
|
const de_DeleteApplicationVersionCommandError = async (output, context) => {
|
|
995
889
|
const parsedOutput = {
|
|
@@ -1012,10 +906,9 @@ const de_DeleteApplicationVersionCommandError = async (output, context) => {
|
|
|
1012
906
|
throw await de_SourceBundleDeletionExceptionRes(parsedOutput, context);
|
|
1013
907
|
default:
|
|
1014
908
|
const parsedBody = parsedOutput.body;
|
|
1015
|
-
throwDefaultError({
|
|
909
|
+
return throwDefaultError({
|
|
1016
910
|
output,
|
|
1017
911
|
parsedBody: parsedBody.Error,
|
|
1018
|
-
exceptionCtor: __BaseException,
|
|
1019
912
|
errorCode,
|
|
1020
913
|
});
|
|
1021
914
|
}
|
|
@@ -1028,7 +921,7 @@ export const de_DeleteConfigurationTemplateCommand = async (output, context) =>
|
|
|
1028
921
|
const response = {
|
|
1029
922
|
$metadata: deserializeMetadata(output),
|
|
1030
923
|
};
|
|
1031
|
-
return
|
|
924
|
+
return response;
|
|
1032
925
|
};
|
|
1033
926
|
const de_DeleteConfigurationTemplateCommandError = async (output, context) => {
|
|
1034
927
|
const parsedOutput = {
|
|
@@ -1042,10 +935,9 @@ const de_DeleteConfigurationTemplateCommandError = async (output, context) => {
|
|
|
1042
935
|
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
|
1043
936
|
default:
|
|
1044
937
|
const parsedBody = parsedOutput.body;
|
|
1045
|
-
throwDefaultError({
|
|
938
|
+
return throwDefaultError({
|
|
1046
939
|
output,
|
|
1047
940
|
parsedBody: parsedBody.Error,
|
|
1048
|
-
exceptionCtor: __BaseException,
|
|
1049
941
|
errorCode,
|
|
1050
942
|
});
|
|
1051
943
|
}
|
|
@@ -1058,7 +950,7 @@ export const de_DeleteEnvironmentConfigurationCommand = async (output, context)
|
|
|
1058
950
|
const response = {
|
|
1059
951
|
$metadata: deserializeMetadata(output),
|
|
1060
952
|
};
|
|
1061
|
-
return
|
|
953
|
+
return response;
|
|
1062
954
|
};
|
|
1063
955
|
const de_DeleteEnvironmentConfigurationCommandError = async (output, context) => {
|
|
1064
956
|
const parsedOutput = {
|
|
@@ -1067,10 +959,9 @@ const de_DeleteEnvironmentConfigurationCommandError = async (output, context) =>
|
|
|
1067
959
|
};
|
|
1068
960
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1069
961
|
const parsedBody = parsedOutput.body;
|
|
1070
|
-
throwDefaultError({
|
|
962
|
+
return throwDefaultError({
|
|
1071
963
|
output,
|
|
1072
964
|
parsedBody: parsedBody.Error,
|
|
1073
|
-
exceptionCtor: __BaseException,
|
|
1074
965
|
errorCode,
|
|
1075
966
|
});
|
|
1076
967
|
};
|
|
@@ -1085,7 +976,7 @@ export const de_DeletePlatformVersionCommand = async (output, context) => {
|
|
|
1085
976
|
$metadata: deserializeMetadata(output),
|
|
1086
977
|
...contents,
|
|
1087
978
|
};
|
|
1088
|
-
return
|
|
979
|
+
return response;
|
|
1089
980
|
};
|
|
1090
981
|
const de_DeletePlatformVersionCommandError = async (output, context) => {
|
|
1091
982
|
const parsedOutput = {
|
|
@@ -1108,10 +999,9 @@ const de_DeletePlatformVersionCommandError = async (output, context) => {
|
|
|
1108
999
|
throw await de_PlatformVersionStillReferencedExceptionRes(parsedOutput, context);
|
|
1109
1000
|
default:
|
|
1110
1001
|
const parsedBody = parsedOutput.body;
|
|
1111
|
-
throwDefaultError({
|
|
1002
|
+
return throwDefaultError({
|
|
1112
1003
|
output,
|
|
1113
1004
|
parsedBody: parsedBody.Error,
|
|
1114
|
-
exceptionCtor: __BaseException,
|
|
1115
1005
|
errorCode,
|
|
1116
1006
|
});
|
|
1117
1007
|
}
|
|
@@ -1127,7 +1017,7 @@ export const de_DescribeAccountAttributesCommand = async (output, context) => {
|
|
|
1127
1017
|
$metadata: deserializeMetadata(output),
|
|
1128
1018
|
...contents,
|
|
1129
1019
|
};
|
|
1130
|
-
return
|
|
1020
|
+
return response;
|
|
1131
1021
|
};
|
|
1132
1022
|
const de_DescribeAccountAttributesCommandError = async (output, context) => {
|
|
1133
1023
|
const parsedOutput = {
|
|
@@ -1141,10 +1031,9 @@ const de_DescribeAccountAttributesCommandError = async (output, context) => {
|
|
|
1141
1031
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1142
1032
|
default:
|
|
1143
1033
|
const parsedBody = parsedOutput.body;
|
|
1144
|
-
throwDefaultError({
|
|
1034
|
+
return throwDefaultError({
|
|
1145
1035
|
output,
|
|
1146
1036
|
parsedBody: parsedBody.Error,
|
|
1147
|
-
exceptionCtor: __BaseException,
|
|
1148
1037
|
errorCode,
|
|
1149
1038
|
});
|
|
1150
1039
|
}
|
|
@@ -1160,7 +1049,7 @@ export const de_DescribeApplicationsCommand = async (output, context) => {
|
|
|
1160
1049
|
$metadata: deserializeMetadata(output),
|
|
1161
1050
|
...contents,
|
|
1162
1051
|
};
|
|
1163
|
-
return
|
|
1052
|
+
return response;
|
|
1164
1053
|
};
|
|
1165
1054
|
const de_DescribeApplicationsCommandError = async (output, context) => {
|
|
1166
1055
|
const parsedOutput = {
|
|
@@ -1169,10 +1058,9 @@ const de_DescribeApplicationsCommandError = async (output, context) => {
|
|
|
1169
1058
|
};
|
|
1170
1059
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1171
1060
|
const parsedBody = parsedOutput.body;
|
|
1172
|
-
throwDefaultError({
|
|
1061
|
+
return throwDefaultError({
|
|
1173
1062
|
output,
|
|
1174
1063
|
parsedBody: parsedBody.Error,
|
|
1175
|
-
exceptionCtor: __BaseException,
|
|
1176
1064
|
errorCode,
|
|
1177
1065
|
});
|
|
1178
1066
|
};
|
|
@@ -1187,7 +1075,7 @@ export const de_DescribeApplicationVersionsCommand = async (output, context) =>
|
|
|
1187
1075
|
$metadata: deserializeMetadata(output),
|
|
1188
1076
|
...contents,
|
|
1189
1077
|
};
|
|
1190
|
-
return
|
|
1078
|
+
return response;
|
|
1191
1079
|
};
|
|
1192
1080
|
const de_DescribeApplicationVersionsCommandError = async (output, context) => {
|
|
1193
1081
|
const parsedOutput = {
|
|
@@ -1196,10 +1084,9 @@ const de_DescribeApplicationVersionsCommandError = async (output, context) => {
|
|
|
1196
1084
|
};
|
|
1197
1085
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1198
1086
|
const parsedBody = parsedOutput.body;
|
|
1199
|
-
throwDefaultError({
|
|
1087
|
+
return throwDefaultError({
|
|
1200
1088
|
output,
|
|
1201
1089
|
parsedBody: parsedBody.Error,
|
|
1202
|
-
exceptionCtor: __BaseException,
|
|
1203
1090
|
errorCode,
|
|
1204
1091
|
});
|
|
1205
1092
|
};
|
|
@@ -1214,7 +1101,7 @@ export const de_DescribeConfigurationOptionsCommand = async (output, context) =>
|
|
|
1214
1101
|
$metadata: deserializeMetadata(output),
|
|
1215
1102
|
...contents,
|
|
1216
1103
|
};
|
|
1217
|
-
return
|
|
1104
|
+
return response;
|
|
1218
1105
|
};
|
|
1219
1106
|
const de_DescribeConfigurationOptionsCommandError = async (output, context) => {
|
|
1220
1107
|
const parsedOutput = {
|
|
@@ -1228,10 +1115,9 @@ const de_DescribeConfigurationOptionsCommandError = async (output, context) => {
|
|
|
1228
1115
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1229
1116
|
default:
|
|
1230
1117
|
const parsedBody = parsedOutput.body;
|
|
1231
|
-
throwDefaultError({
|
|
1118
|
+
return throwDefaultError({
|
|
1232
1119
|
output,
|
|
1233
1120
|
parsedBody: parsedBody.Error,
|
|
1234
|
-
exceptionCtor: __BaseException,
|
|
1235
1121
|
errorCode,
|
|
1236
1122
|
});
|
|
1237
1123
|
}
|
|
@@ -1247,7 +1133,7 @@ export const de_DescribeConfigurationSettingsCommand = async (output, context) =
|
|
|
1247
1133
|
$metadata: deserializeMetadata(output),
|
|
1248
1134
|
...contents,
|
|
1249
1135
|
};
|
|
1250
|
-
return
|
|
1136
|
+
return response;
|
|
1251
1137
|
};
|
|
1252
1138
|
const de_DescribeConfigurationSettingsCommandError = async (output, context) => {
|
|
1253
1139
|
const parsedOutput = {
|
|
@@ -1261,10 +1147,9 @@ const de_DescribeConfigurationSettingsCommandError = async (output, context) =>
|
|
|
1261
1147
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1262
1148
|
default:
|
|
1263
1149
|
const parsedBody = parsedOutput.body;
|
|
1264
|
-
throwDefaultError({
|
|
1150
|
+
return throwDefaultError({
|
|
1265
1151
|
output,
|
|
1266
1152
|
parsedBody: parsedBody.Error,
|
|
1267
|
-
exceptionCtor: __BaseException,
|
|
1268
1153
|
errorCode,
|
|
1269
1154
|
});
|
|
1270
1155
|
}
|
|
@@ -1280,7 +1165,7 @@ export const de_DescribeEnvironmentHealthCommand = async (output, context) => {
|
|
|
1280
1165
|
$metadata: deserializeMetadata(output),
|
|
1281
1166
|
...contents,
|
|
1282
1167
|
};
|
|
1283
|
-
return
|
|
1168
|
+
return response;
|
|
1284
1169
|
};
|
|
1285
1170
|
const de_DescribeEnvironmentHealthCommandError = async (output, context) => {
|
|
1286
1171
|
const parsedOutput = {
|
|
@@ -1297,10 +1182,9 @@ const de_DescribeEnvironmentHealthCommandError = async (output, context) => {
|
|
|
1297
1182
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1298
1183
|
default:
|
|
1299
1184
|
const parsedBody = parsedOutput.body;
|
|
1300
|
-
throwDefaultError({
|
|
1185
|
+
return throwDefaultError({
|
|
1301
1186
|
output,
|
|
1302
1187
|
parsedBody: parsedBody.Error,
|
|
1303
|
-
exceptionCtor: __BaseException,
|
|
1304
1188
|
errorCode,
|
|
1305
1189
|
});
|
|
1306
1190
|
}
|
|
@@ -1316,7 +1200,7 @@ export const de_DescribeEnvironmentManagedActionHistoryCommand = async (output,
|
|
|
1316
1200
|
$metadata: deserializeMetadata(output),
|
|
1317
1201
|
...contents,
|
|
1318
1202
|
};
|
|
1319
|
-
return
|
|
1203
|
+
return response;
|
|
1320
1204
|
};
|
|
1321
1205
|
const de_DescribeEnvironmentManagedActionHistoryCommandError = async (output, context) => {
|
|
1322
1206
|
const parsedOutput = {
|
|
@@ -1330,10 +1214,9 @@ const de_DescribeEnvironmentManagedActionHistoryCommandError = async (output, co
|
|
|
1330
1214
|
throw await de_ElasticBeanstalkServiceExceptionRes(parsedOutput, context);
|
|
1331
1215
|
default:
|
|
1332
1216
|
const parsedBody = parsedOutput.body;
|
|
1333
|
-
throwDefaultError({
|
|
1217
|
+
return throwDefaultError({
|
|
1334
1218
|
output,
|
|
1335
1219
|
parsedBody: parsedBody.Error,
|
|
1336
|
-
exceptionCtor: __BaseException,
|
|
1337
1220
|
errorCode,
|
|
1338
1221
|
});
|
|
1339
1222
|
}
|
|
@@ -1349,7 +1232,7 @@ export const de_DescribeEnvironmentManagedActionsCommand = async (output, contex
|
|
|
1349
1232
|
$metadata: deserializeMetadata(output),
|
|
1350
1233
|
...contents,
|
|
1351
1234
|
};
|
|
1352
|
-
return
|
|
1235
|
+
return response;
|
|
1353
1236
|
};
|
|
1354
1237
|
const de_DescribeEnvironmentManagedActionsCommandError = async (output, context) => {
|
|
1355
1238
|
const parsedOutput = {
|
|
@@ -1363,10 +1246,9 @@ const de_DescribeEnvironmentManagedActionsCommandError = async (output, context)
|
|
|
1363
1246
|
throw await de_ElasticBeanstalkServiceExceptionRes(parsedOutput, context);
|
|
1364
1247
|
default:
|
|
1365
1248
|
const parsedBody = parsedOutput.body;
|
|
1366
|
-
throwDefaultError({
|
|
1249
|
+
return throwDefaultError({
|
|
1367
1250
|
output,
|
|
1368
1251
|
parsedBody: parsedBody.Error,
|
|
1369
|
-
exceptionCtor: __BaseException,
|
|
1370
1252
|
errorCode,
|
|
1371
1253
|
});
|
|
1372
1254
|
}
|
|
@@ -1382,7 +1264,7 @@ export const de_DescribeEnvironmentResourcesCommand = async (output, context) =>
|
|
|
1382
1264
|
$metadata: deserializeMetadata(output),
|
|
1383
1265
|
...contents,
|
|
1384
1266
|
};
|
|
1385
|
-
return
|
|
1267
|
+
return response;
|
|
1386
1268
|
};
|
|
1387
1269
|
const de_DescribeEnvironmentResourcesCommandError = async (output, context) => {
|
|
1388
1270
|
const parsedOutput = {
|
|
@@ -1396,10 +1278,9 @@ const de_DescribeEnvironmentResourcesCommandError = async (output, context) => {
|
|
|
1396
1278
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1397
1279
|
default:
|
|
1398
1280
|
const parsedBody = parsedOutput.body;
|
|
1399
|
-
throwDefaultError({
|
|
1281
|
+
return throwDefaultError({
|
|
1400
1282
|
output,
|
|
1401
1283
|
parsedBody: parsedBody.Error,
|
|
1402
|
-
exceptionCtor: __BaseException,
|
|
1403
1284
|
errorCode,
|
|
1404
1285
|
});
|
|
1405
1286
|
}
|
|
@@ -1415,7 +1296,7 @@ export const de_DescribeEnvironmentsCommand = async (output, context) => {
|
|
|
1415
1296
|
$metadata: deserializeMetadata(output),
|
|
1416
1297
|
...contents,
|
|
1417
1298
|
};
|
|
1418
|
-
return
|
|
1299
|
+
return response;
|
|
1419
1300
|
};
|
|
1420
1301
|
const de_DescribeEnvironmentsCommandError = async (output, context) => {
|
|
1421
1302
|
const parsedOutput = {
|
|
@@ -1424,10 +1305,9 @@ const de_DescribeEnvironmentsCommandError = async (output, context) => {
|
|
|
1424
1305
|
};
|
|
1425
1306
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1426
1307
|
const parsedBody = parsedOutput.body;
|
|
1427
|
-
throwDefaultError({
|
|
1308
|
+
return throwDefaultError({
|
|
1428
1309
|
output,
|
|
1429
1310
|
parsedBody: parsedBody.Error,
|
|
1430
|
-
exceptionCtor: __BaseException,
|
|
1431
1311
|
errorCode,
|
|
1432
1312
|
});
|
|
1433
1313
|
};
|
|
@@ -1442,7 +1322,7 @@ export const de_DescribeEventsCommand = async (output, context) => {
|
|
|
1442
1322
|
$metadata: deserializeMetadata(output),
|
|
1443
1323
|
...contents,
|
|
1444
1324
|
};
|
|
1445
|
-
return
|
|
1325
|
+
return response;
|
|
1446
1326
|
};
|
|
1447
1327
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
1448
1328
|
const parsedOutput = {
|
|
@@ -1451,10 +1331,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
1451
1331
|
};
|
|
1452
1332
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1453
1333
|
const parsedBody = parsedOutput.body;
|
|
1454
|
-
throwDefaultError({
|
|
1334
|
+
return throwDefaultError({
|
|
1455
1335
|
output,
|
|
1456
1336
|
parsedBody: parsedBody.Error,
|
|
1457
|
-
exceptionCtor: __BaseException,
|
|
1458
1337
|
errorCode,
|
|
1459
1338
|
});
|
|
1460
1339
|
};
|
|
@@ -1469,7 +1348,7 @@ export const de_DescribeInstancesHealthCommand = async (output, context) => {
|
|
|
1469
1348
|
$metadata: deserializeMetadata(output),
|
|
1470
1349
|
...contents,
|
|
1471
1350
|
};
|
|
1472
|
-
return
|
|
1351
|
+
return response;
|
|
1473
1352
|
};
|
|
1474
1353
|
const de_DescribeInstancesHealthCommandError = async (output, context) => {
|
|
1475
1354
|
const parsedOutput = {
|
|
@@ -1486,10 +1365,9 @@ const de_DescribeInstancesHealthCommandError = async (output, context) => {
|
|
|
1486
1365
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1487
1366
|
default:
|
|
1488
1367
|
const parsedBody = parsedOutput.body;
|
|
1489
|
-
throwDefaultError({
|
|
1368
|
+
return throwDefaultError({
|
|
1490
1369
|
output,
|
|
1491
1370
|
parsedBody: parsedBody.Error,
|
|
1492
|
-
exceptionCtor: __BaseException,
|
|
1493
1371
|
errorCode,
|
|
1494
1372
|
});
|
|
1495
1373
|
}
|
|
@@ -1505,7 +1383,7 @@ export const de_DescribePlatformVersionCommand = async (output, context) => {
|
|
|
1505
1383
|
$metadata: deserializeMetadata(output),
|
|
1506
1384
|
...contents,
|
|
1507
1385
|
};
|
|
1508
|
-
return
|
|
1386
|
+
return response;
|
|
1509
1387
|
};
|
|
1510
1388
|
const de_DescribePlatformVersionCommandError = async (output, context) => {
|
|
1511
1389
|
const parsedOutput = {
|
|
@@ -1522,10 +1400,9 @@ const de_DescribePlatformVersionCommandError = async (output, context) => {
|
|
|
1522
1400
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1523
1401
|
default:
|
|
1524
1402
|
const parsedBody = parsedOutput.body;
|
|
1525
|
-
throwDefaultError({
|
|
1403
|
+
return throwDefaultError({
|
|
1526
1404
|
output,
|
|
1527
1405
|
parsedBody: parsedBody.Error,
|
|
1528
|
-
exceptionCtor: __BaseException,
|
|
1529
1406
|
errorCode,
|
|
1530
1407
|
});
|
|
1531
1408
|
}
|
|
@@ -1538,7 +1415,7 @@ export const de_DisassociateEnvironmentOperationsRoleCommand = async (output, co
|
|
|
1538
1415
|
const response = {
|
|
1539
1416
|
$metadata: deserializeMetadata(output),
|
|
1540
1417
|
};
|
|
1541
|
-
return
|
|
1418
|
+
return response;
|
|
1542
1419
|
};
|
|
1543
1420
|
const de_DisassociateEnvironmentOperationsRoleCommandError = async (output, context) => {
|
|
1544
1421
|
const parsedOutput = {
|
|
@@ -1552,10 +1429,9 @@ const de_DisassociateEnvironmentOperationsRoleCommandError = async (output, cont
|
|
|
1552
1429
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1553
1430
|
default:
|
|
1554
1431
|
const parsedBody = parsedOutput.body;
|
|
1555
|
-
throwDefaultError({
|
|
1432
|
+
return throwDefaultError({
|
|
1556
1433
|
output,
|
|
1557
1434
|
parsedBody: parsedBody.Error,
|
|
1558
|
-
exceptionCtor: __BaseException,
|
|
1559
1435
|
errorCode,
|
|
1560
1436
|
});
|
|
1561
1437
|
}
|
|
@@ -1571,7 +1447,7 @@ export const de_ListAvailableSolutionStacksCommand = async (output, context) =>
|
|
|
1571
1447
|
$metadata: deserializeMetadata(output),
|
|
1572
1448
|
...contents,
|
|
1573
1449
|
};
|
|
1574
|
-
return
|
|
1450
|
+
return response;
|
|
1575
1451
|
};
|
|
1576
1452
|
const de_ListAvailableSolutionStacksCommandError = async (output, context) => {
|
|
1577
1453
|
const parsedOutput = {
|
|
@@ -1580,10 +1456,9 @@ const de_ListAvailableSolutionStacksCommandError = async (output, context) => {
|
|
|
1580
1456
|
};
|
|
1581
1457
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1582
1458
|
const parsedBody = parsedOutput.body;
|
|
1583
|
-
throwDefaultError({
|
|
1459
|
+
return throwDefaultError({
|
|
1584
1460
|
output,
|
|
1585
1461
|
parsedBody: parsedBody.Error,
|
|
1586
|
-
exceptionCtor: __BaseException,
|
|
1587
1462
|
errorCode,
|
|
1588
1463
|
});
|
|
1589
1464
|
};
|
|
@@ -1598,7 +1473,7 @@ export const de_ListPlatformBranchesCommand = async (output, context) => {
|
|
|
1598
1473
|
$metadata: deserializeMetadata(output),
|
|
1599
1474
|
...contents,
|
|
1600
1475
|
};
|
|
1601
|
-
return
|
|
1476
|
+
return response;
|
|
1602
1477
|
};
|
|
1603
1478
|
const de_ListPlatformBranchesCommandError = async (output, context) => {
|
|
1604
1479
|
const parsedOutput = {
|
|
@@ -1607,10 +1482,9 @@ const de_ListPlatformBranchesCommandError = async (output, context) => {
|
|
|
1607
1482
|
};
|
|
1608
1483
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1609
1484
|
const parsedBody = parsedOutput.body;
|
|
1610
|
-
throwDefaultError({
|
|
1485
|
+
return throwDefaultError({
|
|
1611
1486
|
output,
|
|
1612
1487
|
parsedBody: parsedBody.Error,
|
|
1613
|
-
exceptionCtor: __BaseException,
|
|
1614
1488
|
errorCode,
|
|
1615
1489
|
});
|
|
1616
1490
|
};
|
|
@@ -1625,7 +1499,7 @@ export const de_ListPlatformVersionsCommand = async (output, context) => {
|
|
|
1625
1499
|
$metadata: deserializeMetadata(output),
|
|
1626
1500
|
...contents,
|
|
1627
1501
|
};
|
|
1628
|
-
return
|
|
1502
|
+
return response;
|
|
1629
1503
|
};
|
|
1630
1504
|
const de_ListPlatformVersionsCommandError = async (output, context) => {
|
|
1631
1505
|
const parsedOutput = {
|
|
@@ -1642,10 +1516,9 @@ const de_ListPlatformVersionsCommandError = async (output, context) => {
|
|
|
1642
1516
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1643
1517
|
default:
|
|
1644
1518
|
const parsedBody = parsedOutput.body;
|
|
1645
|
-
throwDefaultError({
|
|
1519
|
+
return throwDefaultError({
|
|
1646
1520
|
output,
|
|
1647
1521
|
parsedBody: parsedBody.Error,
|
|
1648
|
-
exceptionCtor: __BaseException,
|
|
1649
1522
|
errorCode,
|
|
1650
1523
|
});
|
|
1651
1524
|
}
|
|
@@ -1661,7 +1534,7 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1661
1534
|
$metadata: deserializeMetadata(output),
|
|
1662
1535
|
...contents,
|
|
1663
1536
|
};
|
|
1664
|
-
return
|
|
1537
|
+
return response;
|
|
1665
1538
|
};
|
|
1666
1539
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1667
1540
|
const parsedOutput = {
|
|
@@ -1681,10 +1554,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1681
1554
|
throw await de_ResourceTypeNotSupportedExceptionRes(parsedOutput, context);
|
|
1682
1555
|
default:
|
|
1683
1556
|
const parsedBody = parsedOutput.body;
|
|
1684
|
-
throwDefaultError({
|
|
1557
|
+
return throwDefaultError({
|
|
1685
1558
|
output,
|
|
1686
1559
|
parsedBody: parsedBody.Error,
|
|
1687
|
-
exceptionCtor: __BaseException,
|
|
1688
1560
|
errorCode,
|
|
1689
1561
|
});
|
|
1690
1562
|
}
|
|
@@ -1697,7 +1569,7 @@ export const de_RebuildEnvironmentCommand = async (output, context) => {
|
|
|
1697
1569
|
const response = {
|
|
1698
1570
|
$metadata: deserializeMetadata(output),
|
|
1699
1571
|
};
|
|
1700
|
-
return
|
|
1572
|
+
return response;
|
|
1701
1573
|
};
|
|
1702
1574
|
const de_RebuildEnvironmentCommandError = async (output, context) => {
|
|
1703
1575
|
const parsedOutput = {
|
|
@@ -1711,10 +1583,9 @@ const de_RebuildEnvironmentCommandError = async (output, context) => {
|
|
|
1711
1583
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1712
1584
|
default:
|
|
1713
1585
|
const parsedBody = parsedOutput.body;
|
|
1714
|
-
throwDefaultError({
|
|
1586
|
+
return throwDefaultError({
|
|
1715
1587
|
output,
|
|
1716
1588
|
parsedBody: parsedBody.Error,
|
|
1717
|
-
exceptionCtor: __BaseException,
|
|
1718
1589
|
errorCode,
|
|
1719
1590
|
});
|
|
1720
1591
|
}
|
|
@@ -1727,7 +1598,7 @@ export const de_RequestEnvironmentInfoCommand = async (output, context) => {
|
|
|
1727
1598
|
const response = {
|
|
1728
1599
|
$metadata: deserializeMetadata(output),
|
|
1729
1600
|
};
|
|
1730
|
-
return
|
|
1601
|
+
return response;
|
|
1731
1602
|
};
|
|
1732
1603
|
const de_RequestEnvironmentInfoCommandError = async (output, context) => {
|
|
1733
1604
|
const parsedOutput = {
|
|
@@ -1736,10 +1607,9 @@ const de_RequestEnvironmentInfoCommandError = async (output, context) => {
|
|
|
1736
1607
|
};
|
|
1737
1608
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1738
1609
|
const parsedBody = parsedOutput.body;
|
|
1739
|
-
throwDefaultError({
|
|
1610
|
+
return throwDefaultError({
|
|
1740
1611
|
output,
|
|
1741
1612
|
parsedBody: parsedBody.Error,
|
|
1742
|
-
exceptionCtor: __BaseException,
|
|
1743
1613
|
errorCode,
|
|
1744
1614
|
});
|
|
1745
1615
|
};
|
|
@@ -1751,7 +1621,7 @@ export const de_RestartAppServerCommand = async (output, context) => {
|
|
|
1751
1621
|
const response = {
|
|
1752
1622
|
$metadata: deserializeMetadata(output),
|
|
1753
1623
|
};
|
|
1754
|
-
return
|
|
1624
|
+
return response;
|
|
1755
1625
|
};
|
|
1756
1626
|
const de_RestartAppServerCommandError = async (output, context) => {
|
|
1757
1627
|
const parsedOutput = {
|
|
@@ -1760,10 +1630,9 @@ const de_RestartAppServerCommandError = async (output, context) => {
|
|
|
1760
1630
|
};
|
|
1761
1631
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1762
1632
|
const parsedBody = parsedOutput.body;
|
|
1763
|
-
throwDefaultError({
|
|
1633
|
+
return throwDefaultError({
|
|
1764
1634
|
output,
|
|
1765
1635
|
parsedBody: parsedBody.Error,
|
|
1766
|
-
exceptionCtor: __BaseException,
|
|
1767
1636
|
errorCode,
|
|
1768
1637
|
});
|
|
1769
1638
|
};
|
|
@@ -1778,7 +1647,7 @@ export const de_RetrieveEnvironmentInfoCommand = async (output, context) => {
|
|
|
1778
1647
|
$metadata: deserializeMetadata(output),
|
|
1779
1648
|
...contents,
|
|
1780
1649
|
};
|
|
1781
|
-
return
|
|
1650
|
+
return response;
|
|
1782
1651
|
};
|
|
1783
1652
|
const de_RetrieveEnvironmentInfoCommandError = async (output, context) => {
|
|
1784
1653
|
const parsedOutput = {
|
|
@@ -1787,10 +1656,9 @@ const de_RetrieveEnvironmentInfoCommandError = async (output, context) => {
|
|
|
1787
1656
|
};
|
|
1788
1657
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1789
1658
|
const parsedBody = parsedOutput.body;
|
|
1790
|
-
throwDefaultError({
|
|
1659
|
+
return throwDefaultError({
|
|
1791
1660
|
output,
|
|
1792
1661
|
parsedBody: parsedBody.Error,
|
|
1793
|
-
exceptionCtor: __BaseException,
|
|
1794
1662
|
errorCode,
|
|
1795
1663
|
});
|
|
1796
1664
|
};
|
|
@@ -1802,7 +1670,7 @@ export const de_SwapEnvironmentCNAMEsCommand = async (output, context) => {
|
|
|
1802
1670
|
const response = {
|
|
1803
1671
|
$metadata: deserializeMetadata(output),
|
|
1804
1672
|
};
|
|
1805
|
-
return
|
|
1673
|
+
return response;
|
|
1806
1674
|
};
|
|
1807
1675
|
const de_SwapEnvironmentCNAMEsCommandError = async (output, context) => {
|
|
1808
1676
|
const parsedOutput = {
|
|
@@ -1811,10 +1679,9 @@ const de_SwapEnvironmentCNAMEsCommandError = async (output, context) => {
|
|
|
1811
1679
|
};
|
|
1812
1680
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1813
1681
|
const parsedBody = parsedOutput.body;
|
|
1814
|
-
throwDefaultError({
|
|
1682
|
+
return throwDefaultError({
|
|
1815
1683
|
output,
|
|
1816
1684
|
parsedBody: parsedBody.Error,
|
|
1817
|
-
exceptionCtor: __BaseException,
|
|
1818
1685
|
errorCode,
|
|
1819
1686
|
});
|
|
1820
1687
|
};
|
|
@@ -1829,7 +1696,7 @@ export const de_TerminateEnvironmentCommand = async (output, context) => {
|
|
|
1829
1696
|
$metadata: deserializeMetadata(output),
|
|
1830
1697
|
...contents,
|
|
1831
1698
|
};
|
|
1832
|
-
return
|
|
1699
|
+
return response;
|
|
1833
1700
|
};
|
|
1834
1701
|
const de_TerminateEnvironmentCommandError = async (output, context) => {
|
|
1835
1702
|
const parsedOutput = {
|
|
@@ -1843,10 +1710,9 @@ const de_TerminateEnvironmentCommandError = async (output, context) => {
|
|
|
1843
1710
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1844
1711
|
default:
|
|
1845
1712
|
const parsedBody = parsedOutput.body;
|
|
1846
|
-
throwDefaultError({
|
|
1713
|
+
return throwDefaultError({
|
|
1847
1714
|
output,
|
|
1848
1715
|
parsedBody: parsedBody.Error,
|
|
1849
|
-
exceptionCtor: __BaseException,
|
|
1850
1716
|
errorCode,
|
|
1851
1717
|
});
|
|
1852
1718
|
}
|
|
@@ -1862,7 +1728,7 @@ export const de_UpdateApplicationCommand = async (output, context) => {
|
|
|
1862
1728
|
$metadata: deserializeMetadata(output),
|
|
1863
1729
|
...contents,
|
|
1864
1730
|
};
|
|
1865
|
-
return
|
|
1731
|
+
return response;
|
|
1866
1732
|
};
|
|
1867
1733
|
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
1868
1734
|
const parsedOutput = {
|
|
@@ -1871,10 +1737,9 @@ const de_UpdateApplicationCommandError = async (output, context) => {
|
|
|
1871
1737
|
};
|
|
1872
1738
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1873
1739
|
const parsedBody = parsedOutput.body;
|
|
1874
|
-
throwDefaultError({
|
|
1740
|
+
return throwDefaultError({
|
|
1875
1741
|
output,
|
|
1876
1742
|
parsedBody: parsedBody.Error,
|
|
1877
|
-
exceptionCtor: __BaseException,
|
|
1878
1743
|
errorCode,
|
|
1879
1744
|
});
|
|
1880
1745
|
};
|
|
@@ -1889,7 +1754,7 @@ export const de_UpdateApplicationResourceLifecycleCommand = async (output, conte
|
|
|
1889
1754
|
$metadata: deserializeMetadata(output),
|
|
1890
1755
|
...contents,
|
|
1891
1756
|
};
|
|
1892
|
-
return
|
|
1757
|
+
return response;
|
|
1893
1758
|
};
|
|
1894
1759
|
const de_UpdateApplicationResourceLifecycleCommandError = async (output, context) => {
|
|
1895
1760
|
const parsedOutput = {
|
|
@@ -1903,10 +1768,9 @@ const de_UpdateApplicationResourceLifecycleCommandError = async (output, context
|
|
|
1903
1768
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1904
1769
|
default:
|
|
1905
1770
|
const parsedBody = parsedOutput.body;
|
|
1906
|
-
throwDefaultError({
|
|
1771
|
+
return throwDefaultError({
|
|
1907
1772
|
output,
|
|
1908
1773
|
parsedBody: parsedBody.Error,
|
|
1909
|
-
exceptionCtor: __BaseException,
|
|
1910
1774
|
errorCode,
|
|
1911
1775
|
});
|
|
1912
1776
|
}
|
|
@@ -1922,7 +1786,7 @@ export const de_UpdateApplicationVersionCommand = async (output, context) => {
|
|
|
1922
1786
|
$metadata: deserializeMetadata(output),
|
|
1923
1787
|
...contents,
|
|
1924
1788
|
};
|
|
1925
|
-
return
|
|
1789
|
+
return response;
|
|
1926
1790
|
};
|
|
1927
1791
|
const de_UpdateApplicationVersionCommandError = async (output, context) => {
|
|
1928
1792
|
const parsedOutput = {
|
|
@@ -1931,10 +1795,9 @@ const de_UpdateApplicationVersionCommandError = async (output, context) => {
|
|
|
1931
1795
|
};
|
|
1932
1796
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1933
1797
|
const parsedBody = parsedOutput.body;
|
|
1934
|
-
throwDefaultError({
|
|
1798
|
+
return throwDefaultError({
|
|
1935
1799
|
output,
|
|
1936
1800
|
parsedBody: parsedBody.Error,
|
|
1937
|
-
exceptionCtor: __BaseException,
|
|
1938
1801
|
errorCode,
|
|
1939
1802
|
});
|
|
1940
1803
|
};
|
|
@@ -1949,7 +1812,7 @@ export const de_UpdateConfigurationTemplateCommand = async (output, context) =>
|
|
|
1949
1812
|
$metadata: deserializeMetadata(output),
|
|
1950
1813
|
...contents,
|
|
1951
1814
|
};
|
|
1952
|
-
return
|
|
1815
|
+
return response;
|
|
1953
1816
|
};
|
|
1954
1817
|
const de_UpdateConfigurationTemplateCommandError = async (output, context) => {
|
|
1955
1818
|
const parsedOutput = {
|
|
@@ -1966,10 +1829,9 @@ const de_UpdateConfigurationTemplateCommandError = async (output, context) => {
|
|
|
1966
1829
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1967
1830
|
default:
|
|
1968
1831
|
const parsedBody = parsedOutput.body;
|
|
1969
|
-
throwDefaultError({
|
|
1832
|
+
return throwDefaultError({
|
|
1970
1833
|
output,
|
|
1971
1834
|
parsedBody: parsedBody.Error,
|
|
1972
|
-
exceptionCtor: __BaseException,
|
|
1973
1835
|
errorCode,
|
|
1974
1836
|
});
|
|
1975
1837
|
}
|
|
@@ -1985,7 +1847,7 @@ export const de_UpdateEnvironmentCommand = async (output, context) => {
|
|
|
1985
1847
|
$metadata: deserializeMetadata(output),
|
|
1986
1848
|
...contents,
|
|
1987
1849
|
};
|
|
1988
|
-
return
|
|
1850
|
+
return response;
|
|
1989
1851
|
};
|
|
1990
1852
|
const de_UpdateEnvironmentCommandError = async (output, context) => {
|
|
1991
1853
|
const parsedOutput = {
|
|
@@ -2002,10 +1864,9 @@ const de_UpdateEnvironmentCommandError = async (output, context) => {
|
|
|
2002
1864
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
2003
1865
|
default:
|
|
2004
1866
|
const parsedBody = parsedOutput.body;
|
|
2005
|
-
throwDefaultError({
|
|
1867
|
+
return throwDefaultError({
|
|
2006
1868
|
output,
|
|
2007
1869
|
parsedBody: parsedBody.Error,
|
|
2008
|
-
exceptionCtor: __BaseException,
|
|
2009
1870
|
errorCode,
|
|
2010
1871
|
});
|
|
2011
1872
|
}
|
|
@@ -2018,7 +1879,7 @@ export const de_UpdateTagsForResourceCommand = async (output, context) => {
|
|
|
2018
1879
|
const response = {
|
|
2019
1880
|
$metadata: deserializeMetadata(output),
|
|
2020
1881
|
};
|
|
2021
|
-
return
|
|
1882
|
+
return response;
|
|
2022
1883
|
};
|
|
2023
1884
|
const de_UpdateTagsForResourceCommandError = async (output, context) => {
|
|
2024
1885
|
const parsedOutput = {
|
|
@@ -2044,10 +1905,9 @@ const de_UpdateTagsForResourceCommandError = async (output, context) => {
|
|
|
2044
1905
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2045
1906
|
default:
|
|
2046
1907
|
const parsedBody = parsedOutput.body;
|
|
2047
|
-
throwDefaultError({
|
|
1908
|
+
return throwDefaultError({
|
|
2048
1909
|
output,
|
|
2049
1910
|
parsedBody: parsedBody.Error,
|
|
2050
|
-
exceptionCtor: __BaseException,
|
|
2051
1911
|
errorCode,
|
|
2052
1912
|
});
|
|
2053
1913
|
}
|
|
@@ -2063,7 +1923,7 @@ export const de_ValidateConfigurationSettingsCommand = async (output, context) =
|
|
|
2063
1923
|
$metadata: deserializeMetadata(output),
|
|
2064
1924
|
...contents,
|
|
2065
1925
|
};
|
|
2066
|
-
return
|
|
1926
|
+
return response;
|
|
2067
1927
|
};
|
|
2068
1928
|
const de_ValidateConfigurationSettingsCommandError = async (output, context) => {
|
|
2069
1929
|
const parsedOutput = {
|
|
@@ -2080,10 +1940,9 @@ const de_ValidateConfigurationSettingsCommandError = async (output, context) =>
|
|
|
2080
1940
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
2081
1941
|
default:
|
|
2082
1942
|
const parsedBody = parsedOutput.body;
|
|
2083
|
-
throwDefaultError({
|
|
1943
|
+
return throwDefaultError({
|
|
2084
1944
|
output,
|
|
2085
1945
|
parsedBody: parsedBody.Error,
|
|
2086
|
-
exceptionCtor: __BaseException,
|
|
2087
1946
|
errorCode,
|
|
2088
1947
|
});
|
|
2089
1948
|
}
|
|
@@ -5296,6 +5155,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5296
5155
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5297
5156
|
};
|
|
5298
5157
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5158
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
5299
5159
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5300
5160
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5301
5161
|
const contents = {
|
|
@@ -5314,6 +5174,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
5314
5174
|
}
|
|
5315
5175
|
return new __HttpRequest(contents);
|
|
5316
5176
|
};
|
|
5177
|
+
const SHARED_HEADERS = {
|
|
5178
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5179
|
+
};
|
|
5317
5180
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5318
5181
|
if (encoded.length) {
|
|
5319
5182
|
const parser = new XMLParser({
|