@@ -10088,6 +10088,9 @@ const serializeAws_restJson1AwsLambdaFunctionDetails = (
10088
10088
context: __SerdeContext
10089
10089
): any => {
10090
10090
return {
10091
+ ...(input.Architectures != null && {
10092
+ Architectures: serializeAws_restJson1NonEmptyStringList(input.Architectures, context),
10093
+ }),
10091
10094
...(input.Code != null && { Code: serializeAws_restJson1AwsLambdaFunctionCode(input.Code, context) }),
10092
10095
...(input.CodeSha256 != null && { CodeSha256: input.CodeSha256 }),
10093
10096
...(input.DeadLetterConfig != null && {
@@ -10103,6 +10106,7 @@ const serializeAws_restJson1AwsLambdaFunctionDetails = (
10103
10106
...(input.Layers != null && { Layers: serializeAws_restJson1AwsLambdaFunctionLayerList(input.Layers, context) }),
10104
10107
...(input.MasterArn != null && { MasterArn: input.MasterArn }),
10105
10108
...(input.MemorySize != null && { MemorySize: input.MemorySize }),
10109
+ ...(input.PackageType != null && { PackageType: input.PackageType }),
10106
10110
...(input.RevisionId != null && { RevisionId: input.RevisionId }),
10107
10111
...(input.Role != null && { Role: input.Role }),
10108
10112
...(input.Runtime != null && { Runtime: input.Runtime }),
@@ -14441,6 +14445,8 @@ const serializeAws_restJson1SoftwarePackage = (input: SoftwarePackage, context:
14441
14445
...(input.PackageManager != null && { PackageManager: input.PackageManager }),
14442
14446
...(input.Release != null && { Release: input.Release }),
14443
14447
...(input.Remediation != null && { Remediation: input.Remediation }),
14448
+ ...(input.SourceLayerArn != null && { SourceLayerArn: input.SourceLayerArn }),
14449
+ ...(input.SourceLayerHash != null && { SourceLayerHash: input.SourceLayerHash }),
14444
14450
...(input.Version != null && { Version: input.Version }),
14445
14451
};
14446
14452
};
@@ -20102,6 +20108,10 @@ const deserializeAws_restJson1AwsLambdaFunctionDetails = (
20102
20108
context: __SerdeContext
20103
20109
): AwsLambdaFunctionDetails => {
20104
20110
return {
20111
+ Architectures:
20112
+ output.Architectures != null
20113
+ ? deserializeAws_restJson1NonEmptyStringList(output.Architectures, context)
20114
+ : undefined,
20105
20115
Code: output.Code != null ? deserializeAws_restJson1AwsLambdaFunctionCode(output.Code, context) : undefined,
20106
20116
CodeSha256: __expectString(output.CodeSha256),
20107
20117
DeadLetterConfig:
@@ -20120,6 +20130,7 @@ const deserializeAws_restJson1AwsLambdaFunctionDetails = (
20120
20130
output.Layers != null ? deserializeAws_restJson1AwsLambdaFunctionLayerList(output.Layers, context) : undefined,
20121
20131
MasterArn: __expectString(output.MasterArn),
20122
20132
MemorySize: __expectInt32(output.MemorySize),
20133
+ PackageType: __expectString(output.PackageType),
20123
20134
RevisionId: __expectString(output.RevisionId),
20124
20135
Role: __expectString(output.Role),
20125
20136
Runtime: __expectString(output.Runtime),
@@ -25074,6 +25085,8 @@ const deserializeAws_restJson1SoftwarePackage = (output: any, context: __SerdeCo
25074
25085
PackageManager: __expectString(output.PackageManager),
25075
25086
Release: __expectString(output.Release),
25076
25087
Remediation: __expectString(output.Remediation),
25088
+ SourceLayerArn: __expectString(output.SourceLayerArn),
25089
+ SourceLayerHash: __expectString(output.SourceLayerHash),
25077
25090
Version: __expectString(output.Version),
25078
25091
} as any;
25079
25092
};
0 commit comments