@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.deserializeAws_json1_0UpdateServiceCommand = exports.deserializeAws_json1_0UntagResourceCommand = exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_0StartDeploymentCommand = exports.deserializeAws_json1_0ResumeServiceCommand = exports.deserializeAws_json1_0PauseServiceCommand = exports.deserializeAws_json1_0ListVpcConnectorsCommand = exports.deserializeAws_json1_0ListTagsForResourceCommand = exports.deserializeAws_json1_0ListServicesCommand = exports.deserializeAws_json1_0ListOperationsCommand = void 0;
|
|
3
|
+
exports.deserializeAws_json1_0DescribeCustomDomainsCommand = exports.deserializeAws_json1_0DescribeAutoScalingConfigurationCommand = exports.deserializeAws_json1_0DeleteVpcIngressConnectionCommand = exports.deserializeAws_json1_0DeleteVpcConnectorCommand = exports.deserializeAws_json1_0DeleteServiceCommand = exports.deserializeAws_json1_0DeleteObservabilityConfigurationCommand = exports.deserializeAws_json1_0DeleteConnectionCommand = exports.deserializeAws_json1_0DeleteAutoScalingConfigurationCommand = exports.deserializeAws_json1_0CreateVpcIngressConnectionCommand = exports.deserializeAws_json1_0CreateVpcConnectorCommand = exports.deserializeAws_json1_0CreateServiceCommand = exports.deserializeAws_json1_0CreateObservabilityConfigurationCommand = exports.deserializeAws_json1_0CreateConnectionCommand = exports.deserializeAws_json1_0CreateAutoScalingConfigurationCommand = exports.deserializeAws_json1_0AssociateCustomDomainCommand = exports.serializeAws_json1_0UpdateVpcIngressConnectionCommand = exports.serializeAws_json1_0UpdateServiceCommand = exports.serializeAws_json1_0UntagResourceCommand = exports.serializeAws_json1_0TagResourceCommand = exports.serializeAws_json1_0StartDeploymentCommand = exports.serializeAws_json1_0ResumeServiceCommand = exports.serializeAws_json1_0PauseServiceCommand = exports.serializeAws_json1_0ListVpcIngressConnectionsCommand = exports.serializeAws_json1_0ListVpcConnectorsCommand = exports.serializeAws_json1_0ListTagsForResourceCommand = exports.serializeAws_json1_0ListServicesCommand = exports.serializeAws_json1_0ListOperationsCommand = exports.serializeAws_json1_0ListObservabilityConfigurationsCommand = exports.serializeAws_json1_0ListConnectionsCommand = exports.serializeAws_json1_0ListAutoScalingConfigurationsCommand = exports.serializeAws_json1_0DisassociateCustomDomainCommand = exports.serializeAws_json1_0DescribeVpcIngressConnectionCommand = exports.serializeAws_json1_0DescribeVpcConnectorCommand = exports.serializeAws_json1_0DescribeServiceCommand = exports.serializeAws_json1_0DescribeObservabilityConfigurationCommand = exports.serializeAws_json1_0DescribeCustomDomainsCommand = exports.serializeAws_json1_0DescribeAutoScalingConfigurationCommand = exports.serializeAws_json1_0DeleteVpcIngressConnectionCommand = exports.serializeAws_json1_0DeleteVpcConnectorCommand = exports.serializeAws_json1_0DeleteServiceCommand = exports.serializeAws_json1_0DeleteObservabilityConfigurationCommand = exports.serializeAws_json1_0DeleteConnectionCommand = exports.serializeAws_json1_0DeleteAutoScalingConfigurationCommand = exports.serializeAws_json1_0CreateVpcIngressConnectionCommand = exports.serializeAws_json1_0CreateVpcConnectorCommand = exports.serializeAws_json1_0CreateServiceCommand = exports.serializeAws_json1_0CreateObservabilityConfigurationCommand = exports.serializeAws_json1_0CreateConnectionCommand = exports.serializeAws_json1_0CreateAutoScalingConfigurationCommand = exports.serializeAws_json1_0AssociateCustomDomainCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_0UpdateVpcIngressConnectionCommand = exports.deserializeAws_json1_0UpdateServiceCommand = exports.deserializeAws_json1_0UntagResourceCommand = exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_0StartDeploymentCommand = exports.deserializeAws_json1_0ResumeServiceCommand = exports.deserializeAws_json1_0PauseServiceCommand = exports.deserializeAws_json1_0ListVpcIngressConnectionsCommand = exports.deserializeAws_json1_0ListVpcConnectorsCommand = exports.deserializeAws_json1_0ListTagsForResourceCommand = exports.deserializeAws_json1_0ListServicesCommand = exports.deserializeAws_json1_0ListOperationsCommand = exports.deserializeAws_json1_0ListObservabilityConfigurationsCommand = exports.deserializeAws_json1_0ListConnectionsCommand = exports.deserializeAws_json1_0ListAutoScalingConfigurationsCommand = exports.deserializeAws_json1_0DisassociateCustomDomainCommand = exports.deserializeAws_json1_0DescribeVpcIngressConnectionCommand = exports.deserializeAws_json1_0DescribeVpcConnectorCommand = exports.deserializeAws_json1_0DescribeServiceCommand = exports.deserializeAws_json1_0DescribeObservabilityConfigurationCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const AppRunnerServiceException_1 = require("../models/AppRunnerServiceException");
|
|
@@ -66,6 +66,16 @@ const serializeAws_json1_0CreateVpcConnectorCommand = async (input, context) =>
|
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
68
|
exports.serializeAws_json1_0CreateVpcConnectorCommand = serializeAws_json1_0CreateVpcConnectorCommand;
|
|
69
|
+
const serializeAws_json1_0CreateVpcIngressConnectionCommand = async (input, context) => {
|
|
70
|
+
const headers = {
|
|
71
|
+
"content-type": "application/x-amz-json-1.0",
|
|
72
|
+
"x-amz-target": "AppRunner.CreateVpcIngressConnection",
|
|
73
|
+
};
|
|
74
|
+
let body;
|
|
75
|
+
body = JSON.stringify(serializeAws_json1_0CreateVpcIngressConnectionRequest(input, context));
|
|
76
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
+
};
|
|
78
|
+
exports.serializeAws_json1_0CreateVpcIngressConnectionCommand = serializeAws_json1_0CreateVpcIngressConnectionCommand;
|
|
69
79
|
const serializeAws_json1_0DeleteAutoScalingConfigurationCommand = async (input, context) => {
|
|
70
80
|
const headers = {
|
|
71
81
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -116,6 +126,16 @@ const serializeAws_json1_0DeleteVpcConnectorCommand = async (input, context) =>
|
|
|
116
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
117
127
|
};
|
|
118
128
|
exports.serializeAws_json1_0DeleteVpcConnectorCommand = serializeAws_json1_0DeleteVpcConnectorCommand;
|
|
129
|
+
const serializeAws_json1_0DeleteVpcIngressConnectionCommand = async (input, context) => {
|
|
130
|
+
const headers = {
|
|
131
|
+
"content-type": "application/x-amz-json-1.0",
|
|
132
|
+
"x-amz-target": "AppRunner.DeleteVpcIngressConnection",
|
|
133
|
+
};
|
|
134
|
+
let body;
|
|
135
|
+
body = JSON.stringify(serializeAws_json1_0DeleteVpcIngressConnectionRequest(input, context));
|
|
136
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
|
+
};
|
|
138
|
+
exports.serializeAws_json1_0DeleteVpcIngressConnectionCommand = serializeAws_json1_0DeleteVpcIngressConnectionCommand;
|
|
119
139
|
const serializeAws_json1_0DescribeAutoScalingConfigurationCommand = async (input, context) => {
|
|
120
140
|
const headers = {
|
|
121
141
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -166,6 +186,16 @@ const serializeAws_json1_0DescribeVpcConnectorCommand = async (input, context) =
|
|
|
166
186
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
187
|
};
|
|
168
188
|
exports.serializeAws_json1_0DescribeVpcConnectorCommand = serializeAws_json1_0DescribeVpcConnectorCommand;
|
|
189
|
+
const serializeAws_json1_0DescribeVpcIngressConnectionCommand = async (input, context) => {
|
|
190
|
+
const headers = {
|
|
191
|
+
"content-type": "application/x-amz-json-1.0",
|
|
192
|
+
"x-amz-target": "AppRunner.DescribeVpcIngressConnection",
|
|
193
|
+
};
|
|
194
|
+
let body;
|
|
195
|
+
body = JSON.stringify(serializeAws_json1_0DescribeVpcIngressConnectionRequest(input, context));
|
|
196
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
|
+
};
|
|
198
|
+
exports.serializeAws_json1_0DescribeVpcIngressConnectionCommand = serializeAws_json1_0DescribeVpcIngressConnectionCommand;
|
|
169
199
|
const serializeAws_json1_0DisassociateCustomDomainCommand = async (input, context) => {
|
|
170
200
|
const headers = {
|
|
171
201
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -246,6 +276,16 @@ const serializeAws_json1_0ListVpcConnectorsCommand = async (input, context) => {
|
|
|
246
276
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
277
|
};
|
|
248
278
|
exports.serializeAws_json1_0ListVpcConnectorsCommand = serializeAws_json1_0ListVpcConnectorsCommand;
|
|
279
|
+
const serializeAws_json1_0ListVpcIngressConnectionsCommand = async (input, context) => {
|
|
280
|
+
const headers = {
|
|
281
|
+
"content-type": "application/x-amz-json-1.0",
|
|
282
|
+
"x-amz-target": "AppRunner.ListVpcIngressConnections",
|
|
283
|
+
};
|
|
284
|
+
let body;
|
|
285
|
+
body = JSON.stringify(serializeAws_json1_0ListVpcIngressConnectionsRequest(input, context));
|
|
286
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
|
+
};
|
|
288
|
+
exports.serializeAws_json1_0ListVpcIngressConnectionsCommand = serializeAws_json1_0ListVpcIngressConnectionsCommand;
|
|
249
289
|
const serializeAws_json1_0PauseServiceCommand = async (input, context) => {
|
|
250
290
|
const headers = {
|
|
251
291
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -306,6 +346,16 @@ const serializeAws_json1_0UpdateServiceCommand = async (input, context) => {
|
|
|
306
346
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
307
347
|
};
|
|
308
348
|
exports.serializeAws_json1_0UpdateServiceCommand = serializeAws_json1_0UpdateServiceCommand;
|
|
349
|
+
const serializeAws_json1_0UpdateVpcIngressConnectionCommand = async (input, context) => {
|
|
350
|
+
const headers = {
|
|
351
|
+
"content-type": "application/x-amz-json-1.0",
|
|
352
|
+
"x-amz-target": "AppRunner.UpdateVpcIngressConnection",
|
|
353
|
+
};
|
|
354
|
+
let body;
|
|
355
|
+
body = JSON.stringify(serializeAws_json1_0UpdateVpcIngressConnectionRequest(input, context));
|
|
356
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
357
|
+
};
|
|
358
|
+
exports.serializeAws_json1_0UpdateVpcIngressConnectionCommand = serializeAws_json1_0UpdateVpcIngressConnectionCommand;
|
|
309
359
|
const deserializeAws_json1_0AssociateCustomDomainCommand = async (output, context) => {
|
|
310
360
|
if (output.statusCode >= 300) {
|
|
311
361
|
return deserializeAws_json1_0AssociateCustomDomainCommandError(output, context);
|
|
@@ -546,6 +596,49 @@ const deserializeAws_json1_0CreateVpcConnectorCommandError = async (output, cont
|
|
|
546
596
|
});
|
|
547
597
|
}
|
|
548
598
|
};
|
|
599
|
+
const deserializeAws_json1_0CreateVpcIngressConnectionCommand = async (output, context) => {
|
|
600
|
+
if (output.statusCode >= 300) {
|
|
601
|
+
return deserializeAws_json1_0CreateVpcIngressConnectionCommandError(output, context);
|
|
602
|
+
}
|
|
603
|
+
const data = await parseBody(output.body, context);
|
|
604
|
+
let contents = {};
|
|
605
|
+
contents = deserializeAws_json1_0CreateVpcIngressConnectionResponse(data, context);
|
|
606
|
+
const response = {
|
|
607
|
+
$metadata: deserializeMetadata(output),
|
|
608
|
+
...contents,
|
|
609
|
+
};
|
|
610
|
+
return Promise.resolve(response);
|
|
611
|
+
};
|
|
612
|
+
exports.deserializeAws_json1_0CreateVpcIngressConnectionCommand = deserializeAws_json1_0CreateVpcIngressConnectionCommand;
|
|
613
|
+
const deserializeAws_json1_0CreateVpcIngressConnectionCommandError = async (output, context) => {
|
|
614
|
+
const parsedOutput = {
|
|
615
|
+
...output,
|
|
616
|
+
body: await parseErrorBody(output.body, context),
|
|
617
|
+
};
|
|
618
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
619
|
+
switch (errorCode) {
|
|
620
|
+
case "InternalServiceErrorException":
|
|
621
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
622
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
623
|
+
case "InvalidRequestException":
|
|
624
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
625
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
626
|
+
case "InvalidStateException":
|
|
627
|
+
case "com.amazonaws.apprunner#InvalidStateException":
|
|
628
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
629
|
+
case "ServiceQuotaExceededException":
|
|
630
|
+
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
631
|
+
throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
632
|
+
default:
|
|
633
|
+
const parsedBody = parsedOutput.body;
|
|
634
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
635
|
+
output,
|
|
636
|
+
parsedBody,
|
|
637
|
+
exceptionCtor: AppRunnerServiceException_1.AppRunnerServiceException,
|
|
638
|
+
errorCode,
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
};
|
|
549
642
|
const deserializeAws_json1_0DeleteAutoScalingConfigurationCommand = async (output, context) => {
|
|
550
643
|
if (output.statusCode >= 300) {
|
|
551
644
|
return deserializeAws_json1_0DeleteAutoScalingConfigurationCommandError(output, context);
|
|
@@ -749,6 +842,49 @@ const deserializeAws_json1_0DeleteVpcConnectorCommandError = async (output, cont
|
|
|
749
842
|
});
|
|
750
843
|
}
|
|
751
844
|
};
|
|
845
|
+
const deserializeAws_json1_0DeleteVpcIngressConnectionCommand = async (output, context) => {
|
|
846
|
+
if (output.statusCode >= 300) {
|
|
847
|
+
return deserializeAws_json1_0DeleteVpcIngressConnectionCommandError(output, context);
|
|
848
|
+
}
|
|
849
|
+
const data = await parseBody(output.body, context);
|
|
850
|
+
let contents = {};
|
|
851
|
+
contents = deserializeAws_json1_0DeleteVpcIngressConnectionResponse(data, context);
|
|
852
|
+
const response = {
|
|
853
|
+
$metadata: deserializeMetadata(output),
|
|
854
|
+
...contents,
|
|
855
|
+
};
|
|
856
|
+
return Promise.resolve(response);
|
|
857
|
+
};
|
|
858
|
+
exports.deserializeAws_json1_0DeleteVpcIngressConnectionCommand = deserializeAws_json1_0DeleteVpcIngressConnectionCommand;
|
|
859
|
+
const deserializeAws_json1_0DeleteVpcIngressConnectionCommandError = async (output, context) => {
|
|
860
|
+
const parsedOutput = {
|
|
861
|
+
...output,
|
|
862
|
+
body: await parseErrorBody(output.body, context),
|
|
863
|
+
};
|
|
864
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
865
|
+
switch (errorCode) {
|
|
866
|
+
case "InternalServiceErrorException":
|
|
867
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
868
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
869
|
+
case "InvalidRequestException":
|
|
870
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
871
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
872
|
+
case "InvalidStateException":
|
|
873
|
+
case "com.amazonaws.apprunner#InvalidStateException":
|
|
874
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
875
|
+
case "ResourceNotFoundException":
|
|
876
|
+
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
877
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
878
|
+
default:
|
|
879
|
+
const parsedBody = parsedOutput.body;
|
|
880
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
881
|
+
output,
|
|
882
|
+
parsedBody,
|
|
883
|
+
exceptionCtor: AppRunnerServiceException_1.AppRunnerServiceException,
|
|
884
|
+
errorCode,
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
};
|
|
752
888
|
const deserializeAws_json1_0DescribeAutoScalingConfigurationCommand = async (output, context) => {
|
|
753
889
|
if (output.statusCode >= 300) {
|
|
754
890
|
return deserializeAws_json1_0DescribeAutoScalingConfigurationCommandError(output, context);
|
|
@@ -949,6 +1085,46 @@ const deserializeAws_json1_0DescribeVpcConnectorCommandError = async (output, co
|
|
|
949
1085
|
});
|
|
950
1086
|
}
|
|
951
1087
|
};
|
|
1088
|
+
const deserializeAws_json1_0DescribeVpcIngressConnectionCommand = async (output, context) => {
|
|
1089
|
+
if (output.statusCode >= 300) {
|
|
1090
|
+
return deserializeAws_json1_0DescribeVpcIngressConnectionCommandError(output, context);
|
|
1091
|
+
}
|
|
1092
|
+
const data = await parseBody(output.body, context);
|
|
1093
|
+
let contents = {};
|
|
1094
|
+
contents = deserializeAws_json1_0DescribeVpcIngressConnectionResponse(data, context);
|
|
1095
|
+
const response = {
|
|
1096
|
+
$metadata: deserializeMetadata(output),
|
|
1097
|
+
...contents,
|
|
1098
|
+
};
|
|
1099
|
+
return Promise.resolve(response);
|
|
1100
|
+
};
|
|
1101
|
+
exports.deserializeAws_json1_0DescribeVpcIngressConnectionCommand = deserializeAws_json1_0DescribeVpcIngressConnectionCommand;
|
|
1102
|
+
const deserializeAws_json1_0DescribeVpcIngressConnectionCommandError = async (output, context) => {
|
|
1103
|
+
const parsedOutput = {
|
|
1104
|
+
...output,
|
|
1105
|
+
body: await parseErrorBody(output.body, context),
|
|
1106
|
+
};
|
|
1107
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1108
|
+
switch (errorCode) {
|
|
1109
|
+
case "InternalServiceErrorException":
|
|
1110
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1111
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1112
|
+
case "InvalidRequestException":
|
|
1113
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1114
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1115
|
+
case "ResourceNotFoundException":
|
|
1116
|
+
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1117
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1118
|
+
default:
|
|
1119
|
+
const parsedBody = parsedOutput.body;
|
|
1120
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1121
|
+
output,
|
|
1122
|
+
parsedBody,
|
|
1123
|
+
exceptionCtor: AppRunnerServiceException_1.AppRunnerServiceException,
|
|
1124
|
+
errorCode,
|
|
1125
|
+
});
|
|
1126
|
+
}
|
|
1127
|
+
};
|
|
952
1128
|
const deserializeAws_json1_0DisassociateCustomDomainCommand = async (output, context) => {
|
|
953
1129
|
if (output.statusCode >= 300) {
|
|
954
1130
|
return deserializeAws_json1_0DisassociateCustomDomainCommandError(output, context);
|
|
@@ -1260,6 +1436,43 @@ const deserializeAws_json1_0ListVpcConnectorsCommandError = async (output, conte
|
|
|
1260
1436
|
});
|
|
1261
1437
|
}
|
|
1262
1438
|
};
|
|
1439
|
+
const deserializeAws_json1_0ListVpcIngressConnectionsCommand = async (output, context) => {
|
|
1440
|
+
if (output.statusCode >= 300) {
|
|
1441
|
+
return deserializeAws_json1_0ListVpcIngressConnectionsCommandError(output, context);
|
|
1442
|
+
}
|
|
1443
|
+
const data = await parseBody(output.body, context);
|
|
1444
|
+
let contents = {};
|
|
1445
|
+
contents = deserializeAws_json1_0ListVpcIngressConnectionsResponse(data, context);
|
|
1446
|
+
const response = {
|
|
1447
|
+
$metadata: deserializeMetadata(output),
|
|
1448
|
+
...contents,
|
|
1449
|
+
};
|
|
1450
|
+
return Promise.resolve(response);
|
|
1451
|
+
};
|
|
1452
|
+
exports.deserializeAws_json1_0ListVpcIngressConnectionsCommand = deserializeAws_json1_0ListVpcIngressConnectionsCommand;
|
|
1453
|
+
const deserializeAws_json1_0ListVpcIngressConnectionsCommandError = async (output, context) => {
|
|
1454
|
+
const parsedOutput = {
|
|
1455
|
+
...output,
|
|
1456
|
+
body: await parseErrorBody(output.body, context),
|
|
1457
|
+
};
|
|
1458
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1459
|
+
switch (errorCode) {
|
|
1460
|
+
case "InternalServiceErrorException":
|
|
1461
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1462
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1463
|
+
case "InvalidRequestException":
|
|
1464
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1465
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1466
|
+
default:
|
|
1467
|
+
const parsedBody = parsedOutput.body;
|
|
1468
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1469
|
+
output,
|
|
1470
|
+
parsedBody,
|
|
1471
|
+
exceptionCtor: AppRunnerServiceException_1.AppRunnerServiceException,
|
|
1472
|
+
errorCode,
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1475
|
+
};
|
|
1263
1476
|
const deserializeAws_json1_0PauseServiceCommand = async (output, context) => {
|
|
1264
1477
|
if (output.statusCode >= 300) {
|
|
1265
1478
|
return deserializeAws_json1_0PauseServiceCommandError(output, context);
|
|
@@ -1515,6 +1728,49 @@ const deserializeAws_json1_0UpdateServiceCommandError = async (output, context)
|
|
|
1515
1728
|
});
|
|
1516
1729
|
}
|
|
1517
1730
|
};
|
|
1731
|
+
const deserializeAws_json1_0UpdateVpcIngressConnectionCommand = async (output, context) => {
|
|
1732
|
+
if (output.statusCode >= 300) {
|
|
1733
|
+
return deserializeAws_json1_0UpdateVpcIngressConnectionCommandError(output, context);
|
|
1734
|
+
}
|
|
1735
|
+
const data = await parseBody(output.body, context);
|
|
1736
|
+
let contents = {};
|
|
1737
|
+
contents = deserializeAws_json1_0UpdateVpcIngressConnectionResponse(data, context);
|
|
1738
|
+
const response = {
|
|
1739
|
+
$metadata: deserializeMetadata(output),
|
|
1740
|
+
...contents,
|
|
1741
|
+
};
|
|
1742
|
+
return Promise.resolve(response);
|
|
1743
|
+
};
|
|
1744
|
+
exports.deserializeAws_json1_0UpdateVpcIngressConnectionCommand = deserializeAws_json1_0UpdateVpcIngressConnectionCommand;
|
|
1745
|
+
const deserializeAws_json1_0UpdateVpcIngressConnectionCommandError = async (output, context) => {
|
|
1746
|
+
const parsedOutput = {
|
|
1747
|
+
...output,
|
|
1748
|
+
body: await parseErrorBody(output.body, context),
|
|
1749
|
+
};
|
|
1750
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1751
|
+
switch (errorCode) {
|
|
1752
|
+
case "InternalServiceErrorException":
|
|
1753
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1754
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1755
|
+
case "InvalidRequestException":
|
|
1756
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1757
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1758
|
+
case "InvalidStateException":
|
|
1759
|
+
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1760
|
+
throw await deserializeAws_json1_0InvalidStateExceptionResponse(parsedOutput, context);
|
|
1761
|
+
case "ResourceNotFoundException":
|
|
1762
|
+
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1763
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1764
|
+
default:
|
|
1765
|
+
const parsedBody = parsedOutput.body;
|
|
1766
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1767
|
+
output,
|
|
1768
|
+
parsedBody,
|
|
1769
|
+
exceptionCtor: AppRunnerServiceException_1.AppRunnerServiceException,
|
|
1770
|
+
errorCode,
|
|
1771
|
+
});
|
|
1772
|
+
}
|
|
1773
|
+
};
|
|
1518
1774
|
const deserializeAws_json1_0InternalServiceErrorExceptionResponse = async (parsedOutput, context) => {
|
|
1519
1775
|
const body = parsedOutput.body;
|
|
1520
1776
|
const deserialized = deserializeAws_json1_0InternalServiceErrorException(body, context);
|
|
@@ -1669,6 +1925,16 @@ const serializeAws_json1_0CreateVpcConnectorRequest = (input, context) => {
|
|
|
1669
1925
|
...(input.VpcConnectorName != null && { VpcConnectorName: input.VpcConnectorName }),
|
|
1670
1926
|
};
|
|
1671
1927
|
};
|
|
1928
|
+
const serializeAws_json1_0CreateVpcIngressConnectionRequest = (input, context) => {
|
|
1929
|
+
return {
|
|
1930
|
+
...(input.IngressVpcConfiguration != null && {
|
|
1931
|
+
IngressVpcConfiguration: serializeAws_json1_0IngressVpcConfiguration(input.IngressVpcConfiguration, context),
|
|
1932
|
+
}),
|
|
1933
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1934
|
+
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1935
|
+
...(input.VpcIngressConnectionName != null && { VpcIngressConnectionName: input.VpcIngressConnectionName }),
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1672
1938
|
const serializeAws_json1_0DeleteAutoScalingConfigurationRequest = (input, context) => {
|
|
1673
1939
|
return {
|
|
1674
1940
|
...(input.AutoScalingConfigurationArn != null && {
|
|
@@ -1698,6 +1964,11 @@ const serializeAws_json1_0DeleteVpcConnectorRequest = (input, context) => {
|
|
|
1698
1964
|
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1699
1965
|
};
|
|
1700
1966
|
};
|
|
1967
|
+
const serializeAws_json1_0DeleteVpcIngressConnectionRequest = (input, context) => {
|
|
1968
|
+
return {
|
|
1969
|
+
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
1970
|
+
};
|
|
1971
|
+
};
|
|
1701
1972
|
const serializeAws_json1_0DescribeAutoScalingConfigurationRequest = (input, context) => {
|
|
1702
1973
|
return {
|
|
1703
1974
|
...(input.AutoScalingConfigurationArn != null && {
|
|
@@ -1729,6 +2000,11 @@ const serializeAws_json1_0DescribeVpcConnectorRequest = (input, context) => {
|
|
|
1729
2000
|
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1730
2001
|
};
|
|
1731
2002
|
};
|
|
2003
|
+
const serializeAws_json1_0DescribeVpcIngressConnectionRequest = (input, context) => {
|
|
2004
|
+
return {
|
|
2005
|
+
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
2006
|
+
};
|
|
2007
|
+
};
|
|
1732
2008
|
const serializeAws_json1_0DisassociateCustomDomainRequest = (input, context) => {
|
|
1733
2009
|
return {
|
|
1734
2010
|
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
@@ -1774,6 +2050,17 @@ const serializeAws_json1_0ImageRepository = (input, context) => {
|
|
|
1774
2050
|
...(input.ImageRepositoryType != null && { ImageRepositoryType: input.ImageRepositoryType }),
|
|
1775
2051
|
};
|
|
1776
2052
|
};
|
|
2053
|
+
const serializeAws_json1_0IngressConfiguration = (input, context) => {
|
|
2054
|
+
return {
|
|
2055
|
+
...(input.IsPubliclyAccessible != null && { IsPubliclyAccessible: input.IsPubliclyAccessible }),
|
|
2056
|
+
};
|
|
2057
|
+
};
|
|
2058
|
+
const serializeAws_json1_0IngressVpcConfiguration = (input, context) => {
|
|
2059
|
+
return {
|
|
2060
|
+
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
2061
|
+
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
2062
|
+
};
|
|
2063
|
+
};
|
|
1777
2064
|
const serializeAws_json1_0InstanceConfiguration = (input, context) => {
|
|
1778
2065
|
return {
|
|
1779
2066
|
...(input.Cpu != null && { Cpu: input.Cpu }),
|
|
@@ -1832,11 +2119,27 @@ const serializeAws_json1_0ListVpcConnectorsRequest = (input, context) => {
|
|
|
1832
2119
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1833
2120
|
};
|
|
1834
2121
|
};
|
|
2122
|
+
const serializeAws_json1_0ListVpcIngressConnectionsFilter = (input, context) => {
|
|
2123
|
+
return {
|
|
2124
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2125
|
+
...(input.VpcEndpointId != null && { VpcEndpointId: input.VpcEndpointId }),
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2128
|
+
const serializeAws_json1_0ListVpcIngressConnectionsRequest = (input, context) => {
|
|
2129
|
+
return {
|
|
2130
|
+
...(input.Filter != null && { Filter: serializeAws_json1_0ListVpcIngressConnectionsFilter(input.Filter, context) }),
|
|
2131
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2132
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2133
|
+
};
|
|
2134
|
+
};
|
|
1835
2135
|
const serializeAws_json1_0NetworkConfiguration = (input, context) => {
|
|
1836
2136
|
return {
|
|
1837
2137
|
...(input.EgressConfiguration != null && {
|
|
1838
2138
|
EgressConfiguration: serializeAws_json1_0EgressConfiguration(input.EgressConfiguration, context),
|
|
1839
2139
|
}),
|
|
2140
|
+
...(input.IngressConfiguration != null && {
|
|
2141
|
+
IngressConfiguration: serializeAws_json1_0IngressConfiguration(input.IngressConfiguration, context),
|
|
2142
|
+
}),
|
|
1840
2143
|
};
|
|
1841
2144
|
};
|
|
1842
2145
|
const serializeAws_json1_0PauseServiceRequest = (input, context) => {
|
|
@@ -1960,11 +2263,20 @@ const serializeAws_json1_0UpdateServiceRequest = (input, context) => {
|
|
|
1960
2263
|
}),
|
|
1961
2264
|
};
|
|
1962
2265
|
};
|
|
2266
|
+
const serializeAws_json1_0UpdateVpcIngressConnectionRequest = (input, context) => {
|
|
2267
|
+
return {
|
|
2268
|
+
...(input.IngressVpcConfiguration != null && {
|
|
2269
|
+
IngressVpcConfiguration: serializeAws_json1_0IngressVpcConfiguration(input.IngressVpcConfiguration, context),
|
|
2270
|
+
}),
|
|
2271
|
+
...(input.VpcIngressConnectionArn != null && { VpcIngressConnectionArn: input.VpcIngressConnectionArn }),
|
|
2272
|
+
};
|
|
2273
|
+
};
|
|
1963
2274
|
const deserializeAws_json1_0AssociateCustomDomainResponse = (output, context) => {
|
|
1964
2275
|
return {
|
|
1965
2276
|
CustomDomain: output.CustomDomain != null ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context) : undefined,
|
|
1966
2277
|
DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
|
|
1967
2278
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2279
|
+
VpcDNSTargets: output.VpcDNSTargets != null ? deserializeAws_json1_0VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
1968
2280
|
};
|
|
1969
2281
|
};
|
|
1970
2282
|
const deserializeAws_json1_0AuthenticationConfiguration = (output, context) => {
|
|
@@ -2113,6 +2425,13 @@ const deserializeAws_json1_0CreateVpcConnectorResponse = (output, context) => {
|
|
|
2113
2425
|
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2114
2426
|
};
|
|
2115
2427
|
};
|
|
2428
|
+
const deserializeAws_json1_0CreateVpcIngressConnectionResponse = (output, context) => {
|
|
2429
|
+
return {
|
|
2430
|
+
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2431
|
+
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2432
|
+
: undefined,
|
|
2433
|
+
};
|
|
2434
|
+
};
|
|
2116
2435
|
const deserializeAws_json1_0CustomDomain = (output, context) => {
|
|
2117
2436
|
return {
|
|
2118
2437
|
CertificateValidationRecords: output.CertificateValidationRecords != null
|
|
@@ -2164,6 +2483,13 @@ const deserializeAws_json1_0DeleteVpcConnectorResponse = (output, context) => {
|
|
|
2164
2483
|
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2165
2484
|
};
|
|
2166
2485
|
};
|
|
2486
|
+
const deserializeAws_json1_0DeleteVpcIngressConnectionResponse = (output, context) => {
|
|
2487
|
+
return {
|
|
2488
|
+
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2489
|
+
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2490
|
+
: undefined,
|
|
2491
|
+
};
|
|
2492
|
+
};
|
|
2167
2493
|
const deserializeAws_json1_0DescribeAutoScalingConfigurationResponse = (output, context) => {
|
|
2168
2494
|
return {
|
|
2169
2495
|
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
@@ -2177,6 +2503,7 @@ const deserializeAws_json1_0DescribeCustomDomainsResponse = (output, context) =>
|
|
|
2177
2503
|
DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
|
|
2178
2504
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2179
2505
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2506
|
+
VpcDNSTargets: output.VpcDNSTargets != null ? deserializeAws_json1_0VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
2180
2507
|
};
|
|
2181
2508
|
};
|
|
2182
2509
|
const deserializeAws_json1_0DescribeObservabilityConfigurationResponse = (output, context) => {
|
|
@@ -2196,11 +2523,19 @@ const deserializeAws_json1_0DescribeVpcConnectorResponse = (output, context) =>
|
|
|
2196
2523
|
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2197
2524
|
};
|
|
2198
2525
|
};
|
|
2526
|
+
const deserializeAws_json1_0DescribeVpcIngressConnectionResponse = (output, context) => {
|
|
2527
|
+
return {
|
|
2528
|
+
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2529
|
+
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2530
|
+
: undefined,
|
|
2531
|
+
};
|
|
2532
|
+
};
|
|
2199
2533
|
const deserializeAws_json1_0DisassociateCustomDomainResponse = (output, context) => {
|
|
2200
2534
|
return {
|
|
2201
2535
|
CustomDomain: output.CustomDomain != null ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context) : undefined,
|
|
2202
2536
|
DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
|
|
2203
2537
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2538
|
+
VpcDNSTargets: output.VpcDNSTargets != null ? deserializeAws_json1_0VpcDNSTargetList(output.VpcDNSTargets, context) : undefined,
|
|
2204
2539
|
};
|
|
2205
2540
|
};
|
|
2206
2541
|
const deserializeAws_json1_0EgressConfiguration = (output, context) => {
|
|
@@ -2242,6 +2577,17 @@ const deserializeAws_json1_0ImageRepository = (output, context) => {
|
|
|
2242
2577
|
ImageRepositoryType: (0, smithy_client_1.expectString)(output.ImageRepositoryType),
|
|
2243
2578
|
};
|
|
2244
2579
|
};
|
|
2580
|
+
const deserializeAws_json1_0IngressConfiguration = (output, context) => {
|
|
2581
|
+
return {
|
|
2582
|
+
IsPubliclyAccessible: (0, smithy_client_1.expectBoolean)(output.IsPubliclyAccessible),
|
|
2583
|
+
};
|
|
2584
|
+
};
|
|
2585
|
+
const deserializeAws_json1_0IngressVpcConfiguration = (output, context) => {
|
|
2586
|
+
return {
|
|
2587
|
+
VpcEndpointId: (0, smithy_client_1.expectString)(output.VpcEndpointId),
|
|
2588
|
+
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2589
|
+
};
|
|
2590
|
+
};
|
|
2245
2591
|
const deserializeAws_json1_0InstanceConfiguration = (output, context) => {
|
|
2246
2592
|
return {
|
|
2247
2593
|
Cpu: (0, smithy_client_1.expectString)(output.Cpu),
|
|
@@ -2315,11 +2661,22 @@ const deserializeAws_json1_0ListVpcConnectorsResponse = (output, context) => {
|
|
|
2315
2661
|
VpcConnectors: output.VpcConnectors != null ? deserializeAws_json1_0VpcConnectors(output.VpcConnectors, context) : undefined,
|
|
2316
2662
|
};
|
|
2317
2663
|
};
|
|
2664
|
+
const deserializeAws_json1_0ListVpcIngressConnectionsResponse = (output, context) => {
|
|
2665
|
+
return {
|
|
2666
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2667
|
+
VpcIngressConnectionSummaryList: output.VpcIngressConnectionSummaryList != null
|
|
2668
|
+
? deserializeAws_json1_0VpcIngressConnectionSummaryList(output.VpcIngressConnectionSummaryList, context)
|
|
2669
|
+
: undefined,
|
|
2670
|
+
};
|
|
2671
|
+
};
|
|
2318
2672
|
const deserializeAws_json1_0NetworkConfiguration = (output, context) => {
|
|
2319
2673
|
return {
|
|
2320
2674
|
EgressConfiguration: output.EgressConfiguration != null
|
|
2321
2675
|
? deserializeAws_json1_0EgressConfiguration(output.EgressConfiguration, context)
|
|
2322
2676
|
: undefined,
|
|
2677
|
+
IngressConfiguration: output.IngressConfiguration != null
|
|
2678
|
+
? deserializeAws_json1_0IngressConfiguration(output.IngressConfiguration, context)
|
|
2679
|
+
: undefined,
|
|
2323
2680
|
};
|
|
2324
2681
|
};
|
|
2325
2682
|
const deserializeAws_json1_0ObservabilityConfiguration = (output, context) => {
|
|
@@ -2538,6 +2895,13 @@ const deserializeAws_json1_0UpdateServiceResponse = (output, context) => {
|
|
|
2538
2895
|
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2539
2896
|
};
|
|
2540
2897
|
};
|
|
2898
|
+
const deserializeAws_json1_0UpdateVpcIngressConnectionResponse = (output, context) => {
|
|
2899
|
+
return {
|
|
2900
|
+
VpcIngressConnection: output.VpcIngressConnection != null
|
|
2901
|
+
? deserializeAws_json1_0VpcIngressConnection(output.VpcIngressConnection, context)
|
|
2902
|
+
: undefined,
|
|
2903
|
+
};
|
|
2904
|
+
};
|
|
2541
2905
|
const deserializeAws_json1_0VpcConnector = (output, context) => {
|
|
2542
2906
|
return {
|
|
2543
2907
|
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
@@ -2561,6 +2925,56 @@ const deserializeAws_json1_0VpcConnectors = (output, context) => {
|
|
|
2561
2925
|
});
|
|
2562
2926
|
return retVal;
|
|
2563
2927
|
};
|
|
2928
|
+
const deserializeAws_json1_0VpcDNSTarget = (output, context) => {
|
|
2929
|
+
return {
|
|
2930
|
+
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
2931
|
+
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2932
|
+
VpcIngressConnectionArn: (0, smithy_client_1.expectString)(output.VpcIngressConnectionArn),
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
const deserializeAws_json1_0VpcDNSTargetList = (output, context) => {
|
|
2936
|
+
const retVal = (output || [])
|
|
2937
|
+
.filter((e) => e != null)
|
|
2938
|
+
.map((entry) => {
|
|
2939
|
+
if (entry === null) {
|
|
2940
|
+
return null;
|
|
2941
|
+
}
|
|
2942
|
+
return deserializeAws_json1_0VpcDNSTarget(entry, context);
|
|
2943
|
+
});
|
|
2944
|
+
return retVal;
|
|
2945
|
+
};
|
|
2946
|
+
const deserializeAws_json1_0VpcIngressConnection = (output, context) => {
|
|
2947
|
+
return {
|
|
2948
|
+
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2949
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2950
|
+
DeletedAt: output.DeletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt))) : undefined,
|
|
2951
|
+
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
2952
|
+
IngressVpcConfiguration: output.IngressVpcConfiguration != null
|
|
2953
|
+
? deserializeAws_json1_0IngressVpcConfiguration(output.IngressVpcConfiguration, context)
|
|
2954
|
+
: undefined,
|
|
2955
|
+
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2956
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2957
|
+
VpcIngressConnectionArn: (0, smithy_client_1.expectString)(output.VpcIngressConnectionArn),
|
|
2958
|
+
VpcIngressConnectionName: (0, smithy_client_1.expectString)(output.VpcIngressConnectionName),
|
|
2959
|
+
};
|
|
2960
|
+
};
|
|
2961
|
+
const deserializeAws_json1_0VpcIngressConnectionSummary = (output, context) => {
|
|
2962
|
+
return {
|
|
2963
|
+
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2964
|
+
VpcIngressConnectionArn: (0, smithy_client_1.expectString)(output.VpcIngressConnectionArn),
|
|
2965
|
+
};
|
|
2966
|
+
};
|
|
2967
|
+
const deserializeAws_json1_0VpcIngressConnectionSummaryList = (output, context) => {
|
|
2968
|
+
const retVal = (output || [])
|
|
2969
|
+
.filter((e) => e != null)
|
|
2970
|
+
.map((entry) => {
|
|
2971
|
+
if (entry === null) {
|
|
2972
|
+
return null;
|
|
2973
|
+
}
|
|
2974
|
+
return deserializeAws_json1_0VpcIngressConnectionSummary(entry, context);
|
|
2975
|
+
});
|
|
2976
|
+
return retVal;
|
|
2977
|
+
};
|
|
2564
2978
|
const deserializeMetadata = (output) => {
|
|
2565
2979
|
var _a, _b;
|
|
2566
2980
|
return ({
|