aws-sdk-appsync 1.98.0 → 1.100.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: 78595ffd7d5198a4ca6780dfd7487d598991acb225c31b2fd16a122bd5da22b7
4
- data.tar.gz: 2761e327893ecc565e80ccfa119d9abd9a6e7b92f20f4cca135af6354b7b18eb
3
+ metadata.gz: e14d3c39c0cb85073d358bdc71ed89f58831f7596e1f42ba771fde857e595fec
4
+ data.tar.gz: 39dfc6363313058c9ff55d6ad7cd6de8e44adc152d20b871cf89e2b62f1d9335
5
5
  SHA512:
6
- metadata.gz: cf598733103580008e202214e2d1aa0e486b88e2d953f23d56de289f853375aa4550af1ee37342425c040f4a137d6e50e0d5afb67503bde34021c53bb3ba07c6
7
- data.tar.gz: d495918c3f33be498fb335f35ab2a9b519960175d62f230a1b9bc6e6e682b75d0de525e66583ebdab10384edaab411f32553e6a76ad3fd14bfb887317bcb19d4
6
+ metadata.gz: 2aba427149bbc4c237a2b4ae308ec01ffbf4a8632057217a5b85017945949f4b644eaae28abe3ede0839da33222880ae7f4d10ee6568bc5c35ee07e7f4943a99
7
+ data.tar.gz: a638e01e85d41ee5a4941d1eaf54ccf30b2f2692e4a0232fd71f8ad07f8c9559e1da031f2ead9796065c7050056a73a4ab0724459456280982a2baca80f0f819
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.100.0 (2025-02-11)
5
+ ------------------
6
+
7
+ * Feature - Add support for operation level caching
8
+
9
+ 1.99.0 (2025-02-06)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.98.0 (2025-01-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.100.0
@@ -766,11 +766,16 @@ module Aws::AppSync
766
766
  # @option params [required, String] :api_caching_behavior
767
767
  # Caching behavior.
768
768
  #
769
- # * **FULL\_REQUEST\_CACHING**: All requests are fully cached.
769
+ # * **FULL\_REQUEST\_CACHING**: All requests from the same user are
770
+ # cached. Individual resolvers are automatically cached. All API calls
771
+ # will try to return responses from the cache.
770
772
  #
771
773
  # * **PER\_RESOLVER\_CACHING**: Individual resolvers that you specify
772
774
  # are cached.
773
775
  #
776
+ # * **OPERATION\_LEVEL\_CACHING**: Full requests are cached together and
777
+ # returned without executing resolvers.
778
+ #
774
779
  # @option params [required, String] :type
775
780
  # The cache instance type. Valid values are
776
781
  #
@@ -837,7 +842,7 @@ module Aws::AppSync
837
842
  # ttl: 1, # required
838
843
  # transit_encryption_enabled: false,
839
844
  # at_rest_encryption_enabled: false,
840
- # api_caching_behavior: "FULL_REQUEST_CACHING", # required, accepts FULL_REQUEST_CACHING, PER_RESOLVER_CACHING
845
+ # api_caching_behavior: "FULL_REQUEST_CACHING", # required, accepts FULL_REQUEST_CACHING, PER_RESOLVER_CACHING, OPERATION_LEVEL_CACHING
841
846
  # 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
842
847
  # health_metrics_config: "ENABLED", # accepts ENABLED, DISABLED
843
848
  # })
@@ -845,7 +850,7 @@ module Aws::AppSync
845
850
  # @example Response structure
846
851
  #
847
852
  # resp.api_cache.ttl #=> Integer
848
- # resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING"
853
+ # resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING", "OPERATION_LEVEL_CACHING"
849
854
  # resp.api_cache.transit_encryption_enabled #=> Boolean
850
855
  # resp.api_cache.at_rest_encryption_enabled #=> Boolean
851
856
  # 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"
@@ -2293,7 +2298,7 @@ module Aws::AppSync
2293
2298
  # @example Response structure
2294
2299
  #
2295
2300
  # resp.api_cache.ttl #=> Integer
2296
- # resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING"
2301
+ # resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING", "OPERATION_LEVEL_CACHING"
2297
2302
  # resp.api_cache.transit_encryption_enabled #=> Boolean
2298
2303
  # resp.api_cache.at_rest_encryption_enabled #=> Boolean
2299
2304
  # 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"
@@ -4039,11 +4044,16 @@ module Aws::AppSync
4039
4044
  # @option params [required, String] :api_caching_behavior
4040
4045
  # Caching behavior.
4041
4046
  #
4042
- # * **FULL\_REQUEST\_CACHING**: All requests are fully cached.
4047
+ # * **FULL\_REQUEST\_CACHING**: All requests from the same user are
4048
+ # cached. Individual resolvers are automatically cached. All API calls
4049
+ # will try to return responses from the cache.
4043
4050
  #
4044
4051
  # * **PER\_RESOLVER\_CACHING**: Individual resolvers that you specify
4045
4052
  # are cached.
4046
4053
  #
4054
+ # * **OPERATION\_LEVEL\_CACHING**: Full requests are cached together and
4055
+ # returned without executing resolvers.
4056
+ #
4047
4057
  # @option params [required, String] :type
4048
4058
  # The cache instance type. Valid values are
4049
4059
  #
@@ -4108,7 +4118,7 @@ module Aws::AppSync
4108
4118
  # resp = client.update_api_cache({
4109
4119
  # api_id: "String", # required
4110
4120
  # ttl: 1, # required
4111
- # api_caching_behavior: "FULL_REQUEST_CACHING", # required, accepts FULL_REQUEST_CACHING, PER_RESOLVER_CACHING
4121
+ # api_caching_behavior: "FULL_REQUEST_CACHING", # required, accepts FULL_REQUEST_CACHING, PER_RESOLVER_CACHING, OPERATION_LEVEL_CACHING
4112
4122
  # 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
4113
4123
  # health_metrics_config: "ENABLED", # accepts ENABLED, DISABLED
4114
4124
  # })
@@ -4116,7 +4126,7 @@ module Aws::AppSync
4116
4126
  # @example Response structure
4117
4127
  #
4118
4128
  # resp.api_cache.ttl #=> Integer
4119
- # resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING"
4129
+ # resp.api_cache.api_caching_behavior #=> String, one of "FULL_REQUEST_CACHING", "PER_RESOLVER_CACHING", "OPERATION_LEVEL_CACHING"
4120
4130
  # resp.api_cache.transit_encryption_enabled #=> Boolean
4121
4131
  # resp.api_cache.at_rest_encryption_enabled #=> Boolean
4122
4132
  # 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"
@@ -5011,7 +5021,7 @@ module Aws::AppSync
5011
5021
  tracer: tracer
5012
5022
  )
