aws-sdk-appsync 1.34.0 → 1.39.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
  SHA256:
3
- metadata.gz: c48489056f95a6fef4bb84e62222ae9a056a38dda3fc23e6e7d594819299d432
4
- data.tar.gz: f6134213e9637f2252ea2aeb796b007b797d72b00bf6775639c37933c042e18b
3
+ metadata.gz: 37274b232778fda99cd3853825eafb3fc79eae4c9e2303841f05f608a65825dd
4
+ data.tar.gz: e44502ca5164a07a33aa74128b7bbeb0cad5b21602643771801e2ff900dd2d54
5
5
  SHA512:
6
- metadata.gz: '09de383f796a7a98a1e847cb19f9541cf577f2225c5fd9305dd9a1318019e09232b6b93d7574a366c1b7e19a8a4c15bf5b8458d0085be45c7c6c328720a49606'
7
- data.tar.gz: 14630059e76e6c25051da3fbf23b4c53667be52156bdad80002f426232bbf2f84f90ddace7ed3235cdb1a8de87abd006c34d0c4c0de87dec5c9c8c576a16d0a0
6
+ metadata.gz: 9533d6cea4af695c072ef82c809a4e79ab992ac912198a2f5c3f4991d95b0bc16aef0b63bc500b75e46ade96b58733b13b7879c3a22eaad94d283028342790f6
7
+ data.tar.gz: 8ca9ebb259fe6c3a84e2972a71f4044d90808906799b7b299646321d58b93a200c95d1a7adfe779f09f9ad5b926e7c65a24b7bd62900648a6338fd70b21ca3e2
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-appsync/customizations'
48
48
  # @!group service
49
49
  module Aws::AppSync
50
50
 
51
- GEM_VERSION = '1.34.0'
51
+ GEM_VERSION = '1.39.0'
52
52
 
53
53
  end
@@ -350,7 +350,7 @@ module Aws::AppSync
350
350
  #
351
351
  # * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
352
352
  #
353
- # * **PER\_RESOLVER\_CACHING**\: Individual resovlers that you specify
353
+ # * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
354
354
  # are cached.
355
355
  #
356
356
  # @option params [required, String] :type
@@ -376,7 +376,7 @@ module Aws::AppSync
376
376
  # of July 2020, this is deprecated, and the generic identifiers above
377
377
  # should be used.
378
378
  #
379
- # The following legacy instance types are avaible, but their use is
379
+ # The following legacy instance types are available, but their use is
380
380
  # discouraged:
381
381
  #
382
382
  # * **T2\_SMALL**\: A t2.small instance type.
@@ -458,6 +458,7 @@ module Aws::AppSync
458
458
  # resp.api_key.id #=> String
459
459
  # resp.api_key.description #=> String
460
460
  # resp.api_key.expires #=> Integer
461
+ # resp.api_key.deletes #=> Integer
461
462
  #
462
463
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey AWS API Documentation
463
464
  #
@@ -618,6 +619,12 @@ module Aws::AppSync
618
619
  # The `version` of the request mapping template. Currently the supported
619
620
  # value is 2018-05-29.
620
621
  #
622
+ # @option params [Types::SyncConfig] :sync_config
623
+ # Describes a Sync configuration for a resolver.
624
+ #
625
+ # Contains information on which Conflict Detection as well as Resolution
626
+ # strategy should be performed when the resolver is invoked.
627
+ #
621
628
  # @return [Types::CreateFunctionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
622
629
  #
623
630
  # * {Types::CreateFunctionResponse#function_configuration #function_configuration} => Types::FunctionConfiguration
@@ -632,6 +639,13 @@ module Aws::AppSync
632
639
  # request_mapping_template: "MappingTemplate",
633
640
  # response_mapping_template: "MappingTemplate",
634
641
  # function_version: "String", # required
642
+ # sync_config: {
643
+ # conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
644
+ # conflict_detection: "VERSION", # accepts VERSION, NONE
645
+ # lambda_conflict_handler_config: {
646
+ # lambda_conflict_handler_arn: "String",
647
+ # },
648
+ # },
635
649
  # })
636
650
  #
637
651
  # @example Response structure
@@ -644,6 +658,9 @@ module Aws::AppSync
644
658
  # resp.function_configuration.request_mapping_template #=> String
645
659
  # resp.function_configuration.response_mapping_template #=> String
