@aws-sdk/client-apprunner 3.927.0 → 3.929.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/index.js +1224 -1483
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/AppRunnerClient.js +2 -0
- package/dist-es/commands/AssociateCustomDomainCommand.js +3 -9
- package/dist-es/commands/CreateAutoScalingConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateConnectionCommand.js +3 -9
- package/dist-es/commands/CreateObservabilityConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateServiceCommand.js +3 -10
- package/dist-es/commands/CreateVpcConnectorCommand.js +3 -9
- package/dist-es/commands/CreateVpcIngressConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteAutoScalingConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteObservabilityConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteServiceCommand.js +3 -10
- package/dist-es/commands/DeleteVpcConnectorCommand.js +3 -9
- package/dist-es/commands/DeleteVpcIngressConnectionCommand.js +3 -9
- package/dist-es/commands/DescribeAutoScalingConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeCustomDomainsCommand.js +3 -9
- package/dist-es/commands/DescribeObservabilityConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeServiceCommand.js +3 -10
- package/dist-es/commands/DescribeVpcConnectorCommand.js +3 -9
- package/dist-es/commands/DescribeVpcIngressConnectionCommand.js +3 -9
- package/dist-es/commands/DisassociateCustomDomainCommand.js +3 -9
- package/dist-es/commands/ListAutoScalingConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListConnectionsCommand.js +3 -9
- package/dist-es/commands/ListObservabilityConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListOperationsCommand.js +3 -9
- package/dist-es/commands/ListServicesCommand.js +3 -9
- package/dist-es/commands/ListServicesForAutoScalingConfigurationCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListVpcConnectorsCommand.js +3 -9
- package/dist-es/commands/ListVpcIngressConnectionsCommand.js +3 -9
- package/dist-es/commands/PauseServiceCommand.js +3 -10
- package/dist-es/commands/ResumeServiceCommand.js +3 -10
- package/dist-es/commands/StartDeploymentCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateDefaultAutoScalingConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateServiceCommand.js +3 -10
- package/dist-es/commands/UpdateVpcIngressConnectionCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -75
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1137 -0
- package/dist-types/AppRunnerClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -60
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +2 -5
- package/dist-types/schemas/schemas_0.d.ts +175 -0
- package/dist-types/ts3.4/AppRunnerClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -43
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +182 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_0.js +0 -1124
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -335
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -449
|
@@ -1,1124 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { AppRunnerServiceException as __BaseException } from "../models/AppRunnerServiceException";
|
|
5
|
-
import { InternalServiceErrorException, InvalidRequestException, InvalidStateException, ResourceNotFoundException, ServiceQuotaExceededException, } from "../models/models_0";
|
|
6
|
-
export const se_AssociateCustomDomainCommand = async (input, context) => {
|
|
7
|
-
const headers = sharedHeaders("AssociateCustomDomain");
|
|
8
|
-
let body;
|
|
9
|
-
body = JSON.stringify(_json(input));
|
|
10
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
-
};
|
|
12
|
-
export const se_CreateAutoScalingConfigurationCommand = async (input, context) => {
|
|
13
|
-
const headers = sharedHeaders("CreateAutoScalingConfiguration");
|
|
14
|
-
let body;
|
|
15
|
-
body = JSON.stringify(_json(input));
|
|
16
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
-
};
|
|
18
|
-
export const se_CreateConnectionCommand = async (input, context) => {
|
|
19
|
-
const headers = sharedHeaders("CreateConnection");
|
|
20
|
-
let body;
|
|
21
|
-
body = JSON.stringify(_json(input));
|
|
22
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
|
-
};
|
|
24
|
-
export const se_CreateObservabilityConfigurationCommand = async (input, context) => {
|
|
25
|
-
const headers = sharedHeaders("CreateObservabilityConfiguration");
|
|
26
|
-
let body;
|
|
27
|
-
body = JSON.stringify(_json(input));
|
|
28
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
-
};
|
|
30
|
-
export const se_CreateServiceCommand = async (input, context) => {
|
|
31
|
-
const headers = sharedHeaders("CreateService");
|
|
32
|
-
let body;
|
|
33
|
-
body = JSON.stringify(_json(input));
|
|
34
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
-
};
|
|
36
|
-
export const se_CreateVpcConnectorCommand = async (input, context) => {
|
|
37
|
-
const headers = sharedHeaders("CreateVpcConnector");
|
|
38
|
-
let body;
|
|
39
|
-
body = JSON.stringify(_json(input));
|
|
40
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
-
};
|
|
42
|
-
export const se_CreateVpcIngressConnectionCommand = async (input, context) => {
|
|
43
|
-
const headers = sharedHeaders("CreateVpcIngressConnection");
|
|
44
|
-
let body;
|
|
45
|
-
body = JSON.stringify(_json(input));
|
|
46
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
-
};
|
|
48
|
-
export const se_DeleteAutoScalingConfigurationCommand = async (input, context) => {
|
|
49
|
-
const headers = sharedHeaders("DeleteAutoScalingConfiguration");
|
|
50
|
-
let body;
|
|
51
|
-
body = JSON.stringify(_json(input));
|
|
52
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
-
};
|
|
54
|
-
export const se_DeleteConnectionCommand = async (input, context) => {
|
|
55
|
-
const headers = sharedHeaders("DeleteConnection");
|
|
56
|
-
let body;
|
|
57
|
-
body = JSON.stringify(_json(input));
|
|
58
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
-
};
|
|
60
|
-
export const se_DeleteObservabilityConfigurationCommand = async (input, context) => {
|
|
61
|
-
const headers = sharedHeaders("DeleteObservabilityConfiguration");
|
|
62
|
-
let body;
|
|
63
|
-
body = JSON.stringify(_json(input));
|
|
64
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
-
};
|
|
66
|
-
export const se_DeleteServiceCommand = async (input, context) => {
|
|
67
|
-
const headers = sharedHeaders("DeleteService");
|
|
68
|
-
let body;
|
|
69
|
-
body = JSON.stringify(_json(input));
|
|
70
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
|
-
};
|
|
72
|
-
export const se_DeleteVpcConnectorCommand = async (input, context) => {
|
|
73
|
-
const headers = sharedHeaders("DeleteVpcConnector");
|
|
74
|
-
let body;
|
|
75
|
-
body = JSON.stringify(_json(input));
|
|
76
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
-
};
|
|
78
|
-
export const se_DeleteVpcIngressConnectionCommand = async (input, context) => {
|
|
79
|
-
const headers = sharedHeaders("DeleteVpcIngressConnection");
|
|
80
|
-
let body;
|
|
81
|
-
body = JSON.stringify(_json(input));
|
|
82
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
|
-
};
|
|
84
|
-
export const se_DescribeAutoScalingConfigurationCommand = async (input, context) => {
|
|
85
|
-
const headers = sharedHeaders("DescribeAutoScalingConfiguration");
|
|
86
|
-
let body;
|
|
87
|
-
body = JSON.stringify(_json(input));
|
|
88
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
|
-
};
|
|
90
|
-
export const se_DescribeCustomDomainsCommand = async (input, context) => {
|
|
91
|
-
const headers = sharedHeaders("DescribeCustomDomains");
|
|
92
|
-
let body;
|
|
93
|
-
body = JSON.stringify(_json(input));
|
|
94
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
|
-
};
|
|
96
|
-
export const se_DescribeObservabilityConfigurationCommand = async (input, context) => {
|
|
97
|
-
const headers = sharedHeaders("DescribeObservabilityConfiguration");
|
|
98
|
-
let body;
|
|
99
|
-
body = JSON.stringify(_json(input));
|
|
100
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
|
-
};
|
|
102
|
-
export const se_DescribeServiceCommand = async (input, context) => {
|
|
103
|
-
const headers = sharedHeaders("DescribeService");
|
|
104
|
-
let body;
|
|
105
|
-
body = JSON.stringify(_json(input));
|
|
106
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
|
-
};
|
|
108
|
-
export const se_DescribeVpcConnectorCommand = async (input, context) => {
|
|
109
|
-
const headers = sharedHeaders("DescribeVpcConnector");
|
|
110
|
-
let body;
|
|
111
|
-
body = JSON.stringify(_json(input));
|
|
112
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
|
-
};
|
|
114
|
-
export const se_DescribeVpcIngressConnectionCommand = async (input, context) => {
|
|
115
|
-
const headers = sharedHeaders("DescribeVpcIngressConnection");
|
|
116
|
-
let body;
|
|
117
|
-
body = JSON.stringify(_json(input));
|
|
118
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
|
-
};
|
|
120
|
-
export const se_DisassociateCustomDomainCommand = async (input, context) => {
|
|
121
|
-
const headers = sharedHeaders("DisassociateCustomDomain");
|
|
122
|
-
let body;
|
|
123
|
-
body = JSON.stringify(_json(input));
|
|
124
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
|
-
};
|
|
126
|
-
export const se_ListAutoScalingConfigurationsCommand = async (input, context) => {
|
|
127
|
-
const headers = sharedHeaders("ListAutoScalingConfigurations");
|
|
128
|
-
let body;
|
|
129
|
-
body = JSON.stringify(_json(input));
|
|
130
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
|
-
};
|
|
132
|
-
export const se_ListConnectionsCommand = async (input, context) => {
|
|
133
|
-
const headers = sharedHeaders("ListConnections");
|
|
134
|
-
let body;
|
|
135
|
-
body = JSON.stringify(_json(input));
|
|
136
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
|
-
};
|
|
138
|
-
export const se_ListObservabilityConfigurationsCommand = async (input, context) => {
|
|
139
|
-
const headers = sharedHeaders("ListObservabilityConfigurations");
|
|
140
|
-
let body;
|
|
141
|
-
body = JSON.stringify(_json(input));
|
|
142
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
|
-
};
|
|
144
|
-
export const se_ListOperationsCommand = async (input, context) => {
|
|
145
|
-
const headers = sharedHeaders("ListOperations");
|
|
146
|
-
let body;
|
|
147
|
-
body = JSON.stringify(_json(input));
|
|
148
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
|
-
};
|
|
150
|
-
export const se_ListServicesCommand = async (input, context) => {
|
|
151
|
-
const headers = sharedHeaders("ListServices");
|
|
152
|
-
let body;
|
|
153
|
-
body = JSON.stringify(_json(input));
|
|
154
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
|
-
};
|
|
156
|
-
export const se_ListServicesForAutoScalingConfigurationCommand = async (input, context) => {
|
|
157
|
-
const headers = sharedHeaders("ListServicesForAutoScalingConfiguration");
|
|
158
|
-
let body;
|
|
159
|
-
body = JSON.stringify(_json(input));
|
|
160
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
|
-
};
|
|
162
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
163
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
164
|
-
let body;
|
|
165
|
-
body = JSON.stringify(_json(input));
|
|
166
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
|
-
};
|
|
168
|
-
export const se_ListVpcConnectorsCommand = async (input, context) => {
|
|
169
|
-
const headers = sharedHeaders("ListVpcConnectors");
|
|
170
|
-
let body;
|
|
171
|
-
body = JSON.stringify(_json(input));
|
|
172
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
-
};
|
|
174
|
-
export const se_ListVpcIngressConnectionsCommand = async (input, context) => {
|
|
175
|
-
const headers = sharedHeaders("ListVpcIngressConnections");
|
|
176
|
-
let body;
|
|
177
|
-
body = JSON.stringify(_json(input));
|
|
178
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
|
-
};
|
|
180
|
-
export const se_PauseServiceCommand = async (input, context) => {
|
|
181
|
-
const headers = sharedHeaders("PauseService");
|
|
182
|
-
let body;
|
|
183
|
-
body = JSON.stringify(_json(input));
|
|
184
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
|
-
};
|
|
186
|
-
export const se_ResumeServiceCommand = async (input, context) => {
|
|
187
|
-
const headers = sharedHeaders("ResumeService");
|
|
188
|
-
let body;
|
|
189
|
-
body = JSON.stringify(_json(input));
|
|
190
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
|
-
};
|
|
192
|
-
export const se_StartDeploymentCommand = async (input, context) => {
|
|
193
|
-
const headers = sharedHeaders("StartDeployment");
|
|
194
|
-
let body;
|
|
195
|
-
body = JSON.stringify(_json(input));
|
|
196
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
|
-
};
|
|
198
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
199
|
-
const headers = sharedHeaders("TagResource");
|
|
200
|
-
let body;
|
|
201
|
-
body = JSON.stringify(_json(input));
|
|
202
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
|
-
};
|
|
204
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
205
|
-
const headers = sharedHeaders("UntagResource");
|
|
206
|
-
let body;
|
|
207
|
-
body = JSON.stringify(_json(input));
|
|
208
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
|
-
};
|
|
210
|
-
export const se_UpdateDefaultAutoScalingConfigurationCommand = async (input, context) => {
|
|
211
|
-
const headers = sharedHeaders("UpdateDefaultAutoScalingConfiguration");
|
|
212
|
-
let body;
|
|
213
|
-
body = JSON.stringify(_json(input));
|
|
214
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
|
-
};
|
|
216
|
-
export const se_UpdateServiceCommand = async (input, context) => {
|
|
217
|
-
const headers = sharedHeaders("UpdateService");
|
|
218
|
-
let body;
|
|
219
|
-
body = JSON.stringify(_json(input));
|
|
220
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
|
-
};
|
|
222
|
-
export const se_UpdateVpcIngressConnectionCommand = async (input, context) => {
|
|
223
|
-
const headers = sharedHeaders("UpdateVpcIngressConnection");
|
|
224
|
-
let body;
|
|
225
|
-
body = JSON.stringify(_json(input));
|
|
226
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
|
-
};
|
|
228
|
-
export const de_AssociateCustomDomainCommand = async (output, context) => {
|
|
229
|
-
if (output.statusCode >= 300) {
|
|
230
|
-
return de_CommandError(output, context);
|
|
231
|
-
}
|
|
232
|
-
const data = await parseBody(output.body, context);
|
|
233
|
-
let contents = {};
|
|
234
|
-
contents = _json(data);
|
|
235
|
-
const response = {
|
|
236
|
-
$metadata: deserializeMetadata(output),
|
|
237
|
-
...contents,
|
|
238
|
-
};
|
|
239
|
-
return response;
|
|
240
|
-
};
|
|
241
|
-
export const de_CreateAutoScalingConfigurationCommand = async (output, context) => {
|
|
242
|
-
if (output.statusCode >= 300) {
|
|
243
|
-
return de_CommandError(output, context);
|
|
244
|
-
}
|
|
245
|
-
const data = await parseBody(output.body, context);
|
|
246
|
-
let contents = {};
|
|
247
|
-
contents = de_CreateAutoScalingConfigurationResponse(data, context);
|
|
248
|
-
const response = {
|
|
249
|
-
$metadata: deserializeMetadata(output),
|
|
250
|
-
...contents,
|
|
251
|
-
};
|
|
252
|
-
return response;
|
|
253
|
-
};
|
|
254
|
-
export const de_CreateConnectionCommand = async (output, context) => {
|
|
255
|
-
if (output.statusCode >= 300) {
|
|
256
|
-
return de_CommandError(output, context);
|
|
257
|
-
}
|
|
258
|
-
const data = await parseBody(output.body, context);
|
|
259
|
-
let contents = {};
|
|
260
|
-
contents = de_CreateConnectionResponse(data, context);
|
|
261
|
-
const response = {
|
|
262
|
-
$metadata: deserializeMetadata(output),
|
|
263
|
-
...contents,
|
|
264
|
-
};
|
|
265
|
-
return response;
|
|
266
|
-
};
|
|
267
|
-
export const de_CreateObservabilityConfigurationCommand = async (output, context) => {
|
|
268
|
-
if (output.statusCode >= 300) {
|
|
269
|
-
return de_CommandError(output, context);
|
|
270
|
-
}
|
|
271
|
-
const data = await parseBody(output.body, context);
|
|
272
|
-
let contents = {};
|
|
273
|
-
contents = de_CreateObservabilityConfigurationResponse(data, context);
|
|
274
|
-
const response = {
|
|
275
|
-
$metadata: deserializeMetadata(output),
|
|
276
|
-
...contents,
|
|
277
|
-
};
|
|
278
|
-
return response;
|
|
279
|
-
};
|
|
280
|
-
export const de_CreateServiceCommand = async (output, context) => {
|
|
281
|
-
if (output.statusCode >= 300) {
|
|
282
|
-
return de_CommandError(output, context);
|
|
283
|
-
}
|
|
284
|
-
const data = await parseBody(output.body, context);
|
|
285
|
-
let contents = {};
|
|
286
|
-
contents = de_CreateServiceResponse(data, context);
|
|
287
|
-
const response = {
|
|
288
|
-
$metadata: deserializeMetadata(output),
|
|
289
|
-
...contents,
|
|
290
|
-
};
|
|
291
|
-
return response;
|
|
292
|
-
};
|
|
293
|
-
export const de_CreateVpcConnectorCommand = async (output, context) => {
|
|
294
|
-
if (output.statusCode >= 300) {
|
|
295
|
-
return de_CommandError(output, context);
|
|
296
|
-
}
|
|
297
|
-
const data = await parseBody(output.body, context);
|
|
298
|
-
let contents = {};
|
|
299
|
-
contents = de_CreateVpcConnectorResponse(data, context);
|
|
300
|
-
const response = {
|
|
301
|
-
$metadata: deserializeMetadata(output),
|
|
302
|
-
...contents,
|
|
303
|
-
};
|
|
304
|
-
return response;
|
|
305
|
-
};
|
|
306
|
-
export const de_CreateVpcIngressConnectionCommand = async (output, context) => {
|
|
307
|
-
if (output.statusCode >= 300) {
|
|
308
|
-
return de_CommandError(output, context);
|
|
309
|
-
}
|
|
310
|
-
const data = await parseBody(output.body, context);
|
|
311
|
-
let contents = {};
|
|
312
|
-
contents = de_CreateVpcIngressConnectionResponse(data, context);
|
|
313
|
-
const response = {
|
|
314
|
-
$metadata: deserializeMetadata(output),
|
|
315
|
-
...contents,
|
|
316
|
-
};
|
|
317
|
-
return response;
|
|
318
|
-
};
|
|
319
|
-
export const de_DeleteAutoScalingConfigurationCommand = async (output, context) => {
|
|
320
|
-
if (output.statusCode >= 300) {
|
|
321
|
-
return de_CommandError(output, context);
|
|
322
|
-
}
|
|
323
|
-
const data = await parseBody(output.body, context);
|
|
324
|
-
let contents = {};
|
|
325
|
-
contents = de_DeleteAutoScalingConfigurationResponse(data, context);
|
|
326
|
-
const response = {
|
|
327
|
-
$metadata: deserializeMetadata(output),
|
|
328
|
-
...contents,
|
|
329
|
-
};
|
|
330
|
-
return response;
|
|
331
|
-
};
|
|
332
|
-
export const de_DeleteConnectionCommand = async (output, context) => {
|
|
333
|
-
if (output.statusCode >= 300) {
|
|
334
|
-
return de_CommandError(output, context);
|
|
335
|
-
}
|
|
336
|
-
const data = await parseBody(output.body, context);
|
|
337
|
-
let contents = {};
|
|
338
|
-
contents = de_DeleteConnectionResponse(data, context);
|
|
339
|
-
const response = {
|
|
340
|
-
$metadata: deserializeMetadata(output),
|
|
341
|
-
...contents,
|
|
342
|
-
};
|
|
343
|
-
return response;
|
|
344
|
-
};
|
|
345
|
-
export const de_DeleteObservabilityConfigurationCommand = async (output, context) => {
|
|
346
|
-
if (output.statusCode >= 300) {
|
|
347
|
-
return de_CommandError(output, context);
|
|
348
|
-
}
|
|
349
|
-
const data = await parseBody(output.body, context);
|
|
350
|
-
let contents = {};
|
|
351
|
-
contents = de_DeleteObservabilityConfigurationResponse(data, context);
|
|
352
|
-
const response = {
|
|
353
|
-
$metadata: deserializeMetadata(output),
|
|
354
|
-
...contents,
|
|
355
|
-
};
|
|
356
|
-
return response;
|
|
357
|
-
};
|
|
358
|
-
export const de_DeleteServiceCommand = async (output, context) => {
|
|
359
|
-
if (output.statusCode >= 300) {
|
|
360
|
-
return de_CommandError(output, context);
|
|
361
|
-
}
|
|
362
|
-
const data = await parseBody(output.body, context);
|
|
363
|
-
let contents = {};
|
|
364
|
-
contents = de_DeleteServiceResponse(data, context);
|
|
365
|
-
const response = {
|
|
366
|
-
$metadata: deserializeMetadata(output),
|
|
367
|
-
...contents,
|
|
368
|
-
};
|
|
369
|
-
return response;
|
|
370
|
-
};
|
|
371
|
-
export const de_DeleteVpcConnectorCommand = async (output, context) => {
|
|
372
|
-
if (output.statusCode >= 300) {
|
|
373
|
-
return de_CommandError(output, context);
|
|
374
|
-
}
|
|
375
|
-
const data = await parseBody(output.body, context);
|
|
376
|
-
let contents = {};
|
|
377
|
-
contents = de_DeleteVpcConnectorResponse(data, context);
|
|
378
|
-
const response = {
|
|
379
|
-
$metadata: deserializeMetadata(output),
|
|
380
|
-
...contents,
|
|
381
|
-
};
|
|
382
|
-
return response;
|
|
383
|
-
};
|
|
384
|
-
export const de_DeleteVpcIngressConnectionCommand = async (output, context) => {
|
|
385
|
-
if (output.statusCode >= 300) {
|
|
386
|
-
return de_CommandError(output, context);
|
|
387
|
-
}
|
|
388
|
-
const data = await parseBody(output.body, context);
|
|
389
|
-
let contents = {};
|
|
390
|
-
contents = de_DeleteVpcIngressConnectionResponse(data, context);
|
|
391
|
-
const response = {
|
|
392
|
-
$metadata: deserializeMetadata(output),
|
|
393
|
-
...contents,
|
|
394
|
-
};
|
|
395
|
-
return response;
|
|
396
|
-
};
|
|
397
|
-
export const de_DescribeAutoScalingConfigurationCommand = async (output, context) => {
|
|
398
|
-
if (output.statusCode >= 300) {
|
|
399
|
-
return de_CommandError(output, context);
|
|
400
|
-
}
|
|
401
|
-
const data = await parseBody(output.body, context);
|
|
402
|
-
let contents = {};
|
|
403
|
-
contents = de_DescribeAutoScalingConfigurationResponse(data, context);
|
|
404
|
-
const response = {
|
|
405
|
-
$metadata: deserializeMetadata(output),
|
|
406
|
-
...contents,
|
|
407
|
-
};
|
|
408
|
-
return response;
|
|
409
|
-
};
|
|
410
|
-
export const de_DescribeCustomDomainsCommand = async (output, context) => {
|
|
411
|
-
if (output.statusCode >= 300) {
|
|
412
|
-
return de_CommandError(output, context);
|
|
413
|
-
}
|
|
414
|
-
const data = await parseBody(output.body, context);
|
|
415
|
-
let contents = {};
|
|
416
|
-
contents = _json(data);
|
|
417
|
-
const response = {
|
|
418
|
-
$metadata: deserializeMetadata(output),
|
|
419
|
-
...contents,
|
|
420
|
-
};
|
|
421
|
-
return response;
|
|
422
|
-
};
|
|
423
|
-
export const de_DescribeObservabilityConfigurationCommand = async (output, context) => {
|
|
424
|
-
if (output.statusCode >= 300) {
|
|
425
|
-
return de_CommandError(output, context);
|
|
426
|
-
}
|
|
427
|
-
const data = await parseBody(output.body, context);
|
|
428
|
-
let contents = {};
|
|
429
|
-
contents = de_DescribeObservabilityConfigurationResponse(data, context);
|
|
430
|
-
const response = {
|
|
431
|
-
$metadata: deserializeMetadata(output),
|
|
432
|
-
...contents,
|
|
433
|
-
};
|
|
434
|
-
return response;
|
|
435
|
-
};
|
|
436
|
-
export const de_DescribeServiceCommand = async (output, context) => {
|
|
437
|
-
if (output.statusCode >= 300) {
|
|
438
|
-
return de_CommandError(output, context);
|
|
439
|
-
}
|
|
440
|
-
const data = await parseBody(output.body, context);
|
|
441
|
-
let contents = {};
|
|
442
|
-
contents = de_DescribeServiceResponse(data, context);
|
|
443
|
-
const response = {
|
|
444
|
-
$metadata: deserializeMetadata(output),
|
|
445
|
-
...contents,
|
|
446
|
-
};
|
|
447
|
-
return response;
|
|
448
|
-
};
|
|
449
|
-
export const de_DescribeVpcConnectorCommand = async (output, context) => {
|
|
450
|
-
if (output.statusCode >= 300) {
|
|
451
|
-
return de_CommandError(output, context);
|
|
452
|
-
}
|
|
453
|
-
const data = await parseBody(output.body, context);
|
|
454
|
-
let contents = {};
|
|
455
|
-
contents = de_DescribeVpcConnectorResponse(data, context);
|
|
456
|
-
const response = {
|
|
457
|
-
$metadata: deserializeMetadata(output),
|
|
458
|
-
...contents,
|
|
459
|
-
};
|
|
460
|
-
return response;
|
|
461
|
-
};
|
|
462
|
-
export const de_DescribeVpcIngressConnectionCommand = async (output, context) => {
|
|
463
|
-
if (output.statusCode >= 300) {
|
|
464
|
-
return de_CommandError(output, context);
|
|
465
|
-
}
|
|
466
|
-
const data = await parseBody(output.body, context);
|
|
467
|
-
let contents = {};
|
|
468
|
-
contents = de_DescribeVpcIngressConnectionResponse(data, context);
|
|
469
|
-
const response = {
|
|
470
|
-
$metadata: deserializeMetadata(output),
|
|
471
|
-
...contents,
|
|
472
|
-
};
|
|
473
|
-
return response;
|
|
474
|
-
};
|
|
475
|
-
export const de_DisassociateCustomDomainCommand = async (output, context) => {
|
|
476
|
-
if (output.statusCode >= 300) {
|
|
477
|
-
return de_CommandError(output, context);
|
|
478
|
-
}
|
|
479
|
-
const data = await parseBody(output.body, context);
|
|
480
|
-
let contents = {};
|
|
481
|
-
contents = _json(data);
|
|
482
|
-
const response = {
|
|
483
|
-
$metadata: deserializeMetadata(output),
|
|
484
|
-
...contents,
|
|
485
|
-
};
|
|
486
|
-
return response;
|
|
487
|
-
};
|
|
488
|
-
export const de_ListAutoScalingConfigurationsCommand = async (output, context) => {
|
|
489
|
-
if (output.statusCode >= 300) {
|
|
490
|
-
return de_CommandError(output, context);
|
|
491
|
-
}
|
|
492
|
-
const data = await parseBody(output.body, context);
|
|
493
|
-
let contents = {};
|
|
494
|
-
contents = de_ListAutoScalingConfigurationsResponse(data, context);
|
|
495
|
-
const response = {
|
|
496
|
-
$metadata: deserializeMetadata(output),
|
|
497
|
-
...contents,
|
|
498
|
-
};
|
|
499
|
-
return response;
|
|
500
|
-
};
|
|
501
|
-
export const de_ListConnectionsCommand = async (output, context) => {
|
|
502
|
-
if (output.statusCode >= 300) {
|
|
503
|
-
return de_CommandError(output, context);
|
|
504
|
-
}
|
|
505
|
-
const data = await parseBody(output.body, context);
|
|
506
|
-
let contents = {};
|
|
507
|
-
contents = de_ListConnectionsResponse(data, context);
|
|
508
|
-
const response = {
|
|
509
|
-
$metadata: deserializeMetadata(output),
|
|
510
|
-
...contents,
|
|
511
|
-
};
|
|
512
|
-
return response;
|
|
513
|
-
};
|
|
514
|
-
export const de_ListObservabilityConfigurationsCommand = async (output, context) => {
|
|
515
|
-
if (output.statusCode >= 300) {
|
|
516
|
-
return de_CommandError(output, context);
|
|
517
|
-
}
|
|
518
|
-
const data = await parseBody(output.body, context);
|
|
519
|
-
let contents = {};
|
|
520
|
-
contents = _json(data);
|
|
521
|
-
const response = {
|
|
522
|
-
$metadata: deserializeMetadata(output),
|
|
523
|
-
...contents,
|
|
524
|
-
};
|
|
525
|
-
return response;
|
|
526
|
-
};
|
|
527
|
-
export const de_ListOperationsCommand = async (output, context) => {
|
|
528
|
-
if (output.statusCode >= 300) {
|
|
529
|
-
return de_CommandError(output, context);
|
|
530
|
-
}
|
|
531
|
-
const data = await parseBody(output.body, context);
|
|
532
|
-
let contents = {};
|
|
533
|
-
contents = de_ListOperationsResponse(data, context);
|
|
534
|
-
const response = {
|
|
535
|
-
$metadata: deserializeMetadata(output),
|
|
536
|
-
...contents,
|
|
537
|
-
};
|
|
538
|
-
return response;
|
|
539
|
-
};
|
|
540
|
-
export const de_ListServicesCommand = async (output, context) => {
|
|
541
|
-
if (output.statusCode >= 300) {
|
|
542
|
-
return de_CommandError(output, context);
|
|
543
|
-
}
|
|
544
|
-
const data = await parseBody(output.body, context);
|
|
545
|
-
let contents = {};
|
|
546
|
-
contents = de_ListServicesResponse(data, context);
|
|
547
|
-
const response = {
|
|
548
|
-
$metadata: deserializeMetadata(output),
|
|
549
|
-
...contents,
|
|
550
|
-
};
|
|
551
|
-
return response;
|
|
552
|
-
};
|
|
553
|
-
export const de_ListServicesForAutoScalingConfigurationCommand = async (output, context) => {
|
|
554
|
-
if (output.statusCode >= 300) {
|
|
555
|
-
return de_CommandError(output, context);
|
|
556
|
-
}
|
|
557
|
-
const data = await parseBody(output.body, context);
|
|
558
|
-
let contents = {};
|
|
559
|
-
contents = _json(data);
|
|
560
|
-
const response = {
|
|
561
|
-
$metadata: deserializeMetadata(output),
|
|
562
|
-
...contents,
|
|
563
|
-
};
|
|
564
|
-
return response;
|
|
565
|
-
};
|
|
566
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
567
|
-
if (output.statusCode >= 300) {
|
|
568
|
-
return de_CommandError(output, context);
|
|
569
|
-
}
|
|
570
|
-
const data = await parseBody(output.body, context);
|
|
571
|
-
let contents = {};
|
|
572
|
-
contents = _json(data);
|
|
573
|
-
const response = {
|
|
574
|
-
$metadata: deserializeMetadata(output),
|
|
575
|
-
...contents,
|
|
576
|
-
};
|
|
577
|
-
return response;
|
|
578
|
-
};
|
|
579
|
-
export const de_ListVpcConnectorsCommand = async (output, context) => {
|
|
580
|
-
if (output.statusCode >= 300) {
|
|
581
|
-
return de_CommandError(output, context);
|
|
582
|
-
}
|
|
583
|
-
const data = await parseBody(output.body, context);
|
|
584
|
-
let contents = {};
|
|
585
|
-
contents = de_ListVpcConnectorsResponse(data, context);
|
|
586
|
-
const response = {
|
|
587
|
-
$metadata: deserializeMetadata(output),
|
|
588
|
-
...contents,
|
|
589
|
-
};
|
|
590
|
-
return response;
|
|
591
|
-
};
|
|
592
|
-
export const de_ListVpcIngressConnectionsCommand = async (output, context) => {
|
|
593
|
-
if (output.statusCode >= 300) {
|
|
594
|
-
return de_CommandError(output, context);
|
|
595
|
-
}
|
|
596
|
-
const data = await parseBody(output.body, context);
|
|
597
|
-
let contents = {};
|
|
598
|
-
contents = _json(data);
|
|
599
|
-
const response = {
|
|
600
|
-
$metadata: deserializeMetadata(output),
|
|
601
|
-
...contents,
|
|
602
|
-
};
|
|
603
|
-
return response;
|
|
604
|
-
};
|
|
605
|
-
export const de_PauseServiceCommand = async (output, context) => {
|
|
606
|
-
if (output.statusCode >= 300) {
|
|
607
|
-
return de_CommandError(output, context);
|
|
608
|
-
}
|
|
609
|
-
const data = await parseBody(output.body, context);
|
|
610
|
-
let contents = {};
|
|
611
|
-
contents = de_PauseServiceResponse(data, context);
|
|
612
|
-
const response = {
|
|
613
|
-
$metadata: deserializeMetadata(output),
|
|
614
|
-
...contents,
|
|
615
|
-
};
|
|
616
|
-
return response;
|
|
617
|
-
};
|
|
618
|
-
export const de_ResumeServiceCommand = async (output, context) => {
|
|
619
|
-
if (output.statusCode >= 300) {
|
|
620
|
-
return de_CommandError(output, context);
|
|
621
|
-
}
|
|
622
|
-
const data = await parseBody(output.body, context);
|
|
623
|
-
let contents = {};
|
|
624
|
-
contents = de_ResumeServiceResponse(data, context);
|
|
625
|
-
const response = {
|
|
626
|
-
$metadata: deserializeMetadata(output),
|
|
627
|
-
...contents,
|
|
628
|
-
};
|
|
629
|
-
return response;
|
|
630
|
-
};
|
|
631
|
-
export const de_StartDeploymentCommand = async (output, context) => {
|
|
632
|
-
if (output.statusCode >= 300) {
|
|
633
|
-
return de_CommandError(output, context);
|
|
634
|
-
}
|
|
635
|
-
const data = await parseBody(output.body, context);
|
|
636
|
-
let contents = {};
|
|
637
|
-
contents = _json(data);
|
|
638
|
-
const response = {
|
|
639
|
-
$metadata: deserializeMetadata(output),
|
|
640
|
-
...contents,
|
|
641
|
-
};
|
|
642
|
-
return response;
|
|
643
|
-
};
|
|
644
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
645
|
-
if (output.statusCode >= 300) {
|
|
646
|
-
return de_CommandError(output, context);
|
|
647
|
-
}
|
|
648
|
-
const data = await parseBody(output.body, context);
|
|
649
|
-
let contents = {};
|
|
650
|
-
contents = _json(data);
|
|
651
|
-
const response = {
|
|
652
|
-
$metadata: deserializeMetadata(output),
|
|
653
|
-
...contents,
|
|
654
|
-
};
|
|
655
|
-
return response;
|
|
656
|
-
};
|
|
657
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
658
|
-
if (output.statusCode >= 300) {
|
|
659
|
-
return de_CommandError(output, context);
|
|
660
|
-
}
|
|
661
|
-
const data = await parseBody(output.body, context);
|
|
662
|
-
let contents = {};
|
|
663
|
-
contents = _json(data);
|
|
664
|
-
const response = {
|
|
665
|
-
$metadata: deserializeMetadata(output),
|
|
666
|
-
...contents,
|
|
667
|
-
};
|
|
668
|
-
return response;
|
|
669
|
-
};
|
|
670
|
-
export const de_UpdateDefaultAutoScalingConfigurationCommand = async (output, context) => {
|
|
671
|
-
if (output.statusCode >= 300) {
|
|
672
|
-
return de_CommandError(output, context);
|
|
673
|
-
}
|
|
674
|
-
const data = await parseBody(output.body, context);
|
|
675
|
-
let contents = {};
|
|
676
|
-
contents = de_UpdateDefaultAutoScalingConfigurationResponse(data, context);
|
|
677
|
-
const response = {
|
|
678
|
-
$metadata: deserializeMetadata(output),
|
|
679
|
-
...contents,
|
|
680
|
-
};
|
|
681
|
-
return response;
|
|
682
|
-
};
|
|
683
|
-
export const de_UpdateServiceCommand = async (output, context) => {
|
|
684
|
-
if (output.statusCode >= 300) {
|
|
685
|
-
return de_CommandError(output, context);
|
|
686
|
-
}
|
|
687
|
-
const data = await parseBody(output.body, context);
|
|
688
|
-
let contents = {};
|
|
689
|
-
contents = de_UpdateServiceResponse(data, context);
|
|
690
|
-
const response = {
|
|
691
|
-
$metadata: deserializeMetadata(output),
|
|
692
|
-
...contents,
|
|
693
|
-
};
|
|
694
|
-
return response;
|
|
695
|
-
};
|
|
696
|
-
export const de_UpdateVpcIngressConnectionCommand = async (output, context) => {
|
|
697
|
-
if (output.statusCode >= 300) {
|
|
698
|
-
return de_CommandError(output, context);
|
|
699
|
-
}
|
|
700
|
-
const data = await parseBody(output.body, context);
|
|
701
|
-
let contents = {};
|
|
702
|
-
contents = de_UpdateVpcIngressConnectionResponse(data, context);
|
|
703
|
-
const response = {
|
|
704
|
-
$metadata: deserializeMetadata(output),
|
|
705
|
-
...contents,
|
|
706
|
-
};
|
|
707
|
-
return response;
|
|
708
|
-
};
|
|
709
|
-
const de_CommandError = async (output, context) => {
|
|
710
|
-
const parsedOutput = {
|
|
711
|
-
...output,
|
|
712
|
-
body: await parseErrorBody(output.body, context),
|
|
713
|
-
};
|
|
714
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
715
|
-
switch (errorCode) {
|
|
716
|
-
case "InternalServiceErrorException":
|
|
717
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
718
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
719
|
-
case "InvalidRequestException":
|
|
720
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
721
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
722
|
-
case "InvalidStateException":
|
|
723
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
724
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
725
|
-
case "ServiceQuotaExceededException":
|
|
726
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
727
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
728
|
-
case "ResourceNotFoundException":
|
|
729
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
730
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
731
|
-
default:
|
|
732
|
-
const parsedBody = parsedOutput.body;
|
|
733
|
-
return throwDefaultError({
|
|
734
|
-
output,
|
|
735
|
-
parsedBody,
|
|
736
|
-
errorCode,
|
|
737
|
-
});
|
|
738
|
-
}
|
|
739
|
-
};
|
|
740
|
-
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
741
|
-
const body = parsedOutput.body;
|
|
742
|
-
const deserialized = _json(body);
|
|
743
|
-
const exception = new InternalServiceErrorException({
|
|
744
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
745
|
-
...deserialized,
|
|
746
|
-
});
|
|
747
|
-
return __decorateServiceException(exception, body);
|
|
748
|
-
};
|
|
749
|
-
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
750
|
-
const body = parsedOutput.body;
|
|
751
|
-
const deserialized = _json(body);
|
|
752
|
-
const exception = new InvalidRequestException({
|
|
753
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
754
|
-
...deserialized,
|
|
755
|
-
});
|
|
756
|
-
return __decorateServiceException(exception, body);
|
|
757
|
-
};
|
|
758
|
-
const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
|
|
759
|
-
const body = parsedOutput.body;
|
|
760
|
-
const deserialized = _json(body);
|
|
761
|
-
const exception = new InvalidStateException({
|
|
762
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
763
|
-
...deserialized,
|
|
764
|
-
});
|
|
765
|
-
return __decorateServiceException(exception, body);
|
|
766
|
-
};
|
|
767
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
768
|
-
const body = parsedOutput.body;
|
|
769
|
-
const deserialized = _json(body);
|
|
770
|
-
const exception = new ResourceNotFoundException({
|
|
771
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
772
|
-
...deserialized,
|
|
773
|
-
});
|
|
774
|
-
return __decorateServiceException(exception, body);
|
|
775
|
-
};
|
|
776
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
777
|
-
const body = parsedOutput.body;
|
|
778
|
-
const deserialized = _json(body);
|
|
779
|
-
const exception = new ServiceQuotaExceededException({
|
|
780
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
781
|
-
...deserialized,
|
|
782
|
-
});
|
|
783
|
-
return __decorateServiceException(exception, body);
|
|
784
|
-
};
|
|
785
|
-
const de_AutoScalingConfiguration = (output, context) => {
|
|
786
|
-
return take(output, {
|
|
787
|
-
AutoScalingConfigurationArn: __expectString,
|
|
788
|
-
AutoScalingConfigurationName: __expectString,
|
|
789
|
-
AutoScalingConfigurationRevision: __expectInt32,
|
|
790
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
791
|
-
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
792
|
-
HasAssociatedService: __expectBoolean,
|
|
793
|
-
IsDefault: __expectBoolean,
|
|
794
|
-
Latest: __expectBoolean,
|
|
795
|
-
MaxConcurrency: __expectInt32,
|
|
796
|
-
MaxSize: __expectInt32,
|
|
797
|
-
MinSize: __expectInt32,
|
|
798
|
-
Status: __expectString,
|
|
799
|
-
});
|
|
800
|
-
};
|
|
801
|
-
const de_AutoScalingConfigurationSummary = (output, context) => {
|
|
802
|
-
return take(output, {
|
|
803
|
-
AutoScalingConfigurationArn: __expectString,
|
|
804
|
-
AutoScalingConfigurationName: __expectString,
|
|
805
|
-
AutoScalingConfigurationRevision: __expectInt32,
|
|
806
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
807
|
-
HasAssociatedService: __expectBoolean,
|
|
808
|
-
IsDefault: __expectBoolean,
|
|
809
|
-
Status: __expectString,
|
|
810
|
-
});
|
|
811
|
-
};
|
|
812
|
-
const de_AutoScalingConfigurationSummaryList = (output, context) => {
|
|
813
|
-
const retVal = (output || [])
|
|
814
|
-
.filter((e) => e != null)
|
|
815
|
-
.map((entry) => {
|
|
816
|
-
return de_AutoScalingConfigurationSummary(entry, context);
|
|
817
|
-
});
|
|
818
|
-
return retVal;
|
|
819
|
-
};
|
|
820
|
-
const de_Connection = (output, context) => {
|
|
821
|
-
return take(output, {
|
|
822
|
-
ConnectionArn: __expectString,
|
|
823
|
-
ConnectionName: __expectString,
|
|
824
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
825
|
-
ProviderType: __expectString,
|
|
826
|
-
Status: __expectString,
|
|
827
|
-
});
|
|
828
|
-
};
|
|
829
|
-
const de_ConnectionSummary = (output, context) => {
|
|
830
|
-
return take(output, {
|
|
831
|
-
ConnectionArn: __expectString,
|
|
832
|
-
ConnectionName: __expectString,
|
|
833
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
834
|
-
ProviderType: __expectString,
|
|
835
|
-
Status: __expectString,
|
|
836
|
-
});
|
|
837
|
-
};
|
|
838
|
-
const de_ConnectionSummaryList = (output, context) => {
|
|
839
|
-
const retVal = (output || [])
|
|
840
|
-
.filter((e) => e != null)
|
|
841
|
-
.map((entry) => {
|
|
842
|
-
return de_ConnectionSummary(entry, context);
|
|
843
|
-
});
|
|
844
|
-
return retVal;
|
|
845
|
-
};
|
|
846
|
-
const de_CreateAutoScalingConfigurationResponse = (output, context) => {
|
|
847
|
-
return take(output, {
|
|
848
|
-
AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_, context),
|
|
849
|
-
});
|
|
850
|
-
};
|
|
851
|
-
const de_CreateConnectionResponse = (output, context) => {
|
|
852
|
-
return take(output, {
|
|
853
|
-
Connection: (_) => de_Connection(_, context),
|
|
854
|
-
});
|
|
855
|
-
};
|
|
856
|
-
const de_CreateObservabilityConfigurationResponse = (output, context) => {
|
|
857
|
-
return take(output, {
|
|
858
|
-
ObservabilityConfiguration: (_) => de_ObservabilityConfiguration(_, context),
|
|
859
|
-
});
|
|
860
|
-
};
|
|
861
|
-
const de_CreateServiceResponse = (output, context) => {
|
|
862
|
-
return take(output, {
|
|
863
|
-
OperationId: __expectString,
|
|
864
|
-
Service: (_) => de_Service(_, context),
|
|
865
|
-
});
|
|
866
|
-
};
|
|
867
|
-
const de_CreateVpcConnectorResponse = (output, context) => {
|
|
868
|
-
return take(output, {
|
|
869
|
-
VpcConnector: (_) => de_VpcConnector(_, context),
|
|
870
|
-
});
|
|
871
|
-
};
|
|
872
|
-
const de_CreateVpcIngressConnectionResponse = (output, context) => {
|
|
873
|
-
return take(output, {
|
|
874
|
-
VpcIngressConnection: (_) => de_VpcIngressConnection(_, context),
|
|
875
|
-
});
|
|
876
|
-
};
|
|
877
|
-
const de_DeleteAutoScalingConfigurationResponse = (output, context) => {
|
|
878
|
-
return take(output, {
|
|
879
|
-
AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_, context),
|
|
880
|
-
});
|
|
881
|
-
};
|
|
882
|
-
const de_DeleteConnectionResponse = (output, context) => {
|
|
883
|
-
return take(output, {
|
|
884
|
-
Connection: (_) => de_Connection(_, context),
|
|
885
|
-
});
|
|
886
|
-
};
|
|
887
|
-
const de_DeleteObservabilityConfigurationResponse = (output, context) => {
|
|
888
|
-
return take(output, {
|
|
889
|
-
ObservabilityConfiguration: (_) => de_ObservabilityConfiguration(_, context),
|
|
890
|
-
});
|
|
891
|
-
};
|
|
892
|
-
const de_DeleteServiceResponse = (output, context) => {
|
|
893
|
-
return take(output, {
|
|
894
|
-
OperationId: __expectString,
|
|
895
|
-
Service: (_) => de_Service(_, context),
|
|
896
|
-
});
|
|
897
|
-
};
|
|
898
|
-
const de_DeleteVpcConnectorResponse = (output, context) => {
|
|
899
|
-
return take(output, {
|
|
900
|
-
VpcConnector: (_) => de_VpcConnector(_, context),
|
|
901
|
-
});
|
|
902
|
-
};
|
|
903
|
-
const de_DeleteVpcIngressConnectionResponse = (output, context) => {
|
|
904
|
-
return take(output, {
|
|
905
|
-
VpcIngressConnection: (_) => de_VpcIngressConnection(_, context),
|
|
906
|
-
});
|
|
907
|
-
};
|
|
908
|
-
const de_DescribeAutoScalingConfigurationResponse = (output, context) => {
|
|
909
|
-
return take(output, {
|
|
910
|
-
AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_, context),
|
|
911
|
-
});
|
|
912
|
-
};
|
|
913
|
-
const de_DescribeObservabilityConfigurationResponse = (output, context) => {
|
|
914
|
-
return take(output, {
|
|
915
|
-
ObservabilityConfiguration: (_) => de_ObservabilityConfiguration(_, context),
|
|
916
|
-
});
|
|
917
|
-
};
|
|
918
|
-
const de_DescribeServiceResponse = (output, context) => {
|
|
919
|
-
return take(output, {
|
|
920
|
-
Service: (_) => de_Service(_, context),
|
|
921
|
-
});
|
|
922
|
-
};
|
|
923
|
-
const de_DescribeVpcConnectorResponse = (output, context) => {
|
|
924
|
-
return take(output, {
|
|
925
|
-
VpcConnector: (_) => de_VpcConnector(_, context),
|
|
926
|
-
});
|
|
927
|
-
};
|
|
928
|
-
const de_DescribeVpcIngressConnectionResponse = (output, context) => {
|
|
929
|
-
return take(output, {
|
|
930
|
-
VpcIngressConnection: (_) => de_VpcIngressConnection(_, context),
|
|
931
|
-
});
|
|
932
|
-
};
|
|
933
|
-
const de_ListAutoScalingConfigurationsResponse = (output, context) => {
|
|
934
|
-
return take(output, {
|
|
935
|
-
AutoScalingConfigurationSummaryList: (_) => de_AutoScalingConfigurationSummaryList(_, context),
|
|
936
|
-
NextToken: __expectString,
|
|
937
|
-
});
|
|
938
|
-
};
|
|
939
|
-
const de_ListConnectionsResponse = (output, context) => {
|
|
940
|
-
return take(output, {
|
|
941
|
-
ConnectionSummaryList: (_) => de_ConnectionSummaryList(_, context),
|
|
942
|
-
NextToken: __expectString,
|
|
943
|
-
});
|
|
944
|
-
};
|
|
945
|
-
const de_ListOperationsResponse = (output, context) => {
|
|
946
|
-
return take(output, {
|
|
947
|
-
NextToken: __expectString,
|
|
948
|
-
OperationSummaryList: (_) => de_OperationSummaryList(_, context),
|
|
949
|
-
});
|
|
950
|
-
};
|
|
951
|
-
const de_ListServicesResponse = (output, context) => {
|
|
952
|
-
return take(output, {
|
|
953
|
-
NextToken: __expectString,
|
|
954
|
-
ServiceSummaryList: (_) => de_ServiceSummaryList(_, context),
|
|
955
|
-
});
|
|
956
|
-
};
|
|
957
|
-
const de_ListVpcConnectorsResponse = (output, context) => {
|
|
958
|
-
return take(output, {
|
|
959
|
-
NextToken: __expectString,
|
|
960
|
-
VpcConnectors: (_) => de_VpcConnectors(_, context),
|
|
961
|
-
});
|
|
962
|
-
};
|
|
963
|
-
const de_ObservabilityConfiguration = (output, context) => {
|
|
964
|
-
return take(output, {
|
|
965
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
966
|
-
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
967
|
-
Latest: __expectBoolean,
|
|
968
|
-
ObservabilityConfigurationArn: __expectString,
|
|
969
|
-
ObservabilityConfigurationName: __expectString,
|
|
970
|
-
ObservabilityConfigurationRevision: __expectInt32,
|
|
971
|
-
Status: __expectString,
|
|
972
|
-
TraceConfiguration: _json,
|
|
973
|
-
});
|
|
974
|
-
};
|
|
975
|
-
const de_OperationSummary = (output, context) => {
|
|
976
|
-
return take(output, {
|
|
977
|
-
EndedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
978
|
-
Id: __expectString,
|
|
979
|
-
StartedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
980
|
-
Status: __expectString,
|
|
981
|
-
TargetArn: __expectString,
|
|
982
|
-
Type: __expectString,
|
|
983
|
-
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
984
|
-
});
|
|
985
|
-
};
|
|
986
|
-
const de_OperationSummaryList = (output, context) => {
|
|
987
|
-
const retVal = (output || [])
|
|
988
|
-
.filter((e) => e != null)
|
|
989
|
-
.map((entry) => {
|
|
990
|
-
return de_OperationSummary(entry, context);
|
|
991
|
-
});
|
|
992
|
-
return retVal;
|
|
993
|
-
};
|
|
994
|
-
const de_PauseServiceResponse = (output, context) => {
|
|
995
|
-
return take(output, {
|
|
996
|
-
OperationId: __expectString,
|
|
997
|
-
Service: (_) => de_Service(_, context),
|
|
998
|
-
});
|
|
999
|
-
};
|
|
1000
|
-
const de_ResumeServiceResponse = (output, context) => {
|
|
1001
|
-
return take(output, {
|
|
1002
|
-
OperationId: __expectString,
|
|
1003
|
-
Service: (_) => de_Service(_, context),
|
|
1004
|
-
});
|
|
1005
|
-
};
|
|
1006
|
-
const de_Service = (output, context) => {
|
|
1007
|
-
return take(output, {
|
|
1008
|
-
AutoScalingConfigurationSummary: (_) => de_AutoScalingConfigurationSummary(_, context),
|
|
1009
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1010
|
-
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1011
|
-
EncryptionConfiguration: _json,
|
|
1012
|
-
HealthCheckConfiguration: _json,
|
|
1013
|
-
InstanceConfiguration: _json,
|
|
1014
|
-
NetworkConfiguration: _json,
|
|
1015
|
-
ObservabilityConfiguration: _json,
|
|
1016
|
-
ServiceArn: __expectString,
|
|
1017
|
-
ServiceId: __expectString,
|
|
1018
|
-
ServiceName: __expectString,
|
|
1019
|
-
ServiceUrl: __expectString,
|
|
1020
|
-
SourceConfiguration: _json,
|
|
1021
|
-
Status: __expectString,
|
|
1022
|
-
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1023
|
-
});
|
|
1024
|
-
};
|
|
1025
|
-
const de_ServiceSummary = (output, context) => {
|
|
1026
|
-
return take(output, {
|
|
1027
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1028
|
-
ServiceArn: __expectString,
|
|
1029
|
-
ServiceId: __expectString,
|
|
1030
|
-
ServiceName: __expectString,
|
|
1031
|
-
ServiceUrl: __expectString,
|
|
1032
|
-
Status: __expectString,
|
|
1033
|
-
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1034
|
-
});
|
|
1035
|
-
};
|
|
1036
|
-
const de_ServiceSummaryList = (output, context) => {
|
|
1037
|
-
const retVal = (output || [])
|
|
1038
|
-
.filter((e) => e != null)
|
|
1039
|
-
.map((entry) => {
|
|
1040
|
-
return de_ServiceSummary(entry, context);
|
|
1041
|
-
});
|
|
1042
|
-
return retVal;
|
|
1043
|
-
};
|
|
1044
|
-
const de_UpdateDefaultAutoScalingConfigurationResponse = (output, context) => {
|
|
1045
|
-
return take(output, {
|
|
1046
|
-
AutoScalingConfiguration: (_) => de_AutoScalingConfiguration(_, context),
|
|
1047
|
-
});
|
|
1048
|
-
};
|
|
1049
|
-
const de_UpdateServiceResponse = (output, context) => {
|
|
1050
|
-
return take(output, {
|
|
1051
|
-
OperationId: __expectString,
|
|
1052
|
-
Service: (_) => de_Service(_, context),
|
|
1053
|
-
});
|
|
1054
|
-
};
|
|
1055
|
-
const de_UpdateVpcIngressConnectionResponse = (output, context) => {
|
|
1056
|
-
return take(output, {
|
|
1057
|
-
VpcIngressConnection: (_) => de_VpcIngressConnection(_, context),
|
|
1058
|
-
});
|
|
1059
|
-
};
|
|
1060
|
-
const de_VpcConnector = (output, context) => {
|
|
1061
|
-
return take(output, {
|
|
1062
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1063
|
-
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1064
|
-
SecurityGroups: _json,
|
|
1065
|
-
Status: __expectString,
|
|
1066
|
-
Subnets: _json,
|
|
1067
|
-
VpcConnectorArn: __expectString,
|
|
1068
|
-
VpcConnectorName: __expectString,
|
|
1069
|
-
VpcConnectorRevision: __expectInt32,
|
|
1070
|
-
});
|
|
1071
|
-
};
|
|
1072
|
-
const de_VpcConnectors = (output, context) => {
|
|
1073
|
-
const retVal = (output || [])
|
|
1074
|
-
.filter((e) => e != null)
|
|
1075
|
-
.map((entry) => {
|
|
1076
|
-
return de_VpcConnector(entry, context);
|
|
1077
|
-
});
|
|
1078
|
-
return retVal;
|
|
1079
|
-
};
|
|
1080
|
-
const de_VpcIngressConnection = (output, context) => {
|
|
1081
|
-
return take(output, {
|
|
1082
|
-
AccountId: __expectString,
|
|
1083
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1084
|
-
DeletedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1085
|
-
DomainName: __expectString,
|
|
1086
|
-
IngressVpcConfiguration: _json,
|
|
1087
|
-
ServiceArn: __expectString,
|
|
1088
|
-
Status: __expectString,
|
|
1089
|
-
VpcIngressConnectionArn: __expectString,
|
|
1090
|
-
VpcIngressConnectionName: __expectString,
|
|
1091
|
-
});
|
|
1092
|
-
};
|
|
1093
|
-
const deserializeMetadata = (output) => ({
|
|
1094
|
-
httpStatusCode: output.statusCode,
|
|
1095
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1096
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1097
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1098
|
-
});
|
|
1099
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1100
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1101
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1102
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1103
|
-
const contents = {
|
|
1104
|
-
protocol,
|
|
1105
|
-
hostname,
|
|
1106
|
-
port,
|
|
1107
|
-
method: "POST",
|
|
1108
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1109
|
-
headers,
|
|
1110
|
-
};
|
|
1111
|
-
if (resolvedHostname !== undefined) {
|
|
1112
|
-
contents.hostname = resolvedHostname;
|
|
1113
|
-
}
|
|
1114
|
-
if (body !== undefined) {
|
|
1115
|
-
contents.body = body;
|
|
1116
|
-
}
|
|
1117
|
-
return new __HttpRequest(contents);
|
|
1118
|
-
};
|
|
1119
|
-
function sharedHeaders(operation) {
|
|
1120
|
-
return {
|
|
1121
|
-
"content-type": "application/x-amz-json-1.0",
|
|
1122
|
-
"x-amz-target": `AppRunner.${operation}`,
|
|
1123
|
-
};
|
|
1124
|
-
}
|