aws-sdk-appsync 1.38.0 → 1.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-appsync.rb +1 -1
- data/lib/aws-sdk-appsync/client.rb +39 -1
- data/lib/aws-sdk-appsync/client_api.rb +3 -0
- data/lib/aws-sdk-appsync/types.rb +44 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37274b232778fda99cd3853825eafb3fc79eae4c9e2303841f05f608a65825dd
|
4
|
+
data.tar.gz: e44502ca5164a07a33aa74128b7bbeb0cad5b21602643771801e2ff900dd2d54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9533d6cea4af695c072ef82c809a4e79ab992ac912198a2f5c3f4991d95b0bc16aef0b63bc500b75e46ade96b58733b13b7879c3a22eaad94d283028342790f6
|
7
|
+
data.tar.gz: 8ca9ebb259fe6c3a84e2972a71f4044d90808906799b7b299646321d58b93a200c95d1a7adfe779f09f9ad5b926e7c65a24b7bd62900648a6338fd70b21ca3e2
|
data/lib/aws-sdk-appsync.rb
CHANGED
@@ -619,6 +619,12 @@ module Aws::AppSync
|
|
619
619
|
# The `version` of the request mapping template. Currently the supported
|
620
620
|
# value is 2018-05-29.
|
621
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
|
+
#
|
622
628
|
# @return [Types::CreateFunctionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
623
629
|
#
|
624
630
|
# * {Types::CreateFunctionResponse#function_configuration #function_configuration} => Types::FunctionConfiguration
|
@@ -633,6 +639,13 @@ module Aws::AppSync
|
|
633
639
|
# request_mapping_template: "MappingTemplate",
|
634
640
|
# response_mapping_template: "MappingTemplate",
|
635
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
|
+
# },
|
636
649
|
# })
|
637
650
|
#
|
638
651
|
# @example Response structure
|
@@ -645,6 +658,9 @@ module Aws::AppSync
|
|
645
658
|
# resp.function_configuration.request_mapping_template #=> String
|
646
659
|
# resp.function_configuration.response_mapping_template #=> String
|
647
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
|
648
664
|
#
|
649
665
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunction AWS API Documentation
|
650
666
|
#
|
@@ -1248,6 +1264,9 @@ module Aws::AppSync
|
|
1248
1264
|
# resp.function_configuration.request_mapping_template #=> String
|
1249
1265
|
# resp.function_configuration.response_mapping_template #=> String
|
1250
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
|
1251
1270
|
#
|
1252
1271
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunction AWS API Documentation
|
1253
1272
|
#
|
@@ -1625,6 +1644,9 @@ module Aws::AppSync
|
|
1625
1644
|
# resp.functions[0].request_mapping_template #=> String
|
1626
1645
|
# resp.functions[0].response_mapping_template #=> String
|
1627
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
|
1628
1650
|
# resp.next_token #=> String
|
1629
1651
|
#
|
1630
1652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctions AWS API Documentation
|
@@ -2269,6 +2291,12 @@ module Aws::AppSync
|
|
2269
2291
|
# The `version` of the request mapping template. Currently the supported
|
2270
2292
|
# value is 2018-05-29.
|
2271
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
|
+
#
|
2272
2300
|
# @return [Types::UpdateFunctionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2273
2301
|
#
|
2274
2302
|
# * {Types::UpdateFunctionResponse#function_configuration #function_configuration} => Types::FunctionConfiguration
|
@@ -2284,6 +2312,13 @@ module Aws::AppSync
|
|
2284
2312
|
# request_mapping_template: "MappingTemplate",
|
2285
2313
|
# response_mapping_template: "MappingTemplate",
|
2286
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
|
+
# },
|
2287
2322
|
# })
|
2288
2323
|
#
|
2289
2324
|
# @example Response structure
|
@@ -2296,6 +2331,9 @@ module Aws::AppSync
|
|
2296
2331
|
# resp.function_configuration.request_mapping_template #=> String
|
2297
2332
|
# resp.function_configuration.response_mapping_template #=> String
|
2298
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
|
2299
2337
|
#
|
2300
2338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunction AWS API Documentation
|
2301
2339
|
#
|
@@ -2586,7 +2624,7 @@ module Aws::AppSync
|
|
2586
2624
|
params: params,
|
2587
2625
|
config: config)
|
2588
2626
|
context[:gem_name] = 'aws-sdk-appsync'
|
2589
|
-
context[:gem_version] = '1.
|
2627
|
+
context[:gem_version] = '1.39.0'
|
2590
2628
|
Seahorse::Client::Request.new(handlers, context)
|
2591
2629
|
end
|
2592
2630
|
|
@@ -273,6 +273,7 @@ module Aws::AppSync
|
|
273
273
|
CreateFunctionRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
|
274
274
|
CreateFunctionRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
275
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"))
|
276
277
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
277
278
|
|
278
279
|
CreateFunctionResponse.add_member(:function_configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "functionConfiguration"))
|
@@ -398,6 +399,7 @@ module Aws::AppSync
|
|
398
399
|
FunctionConfiguration.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
|
399
400
|
FunctionConfiguration.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
400
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"))
|
401
403
|
FunctionConfiguration.struct_class = Types::FunctionConfiguration
|
402
404
|
|
403
405
|
Functions.member = Shapes::ShapeRef.new(shape: FunctionConfiguration)
|
@@ -696,6 +698,7 @@ module Aws::AppSync
|
|
696
698
|
UpdateFunctionRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
|
697
699
|
UpdateFunctionRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
698
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"))
|
699
702
|
UpdateFunctionRequest.struct_class = Types::UpdateFunctionRequest
|
700
703
|
|
701
704
|
UpdateFunctionResponse.add_member(:function_configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "functionConfiguration"))
|
@@ -721,6 +721,13 @@ module Aws::AppSync
|
|
721
721
|
# request_mapping_template: "MappingTemplate",
|
722
722
|
# response_mapping_template: "MappingTemplate",
|
723
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
|
+
# },
|
724
731
|
# }
|
725
732
|
#
|
726
733
|
# @!attribute [rw] api_id
|
@@ -753,6 +760,14 @@ module Aws::AppSync
|
|
753
760
|
# supported value is 2018-05-29.
|
754
761
|
# @return [String]
|
755
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
|
+
#
|
756
771
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunctionRequest AWS API Documentation
|
757
772
|
#
|
758
773
|
class CreateFunctionRequest < Struct.new(
|
@@ -762,7 +777,8 @@ module Aws::AppSync
|
|
762
777
|
:data_source_name,
|
763
778
|
:request_mapping_template,
|
764
779
|
:response_mapping_template,
|
765
|
-
:function_version
|
780
|
+
:function_version,
|
781
|
+
:sync_config)
|
766
782
|
SENSITIVE = []
|
767
783
|
include Aws::Structure
|
768
784
|
end
|
@@ -1503,6 +1519,14 @@ module Aws::AppSync
|
|
1503
1519
|
# 2018-05-29 version of the template is supported.
|
1504
1520
|
# @return [String]
|
1505
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
|
+
#
|
1506
1530
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FunctionConfiguration AWS API Documentation
|
1507
1531
|
#
|
1508
1532
|
class FunctionConfiguration < Struct.new(
|
@@ -1513,7 +1537,8 @@ module Aws::AppSync
|
|
1513
1537
|
:data_source_name,
|
1514
1538
|
:request_mapping_template,
|
1515
1539
|
:response_mapping_template,
|
1516
|
-
:function_version
|
1540
|
+
:function_version,
|
1541
|
+
:sync_config)
|
1517
1542
|
SENSITIVE = []
|
1518
1543
|
include Aws::Structure
|
1519
1544
|
end
|
@@ -3192,6 +3217,13 @@ module Aws::AppSync
|
|
3192
3217
|
# request_mapping_template: "MappingTemplate",
|
3193
3218
|
# response_mapping_template: "MappingTemplate",
|
3194
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
|
+
# },
|
3195
3227
|
# }
|
3196
3228
|
#
|
3197
3229
|
# @!attribute [rw] api_id
|
@@ -3228,6 +3260,14 @@ module Aws::AppSync
|
|
3228
3260
|
# supported value is 2018-05-29.
|
3229
3261
|
# @return [String]
|
3230
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
|
+
#
|
3231
3271
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunctionRequest AWS API Documentation
|
3232
3272
|
#
|
3233
3273
|
class UpdateFunctionRequest < Struct.new(
|
@@ -3238,7 +3278,8 @@ module Aws::AppSync
|
|
3238
3278
|
:data_source_name,
|
3239
3279
|
:request_mapping_template,
|
3240
3280
|
:response_mapping_template,
|
3241
|
-
:function_version
|
3281
|
+
:function_version,
|
3282
|
+
:sync_config)
|
3242
3283
|
SENSITIVE = []
|
3243
3284
|
include Aws::Structure
|
3244
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.
|
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: 2021-02-
|
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
|