aws-sdk-appsync 1.21.0 → 1.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d90b7820b982a355c856aff756d3c739dbef9651
4
- data.tar.gz: ebefb331c99c5b1e27e197f223e6df493cb38b09
3
+ metadata.gz: acf1d641e6008b03884cea1f84b47e6622beb70b
4
+ data.tar.gz: debe3afce52285fc9a464bedd7f4720162fd6351
5
5
  SHA512:
6
- metadata.gz: bb799ef9912a980ea8fa91bc9ecf58118e637dc427d2bfc5e32a64f285b5f31373597edd7cfaae7d537589c4b52dfc9d898313ec1dfc384a98ed48a48902250f
7
- data.tar.gz: 20f5e569d08927df027c3875aed8f2200c8b4d13e4d8d0208e4b53e1d0f9e88ff2050359941083dbde0c87eaca75baffff23e3b06211f61ccddb6be45da3944b
6
+ metadata.gz: 93dce235b19a17a9334fedbc8faf0f464895927f32f27ac1c5e6c79758a507732b50e33feed07ae5f24d641c6d882af9944ead8b3d5b1b07746fa182bc6eda89
7
+ data.tar.gz: d8708a5b892c843b915bd84a95abd3ba5bb23590424f4c76dfa4529dde93b11948d233b9f1f03a20783fc69a534f00cab4ce12197936cc4c1c5263c1330094e6
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-appsync/customizations'
42
42
  # @service
43
43
  module Aws::AppSync
44
44
 
45
- GEM_VERSION = '1.21.0'
45
+ GEM_VERSION = '1.22.0'
46
46
 
47
47
  end
@@ -254,6 +254,82 @@ module Aws::AppSync
254
254
 
255
255
  # @!group API Operations
256
256
 
257
+ # Creates a cache for the GraphQL API.
258
+ #
259
+ # @option params [required, String] :api_id
260
+ # The GraphQL API Id.
261
+ #
262
+ # @option params [required, Integer] :ttl
263
+ # TTL in seconds for cache entries.
264
+ #
265
+ # Valid values are between 1 and 3600 seconds.
266
+ #
267
+ # @option params [Boolean] :transit_encryption_enabled
268
+ # Transit encryption flag when connecting to cache. This setting cannot
269
+ # be updated after creation.
270
+ #
271
+ # @option params [Boolean] :at_rest_encryption_enabled
272
+ # At rest encryption flag for cache. This setting cannot be updated
273
+ # after creation.
274
+ #
275
+ # @option params [required, String] :api_caching_behavior
276
+ # Caching behavior.
277
+ #
278
+ # * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
279
+ #
280
+ # * **PER\_RESOLVER\_CACHING**\: Individual resovlers that you specify
281
+ # are cached.
282
+ #
283
+ # @option params [required, String] :type
284
+ # The cache instance type.
285
+ #
286
+ # * **T2\_SMALL**\: A t2.small instance type.
287
+ #
288
+ # * **T2\_MEDIUM**\: A t2.medium instance type.
289
+ #
290
+ # * **R4\_LARGE**\: A r4.large instance type.
291
+ #
292
+ # * **R4\_XLARGE**\: A r4.xlarge instance type.
293
+ #
294
+ # * **R4\_2XLARGE**\: A r4.2xlarge instance type.
295
+ #
296
+ # * **R4\_4XLARGE**\: A r4.4xlarge instance type.
297
+ #
298
+ # * **R4\_8XLARGE**\: A r4.8xlarge instance type.
299
+ #
300
+ # @return [Types::CreateApiCacheResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
301
+ #
302
+ # * {Types::CreateApiCacheResponse#api_cache #api_cache} => Types::ApiCache
303
+ #
304
+ # @example Request syntax with placeholder values
305
+ #
306
+ # resp = client.create_api_cache({
307
+ # api_id: "String", # required
308
+ # ttl: 1, # required
309
+ # transit_encryption_enabled: false,
310
+ # at_rest_encryption_enabled: false,
311
+ # api_caching_behavior: "FULL_REQUEST_CACHING", # required, accepts FULL_REQUEST_CACHING, PER_RESOLVER_CACHING
312
+ # type: "T2_SMALL", # required, accepts T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE
313
+ # })
314
+ #
315
+ # @example Response structure
316
+ #
317
+ # resp.api_cache.ttl #=> Integer
318
+ # resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING"
319
+ # resp.api_cache.transit_encryption_enabled #=> Boolean
320
+ # resp.api_cache.at_rest_encryption_enabled #=> Boolean
321
+ # resp.api_cache.type #=> String, one of "T2_SMALL", "T2_MEDIUM", "R4_LARGE", "R4_XLARGE", "R4_2XLARGE", "R4_4XLARGE", "R4_8XLARGE"
322
+ # resp.api_cache.status #=> String, one of "AVAILABLE", "CREATING", "DELETING", "MODIFYING", "FAILED"
323
+ #
324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCache AWS API Documentation
325
+ #
326
+ # @overload create_api_cache(params = {})
327
+ # @param [Hash] params ({})
328
+ def create_api_cache(params = {}, options = {})
329
+ req = build_request(:create_api_cache, params)
330
+ req.send_request(options)
331
+ end
332
+
257
333
  # Creates a unique key that you can distribute to clients who are