5013
5023
  context[:gem_name] = 'aws-sdk-appsync'
5014
- context[:gem_version] = '1.98.0'
5024
+ context[:gem_version] = '1.100.0'
5015
5025
  Seahorse::Client::Request.new(handlers, context)
5016
5026
  end
5017
5027
 
@@ -10,40 +10,36 @@
10
10
  module Aws::AppSync
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  end
26
- if Aws::Endpoints::Matchers.set?(region)
27
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
- return Aws::Endpoints::Endpoint.new(url: "https://appsync-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://appsync-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
- return Aws::Endpoints::Endpoint.new(url: "https://appsync-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ return Aws::Endpoints::Endpoint.new(url: "https://appsync-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
33
  end
38
34
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
35
  end
40
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
- return Aws::Endpoints::Endpoint.new(url: "https://appsync.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://appsync.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
41
  end
46
- return Aws::Endpoints::Endpoint.new(url: "https://appsync.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ return Aws::Endpoints::Endpoint.new(url: "https://appsync.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
43
  end
48
44
  end
49
45
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -169,10 +169,15 @@ module Aws::AppSync
169
169
  # @!attribute [rw] api_caching_behavior
170
170
  # Caching behavior.
171
171
  #
172
- # * **FULL\_REQUEST\_CACHING**: All requests are fully cached.
172
+ # * **FULL\_REQUEST\_CACHING**: All requests from the same user are
173
+ # cached. Individual resolvers are automatically cached. All API
174
+ # calls will try to return responses from the cache.
173
175
  #
174
176
  # * **PER\_RESOLVER\_CACHING**: Individual resolvers that you specify
175
177
  # are cached.
178
+ #
179
+ # * **OPERATION\_LEVEL\_CACHING**: Full requests are cached together
180
+ # and returned without executing resolvers.
176
181
  # @return [String]
177
182
  #
178
183
  # @!attribute [rw] transit_encryption_enabled
@@ -918,10 +923,15 @@ module Aws::AppSync
918
923
  # @!attribute [rw] api_caching_behavior
919
924
  # Caching behavior.
920
925
  #
921
- # * **FULL\_REQUEST\_CACHING**: All requests are fully cached.
926
+ # * **FULL\_REQUEST\_CACHING**: All requests from the same user are
927
+ # cached. Individual resolvers are automatically cached. All API
928
+ # calls will try to return responses from the cache.
922
929
  #
923
930
  # * **PER\_RESOLVER\_CACHING**: Individual resolvers that you specify
924
931
  # are cached.
932
+ #
933
+ # * **OPERATION\_LEVEL\_CACHING**: Full requests are cached together
934
+ # and returned without executing resolvers.
925
935
  # @return [String]
926
936
  #
927
937
  # @!attribute [rw] type
@@ -4936,10 +4946,15 @@ module Aws::AppSync
4936
4946
  # @!attribute [rw] api_caching_behavior
4937
4947
  # Caching behavior.
4938
4948
  #
4939
- # * **FULL\_REQUEST\_CACHING**: All requests are fully cached.
4949
+ # * **FULL\_REQUEST\_CACHING**: All requests from the same user are
4950
+ # cached. Individual resolvers are automatically cached. All API
4951
+ # calls will try to return responses from the cache.
4940
4952
  #
4941
4953
  # * **PER\_RESOLVER\_CACHING**: Individual resolvers that you specify
4942
4954
  # are cached.
4955
+ #
4956
+ # * **OPERATION\_LEVEL\_CACHING**: Full requests are cached together
4957
+ # and returned without executing resolvers.
4943
4958
  # @return [String]
4944
4959
  #
4945
4960
  # @!attribute [rw] type
@@ -54,7 +54,7 @@ module Aws::AppSync
54
54
  autoload :EndpointProvider, 'aws-sdk-appsync/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-appsync/endpoints'
56
56
 
57
- GEM_VERSION = '1.98.0'
57
+ GEM_VERSION = '1.100.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -182,7 +182,7 @@ module Aws
182
182
  ttl: ::Integer,
183
183
  ?transit_encryption_enabled: bool,
184
184
  ?at_rest_encryption_enabled: bool,
185
- api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING"),
185
+ api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING" | "OPERATION_LEVEL_CACHING"),
186
186
  type: ("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"),
187
187
  ?health_metrics_config: ("ENABLED" | "DISABLED")
188
188
  ) -> _CreateApiCacheResponseSuccess
@@ -1079,7 +1079,7 @@ module Aws
1079
1079
  def update_api_cache: (
1080
1080
  api_id: ::String,
1081
1081
  ttl: ::Integer,
1082
- api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING"),
1082
+ api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING" | "OPERATION_LEVEL_CACHING"),
1083
1083
  type: ("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"),
1084
1084
  ?health_metrics_config: ("ENABLED" | "DISABLED")
1085
1085
  ) -> _UpdateApiCacheResponseSuccess
data/sig/types.rbs CHANGED
@@ -45,7 +45,7 @@ module Aws::AppSync
45
45
 
46
46
  class ApiCache
47
47
  attr_accessor ttl: ::Integer
48
- attr_accessor api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING")
48
+ attr_accessor api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING" | "OPERATION_LEVEL_CACHING")
49
49
  attr_accessor transit_encryption_enabled: bool
50
50
  attr_accessor at_rest_encryption_enabled: bool
51
51
  attr_accessor type: ("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")
@@ -219,7 +219,7 @@ module Aws::AppSync
219
219
  attr_accessor ttl: ::Integer
220
220
  attr_accessor transit_encryption_enabled: bool
221
221
  attr_accessor at_rest_encryption_enabled: bool
222
- attr_accessor api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING")
222
+ attr_accessor api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING" | "OPERATION_LEVEL_CACHING")
223
223
  attr_accessor type: ("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")
224
224
  attr_accessor health_metrics_config: ("ENABLED" | "DISABLED")
225
225
  SENSITIVE: []
@@ -1276,7 +1276,7 @@ module Aws::AppSync
1276
1276
  class UpdateApiCacheRequest
1277
1277
  attr_accessor api_id: ::String
1278
1278
  attr_accessor ttl: ::Integer
1279
- attr_accessor api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING")
1279
+ attr_accessor api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING" | "OPERATION_LEVEL_CACHING")
1280
1280
  attr_accessor type: ("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")
1281
1281
  attr_accessor health_metrics_config: ("ENABLED" | "DISABLED")
1282
1282
  SENSITIVE: []
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.98.0
4
+ version: 1.100.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: 2025-01-28 00:00:00.000000000 Z
11
+ date: 2025-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core