@aws-sdk/client-apprunner 3.312.0 → 3.316.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/AppRunner.js +39 -490
- package/dist-cjs/protocols/Aws_json1_0.js +293 -1200
- package/dist-es/AppRunner.js +39 -490
- package/dist-es/protocols/Aws_json1_0.js +294 -1201
- package/dist-types/AppRunner.d.ts +58 -194
- package/dist-types/ts3.4/AppRunner.d.ts +2 -1
- package/package.json +6 -6
|
@@ -1,215 +1,215 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { AppRunnerServiceException as __BaseException } from "../models/AppRunnerServiceException";
|
|
4
4
|
import { InternalServiceErrorException, InvalidRequestException, InvalidStateException, ResourceNotFoundException, ServiceQuotaExceededException, } from "../models/models_0";
|
|
5
5
|
export const se_AssociateCustomDomainCommand = async (input, context) => {
|
|
6
6
|
const headers = sharedHeaders("AssociateCustomDomain");
|
|
7
7
|
let body;
|
|
8
|
-
body = JSON.stringify(
|
|
8
|
+
body = JSON.stringify(_json(input));
|
|
9
9
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
10
10
|
};
|
|
11
11
|
export const se_CreateAutoScalingConfigurationCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("CreateAutoScalingConfiguration");
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(_json(input));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
17
|
export const se_CreateConnectionCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("CreateConnection");
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(_json(input));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
23
|
export const se_CreateObservabilityConfigurationCommand = async (input, context) => {
|
|
24
24
|
const headers = sharedHeaders("CreateObservabilityConfiguration");
|
|
25
25
|
let body;
|
|
26
|
-
body = JSON.stringify(
|
|
26
|
+
body = JSON.stringify(_json(input));
|
|
27
27
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
28
28
|
};
|
|
29
29
|
export const se_CreateServiceCommand = async (input, context) => {
|
|
30
30
|
const headers = sharedHeaders("CreateService");
|
|
31
31
|
let body;
|
|
32
|
-
body = JSON.stringify(
|
|
32
|
+
body = JSON.stringify(_json(input));
|
|
33
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
34
|
};
|
|
35
35
|
export const se_CreateVpcConnectorCommand = async (input, context) => {
|
|
36
36
|
const headers = sharedHeaders("CreateVpcConnector");
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(_json(input));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
41
|
export const se_CreateVpcIngressConnectionCommand = async (input, context) => {
|
|
42
42
|
const headers = sharedHeaders("CreateVpcIngressConnection");
|
|
43
43
|
let body;
|
|
44
|
-
body = JSON.stringify(
|
|
44
|
+
body = JSON.stringify(_json(input));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
47
|
export const se_DeleteAutoScalingConfigurationCommand = async (input, context) => {
|
|
48
48
|
const headers = sharedHeaders("DeleteAutoScalingConfiguration");
|
|
49
49
|
let body;
|
|
50
|
-
body = JSON.stringify(
|
|
50
|
+
body = JSON.stringify(_json(input));
|
|
51
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
52
|
};
|
|
53
53
|
export const se_DeleteConnectionCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("DeleteConnection");
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(_json(input));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
59
|
export const se_DeleteObservabilityConfigurationCommand = async (input, context) => {
|
|
60
60
|
const headers = sharedHeaders("DeleteObservabilityConfiguration");
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify(_json(input));
|
|
63
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
64
64
|
};
|
|
65
65
|
export const se_DeleteServiceCommand = async (input, context) => {
|
|
66
66
|
const headers = sharedHeaders("DeleteService");
|
|
67
67
|
let body;
|
|
68
|
-
body = JSON.stringify(
|
|
68
|
+
body = JSON.stringify(_json(input));
|
|
69
69
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
70
70
|
};
|
|
71
71
|
export const se_DeleteVpcConnectorCommand = async (input, context) => {
|
|
72
72
|
const headers = sharedHeaders("DeleteVpcConnector");
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(_json(input));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
77
|
export const se_DeleteVpcIngressConnectionCommand = async (input, context) => {
|
|
78
78
|
const headers = sharedHeaders("DeleteVpcIngressConnection");
|
|
79
79
|
let body;
|
|
80
|
-
body = JSON.stringify(
|
|
80
|
+
body = JSON.stringify(_json(input));
|
|
81
81
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
82
82
|
};
|
|
83
83
|
export const se_DescribeAutoScalingConfigurationCommand = async (input, context) => {
|
|
84
84
|
const headers = sharedHeaders("DescribeAutoScalingConfiguration");
|
|
85
85
|
let body;
|
|
86
|
-
body = JSON.stringify(
|
|
86
|
+
body = JSON.stringify(_json(input));
|
|
87
87
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
88
|
};
|
|
89
89
|
export const se_DescribeCustomDomainsCommand = async (input, context) => {
|
|
90
90
|
const headers = sharedHeaders("DescribeCustomDomains");
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(_json(input));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
95
|
export const se_DescribeObservabilityConfigurationCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("DescribeObservabilityConfiguration");
|
|
97
97
|
let body;
|
|
98
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify(_json(input));
|
|
99
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
100
|
};
|
|
101
101
|
export const se_DescribeServiceCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("DescribeService");
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify(_json(input));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
107
|
export const se_DescribeVpcConnectorCommand = async (input, context) => {
|
|
108
108
|
const headers = sharedHeaders("DescribeVpcConnector");
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
113
|
export const se_DescribeVpcIngressConnectionCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("DescribeVpcIngressConnection");
|
|
115
115
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
116
|
+
body = JSON.stringify(_json(input));
|
|
117
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
118
|
};
|
|
119
119
|
export const se_DisassociateCustomDomainCommand = async (input, context) => {
|
|
120
120
|
const headers = sharedHeaders("DisassociateCustomDomain");
|
|
121
121
|
let body;
|
|
122
|
-
body = JSON.stringify(
|
|
122
|
+
body = JSON.stringify(_json(input));
|
|
123
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
124
124
|
};
|
|
125
125
|
export const se_ListAutoScalingConfigurationsCommand = async (input, context) => {
|
|
126
126
|
const headers = sharedHeaders("ListAutoScalingConfigurations");
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
131
|
export const se_ListConnectionsCommand = async (input, context) => {
|
|
132
132
|
const headers = sharedHeaders("ListConnections");
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify(
|
|
134
|
+
body = JSON.stringify(_json(input));
|
|
135
135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
136
136
|
};
|
|
137
137
|
export const se_ListObservabilityConfigurationsCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("ListObservabilityConfigurations");
|
|
139
139
|
let body;
|
|
140
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify(_json(input));
|
|
141
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
142
|
};
|
|
143
143
|
export const se_ListOperationsCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("ListOperations");
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(_json(input));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
149
|
export const se_ListServicesCommand = async (input, context) => {
|
|
150
150
|
const headers = sharedHeaders("ListServices");
|
|
151
151
|
let body;
|
|
152
|
-
body = JSON.stringify(
|
|
152
|
+
body = JSON.stringify(_json(input));
|
|
153
153
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
154
154
|
};
|
|
155
155
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
156
156
|
const headers = sharedHeaders("ListTagsForResource");
|
|
157
157
|
let body;
|
|
158
|
-
body = JSON.stringify(
|
|
158
|
+
body = JSON.stringify(_json(input));
|
|
159
159
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
160
160
|
};
|
|
161
161
|
export const se_ListVpcConnectorsCommand = async (input, context) => {
|
|
162
162
|
const headers = sharedHeaders("ListVpcConnectors");
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(_json(input));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
167
|
export const se_ListVpcIngressConnectionsCommand = async (input, context) => {
|
|
168
168
|
const headers = sharedHeaders("ListVpcIngressConnections");
|
|
169
169
|
let body;
|
|
170
|
-
body = JSON.stringify(
|
|
170
|
+
body = JSON.stringify(_json(input));
|
|
171
171
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
172
172
|
};
|
|
173
173
|
export const se_PauseServiceCommand = async (input, context) => {
|
|
174
174
|
const headers = sharedHeaders("PauseService");
|
|
175
175
|
let body;
|
|
176
|
-
body = JSON.stringify(
|
|
176
|
+
body = JSON.stringify(_json(input));
|
|
177
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
178
178
|
};
|
|
179
179
|
export const se_ResumeServiceCommand = async (input, context) => {
|
|
180
180
|
const headers = sharedHeaders("ResumeService");
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(_json(input));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
185
|
export const se_StartDeploymentCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("StartDeployment");
|
|
187
187
|
let body;
|
|
188
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify(_json(input));
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
191
|
export const se_TagResourceCommand = async (input, context) => {
|
|
192
192
|
const headers = sharedHeaders("TagResource");
|
|
193
193
|
let body;
|
|
194
|
-
body = JSON.stringify(
|
|
194
|
+
body = JSON.stringify(_json(input));
|
|
195
195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
196
|
};
|
|
197
197
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
198
198
|
const headers = sharedHeaders("UntagResource");
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(_json(input));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
203
|
export const se_UpdateServiceCommand = async (input, context) => {
|
|
204
204
|
const headers = sharedHeaders("UpdateService");
|
|
205
205
|
let body;
|
|
206
|
-
body = JSON.stringify(
|
|
206
|
+
body = JSON.stringify(_json(input));
|
|
207
207
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
208
208
|
};
|
|
209
209
|
export const se_UpdateVpcIngressConnectionCommand = async (input, context) => {
|
|
210
210
|
const headers = sharedHeaders("UpdateVpcIngressConnection");
|
|
211
211
|
let body;
|
|
212
|
-
body = JSON.stringify(
|
|
212
|
+
body = JSON.stringify(_json(input));
|
|
213
213
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
214
214
|
};
|
|
215
215
|
export const de_AssociateCustomDomainCommand = async (output, context) => {
|
|
@@ -218,12 +218,12 @@ export const de_AssociateCustomDomainCommand = async (output, context) => {
|
|
|
218
218
|
}
|
|
219
219
|
const data = await parseBody(output.body, context);
|
|
220
220
|
let contents = {};
|
|
221
|
-
contents =
|
|
221
|
+
contents = _json(data);
|
|
222
222
|
const response = {
|
|
223
223
|
$metadata: deserializeMetadata(output),
|
|
224
224
|
...contents,
|
|
225
225
|
};
|
|
226
|
-
return
|
|
226
|
+
return response;
|
|
227
227
|
};
|
|
228
228
|
const de_AssociateCustomDomainCommandError = async (output, context) => {
|
|
229
229
|
const parsedOutput = {
|
|
@@ -243,10 +243,9 @@ const de_AssociateCustomDomainCommandError = async (output, context) => {
|
|
|
243
243
|
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
244
244
|
default:
|
|
245
245
|
const parsedBody = parsedOutput.body;
|
|
246
|
-
throwDefaultError({
|
|
246
|
+
return throwDefaultError({
|
|
247
247
|
output,
|
|
248
248
|
parsedBody,
|
|
249
|
-
exceptionCtor: __BaseException,
|
|
250
249
|
errorCode,
|
|
251
250
|
});
|
|
252
251
|
}
|
|
@@ -262,7 +261,7 @@ export const de_CreateAutoScalingConfigurationCommand = async (output, context)
|
|
|
262
261
|
$metadata: deserializeMetadata(output),
|
|
263
262
|
...contents,
|
|
264
263
|
};
|
|
265
|
-
return
|
|
264
|
+
return response;
|
|
266
265
|
};
|
|
267
266
|
const de_CreateAutoScalingConfigurationCommandError = async (output, context) => {
|
|
268
267
|
const parsedOutput = {
|
|
@@ -282,10 +281,9 @@ const de_CreateAutoScalingConfigurationCommandError = async (output, context) =>
|
|
|
282
281
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
283
282
|
default:
|
|
284
283
|
const parsedBody = parsedOutput.body;
|
|
285
|
-
throwDefaultError({
|
|
284
|
+
return throwDefaultError({
|
|
286
285
|
output,
|
|
287
286
|
parsedBody,
|
|
288
|
-
exceptionCtor: __BaseException,
|
|
289
287
|
errorCode,
|
|
290
288
|
});
|
|
291
289
|
}
|
|
@@ -301,7 +299,7 @@ export const de_CreateConnectionCommand = async (output, context) => {
|
|
|
301
299
|
$metadata: deserializeMetadata(output),
|
|
302
300
|
...contents,
|
|
303
301
|
};
|
|
304
|
-
return
|
|
302
|
+
return response;
|
|
305
303
|
};
|
|
306
304
|
const de_CreateConnectionCommandError = async (output, context) => {
|
|
307
305
|
const parsedOutput = {
|
|
@@ -321,10 +319,9 @@ const de_CreateConnectionCommandError = async (output, context) => {
|
|
|
321
319
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
322
320
|
default:
|
|
323
321
|
const parsedBody = parsedOutput.body;
|
|
324
|
-
throwDefaultError({
|
|
322
|
+
return throwDefaultError({
|
|
325
323
|
output,
|
|
326
324
|
parsedBody,
|
|
327
|
-
exceptionCtor: __BaseException,
|
|
328
325
|
errorCode,
|
|
329
326
|
});
|
|
330
327
|
}
|
|
@@ -340,7 +337,7 @@ export const de_CreateObservabilityConfigurationCommand = async (output, context
|
|
|
340
337
|
$metadata: deserializeMetadata(output),
|
|
341
338
|
...contents,
|
|
342
339
|
};
|
|
343
|
-
return
|
|
340
|
+
return response;
|
|
344
341
|
};
|
|
345
342
|
const de_CreateObservabilityConfigurationCommandError = async (output, context) => {
|
|
346
343
|
const parsedOutput = {
|
|
@@ -360,10 +357,9 @@ const de_CreateObservabilityConfigurationCommandError = async (output, context)
|
|
|
360
357
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
361
358
|
default:
|
|
362
359
|
const parsedBody = parsedOutput.body;
|
|
363
|
-
throwDefaultError({
|
|
360
|
+
return throwDefaultError({
|
|
364
361
|
output,
|
|
365
362
|
parsedBody,
|
|
366
|
-
exceptionCtor: __BaseException,
|
|
367
363
|
errorCode,
|
|
368
364
|
});
|
|
369
365
|
}
|
|
@@ -379,7 +375,7 @@ export const de_CreateServiceCommand = async (output, context) => {
|
|
|
379
375
|
$metadata: deserializeMetadata(output),
|
|
380
376
|
...contents,
|
|
381
377
|
};
|
|
382
|
-
return
|
|
378
|
+
return response;
|
|
383
379
|
};
|
|
384
380
|
const de_CreateServiceCommandError = async (output, context) => {
|
|
385
381
|
const parsedOutput = {
|
|
@@ -399,10 +395,9 @@ const de_CreateServiceCommandError = async (output, context) => {
|
|
|
399
395
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
400
396
|
default:
|
|
401
397
|
const parsedBody = parsedOutput.body;
|
|
402
|
-
throwDefaultError({
|
|
398
|
+
return throwDefaultError({
|
|
403
399
|
output,
|
|
404
400
|
parsedBody,
|
|
405
|
-
exceptionCtor: __BaseException,
|
|
406
401
|
errorCode,
|
|
407
402
|
});
|
|
408
403
|
}
|
|
@@ -418,7 +413,7 @@ export const de_CreateVpcConnectorCommand = async (output, context) => {
|
|
|
418
413
|
$metadata: deserializeMetadata(output),
|
|
419
414
|
...contents,
|
|
420
415
|
};
|
|
421
|
-
return
|
|
416
|
+
return response;
|
|
422
417
|
};
|
|
423
418
|
const de_CreateVpcConnectorCommandError = async (output, context) => {
|
|
424
419
|
const parsedOutput = {
|
|
@@ -438,10 +433,9 @@ const de_CreateVpcConnectorCommandError = async (output, context) => {
|
|
|
438
433
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
439
434
|
default:
|
|
440
435
|
const parsedBody = parsedOutput.body;
|
|
441
|
-
throwDefaultError({
|
|
436
|
+
return throwDefaultError({
|
|
442
437
|
output,
|
|
443
438
|
parsedBody,
|
|
444
|
-
exceptionCtor: __BaseException,
|
|
445
439
|
errorCode,
|
|
446
440
|
});
|
|
447
441
|
}
|
|
@@ -457,7 +451,7 @@ export const de_CreateVpcIngressConnectionCommand = async (output, context) => {
|
|
|
457
451
|
$metadata: deserializeMetadata(output),
|
|
458
452
|
...contents,
|
|
459
453
|
};
|
|
460
|
-
return
|
|
454
|
+
return response;
|
|
461
455
|
};
|
|
462
456
|
const de_CreateVpcIngressConnectionCommandError = async (output, context) => {
|
|
463
457
|
const parsedOutput = {
|
|
@@ -480,10 +474,9 @@ const de_CreateVpcIngressConnectionCommandError = async (output, context) => {
|
|
|
480
474
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
481
475
|
default:
|
|
482
476
|
const parsedBody = parsedOutput.body;
|
|
483
|
-
throwDefaultError({
|
|
477
|
+
return throwDefaultError({
|
|
484
478
|
output,
|
|
485
479
|
parsedBody,
|
|
486
|
-
exceptionCtor: __BaseException,
|
|
487
480
|
errorCode,
|
|
488
481
|
});
|
|
489
482
|
}
|
|
@@ -499,7 +492,7 @@ export const de_DeleteAutoScalingConfigurationCommand = async (output, context)
|
|
|
499
492
|
$metadata: deserializeMetadata(output),
|
|
500
493
|
...contents,
|
|
501
494
|
};
|
|
502
|
-
return
|
|
495
|
+
return response;
|
|
503
496
|
};
|
|
504
497
|
const de_DeleteAutoScalingConfigurationCommandError = async (output, context) => {
|
|
505
498
|
const parsedOutput = {
|
|
@@ -519,10 +512,9 @@ const de_DeleteAutoScalingConfigurationCommandError = async (output, context) =>
|
|
|
519
512
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
520
513
|
default:
|
|
521
514
|
const parsedBody = parsedOutput.body;
|
|
522
|
-
throwDefaultError({
|
|
515
|
+
return throwDefaultError({
|
|
523
516
|
output,
|
|
524
517
|
parsedBody,
|
|
525
|
-
exceptionCtor: __BaseException,
|
|
526
518
|
errorCode,
|
|
527
519
|
});
|
|
528
520
|
}
|
|
@@ -538,7 +530,7 @@ export const de_DeleteConnectionCommand = async (output, context) => {
|
|
|
538
530
|
$metadata: deserializeMetadata(output),
|
|
539
531
|
...contents,
|
|
540
532
|
};
|
|
541
|
-
return
|
|
533
|
+
return response;
|
|
542
534
|
};
|
|
543
535
|
const de_DeleteConnectionCommandError = async (output, context) => {
|
|
544
536
|
const parsedOutput = {
|
|
@@ -558,10 +550,9 @@ const de_DeleteConnectionCommandError = async (output, context) => {
|
|
|
558
550
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
559
551
|
default:
|
|
560
552
|
const parsedBody = parsedOutput.body;
|
|
561
|
-
throwDefaultError({
|
|
553
|
+
return throwDefaultError({
|
|
562
554
|
output,
|
|
563
555
|
parsedBody,
|
|
564
|
-
exceptionCtor: __BaseException,
|
|
565
556
|
errorCode,
|
|
566
557
|
});
|
|
567
558
|
}
|
|
@@ -577,7 +568,7 @@ export const de_DeleteObservabilityConfigurationCommand = async (output, context
|
|
|
577
568
|
$metadata: deserializeMetadata(output),
|
|
578
569
|
...contents,
|
|
579
570
|
};
|
|
580
|
-
return
|
|
571
|
+
return response;
|
|
581
572
|
};
|
|
582
573
|
const de_DeleteObservabilityConfigurationCommandError = async (output, context) => {
|
|
583
574
|
const parsedOutput = {
|
|
@@ -597,10 +588,9 @@ const de_DeleteObservabilityConfigurationCommandError = async (output, context)
|
|
|
597
588
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
598
589
|
default:
|
|
599
590
|
const parsedBody = parsedOutput.body;
|
|
600
|
-
throwDefaultError({
|
|
591
|
+
return throwDefaultError({
|
|
601
592
|
output,
|
|
602
593
|
parsedBody,
|
|
603
|
-
exceptionCtor: __BaseException,
|
|
604
594
|
errorCode,
|
|
605
595
|
});
|
|
606
596
|
}
|
|
@@ -616,7 +606,7 @@ export const de_DeleteServiceCommand = async (output, context) => {
|
|
|
616
606
|
$metadata: deserializeMetadata(output),
|
|
617
607
|
...contents,
|
|
618
608
|
};
|
|
619
|
-
return
|
|
609
|
+
return response;
|
|
620
610
|
};
|
|
621
611
|
const de_DeleteServiceCommandError = async (output, context) => {
|
|
622
612
|
const parsedOutput = {
|
|
@@ -639,10 +629,9 @@ const de_DeleteServiceCommandError = async (output, context) => {
|
|
|
639
629
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
640
630
|
default:
|
|
641
631
|
const parsedBody = parsedOutput.body;
|
|
642
|
-
throwDefaultError({
|
|
632
|
+
return throwDefaultError({
|
|
643
633
|
output,
|
|
644
634
|
parsedBody,
|
|
645
|
-
exceptionCtor: __BaseException,
|
|
646
635
|
errorCode,
|
|
647
636
|
});
|
|
648
637
|
}
|
|
@@ -658,7 +647,7 @@ export const de_DeleteVpcConnectorCommand = async (output, context) => {
|
|
|
658
647
|
$metadata: deserializeMetadata(output),
|
|
659
648
|
...contents,
|
|
660
649
|
};
|
|
661
|
-
return
|
|
650
|
+
return response;
|
|
662
651
|
};
|
|
663
652
|
const de_DeleteVpcConnectorCommandError = async (output, context) => {
|
|
664
653
|
const parsedOutput = {
|
|
@@ -678,10 +667,9 @@ const de_DeleteVpcConnectorCommandError = async (output, context) => {
|
|
|
678
667
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
679
668
|
default:
|
|
680
669
|
const parsedBody = parsedOutput.body;
|
|
681
|
-
throwDefaultError({
|
|
670
|
+
return throwDefaultError({
|
|
682
671
|
output,
|
|
683
672
|
parsedBody,
|
|
684
|
-
exceptionCtor: __BaseException,
|
|
685
673
|
errorCode,
|
|
686
674
|
});
|
|
687
675
|
}
|
|
@@ -697,7 +685,7 @@ export const de_DeleteVpcIngressConnectionCommand = async (output, context) => {
|
|
|
697
685
|
$metadata: deserializeMetadata(output),
|
|
698
686
|
...contents,
|
|
699
687
|
};
|
|
700
|
-
return
|
|
688
|
+
return response;
|
|
701
689
|
};
|
|
702
690
|
const de_DeleteVpcIngressConnectionCommandError = async (output, context) => {
|
|
703
691
|
const parsedOutput = {
|
|
@@ -720,10 +708,9 @@ const de_DeleteVpcIngressConnectionCommandError = async (output, context) => {
|
|
|
720
708
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
721
709
|
default:
|
|
722
710
|
const parsedBody = parsedOutput.body;
|
|
723
|
-
throwDefaultError({
|
|
711
|
+
return throwDefaultError({
|
|
724
712
|
output,
|
|
725
713
|
parsedBody,
|
|
726
|
-
exceptionCtor: __BaseException,
|
|
727
714
|
errorCode,
|
|
728
715
|
});
|
|
729
716
|
}
|
|
@@ -739,7 +726,7 @@ export const de_DescribeAutoScalingConfigurationCommand = async (output, context
|
|
|
739
726
|
$metadata: deserializeMetadata(output),
|
|
740
727
|
...contents,
|
|
741
728
|
};
|
|
742
|
-
return
|
|
729
|
+
return response;
|
|
743
730
|
};
|
|
744
731
|
const de_DescribeAutoScalingConfigurationCommandError = async (output, context) => {
|
|
745
732
|
const parsedOutput = {
|
|
@@ -759,10 +746,9 @@ const de_DescribeAutoScalingConfigurationCommandError = async (output, context)
|
|
|
759
746
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
760
747
|
default:
|
|
761
748
|
const parsedBody = parsedOutput.body;
|
|
762
|
-
throwDefaultError({
|
|
749
|
+
return throwDefaultError({
|
|
763
750
|
output,
|
|
764
751
|
parsedBody,
|
|
765
|
-
exceptionCtor: __BaseException,
|
|
766
752
|
errorCode,
|
|
767
753
|
});
|
|
768
754
|
}
|
|
@@ -773,12 +759,12 @@ export const de_DescribeCustomDomainsCommand = async (output, context) => {
|
|
|
773
759
|
}
|
|
774
760
|
const data = await parseBody(output.body, context);
|
|
775
761
|
let contents = {};
|
|
776
|
-
contents =
|
|
762
|
+
contents = _json(data);
|
|
777
763
|
const response = {
|
|
778
764
|
$metadata: deserializeMetadata(output),
|
|
779
765
|
...contents,
|
|
780
766
|
};
|
|
781
|
-
return
|
|
767
|
+
return response;
|
|
782
768
|
};
|
|
783
769
|
const de_DescribeCustomDomainsCommandError = async (output, context) => {
|
|
784
770
|
const parsedOutput = {
|
|
@@ -798,10 +784,9 @@ const de_DescribeCustomDomainsCommandError = async (output, context) => {
|
|
|
798
784
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
799
785
|
default:
|
|
800
786
|
const parsedBody = parsedOutput.body;
|
|
801
|
-
throwDefaultError({
|
|
787
|
+
return throwDefaultError({
|
|
802
788
|
output,
|
|
803
789
|
parsedBody,
|
|
804
|
-
exceptionCtor: __BaseException,
|
|
805
790
|
errorCode,
|
|
806
791
|
});
|
|
807
792
|
}
|
|
@@ -817,7 +802,7 @@ export const de_DescribeObservabilityConfigurationCommand = async (output, conte
|
|
|
817
802
|
$metadata: deserializeMetadata(output),
|
|
818
803
|
...contents,
|
|
819
804
|
};
|
|
820
|
-
return
|
|
805
|
+
return response;
|
|
821
806
|
};
|
|
822
807
|
const de_DescribeObservabilityConfigurationCommandError = async (output, context) => {
|
|
823
808
|
const parsedOutput = {
|
|
@@ -837,10 +822,9 @@ const de_DescribeObservabilityConfigurationCommandError = async (output, context
|
|
|
837
822
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
838
823
|
default:
|
|
839
824
|
const parsedBody = parsedOutput.body;
|
|
840
|
-
throwDefaultError({
|
|
825
|
+
return throwDefaultError({
|
|
841
826
|
output,
|
|
842
827
|
parsedBody,
|
|
843
|
-
exceptionCtor: __BaseException,
|
|
844
828
|
errorCode,
|
|
845
829
|
});
|
|
846
830
|
}
|
|
@@ -856,7 +840,7 @@ export const de_DescribeServiceCommand = async (output, context) => {
|
|
|
856
840
|
$metadata: deserializeMetadata(output),
|
|
857
841
|
...contents,
|
|
858
842
|
};
|
|
859
|
-
return
|
|
843
|
+
return response;
|
|
860
844
|
};
|
|
861
845
|
const de_DescribeServiceCommandError = async (output, context) => {
|
|
862
846
|
const parsedOutput = {
|
|
@@ -876,10 +860,9 @@ const de_DescribeServiceCommandError = async (output, context) => {
|
|
|
876
860
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
877
861
|
default:
|
|
878
862
|
const parsedBody = parsedOutput.body;
|
|
879
|
-
throwDefaultError({
|
|
863
|
+
return throwDefaultError({
|
|
880
864
|
output,
|
|
881
865
|
parsedBody,
|
|
882
|
-
exceptionCtor: __BaseException,
|
|
883
866
|
errorCode,
|
|
884
867
|
});
|
|
885
868
|
}
|
|
@@ -895,7 +878,7 @@ export const de_DescribeVpcConnectorCommand = async (output, context) => {
|
|
|
895
878
|
$metadata: deserializeMetadata(output),
|
|
896
879
|
...contents,
|
|
897
880
|
};
|
|
898
|
-
return
|
|
881
|
+
return response;
|
|
899
882
|
};
|
|
900
883
|
const de_DescribeVpcConnectorCommandError = async (output, context) => {
|
|
901
884
|
const parsedOutput = {
|
|
@@ -915,10 +898,9 @@ const de_DescribeVpcConnectorCommandError = async (output, context) => {
|
|
|
915
898
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
916
899
|
default:
|
|
917
900
|
const parsedBody = parsedOutput.body;
|
|
918
|
-
throwDefaultError({
|
|
901
|
+
return throwDefaultError({
|
|
919
902
|
output,
|
|
920
903
|
parsedBody,
|
|
921
|
-
exceptionCtor: __BaseException,
|
|
922
904
|
errorCode,
|
|
923
905
|
});
|
|
924
906
|
}
|
|
@@ -934,7 +916,7 @@ export const de_DescribeVpcIngressConnectionCommand = async (output, context) =>
|
|
|
934
916
|
$metadata: deserializeMetadata(output),
|
|
935
917
|
...contents,
|
|
936
918
|
};
|
|
937
|
-
return
|
|
919
|
+
return response;
|
|
938
920
|
};
|
|
939
921
|
const de_DescribeVpcIngressConnectionCommandError = async (output, context) => {
|
|
940
922
|
const parsedOutput = {
|
|
@@ -954,10 +936,9 @@ const de_DescribeVpcIngressConnectionCommandError = async (output, context) => {
|
|
|
954
936
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
955
937
|
default:
|
|
956
938
|
const parsedBody = parsedOutput.body;
|
|
957
|
-
throwDefaultError({
|
|
939
|
+
return throwDefaultError({
|
|
958
940
|
output,
|
|
959
941
|
parsedBody,
|
|
960
|
-
exceptionCtor: __BaseException,
|
|
961
942
|
errorCode,
|
|
962
943
|
});
|
|
963
944
|
}
|
|
@@ -968,12 +949,12 @@ export const de_DisassociateCustomDomainCommand = async (output, context) => {
|
|
|
968
949
|
}
|
|
969
950
|
const data = await parseBody(output.body, context);
|
|
970
951
|
let contents = {};
|
|
971
|
-
contents =
|
|
952
|
+
contents = _json(data);
|
|
972
953
|
const response = {
|
|
973
954
|
$metadata: deserializeMetadata(output),
|
|
974
955
|
...contents,
|
|
975
956
|
};
|
|
976
|
-
return
|
|
957
|
+
return response;
|
|
977
958
|
};
|
|
978
959
|
const de_DisassociateCustomDomainCommandError = async (output, context) => {
|
|
979
960
|
const parsedOutput = {
|
|
@@ -996,10 +977,9 @@ const de_DisassociateCustomDomainCommandError = async (output, context) => {
|
|
|
996
977
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
997
978
|
default:
|
|
998
979
|
const parsedBody = parsedOutput.body;
|
|
999
|
-
throwDefaultError({
|
|
980
|
+
return throwDefaultError({
|
|
1000
981
|
output,
|
|
1001
982
|
parsedBody,
|
|
1002
|
-
exceptionCtor: __BaseException,
|
|
1003
983
|
errorCode,
|
|
1004
984
|
});
|
|
1005
985
|
}
|
|
@@ -1010,12 +990,12 @@ export const de_ListAutoScalingConfigurationsCommand = async (output, context) =
|
|
|
1010
990
|
}
|
|
1011
991
|
const data = await parseBody(output.body, context);
|
|
1012
992
|
let contents = {};
|
|
1013
|
-
contents =
|
|
993
|
+
contents = _json(data);
|
|
1014
994
|
const response = {
|
|
1015
995
|
$metadata: deserializeMetadata(output),
|
|
1016
996
|
...contents,
|
|
1017
997
|
};
|
|
1018
|
-
return
|
|
998
|
+
return response;
|
|
1019
999
|
};
|
|
1020
1000
|
const de_ListAutoScalingConfigurationsCommandError = async (output, context) => {
|
|
1021
1001
|
const parsedOutput = {
|
|
@@ -1032,10 +1012,9 @@ const de_ListAutoScalingConfigurationsCommandError = async (output, context) =>
|
|
|
1032
1012
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1033
1013
|
default:
|
|
1034
1014
|
const parsedBody = parsedOutput.body;
|
|
1035
|
-
throwDefaultError({
|
|
1015
|
+
return throwDefaultError({
|
|
1036
1016
|
output,
|
|
1037
1017
|
parsedBody,
|
|
1038
|
-
exceptionCtor: __BaseException,
|
|
1039
1018
|
errorCode,
|
|
1040
1019
|
});
|
|
1041
1020
|
}
|
|
@@ -1051,7 +1030,7 @@ export const de_ListConnectionsCommand = async (output, context) => {
|
|
|
1051
1030
|
$metadata: deserializeMetadata(output),
|
|
1052
1031
|
...contents,
|
|
1053
1032
|
};
|
|
1054
|
-
return
|
|
1033
|
+
return response;
|
|
1055
1034
|
};
|
|
1056
1035
|
const de_ListConnectionsCommandError = async (output, context) => {
|
|
1057
1036
|
const parsedOutput = {
|
|
@@ -1068,10 +1047,9 @@ const de_ListConnectionsCommandError = async (output, context) => {
|
|
|
1068
1047
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1069
1048
|
default:
|
|
1070
1049
|
const parsedBody = parsedOutput.body;
|
|
1071
|
-
throwDefaultError({
|
|
1050
|
+
return throwDefaultError({
|
|
1072
1051
|
output,
|
|
1073
1052
|
parsedBody,
|
|
1074
|
-
exceptionCtor: __BaseException,
|
|
1075
1053
|
errorCode,
|
|
1076
1054
|
});
|
|
1077
1055
|
}
|
|
@@ -1082,12 +1060,12 @@ export const de_ListObservabilityConfigurationsCommand = async (output, context)
|
|
|
1082
1060
|
}
|
|
1083
1061
|
const data = await parseBody(output.body, context);
|
|
1084
1062
|
let contents = {};
|
|
1085
|
-
contents =
|
|
1063
|
+
contents = _json(data);
|
|
1086
1064
|
const response = {
|
|
1087
1065
|
$metadata: deserializeMetadata(output),
|
|
1088
1066
|
...contents,
|
|
1089
1067
|
};
|
|
1090
|
-
return
|
|
1068
|
+
return response;
|
|
1091
1069
|
};
|
|
1092
1070
|
const de_ListObservabilityConfigurationsCommandError = async (output, context) => {
|
|
1093
1071
|
const parsedOutput = {
|
|
@@ -1104,10 +1082,9 @@ const de_ListObservabilityConfigurationsCommandError = async (output, context) =
|
|
|
1104
1082
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1105
1083
|
default:
|
|
1106
1084
|
const parsedBody = parsedOutput.body;
|
|
1107
|
-
throwDefaultError({
|
|
1085
|
+
return throwDefaultError({
|
|
1108
1086
|
output,
|
|
1109
1087
|
parsedBody,
|
|
1110
|
-
exceptionCtor: __BaseException,
|
|
1111
1088
|
errorCode,
|
|
1112
1089
|
});
|
|
1113
1090
|
}
|
|
@@ -1123,7 +1100,7 @@ export const de_ListOperationsCommand = async (output, context) => {
|
|
|
1123
1100
|
$metadata: deserializeMetadata(output),
|
|
1124
1101
|
...contents,
|
|
1125
1102
|
};
|
|
1126
|
-
return
|
|
1103
|
+
return response;
|
|
1127
1104
|
};
|
|
1128
1105
|
const de_ListOperationsCommandError = async (output, context) => {
|
|
1129
1106
|
const parsedOutput = {
|
|
@@ -1143,10 +1120,9 @@ const de_ListOperationsCommandError = async (output, context) => {
|
|
|
1143
1120
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1144
1121
|
default:
|
|
1145
1122
|
const parsedBody = parsedOutput.body;
|
|
1146
|
-
throwDefaultError({
|
|
1123
|
+
return throwDefaultError({
|
|
1147
1124
|
output,
|
|
1148
1125
|
parsedBody,
|
|
1149
|
-
exceptionCtor: __BaseException,
|
|
1150
1126
|
errorCode,
|
|
1151
1127
|
});
|
|
1152
1128
|
}
|
|
@@ -1162,7 +1138,7 @@ export const de_ListServicesCommand = async (output, context) => {
|
|
|
1162
1138
|
$metadata: deserializeMetadata(output),
|
|
1163
1139
|
...contents,
|
|
1164
1140
|
};
|
|
1165
|
-
return
|
|
1141
|
+
return response;
|
|
1166
1142
|
};
|
|
1167
1143
|
const de_ListServicesCommandError = async (output, context) => {
|
|
1168
1144
|
const parsedOutput = {
|
|
@@ -1179,10 +1155,9 @@ const de_ListServicesCommandError = async (output, context) => {
|
|
|
1179
1155
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1180
1156
|
default:
|
|
1181
1157
|
const parsedBody = parsedOutput.body;
|
|
1182
|
-
throwDefaultError({
|
|
1158
|
+
return throwDefaultError({
|
|
1183
1159
|
output,
|
|
1184
1160
|
parsedBody,
|
|
1185
|
-
exceptionCtor: __BaseException,
|
|
1186
1161
|
errorCode,
|
|
1187
1162
|
});
|
|
1188
1163
|
}
|
|
@@ -1193,12 +1168,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1193
1168
|
}
|
|
1194
1169
|
const data = await parseBody(output.body, context);
|
|
1195
1170
|
let contents = {};
|
|
1196
|
-
contents =
|
|
1171
|
+
contents = _json(data);
|
|
1197
1172
|
const response = {
|
|
1198
1173
|
$metadata: deserializeMetadata(output),
|
|
1199
1174
|
...contents,
|
|
1200
1175
|
};
|
|
1201
|
-
return
|
|
1176
|
+
return response;
|
|
1202
1177
|
};
|
|
1203
1178
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1204
1179
|
const parsedOutput = {
|
|
@@ -1221,10 +1196,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1221
1196
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1222
1197
|
default:
|
|
1223
1198
|
const parsedBody = parsedOutput.body;
|
|
1224
|
-
throwDefaultError({
|
|
1199
|
+
return throwDefaultError({
|
|
1225
1200
|
output,
|
|
1226
1201
|
parsedBody,
|
|
1227
|
-
exceptionCtor: __BaseException,
|
|
1228
1202
|
errorCode,
|
|
1229
1203
|
});
|
|
1230
1204
|
}
|
|
@@ -1240,7 +1214,7 @@ export const de_ListVpcConnectorsCommand = async (output, context) => {
|
|
|
1240
1214
|
$metadata: deserializeMetadata(output),
|
|
1241
1215
|
...contents,
|
|
1242
1216
|
};
|
|
1243
|
-
return
|
|
1217
|
+
return response;
|
|
1244
1218
|
};
|
|
1245
1219
|
const de_ListVpcConnectorsCommandError = async (output, context) => {
|
|
1246
1220
|
const parsedOutput = {
|
|
@@ -1257,10 +1231,9 @@ const de_ListVpcConnectorsCommandError = async (output, context) => {
|
|
|
1257
1231
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1258
1232
|
default:
|
|
1259
1233
|
const parsedBody = parsedOutput.body;
|
|
1260
|
-
throwDefaultError({
|
|
1234
|
+
return throwDefaultError({
|
|
1261
1235
|
output,
|
|
1262
1236
|
parsedBody,
|
|
1263
|
-
exceptionCtor: __BaseException,
|
|
1264
1237
|
errorCode,
|
|
1265
1238
|
});
|
|
1266
1239
|
}
|
|
@@ -1271,12 +1244,12 @@ export const de_ListVpcIngressConnectionsCommand = async (output, context) => {
|
|
|
1271
1244
|
}
|
|
1272
1245
|
const data = await parseBody(output.body, context);
|
|
1273
1246
|
let contents = {};
|
|
1274
|
-
contents =
|
|
1247
|
+
contents = _json(data);
|
|
1275
1248
|
const response = {
|
|
1276
1249
|
$metadata: deserializeMetadata(output),
|
|
1277
1250
|
...contents,
|
|
1278
1251
|
};
|
|
1279
|
-
return
|
|
1252
|
+
return response;
|
|
1280
1253
|
};
|
|
1281
1254
|
const de_ListVpcIngressConnectionsCommandError = async (output, context) => {
|
|
1282
1255
|
const parsedOutput = {
|
|
@@ -1293,10 +1266,9 @@ const de_ListVpcIngressConnectionsCommandError = async (output, context) => {
|
|
|
1293
1266
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1294
1267
|
default:
|
|
1295
1268
|
const parsedBody = parsedOutput.body;
|
|
1296
|
-
throwDefaultError({
|
|
1269
|
+
return throwDefaultError({
|
|
1297
1270
|
output,
|
|
1298
1271
|
parsedBody,
|
|
1299
|
-
exceptionCtor: __BaseException,
|
|
1300
1272
|
errorCode,
|
|
1301
1273
|
});
|
|
1302
1274
|
}
|
|
@@ -1312,7 +1284,7 @@ export const de_PauseServiceCommand = async (output, context) => {
|
|
|
1312
1284
|
$metadata: deserializeMetadata(output),
|
|
1313
1285
|
...contents,
|
|
1314
1286
|
};
|
|
1315
|
-
return
|
|
1287
|
+
return response;
|
|
1316
1288
|
};
|
|
1317
1289
|
const de_PauseServiceCommandError = async (output, context) => {
|
|
1318
1290
|
const parsedOutput = {
|
|
@@ -1335,10 +1307,9 @@ const de_PauseServiceCommandError = async (output, context) => {
|
|
|
1335
1307
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1336
1308
|
default:
|
|
1337
1309
|
const parsedBody = parsedOutput.body;
|
|
1338
|
-
throwDefaultError({
|
|
1310
|
+
return throwDefaultError({
|
|
1339
1311
|
output,
|
|
1340
1312
|
parsedBody,
|
|
1341
|
-
exceptionCtor: __BaseException,
|
|
1342
1313
|
errorCode,
|
|
1343
1314
|
});
|
|
1344
1315
|
}
|
|
@@ -1354,7 +1325,7 @@ export const de_ResumeServiceCommand = async (output, context) => {
|
|
|
1354
1325
|
$metadata: deserializeMetadata(output),
|
|
1355
1326
|
...contents,
|
|
1356
1327
|
};
|
|
1357
|
-
return
|
|
1328
|
+
return response;
|
|
1358
1329
|
};
|
|
1359
1330
|
const de_ResumeServiceCommandError = async (output, context) => {
|
|
1360
1331
|
const parsedOutput = {
|
|
@@ -1377,10 +1348,9 @@ const de_ResumeServiceCommandError = async (output, context) => {
|
|
|
1377
1348
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1378
1349
|
default:
|
|
1379
1350
|
const parsedBody = parsedOutput.body;
|
|
1380
|
-
throwDefaultError({
|
|
1351
|
+
return throwDefaultError({
|
|
1381
1352
|
output,
|
|
1382
1353
|
parsedBody,
|
|
1383
|
-
exceptionCtor: __BaseException,
|
|
1384
1354
|
errorCode,
|
|
1385
1355
|
});
|
|
1386
1356
|
}
|
|
@@ -1391,12 +1361,12 @@ export const de_StartDeploymentCommand = async (output, context) => {
|
|
|
1391
1361
|
}
|
|
1392
1362
|
const data = await parseBody(output.body, context);
|
|
1393
1363
|
let contents = {};
|
|
1394
|
-
contents =
|
|
1364
|
+
contents = _json(data);
|
|
1395
1365
|
const response = {
|
|
1396
1366
|
$metadata: deserializeMetadata(output),
|
|
1397
1367
|
...contents,
|
|
1398
1368
|
};
|
|
1399
|
-
return
|
|
1369
|
+
return response;
|
|
1400
1370
|
};
|
|
1401
1371
|
const de_StartDeploymentCommandError = async (output, context) => {
|
|
1402
1372
|
const parsedOutput = {
|
|
@@ -1416,10 +1386,9 @@ const de_StartDeploymentCommandError = async (output, context) => {
|
|
|
1416
1386
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1417
1387
|
default:
|
|
1418
1388
|
const parsedBody = parsedOutput.body;
|
|
1419
|
-
throwDefaultError({
|
|
1389
|
+
return throwDefaultError({
|
|
1420
1390
|
output,
|
|
1421
1391
|
parsedBody,
|
|
1422
|
-
exceptionCtor: __BaseException,
|
|
1423
1392
|
errorCode,
|
|
1424
1393
|
});
|
|
1425
1394
|
}
|
|
@@ -1430,12 +1399,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
1430
1399
|
}
|
|
1431
1400
|
const data = await parseBody(output.body, context);
|
|
1432
1401
|
let contents = {};
|
|
1433
|
-
contents =
|
|
1402
|
+
contents = _json(data);
|
|
1434
1403
|
const response = {
|
|
1435
1404
|
$metadata: deserializeMetadata(output),
|
|
1436
1405
|
...contents,
|
|
1437
1406
|
};
|
|
1438
|
-
return
|
|
1407
|
+
return response;
|
|
1439
1408
|
};
|
|
1440
1409
|
const de_TagResourceCommandError = async (output, context) => {
|
|
1441
1410
|
const parsedOutput = {
|
|
@@ -1458,10 +1427,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1458
1427
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1459
1428
|
default:
|
|
1460
1429
|
const parsedBody = parsedOutput.body;
|
|
1461
|
-
throwDefaultError({
|
|
1430
|
+
return throwDefaultError({
|
|
1462
1431
|
output,
|
|
1463
1432
|
parsedBody,
|
|
1464
|
-
exceptionCtor: __BaseException,
|
|
1465
1433
|
errorCode,
|
|
1466
1434
|
});
|
|
1467
1435
|
}
|
|
@@ -1472,12 +1440,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1472
1440
|
}
|
|
1473
1441
|
const data = await parseBody(output.body, context);
|
|
1474
1442
|
let contents = {};
|
|
1475
|
-
contents =
|
|
1443
|
+
contents = _json(data);
|
|
1476
1444
|
const response = {
|
|
1477
1445
|
$metadata: deserializeMetadata(output),
|
|
1478
1446
|
...contents,
|
|
1479
1447
|
};
|
|
1480
|
-
return
|
|
1448
|
+
return response;
|
|
1481
1449
|
};
|
|
1482
1450
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
1483
1451
|
const parsedOutput = {
|
|
@@ -1500,10 +1468,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1500
1468
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1501
1469
|
default:
|
|
1502
1470
|
const parsedBody = parsedOutput.body;
|
|
1503
|
-
throwDefaultError({
|
|
1471
|
+
return throwDefaultError({
|
|
1504
1472
|
output,
|
|
1505
1473
|
parsedBody,
|
|
1506
|
-
exceptionCtor: __BaseException,
|
|
1507
1474
|
errorCode,
|
|
1508
1475
|
});
|
|
1509
1476
|
}
|
|
@@ -1519,7 +1486,7 @@ export const de_UpdateServiceCommand = async (output, context) => {
|
|
|
1519
1486
|
$metadata: deserializeMetadata(output),
|
|
1520
1487
|
...contents,
|
|
1521
1488
|
};
|
|
1522
|
-
return
|
|
1489
|
+
return response;
|
|
1523
1490
|
};
|
|
1524
1491
|
const de_UpdateServiceCommandError = async (output, context) => {
|
|
1525
1492
|
const parsedOutput = {
|
|
@@ -1542,10 +1509,9 @@ const de_UpdateServiceCommandError = async (output, context) => {
|
|
|
1542
1509
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1543
1510
|
default:
|
|
1544
1511
|
const parsedBody = parsedOutput.body;
|
|
1545
|
-
throwDefaultError({
|
|
1512
|
+
return throwDefaultError({
|
|
1546
1513
|
output,
|
|
1547
1514
|
parsedBody,
|
|
1548
|
-
exceptionCtor: __BaseException,
|
|
1549
1515
|
errorCode,
|
|
1550
1516
|
});
|
|
1551
1517
|
}
|
|
@@ -1561,7 +1527,7 @@ export const de_UpdateVpcIngressConnectionCommand = async (output, context) => {
|
|
|
1561
1527
|
$metadata: deserializeMetadata(output),
|
|
1562
1528
|
...contents,
|
|
1563
1529
|
};
|
|
1564
|
-
return
|
|
1530
|
+
return response;
|
|
1565
1531
|
};
|
|
1566
1532
|
const de_UpdateVpcIngressConnectionCommandError = async (output, context) => {
|
|
1567
1533
|
const parsedOutput = {
|
|
@@ -1584,17 +1550,16 @@ const de_UpdateVpcIngressConnectionCommandError = async (output, context) => {
|
|
|
1584
1550
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1585
1551
|
default:
|
|
1586
1552
|
const parsedBody = parsedOutput.body;
|
|
1587
|
-
throwDefaultError({
|
|
1553
|
+
return throwDefaultError({
|
|
1588
1554
|
output,
|
|
1589
1555
|
parsedBody,
|
|
1590
|
-
exceptionCtor: __BaseException,
|
|
1591
1556
|
errorCode,
|
|
1592
1557
|
});
|
|
1593
1558
|
}
|
|
1594
1559
|
};
|
|
1595
1560
|
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
1596
1561
|
const body = parsedOutput.body;
|
|
1597
|
-
const deserialized =
|
|
1562
|
+
const deserialized = _json(body);
|
|
1598
1563
|
const exception = new InternalServiceErrorException({
|
|
1599
1564
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1600
1565
|
...deserialized,
|
|
@@ -1603,7 +1568,7 @@ const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
1603
1568
|
};
|
|
1604
1569
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1605
1570
|
const body = parsedOutput.body;
|
|
1606
|
-
const deserialized =
|
|
1571
|
+
const deserialized = _json(body);
|
|
1607
1572
|
const exception = new InvalidRequestException({
|
|
1608
1573
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1609
1574
|
...deserialized,
|
|
@@ -1612,7 +1577,7 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
1612
1577
|
};
|
|
1613
1578
|
const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
|
|
1614
1579
|
const body = parsedOutput.body;
|
|
1615
|
-
const deserialized =
|
|
1580
|
+
const deserialized = _json(body);
|
|
1616
1581
|
const exception = new InvalidStateException({
|
|
1617
1582
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1618
1583
|
...deserialized,
|
|
@@ -1621,7 +1586,7 @@ const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
|
|
|
1621
1586
|
};
|
|
1622
1587
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1623
1588
|
const body = parsedOutput.body;
|
|
1624
|
-
const deserialized =
|
|
1589
|
+
const deserialized = _json(body);
|
|
1625
1590
|
const exception = new ResourceNotFoundException({
|
|
1626
1591
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1627
1592
|
...deserialized,
|
|
@@ -1630,1161 +1595,288 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1630
1595
|
};
|
|
1631
1596
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1632
1597
|
const body = parsedOutput.body;
|
|
1633
|
-
const deserialized =
|
|
1598
|
+
const deserialized = _json(body);
|
|
1634
1599
|
const exception = new ServiceQuotaExceededException({
|
|
1635
1600
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1636
1601
|
...deserialized,
|
|
1637
1602
|
});
|
|
1638
1603
|
return __decorateServiceException(exception, body);
|
|
1639
1604
|
};
|
|
1640
|
-
const se_AssociateCustomDomainRequest = (input, context) => {
|
|
1641
|
-
return {
|
|
1642
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
1643
|
-
...(input.EnableWWWSubdomain != null && { EnableWWWSubdomain: input.EnableWWWSubdomain }),
|
|
1644
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1645
|
-
};
|
|
1646
|
-
};
|
|
1647
|
-
const se_AuthenticationConfiguration = (input, context) => {
|
|
1648
|
-
return {
|
|
1649
|
-
...(input.AccessRoleArn != null && { AccessRoleArn: input.AccessRoleArn }),
|
|
1650
|
-
...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
|
|
1651
|
-
};
|
|
1652
|
-
};
|
|
1653
|
-
const se_CodeConfiguration = (input, context) => {
|
|
1654
|
-
return {
|
|
1655
|
-
...(input.CodeConfigurationValues != null && {
|
|
1656
|
-
CodeConfigurationValues: se_CodeConfigurationValues(input.CodeConfigurationValues, context),
|
|
1657
|
-
}),
|
|
1658
|
-
...(input.ConfigurationSource != null && { ConfigurationSource: input.ConfigurationSource }),
|
|
1659
|
-
};
|
|
1660
|
-
};
|
|
1661
|
-
const se_CodeConfigurationValues = (input, context) => {
|
|
1662
|
-
return {
|
|
1663
|
-
...(input.BuildCommand != null && { BuildCommand: input.BuildCommand }),
|
|
1664
|
-
...(input.Port != null && { Port: input.Port }),
|
|
1665
|
-
...(input.Runtime != null && { Runtime: input.Runtime }),
|
|
1666
|
-
...(input.RuntimeEnvironmentSecrets != null && {
|
|
1667
|
-
RuntimeEnvironmentSecrets: se_RuntimeEnvironmentSecrets(input.RuntimeEnvironmentSecrets, context),
|
|
1668
|
-
}),
|
|
1669
|
-
...(input.RuntimeEnvironmentVariables != null && {
|
|
1670
|
-
RuntimeEnvironmentVariables: se_RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
|
|
1671
|
-
}),
|
|
1672
|
-
...(input.StartCommand != null && { StartCommand: input.StartCommand }),
|
|
1673
|
-
};
|
|
1674
|
-
};
|
|
1675
|
-
const se_CodeRepository = (input, context) => {
|
|
1676
|
-
return {
|
|
1677
|
-
...(input.CodeConfiguration != null && {
|
|
1678
|
-
CodeConfiguration: se_CodeConfiguration(input.CodeConfiguration, context),
|
|
1679
|
-
}),
|
|
1680
|
-
...(input.RepositoryUrl != null && { RepositoryUrl: input.RepositoryUrl }),
|
|
1681
|
-
...(input.SourceCodeVersion != null && {
|
|
1682
|
-
SourceCodeVersion: se_SourceCodeVersion(input.SourceCodeVersion, context),
|
|
1683
|
-
}),
|
|
1684
|
-
};
|
|
1685
|
-
};
|
|
1686
|
-
const se_CreateAutoScalingConfigurationRequest = (input, context) => {
|
|
1687
|
-
return {
|
|
1688
|
-
...(input.AutoScalingConfigurationName != null && {
|
|
1689
|
-
AutoScalingConfigurationName: input.AutoScalingConfigurationName,
|
|
1690
|
-
}),
|
|
1691
|
-
...(input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency }),
|
|
1692
|
-
...(input.MaxSize != null && { MaxSize: input.MaxSize }),
|
|
1693
|
-
...(input.MinSize != null && { MinSize: input.MinSize }),
|
|
1694
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1695
|
-
};
|
|
1696
|
-
};
|
|
1697
|
-
const se_CreateConnectionRequest = (input, context) => {
|
|
1698
|
-
return {
|
|
1699
|
-
...(input.ConnectionName != null && { ConnectionName: input.ConnectionName }),
|
|
1700
|
-
...(input.ProviderType != null && { ProviderType: input.ProviderType }),
|
|
1701
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1702
|
-
};
|
|
1703
|
-
};
|
|
1704
|
-
const se_CreateObservabilityConfigurationRequest = (input, context) => {
|
|
1705
|
-
return {
|
|
1706
|
-
...(input.ObservabilityConfigurationName != null && {
|
|
1707
|
-
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
1708
|
-
}),
|
|
1709
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1710
|
-
...(input.TraceConfiguration != null && {
|
|
1711
|
-
TraceConfiguration: se_TraceConfiguration(input.TraceConfiguration, context),
|
|
1712
|
-
}),
|
|
1713
|
-
};
|
|
1714
|
-
};
|
|
1715
|
-
const se_CreateServiceRequest = (input, context) => {
|
|
1716
|
-
return {
|
|
1717
|
-
...(input.AutoScalingConfigurationArn != null && {
|
|
1718
|
-
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
1719
|
-
}),
|
|
1720
|
-
...(input.EncryptionConfiguration != null && {
|
|
1721
|
-
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1722
|
-
}),
|
|
1723
|
-
...(input.HealthCheckConfiguration != null && {
|
|
1724
|
-
HealthCheckConfiguration: se_HealthCheckConfiguration(input.HealthCheckConfiguration, context),
|
|
1725
|
-
}),
|
|
1726
|
-
...(input.InstanceConfiguration != null && {
|
|
1727
|
-
InstanceConfiguration: se_InstanceConfiguration(input.InstanceConfiguration, context),
|
|
1728
|
-
}),
|
|
1729
|
-
...(input.NetworkConfiguration != null && {
|
|
1730
|
-
NetworkConfiguration: se_NetworkConfiguration(input.NetworkConfiguration, context),
|
|
1731
|
-
}),
|
|
1732
|
-
...(input.ObservabilityConfiguration != null && {
|
|
1733
|
-
ObservabilityConfiguration: se_ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
1734
|
-
}),
|
|
1735
|
-
...(input.ServiceName != null && { ServiceName: input.ServiceName }),
|
|
1736
|
-
...(input.SourceConfiguration != null && {
|
|
1737
|
-
SourceConfiguration: se_SourceConfiguration(input.SourceConfiguration, context),
|
|
1738
|
-
}),
|
|
1739
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1740
|
-
};
|
|
1741
|
-
};
|
|
1742
|
-
const se_CreateVpcConnectorRequest = (input, context) => {
|
|
1743
|
-
return {
|
|
1744
|
-
...(input.SecurityGroups != null && { SecurityGroups: se_StringList(input.SecurityGroups, context) }),
|
|
1745
|
-
...(input.Subnets != null && { Subnets: se_StringList(input.Subnets, context) }),
|
|
1746
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1747
|
-
...(input.VpcConnectorName != null && { VpcConnectorName: input.VpcConnectorName }),
|
|
1748
|
-
};
|
|
1749
|
-
};
|
|
1750
|
-
const se_CreateVpcIngressConnectionRequest = (input, context) => {
|
|
1751
|
-
return {
|
|
1752
|
-
...(input.IngressVpcConfiguration != null && {
|
|
1753
|
-
IngressVpcConfiguration: se_IngressVpcConfiguration(input.IngressVpcConfiguration, context),
|
|
1754
|
-
}),
|
|
1755
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1756
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1757
|
-
...(input.VpcIngressConnectionName != null && { VpcIngressConnectionName: input.VpcIngressConnectionName }),
|
|
1758
|
-
};
|
|
1759
|
-
};
|
|
1760
|
-
const se_DeleteAutoScalingConfigurationRequest = (input, context) => {
|
|
1761
|
-
return {
|
|
1762
|
-
...(input.AutoScalingConfigurationArn != null && {
|
|
1763
|
-
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
1764
|
-
}),
|
|
1765
|
-
};
|
|
1766
|
-
};
|
|
1767
|
-
const se_DeleteConnectionRequest = (input, context) => {
|
|
1768
|
-
return {
|
|
1769
|
-
...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
|
|
1770
|
-
};
|
|
1771
|
-
};
|
|
1772
|
-
const se_DeleteObservabilityConfigurationRequest = (input, context) => {
|
|
1773
|
-
return {
|
|
1774
|
-
...(input.ObservabilityConfigurationArn != null && {
|
|
1775
|
-
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
1776
|
-
}),
|
|
1777
|
-
};
|
|
1778
|
-
};
|
|
1779
|
-
const se_DeleteServiceRequest = (input, context) => {
|
|
1780
|
-
return {
|
|
1781
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1782
|
-
};
|
|
1783
|
-
};
|
|
1784
|
-
const se_DeleteVpcConnectorRequest = (input, context) => {
|
|
1785
|
-
return {
|
|
1786
|
-
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1787
|
-
};
|
|
1788
|
-
};
|
|
1789
|
-
const se_DeleteVpcIngressConnectionRequest = (input, context) => {
|
|
1790
|
-
return {
|
|
1791
|
-
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
1792
|
-
};
|
|
1793
|
-
};
|
|
1794
|
-
const se_DescribeAutoScalingConfigurationRequest = (input, context) => {
|
|
1795
|
-
return {
|
|
1796
|
-
...(input.AutoScalingConfigurationArn != null && {
|
|
1797
|
-
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
1798
|
-
}),
|
|
1799
|
-
};
|
|
1800
|
-
};
|
|
1801
|
-
const se_DescribeCustomDomainsRequest = (input, context) => {
|
|
1802
|
-
return {
|
|
1803
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1804
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1805
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1806
|
-
};
|
|
1807
|
-
};
|
|
1808
|
-
const se_DescribeObservabilityConfigurationRequest = (input, context) => {
|
|
1809
|
-
return {
|
|
1810
|
-
...(input.ObservabilityConfigurationArn != null && {
|
|
1811
|
-
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
1812
|
-
}),
|
|
1813
|
-
};
|
|
1814
|
-
};
|
|
1815
|
-
const se_DescribeServiceRequest = (input, context) => {
|
|
1816
|
-
return {
|
|
1817
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1818
|
-
};
|
|
1819
|
-
};
|
|
1820
|
-
const se_DescribeVpcConnectorRequest = (input, context) => {
|
|
1821
|
-
return {
|
|
1822
|
-
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1823
|
-
};
|
|
1824
|
-
};
|
|
1825
|
-
const se_DescribeVpcIngressConnectionRequest = (input, context) => {
|
|
1826
|
-
return {
|
|
1827
|
-
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
1828
|
-
};
|
|
1829
|
-
};
|
|
1830
|
-
const se_DisassociateCustomDomainRequest = (input, context) => {
|
|
1831
|
-
return {
|
|
1832
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
1833
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1834
|
-
};
|
|
1835
|
-
};
|
|
1836
|
-
const se_EgressConfiguration = (input, context) => {
|
|
1837
|
-
return {
|
|
1838
|
-
...(input.EgressType != null && { EgressType: input.EgressType }),
|
|
1839
|
-
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1840
|
-
};
|
|
1841
|
-
};
|
|
1842
|
-
const se_EncryptionConfiguration = (input, context) => {
|
|
1843
|
-
return {
|
|
1844
|
-
...(input.KmsKey != null && { KmsKey: input.KmsKey }),
|
|
1845
|
-
};
|
|
1846
|
-
};
|
|
1847
|
-
const se_HealthCheckConfiguration = (input, context) => {
|
|
1848
|
-
return {
|
|
1849
|
-
...(input.HealthyThreshold != null && { HealthyThreshold: input.HealthyThreshold }),
|
|
1850
|
-
...(input.Interval != null && { Interval: input.Interval }),
|
|
1851
|
-
...(input.Path != null && { Path: input.Path }),
|
|
1852
|
-
...(input.Protocol != null && { Protocol: input.Protocol }),
|
|
1853
|
-
...(input.Timeout != null && { Timeout: input.Timeout }),
|
|
1854
|
-
...(input.UnhealthyThreshold != null && { UnhealthyThreshold: input.UnhealthyThreshold }),
|
|
1855
|
-
};
|
|
1856
|
-
};
|
|
1857
|
-
const se_ImageConfiguration = (input, context) => {
|
|
1858
|
-
return {
|
|
1859
|
-
...(input.Port != null && { Port: input.Port }),
|
|
1860
|
-
...(input.RuntimeEnvironmentSecrets != null && {
|
|
1861
|
-
RuntimeEnvironmentSecrets: se_RuntimeEnvironmentSecrets(input.RuntimeEnvironmentSecrets, context),
|
|
1862
|
-
}),
|
|
1863
|
-
...(input.RuntimeEnvironmentVariables != null && {
|
|
1864
|
-
RuntimeEnvironmentVariables: se_RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
|
|
1865
|
-
}),
|
|
1866
|
-
...(input.StartCommand != null && { StartCommand: input.StartCommand }),
|
|
1867
|
-
};
|
|
1868
|
-
};
|
|
1869
|
-
const se_ImageRepository = (input, context) => {
|
|
1870
|
-
return {
|
|
1871
|
-
...(input.ImageConfiguration != null && {
|
|
1872
|
-
ImageConfiguration: se_ImageConfiguration(input.ImageConfiguration, context),
|
|
1873
|
-
}),
|
|
1874
|
-
...(input.ImageIdentifier != null && { ImageIdentifier: input.ImageIdentifier }),
|
|
1875
|
-
...(input.ImageRepositoryType != null && { ImageRepositoryType: input.ImageRepositoryType }),
|
|
1876
|
-
};
|
|
1877
|
-
};
|
|
1878
|
-
const se_IngressConfiguration = (input, context) => {
|
|
1879
|
-
return {
|
|
1880
|
-
...(input.IsPubliclyAccessible != null && { IsPubliclyAccessible: input.IsPubliclyAccessible }),
|
|
1881
|
-
};
|
|
1882
|
-
};
|
|
1883
|
-
const se_IngressVpcConfiguration = (input, context) => {
|
|
1884
|
-
return {
|
|
1885
|
-
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
1886
|
-
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
1887
|
-
};
|
|
1888
|
-
};
|
|
1889
|
-
const se_InstanceConfiguration = (input, context) => {
|
|
1890
|
-
return {
|
|
1891
|
-
...(input.Cpu != null && { Cpu: input.Cpu }),
|
|
1892
|
-
...(input.InstanceRoleArn != null && { InstanceRoleArn: input.InstanceRoleArn }),
|
|
1893
|
-
...(input.Memory != null && { Memory: input.Memory }),
|
|
1894
|
-
};
|
|
1895
|
-
};
|
|
1896
|
-
const se_ListAutoScalingConfigurationsRequest = (input, context) => {
|
|
1897
|
-
return {
|
|
1898
|
-
...(input.AutoScalingConfigurationName != null && {
|
|
1899
|
-
AutoScalingConfigurationName: input.AutoScalingConfigurationName,
|
|
1900
|
-
}),
|
|
1901
|
-
...(input.LatestOnly != null && { LatestOnly: input.LatestOnly }),
|
|
1902
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1903
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1904
|
-
};
|
|
1905
|
-
};
|
|
1906
|
-
const se_ListConnectionsRequest = (input, context) => {
|
|
1907
|
-
return {
|
|
1908
|
-
...(input.ConnectionName != null && { ConnectionName: input.ConnectionName }),
|
|
1909
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1910
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1911
|
-
};
|
|
1912
|
-
};
|
|
1913
|
-
const se_ListObservabilityConfigurationsRequest = (input, context) => {
|
|
1914
|
-
return {
|
|
1915
|
-
...(input.LatestOnly != null && { LatestOnly: input.LatestOnly }),
|
|
1916
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1917
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1918
|
-
...(input.ObservabilityConfigurationName != null && {
|
|
1919
|
-
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
1920
|
-
}),
|
|
1921
|
-
};
|
|
1922
|
-
};
|
|
1923
|
-
const se_ListOperationsRequest = (input, context) => {
|
|
1924
|
-
return {
|
|
1925
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1926
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1927
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1928
|
-
};
|
|
1929
|
-
};
|
|
1930
|
-
const se_ListServicesRequest = (input, context) => {
|
|
1931
|
-
return {
|
|
1932
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1933
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1934
|
-
};
|
|
1935
|
-
};
|
|
1936
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
1937
|
-
return {
|
|
1938
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
1939
|
-
};
|
|
1940
|
-
};
|
|
1941
|
-
const se_ListVpcConnectorsRequest = (input, context) => {
|
|
1942
|
-
return {
|
|
1943
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1944
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1945
|
-
};
|
|
1946
|
-
};
|
|
1947
|
-
const se_ListVpcIngressConnectionsFilter = (input, context) => {
|
|
1948
|
-
return {
|
|
1949
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1950
|
-
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
1951
|
-
};
|
|
1952
|
-
};
|
|
1953
|
-
const se_ListVpcIngressConnectionsRequest = (input, context) => {
|
|
1954
|
-
return {
|
|
1955
|
-
...(input.Filter != null && { Filter: se_ListVpcIngressConnectionsFilter(input.Filter, context) }),
|
|
1956
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1957
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1958
|
-
};
|
|
1959
|
-
};
|
|
1960
|
-
const se_NetworkConfiguration = (input, context) => {
|
|
1961
|
-
return {
|
|
1962
|
-
...(input.EgressConfiguration != null && {
|
|
1963
|
-
EgressConfiguration: se_EgressConfiguration(input.EgressConfiguration, context),
|
|
1964
|
-
}),
|
|
1965
|
-
...(input.IngressConfiguration != null && {
|
|
1966
|
-
IngressConfiguration: se_IngressConfiguration(input.IngressConfiguration, context),
|
|
1967
|
-
}),
|
|
1968
|
-
};
|
|
1969
|
-
};
|
|
1970
|
-
const se_PauseServiceRequest = (input, context) => {
|
|
1971
|
-
return {
|
|
1972
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1973
|
-
};
|
|
1974
|
-
};
|
|
1975
|
-
const se_ResumeServiceRequest = (input, context) => {
|
|
1976
|
-
return {
|
|
1977
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1978
|
-
};
|
|
1979
|
-
};
|
|
1980
|
-
const se_RuntimeEnvironmentSecrets = (input, context) => {
|
|
1981
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1982
|
-
if (value === null) {
|
|
1983
|
-
return acc;
|
|
1984
|
-
}
|
|
1985
|
-
acc[key] = value;
|
|
1986
|
-
return acc;
|
|
1987
|
-
}, {});
|
|
1988
|
-
};
|
|
1989
|
-
const se_RuntimeEnvironmentVariables = (input, context) => {
|
|
1990
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1991
|
-
if (value === null) {
|
|
1992
|
-
return acc;
|
|
1993
|
-
}
|
|
1994
|
-
acc[key] = value;
|
|
1995
|
-
return acc;
|
|
1996
|
-
}, {});
|
|
1997
|
-
};
|
|
1998
|
-
const se_ServiceObservabilityConfiguration = (input, context) => {
|
|
1999
|
-
return {
|
|
2000
|
-
...(input.ObservabilityConfigurationArn != null && {
|
|
2001
|
-
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
2002
|
-
}),
|
|
2003
|
-
...(input.ObservabilityEnabled != null && { ObservabilityEnabled: input.ObservabilityEnabled }),
|
|
2004
|
-
};
|
|
2005
|
-
};
|
|
2006
|
-
const se_SourceCodeVersion = (input, context) => {
|
|
2007
|
-
return {
|
|
2008
|
-
...(input.Type != null && { Type: input.Type }),
|
|
2009
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2010
|
-
};
|
|
2011
|
-
};
|
|
2012
|
-
const se_SourceConfiguration = (input, context) => {
|
|
2013
|
-
return {
|
|
2014
|
-
...(input.AuthenticationConfiguration != null && {
|
|
2015
|
-
AuthenticationConfiguration: se_AuthenticationConfiguration(input.AuthenticationConfiguration, context),
|
|
2016
|
-
}),
|
|
2017
|
-
...(input.AutoDeploymentsEnabled != null && { AutoDeploymentsEnabled: input.AutoDeploymentsEnabled }),
|
|
2018
|
-
...(input.CodeRepository != null && { CodeRepository: se_CodeRepository(input.CodeRepository, context) }),
|
|
2019
|
-
...(input.ImageRepository != null && { ImageRepository: se_ImageRepository(input.ImageRepository, context) }),
|
|
2020
|
-
};
|
|
2021
|
-
};
|
|
2022
|
-
const se_StartDeploymentRequest = (input, context) => {
|
|
2023
|
-
return {
|
|
2024
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2025
|
-
};
|
|
2026
|
-
};
|
|
2027
|
-
const se_StringList = (input, context) => {
|
|
2028
|
-
return input
|
|
2029
|
-
.filter((e) => e != null)
|
|
2030
|
-
.map((entry) => {
|
|
2031
|
-
return entry;
|
|
2032
|
-
});
|
|
2033
|
-
};
|
|
2034
|
-
const se_Tag = (input, context) => {
|
|
2035
|
-
return {
|
|
2036
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2037
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2038
|
-
};
|
|
2039
|
-
};
|
|
2040
|
-
const se_TagKeyList = (input, context) => {
|
|
2041
|
-
return input
|
|
2042
|
-
.filter((e) => e != null)
|
|
2043
|
-
.map((entry) => {
|
|
2044
|
-
return entry;
|
|
2045
|
-
});
|
|
2046
|
-
};
|
|
2047
|
-
const se_TagList = (input, context) => {
|
|
2048
|
-
return input
|
|
2049
|
-
.filter((e) => e != null)
|
|
2050
|
-
.map((entry) => {
|
|
2051
|
-
return se_Tag(entry, context);
|
|
2052
|
-
});
|
|
2053
|
-
};
|
|
2054
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2055
|
-
return {
|
|
2056
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2057
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2058
|
-
};
|
|
2059
|
-
};
|
|
2060
|
-
const se_TraceConfiguration = (input, context) => {
|
|
2061
|
-
return {
|
|
2062
|
-
...(input.Vendor != null && { Vendor: input.Vendor }),
|
|
2063
|
-
};
|
|
2064
|
-
};
|
|
2065
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2066
|
-
return {
|
|
2067
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2068
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2069
|
-
};
|
|
2070
|
-
};
|
|
2071
|
-
const se_UpdateServiceRequest = (input, context) => {
|
|
2072
|
-
return {
|
|
2073
|
-
...(input.AutoScalingConfigurationArn != null && {
|
|
2074
|
-
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2075
|
-
}),
|
|
2076
|
-
...(input.HealthCheckConfiguration != null && {
|
|
2077
|
-
HealthCheckConfiguration: se_HealthCheckConfiguration(input.HealthCheckConfiguration, context),
|
|
2078
|
-
}),
|
|
2079
|
-
...(input.InstanceConfiguration != null && {
|
|
2080
|
-
InstanceConfiguration: se_InstanceConfiguration(input.InstanceConfiguration, context),
|
|
2081
|
-
}),
|
|
2082
|
-
...(input.NetworkConfiguration != null && {
|
|
2083
|
-
NetworkConfiguration: se_NetworkConfiguration(input.NetworkConfiguration, context),
|
|
2084
|
-
}),
|
|
2085
|
-
...(input.ObservabilityConfiguration != null && {
|
|
2086
|
-
ObservabilityConfiguration: se_ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
2087
|
-
}),
|
|
2088
|
-
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2089
|
-
...(input.SourceConfiguration != null && {
|
|
2090
|
-
SourceConfiguration: se_SourceConfiguration(input.SourceConfiguration, context),
|
|
2091
|
-
}),
|
|
2092
|
-
};
|
|
2093
|
-
};
|
|
2094
|
-
const se_UpdateVpcIngressConnectionRequest = (input, context) => {
|
|
2095
|
-
return {
|
|
2096
|
-
...(input.IngressVpcConfiguration != null && {
|
|
2097
|
-
IngressVpcConfiguration: se_IngressVpcConfiguration(input.IngressVpcConfiguration, context),
|
|
2098
|
-
}),
|
|
2099
|
-
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
2100
|
-
};
|
|
2101
|
-
};
|
|
2102
|
-
const de_AssociateCustomDomainResponse = (output, context) => {
|
|
2103
|
-
return {
|
|
2104
|
-
CustomDomain: output.CustomDomain != null ? de_CustomDomain(output.CustomDomain, context) : undefined,
|
|
2105
|
-
DNSTarget: __expectString(output.DNSTarget),
|
|
2106
|
-
ServiceArn: __expectString(output.ServiceArn),
|
|
2107
|
-
VpcDNSTargets: output.VpcDNSTargets != null ? de_VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
2108
|
-
};
|
|
2109
|
-
};
|
|
2110
|
-
const de_AuthenticationConfiguration = (output, context) => {
|
|
2111
|
-
return {
|
|
2112
|
-
AccessRoleArn: __expectString(output.AccessRoleArn),
|
|
2113
|
-
ConnectionArn: __expectString(output.ConnectionArn),
|
|
2114
|
-
};
|
|
2115
|
-
};
|
|
2116
1605
|
const de_AutoScalingConfiguration = (output, context) => {
|
|
2117
|
-
return {
|
|
2118
|
-
AutoScalingConfigurationArn: __expectString
|
|
2119
|
-
AutoScalingConfigurationName: __expectString
|
|
2120
|
-
AutoScalingConfigurationRevision: __expectInt32
|
|
2121
|
-
CreatedAt:
|
|
2122
|
-
DeletedAt:
|
|
2123
|
-
Latest: __expectBoolean
|
|
2124
|
-
MaxConcurrency: __expectInt32
|
|
2125
|
-
MaxSize: __expectInt32
|
|
2126
|
-
MinSize: __expectInt32
|
|
2127
|
-
Status: __expectString
|
|
2128
|
-
};
|
|
2129
|
-
};
|
|
2130
|
-
const de_AutoScalingConfigurationSummary = (output, context) => {
|
|
2131
|
-
return {
|
|
2132
|
-
AutoScalingConfigurationArn: __expectString(output.AutoScalingConfigurationArn),
|
|
2133
|
-
AutoScalingConfigurationName: __expectString(output.AutoScalingConfigurationName),
|
|
2134
|
-
AutoScalingConfigurationRevision: __expectInt32(output.AutoScalingConfigurationRevision),
|
|
2135
|
-
};
|
|
2136
|
-
};
|
|
2137
|
-
const de_AutoScalingConfigurationSummaryList = (output, context) => {
|
|
2138
|
-
const retVal = (output || [])
|
|
2139
|
-
.filter((e) => e != null)
|
|
2140
|
-
.map((entry) => {
|
|
2141
|
-
if (entry === null) {
|
|
2142
|
-
return null;
|
|
2143
|
-
}
|
|
2144
|
-
return de_AutoScalingConfigurationSummary(entry, context);
|
|
2145
|
-
});
|
|
2146
|
-
return retVal;
|
|
2147
|
-
};
|
|
2148
|
-
const de_CertificateValidationRecord = (output, context) => {
|
|
2149
|
-
return {
|
|
2150
|
-
Name: __expectString(output.Name),
|
|
2151
|
-
Status: __expectString(output.Status),
|
|
2152
|
-
Type: __expectString(output.Type),
|
|
2153
|
-
Value: __expectString(output.Value),
|
|
2154
|
-
};
|
|
2155
|
-
};
|
|
2156
|
-
const de_CertificateValidationRecordList = (output, context) => {
|
|
2157
|
-
const retVal = (output || [])
|
|
2158
|
-
.filter((e) => e != null)
|
|
2159
|
-
.map((entry) => {
|
|
2160
|
-
if (entry === null) {
|
|
2161
|
-
return null;
|
|
2162
|
-
}
|
|
2163
|
-
return de_CertificateValidationRecord(entry, context);
|
|
1606
|
+
return take(output, {
|
|
1607
|
+
AutoScalingConfigurationArn: __expectString,
|
|
1608
|
+
AutoScalingConfigurationName: __expectString,
|
|
1609
|
+
AutoScalingConfigurationRevision: __expectInt32,
|
|
1610
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1611
|
+
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1612
|
+
Latest: __expectBoolean,
|
|
1613
|
+
MaxConcurrency: __expectInt32,
|
|
1614
|
+
MaxSize: __expectInt32,
|
|
1615
|
+
MinSize: __expectInt32,
|
|
1616
|
+
Status: __expectString,
|
|
2164
1617
|
});
|
|
2165
|
-
return retVal;
|
|
2166
|
-
};
|
|
2167
|
-
const de_CodeConfiguration = (output, context) => {
|
|
2168
|
-
return {
|
|
2169
|
-
CodeConfigurationValues: output.CodeConfigurationValues != null
|
|
2170
|
-
? de_CodeConfigurationValues(output.CodeConfigurationValues, context)
|
|
2171
|
-
: undefined,
|
|
2172
|
-
ConfigurationSource: __expectString(output.ConfigurationSource),
|
|
2173
|
-
};
|
|
2174
|
-
};
|
|
2175
|
-
const de_CodeConfigurationValues = (output, context) => {
|
|
2176
|
-
return {
|
|
2177
|
-
BuildCommand: __expectString(output.BuildCommand),
|
|
2178
|
-
Port: __expectString(output.Port),
|
|
2179
|
-
Runtime: __expectString(output.Runtime),
|
|
2180
|
-
RuntimeEnvironmentSecrets: output.RuntimeEnvironmentSecrets != null
|
|
2181
|
-
? de_RuntimeEnvironmentSecrets(output.RuntimeEnvironmentSecrets, context)
|
|
2182
|
-
: undefined,
|
|
2183
|
-
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
|
|
2184
|
-
? de_RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
|
|
2185
|
-
: undefined,
|
|
2186
|
-
StartCommand: __expectString(output.StartCommand),
|
|
2187
|
-
};
|
|
2188
|
-
};
|
|
2189
|
-
const de_CodeRepository = (output, context) => {
|
|
2190
|
-
return {
|
|
2191
|
-
CodeConfiguration: output.CodeConfiguration != null ? de_CodeConfiguration(output.CodeConfiguration, context) : undefined,
|
|
2192
|
-
RepositoryUrl: __expectString(output.RepositoryUrl),
|
|
2193
|
-
SourceCodeVersion: output.SourceCodeVersion != null ? de_SourceCodeVersion(output.SourceCodeVersion, context) : undefined,
|
|
2194
|
-
};
|
|
2195
1618
|
};
|
|
2196
1619
|
const de_Connection = (output, context) => {
|
|
2197
|
-
return {
|
|
2198
|
-
ConnectionArn: __expectString
|
|
2199
|
-
ConnectionName: __expectString
|
|
2200
|
-
CreatedAt:
|
|
2201
|
-
ProviderType: __expectString
|
|
2202
|
-
Status: __expectString
|
|
2203
|
-
};
|
|
1620
|
+
return take(output, {
|
|
1621
|
+
ConnectionArn: __expectString,
|
|
1622
|
+
ConnectionName: __expectString,
|
|
1623
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1624
|
+
ProviderType: __expectString,
|
|
1625
|
+
Status: __expectString,
|
|
1626
|
+
});
|
|
2204
1627
|
};
|
|
2205
1628
|
const de_ConnectionSummary = (output, context) => {
|
|
2206
|
-
return {
|
|
2207
|
-
ConnectionArn: __expectString
|
|
2208
|
-
ConnectionName: __expectString
|
|
2209
|
-
CreatedAt:
|
|
2210
|
-
ProviderType: __expectString
|
|
2211
|
-
Status: __expectString
|
|
2212
|
-
};
|
|
1629
|
+
return take(output, {
|
|
1630
|
+
ConnectionArn: __expectString,
|
|
1631
|
+
ConnectionName: __expectString,
|
|
1632
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1633
|
+
ProviderType: __expectString,
|
|
1634
|
+
Status: __expectString,
|
|
1635
|
+
});
|
|
2213
1636
|
};
|
|
2214
1637
|
const de_ConnectionSummaryList = (output, context) => {
|
|
2215
1638
|
const retVal = (output || [])
|
|
2216
1639
|
.filter((e) => e != null)
|
|
2217
1640
|
.map((entry) => {
|
|
2218
|
-
if (entry === null) {
|
|
2219
|
-
return null;
|
|
2220
|
-
}
|
|
2221
1641
|
return de_ConnectionSummary(entry, context);
|
|
2222
1642
|
});
|
|
2223
1643
|
return retVal;
|
|
2224
1644
|
};
|
|
2225
1645
|
const de_CreateAutoScalingConfigurationResponse = (output, context) => {
|
|
2226
|
-
return {
|
|
2227
|
-
AutoScalingConfiguration:
|
|
2228
|
-
|
|
2229
|
-
: undefined,
|
|
2230
|
-
};
|
|
1646
|
+
return take(output, {
|
|
1647
|
+
AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_, context),
|
|
1648
|
+
});
|
|
2231
1649
|
};
|
|
2232
1650
|
const de_CreateConnectionResponse = (output, context) => {
|
|
2233
|
-
return {
|
|
2234
|
-
Connection:
|
|
2235
|
-
};
|
|
1651
|
+
return take(output, {
|
|
1652
|
+
Connection: (_) => de_Connection(_, context),
|
|
1653
|
+
});
|
|
2236
1654
|
};
|
|
2237
1655
|
const de_CreateObservabilityConfigurationResponse = (output, context) => {
|
|
2238
|
-
return {
|
|
2239
|
-
ObservabilityConfiguration:
|
|
2240
|
-
|
|
2241
|
-
: undefined,
|
|
2242
|
-
};
|
|
1656
|
+
return take(output, {
|
|
1657
|
+
ObservabilityConfiguration: (_) => de_ObservabilityConfiguration(_, context),
|
|
1658
|
+
});
|
|
2243
1659
|
};
|
|
2244
1660
|
const de_CreateServiceResponse = (output, context) => {
|
|
2245
|
-
return {
|
|
2246
|
-
OperationId: __expectString
|
|
2247
|
-
Service:
|
|
2248
|
-
};
|
|
1661
|
+
return take(output, {
|
|
1662
|
+
OperationId: __expectString,
|
|
1663
|
+
Service: (_) => de_Service(_, context),
|
|
1664
|
+
});
|
|
2249
1665
|
};
|
|
2250
1666
|
const de_CreateVpcConnectorResponse = (output, context) => {
|
|
2251
|
-
return {
|
|
2252
|
-
VpcConnector:
|
|
2253
|
-
};
|
|
1667
|
+
return take(output, {
|
|
1668
|
+
VpcConnector: (_) => de_VpcConnector(_, context),
|
|
1669
|
+
});
|
|
2254
1670
|
};
|
|
2255
1671
|
const de_CreateVpcIngressConnectionResponse = (output, context) => {
|
|
2256
|
-
return {
|
|
2257
|
-
VpcIngressConnection:
|
|
2258
|
-
};
|
|
2259
|
-
};
|
|
2260
|
-
const de_CustomDomain = (output, context) => {
|
|
2261
|
-
return {
|
|
2262
|
-
CertificateValidationRecords: output.CertificateValidationRecords != null
|
|
2263
|
-
? de_CertificateValidationRecordList(output.CertificateValidationRecords, context)
|
|
2264
|
-
: undefined,
|
|
2265
|
-
DomainName: __expectString(output.DomainName),
|
|
2266
|
-
EnableWWWSubdomain: __expectBoolean(output.EnableWWWSubdomain),
|
|
2267
|
-
Status: __expectString(output.Status),
|
|
2268
|
-
};
|
|
2269
|
-
};
|
|
2270
|
-
const de_CustomDomainList = (output, context) => {
|
|
2271
|
-
const retVal = (output || [])
|
|
2272
|
-
.filter((e) => e != null)
|
|
2273
|
-
.map((entry) => {
|
|
2274
|
-
if (entry === null) {
|
|
2275
|
-
return null;
|
|
2276
|
-
}
|
|
2277
|
-
return de_CustomDomain(entry, context);
|
|
1672
|
+
return take(output, {
|
|
1673
|
+
VpcIngressConnection: (_) => de_VpcIngressConnection(_, context),
|
|
2278
1674
|
});
|
|
2279
|
-
return retVal;
|
|
2280
1675
|
};
|
|
2281
1676
|
const de_DeleteAutoScalingConfigurationResponse = (output, context) => {
|
|
2282
|
-
return {
|
|
2283
|
-
AutoScalingConfiguration:
|
|
2284
|
-
|
|
2285
|
-
: undefined,
|
|
2286
|
-
};
|
|
1677
|
+
return take(output, {
|
|
1678
|
+
AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_, context),
|
|
1679
|
+
});
|
|
2287
1680
|
};
|
|
2288
1681
|
const de_DeleteConnectionResponse = (output, context) => {
|
|
2289
|
-
return {
|
|
2290
|
-
Connection:
|
|
2291
|
-
};
|
|
1682
|
+
return take(output, {
|
|
1683
|
+
Connection: (_) => de_Connection(_, context),
|
|
1684
|
+
});
|
|
2292
1685
|
};
|
|
2293
1686
|
const de_DeleteObservabilityConfigurationResponse = (output, context) => {
|
|
2294
|
-
return {
|
|
2295
|
-
ObservabilityConfiguration:
|
|
2296
|
-
|
|
2297
|
-
: undefined,
|
|
2298
|
-
};
|
|
1687
|
+
return take(output, {
|
|
1688
|
+
ObservabilityConfiguration: (_) => de_ObservabilityConfiguration(_, context),
|
|
1689
|
+
});
|
|
2299
1690
|
};
|
|
2300
1691
|
const de_DeleteServiceResponse = (output, context) => {
|
|
2301
|
-
return {
|
|
2302
|
-
OperationId: __expectString
|
|
2303
|
-
Service:
|
|
2304
|
-
};
|
|
1692
|
+
return take(output, {
|
|
1693
|
+
OperationId: __expectString,
|
|
1694
|
+
Service: (_) => de_Service(_, context),
|
|
1695
|
+
});
|
|
2305
1696
|
};
|
|
2306
1697
|
const de_DeleteVpcConnectorResponse = (output, context) => {
|
|
2307
|
-
return {
|
|
2308
|
-
VpcConnector:
|
|
2309
|
-
};
|
|
1698
|
+
return take(output, {
|
|
1699
|
+
VpcConnector: (_) => de_VpcConnector(_, context),
|
|
1700
|
+
});
|
|
2310
1701
|
};
|
|
2311
1702
|
const de_DeleteVpcIngressConnectionResponse = (output, context) => {
|
|
2312
|
-
return {
|
|
2313
|
-
VpcIngressConnection:
|
|
2314
|
-
};
|
|
1703
|
+
return take(output, {
|
|
1704
|
+
VpcIngressConnection: (_) => de_VpcIngressConnection(_, context),
|
|
1705
|
+
});
|
|
2315
1706
|
};
|
|
2316
1707
|
const de_DescribeAutoScalingConfigurationResponse = (output, context) => {
|
|
2317
|
-
return {
|
|
2318
|
-
AutoScalingConfiguration:
|
|
2319
|
-
|
|
2320
|
-
: undefined,
|
|
2321
|
-
};
|
|
2322
|
-
};
|
|
2323
|
-
const de_DescribeCustomDomainsResponse = (output, context) => {
|
|
2324
|
-
return {
|
|
2325
|
-
CustomDomains: output.CustomDomains != null ? de_CustomDomainList(output.CustomDomains, context) : undefined,
|
|
2326
|
-
DNSTarget: __expectString(output.DNSTarget),
|
|
2327
|
-
NextToken: __expectString(output.NextToken),
|
|
2328
|
-
ServiceArn: __expectString(output.ServiceArn),
|
|
2329
|
-
VpcDNSTargets: output.VpcDNSTargets != null ? de_VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
2330
|
-
};
|
|
1708
|
+
return take(output, {
|
|
1709
|
+
AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_, context),
|
|
1710
|
+
});
|
|
2331
1711
|
};
|
|
2332
1712
|
const de_DescribeObservabilityConfigurationResponse = (output, context) => {
|
|
2333
|
-
return {
|
|
2334
|
-
ObservabilityConfiguration:
|
|
2335
|
-
|
|
2336
|
-
: undefined,
|
|
2337
|
-
};
|
|
1713
|
+
return take(output, {
|
|
1714
|
+
ObservabilityConfiguration: (_) => de_ObservabilityConfiguration(_, context),
|
|
1715
|
+
});
|
|
2338
1716
|
};
|
|
2339
1717
|
const de_DescribeServiceResponse = (output, context) => {
|
|
2340
|
-
return {
|
|
2341
|
-
Service:
|
|
2342
|
-
};
|
|
1718
|
+
return take(output, {
|
|
1719
|
+
Service: (_) => de_Service(_, context),
|
|
1720
|
+
});
|
|
2343
1721
|
};
|
|
2344
1722
|
const de_DescribeVpcConnectorResponse = (output, context) => {
|
|
2345
|
-
return {
|
|
2346
|
-
VpcConnector:
|
|
2347
|
-
};
|
|
1723
|
+
return take(output, {
|
|
1724
|
+
VpcConnector: (_) => de_VpcConnector(_, context),
|
|
1725
|
+
});
|
|
2348
1726
|
};
|
|
2349
1727
|
const de_DescribeVpcIngressConnectionResponse = (output, context) => {
|
|
2350
|
-
return {
|
|
2351
|
-
VpcIngressConnection:
|
|
2352
|
-
};
|
|
2353
|
-
};
|
|
2354
|
-
const de_DisassociateCustomDomainResponse = (output, context) => {
|
|
2355
|
-
return {
|
|
2356
|
-
CustomDomain: output.CustomDomain != null ? de_CustomDomain(output.CustomDomain, context) : undefined,
|
|
2357
|
-
DNSTarget: __expectString(output.DNSTarget),
|
|
2358
|
-
ServiceArn: __expectString(output.ServiceArn),
|
|
2359
|
-
VpcDNSTargets: output.VpcDNSTargets != null ? de_VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
2360
|
-
};
|
|
2361
|
-
};
|
|
2362
|
-
const de_EgressConfiguration = (output, context) => {
|
|
2363
|
-
return {
|
|
2364
|
-
EgressType: __expectString(output.EgressType),
|
|
2365
|
-
VpcConnectorArn: __expectString(output.VpcConnectorArn),
|
|
2366
|
-
};
|
|
2367
|
-
};
|
|
2368
|
-
const de_EncryptionConfiguration = (output, context) => {
|
|
2369
|
-
return {
|
|
2370
|
-
KmsKey: __expectString(output.KmsKey),
|
|
2371
|
-
};
|
|
2372
|
-
};
|
|
2373
|
-
const de_HealthCheckConfiguration = (output, context) => {
|
|
2374
|
-
return {
|
|
2375
|
-
HealthyThreshold: __expectInt32(output.HealthyThreshold),
|
|
2376
|
-
Interval: __expectInt32(output.Interval),
|
|
2377
|
-
Path: __expectString(output.Path),
|
|
2378
|
-
Protocol: __expectString(output.Protocol),
|
|
2379
|
-
Timeout: __expectInt32(output.Timeout),
|
|
2380
|
-
UnhealthyThreshold: __expectInt32(output.UnhealthyThreshold),
|
|
2381
|
-
};
|
|
2382
|
-
};
|
|
2383
|
-
const de_ImageConfiguration = (output, context) => {
|
|
2384
|
-
return {
|
|
2385
|
-
Port: __expectString(output.Port),
|
|
2386
|
-
RuntimeEnvironmentSecrets: output.RuntimeEnvironmentSecrets != null
|
|
2387
|
-
? de_RuntimeEnvironmentSecrets(output.RuntimeEnvironmentSecrets, context)
|
|
2388
|
-
: undefined,
|
|
2389
|
-
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
|
|
2390
|
-
? de_RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
|
|
2391
|
-
: undefined,
|
|
2392
|
-
StartCommand: __expectString(output.StartCommand),
|
|
2393
|
-
};
|
|
2394
|
-
};
|
|
2395
|
-
const de_ImageRepository = (output, context) => {
|
|
2396
|
-
return {
|
|
2397
|
-
ImageConfiguration: output.ImageConfiguration != null ? de_ImageConfiguration(output.ImageConfiguration, context) : undefined,
|
|
2398
|
-
ImageIdentifier: __expectString(output.ImageIdentifier),
|
|
2399
|
-
ImageRepositoryType: __expectString(output.ImageRepositoryType),
|
|
2400
|
-
};
|
|
2401
|
-
};
|
|
2402
|
-
const de_IngressConfiguration = (output, context) => {
|
|
2403
|
-
return {
|
|
2404
|
-
IsPubliclyAccessible: __expectBoolean(output.IsPubliclyAccessible),
|
|
2405
|
-
};
|
|
2406
|
-
};
|
|
2407
|
-
const de_IngressVpcConfiguration = (output, context) => {
|
|
2408
|
-
return {
|
|
2409
|
-
VpcEndpointId: __expectString(output.VpcEndpointId),
|
|
2410
|
-
VpcId: __expectString(output.VpcId),
|
|
2411
|
-
};
|
|
2412
|
-
};
|
|
2413
|
-
const de_InstanceConfiguration = (output, context) => {
|
|
2414
|
-
return {
|
|
2415
|
-
Cpu: __expectString(output.Cpu),
|
|
2416
|
-
InstanceRoleArn: __expectString(output.InstanceRoleArn),
|
|
2417
|
-
Memory: __expectString(output.Memory),
|
|
2418
|
-
};
|
|
2419
|
-
};
|
|
2420
|
-
const de_InternalServiceErrorException = (output, context) => {
|
|
2421
|
-
return {
|
|
2422
|
-
Message: __expectString(output.Message),
|
|
2423
|
-
};
|
|
2424
|
-
};
|
|
2425
|
-
const de_InvalidRequestException = (output, context) => {
|
|
2426
|
-
return {
|
|
2427
|
-
Message: __expectString(output.Message),
|
|
2428
|
-
};
|
|
2429
|
-
};
|
|
2430
|
-
const de_InvalidStateException = (output, context) => {
|
|
2431
|
-
return {
|
|
2432
|
-
Message: __expectString(output.Message),
|
|
2433
|
-
};
|
|
2434
|
-
};
|
|
2435
|
-
const de_ListAutoScalingConfigurationsResponse = (output, context) => {
|
|
2436
|
-
return {
|
|
2437
|
-
AutoScalingConfigurationSummaryList: output.AutoScalingConfigurationSummaryList != null
|
|
2438
|
-
? de_AutoScalingConfigurationSummaryList(output.AutoScalingConfigurationSummaryList, context)
|
|
2439
|
-
: undefined,
|
|
2440
|
-
NextToken: __expectString(output.NextToken),
|
|
2441
|
-
};
|
|
1728
|
+
return take(output, {
|
|
1729
|
+
VpcIngressConnection: (_) => de_VpcIngressConnection(_, context),
|
|
1730
|
+
});
|
|
2442
1731
|
};
|
|
2443
1732
|
const de_ListConnectionsResponse = (output, context) => {
|
|
2444
|
-
return {
|
|
2445
|
-
ConnectionSummaryList:
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
NextToken: __expectString(output.NextToken),
|
|
2449
|
-
};
|
|
2450
|
-
};
|
|
2451
|
-
const de_ListObservabilityConfigurationsResponse = (output, context) => {
|
|
2452
|
-
return {
|
|
2453
|
-
NextToken: __expectString(output.NextToken),
|
|
2454
|
-
ObservabilityConfigurationSummaryList: output.ObservabilityConfigurationSummaryList != null
|
|
2455
|
-
? de_ObservabilityConfigurationSummaryList(output.ObservabilityConfigurationSummaryList, context)
|
|
2456
|
-
: undefined,
|
|
2457
|
-
};
|
|
1733
|
+
return take(output, {
|
|
1734
|
+
ConnectionSummaryList: (_) => de_ConnectionSummaryList(_, context),
|
|
1735
|
+
NextToken: __expectString,
|
|
1736
|
+
});
|
|
2458
1737
|
};
|
|
2459
1738
|
const de_ListOperationsResponse = (output, context) => {
|
|
2460
|
-
return {
|
|
2461
|
-
NextToken: __expectString
|
|
2462
|
-
OperationSummaryList:
|
|
2463
|
-
};
|
|
1739
|
+
return take(output, {
|
|
1740
|
+
NextToken: __expectString,
|
|
1741
|
+
OperationSummaryList: (_) => de_OperationSummaryList(_, context),
|
|
1742
|
+
});
|
|
2464
1743
|
};
|
|
2465
1744
|
const de_ListServicesResponse = (output, context) => {
|
|
2466
|
-
return {
|
|
2467
|
-
NextToken: __expectString
|
|
2468
|
-
ServiceSummaryList:
|
|
2469
|
-
};
|
|
2470
|
-
};
|
|
2471
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2472
|
-
return {
|
|
2473
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2474
|
-
};
|
|
1745
|
+
return take(output, {
|
|
1746
|
+
NextToken: __expectString,
|
|
1747
|
+
ServiceSummaryList: (_) => de_ServiceSummaryList(_, context),
|
|
1748
|
+
});
|
|
2475
1749
|
};
|
|
2476
1750
|
const de_ListVpcConnectorsResponse = (output, context) => {
|
|
2477
|
-
return {
|
|
2478
|
-
NextToken: __expectString
|
|
2479
|
-
VpcConnectors:
|
|
2480
|
-
};
|
|
2481
|
-
};
|
|
2482
|
-
const de_ListVpcIngressConnectionsResponse = (output, context) => {
|
|
2483
|
-
return {
|
|
2484
|
-
NextToken: __expectString(output.NextToken),
|
|
2485
|
-
VpcIngressConnectionSummaryList: output.VpcIngressConnectionSummaryList != null
|
|
2486
|
-
? de_VpcIngressConnectionSummaryList(output.VpcIngressConnectionSummaryList, context)
|
|
2487
|
-
: undefined,
|
|
2488
|
-
};
|
|
2489
|
-
};
|
|
2490
|
-
const de_NetworkConfiguration = (output, context) => {
|
|
2491
|
-
return {
|
|
2492
|
-
EgressConfiguration: output.EgressConfiguration != null ? de_EgressConfiguration(output.EgressConfiguration, context) : undefined,
|
|
2493
|
-
IngressConfiguration: output.IngressConfiguration != null ? de_IngressConfiguration(output.IngressConfiguration, context) : undefined,
|
|
2494
|
-
};
|
|
1751
|
+
return take(output, {
|
|
1752
|
+
NextToken: __expectString,
|
|
1753
|
+
VpcConnectors: (_) => de_VpcConnectors(_, context),
|
|
1754
|
+
});
|
|
2495
1755
|
};
|
|
2496
1756
|
const de_ObservabilityConfiguration = (output, context) => {
|
|
2497
|
-
return {
|
|
2498
|
-
CreatedAt:
|
|
2499
|
-
DeletedAt:
|
|
2500
|
-
Latest: __expectBoolean
|
|
2501
|
-
ObservabilityConfigurationArn: __expectString
|
|
2502
|
-
ObservabilityConfigurationName: __expectString
|
|
2503
|
-
ObservabilityConfigurationRevision: __expectInt32
|
|
2504
|
-
Status: __expectString
|
|
2505
|
-
TraceConfiguration:
|
|
2506
|
-
};
|
|
2507
|
-
};
|
|
2508
|
-
const de_ObservabilityConfigurationSummary = (output, context) => {
|
|
2509
|
-
return {
|
|
2510
|
-
ObservabilityConfigurationArn: __expectString(output.ObservabilityConfigurationArn),
|
|
2511
|
-
ObservabilityConfigurationName: __expectString(output.ObservabilityConfigurationName),
|
|
2512
|
-
ObservabilityConfigurationRevision: __expectInt32(output.ObservabilityConfigurationRevision),
|
|
2513
|
-
};
|
|
2514
|
-
};
|
|
2515
|
-
const de_ObservabilityConfigurationSummaryList = (output, context) => {
|
|
2516
|
-
const retVal = (output || [])
|
|
2517
|
-
.filter((e) => e != null)
|
|
2518
|
-
.map((entry) => {
|
|
2519
|
-
if (entry === null) {
|
|
2520
|
-
return null;
|
|
2521
|
-
}
|
|
2522
|
-
return de_ObservabilityConfigurationSummary(entry, context);
|
|
1757
|
+
return take(output, {
|
|
1758
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1759
|
+
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1760
|
+
Latest: __expectBoolean,
|
|
1761
|
+
ObservabilityConfigurationArn: __expectString,
|
|
1762
|
+
ObservabilityConfigurationName: __expectString,
|
|
1763
|
+
ObservabilityConfigurationRevision: __expectInt32,
|
|
1764
|
+
Status: __expectString,
|
|
1765
|
+
TraceConfiguration: _json,
|
|
2523
1766
|
});
|
|
2524
|
-
return retVal;
|
|
2525
1767
|
};
|
|
2526
1768
|
const de_OperationSummary = (output, context) => {
|
|
2527
|
-
return {
|
|
2528
|
-
EndedAt:
|
|
2529
|
-
Id: __expectString
|
|
2530
|
-
StartedAt:
|
|
2531
|
-
Status: __expectString
|
|
2532
|
-
TargetArn: __expectString
|
|
2533
|
-
Type: __expectString
|
|
2534
|
-
UpdatedAt:
|
|
2535
|
-
};
|
|
1769
|
+
return take(output, {
|
|
1770
|
+
EndedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1771
|
+
Id: __expectString,
|
|
1772
|
+
StartedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1773
|
+
Status: __expectString,
|
|
1774
|
+
TargetArn: __expectString,
|
|
1775
|
+
Type: __expectString,
|
|
1776
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1777
|
+
});
|
|
2536
1778
|
};
|
|
2537
1779
|
const de_OperationSummaryList = (output, context) => {
|
|
2538
1780
|
const retVal = (output || [])
|
|
2539
1781
|
.filter((e) => e != null)
|
|
2540
1782
|
.map((entry) => {
|
|
2541
|
-
if (entry === null) {
|
|
2542
|
-
return null;
|
|
2543
|
-
}
|
|
2544
1783
|
return de_OperationSummary(entry, context);
|
|
2545
1784
|
});
|
|
2546
1785
|
return retVal;
|
|
2547
1786
|
};
|
|
2548
1787
|
const de_PauseServiceResponse = (output, context) => {
|
|
2549
|
-
return {
|
|
2550
|
-
OperationId: __expectString
|
|
2551
|
-
Service:
|
|
2552
|
-
};
|
|
2553
|
-
};
|
|
2554
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2555
|
-
return {
|
|
2556
|
-
Message: __expectString(output.Message),
|
|
2557
|
-
};
|
|
1788
|
+
return take(output, {
|
|
1789
|
+
OperationId: __expectString,
|
|
1790
|
+
Service: (_) => de_Service(_, context),
|
|
1791
|
+
});
|
|
2558
1792
|
};
|
|
2559
1793
|
const de_ResumeServiceResponse = (output, context) => {
|
|
2560
|
-
return {
|
|
2561
|
-
OperationId: __expectString
|
|
2562
|
-
Service:
|
|
2563
|
-
};
|
|
2564
|
-
};
|
|
2565
|
-
const de_RuntimeEnvironmentSecrets = (output, context) => {
|
|
2566
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2567
|
-
if (value === null) {
|
|
2568
|
-
return acc;
|
|
2569
|
-
}
|
|
2570
|
-
acc[key] = __expectString(value);
|
|
2571
|
-
return acc;
|
|
2572
|
-
}, {});
|
|
2573
|
-
};
|
|
2574
|
-
const de_RuntimeEnvironmentVariables = (output, context) => {
|
|
2575
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2576
|
-
if (value === null) {
|
|
2577
|
-
return acc;
|
|
2578
|
-
}
|
|
2579
|
-
acc[key] = __expectString(value);
|
|
2580
|
-
return acc;
|
|
2581
|
-
}, {});
|
|
1794
|
+
return take(output, {
|
|
1795
|
+
OperationId: __expectString,
|
|
1796
|
+
Service: (_) => de_Service(_, context),
|
|
1797
|
+
});
|
|
2582
1798
|
};
|
|
2583
1799
|
const de_Service = (output, context) => {
|
|
2584
|
-
return {
|
|
2585
|
-
AutoScalingConfigurationSummary:
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
? de_ServiceObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2602
|
-
: undefined,
|
|
2603
|
-
ServiceArn: __expectString(output.ServiceArn),
|
|
2604
|
-
ServiceId: __expectString(output.ServiceId),
|
|
2605
|
-
ServiceName: __expectString(output.ServiceName),
|
|
2606
|
-
ServiceUrl: __expectString(output.ServiceUrl),
|
|
2607
|
-
SourceConfiguration: output.SourceConfiguration != null ? de_SourceConfiguration(output.SourceConfiguration, context) : undefined,
|
|
2608
|
-
Status: __expectString(output.Status),
|
|
2609
|
-
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2610
|
-
};
|
|
2611
|
-
};
|
|
2612
|
-
const de_ServiceObservabilityConfiguration = (output, context) => {
|
|
2613
|
-
return {
|
|
2614
|
-
ObservabilityConfigurationArn: __expectString(output.ObservabilityConfigurationArn),
|
|
2615
|
-
ObservabilityEnabled: __expectBoolean(output.ObservabilityEnabled),
|
|
2616
|
-
};
|
|
2617
|
-
};
|
|
2618
|
-
const de_ServiceQuotaExceededException = (output, context) => {
|
|
2619
|
-
return {
|
|
2620
|
-
Message: __expectString(output.Message),
|
|
2621
|
-
};
|
|
1800
|
+
return take(output, {
|
|
1801
|
+
AutoScalingConfigurationSummary: _json,
|
|
1802
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1803
|
+
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1804
|
+
EncryptionConfiguration: _json,
|
|
1805
|
+
HealthCheckConfiguration: _json,
|
|
1806
|
+
InstanceConfiguration: _json,
|
|
1807
|
+
NetworkConfiguration: _json,
|
|
1808
|
+
ObservabilityConfiguration: _json,
|
|
1809
|
+
ServiceArn: __expectString,
|
|
1810
|
+
ServiceId: __expectString,
|
|
1811
|
+
ServiceName: __expectString,
|
|
1812
|
+
ServiceUrl: __expectString,
|
|
1813
|
+
SourceConfiguration: _json,
|
|
1814
|
+
Status: __expectString,
|
|
1815
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1816
|
+
});
|
|
2622
1817
|
};
|
|
2623
1818
|
const de_ServiceSummary = (output, context) => {
|
|
2624
|
-
return {
|
|
2625
|
-
CreatedAt:
|
|
2626
|
-
ServiceArn: __expectString
|
|
2627
|
-
ServiceId: __expectString
|
|
2628
|
-
ServiceName: __expectString
|
|
2629
|
-
ServiceUrl: __expectString
|
|
2630
|
-
Status: __expectString
|
|
2631
|
-
UpdatedAt:
|
|
2632
|
-
};
|
|
1819
|
+
return take(output, {
|
|
1820
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1821
|
+
ServiceArn: __expectString,
|
|
1822
|
+
ServiceId: __expectString,
|
|
1823
|
+
ServiceName: __expectString,
|
|
1824
|
+
ServiceUrl: __expectString,
|
|
1825
|
+
Status: __expectString,
|
|
1826
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1827
|
+
});
|
|
2633
1828
|
};
|
|
2634
1829
|
const de_ServiceSummaryList = (output, context) => {
|
|
2635
1830
|
const retVal = (output || [])
|
|
2636
1831
|
.filter((e) => e != null)
|
|
2637
1832
|
.map((entry) => {
|
|
2638
|
-
if (entry === null) {
|
|
2639
|
-
return null;
|
|
2640
|
-
}
|
|
2641
1833
|
return de_ServiceSummary(entry, context);
|
|
2642
1834
|
});
|
|
2643
1835
|
return retVal;
|
|
2644
1836
|
};
|
|
2645
|
-
const de_SourceCodeVersion = (output, context) => {
|
|
2646
|
-
return {
|
|
2647
|
-
Type: __expectString(output.Type),
|
|
2648
|
-
Value: __expectString(output.Value),
|
|
2649
|
-
};
|
|
2650
|
-
};
|
|
2651
|
-
const de_SourceConfiguration = (output, context) => {
|
|
2652
|
-
return {
|
|
2653
|
-
AuthenticationConfiguration: output.AuthenticationConfiguration != null
|
|
2654
|
-
? de_AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
2655
|
-
: undefined,
|
|
2656
|
-
AutoDeploymentsEnabled: __expectBoolean(output.AutoDeploymentsEnabled),
|
|
2657
|
-
CodeRepository: output.CodeRepository != null ? de_CodeRepository(output.CodeRepository, context) : undefined,
|
|
2658
|
-
ImageRepository: output.ImageRepository != null ? de_ImageRepository(output.ImageRepository, context) : undefined,
|
|
2659
|
-
};
|
|
2660
|
-
};
|
|
2661
|
-
const de_StartDeploymentResponse = (output, context) => {
|
|
2662
|
-
return {
|
|
2663
|
-
OperationId: __expectString(output.OperationId),
|
|
2664
|
-
};
|
|
2665
|
-
};
|
|
2666
|
-
const de_StringList = (output, context) => {
|
|
2667
|
-
const retVal = (output || [])
|
|
2668
|
-
.filter((e) => e != null)
|
|
2669
|
-
.map((entry) => {
|
|
2670
|
-
if (entry === null) {
|
|
2671
|
-
return null;
|
|
2672
|
-
}
|
|
2673
|
-
return __expectString(entry);
|
|
2674
|
-
});
|
|
2675
|
-
return retVal;
|
|
2676
|
-
};
|
|
2677
|
-
const de_Tag = (output, context) => {
|
|
2678
|
-
return {
|
|
2679
|
-
Key: __expectString(output.Key),
|
|
2680
|
-
Value: __expectString(output.Value),
|
|
2681
|
-
};
|
|
2682
|
-
};
|
|
2683
|
-
const de_TagList = (output, context) => {
|
|
2684
|
-
const retVal = (output || [])
|
|
2685
|
-
.filter((e) => e != null)
|
|
2686
|
-
.map((entry) => {
|
|
2687
|
-
if (entry === null) {
|
|
2688
|
-
return null;
|
|
2689
|
-
}
|
|
2690
|
-
return de_Tag(entry, context);
|
|
2691
|
-
});
|
|
2692
|
-
return retVal;
|
|
2693
|
-
};
|
|
2694
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2695
|
-
return {};
|
|
2696
|
-
};
|
|
2697
|
-
const de_TraceConfiguration = (output, context) => {
|
|
2698
|
-
return {
|
|
2699
|
-
Vendor: __expectString(output.Vendor),
|
|
2700
|
-
};
|
|
2701
|
-
};
|
|
2702
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2703
|
-
return {};
|
|
2704
|
-
};
|
|
2705
1837
|
const de_UpdateServiceResponse = (output, context) => {
|
|
2706
|
-
return {
|
|
2707
|
-
OperationId: __expectString
|
|
2708
|
-
Service:
|
|
2709
|
-
};
|
|
1838
|
+
return take(output, {
|
|
1839
|
+
OperationId: __expectString,
|
|
1840
|
+
Service: (_) => de_Service(_, context),
|
|
1841
|
+
});
|
|
2710
1842
|
};
|
|
2711
1843
|
const de_UpdateVpcIngressConnectionResponse = (output, context) => {
|
|
2712
|
-
return {
|
|
2713
|
-
VpcIngressConnection:
|
|
2714
|
-
};
|
|
1844
|
+
return take(output, {
|
|
1845
|
+
VpcIngressConnection: (_) => de_VpcIngressConnection(_, context),
|
|
1846
|
+
});
|
|
2715
1847
|
};
|
|
2716
1848
|
const de_VpcConnector = (output, context) => {
|
|
2717
|
-
return {
|
|
2718
|
-
CreatedAt:
|
|
2719
|
-
DeletedAt:
|
|
2720
|
-
SecurityGroups:
|
|
2721
|
-
Status: __expectString
|
|
2722
|
-
Subnets:
|
|
2723
|
-
VpcConnectorArn: __expectString
|
|
2724
|
-
VpcConnectorName: __expectString
|
|
2725
|
-
VpcConnectorRevision: __expectInt32
|
|
2726
|
-
};
|
|
1849
|
+
return take(output, {
|
|
1850
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1851
|
+
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1852
|
+
SecurityGroups: _json,
|
|
1853
|
+
Status: __expectString,
|
|
1854
|
+
Subnets: _json,
|
|
1855
|
+
VpcConnectorArn: __expectString,
|
|
1856
|
+
VpcConnectorName: __expectString,
|
|
1857
|
+
VpcConnectorRevision: __expectInt32,
|
|
1858
|
+
});
|
|
2727
1859
|
};
|
|
2728
1860
|
const de_VpcConnectors = (output, context) => {
|
|
2729
1861
|
const retVal = (output || [])
|
|
2730
1862
|
.filter((e) => e != null)
|
|
2731
1863
|
.map((entry) => {
|
|
2732
|
-
if (entry === null) {
|
|
2733
|
-
return null;
|
|
2734
|
-
}
|
|
2735
1864
|
return de_VpcConnector(entry, context);
|
|
2736
1865
|
});
|
|
2737
1866
|
return retVal;
|
|
2738
1867
|
};
|
|
2739
|
-
const de_VpcDNSTarget = (output, context) => {
|
|
2740
|
-
return {
|
|
2741
|
-
DomainName: __expectString(output.DomainName),
|
|
2742
|
-
VpcId: __expectString(output.VpcId),
|
|
2743
|
-
VpcIngressConnectionArn: __expectString(output.VpcIngressConnectionArn),
|
|
2744
|
-
};
|
|
2745
|
-
};
|
|
2746
|
-
const de_VpcDNSTargetList = (output, context) => {
|
|
2747
|
-
const retVal = (output || [])
|
|
2748
|
-
.filter((e) => e != null)
|
|
2749
|
-
.map((entry) => {
|
|
2750
|
-
if (entry === null) {
|
|
2751
|
-
return null;
|
|
2752
|
-
}
|
|
2753
|
-
return de_VpcDNSTarget(entry, context);
|
|
2754
|
-
});
|
|
2755
|
-
return retVal;
|
|
2756
|
-
};
|
|
2757
1868
|
const de_VpcIngressConnection = (output, context) => {
|
|
2758
|
-
return {
|
|
2759
|
-
AccountId: __expectString
|
|
2760
|
-
CreatedAt:
|
|
2761
|
-
DeletedAt:
|
|
2762
|
-
DomainName: __expectString
|
|
2763
|
-
IngressVpcConfiguration:
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
VpcIngressConnectionArn: __expectString(output.VpcIngressConnectionArn),
|
|
2769
|
-
VpcIngressConnectionName: __expectString(output.VpcIngressConnectionName),
|
|
2770
|
-
};
|
|
2771
|
-
};
|
|
2772
|
-
const de_VpcIngressConnectionSummary = (output, context) => {
|
|
2773
|
-
return {
|
|
2774
|
-
ServiceArn: __expectString(output.ServiceArn),
|
|
2775
|
-
VpcIngressConnectionArn: __expectString(output.VpcIngressConnectionArn),
|
|
2776
|
-
};
|
|
2777
|
-
};
|
|
2778
|
-
const de_VpcIngressConnectionSummaryList = (output, context) => {
|
|
2779
|
-
const retVal = (output || [])
|
|
2780
|
-
.filter((e) => e != null)
|
|
2781
|
-
.map((entry) => {
|
|
2782
|
-
if (entry === null) {
|
|
2783
|
-
return null;
|
|
2784
|
-
}
|
|
2785
|
-
return de_VpcIngressConnectionSummary(entry, context);
|
|
1869
|
+
return take(output, {
|
|
1870
|
+
AccountId: __expectString,
|
|
1871
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1872
|
+
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1873
|
+
DomainName: __expectString,
|
|
1874
|
+
IngressVpcConfiguration: _json,
|
|
1875
|
+
ServiceArn: __expectString,
|
|
1876
|
+
Status: __expectString,
|
|
1877
|
+
VpcIngressConnectionArn: __expectString,
|
|
1878
|
+
VpcIngressConnectionName: __expectString,
|
|
2786
1879
|
});
|
|
2787
|
-
return retVal;
|
|
2788
1880
|
};
|
|
2789
1881
|
const deserializeMetadata = (output) => ({
|
|
2790
1882
|
httpStatusCode: output.statusCode,
|
|
@@ -2799,6 +1891,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2799
1891
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2800
1892
|
};
|
|
2801
1893
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1894
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2802
1895
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2803
1896
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2804
1897
|
const contents = {
|