258
334
  # executing your API.
259
335
  #
@@ -345,6 +421,12 @@ module Aws::AppSync
345
421
  # table_name: "String", # required
346
422
  # aws_region: "String", # required
347
423
  # use_caller_credentials: false,
424
+ # delta_sync_config: {
425
+ # base_table_ttl: 1,
426
+ # delta_sync_table_name: "String",
427
+ # delta_sync_table_ttl: 1,
428
+ # },
429
+ # versioned: false,
348
430
  # },
349
431
  # lambda_config: {
350
432
  # lambda_function_arn: "String", # required
@@ -385,6 +467,10 @@ module Aws::AppSync
385
467
  # resp.data_source.dynamodb_config.table_name #=> String
386
468
  # resp.data_source.dynamodb_config.aws_region #=> String
387
469
  # resp.data_source.dynamodb_config.use_caller_credentials #=> Boolean
470
+ # resp.data_source.dynamodb_config.delta_sync_config.base_table_ttl #=> Integer
471
+ # resp.data_source.dynamodb_config.delta_sync_config.delta_sync_table_name #=> String
472
+ # resp.data_source.dynamodb_config.delta_sync_config.delta_sync_table_ttl #=> Integer
473
+ # resp.data_source.dynamodb_config.versioned #=> Boolean
388
474
  # resp.data_source.lambda_config.lambda_function_arn #=> String
389
475
  # resp.data_source.elasticsearch_config.endpoint #=> String
390
476
  # resp.data_source.elasticsearch_config.aws_region #=> String
@@ -626,6 +712,12 @@ module Aws::AppSync
626
712
  # @option params [Types::PipelineConfig] :pipeline_config
627
713
  # The `PipelineConfig`.
628
714
  #
715
+ # @option params [Types::SyncConfig] :sync_config
716
+ # The `SyncConfig` for a resolver attached to a versioned datasource.
717
+ #
718
+ # @option params [Types::CachingConfig] :caching_config
719
+ # The caching configuration for the resolver.
720
+ #
629
721
  # @return [Types::CreateResolverResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
630
722
  #
631
723
  # * {Types::CreateResolverResponse#resolver #resolver} => Types::Resolver
@@ -643,6 +735,17 @@ module Aws::AppSync
643
735
  # pipeline_config: {
644
736
  # functions: ["String"],
645
737
  # },
738
+ # sync_config: {
739
+ # conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
740
+ # conflict_detection: "VERSION", # accepts VERSION, NONE
741
+ # lambda_conflict_handler_config: {
742
+ # lambda_conflict_handler_arn: "String",
743
+ # },
744
+ # },
745
+ # caching_config: {
746
+ # ttl: 1,
747
+ # caching_keys: ["String"],
748
+ # },
646
749
  # })
647
750
  #
648
751
  # @example Response structure
@@ -656,6 +759,12 @@ module Aws::AppSync
656
759
  # resp.resolver.kind #=> String, one of "UNIT", "PIPELINE"
657
760
  # resp.resolver.pipeline_config.functions #=> Array
658
761
  # resp.resolver.pipeline_config.functions[0] #=> String
