aws-sdk-appsync 1.30.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-appsync.rb +1 -1
- data/lib/aws-sdk-appsync/client.rb +58 -12
- data/lib/aws-sdk-appsync/client_api.rb +4 -4
- data/lib/aws-sdk-appsync/types.rb +78 -9
- 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: 52fa6dea92830d23eadf7526d9b05ce3851658bb79d4dd8cb69979be8fc3e98f
|
4
|
+
data.tar.gz: 32df57c8f2138ec741f74590f042bd510da597f165a4cca5ed40da009db36d06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f563255d4acba90d51a94b8f38e2bba551eb0bb1bf5141c4fc5fa0896ec75fb9e2867ba36dd14bbd9361af011549ae8497d19af8ed41c83a44438f9d4294537
|
7
|
+
data.tar.gz: a5ce35ec97c3e721a540043125514f2b504fd5b4f66f3a8497daae40500910113c40b2600062b13899e5ac7967b4eb74ba50e6f9d5e7e3c40deeb8327211c1ba
|
data/lib/aws-sdk-appsync.rb
CHANGED
@@ -339,7 +339,30 @@ module Aws::AppSync
|
|
339
339
|
# are cached.
|
340
340
|
#
|
341
341
|
# @option params [required, String] :type
|
342
|
-
# The cache instance type.
|
342
|
+
# The cache instance type. Valid values are
|
343
|
+
#
|
344
|
+
# * `SMALL`
|
345
|
+
#
|
346
|
+
# * `MEDIUM`
|
347
|
+
#
|
348
|
+
# * `LARGE`
|
349
|
+
#
|
350
|
+
# * `XLARGE`
|
351
|
+
#
|
352
|
+
# * `LARGE_2X`
|
353
|
+
#
|
354
|
+
# * `LARGE_4X`
|
355
|
+
#
|
356
|
+
# * `LARGE_8X` (not available in all regions)
|
357
|
+
#
|
358
|
+
# * `LARGE_12X`
|
359
|
+
#
|
360
|
+
# Historically, instance types were identified by an EC2-style value. As
|
361
|
+
# of July 2020, this is deprecated, and the generic identifiers above
|
362
|
+
# should be used.
|
363
|
+
#
|
364
|
+
# The following legacy instance types are avaible, but their use is
|
365
|
+
# discouraged:
|
343
366
|
#
|
344
367
|
# * **T2\_SMALL**\: A t2.small instance type.
|
345
368
|
#
|
@@ -569,7 +592,7 @@ module Aws::AppSync
|
|
569
592
|
# @option params [required, String] :data_source_name
|
570
593
|
# The `Function` `DataSource` name.
|
571
594
|
#
|
572
|
-
# @option params [
|
595
|
+
# @option params [String] :request_mapping_template
|
573
596
|
# The `Function` request mapping template. Functions support only the
|
574
597
|
# 2018-05-29 version of the request mapping template.
|
575
598
|
#
|
@@ -591,7 +614,7 @@ module Aws::AppSync
|
|
591
614
|
# name: "ResourceName", # required
|
592
615
|
# description: "String",
|
593
616
|
# data_source_name: "ResourceName", # required
|
594
|
-
# request_mapping_template: "MappingTemplate",
|
617
|
+
# request_mapping_template: "MappingTemplate",
|
595
618
|
# response_mapping_template: "MappingTemplate",
|
596
619
|
# function_version: "String", # required
|
597
620
|
# })
|
@@ -751,7 +774,7 @@ module Aws::AppSync
|
|
751
774
|
# @option params [String] :data_source_name
|
752
775
|
# The name of the data source for which the resolver is being created.
|
753
776
|
#
|
754
|
-
# @option params [
|
777
|
+
# @option params [String] :request_mapping_template
|
755
778
|
# The mapping template to be used for requests.
|
756
779
|
#
|
757
780
|
# A resolver uses a request mapping template to convert a GraphQL
|
@@ -793,7 +816,7 @@ module Aws::AppSync
|
|
793
816
|
# type_name: "ResourceName", # required
|
794
817
|
# field_name: "ResourceName", # required
|
795
818
|
# data_source_name: "ResourceName",
|
796
|
-
# request_mapping_template: "MappingTemplate",
|
819
|
+
# request_mapping_template: "MappingTemplate",
|
797
820
|
# response_mapping_template: "MappingTemplate",
|
798
821
|
# kind: "UNIT", # accepts UNIT, PIPELINE
|
799
822
|
# pipeline_config: {
|
@@ -1859,7 +1882,7 @@ module Aws::AppSync
|
|
1859
1882
|
# @option params [required, String] :api_id
|
1860
1883
|
# The API ID.
|
1861
1884
|
#
|
1862
|
-
# @option params [required, String,
|
1885
|
+
# @option params [required, String, StringIO, File] :definition
|
1863
1886
|
# The schema definition, in GraphQL schema language format.
|
1864
1887
|
#
|
1865
1888
|
# @return [Types::StartSchemaCreationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1959,7 +1982,30 @@ module Aws::AppSync
|
|
1959
1982
|
# are cached.
|
1960
1983
|
#
|
1961
1984
|
# @option params [required, String] :type
|
1962
|
-
# The cache instance type.
|
1985
|
+
# The cache instance type. Valid values are
|
1986
|
+
#
|
1987
|
+
# * `SMALL`
|
1988
|
+
#
|
1989
|
+
# * `MEDIUM`
|
1990
|
+
#
|
1991
|
+
# * `LARGE`
|
1992
|
+
#
|
1993
|
+
# * `XLARGE`
|
1994
|
+
#
|
1995
|
+
# * `LARGE_2X`
|
1996
|
+
#
|
1997
|
+
# * `LARGE_4X`
|
1998
|
+
#
|
1999
|
+
# * `LARGE_8X` (not available in all regions)
|
2000
|
+
#
|
2001
|
+
# * `LARGE_12X`
|
2002
|
+
#
|
2003
|
+
# Historically, instance types were identified by an EC2-style value. As
|
2004
|
+
# of July 2020, this is deprecated, and the generic identifiers above
|
2005
|
+
# should be used.
|
2006
|
+
#
|
2007
|
+
# The following legacy instance types are avaible, but their use is
|
2008
|
+
# discouraged:
|
1963
2009
|
#
|
1964
2010
|
# * **T2\_SMALL**\: A t2.small instance type.
|
1965
2011
|
#
|
@@ -2187,7 +2233,7 @@ module Aws::AppSync
|
|
2187
2233
|
# @option params [required, String] :data_source_name
|
2188
2234
|
# The `Function` `DataSource` name.
|
2189
2235
|
#
|
2190
|
-
# @option params [
|
2236
|
+
# @option params [String] :request_mapping_template
|
2191
2237
|
# The `Function` request mapping template. Functions support only the
|
2192
2238
|
# 2018-05-29 version of the request mapping template.
|
2193
2239
|
#
|
@@ -2210,7 +2256,7 @@ module Aws::AppSync
|
|
2210
2256
|
# description: "String",
|
2211
2257
|
# function_id: "ResourceName", # required
|
2212
2258
|
# data_source_name: "ResourceName", # required
|
2213
|
-
# request_mapping_template: "MappingTemplate",
|
2259
|
+
# request_mapping_template: "MappingTemplate",
|
2214
2260
|
# response_mapping_template: "MappingTemplate",
|
2215
2261
|
# function_version: "String", # required
|
2216
2262
|
# })
|
@@ -2365,7 +2411,7 @@ module Aws::AppSync
|
|
2365
2411
|
# @option params [String] :data_source_name
|
2366
2412
|
# The new data source name.
|
2367
2413
|
#
|
2368
|
-
# @option params [
|
2414
|
+
# @option params [String] :request_mapping_template
|
2369
2415
|
# The new request mapping template.
|
2370
2416
|
#
|
2371
2417
|
# @option params [String] :response_mapping_template
|
@@ -2403,7 +2449,7 @@ module Aws::AppSync
|
|
2403
2449
|
# type_name: "ResourceName", # required
|
2404
2450
|
# field_name: "ResourceName", # required
|
2405
2451
|
# data_source_name: "ResourceName",
|
2406
|
-
# request_mapping_template: "MappingTemplate",
|
2452
|
+
# request_mapping_template: "MappingTemplate",
|
2407
2453
|
# response_mapping_template: "MappingTemplate",
|
2408
2454
|
# kind: "UNIT", # accepts UNIT, PIPELINE
|
2409
2455
|
# pipeline_config: {
|
@@ -2506,7 +2552,7 @@ module Aws::AppSync
|
|
2506
2552
|
params: params,
|
2507
2553
|
config: config)
|
2508
2554
|
context[:gem_name] = 'aws-sdk-appsync'
|
2509
|
-
context[:gem_version] = '1.
|
2555
|
+
context[:gem_version] = '1.31.0'
|
2510
2556
|
Seahorse::Client::Request.new(handlers, context)
|
2511
2557
|
end
|
2512
2558
|
|
@@ -269,7 +269,7 @@ module Aws::AppSync
|
|
269
269
|
CreateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
270
270
|
CreateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
271
271
|
CreateFunctionRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "dataSourceName"))
|
272
|
-
CreateFunctionRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate,
|
272
|
+
CreateFunctionRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
|
273
273
|
CreateFunctionRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
274
274
|
CreateFunctionRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "functionVersion"))
|
275
275
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
@@ -294,7 +294,7 @@ module Aws::AppSync
|
|
294
294
|
CreateResolverRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
|
295
295
|
CreateResolverRequest.add_member(:field_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "fieldName"))
|
296
296
|
CreateResolverRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "dataSourceName"))
|
297
|
-
CreateResolverRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate,
|
297
|
+
CreateResolverRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
|
298
298
|
CreateResolverRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
299
299
|
CreateResolverRequest.add_member(:kind, Shapes::ShapeRef.new(shape: ResolverKind, location_name: "kind"))
|
300
300
|
CreateResolverRequest.add_member(:pipeline_config, Shapes::ShapeRef.new(shape: PipelineConfig, location_name: "pipelineConfig"))
|
@@ -691,7 +691,7 @@ module Aws::AppSync
|
|
691
691
|
UpdateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
692
692
|
UpdateFunctionRequest.add_member(:function_id, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "functionId"))
|
693
693
|
UpdateFunctionRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "dataSourceName"))
|
694
|
-
UpdateFunctionRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate,
|
694
|
+
UpdateFunctionRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
|
695
695
|
UpdateFunctionRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
696
696
|
UpdateFunctionRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "functionVersion"))
|
697
697
|
UpdateFunctionRequest.struct_class = Types::UpdateFunctionRequest
|
@@ -716,7 +716,7 @@ module Aws::AppSync
|
|
716
716
|
UpdateResolverRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
|
717
717
|
UpdateResolverRequest.add_member(:field_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "fieldName"))
|
718
718
|
UpdateResolverRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "dataSourceName"))
|
719
|
-
UpdateResolverRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate,
|
719
|
+
UpdateResolverRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
|
720
720
|
UpdateResolverRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
721
721
|
UpdateResolverRequest.add_member(:kind, Shapes::ShapeRef.new(shape: ResolverKind, location_name: "kind"))
|
722
722
|
UpdateResolverRequest.add_member(:pipeline_config, Shapes::ShapeRef.new(shape: PipelineConfig, location_name: "pipelineConfig"))
|
@@ -94,7 +94,30 @@ module Aws::AppSync
|
|
94
94
|
# @return [Boolean]
|
95
95
|
#
|
96
96
|
# @!attribute [rw] type
|
97
|
-
# The cache instance type.
|
97
|
+
# The cache instance type. Valid values are
|
98
|
+
#
|
99
|
+
# * `SMALL`
|
100
|
+
#
|
101
|
+
# * `MEDIUM`
|
102
|
+
#
|
103
|
+
# * `LARGE`
|
104
|
+
#
|
105
|
+
# * `XLARGE`
|
106
|
+
#
|
107
|
+
# * `LARGE_2X`
|
108
|
+
#
|
109
|
+
# * `LARGE_4X`
|
110
|
+
#
|
111
|
+
# * `LARGE_8X` (not available in all regions)
|
112
|
+
#
|
113
|
+
# * `LARGE_12X`
|
114
|
+
#
|
115
|
+
# Historically, instance types were identified by an EC2-style value.
|
116
|
+
# As of July 2020, this is deprecated, and the generic identifiers
|
117
|
+
# above should be used.
|
118
|
+
#
|
119
|
+
# The following legacy instance types are avaible, but their use is
|
120
|
+
# discouraged:
|
98
121
|
#
|
99
122
|
# * **T2\_SMALL**\: A t2.small instance type.
|
100
123
|
#
|
@@ -337,8 +360,8 @@ module Aws::AppSync
|
|
337
360
|
# @!attribute [rw] caching_keys
|
338
361
|
# The caching keys for a resolver that has caching enabled.
|
339
362
|
#
|
340
|
-
# Valid values are entries from the `$context.
|
341
|
-
# `$context.
|
363
|
+
# Valid values are entries from the `$context.identity` and
|
364
|
+
# `$context.arguments` maps.
|
342
365
|
# @return [Array<String>]
|
343
366
|
#
|
344
367
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CachingConfig AWS API Documentation
|
@@ -442,7 +465,30 @@ module Aws::AppSync
|
|
442
465
|
# @return [String]
|
443
466
|
#
|
444
467
|
# @!attribute [rw] type
|
445
|
-
# The cache instance type.
|
468
|
+
# The cache instance type. Valid values are
|
469
|
+
#
|
470
|
+
# * `SMALL`
|
471
|
+
#
|
472
|
+
# * `MEDIUM`
|
473
|
+
#
|
474
|
+
# * `LARGE`
|
475
|
+
#
|
476
|
+
# * `XLARGE`
|
477
|
+
#
|
478
|
+
# * `LARGE_2X`
|
479
|
+
#
|
480
|
+
# * `LARGE_4X`
|
481
|
+
#
|
482
|
+
# * `LARGE_8X` (not available in all regions)
|
483
|
+
#
|
484
|
+
# * `LARGE_12X`
|
485
|
+
#
|
486
|
+
# Historically, instance types were identified by an EC2-style value.
|
487
|
+
# As of July 2020, this is deprecated, and the generic identifiers
|
488
|
+
# above should be used.
|
489
|
+
#
|
490
|
+
# The following legacy instance types are avaible, but their use is
|
491
|
+
# discouraged:
|
446
492
|
#
|
447
493
|
# * **T2\_SMALL**\: A t2.small instance type.
|
448
494
|
#
|
@@ -659,7 +705,7 @@ module Aws::AppSync
|
|
659
705
|
# name: "ResourceName", # required
|
660
706
|
# description: "String",
|
661
707
|
# data_source_name: "ResourceName", # required
|
662
|
-
# request_mapping_template: "MappingTemplate",
|
708
|
+
# request_mapping_template: "MappingTemplate",
|
663
709
|
# response_mapping_template: "MappingTemplate",
|
664
710
|
# function_version: "String", # required
|
665
711
|
# }
|
@@ -835,7 +881,7 @@ module Aws::AppSync
|
|
835
881
|
# type_name: "ResourceName", # required
|
836
882
|
# field_name: "ResourceName", # required
|
837
883
|
# data_source_name: "ResourceName",
|
838
|
-
# request_mapping_template: "MappingTemplate",
|
884
|
+
# request_mapping_template: "MappingTemplate",
|
839
885
|
# response_mapping_template: "MappingTemplate",
|
840
886
|
# kind: "UNIT", # accepts UNIT, PIPELINE
|
841
887
|
# pipeline_config: {
|
@@ -2877,7 +2923,30 @@ module Aws::AppSync
|
|
2877
2923
|
# @return [String]
|
2878
2924
|
#
|
2879
2925
|
# @!attribute [rw] type
|
2880
|
-
# The cache instance type.
|
2926
|
+
# The cache instance type. Valid values are
|
2927
|
+
#
|
2928
|
+
# * `SMALL`
|
2929
|
+
#
|
2930
|
+
# * `MEDIUM`
|
2931
|
+
#
|
2932
|
+
# * `LARGE`
|
2933
|
+
#
|
2934
|
+
# * `XLARGE`
|
2935
|
+
#
|
2936
|
+
# * `LARGE_2X`
|
2937
|
+
#
|
2938
|
+
# * `LARGE_4X`
|
2939
|
+
#
|
2940
|
+
# * `LARGE_8X` (not available in all regions)
|
2941
|
+
#
|
2942
|
+
# * `LARGE_12X`
|
2943
|
+
#
|
2944
|
+
# Historically, instance types were identified by an EC2-style value.
|
2945
|
+
# As of July 2020, this is deprecated, and the generic identifiers
|
2946
|
+
# above should be used.
|
2947
|
+
#
|
2948
|
+
# The following legacy instance types are avaible, but their use is
|
2949
|
+
# discouraged:
|
2881
2950
|
#
|
2882
2951
|
# * **T2\_SMALL**\: A t2.small instance type.
|
2883
2952
|
#
|
@@ -3097,7 +3166,7 @@ module Aws::AppSync
|
|
3097
3166
|
# description: "String",
|
3098
3167
|
# function_id: "ResourceName", # required
|
3099
3168
|
# data_source_name: "ResourceName", # required
|
3100
|
-
# request_mapping_template: "MappingTemplate",
|
3169
|
+
# request_mapping_template: "MappingTemplate",
|
3101
3170
|
# response_mapping_template: "MappingTemplate",
|
3102
3171
|
# function_version: "String", # required
|
3103
3172
|
# }
|
@@ -3277,7 +3346,7 @@ module Aws::AppSync
|
|
3277
3346
|
# type_name: "ResourceName", # required
|
3278
3347
|
# field_name: "ResourceName", # required
|
3279
3348
|
# data_source_name: "ResourceName",
|
3280
|
-
# request_mapping_template: "MappingTemplate",
|
3349
|
+
# request_mapping_template: "MappingTemplate",
|
3281
3350
|
# response_mapping_template: "MappingTemplate",
|
3282
3351
|
# kind: "UNIT", # accepts UNIT, PIPELINE
|
3283
3352
|
# pipeline_config: {
|
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.31.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-
|
11
|
+
date: 2020-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|