646
660
  # resp.function_configuration.function_version #=> String
661
+ # resp.function_configuration.sync_config.conflict_handler #=> String, one of "OPTIMISTIC_CONCURRENCY", "LAMBDA", "AUTOMERGE", "NONE"
662
+ # resp.function_configuration.sync_config.conflict_detection #=> String, one of "VERSION", "NONE"
663
+ # resp.function_configuration.sync_config.lambda_conflict_handler_config.lambda_conflict_handler_arn #=> String
647
664
  #
648
665
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunction AWS API Documentation
649
666
  #
@@ -762,6 +779,7 @@ module Aws::AppSync
762
779
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
763
780
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
764
781
  # resp.graphql_api.xray_enabled #=> Boolean
782
+ # resp.graphql_api.waf_web_acl_arn #=> String
765
783
  #
766
784
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi AWS API Documentation
767
785
  #
@@ -1246,6 +1264,9 @@ module Aws::AppSync
1246
1264
  # resp.function_configuration.request_mapping_template #=> String
1247
1265
  # resp.function_configuration.response_mapping_template #=> String
1248
1266
  # resp.function_configuration.function_version #=> String
1267
+ # resp.function_configuration.sync_config.conflict_handler #=> String, one of "OPTIMISTIC_CONCURRENCY", "LAMBDA", "AUTOMERGE", "NONE"
1268
+ # resp.function_configuration.sync_config.conflict_detection #=> String, one of "VERSION", "NONE"
1269
+ # resp.function_configuration.sync_config.lambda_conflict_handler_config.lambda_conflict_handler_arn #=> String
1249
1270
  #
1250
1271
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunction AWS API Documentation
1251
1272
  #
@@ -1302,6 +1323,7 @@ module Aws::AppSync
1302
1323
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
1303
1324
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
1304
1325
  # resp.graphql_api.xray_enabled #=> Boolean
1326
+ # resp.graphql_api.waf_web_acl_arn #=> String
1305
1327
  #
1306
1328
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi AWS API Documentation
1307
1329
  #
@@ -1471,10 +1493,10 @@ module Aws::AppSync
1471
1493
 
1472
1494
  # Lists the API keys for a given API.
1473
1495
  #
1474
- # <note markdown="1"> API keys are deleted automatically sometime after they expire.
1475
- # However, they may still be included in the response until they have
1476
- # actually been deleted. You can safely call `DeleteApiKey` to manually
1477
- # delete a key before it's automatically deleted.
1496
+ # <note markdown="1"> API keys are deleted automatically 60 days after they expire. However,
1497
+ # they may still be included in the response until they have actually
1498
+ # been deleted. You can safely call `DeleteApiKey` to manually delete a
1499
+ # key before it's automatically deleted.
1478
1500
  #
1479
1501
  # </note>
1480
1502
  #
@@ -1508,6 +1530,7 @@ module Aws::AppSync
1508
1530
  # resp.api_keys[0].id #=> String
1509
1531
  # resp.api_keys[0].description #=> String
1510
1532
  # resp.api_keys[0].expires #=> Integer
1533
+ # resp.api_keys[0].deletes #=> Integer
1511
1534
  # resp.next_token #=> String
1512
1535
  #
1513
1536
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys AWS API Documentation
@@ -1621,6 +1644,9 @@ module Aws::AppSync
1621
1644
  # resp.functions[0].request_mapping_template #=> String
1622
1645
  # resp.functions[0].response_mapping_template #=> String
1623
1646
  # resp.functions[0].function_version #=> String
1647
+ # resp.functions[0].sync_config.conflict_handler #=> String, one of "OPTIMISTIC_CONCURRENCY", "LAMBDA", "AUTOMERGE", "NONE"
1648
+ # resp.functions[0].sync_config.conflict_detection #=> String, one of "VERSION", "NONE"
1649
+ # resp.functions[0].sync_config.lambda_conflict_handler_config.lambda_conflict_handler_arn #=> String
1624
1650
  # resp.next_token #=> String
1625
1651
  #
1626
1652
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctions AWS API Documentation
@@ -1686,6 +1712,7 @@ module Aws::AppSync
1686
1712
  # resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.aws_region #=> String
1687
1713
  # resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
1688
1714
  # resp.graphql_apis[0].xray_enabled #=> Boolean