762
+ # resp.resolver.sync_config.conflict_handler #=> String, one of "OPTIMISTIC_CONCURRENCY", "LAMBDA", "AUTOMERGE", "NONE"
763
+ # resp.resolver.sync_config.conflict_detection #=> String, one of "VERSION", "NONE"
764
+ # resp.resolver.sync_config.lambda_conflict_handler_config.lambda_conflict_handler_arn #=> String
765
+ # resp.resolver.caching_config.ttl #=> Integer
766
+ # resp.resolver.caching_config.caching_keys #=> Array
767
+ # resp.resolver.caching_config.caching_keys[0] #=> String
659
768
  #
660
769
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver AWS API Documentation
661
770
  #
@@ -713,6 +822,28 @@ module Aws::AppSync
713
822
  req.send_request(options)
714
823
  end
715
824
 
825
+ # Deletes an `ApiCache` object.
826
+ #
827
+ # @option params [required, String] :api_id
828
+ # The API ID.
829
+ #
830
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
831
+ #
832
+ # @example Request syntax with placeholder values
833
+ #
834
+ # resp = client.delete_api_cache({
835
+ # api_id: "String", # required
836
+ # })
837
+ #
838
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiCache AWS API Documentation
839
+ #
840
+ # @overload delete_api_cache(params = {})
841
+ # @param [Hash] params ({})
842
+ def delete_api_cache(params = {}, options = {})
843
+ req = build_request(:delete_api_cache, params)
844
+ req.send_request(options)
845
+ end
846
+
716
847
  # Deletes an API key.
717
848
  #
718
849
  # @option params [required, String] :api_id
@@ -869,6 +1000,61 @@ module Aws::AppSync
869
1000
  req.send_request(options)
870
1001
  end
871
1002
 
1003
+ # Flushes an `ApiCache` object.
1004
+ #
1005
+ # @option params [required, String] :api_id
1006
+ # The API ID.
1007
+ #
1008
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1009
+ #
1010
+ # @example Request syntax with placeholder values
1011
+ #
1012
+ # resp = client.flush_api_cache({
1013
+ # api_id: "String", # required
1014
+ # })
1015
+ #
1016
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FlushApiCache AWS API Documentation
1017
+ #
1018
+ # @overload flush_api_cache(params = {})
1019
+ # @param [Hash] params ({})
1020
+ def flush_api_cache(params = {}, options = {})
1021
+ req = build_request(:flush_api_cache, params)
1022
+ req.send_request(options)
1023
+ end
1024
+
1025
+ # Retrieves an `ApiCache` object.
1026
+ #
1027
+ # @option params [required, String] :api_id
1028
+ # The API ID.
1029
+ #
1030
+ # @return [Types::GetApiCacheResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1031
+ #
1032
+ # * {Types::GetApiCacheResponse#api_cache #api_cache} => Types::ApiCache
1033
+ #
1034
+ # @example Request syntax with placeholder values
1035
+ #
1036
+ # resp = client.get_api_cache({
1037
+ # api_id: "String", # required
1038
+ # })
1039
+ #
1040
+ # @example Response structure
1041
+ #
1042
+ # resp.api_cache.ttl #=> Integer
1043
+ # resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING"
1044
+ # resp.api_cache.transit_encryption_enabled #=> Boolean
1045
+ # resp.api_cache.at_rest_encryption_enabled #=> Boolean
1046
+ # resp.api_cache.type #=> String, one of "T2_SMALL", "T2_MEDIUM", "R4_LARGE", "R4_XLARGE", "R4_2XLARGE", "R4_4XLARGE", "R4_8XLARGE"
1047
+ # resp.api_cache.status #=> String, one of "AVAILABLE", "CREATING", "DELETING", "MODIFYING", "FAILED"
1048
+ #
1049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiCache AWS API Documentation
1050
+ #
1051
+ # @overload get_api_cache(params = {})
1052
+ # @param [Hash] params ({})
1053
+ def get_api_cache(params = {}, options = {})
1054
+ req = build_request(:get_api_cache, params)
1055
+ req.send_request(options)
1056
+ end
1057
+
872
1058
  # Retrieves a `DataSource` object.
873
1059
  #
874
1060
  # @option params [required, String] :api_id
@@ -898,6 +1084,10 @@ module Aws::AppSync
898
1084
  # resp.data_source.dynamodb_config.table_name #=> String
899
1085
  # resp.data_source.dynamodb_config.aws_region #=> String
900
1086
  # resp.data_source.dynamodb_config.use_caller_credentials #=> Boolean
