Skip to content

Commit c08bfa4

Browse files
author
AWS
committed
AWS Lambda Update: Allow empty list for function response types
1 parent a4763e9 commit c08bfa4

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Lambda",
4+
"contributor": "",
5+
"description": "Allow empty list for function response types"
6+
}

services/lambda/src/main/resources/codegen-resources/service-2.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,7 +2358,7 @@
23582358
"type":"list",
23592359
"member":{"shape":"FunctionResponseType"},
23602360
"max":1,
2361-
"min":1
2361+
"min":0
23622362
},
23632363
"FunctionVersion":{
23642364
"type":"string",
@@ -3105,7 +3105,6 @@
31053105
},
31063106
"LayerPermissionAllowedAction":{
31073107
"type":"string",
3108-
"max":22,
31093108
"pattern":"lambda:GetLayerVersion"
31103109
},
31113110
"LayerPermissionAllowedPrincipal":{
@@ -3746,7 +3745,6 @@
37463745
},
37473746
"OrganizationId":{
37483747
"type":"string",
3749-
"max":34,
37503748
"pattern":"o-[a-z0-9]{10,32}"
37513749
},
37523750
"PackageType":{
@@ -3793,7 +3791,7 @@
37933791
},
37943792
"Principal":{
37953793
"type":"string",
3796-
"pattern":"[^\\s]+"
3794+
"pattern":".*"
37973795
},
37983796
"ProvisionedConcurrencyConfigList":{
37993797
"type":"list",
@@ -4355,7 +4353,6 @@
43554353
},
43564354
"SourceOwner":{
43574355
"type":"string",
4358-
"max":12,
43594356
"pattern":"\\d{12}"
43604357
},
43614358
"State":{

0 commit comments

Comments
 (0)