Skip to content

Commit dd891c6

Browse files
author
AWS
committed
AWS AppSync Update: Add support for operation level caching
1 parent 6f1ae9a commit dd891c6

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
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 AppSync",
4+
"contributor": "",
5+
"description": "Add support for operation level caching"
6+
}

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@
13721372
},
13731373
"apiCachingBehavior":{
13741374
"shape":"ApiCachingBehavior",
1375-
"documentation":"<p>Caching behavior.</p> <ul> <li> <p> <b>FULL_REQUEST_CACHING</b>: All requests are fully cached.</p> </li> <li> <p> <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are cached.</p> </li> </ul>"
1375+
"documentation":"<p>Caching behavior.</p> <ul> <li> <p> <b>FULL_REQUEST_CACHING</b>: All requests from the same user are cached. Individual resolvers are automatically cached. All API calls will try to return responses from the cache.</p> </li> <li> <p> <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are cached.</p> </li> <li> <p> <b>OPERATION_LEVEL_CACHING</b>: Full requests are cached together and returned without executing resolvers.</p> </li> </ul>"
13761376
},
13771377
"transitEncryptionEnabled":{
13781378
"shape":"Boolean",
@@ -1431,7 +1431,8 @@
14311431
"type":"string",
14321432
"enum":[
14331433
"FULL_REQUEST_CACHING",
1434-
"PER_RESOLVER_CACHING"
1434+
"PER_RESOLVER_CACHING",
1435+
"OPERATION_LEVEL_CACHING"
14351436
]
14361437
},
14371438
"ApiKey":{
@@ -1967,7 +1968,7 @@
19671968
},
19681969
"apiCachingBehavior":{
19691970
"shape":"ApiCachingBehavior",
1970-
"documentation":"<p>Caching behavior.</p> <ul> <li> <p> <b>FULL_REQUEST_CACHING</b>: All requests are fully cached.</p> </li> <li> <p> <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are cached.</p> </li> </ul>"
1971+
"documentation":"<p>Caching behavior.</p> <ul> <li> <p> <b>FULL_REQUEST_CACHING</b>: All requests from the same user are cached. Individual resolvers are automatically cached. All API calls will try to return responses from the cache.</p> </li> <li> <p> <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are cached.</p> </li> <li> <p> <b>OPERATION_LEVEL_CACHING</b>: Full requests are cached together and returned without executing resolvers.</p> </li> </ul>"
19711972
},
19721973
"type":{
19731974
"shape":"ApiCacheType",
@@ -5317,7 +5318,7 @@
53175318
},
53185319
"apiCachingBehavior":{
53195320
"shape":"ApiCachingBehavior",
5320-
"documentation":"<p>Caching behavior.</p> <ul> <li> <p> <b>FULL_REQUEST_CACHING</b>: All requests are fully cached.</p> </li> <li> <p> <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are cached.</p> </li> </ul>"
5321+
"documentation":"<p>Caching behavior.</p> <ul> <li> <p> <b>FULL_REQUEST_CACHING</b>: All requests from the same user are cached. Individual resolvers are automatically cached. All API calls will try to return responses from the cache.</p> </li> <li> <p> <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are cached.</p> </li> <li> <p> <b>OPERATION_LEVEL_CACHING</b>: Full requests are cached together and returned without executing resolvers.</p> </li> </ul>"
53215322
},
53225323
"type":{
53235324
"shape":"ApiCacheType",

0 commit comments

Comments
 (0)