1087
+ # resp.data_source.dynamodb_config.delta_sync_config.base_table_ttl #=> Integer
1088
+ # resp.data_source.dynamodb_config.delta_sync_config.delta_sync_table_name #=> String
1089
+ # resp.data_source.dynamodb_config.delta_sync_config.delta_sync_table_ttl #=> Integer
1090
+ # resp.data_source.dynamodb_config.versioned #=> Boolean
901
1091
  # resp.data_source.lambda_config.lambda_function_arn #=> String
902
1092
  # resp.data_source.elasticsearch_config.endpoint #=> String
903
1093
  # resp.data_source.elasticsearch_config.aws_region #=> String
@@ -1086,6 +1276,12 @@ module Aws::AppSync
1086
1276
  # resp.resolver.kind #=> String, one of "UNIT", "PIPELINE"
1087
1277
  # resp.resolver.pipeline_config.functions #=> Array
1088
1278
  # resp.resolver.pipeline_config.functions[0] #=> String
1279
+ # resp.resolver.sync_config.conflict_handler #=> String, one of "OPTIMISTIC_CONCURRENCY", "LAMBDA", "AUTOMERGE", "NONE"
1280
+ # resp.resolver.sync_config.conflict_detection #=> String, one of "VERSION", "NONE"
1281
+ # resp.resolver.sync_config.lambda_conflict_handler_config.lambda_conflict_handler_arn #=> String
1282
+ # resp.resolver.caching_config.ttl #=> Integer
1283
+ # resp.resolver.caching_config.caching_keys #=> Array
1284
+ # resp.resolver.caching_config.caching_keys[0] #=> String
1089
1285
  #
1090
1286
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver AWS API Documentation
1091
1287
  #
@@ -1253,6 +1449,10 @@ module Aws::AppSync
1253
1449
  # resp.data_sources[0].dynamodb_config.table_name #=> String
1254
1450
  # resp.data_sources[0].dynamodb_config.aws_region #=> String
1255
1451
  # resp.data_sources[0].dynamodb_config.use_caller_credentials #=> Boolean
1452
+ # resp.data_sources[0].dynamodb_config.delta_sync_config.base_table_ttl #=> Integer
1453
+ # resp.data_sources[0].dynamodb_config.delta_sync_config.delta_sync_table_name #=> String
1454
+ # resp.data_sources[0].dynamodb_config.delta_sync_config.delta_sync_table_ttl #=> Integer
1455
+ # resp.data_sources[0].dynamodb_config.versioned #=> Boolean
1256
1456
  # resp.data_sources[0].lambda_config.lambda_function_arn #=> String
1257
1457
  # resp.data_sources[0].elasticsearch_config.endpoint #=> String
1258
1458
  # resp.data_sources[0].elasticsearch_config.aws_region #=> String
@@ -1431,6 +1631,12 @@ module Aws::AppSync
1431
1631
  # resp.resolvers[0].kind #=> String, one of "UNIT", "PIPELINE"
1432
1632
  # resp.resolvers[0].pipeline_config.functions #=> Array
1433
1633
  # resp.resolvers[0].pipeline_config.functions[0] #=> String
1634
+ # resp.resolvers[0].sync_config.conflict_handler #=> String, one of "OPTIMISTIC_CONCURRENCY", "LAMBDA", "AUTOMERGE", "NONE"
1635
+ # resp.resolvers[0].sync_config.conflict_detection #=> String, one of "VERSION", "NONE"
1636
+ # resp.resolvers[0].sync_config.lambda_conflict_handler_config.lambda_conflict_handler_arn #=> String
1637
+ # resp.resolvers[0].caching_config.ttl #=> Integer
1638
+ # resp.resolvers[0].caching_config.caching_keys #=> Array
1639
+ # resp.resolvers[0].caching_config.caching_keys[0] #=> String
1434
1640
  # resp.next_token #=> String
1435
1641
  #
1436
1642
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers AWS API Documentation
@@ -1484,6 +1690,12 @@ module Aws::AppSync
1484
1690
  # resp.resolvers[0].kind #=> String, one of "UNIT", "PIPELINE"
1485
1691
  # resp.resolvers[0].pipeline_config.functions #=> Array
1486
1692
  # resp.resolvers[0].pipeline_config.functions[0] #=> String