1715
+ # resp.graphql_apis[0].waf_web_acl_arn #=> String
1689
1716
  # resp.next_token #=> String
1690
1717
  #
1691
1718
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis AWS API Documentation
@@ -1997,7 +2024,7 @@ module Aws::AppSync
1997
2024
  #
1998
2025
  # * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
1999
2026
  #
2000
- # * **PER\_RESOLVER\_CACHING**\: Individual resovlers that you specify
2027
+ # * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
2001
2028
  # are cached.
2002
2029
  #
2003
2030
  # @option params [required, String] :type
@@ -2023,7 +2050,7 @@ module Aws::AppSync
2023
2050
  # of July 2020, this is deprecated, and the generic identifiers above
2024
2051
  # should be used.
2025
2052
  #
2026
- # The following legacy instance types are avaible, but their use is
2053
+ # The following legacy instance types are available, but their use is
2027
2054
  # discouraged:
2028
2055
  #
2029
2056
  # * **T2\_SMALL**\: A t2.small instance type.
@@ -2071,7 +2098,7 @@ module Aws::AppSync
2071
2098
  req.send_request(options)
2072
2099
  end
2073
2100
 
2074
- # Updates an API key.
2101
+ # Updates an API key. The key can be updated while it is not deleted.
2075
2102
  #
2076
2103
  # @option params [required, String] :api_id
2077
2104
  # The ID for the GraphQL API.
@@ -2104,6 +2131,7 @@ module Aws::AppSync
2104
2131
  # resp.api_key.id #=> String
2105
2132
  # resp.api_key.description #=> String
2106
2133
  # resp.api_key.expires #=> Integer
2134
+ # resp.api_key.deletes #=> Integer
2107
2135
  #
2108
2136
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey AWS API Documentation
2109
2137
  #
@@ -2263,6 +2291,12 @@ module Aws::AppSync
2263
2291
  # The `version` of the request mapping template. Currently the supported
2264
2292
  # value is 2018-05-29.
2265
2293
  #
2294
+ # @option params [Types::SyncConfig] :sync_config
2295
+ # Describes a Sync configuration for a resolver.
2296
+ #
2297
+ # Contains information on which Conflict Detection as well as Resolution
2298
+ # strategy should be performed when the resolver is invoked.
2299
+ #
2266
2300
  # @return [Types::UpdateFunctionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2267
2301
  #
2268
2302
  # * {Types::UpdateFunctionResponse#function_configuration #function_configuration} => Types::FunctionConfiguration
@@ -2278,6 +2312,13 @@ module Aws::AppSync
2278
2312
  # request_mapping_template: "MappingTemplate",
2279
2313
  # response_mapping_template: "MappingTemplate",
2280
2314
  # function_version: "String", # required
2315
+ # sync_config: {
2316
+ # conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
2317
+ # conflict_detection: "VERSION", # accepts VERSION, NONE
2318
+ # lambda_conflict_handler_config: {
2319
+ # lambda_conflict_handler_arn: "String",
2320
+ # },
2321
+ # },
2281
2322
  # })
2282
2323
  #
2283
2324
  # @example Response structure
@@ -2290,6 +2331,9 @@ module Aws::AppSync
2290
2331
  # resp.function_configuration.request_mapping_template #=> String
2291
2332
  # resp.function_configuration.response_mapping_template #=> String
2292
2333
  # resp.function_configuration.function_version #=> String
2334
+ # resp.function_configuration.sync_config.conflict_handler #=> String, one of "OPTIMISTIC_CONCURRENCY", "LAMBDA", "AUTOMERGE", "NONE"
2335
+ # resp.function_configuration.sync_config.conflict_detection #=> String, one of "VERSION", "NONE"
2336
+ # resp.function_configuration.sync_config.lambda_conflict_handler_config.lambda_conflict_handler_arn #=> String
2293
2337
  #
2294
2338
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunction AWS API Documentation
2295
2339
  #
@@ -2406,6 +2450,7 @@ module Aws::AppSync
2406
2450
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
2407
2451
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
2408
2452
  # resp.graphql_api.xray_enabled #=> Boolean
2453
+ # resp.graphql_api.waf_web_acl_arn #=> String
2409
2454
  #
2410
2455
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi AWS API Documentation
2411
2456
  #
@@ -2579,7 +2624,7 @@ module Aws::AppSync
2579
2624
  params: params,
2580
2625
  config: config)
