aws-sdk-appsync 1.28.0 → 1.33.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 +2 -2
- data/lib/aws-sdk-appsync/client.rb +97 -24
- data/lib/aws-sdk-appsync/client_api.rb +4 -4
- data/lib/aws-sdk-appsync/types.rb +93 -12
- 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: 864a3d8d2112b51997d0f804b5689a52df1cfe95f37018e393d30ad9311fda62
|
4
|
+
data.tar.gz: 9cf5c90c137d9fd9717abd83cb3813dbaf7a44096c49172a8a7fbcfaba2f2c55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c55b9c2a040a2bd47531110e833b9e16d49dd7c7f45b9764efd0ba1d67a4b1ec5eeb5bbfc584ca9790ff8f1124fd4362d6da840195eefee01e5a678b99326456
|
7
|
+
data.tar.gz: 843ac11019a68e399c39a09ee547559ec6e6dde98625f39e55204f163c0773c0604625778706ce6c57c4d942cc83a372039b7dbbfa0d50a8517fe317f807c261
|
data/lib/aws-sdk-appsync.rb
CHANGED
@@ -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
|
#
|
@@ -367,7 +405,7 @@ module Aws::AppSync
|
|
367
405
|
# transit_encryption_enabled: false,
|
368
406
|
# at_rest_encryption_enabled: false,
|
369
407
|
# api_caching_behavior: "FULL_REQUEST_CACHING", # required, accepts FULL_REQUEST_CACHING, PER_RESOLVER_CACHING
|
370
|
-
# type: "T2_SMALL", # required, accepts T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE
|
408
|
+
# type: "T2_SMALL", # required, accepts T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE, SMALL, MEDIUM, LARGE, XLARGE, LARGE_2X, LARGE_4X, LARGE_8X, LARGE_12X
|
371
409
|
# })
|
372
410
|
#
|
373
411
|
# @example Response structure
|
@@ -376,7 +414,7 @@ module Aws::AppSync
|
|
376
414
|
# resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING"
|
377
415
|
# resp.api_cache.transit_encryption_enabled #=> Boolean
|
378
416
|
# resp.api_cache.at_rest_encryption_enabled #=> Boolean
|
379
|
-
# resp.api_cache.type #=> String, one of "T2_SMALL", "T2_MEDIUM", "R4_LARGE", "R4_XLARGE", "R4_2XLARGE", "R4_4XLARGE", "R4_8XLARGE"
|
417
|
+
# resp.api_cache.type #=> String, one of "T2_SMALL", "T2_MEDIUM", "R4_LARGE", "R4_XLARGE", "R4_2XLARGE", "R4_4XLARGE", "R4_8XLARGE", "SMALL", "MEDIUM", "LARGE", "XLARGE", "LARGE_2X", "LARGE_4X", "LARGE_8X", "LARGE_12X"
|
380
418
|
# resp.api_cache.status #=> String, one of "AVAILABLE", "CREATING", "DELETING", "MODIFYING", "FAILED"
|
381
419
|
#
|
382
420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCache AWS API Documentation
|
@@ -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: {
|
@@ -1107,7 +1149,7 @@ module Aws::AppSync
|
|
1107
1149
|
# resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING"
|
1108
1150
|
# resp.api_cache.transit_encryption_enabled #=> Boolean
|
1109
1151
|
# resp.api_cache.at_rest_encryption_enabled #=> Boolean
|
1110
|
-
# resp.api_cache.type #=> String, one of "T2_SMALL", "T2_MEDIUM", "R4_LARGE", "R4_XLARGE", "R4_2XLARGE", "R4_4XLARGE", "R4_8XLARGE"
|
1152
|
+
# resp.api_cache.type #=> String, one of "T2_SMALL", "T2_MEDIUM", "R4_LARGE", "R4_XLARGE", "R4_2XLARGE", "R4_4XLARGE", "R4_8XLARGE", "SMALL", "MEDIUM", "LARGE", "XLARGE", "LARGE_2X", "LARGE_4X", "LARGE_8X", "LARGE_12X"
|
1111
1153
|
# resp.api_cache.status #=> String, one of "AVAILABLE", "CREATING", "DELETING", "MODIFYING", "FAILED"
|
1112
1154
|
#
|
1113
1155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiCache AWS API Documentation
|
@@ -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
|
#
|
@@ -1985,7 +2050,7 @@ module Aws::AppSync
|
|
1985
2050
|
# api_id: "String", # required
|
1986
2051
|
# ttl: 1, # required
|
1987
2052
|
# api_caching_behavior: "FULL_REQUEST_CACHING", # required, accepts FULL_REQUEST_CACHING, PER_RESOLVER_CACHING
|
1988
|
-
# type: "T2_SMALL", # required, accepts T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE
|
2053
|
+
# type: "T2_SMALL", # required, accepts T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE, SMALL, MEDIUM, LARGE, XLARGE, LARGE_2X, LARGE_4X, LARGE_8X, LARGE_12X
|
1989
2054
|
# })
|
1990
2055
|
#
|
1991
2056
|
# @example Response structure
|
@@ -1994,7 +2059,7 @@ module Aws::AppSync
|
|
1994
2059
|
# resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING"
|
1995
2060
|
# resp.api_cache.transit_encryption_enabled #=> Boolean
|
1996
2061
|
# resp.api_cache.at_rest_encryption_enabled #=> Boolean
|
1997
|
-
# resp.api_cache.type #=> String, one of "T2_SMALL", "T2_MEDIUM", "R4_LARGE", "R4_XLARGE", "R4_2XLARGE", "R4_4XLARGE", "R4_8XLARGE"
|
2062
|
+
# resp.api_cache.type #=> String, one of "T2_SMALL", "T2_MEDIUM", "R4_LARGE", "R4_XLARGE", "R4_2XLARGE", "R4_4XLARGE", "R4_8XLARGE", "SMALL", "MEDIUM", "LARGE", "XLARGE", "LARGE_2X", "LARGE_4X", "LARGE_8X", "LARGE_12X"
|
1998
2063
|
# resp.api_cache.status #=> String, one of "AVAILABLE", "CREATING", "DELETING", "MODIFYING", "FAILED"
|
1999
2064
|
#
|
2000
2065
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCache AWS API Documentation
|
@@ -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.33.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
|
#
|
@@ -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.arguments`,
|
364
|
+
# `$context.source`, and `$context.identity` 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
|
@@ -409,7 +432,7 @@ module Aws::AppSync
|
|
409
432
|
# transit_encryption_enabled: false,
|
410
433
|
# at_rest_encryption_enabled: false,
|
411
434
|
# api_caching_behavior: "FULL_REQUEST_CACHING", # required, accepts FULL_REQUEST_CACHING, PER_RESOLVER_CACHING
|
412
|
-
# type: "T2_SMALL", # required, accepts T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE
|
435
|
+
# type: "T2_SMALL", # required, accepts T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE, SMALL, MEDIUM, LARGE, XLARGE, LARGE_2X, LARGE_4X, LARGE_8X, LARGE_12X
|
413
436
|
# }
|
414
437
|
#
|
415
438
|
# @!attribute [rw] api_id
|
@@ -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
|
@@ -2511,7 +2561,7 @@ module Aws::AppSync
|
|
2511
2561
|
# @return [String]
|
2512
2562
|
#
|
2513
2563
|
# @!attribute [rw] db_cluster_identifier
|
2514
|
-
# Amazon RDS cluster
|
2564
|
+
# Amazon RDS cluster ARN.
|
2515
2565
|
# @return [String]
|
2516
2566
|
#
|
2517
2567
|
# @!attribute [rw] database_name
|
@@ -2854,7 +2904,7 @@ module Aws::AppSync
|
|
2854
2904
|
# api_id: "String", # required
|
2855
2905
|
# ttl: 1, # required
|
2856
2906
|
# api_caching_behavior: "FULL_REQUEST_CACHING", # required, accepts FULL_REQUEST_CACHING, PER_RESOLVER_CACHING
|
2857
|
-
# type: "T2_SMALL", # required, accepts T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE
|
2907
|
+
# type: "T2_SMALL", # required, accepts T2_SMALL, T2_MEDIUM, R4_LARGE, R4_XLARGE, R4_2XLARGE, R4_4XLARGE, R4_8XLARGE, SMALL, MEDIUM, LARGE, XLARGE, LARGE_2X, LARGE_4X, LARGE_8X, LARGE_12X
|
2858
2908
|
# }
|
2859
2909
|
#
|
2860
2910
|
# @!attribute [rw] api_id
|
@@ -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.33.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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|