1693
+ # resp.resolvers[0].sync_config.conflict_handler #=> String, one of "OPTIMISTIC_CONCURRENCY", "LAMBDA", "AUTOMERGE", "NONE"
1694
+ # resp.resolvers[0].sync_config.conflict_detection #=> String, one of "VERSION", "NONE"
1695
+ # resp.resolvers[0].sync_config.lambda_conflict_handler_config.lambda_conflict_handler_arn #=> String
1696
+ # resp.resolvers[0].caching_config.ttl #=> Integer
1697
+ # resp.resolvers[0].caching_config.caching_keys #=> Array
1698
+ # resp.resolvers[0].caching_config.caching_keys[0] #=> String
1487
1699
  # resp.next_token #=> String
1488
1700
  #
1489
1701
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunction AWS API Documentation
@@ -1662,6 +1874,72 @@ module Aws::AppSync
1662
1874
  req.send_request(options)
1663
1875
  end
1664
1876
 
1877
+ # Updates the cache for the GraphQL API.
1878
+ #
1879
+ # @option params [required, String] :api_id
1880
+ # The GraphQL API Id.
1881
+ #
1882
+ # @option params [required, Integer] :ttl
1883
+ # TTL in seconds for cache entries.
1884
+ #
1885
+ # Valid values are between 1 and 3600 seconds.
1886
+ #
1887
+ # @option params [required, String] :api_caching_behavior
1888
+ # Caching behavior.
1889
+ #
1890
+ # * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
1891
+ #
1892
+ # * **PER\_RESOLVER\_CACHING**\: Individual resovlers that you specify
1893
+ # are cached.
1894
+ #
1895
+ # @option params [required, String] :type
1896
+ # The cache instance type.
1897
+ #
1898
+ # * **T2\_SMALL**\: A t2.small instance type.
1899
+ #
1900
+ # * **T2\_MEDIUM**\: A t2.medium instance type.
1901
+ #
1902
+ # * **R4\_LARGE**\: A r4.large instance type.
1903
+ #
1904
+ # * **R4\_XLARGE**\: A r4.xlarge instance type.
1905
+ #
1906
+ # * **R4\_2XLARGE**\: A r4.2xlarge instance type.
1907
+ #
1908
+ # * **R4\_4XLARGE**\: A r4.4xlarge instance type.
1909
+ #
1910
+ # * **R4\_8XLARGE**\: A r4.8xlarge instance type.
1911
+ #
1912
+ # @return [Types::UpdateApiCacheResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1913
+ #
1914
+ # * {Types::UpdateApiCacheResponse#api_cache #api_cache} => Types::ApiCache
1915
+ #
1916
+ # @example Request syntax with placeholder values
1917
+ #
1918
+ # resp = client.update_api_cache({
1919
+ # api_id: "String", # required
1920
+ # ttl: 1, # required
1921
+ # api_caching_behavior: "FULL_REQUEST_CACHING", # required, accepts FULL_REQUEST_CACHING, PER_RESOLVER_CACHING
1922
+ # type: "T2_SMALL", # required, accepts T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE
1923
+ # })
1924
+ #
1925
+ # @example Response structure
1926
+ #
1927
+ # resp.api_cache.ttl #=> Integer
1928
+ # resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING"
1929
+ # resp.api_cache.transit_encryption_enabled #=> Boolean
1930
+ # resp.api_cache.at_rest_encryption_enabled #=> Boolean
1931
+ # resp.api_cache.type #=> String, one of "T2_SMALL", "T2_MEDIUM", "R4_LARGE", "R4_XLARGE", "R4_2XLARGE", "R4_4XLARGE", "R4_8XLARGE"
1932
+ # resp.api_cache.status #=> String, one of "AVAILABLE", "CREATING", "DELETING", "MODIFYING", "FAILED"
1933
+ #
1934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCache AWS API Documentation
1935
+ #
1936
+ # @overload update_api_cache(params = {})
1937
+ # @param [Hash] params ({})
1938
+ def update_api_cache(params = {}, options = {})
1939
+ req = build_request(:update_api_cache, params)
1940
+ req.send_request(options)
1941
+ end
1942
+
1665
1943
  # Updates an API key.
1666
1944
  #
1667
1945
  # @option params [required, String] :api_id
@@ -1753,6 +2031,12 @@ module Aws::AppSync
1753
2031
  # table_name: "String", # required
