aws-sdk-appsync 1.30.0 → 1.35.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 +3 -2
- data/lib/aws-sdk-appsync/client.rb +92 -19
- data/lib/aws-sdk-appsync/client_api.rb +4 -4
- data/lib/aws-sdk-appsync/types.rb +88 -7
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e7549bf3560992add1eb20d0ff78d2597790b9dfd49a602d8916e63ccc12f86
|
4
|
+
data.tar.gz: 1ebce373d2cc87590e1508233648b4200bc7cd033e0187fd2ff66a3f43395ad2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5977a608f73355eb167fc9c89bf1860273932373564335e478ef94f49fa50bba525c102fe80dfb6869d319f3e4bfba69eeb12e102529af95c88d45311f26d072
|
7
|
+
data.tar.gz: 0c827162c80d5c82987e45845b4ac3cbef1ba2a02ad8e7694402874157657b7c5045f1a9c4b621d9ab0418749d0987eb85684113fbb61d038f1e8a55f67dc52d
|
data/lib/aws-sdk-appsync.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-appsync/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::AppSync
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.35.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::AppSync
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::AppSync
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -339,7 +354,30 @@ module Aws::AppSync
|
|
339
354
|
# are cached.
|
340
355
|
#
|
341
356
|
# @option params [required, String] :type
|
342
|
-
# The cache instance type.
|
357
|
+
# The cache instance type. Valid values are
|
358
|
+
#
|
359
|
+
# * `SMALL`
|
360
|
+
#
|
361
|
+
# * `MEDIUM`
|
362
|
+
#
|
363
|
+
# * `LARGE`
|
364
|
+
#
|
365
|
+
# * `XLARGE`
|
366
|
+
#
|
367
|
+
# * `LARGE_2X`
|
368
|
+
#
|
369
|
+
# * `LARGE_4X`
|
370
|
+
#
|
371
|
+
# * `LARGE_8X` (not available in all regions)
|
372
|
+
#
|
373
|
+
# * `LARGE_12X`
|
374
|
+
#
|
375
|
+
# Historically, instance types were identified by an EC2-style value. As
|
376
|
+
# of July 2020, this is deprecated, and the generic identifiers above
|
377
|
+
# should be used.
|
378
|
+
#
|
379
|
+
# The following legacy instance types are avaible, but their use is
|
380
|
+
# discouraged:
|
343
381
|
#
|
344
382
|
# * **T2\_SMALL**\: A t2.small instance type.
|
345
383
|
#
|
@@ -569,7 +607,7 @@ module Aws::AppSync
|
|
569
607
|
# @option params [required, String] :data_source_name
|
570
608
|
# The `Function` `DataSource` name.
|
571
609
|
#
|
572
|
-
# @option params [
|
610
|
+
# @option params [String] :request_mapping_template
|
573
611
|
# The `Function` request mapping template. Functions support only the
|
574
612
|
# 2018-05-29 version of the request mapping template.
|
575
613
|
#
|
@@ -591,7 +629,7 @@ module Aws::AppSync
|
|
591
629
|
# name: "ResourceName", # required
|
592
630
|
# description: "String",
|
593
631
|
# data_source_name: "ResourceName", # required
|
594
|
-
# request_mapping_template: "MappingTemplate",
|
632
|
+
# request_mapping_template: "MappingTemplate",
|
595
633
|
# response_mapping_template: "MappingTemplate",
|
596
634
|
# function_version: "String", # required
|
597
635
|
# })
|
@@ -751,13 +789,17 @@ module Aws::AppSync
|
|
751
789
|
# @option params [String] :data_source_name
|
752
790
|
# The name of the data source for which the resolver is being created.
|
753
791
|
#
|
754
|
-
# @option params [
|
792
|
+
# @option params [String] :request_mapping_template
|
755
793
|
# The mapping template to be used for requests.
|
756
794
|
#
|
757
795
|
# A resolver uses a request mapping template to convert a GraphQL
|
758
796
|
# expression into a format that a data source can understand. Mapping
|
759
797
|
# templates are written in Apache Velocity Template Language (VTL).
|
760
798
|
#
|
799
|
+
# VTL request mapping templates are optional when using a Lambda data
|
800
|
+
# source. For all other data sources, VTL request and response mapping
|
801
|
+
# templates are required.
|
802
|
+
#
|
761
803
|
# @option params [String] :response_mapping_template
|
762
804
|
# The mapping template to be used for responses from the data source.
|
763
805
|
#
|
@@ -793,7 +835,7 @@ module Aws::AppSync
|
|
793
835
|
# type_name: "ResourceName", # required
|
794
836
|
# field_name: "ResourceName", # required
|
795
837
|
# data_source_name: "ResourceName",
|
796
|
-
# request_mapping_template: "MappingTemplate",
|
838
|
+
# request_mapping_template: "MappingTemplate",
|
797
839
|
# response_mapping_template: "MappingTemplate",
|
798
840
|
# kind: "UNIT", # accepts UNIT, PIPELINE
|
799
841
|
# pipeline_config: {
|
@@ -1859,7 +1901,7 @@ module Aws::AppSync
|
|
1859
1901
|
# @option params [required, String] :api_id
|
1860
1902
|
# The API ID.
|
1861
1903
|
#
|
1862
|
-
# @option params [required, String,
|
1904
|
+
# @option params [required, String, StringIO, File] :definition
|
1863
1905
|
# The schema definition, in GraphQL schema language format.
|
1864
1906
|
#
|
1865
1907
|
# @return [Types::StartSchemaCreationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1959,7 +2001,30 @@ module Aws::AppSync
|
|
1959
2001
|
# are cached.
|
1960
2002
|
#
|
1961
2003
|
# @option params [required, String] :type
|
1962
|
-
# The cache instance type.
|
2004
|
+
# The cache instance type. Valid values are
|
2005
|
+
#
|
2006
|
+
# * `SMALL`
|
2007
|
+
#
|
2008
|
+
# * `MEDIUM`
|
2009
|
+
#
|
2010
|
+
# * `LARGE`
|
2011
|
+
#
|
2012
|
+
# * `XLARGE`
|
2013
|
+
#
|
2014
|
+
# * `LARGE_2X`
|
2015
|
+
#
|
2016
|
+
# * `LARGE_4X`
|
2017
|
+
#
|
2018
|
+
# * `LARGE_8X` (not available in all regions)
|
2019
|
+
#
|
2020
|
+
# * `LARGE_12X`
|
2021
|
+
#
|
2022
|
+
# Historically, instance types were identified by an EC2-style value. As
|
2023
|
+
# of July 2020, this is deprecated, and the generic identifiers above
|
2024
|
+
# should be used.
|
2025
|
+
#
|
2026
|
+
# The following legacy instance types are avaible, but their use is
|
2027
|
+
# discouraged:
|
1963
2028
|
#
|
1964
2029
|
# * **T2\_SMALL**\: A t2.small instance type.
|
1965
2030
|
#
|
@@ -2187,7 +2252,7 @@ module Aws::AppSync
|
|
2187
2252
|
# @option params [required, String] :data_source_name
|
2188
2253
|
# The `Function` `DataSource` name.
|
2189
2254
|
#
|
2190
|
-
# @option params [
|
2255
|
+
# @option params [String] :request_mapping_template
|
2191
2256
|
# The `Function` request mapping template. Functions support only the
|
2192
2257
|
# 2018-05-29 version of the request mapping template.
|
2193
2258
|
#
|
@@ -2210,7 +2275,7 @@ module Aws::AppSync
|
|
2210
2275
|
# description: "String",
|
2211
2276
|
# function_id: "ResourceName", # required
|
2212
2277
|
# data_source_name: "ResourceName", # required
|
2213
|
-
# request_mapping_template: "MappingTemplate",
|
2278
|
+
# request_mapping_template: "MappingTemplate",
|
2214
2279
|
# response_mapping_template: "MappingTemplate",
|
2215
2280
|
# function_version: "String", # required
|
2216
2281
|
# })
|
@@ -2365,9 +2430,17 @@ module Aws::AppSync
|
|
2365
2430
|
# @option params [String] :data_source_name
|
2366
2431
|
# The new data source name.
|
2367
2432
|
#
|
2368
|
-
# @option params [
|
2433
|
+
# @option params [String] :request_mapping_template
|
2369
2434
|
# The new request mapping template.
|
2370
2435
|
#
|
2436
|
+
# A resolver uses a request mapping template to convert a GraphQL
|
2437
|
+
# expression into a format that a data source can understand. Mapping
|
2438
|
+
# templates are written in Apache Velocity Template Language (VTL).
|
2439
|
+
#
|
2440
|
+
# VTL request mapping templates are optional when using a Lambda data
|
2441
|
+
# source. For all other data sources, VTL request and response mapping
|
2442
|
+
# templates are required.
|
2443
|
+
#
|
2371
2444
|
# @option params [String] :response_mapping_template
|
2372
2445
|
# The new response mapping template.
|
2373
2446
|
#
|
@@ -2403,7 +2476,7 @@ module Aws::AppSync
|
|
2403
2476
|
# type_name: "ResourceName", # required
|
2404
2477
|
# field_name: "ResourceName", # required
|
2405
2478
|
# data_source_name: "ResourceName",
|
2406
|
-
# request_mapping_template: "MappingTemplate",
|
2479
|
+
# request_mapping_template: "MappingTemplate",
|
2407
2480
|
# response_mapping_template: "MappingTemplate",
|
2408
2481
|
# kind: "UNIT", # accepts UNIT, PIPELINE
|
2409
2482
|
# pipeline_config: {
|
@@ -2506,7 +2579,7 @@ module Aws::AppSync
|
|
2506
2579
|
params: params,
|
2507
2580
|
config: config)
|
2508
2581
|
context[:gem_name] = 'aws-sdk-appsync'
|
2509
|
-
context[:gem_version] = '1.
|
2582
|
+
context[:gem_version] = '1.35.0'
|
2510
2583
|
Seahorse::Client::Request.new(handlers, context)
|
2511
2584
|
end
|
2512
2585
|
|
@@ -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
|
#
|
@@ -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: {
|
@@ -876,6 +922,10 @@ module Aws::AppSync
|
|
876
922
|
# A resolver uses a request mapping template to convert a GraphQL
|
877
923
|
# expression into a format that a data source can understand. Mapping
|
878
924
|
# templates are written in Apache Velocity Template Language (VTL).
|
925
|
+
#
|
926
|
+
# VTL request mapping templates are optional when using a Lambda data
|
927
|
+
# source. For all other data sources, VTL request and response mapping
|
928
|
+
# templates are required.
|
879
929
|
# @return [String]
|
880
930
|
#
|
881
931
|
# @!attribute [rw] response_mapping_template
|
@@ -2877,7 +2927,30 @@ module Aws::AppSync
|
|
2877
2927
|
# @return [String]
|
2878
2928
|
#
|
2879
2929
|
# @!attribute [rw] type
|
2880
|
-
# The cache instance type.
|
2930
|
+
# The cache instance type. Valid values are
|
2931
|
+
#
|
2932
|
+
# * `SMALL`
|
2933
|
+
#
|
2934
|
+
# * `MEDIUM`
|
2935
|
+
#
|
2936
|
+
# * `LARGE`
|
2937
|
+
#
|
2938
|
+
# * `XLARGE`
|
2939
|
+
#
|
2940
|
+
# * `LARGE_2X`
|
2941
|
+
#
|
2942
|
+
# * `LARGE_4X`
|
2943
|
+
#
|
2944
|
+
# * `LARGE_8X` (not available in all regions)
|
2945
|
+
#
|
2946
|
+
# * `LARGE_12X`
|
2947
|
+
#
|
2948
|
+
# Historically, instance types were identified by an EC2-style value.
|
2949
|
+
# As of July 2020, this is deprecated, and the generic identifiers
|
2950
|
+
# above should be used.
|
2951
|
+
#
|
2952
|
+
# The following legacy instance types are avaible, but their use is
|
2953
|
+
# discouraged:
|
2881
2954
|
#
|
2882
2955
|
# * **T2\_SMALL**\: A t2.small instance type.
|
2883
2956
|
#
|
@@ -3097,7 +3170,7 @@ module Aws::AppSync
|
|
3097
3170
|
# description: "String",
|
3098
3171
|
# function_id: "ResourceName", # required
|
3099
3172
|
# data_source_name: "ResourceName", # required
|
3100
|
-
# request_mapping_template: "MappingTemplate",
|
3173
|
+
# request_mapping_template: "MappingTemplate",
|
3101
3174
|
# response_mapping_template: "MappingTemplate",
|
3102
3175
|
# function_version: "String", # required
|
3103
3176
|
# }
|
@@ -3277,7 +3350,7 @@ module Aws::AppSync
|
|
3277
3350
|
# type_name: "ResourceName", # required
|
3278
3351
|
# field_name: "ResourceName", # required
|
3279
3352
|
# data_source_name: "ResourceName",
|
3280
|
-
# request_mapping_template: "MappingTemplate",
|
3353
|
+
# request_mapping_template: "MappingTemplate",
|
3281
3354
|
# response_mapping_template: "MappingTemplate",
|
3282
3355
|
# kind: "UNIT", # accepts UNIT, PIPELINE
|
3283
3356
|
# pipeline_config: {
|
@@ -3314,6 +3387,14 @@ module Aws::AppSync
|
|
3314
3387
|
#
|
3315
3388
|
# @!attribute [rw] request_mapping_template
|
3316
3389
|
# The new request mapping template.
|
3390
|
+
#
|
3391
|
+
# A resolver uses a request mapping template to convert a GraphQL
|
3392
|
+
# expression into a format that a data source can understand. Mapping
|
3393
|
+
# templates are written in Apache Velocity Template Language (VTL).
|
3394
|
+
#
|
3395
|
+
# VTL request mapping templates are optional when using a Lambda data
|
3396
|
+
# source. For all other data sources, VTL request and response mapping
|
3397
|
+
# templates are required.
|
3317
3398
|
# @return [String]
|
3318
3399
|
#
|
3319
3400
|
# @!attribute [rw] response_mapping_template
|
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.35.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-09-30 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.
|
22
|
+
version: 3.109.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.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|