aws-sdk-appsync 1.35.0 → 1.40.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: 4e7549bf3560992add1eb20d0ff78d2597790b9dfd49a602d8916e63ccc12f86
4
- data.tar.gz: 1ebce373d2cc87590e1508233648b4200bc7cd033e0187fd2ff66a3f43395ad2
3
+ metadata.gz: 92701ff59f61c3ef0c5e7a655226b1e68076d33af3550577ffff129b7e4d2ba5
4
+ data.tar.gz: acac0c38f0f18f210a637429da1dcb416829da51377c32a1044a38dabc969d47
5
5
  SHA512:
6
- metadata.gz: 5977a608f73355eb167fc9c89bf1860273932373564335e478ef94f49fa50bba525c102fe80dfb6869d319f3e4bfba69eeb12e102529af95c88d45311f26d072
7
- data.tar.gz: 0c827162c80d5c82987e45845b4ac3cbef1ba2a02ad8e7694402874157657b7c5045f1a9c4b621d9ab0418749d0987eb85684113fbb61d038f1e8a55f67dc52d
6
+ metadata.gz: fbe6b5919f548041ef59c1011c2c27ef02375b7a7bae951d060b93d15492cd5c3f6363c5341d7982a5fa4a22b4758d1a523471dc19c85ce7bb65642b78d859a7
7
+ data.tar.gz: e972dfcae896ddbb540a9466dcdec7c6e8bb80c22430b17341f46f57b9433b0f940c9c26f219482379301e751c2919b93923d9d2381b79cc74c11c44a2d16c88
data/CHANGELOG.md ADDED
@@ -0,0 +1,213 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.40.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.39.0 (2021-02-12)
10
+ ------------------
11
+
12
+ * Feature - Approve release for appsync local on pipeline resolver
13
+
14
+ 1.38.0 (2021-02-02)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.37.0 (2020-10-20)
20
+ ------------------
21
+
22
+ * Feature - Documentation updates to AppSync to correct several typos.
23
+
24
+ 1.36.0 (2020-10-01)
25
+ ------------------
26
+
27
+ * Feature - Exposes the wafWebAclArn field on GraphQL api records. The wafWebAclArn field contains the amazon resource name of a WAF Web ACL if the AWS AppSync API is associated with one.
28
+
29
+ 1.35.0 (2020-09-30)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.34.0 (2020-09-15)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.33.0 (2020-08-25)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.32.0 (2020-08-13)
45
+ ------------------
46
+
47
+ * Feature - Documentation update for AWS AppSync support for Direct Lambda Resolvers.
48
+
49
+ 1.31.0 (2020-08-05)
50
+ ------------------
51
+
52
+ * Feature - AWS AppSync releases support for Direct Lambda Resolvers.
53
+
54
+ 1.30.0 (2020-07-17)
55
+ ------------------
56
+
57
+ * Feature - Documentation update to Cachingconfig.cachingKeys to include $context.source as a valid value.
58
+
59
+ 1.29.0 (2020-07-01)
60
+ ------------------
61
+
62
+ * Feature - AWS AppSync supports new 12xlarge instance for server-side API caching
63
+
64
+ 1.28.0 (2020-06-23)
65
+ ------------------
66
+
67
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
68
+
69
+ 1.27.1 (2020-06-11)
70
+ ------------------
71
+
72
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
73
+
74
+ 1.27.0 (2020-06-10)
75
+ ------------------
76
+
77
+ * Issue - This version has been yanked. (#2327).
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.26.0 (2020-05-28)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.25.0 (2020-05-07)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.24.0 (2020-03-09)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.23.0 (2020-02-06)
96
+ ------------------
97
+
98
+ * Feature - AWS AppSync now supports X-Ray
99
+
100
+ 1.22.0 (2019-11-21)
101
+ ------------------
102
+
103
+ * Feature - AppSync: AWS AppSync now supports the ability to add, configure, and maintain caching for your AWS AppSync GraphQL API.
104
+
105
+ 1.21.0 (2019-10-23)
106
+ ------------------
107
+
108
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
109
+
110
+ 1.20.0 (2019-08-13)
111
+ ------------------
112
+
113
+ * Feature - Adds a configuration option for AppSync GraphQL APIs
114
+
115
+ 1.19.0 (2019-07-25)
116
+ ------------------
117
+
118
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
119
+
120
+ 1.18.0 (2019-07-01)
121
+ ------------------
122
+
123
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
124
+
125
+ 1.17.0 (2019-06-17)
126
+ ------------------
127
+
128
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
129
+
130
+ 1.16.0 (2019-05-21)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.15.0 (2019-05-15)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.14.0 (2019-05-14)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.13.0 (2019-05-07)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.12.0 (2019-03-21)
151
+ ------------------
152
+
153
+ * Feature - API update.
154
+
155
+ 1.11.0 (2019-03-18)
156
+ ------------------
157
+
158
+ * Feature - API update.
159
+
160
+ 1.10.0 (2019-03-14)
161
+ ------------------
162
+
163
+ * Feature - API update.
164
+
165
+ 1.9.0 (2018-11-20)
166
+ ------------------
167
+
168
+ * Feature - API update.
169
+
170
+ 1.8.0 (2018-10-24)
171
+ ------------------
172
+
173
+ * Feature - API update.
174
+
175
+ 1.7.0 (2018-10-23)
176
+ ------------------
177
+
178
+ * Feature - API update.
179
+
180
+ 1.6.0 (2018-09-06)
181
+ ------------------
182
+
183
+ * Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
184
+
185
+ 1.5.0 (2018-09-05)
186
+ ------------------
187
+
188
+ * Feature - API update.
189
+
190
+ 1.4.0 (2018-07-12)
191
+ ------------------
192
+
193
+ * Feature - API update.
194
+
195
+ 1.3.0 (2018-06-26)
196
+ ------------------
197
+
198
+ * Feature - API update.
199
+
200
+ 1.2.0 (2018-05-03)
201
+ ------------------
202
+
203
+ * Feature - API update.
204
+
205
+ 1.1.0 (2018-02-14)
206
+ ------------------
207
+
208
+ * Feature - API update.
209
+
210
+ 1.0.0 (2017-11-29)
211
+ ------------------
212
+
213
+ * Feature - Initial release of `aws-sdk-appsync`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.40.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.35.0'
51
+ GEM_VERSION = '1.40.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.35.0'
2627
+ context[:gem_version] = '1.40.0'
2583
2628
  Seahorse::Client::Request.new(handlers, context)
2584
2629
  end
2585
2630
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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"))
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.35.0
4
+ version: 1.40.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-30 00:00:00.000000000 Z
11
+ date: 2021-03-10 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.109.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.109.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for AWS AppSync (AWSAppSync). This gem is part
48
48
  of the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-appsync.rb
56
59
  - lib/aws-sdk-appsync/client.rb
57
60
  - lib/aws-sdk-appsync/client_api.rb