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