1754
2032
  # aws_region: "String", # required
1755
2033
  # use_caller_credentials: false,
2034
+ # delta_sync_config: {
2035
+ # base_table_ttl: 1,
2036
+ # delta_sync_table_name: "String",
2037
+ # delta_sync_table_ttl: 1,
2038
+ # },
2039
+ # versioned: false,
1756
2040
  # },
1757
2041
  # lambda_config: {
1758
2042
  # lambda_function_arn: "String", # required
@@ -1793,6 +2077,10 @@ module Aws::AppSync
1793
2077
  # resp.data_source.dynamodb_config.table_name #=> String
1794
2078
  # resp.data_source.dynamodb_config.aws_region #=> String
1795
2079
  # resp.data_source.dynamodb_config.use_caller_credentials #=> Boolean
2080
+ # resp.data_source.dynamodb_config.delta_sync_config.base_table_ttl #=> Integer
2081
+ # resp.data_source.dynamodb_config.delta_sync_config.delta_sync_table_name #=> String
2082
+ # resp.data_source.dynamodb_config.delta_sync_config.delta_sync_table_ttl #=> Integer
2083
+ # resp.data_source.dynamodb_config.versioned #=> Boolean
1796
2084
  # resp.data_source.lambda_config.lambda_function_arn #=> String
1797
2085
  # resp.data_source.elasticsearch_config.endpoint #=> String
1798
2086
  # resp.data_source.elasticsearch_config.aws_region #=> String
@@ -2026,6 +2314,12 @@ module Aws::AppSync
2026
2314
  # @option params [Types::PipelineConfig] :pipeline_config
2027
2315
  # The `PipelineConfig`.
2028
2316
  #
2317
+ # @option params [Types::SyncConfig] :sync_config
2318
+ # The `SyncConfig` for a resolver attached to a versioned datasource.
2319
+ #
2320
+ # @option params [Types::CachingConfig] :caching_config
2321
+ # The caching configuration for the resolver.
2322
+ #
2029
2323
  # @return [Types::UpdateResolverResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2030
2324
  #
2031
2325
  # * {Types::UpdateResolverResponse#resolver #resolver} => Types::Resolver
@@ -2043,6 +2337,17 @@ module Aws::AppSync
2043
2337
  # pipeline_config: {
2044
2338
  # functions: ["String"],
2045
2339
  # },
2340
+ # sync_config: {
2341
+ # conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
2342
+ # conflict_detection: "VERSION", # accepts VERSION, NONE
2343
+ # lambda_conflict_handler_config: {
2344
+ # lambda_conflict_handler_arn: "String",
2345
+ # },
2346
+ # },
2347
+ # caching_config: {
2348
+ # ttl: 1,
2349
+ # caching_keys: ["String"],
2350
+ # },
2046
2351
  # })
2047
2352
  #
2048
2353
  # @example Response structure
@@ -2056,6 +2361,12 @@ module Aws::AppSync
2056
2361
  # resp.resolver.kind #=> String, one of "UNIT", "PIPELINE"
2057
2362
  # resp.resolver.pipeline_config.functions #=> Array
2058
2363
  # resp.resolver.pipeline_config.functions[0] #=> String
2364
+ # resp.resolver.sync_config.conflict_handler #=> String, one of "OPTIMISTIC_CONCURRENCY", "LAMBDA", "AUTOMERGE", "NONE"
2365
+ # resp.resolver.sync_config.conflict_detection #=> String, one of "VERSION", "NONE"
2366
+ # resp.resolver.sync_config.lambda_conflict_handler_config.lambda_conflict_handler_arn #=> String
2367
+ # resp.resolver.caching_config.ttl #=> Integer
2368
+ # resp.resolver.caching_config.caching_keys #=> Array
2369
+ # resp.resolver.caching_config.caching_keys[0] #=> String
2059
2370
  #
2060
2371
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver AWS API Documentation
2061
2372
  #
@@ -2123,7 +2434,7 @@ module Aws::AppSync
2123
2434
  params: params,
2124
2435
  config: config)
2125
2436
  context[:gem_name] = 'aws-sdk-appsync'
2126
- context[:gem_version] = '1.21.0'
2437
+ context[:gem_version] = '1.22.0'
2127
2438
  Seahorse::Client::Request.new(handlers, context)
2128
2439
  end
2129
2440