2581
2626
  context[:gem_name] = 'aws-sdk-appsync'
2582
- context[:gem_version] = '1.34.0'
2627
+ context[:gem_version] = '1.39.0'
2583
2628
  Seahorse::Client::Request.new(handlers, context)
2584
2629
  end
2585
2630
 
@@ -193,6 +193,7 @@ module Aws::AppSync
193
193
  ApiKey.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
194
194
  ApiKey.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
195
195
  ApiKey.add_member(:expires, Shapes::ShapeRef.new(shape: Long, location_name: "expires"))
196
+ ApiKey.add_member(:deletes, Shapes::ShapeRef.new(shape: Long, location_name: "deletes"))
196
197
  ApiKey.struct_class = Types::ApiKey
197
198
 
198
199
  ApiKeyLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -272,6 +273,7 @@ module Aws::AppSync
272
273
  CreateFunctionRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
273
274
  CreateFunctionRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
274
275
  CreateFunctionRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "functionVersion"))
276
+ CreateFunctionRequest.add_member(:sync_config, Shapes::ShapeRef.new(shape: SyncConfig, location_name: "syncConfig"))
275
277
  CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
276
278
 
277
279
  CreateFunctionResponse.add_member(:function_configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "functionConfiguration"))
@@ -397,6 +399,7 @@ module Aws::AppSync
397
399
  FunctionConfiguration.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
398
400
  FunctionConfiguration.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
399
401
  FunctionConfiguration.add_member(:function_version, Shapes::ShapeRef.new(shape: String, location_name: "functionVersion"))
402
+ FunctionConfiguration.add_member(:sync_config, Shapes::ShapeRef.new(shape: SyncConfig, location_name: "syncConfig"))
400
403
  FunctionConfiguration.struct_class = Types::FunctionConfiguration
401
404
 
402
405
  Functions.member = Shapes::ShapeRef.new(shape: FunctionConfiguration)
@@ -476,6 +479,7 @@ module Aws::AppSync
476
479
  GraphqlApi.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
477
480
  GraphqlApi.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
478
481
  GraphqlApi.add_member(:xray_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "xrayEnabled"))
482
+ GraphqlApi.add_member(:waf_web_acl_arn, Shapes::ShapeRef.new(shape: String, location_name: "wafWebAclArn"))
479
483
  GraphqlApi.struct_class = Types::GraphqlApi
480
484
 
481
485
  GraphqlApis.member = Shapes::ShapeRef.new(shape: GraphqlApi)
@@ -694,6 +698,7 @@ module Aws::AppSync
694
698
  UpdateFunctionRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
695
699
  UpdateFunctionRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
696
700
  UpdateFunctionRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "functionVersion"))
701
+ UpdateFunctionRequest.add_member(:sync_config, Shapes::ShapeRef.new(shape: SyncConfig, location_name: "syncConfig"))
697
702
  UpdateFunctionRequest.struct_class = Types::UpdateFunctionRequest
698
703
 
699
704
  UpdateFunctionResponse.add_member(:function_configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "functionConfiguration"))
@@ -79,7 +79,7 @@ module Aws::AppSync
79
79
  #
80
80
  # * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
81
81
  #
82
- # * **PER\_RESOLVER\_CACHING**\: Individual resovlers that you specify
82
+ # * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
83
83
  # are cached.
84
84
  # @return [String]
85
85
  #
@@ -116,7 +116,7 @@ module Aws::AppSync
116
116
  # As of July 2020, this is deprecated, and the generic identifiers
117
117
  # above should be used.
118
118
  #
119
- # The following legacy instance types are avaible, but their use is
119
+ # The following legacy instance types are available, but their use is
120
120
  # discouraged:
121
121
  #
122
122
  # * **T2\_SMALL**\: A t2.small instance type.
@@ -188,18 +188,25 @@ module Aws::AppSync
188
188
  # **da2**\: This version was introduced in February 2018 when AppSync
189
189
  # added support to extend key expiration.
190
190
  #
191
- # * `ListApiKeys` returns the expiration time in seconds.
191
+ # * `ListApiKeys` returns the expiration time and deletion time in
192
+ # seconds.
192
193
  #
193
- # * `CreateApiKey` returns the expiration time in seconds and accepts a
194
- # user-provided expiration time in seconds.
194
+ # * `CreateApiKey` returns the expiration time and deletion time in
195
+ # seconds and accepts a user-provided expiration time in seconds.
195
196
  #
