Skip to content

Commit c2be7f5

Browse files
author
AWS
committed
AWS AppSync Update: AppSync: AWS AppSync now supports configurable batching sizes for AWS Lambda resolvers, Direct AWS Lambda resolvers and pipeline functions
1 parent 2b1862f commit c2be7f5

File tree

2 files changed

+42
-5
lines changed

2 files changed

+42
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS AppSync",
4+
"contributor": "",
5+
"description": "AppSync: AWS AppSync now supports configurable batching sizes for AWS Lambda resolvers, Direct AWS Lambda resolvers and pipeline functions"
6+
}

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

+36-5
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,11 @@
13811381
"shape":"String",
13821382
"documentation":"<p>The <code>version</code> of the request mapping template. Currently, the supported value is 2018-05-29.</p>"
13831383
},
1384-
"syncConfig":{"shape":"SyncConfig"}
1384+
"syncConfig":{"shape":"SyncConfig"},
1385+
"maxBatchSize":{
1386+
"shape":"MaxBatchSize",
1387+
"documentation":"<p>The maximum batching size for a resolver.</p>"
1388+
}
13851389
}
13861390
},
13871391
"CreateFunctionResponse":{
@@ -1498,6 +1502,10 @@
14981502
"cachingConfig":{
14991503
"shape":"CachingConfig",
15001504
"documentation":"<p>The caching configuration for the resolver.</p>"
1505+
},
1506+
"maxBatchSize":{
1507+
"shape":"MaxBatchSize",
1508+
"documentation":"<p>The maximum batching size for a resolver.</p>"
15011509
}
15021510
}
15031511
},
@@ -1994,7 +2002,11 @@
19942002
"shape":"String",
19952003
"documentation":"<p>The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.</p>"
19962004
},
1997-
"syncConfig":{"shape":"SyncConfig"}
2005+
"syncConfig":{"shape":"SyncConfig"},
2006+
"maxBatchSize":{
2007+
"shape":"MaxBatchSize",
2008+
"documentation":"<p>The maximum batching size for a resolver.</p>"
2009+
}
19982010
},
19992011
"documentation":"<p>A function is a reusable entity. You can use multiple functions to compose the resolver logic.</p>"
20002012
},
@@ -2793,7 +2805,13 @@
27932805
"MappingTemplate":{
27942806
"type":"string",
27952807
"max":65536,
2796-
"min":1
2808+
"min":1,
2809+
"pattern":"^.*$"
2810+
},
2811+
"MaxBatchSize":{
2812+
"type":"integer",
2813+
"max":2000,
2814+
"min":0
27972815
},
27982816
"MaxResults":{
27992817
"type":"integer",
@@ -2959,6 +2977,10 @@
29592977
"cachingConfig":{
29602978
"shape":"CachingConfig",
29612979
"documentation":"<p>The caching configuration for the resolver.</p>"
2980+
},
2981+
"maxBatchSize":{
2982+
"shape":"MaxBatchSize",
2983+
"documentation":"<p>The maximum batching size for a resolver.</p>"
29622984
}
29632985
},
29642986
"documentation":"<p>Describes a resolver.</p>"
@@ -3097,7 +3119,8 @@
30973119
"TagValue":{
30983120
"type":"string",
30993121
"documentation":"<p>The value for the tag.</p>",
3100-
"max":256
3122+
"max":256,
3123+
"pattern":"^[\\s\\w+-=\\.:/@]*$"
31013124
},
31023125
"Type":{
31033126
"type":"structure",
@@ -3387,7 +3410,11 @@
33873410
"shape":"String",
33883411
"documentation":"<p>The <code>version</code> of the request mapping template. Currently, the supported value is 2018-05-29.</p>"
33893412
},
3390-
"syncConfig":{"shape":"SyncConfig"}
3413+
"syncConfig":{"shape":"SyncConfig"},
3414+
"maxBatchSize":{
3415+
"shape":"MaxBatchSize",
3416+
"documentation":"<p>The maximum batching size for a resolver.</p>"
3417+
}
33913418
}
33923419
},
33933420
"UpdateFunctionResponse":{
@@ -3508,6 +3535,10 @@
35083535
"cachingConfig":{
35093536
"shape":"CachingConfig",
35103537
"documentation":"<p>The caching configuration for the resolver.</p>"
3538+
},
3539+
"maxBatchSize":{
3540+
"shape":"MaxBatchSize",
3541+
"documentation":"<p>The maximum batching size for a resolver.</p>"
35113542
}
35123543
}
35133544
},

0 commit comments

Comments
 (0)