@aws-sdk/client-apprunner 3.199.0 → 3.200.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/CHANGELOG.md +11 -0
- package/dist-cjs/AppRunner.js +75 -0
- package/dist-cjs/commands/CreateVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/DeleteVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/DescribeVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/ListVpcIngressConnectionsCommand.js +46 -0
- package/dist-cjs/commands/UpdateVpcIngressConnectionCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +78 -3
- package/dist-cjs/pagination/ListVpcIngressConnectionsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +416 -2
- package/dist-es/AppRunner.js +75 -0
- package/dist-es/commands/CreateVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/DeleteVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/DescribeVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/ListVpcIngressConnectionsCommand.js +42 -0
- package/dist-es/commands/UpdateVpcIngressConnectionCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +59 -0
- package/dist-es/pagination/ListVpcIngressConnectionsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +404 -0
- package/dist-types/AppRunner.d.ts +79 -0
- package/dist-types/AppRunnerClient.d.ts +7 -2
- package/dist-types/commands/CreateVpcIngressConnectionCommand.d.ts +37 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteVpcIngressConnectionCommand.d.ts +60 -0
- package/dist-types/commands/DescribeVpcIngressConnectionCommand.d.ts +37 -0
- package/dist-types/commands/ListVpcIngressConnectionsCommand.d.ts +37 -0
- package/dist-types/commands/UpdateVpcIngressConnectionCommand.d.ts +54 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +330 -1
- package/dist-types/pagination/ListVpcIngressConnectionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +15 -0
- package/dist-types/ts3.4/AppRunner.d.ts +85 -0
- package/dist-types/ts3.4/AppRunnerClient.d.ts +32 -2
- package/dist-types/ts3.4/commands/CreateVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVpcIngressConnectionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateVpcIngressConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +129 -1
- package/dist-types/ts3.4/pagination/ListVpcIngressConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
- package/package.json +28 -28
|
@@ -56,6 +56,15 @@ export const serializeAws_json1_0CreateVpcConnectorCommand = async (input, conte
|
|
|
56
56
|
body = JSON.stringify(serializeAws_json1_0CreateVpcConnectorRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
+
export const serializeAws_json1_0CreateVpcIngressConnectionCommand = async (input, context) => {
|
|
60
|
+
const headers = {
|
|
61
|
+
"content-type": "application/x-amz-json-1.0",
|
|
62
|
+
"x-amz-target": "AppRunner.CreateVpcIngressConnection",
|
|
63
|
+
};
|
|
64
|
+
let body;
|
|
65
|
+
body = JSON.stringify(serializeAws_json1_0CreateVpcIngressConnectionRequest(input, context));
|
|
66
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
|
+
};
|
|
59
68
|
export const serializeAws_json1_0DeleteAutoScalingConfigurationCommand = async (input, context) => {
|
|
60
69
|
const headers = {
|
|
61
70
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -101,6 +110,15 @@ export const serializeAws_json1_0DeleteVpcConnectorCommand = async (input, conte
|
|
|
101
110
|
body = JSON.stringify(serializeAws_json1_0DeleteVpcConnectorRequest(input, context));
|
|
102
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
112
|
};
|
|
113
|
+
export const serializeAws_json1_0DeleteVpcIngressConnectionCommand = async (input, context) => {
|
|
114
|
+
const headers = {
|
|
115
|
+
"content-type": "application/x-amz-json-1.0",
|
|
116
|
+
"x-amz-target": "AppRunner.DeleteVpcIngressConnection",
|
|
117
|
+
};
|
|
118
|
+
let body;
|
|
119
|
+
body = JSON.stringify(serializeAws_json1_0DeleteVpcIngressConnectionRequest(input, context));
|
|
120
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
|
+
};
|
|
104
122
|
export const serializeAws_json1_0DescribeAutoScalingConfigurationCommand = async (input, context) => {
|
|
105
123
|
const headers = {
|
|
106
124
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -146,6 +164,15 @@ export const serializeAws_json1_0DescribeVpcConnectorCommand = async (input, con
|
|
|
146
164
|
body = JSON.stringify(serializeAws_json1_0DescribeVpcConnectorRequest(input, context));
|
|
147
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
166
|
};
|
|
167
|
+
export const serializeAws_json1_0DescribeVpcIngressConnectionCommand = async (input, context) => {
|
|
168
|
+
const headers = {
|
|
169
|
+
"content-type": "application/x-amz-json-1.0",
|
|
170
|
+
"x-amz-target": "AppRunner.DescribeVpcIngressConnection",
|
|
171
|
+
};
|
|
172
|
+
let body;
|
|
173
|
+
body = JSON.stringify(serializeAws_json1_0DescribeVpcIngressConnectionRequest(input, context));
|
|
174
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
|
+
};
|
|
149
176
|
export const serializeAws_json1_0DisassociateCustomDomainCommand = async (input, context) => {
|
|
150
177
|
const headers = {
|
|
151
178
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -218,6 +245,15 @@ export const serializeAws_json1_0ListVpcConnectorsCommand = async (input, contex
|
|
|
218
245
|
body = JSON.stringify(serializeAws_json1_0ListVpcConnectorsRequest(input, context));
|
|
219
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
247
|
};
|
|
248
|
+
export const serializeAws_json1_0ListVpcIngressConnectionsCommand = async (input, context) => {
|
|
249
|
+
const headers = {
|
|
250
|
+
"content-type": "application/x-amz-json-1.0",
|
|
251
|
+
"x-amz-target": "AppRunner.ListVpcIngressConnections",
|
|
252
|
+
};
|
|
253
|
+
let body;
|
|
254
|
+
body = JSON.stringify(serializeAws_json1_0ListVpcIngressConnectionsRequest(input, context));
|
|
255
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
|
+
};
|
|
221
257
|
export const serializeAws_json1_0PauseServiceCommand = async (input, context) => {
|
|
222
258
|
const headers = {
|
|
223
259
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -272,6 +308,15 @@ export const serializeAws_json1_0UpdateServiceCommand = async (input, context) =
|
|
|
272
308
|
body = JSON.stringify(serializeAws_json1_0UpdateServiceRequest(input, context));
|
|
273
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
310
|
};
|
|
311
|
+
export const serializeAws_json1_0UpdateVpcIngressConnectionCommand = async (input, context) => {
|
|
312
|
+
const headers = {
|
|
313
|
+
"content-type": "application/x-amz-json-1.0",
|
|
314
|
+
"x-amz-target": "AppRunner.UpdateVpcIngressConnection",
|
|
315
|
+
};
|
|
316
|
+
let body;
|
|
317
|
+
body = JSON.stringify(serializeAws_json1_0UpdateVpcIngressConnectionRequest(input, context));
|
|
318
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
|
+
};
|
|
275
320
|
export const deserializeAws_json1_0AssociateCustomDomainCommand = async (output, context) => {
|
|
276
321
|
if (output.statusCode >= 300) {
|
|
277
322
|
return deserializeAws_json1_0AssociateCustomDomainCommandError(output, context);
|
|
@@ -506,6 +551,48 @@ const deserializeAws_json1_0CreateVpcConnectorCommandError = async (output, cont
|
|
|
506
551
|
});
|
|
507
552
|
}
|
|
508
553
|
};
|
|
554
|
+
export const deserializeAws_json1_0CreateVpcIngressConnectionCommand = async (output, context) => {
|
|
555
|
+
if (output.statusCode >= 300) {
|
|
556
|
+
return deserializeAws_json1_0CreateVpcIngressConnectionCommandError(output, context);
|
|
557
|
+
}
|
|
558
|
+
const data = await parseBody(output.body, context);
|
|
559
|
+
let contents = {};
|
|
560
|
+
contents = deserializeAws_json1_0CreateVpcIngressConnectionResponse(data, context);
|
|
561
|
+
const response = {
|
|
562
|
+
$metadata: deserializeMetadata(output),
|
|
563
|
+
...contents,
|
|
564
|
+
};
|
|
565
|
+
return Promise.resolve(response);
|
|
566
|
+
};
|
|
567
|
+
const deserializeAws_json1_0CreateVpcIngressConnectionCommandError = async (output, context) => {
|
|
568
|
+
const parsedOutput = {
|
|
569
|
+
...output,
|
|
570
|
+
body: await parseErrorBody(output.body, context),
|
|
571
|
+
};
|
|
572
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
573
|
+
switch (errorCode) {
|
|
574
|
+
case "InternalServiceErrorException":
|
|
575
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
576
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
577
|
+
case "InvalidRequestException":
|
|
578
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
579
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
580
|
+
case "InvalidStateException":
|
|
581
|
+
case "com.amazonaws.apprunner#InvalidStateException":
|
|
582
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
583
|
+
case "ServiceQuotaExceededException":
|
|
584
|
+
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
585
|
+
throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
586
|
+
default:
|
|
587
|
+
const parsedBody = parsedOutput.body;
|
|
588
|
+
throwDefaultError({
|
|
589
|
+
output,
|
|
590
|
+
parsedBody,
|
|
591
|
+
exceptionCtor: __BaseException,
|
|
592
|
+
errorCode,
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
};
|
|
509
596
|
export const deserializeAws_json1_0DeleteAutoScalingConfigurationCommand = async (output, context) => {
|
|
510
597
|
if (output.statusCode >= 300) {
|
|
511
598
|
return deserializeAws_json1_0DeleteAutoScalingConfigurationCommandError(output, context);
|
|
@@ -704,6 +791,48 @@ const deserializeAws_json1_0DeleteVpcConnectorCommandError = async (output, cont
|
|
|
704
791
|
});
|
|
705
792
|
}
|
|
706
793
|
};
|
|
794
|
+
export const deserializeAws_json1_0DeleteVpcIngressConnectionCommand = async (output, context) => {
|
|
795
|
+
if (output.statusCode >= 300) {
|
|
796
|
+
return deserializeAws_json1_0DeleteVpcIngressConnectionCommandError(output, context);
|
|
797
|
+
}
|
|
798
|
+
const data = await parseBody(output.body, context);
|
|
799
|
+
let contents = {};
|
|
800
|
+
contents = deserializeAws_json1_0DeleteVpcIngressConnectionResponse(data, context);
|
|
801
|
+
const response = {
|
|
802
|
+
$metadata: deserializeMetadata(output),
|
|
803
|
+
...contents,
|
|
804
|
+
};
|
|
805
|
+
return Promise.resolve(response);
|
|
806
|
+
};
|
|
807
|
+
const deserializeAws_json1_0DeleteVpcIngressConnectionCommandError = async (output, context) => {
|
|
808
|
+
const parsedOutput = {
|
|
809
|
+
...output,
|
|
810
|
+
body: await parseErrorBody(output.body, context),
|
|
811
|
+
};
|
|
812
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
813
|
+
switch (errorCode) {
|
|
814
|
+
case "InternalServiceErrorException":
|
|
815
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
816
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
817
|
+
case "InvalidRequestException":
|
|
818
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
819
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
820
|
+
case "InvalidStateException":
|
|
821
|
+
case "com.amazonaws.apprunner#InvalidStateException":
|
|
822
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
823
|
+
case "ResourceNotFoundException":
|
|
824
|
+
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
825
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
826
|
+
default:
|
|
827
|
+
const parsedBody = parsedOutput.body;
|
|
828
|
+
throwDefaultError({
|
|
829
|
+
output,
|
|
830
|
+
parsedBody,
|
|
831
|
+
exceptionCtor: __BaseException,
|
|
832
|
+
errorCode,
|
|
833
|
+
});
|
|
834
|
+
}
|
|
835
|
+
};
|
|
707
836
|
export const deserializeAws_json1_0DescribeAutoScalingConfigurationCommand = async (output, context) => {
|
|
708
837
|
if (output.statusCode >= 300) {
|
|
709
838
|
return deserializeAws_json1_0DescribeAutoScalingConfigurationCommandError(output, context);
|
|
@@ -899,6 +1028,45 @@ const deserializeAws_json1_0DescribeVpcConnectorCommandError = async (output, co
|
|
|
899
1028
|
});
|
|
900
1029
|
}
|
|
901
1030
|
};
|
|
1031
|
+
export const deserializeAws_json1_0DescribeVpcIngressConnectionCommand = async (output, context) => {
|
|
1032
|
+
if (output.statusCode >= 300) {
|
|
1033
|
+
return deserializeAws_json1_0DescribeVpcIngressConnectionCommandError(output, context);
|
|
1034
|
+
}
|
|
1035
|
+
const data = await parseBody(output.body, context);
|
|
1036
|
+
let contents = {};
|
|
1037
|
+
contents = deserializeAws_json1_0DescribeVpcIngressConnectionResponse(data, context);
|
|
1038
|
+
const response = {
|
|
1039
|
+
$metadata: deserializeMetadata(output),
|
|
1040
|
+
...contents,
|
|
1041
|
+
};
|
|
1042
|
+
return Promise.resolve(response);
|
|
1043
|
+
};
|
|
1044
|
+
const deserializeAws_json1_0DescribeVpcIngressConnectionCommandError = async (output, context) => {
|
|
1045
|
+
const parsedOutput = {
|
|
1046
|
+
...output,
|
|
1047
|
+
body: await parseErrorBody(output.body, context),
|
|
1048
|
+
};
|
|
1049
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1050
|
+
switch (errorCode) {
|
|
1051
|
+
case "InternalServiceErrorException":
|
|
1052
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1053
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1054
|
+
case "InvalidRequestException":
|
|
1055
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1056
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1057
|
+
case "ResourceNotFoundException":
|
|
1058
|
+
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1059
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1060
|
+
default:
|
|
1061
|
+
const parsedBody = parsedOutput.body;
|
|
1062
|
+
throwDefaultError({
|
|
1063
|
+
output,
|
|
1064
|
+
parsedBody,
|
|
1065
|
+
exceptionCtor: __BaseException,
|
|
1066
|
+
errorCode,
|
|
1067
|
+
});
|
|
1068
|
+
}
|
|
1069
|
+
};
|
|
902
1070
|
export const deserializeAws_json1_0DisassociateCustomDomainCommand = async (output, context) => {
|
|
903
1071
|
if (output.statusCode >= 300) {
|
|
904
1072
|
return deserializeAws_json1_0DisassociateCustomDomainCommandError(output, context);
|
|
@@ -1202,6 +1370,42 @@ const deserializeAws_json1_0ListVpcConnectorsCommandError = async (output, conte
|
|
|
1202
1370
|
});
|
|
1203
1371
|
}
|
|
1204
1372
|
};
|
|
1373
|
+
export const deserializeAws_json1_0ListVpcIngressConnectionsCommand = async (output, context) => {
|
|
1374
|
+
if (output.statusCode >= 300) {
|
|
1375
|
+
return deserializeAws_json1_0ListVpcIngressConnectionsCommandError(output, context);
|
|
1376
|
+
}
|
|
1377
|
+
const data = await parseBody(output.body, context);
|
|
1378
|
+
let contents = {};
|
|
1379
|
+
contents = deserializeAws_json1_0ListVpcIngressConnectionsResponse(data, context);
|
|
1380
|
+
const response = {
|
|
1381
|
+
$metadata: deserializeMetadata(output),
|
|
1382
|
+
...contents,
|
|
1383
|
+
};
|
|
1384
|
+
return Promise.resolve(response);
|
|
1385
|
+
};
|
|
1386
|
+
const deserializeAws_json1_0ListVpcIngressConnectionsCommandError = async (output, context) => {
|
|
1387
|
+
const parsedOutput = {
|
|
1388
|
+
...output,
|
|
1389
|
+
body: await parseErrorBody(output.body, context),
|
|
1390
|
+
};
|
|
1391
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1392
|
+
switch (errorCode) {
|
|
1393
|
+
case "InternalServiceErrorException":
|
|
1394
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1395
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1396
|
+
case "InvalidRequestException":
|
|
1397
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1398
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1399
|
+
default:
|
|
1400
|
+
const parsedBody = parsedOutput.body;
|
|
1401
|
+
throwDefaultError({
|
|
1402
|
+
output,
|
|
1403
|
+
parsedBody,
|
|
1404
|
+
exceptionCtor: __BaseException,
|
|
1405
|
+
errorCode,
|
|
1406
|
+
});
|
|
1407
|
+
}
|
|
1408
|
+
};
|
|
1205
1409
|
export const deserializeAws_json1_0PauseServiceCommand = async (output, context) => {
|
|
1206
1410
|
if (output.statusCode >= 300) {
|
|
1207
1411
|
return deserializeAws_json1_0PauseServiceCommandError(output, context);
|
|
@@ -1451,6 +1655,48 @@ const deserializeAws_json1_0UpdateServiceCommandError = async (output, context)
|
|
|
1451
1655
|
});
|
|
1452
1656
|
}
|
|
1453
1657
|
};
|
|
1658
|
+
export const deserializeAws_json1_0UpdateVpcIngressConnectionCommand = async (output, context) => {
|
|
1659
|
+
if (output.statusCode >= 300) {
|
|
1660
|
+
return deserializeAws_json1_0UpdateVpcIngressConnectionCommandError(output, context);
|
|
1661
|
+
}
|
|
1662
|
+
const data = await parseBody(output.body, context);
|
|
1663
|
+
let contents = {};
|
|
1664
|
+
contents = deserializeAws_json1_0UpdateVpcIngressConnectionResponse(data, context);
|
|
1665
|
+
const response = {
|
|
1666
|
+
$metadata: deserializeMetadata(output),
|
|
1667
|
+
...contents,
|
|
1668
|
+
};
|
|
1669
|
+
return Promise.resolve(response);
|
|
1670
|
+
};
|
|
1671
|
+
const deserializeAws_json1_0UpdateVpcIngressConnectionCommandError = async (output, context) => {
|
|
1672
|
+
const parsedOutput = {
|
|
1673
|
+
...output,
|
|
1674
|
+
body: await parseErrorBody(output.body, context),
|
|
1675
|
+
};
|
|
1676
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1677
|
+
switch (errorCode) {
|
|
1678
|
+
case "InternalServiceErrorException":
|
|
1679
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1680
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1681
|
+
case "InvalidRequestException":
|
|
1682
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1683
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1684
|
+
case "InvalidStateException":
|
|
1685
|
+
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1686
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
1687
|
+
case "ResourceNotFoundException":
|
|
1688
|
+
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1689
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1690
|
+
default:
|
|
1691
|
+
const parsedBody = parsedOutput.body;
|
|
1692
|
+
throwDefaultError({
|
|
1693
|
+
output,
|
|
1694
|
+
parsedBody,
|
|
1695
|
+
exceptionCtor: __BaseException,
|
|
1696
|
+
errorCode,
|
|
1697
|
+
});
|
|
1698
|
+
}
|
|
1699
|
+
};
|
|
1454
1700
|
const deserializeAws_json1_0InternalServiceErrorExceptionResponse = async (parsedOutput, context) => {
|
|
1455
1701
|
const body = parsedOutput.body;
|
|
1456
1702
|
const deserialized = deserializeAws_json1_0InternalServiceErrorException(body, context);
|
|
@@ -1605,6 +1851,16 @@ const serializeAws_json1_0CreateVpcConnectorRequest = (input, context) => {
|
|
|
1605
1851
|
...(input.VpcConnectorName != null && { VpcConnectorName: input.VpcConnectorName }),
|
|
1606
1852
|
};
|
|
1607
1853
|
};
|
|
1854
|
+
const serializeAws_json1_0CreateVpcIngressConnectionRequest = (input, context) => {
|
|
1855
|
+
return {
|
|
1856
|
+
...(input.IngressVpcConfiguration != null && {
|
|
1857
|
+
IngressVpcConfiguration: serializeAws_json1_0IngressVpcConfiguration(input.IngressVpcConfiguration, context),
|
|
1858
|
+
}),
|
|
1859
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1860
|
+
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1861
|
+
...(input.VpcIngressConnectionName != null && { VpcIngressConnectionName: input.VpcIngressConnectionName }),
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1608
1864
|
const serializeAws_json1_0DeleteAutoScalingConfigurationRequest = (input, context) => {
|
|
1609
1865
|
return {
|
|
1610
1866
|
...(input.AutoScalingConfigurationArn != null && {
|
|
@@ -1634,6 +1890,11 @@ const serializeAws_json1_0DeleteVpcConnectorRequest = (input, context) => {
|
|
|
1634
1890
|
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1635
1891
|
};
|
|
1636
1892
|
};
|
|
1893
|
+
const serializeAws_json1_0DeleteVpcIngressConnectionRequest = (input, context) => {
|
|
1894
|
+
return {
|
|
1895
|
+
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
1896
|
+
};
|
|
1897
|
+
};
|
|
1637
1898
|
const serializeAws_json1_0DescribeAutoScalingConfigurationRequest = (input, context) => {
|
|
1638
1899
|
return {
|
|
1639
1900
|
...(input.AutoScalingConfigurationArn != null && {
|
|
@@ -1665,6 +1926,11 @@ const serializeAws_json1_0DescribeVpcConnectorRequest = (input, context) => {
|
|
|
1665
1926
|
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1666
1927
|
};
|
|
1667
1928
|
};
|
|
1929
|
+
const serializeAws_json1_0DescribeVpcIngressConnectionRequest = (input, context) => {
|
|
1930
|
+
return {
|
|
1931
|
+
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1668
1934
|
const serializeAws_json1_0DisassociateCustomDomainRequest = (input, context) => {
|
|
1669
1935
|
return {
|
|
1670
1936
|
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
@@ -1710,6 +1976,17 @@ const serializeAws_json1_0ImageRepository = (input, context) => {
|
|
|
1710
1976
|
...(input.ImageRepositoryType != null && { ImageRepositoryType: input.ImageRepositoryType }),
|
|
1711
1977
|
};
|
|
1712
1978
|
};
|
|
1979
|
+
const serializeAws_json1_0IngressConfiguration = (input, context) => {
|
|
1980
|
+
return {
|
|
1981
|
+
...(input.IsPubliclyAccessible != null && { IsPubliclyAccessible: input.IsPubliclyAccessible }),
|
|
1982
|
+
};
|
|
1983
|
+
};
|
|
1984
|
+
const serializeAws_json1_0IngressVpcConfiguration = (input, context) => {
|
|
1985
|
+
return {
|
|
1986
|
+
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
1987
|
+
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
1988
|
+
};
|
|
1989
|
+
};
|
|
1713
1990
|
const serializeAws_json1_0InstanceConfiguration = (input, context) => {
|
|
1714
1991
|
return {
|
|
1715
1992
|
...(input.Cpu != null && { Cpu: input.Cpu }),
|
|
@@ -1768,11 +2045,27 @@ const serializeAws_json1_0ListVpcConnectorsRequest = (input, context) => {
|
|
|
1768
2045
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1769
2046
|
};
|
|
1770
2047
|
};
|
|
2048
|
+
const serializeAws_json1_0ListVpcIngressConnectionsFilter = (input, context) => {
|
|
2049
|
+
return {
|
|
2050
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2051
|
+
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
const serializeAws_json1_0ListVpcIngressConnectionsRequest = (input, context) => {
|
|
2055
|
+
return {
|
|
2056
|
+
...(input.Filter != null && { Filter: serializeAws_json1_0ListVpcIngressConnectionsFilter(input.Filter, context) }),
|
|
2057
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2058
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2059
|
+
};
|
|
2060
|
+
};
|
|
1771
2061
|
const serializeAws_json1_0NetworkConfiguration = (input, context) => {
|
|
1772
2062
|
return {
|
|
1773
2063
|
...(input.EgressConfiguration != null && {
|
|
1774
2064
|
EgressConfiguration: serializeAws_json1_0EgressConfiguration(input.EgressConfiguration, context),
|
|
1775
2065
|
}),
|
|
2066
|
+
...(input.IngressConfiguration != null && {
|
|
2067
|
+
IngressConfiguration: serializeAws_json1_0IngressConfiguration(input.IngressConfiguration, context),
|
|
2068
|
+
}),
|
|
1776
2069
|
};
|
|
1777
2070
|
};
|
|
1778
2071
|
const serializeAws_json1_0PauseServiceRequest = (input, context) => {
|
|
@@ -1896,11 +2189,20 @@ const serializeAws_json1_0UpdateServiceRequest = (input, context) => {
|
|
|
1896
2189
|
}),
|
|
1897
2190
|
};
|
|
1898
2191
|
};
|
|
2192
|
+
const serializeAws_json1_0UpdateVpcIngressConnectionRequest = (input, context) => {
|
|
2193
|
+
return {
|
|
2194
|
+
...(input.IngressVpcConfiguration != null && {
|
|
2195
|
+
IngressVpcConfiguration: serializeAws_json1_0IngressVpcConfiguration(input.IngressVpcConfiguration, context),
|
|
2196
|
+
}),
|
|
2197
|
+
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
2198
|
+
};
|
|
2199
|
+
};
|
|
1899
2200
|
const deserializeAws_json1_0AssociateCustomDomainResponse = (output, context) => {
|
|
1900
2201
|
return {
|
|
1901
2202
|
CustomDomain: output.CustomDomain != null ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context) : undefined,
|
|
1902
2203
|
DNSTarget: __expectString(output.DNSTarget),
|
|
1903
2204
|
ServiceArn: __expectString(output.ServiceArn),
|
|
2205
|
+
VpcDNSTargets: output.VpcDNSTargets != null ? deserializeAws_json1_0VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
1904
2206
|
};
|
|
1905
2207
|
};
|
|
1906
2208
|
const deserializeAws_json1_0AuthenticationConfiguration = (output, context) => {
|
|
@@ -2049,6 +2351,13 @@ const deserializeAws_json1_0CreateVpcConnectorResponse = (output, context) => {
|
|
|
2049
2351
|
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2050
2352
|
};
|
|
2051
2353
|
};
|
|
2354
|
+
const deserializeAws_json1_0CreateVpcIngressConnectionResponse = (output, context) => {
|
|
2355
|
+
return {
|
|
2356
|
+
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2357
|
+
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2358
|
+
: undefined,
|
|
2359
|
+
};
|
|
2360
|
+
};
|
|
2052
2361
|
const deserializeAws_json1_0CustomDomain = (output, context) => {
|
|
2053
2362
|
return {
|
|
2054
2363
|
CertificateValidationRecords: output.CertificateValidationRecords != null
|
|
@@ -2100,6 +2409,13 @@ const deserializeAws_json1_0DeleteVpcConnectorResponse = (output, context) => {
|
|
|
2100
2409
|
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2101
2410
|
};
|
|
2102
2411
|
};
|
|
2412
|
+
const deserializeAws_json1_0DeleteVpcIngressConnectionResponse = (output, context) => {
|
|
2413
|
+
return {
|
|
2414
|
+
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2415
|
+
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2416
|
+
: undefined,
|
|
2417
|
+
};
|
|
2418
|
+
};
|
|
2103
2419
|
const deserializeAws_json1_0DescribeAutoScalingConfigurationResponse = (output, context) => {
|
|
2104
2420
|
return {
|
|
2105
2421
|
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
@@ -2113,6 +2429,7 @@ const deserializeAws_json1_0DescribeCustomDomainsResponse = (output, context) =>
|
|
|
2113
2429
|
DNSTarget: __expectString(output.DNSTarget),
|
|
2114
2430
|
NextToken: __expectString(output.NextToken),
|
|
2115
2431
|
ServiceArn: __expectString(output.ServiceArn),
|
|
2432
|
+
VpcDNSTargets: output.VpcDNSTargets != null ? deserializeAws_json1_0VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
2116
2433
|
};
|
|
2117
2434
|
};
|
|
2118
2435
|
const deserializeAws_json1_0DescribeObservabilityConfigurationResponse = (output, context) => {
|
|
@@ -2132,11 +2449,19 @@ const deserializeAws_json1_0DescribeVpcConnectorResponse = (output, context) =>
|
|
|
2132
2449
|
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2133
2450
|
};
|
|
2134
2451
|
};
|
|
2452
|
+
const deserializeAws_json1_0DescribeVpcIngressConnectionResponse = (output, context) => {
|
|
2453
|
+
return {
|
|
2454
|
+
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2455
|
+
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2456
|
+
: undefined,
|
|
2457
|
+
};
|
|
2458
|
+
};
|
|
2135
2459
|
const deserializeAws_json1_0DisassociateCustomDomainResponse = (output, context) => {
|
|
2136
2460
|
return {
|
|
2137
2461
|
CustomDomain: output.CustomDomain != null ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context) : undefined,
|
|
2138
2462
|
DNSTarget: __expectString(output.DNSTarget),
|
|
2139
2463
|
ServiceArn: __expectString(output.ServiceArn),
|
|
2464
|
+
VpcDNSTargets: output.VpcDNSTargets != null ? deserializeAws_json1_0VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
2140
2465
|
};
|
|
2141
2466
|
};
|
|
2142
2467
|
const deserializeAws_json1_0EgressConfiguration = (output, context) => {
|
|
@@ -2178,6 +2503,17 @@ const deserializeAws_json1_0ImageRepository = (output, context) => {
|
|
|
2178
2503
|
ImageRepositoryType: __expectString(output.ImageRepositoryType),
|
|
2179
2504
|
};
|
|
2180
2505
|
};
|
|
2506
|
+
const deserializeAws_json1_0IngressConfiguration = (output, context) => {
|
|
2507
|
+
return {
|
|
2508
|
+
IsPubliclyAccessible: __expectBoolean(output.IsPubliclyAccessible),
|
|
2509
|
+
};
|
|
2510
|
+
};
|
|
2511
|
+
const deserializeAws_json1_0IngressVpcConfiguration = (output, context) => {
|
|
2512
|
+
return {
|
|
2513
|
+
VpcEndpointId: __expectString(output.VpcEndpointId),
|
|
2514
|
+
VpcId: __expectString(output.VpcId),
|
|
2515
|
+
};
|
|
2516
|
+
};
|
|
2181
2517
|
const deserializeAws_json1_0InstanceConfiguration = (output, context) => {
|
|
2182
2518
|
return {
|
|
2183
2519
|
Cpu: __expectString(output.Cpu),
|
|
@@ -2251,11 +2587,22 @@ const deserializeAws_json1_0ListVpcConnectorsResponse = (output, context) => {
|
|
|
2251
2587
|
VpcConnectors: output.VpcConnectors != null ? deserializeAws_json1_0VpcConnectors(output.VpcConnectors, context) : undefined,
|
|
2252
2588
|
};
|
|
2253
2589
|
};
|
|
2590
|
+
const deserializeAws_json1_0ListVpcIngressConnectionsResponse = (output, context) => {
|
|
2591
|
+
return {
|
|
2592
|
+
NextToken: __expectString(output.NextToken),
|
|
2593
|
+
VpcIngressConnectionSummaryList: output.VpcIngressConnectionSummaryList != null
|
|
2594
|
+
? deserializeAws_json1_0VpcIngressConnectionSummaryList(output.VpcIngressConnectionSummaryList, context)
|
|
2595
|
+
: undefined,
|
|
2596
|
+
};
|
|
2597
|
+
};
|
|
2254
2598
|
const deserializeAws_json1_0NetworkConfiguration = (output, context) => {
|
|
2255
2599
|
return {
|
|
2256
2600
|
EgressConfiguration: output.EgressConfiguration != null
|
|
2257
2601
|
? deserializeAws_json1_0EgressConfiguration(output.EgressConfiguration, context)
|
|
2258
2602
|
: undefined,
|
|
2603
|
+
IngressConfiguration: output.IngressConfiguration != null
|
|
2604
|
+
? deserializeAws_json1_0IngressConfiguration(output.IngressConfiguration, context)
|
|
2605
|
+
: undefined,
|
|
2259
2606
|
};
|
|
2260
2607
|
};
|
|
2261
2608
|
const deserializeAws_json1_0ObservabilityConfiguration = (output, context) => {
|
|
@@ -2474,6 +2821,13 @@ const deserializeAws_json1_0UpdateServiceResponse = (output, context) => {
|
|
|
2474
2821
|
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2475
2822
|
};
|
|
2476
2823
|
};
|
|
2824
|
+
const deserializeAws_json1_0UpdateVpcIngressConnectionResponse = (output, context) => {
|
|
2825
|
+
return {
|
|
2826
|
+
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2827
|
+
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2828
|
+
: undefined,
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2477
2831
|
const deserializeAws_json1_0VpcConnector = (output, context) => {
|
|
2478
2832
|
return {
|
|
2479
2833
|
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
@@ -2497,6 +2851,56 @@ const deserializeAws_json1_0VpcConnectors = (output, context) => {
|
|
|
2497
2851
|
});
|
|
2498
2852
|
return retVal;
|
|
2499
2853
|
};
|
|
2854
|
+
const deserializeAws_json1_0VpcDNSTarget = (output, context) => {
|
|
2855
|
+
return {
|
|
2856
|
+
DomainName: __expectString(output.DomainName),
|
|
2857
|
+
VpcId: __expectString(output.VpcId),
|
|
2858
|
+
VpcIngressConnectionArn: __expectString(output.VpcIngressConnectionArn),
|
|
2859
|
+
};
|
|
2860
|
+
};
|
|
2861
|
+
const deserializeAws_json1_0VpcDNSTargetList = (output, context) => {
|
|
2862
|
+
const retVal = (output || [])
|
|
2863
|
+
.filter((e) => e != null)
|
|
2864
|
+
.map((entry) => {
|
|
2865
|
+
if (entry === null) {
|
|
2866
|
+
return null;
|
|
2867
|
+
}
|
|
2868
|
+
return deserializeAws_json1_0VpcDNSTarget(entry, context);
|
|
2869
|
+
});
|
|
2870
|
+
return retVal;
|
|
2871
|
+
};
|
|
2872
|
+
const deserializeAws_json1_0VpcIngressConnection = (output, context) => {
|
|
2873
|
+
return {
|
|
2874
|
+
AccountId: __expectString(output.AccountId),
|
|
2875
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2876
|
+
DeletedAt: output.DeletedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedAt))) : undefined,
|
|
2877
|
+
DomainName: __expectString(output.DomainName),
|
|
2878
|
+
IngressVpcConfiguration: output.IngressVpcConfiguration != null
|
|
2879
|
+
? deserializeAws_json1_0IngressVpcConfiguration(output.IngressVpcConfiguration, context)
|
|
2880
|
+
: undefined,
|
|
2881
|
+
ServiceArn: __expectString(output.ServiceArn),
|
|
2882
|
+
Status: __expectString(output.Status),
|
|
2883
|
+
VpcIngressConnectionArn: __expectString(output.VpcIngressConnectionArn),
|
|
2884
|
+
VpcIngressConnectionName: __expectString(output.VpcIngressConnectionName),
|
|
2885
|
+
};
|
|
2886
|
+
};
|
|
2887
|
+
const deserializeAws_json1_0VpcIngressConnectionSummary = (output, context) => {
|
|
2888
|
+
return {
|
|
2889
|
+
ServiceArn: __expectString(output.ServiceArn),
|
|
2890
|
+
VpcIngressConnectionArn: __expectString(output.VpcIngressConnectionArn),
|
|
2891
|
+
};
|
|
2892
|
+
};
|
|
2893
|
+
const deserializeAws_json1_0VpcIngressConnectionSummaryList = (output, context) => {
|
|
2894
|
+
const retVal = (output || [])
|
|
2895
|
+
.filter((e) => e != null)
|
|
2896
|
+
.map((entry) => {
|
|
2897
|
+
if (entry === null) {
|
|
2898
|
+
return null;
|
|
2899
|
+
}
|
|
2900
|
+
return deserializeAws_json1_0VpcIngressConnectionSummary(entry, context);
|
|
2901
|
+
});
|
|
2902
|
+
return retVal;
|
|
2903
|
+
};
|
|
2500
2904
|
const deserializeMetadata = (output) => ({
|
|
2501
2905
|
httpStatusCode: output.statusCode,
|
|
2502
2906
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|