196
- # * `UpdateApiKey` returns the expiration time in seconds and accepts a
197
- # user-provided expiration time in seconds. Key expiration can only be
198
- # updated while the key has not expired.
197
+ # * `UpdateApiKey` returns the expiration time and and deletion time in
198
+ # seconds and accepts a user-provided expiration time in seconds.
199
+ # Expired API keys are kept for 60 days after the expiration time. Key
200
+ # expiration time can be updated while the key is not deleted.
199
201
  #
200
202
  # * `DeleteApiKey` deletes the item from the table.
201
203
  #
202
- # * Expiration is stored in Amazon DynamoDB as seconds.
204
+ # * Expiration is stored in Amazon DynamoDB as seconds. After the
205
+ # expiration time, using the key to authenticate will fail. But the
206
+ # key can be reinstated before deletion.
207
+ #
208
+ # * Deletion is stored in Amazon DynamoDB as seconds. The key will be
209
+ # deleted after deletion time.
203
210
  #
204
211
  # @!attribute [rw] id
205
212
  # The API key ID.
@@ -214,12 +221,18 @@ module Aws::AppSync
214
221
  # seconds since the epoch, rounded down to the nearest hour.
215
222
  # @return [Integer]
216
223
  #
224
+ # @!attribute [rw] deletes
225
+ # The time after which the API key is deleted. The date is represented
226
+ # as seconds since the epoch, rounded down to the nearest hour.
227
+ # @return [Integer]
228
+ #
217
229
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiKey AWS API Documentation
218
230
  #
219
231
  class ApiKey < Struct.new(
220
232
  :id,
221
233
  :description,
222
- :expires)
234
+ :expires,
235
+ :deletes)
223
236
  SENSITIVE = []
224
237
  include Aws::Structure
225
238
  end
@@ -460,7 +473,7 @@ module Aws::AppSync
460
473
  #
461
474
  # * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
462
475
  #
463
- # * **PER\_RESOLVER\_CACHING**\: Individual resovlers that you specify
476
+ # * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
464
477
  # are cached.
465
478
  # @return [String]
466
479
  #
@@ -487,7 +500,7 @@ module Aws::AppSync
487
500
  # As of July 2020, this is deprecated, and the generic identifiers
488
501
  # above should be used.
489
502
  #
490
- # The following legacy instance types are avaible, but their use is
503
+ # The following legacy instance types are available, but their use is
491
504
  # discouraged:
492
505
  #
493
506
  # * **T2\_SMALL**\: A t2.small instance type.
@@ -708,6 +721,13 @@ module Aws::AppSync
708
721
  # request_mapping_template: "MappingTemplate",
709
722
  # response_mapping_template: "MappingTemplate",
710
723
  # function_version: "String", # required
724
+ # sync_config: {
725
+ # conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
726
+ # conflict_detection: "VERSION", # accepts VERSION, NONE
727
+ # lambda_conflict_handler_config: {
728
+ # lambda_conflict_handler_arn: "String",
729
+ # },
730
+ # },
711
731
  # }
712
732
  #
713
733
  # @!attribute [rw] api_id
@@ -740,6 +760,14 @@ module Aws::AppSync
740
760
  # supported value is 2018-05-29.
741
761
  # @return [String]
742
762
  #
763
+ # @!attribute [rw] sync_config
764
+ # Describes a Sync configuration for a resolver.
765
+ #
766
+ # Contains information on which Conflict Detection as well as
767
+ # Resolution strategy should be performed when the resolver is
768
+ # invoked.
769
+ # @return [Types::SyncConfig]
770
+ #
743
771
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunctionRequest AWS API Documentation
744
772
  #
745
773
  class CreateFunctionRequest < Struct.new(
@@ -749,7 +777,8 @@ module Aws::AppSync
749
777
  :data_source_name,
750
778
  :request_mapping_template,
751
779
  :response_mapping_template,
752
- :function_version)
780
+ :function_version,
781
+ :sync_config)
753
782
  SENSITIVE = []
754
783
  include Aws::Structure
755
784
  end
@@ -1490,6 +1519,14 @@ module Aws::AppSync
1490
1519
  # 2018-05-29 version of the template is supported.
1491
1520
  # @return [String]
1492
1521
  #
