diff --git a/.changes/next-release/feature-AWSLambda-ad9e3dc.json b/.changes/next-release/feature-AWSLambda-ad9e3dc.json new file mode 100644 index 000000000000..e5ab2d495c79 --- /dev/null +++ b/.changes/next-release/feature-AWSLambda-ad9e3dc.json @@ -0,0 +1,6 @@ +{ + "type": "feature", + "category": "AWS Lambda", + "contributor": "", + "description": "Allow empty list for function response types" +} diff --git a/services/lambda/src/main/resources/codegen-resources/service-2.json b/services/lambda/src/main/resources/codegen-resources/service-2.json index bb9557206b96..9333eb288402 100644 --- a/services/lambda/src/main/resources/codegen-resources/service-2.json +++ b/services/lambda/src/main/resources/codegen-resources/service-2.json @@ -2358,7 +2358,7 @@ "type":"list", "member":{"shape":"FunctionResponseType"}, "max":1, - "min":1 + "min":0 }, "FunctionVersion":{ "type":"string", @@ -3105,7 +3105,6 @@ }, "LayerPermissionAllowedAction":{ "type":"string", - "max":22, "pattern":"lambda:GetLayerVersion" }, "LayerPermissionAllowedPrincipal":{ @@ -3746,7 +3745,6 @@ }, "OrganizationId":{ "type":"string", - "max":34, "pattern":"o-[a-z0-9]{10,32}" }, "PackageType":{ @@ -3793,7 +3791,7 @@ }, "Principal":{ "type":"string", - "pattern":"[^\\s]+" + "pattern":".*" }, "ProvisionedConcurrencyConfigList":{ "type":"list", @@ -4355,7 +4353,6 @@ }, "SourceOwner":{ "type":"string", - "max":12, "pattern":"\\d{12}" }, "State":{