1522
+ # @!attribute [rw] sync_config
1523
+ # Describes a Sync configuration for a resolver.
1524
+ #
1525
+ # Contains information on which Conflict Detection as well as
1526
+ # Resolution strategy should be performed when the resolver is
1527
+ # invoked.
1528
+ # @return [Types::SyncConfig]
1529
+ #
1493
1530
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FunctionConfiguration AWS API Documentation
1494
1531
  #
1495
1532
  class FunctionConfiguration < Struct.new(
@@ -1500,7 +1537,8 @@ module Aws::AppSync
1500
1537
  :data_source_name,
1501
1538
  :request_mapping_template,
1502
1539
  :response_mapping_template,
1503
- :function_version)
1540
+ :function_version,
1541
+ :sync_config)
1504
1542
  SENSITIVE = []
1505
1543
  include Aws::Structure
1506
1544
  end
@@ -1881,6 +1919,11 @@ module Aws::AppSync
1881
1919
  # `GraphqlApi`.
1882
1920
  # @return [Boolean]
1883
1921
  #
1922
+ # @!attribute [rw] waf_web_acl_arn
1923
+ # The ARN of the AWS Web Application Firewall (WAF) ACL associated
1924
+ # with this `GraphqlApi`, if one exists.
1925
+ # @return [String]
1926
+ #
1884
1927
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
1885
1928
  #
1886
1929
  class GraphqlApi < Struct.new(
@@ -1894,7 +1937,8 @@ module Aws::AppSync
1894
1937
  :uris,
1895
1938
  :tags,
1896
1939
  :additional_authentication_providers,
1897
- :xray_enabled)
1940
+ :xray_enabled,
1941
+ :waf_web_acl_arn)
1898
1942
  SENSITIVE = []
1899
1943
  include Aws::Structure
1900
1944
  end
@@ -2922,7 +2966,7 @@ module Aws::AppSync
2922
2966
  #
2923
2967
  # * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
2924
2968
  #
2925
- # * **PER\_RESOLVER\_CACHING**\: Individual resovlers that you specify
2969
+ # * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
2926
2970
  # are cached.
2927
2971
  # @return [String]
2928
2972
  #
@@ -2949,7 +2993,7 @@ module Aws::AppSync
2949
2993
  # As of July 2020, this is deprecated, and the generic identifiers
2950
2994
  # above should be used.
2951
2995
  #
2952
- # The following legacy instance types are avaible, but their use is
2996
+ # The following legacy instance types are available, but their use is
2953
2997
  # discouraged:
2954
2998
  #
2955
2999
  # * **T2\_SMALL**\: A t2.small instance type.
@@ -3173,6 +3217,13 @@ module Aws::AppSync
3173
3217
  # request_mapping_template: "MappingTemplate",
3174
3218
  # response_mapping_template: "MappingTemplate",
3175
3219
  # function_version: "String", # required
3220
+ # sync_config: {
3221
+ # conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
3222
+ # conflict_detection: "VERSION", # accepts VERSION, NONE
3223
+ # lambda_conflict_handler_config: {
3224
+ # lambda_conflict_handler_arn: "String",
3225
+ # },
3226
+ # },
3176
3227
  # }
3177
3228
  #
3178
3229
  # @!attribute [rw] api_id
@@ -3209,6 +3260,14 @@ module Aws::AppSync
3209
3260
  # supported value is 2018-05-29.
3210
3261
  # @return [String]
3211
3262
  #
3263
+ # @!attribute [rw] sync_config
3264
+ # Describes a Sync configuration for a resolver.
3265
+ #
3266
+ # Contains information on which Conflict Detection as well as
3267
+ # Resolution strategy should be performed when the resolver is
3268
+ # invoked.
3269
+ # @return [Types::SyncConfig]
3270
+ #
3212
3271
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunctionRequest AWS API Documentation
3213
3272
  #
3214
3273
  class UpdateFunctionRequest < Struct.new(
@@ -3219,7 +3278,8 @@ module Aws::AppSync
3219
3278
  :data_source_name,
3220
3279
  :request_mapping_template,
3221
3280
  :response_mapping_template,
3222
- :function_version)
3281
+ :function_version,
3282
+ :sync_config)
3223
3283
  SENSITIVE = []
3224
3284
  include Aws::Structure
3225
3285
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.34.0
4
+ version: 1.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-15 00:00:00.000000000 Z
11
+ date: 2021-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement