aws-sdk-appsync 1.95.0 → 1.98.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4283e976b8be535c98ecf3db46c882430740d4073afe9e44d70e0ff385719af2
4
- data.tar.gz: 7dceece03f6c5b13bf3cdfca5f1d1a3b58c32393523cbe4ead09b41c0da66b3e
3
+ metadata.gz: 78595ffd7d5198a4ca6780dfd7487d598991acb225c31b2fd16a122bd5da22b7
4
+ data.tar.gz: 2761e327893ecc565e80ccfa119d9abd9a6e7b92f20f4cca135af6354b7b18eb
5
5
  SHA512:
6
- metadata.gz: fce956de5a0133af5b531d7744779151abd0976d87c2e781f6e474a1bcae36d8c64d5315c9767bf555e46563a87706fd4600ce2f67965b1f9dce25bcfdd4c171
7
- data.tar.gz: 22dcc125d3e712aafc4f9f0c5c0bd390b5d5c6b3adabbb6ddb0f80bb78cc3cb5abc26f219e95d89041ab52a984a1c11366030d8f52562aca8b0f2f3221d14326
6
+ metadata.gz: cf598733103580008e202214e2d1aa0e486b88e2d953f23d56de289f853375aa4550af1ee37342425c040f4a137d6e50e0d5afb67503bde34021c53bb3ba07c6
7
+ data.tar.gz: d495918c3f33be498fb335f35ab2a9b519960175d62f230a1b9bc6e6e682b75d0de525e66583ebdab10384edaab411f32553e6a76ad3fd14bfb887317bcb19d4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.98.0 (2025-01-28)
5
+ ------------------
6
+
7
+ * Feature - Add stash and outErrors to EvaluateCode/EvaluateMappingTemplate response
8
+
9
+ 1.97.0 (2025-01-15)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.96.0 (2025-01-02)
15
+ ------------------
16
+
17
+ * Feature - Modify UpdateGraphQLAPI operation and flag authenticationType as required.
18
+
4
19
  1.95.0 (2024-12-09)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.95.0
1
+ 1.98.0
@@ -257,11 +257,34 @@ module Aws::AppSync
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -2050,6 +2073,8 @@ module Aws::AppSync
2050
2073
  # * {Types::EvaluateCodeResponse#evaluation_result #evaluation_result} => String
2051
2074
  # * {Types::EvaluateCodeResponse#error #error} => Types::EvaluateCodeErrorDetail
2052
2075
  # * {Types::EvaluateCodeResponse#logs #logs} => Array<String>
2076
+ # * {Types::EvaluateCodeResponse#stash #stash} => String
2077
+ # * {Types::EvaluateCodeResponse#out_errors #out_errors} => String
2053
2078
  #
2054
2079
  # @example Request syntax with placeholder values
2055
2080
  #
@@ -2075,6 +2100,8 @@ module Aws::AppSync
2075
2100
  # resp.error.code_errors[0].location.span #=> Integer
2076
2101
  # resp.logs #=> Array
2077
2102
  # resp.logs[0] #=> String
2103
+ # resp.stash #=> String
2104
+ # resp.out_errors #=> String
2078
2105
  #
2079
2106
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCode AWS API Documentation
2080
2107
  #
@@ -2109,6 +2136,8 @@ module Aws::AppSync
2109
2136
  # * {Types::EvaluateMappingTemplateResponse#evaluation_result #evaluation_result} => String
2110
2137
  # * {Types::EvaluateMappingTemplateResponse#error #error} => Types::ErrorDetail
2111
2138
  # * {Types::EvaluateMappingTemplateResponse#logs #logs} => Array<String>
2139
+ # * {Types::EvaluateMappingTemplateResponse#stash #stash} => String
2140
+ # * {Types::EvaluateMappingTemplateResponse#out_errors #out_errors} => String
2112
2141
  #
2113
2142
  # @example Request syntax with placeholder values
2114
2143
  #
@@ -2123,6 +2152,8 @@ module Aws::AppSync
2123
2152
  # resp.error.message #=> String
2124
2153
  # resp.logs #=> Array
2125
2154
  # resp.logs[0] #=> String
2155
+ # resp.stash #=> String
2156
+ # resp.out_errors #=> String
2126
2157
  #
2127
2158
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate AWS API Documentation
2128
2159
  #
@@ -4522,7 +4553,7 @@ module Aws::AppSync
4522
4553
  # @option params [Types::LogConfig] :log_config
4523
4554
  # The Amazon CloudWatch Logs configuration for the `GraphqlApi` object.
4524
4555
  #
4525
- # @option params [String] :authentication_type
4556
+ # @option params [required, String] :authentication_type
4526
4557
  # The new authentication type for the `GraphqlApi` object.
4527
4558
  #
4528
4559
  # @option params [Types::UserPoolConfig] :user_pool_config
@@ -4605,7 +4636,7 @@ module Aws::AppSync
4605
4636
  # cloud_watch_logs_role_arn: "String", # required
4606
4637
  # exclude_verbose_content: false,
4607
4638
  # },
4608
- # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
4639
+ # authentication_type: "API_KEY", # required, accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
4609
4640
  # user_pool_config: {
4610
4641
  # user_pool_id: "String", # required
4611
4642
  # aws_region: "String", # required
@@ -4980,7 +5011,7 @@ module Aws::AppSync
4980
5011
  tracer: tracer
4981
5012
  )
4982
5013
  context[:gem_name] = 'aws-sdk-appsync'
4983
- context[:gem_version] = '1.95.0'
5014
+ context[:gem_version] = '1.98.0'
4984
5015
  Seahorse::Client::Request.new(handlers, context)
4985
5016
  end
4986
5017
 
@@ -246,6 +246,7 @@ module Aws::AppSync
246
246
  OpenIDConnectConfig = Shapes::StructureShape.new(name: 'OpenIDConnectConfig')
247
247
  OpenSearchServiceDataSourceConfig = Shapes::StructureShape.new(name: 'OpenSearchServiceDataSourceConfig')
248
248
  OperationLevelMetricsConfig = Shapes::StringShape.new(name: 'OperationLevelMetricsConfig')
249
+ OutErrors = Shapes::StringShape.new(name: 'OutErrors')
249
250
  OutputType = Shapes::StringShape.new(name: 'OutputType')
250
251
  OwnerContact = Shapes::StringShape.new(name: 'OwnerContact')
251
252
  Ownership = Shapes::StringShape.new(name: 'Ownership')
@@ -283,6 +284,7 @@ module Aws::AppSync
283
284
  StartSchemaCreationResponse = Shapes::StructureShape.new(name: 'StartSchemaCreationResponse')
284
285
  StartSchemaMergeRequest = Shapes::StructureShape.new(name: 'StartSchemaMergeRequest')
285
286
  StartSchemaMergeResponse = Shapes::StructureShape.new(name: 'StartSchemaMergeResponse')
287
+ Stash = Shapes::StringShape.new(name: 'Stash')
286
288
  String = Shapes::StringShape.new(name: 'String')
287
289
  SyncConfig = Shapes::StructureShape.new(name: 'SyncConfig')
288
290
  TTL = Shapes::IntegerShape.new(name: 'TTL')
@@ -795,6 +797,8 @@ module Aws::AppSync
795
797
  EvaluateCodeResponse.add_member(:evaluation_result, Shapes::ShapeRef.new(shape: EvaluationResult, location_name: "evaluationResult"))
796
798
  EvaluateCodeResponse.add_member(:error, Shapes::ShapeRef.new(shape: EvaluateCodeErrorDetail, location_name: "error"))
797
799
  EvaluateCodeResponse.add_member(:logs, Shapes::ShapeRef.new(shape: Logs, location_name: "logs"))
800
+ EvaluateCodeResponse.add_member(:stash, Shapes::ShapeRef.new(shape: Stash, location_name: "stash"))
801
+ EvaluateCodeResponse.add_member(:out_errors, Shapes::ShapeRef.new(shape: OutErrors, location_name: "outErrors"))
798
802
  EvaluateCodeResponse.struct_class = Types::EvaluateCodeResponse
799
803
 
800
804
  EvaluateMappingTemplateRequest.add_member(:template, Shapes::ShapeRef.new(shape: Template, required: true, location_name: "template"))
@@ -804,6 +808,8 @@ module Aws::AppSync
804
808
  EvaluateMappingTemplateResponse.add_member(:evaluation_result, Shapes::ShapeRef.new(shape: EvaluationResult, location_name: "evaluationResult"))
805
809
  EvaluateMappingTemplateResponse.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "error"))
806
810
  EvaluateMappingTemplateResponse.add_member(:logs, Shapes::ShapeRef.new(shape: Logs, location_name: "logs"))
811
+ EvaluateMappingTemplateResponse.add_member(:stash, Shapes::ShapeRef.new(shape: Stash, location_name: "stash"))
812
+ EvaluateMappingTemplateResponse.add_member(:out_errors, Shapes::ShapeRef.new(shape: OutErrors, location_name: "outErrors"))
807
813
  EvaluateMappingTemplateResponse.struct_class = Types::EvaluateMappingTemplateResponse
808
814
 
809
815
  EventBridgeDataSourceConfig.add_member(:event_bus_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "eventBusArn"))
@@ -1357,7 +1363,7 @@ module Aws::AppSync
1357
1363
  UpdateGraphqlApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
1358
1364
  UpdateGraphqlApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
1359
1365
  UpdateGraphqlApiRequest.add_member(:log_config, Shapes::ShapeRef.new(shape: LogConfig, location_name: "logConfig"))
1360
- UpdateGraphqlApiRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, location_name: "authenticationType"))
1366
+ UpdateGraphqlApiRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, required: true, location_name: "authenticationType"))
1361
1367
  UpdateGraphqlApiRequest.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: UserPoolConfig, location_name: "userPoolConfig"))
1362
1368
  UpdateGraphqlApiRequest.add_member(:open_id_connect_config, Shapes::ShapeRef.new(shape: OpenIDConnectConfig, location_name: "openIDConnectConfig"))
1363
1369
  UpdateGraphqlApiRequest.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
@@ -2550,12 +2550,27 @@ module Aws::AppSync
2550
2550
  # `util.log.error` in the evaluated code.
2551
2551
  # @return [Array<String>]
2552
2552
  #
2553
+ # @!attribute [rw] stash
2554
+ # An object available inside each resolver and function handler. A
2555
+ # single `stash` object lives through a single resolver run.
2556
+ # Therefore, you can use the stash to pass arbitrary data across
2557
+ # request and response handlers and across functions in a pipeline
2558
+ # resolver.
2559
+ # @return [String]
2560
+ #
2561
+ # @!attribute [rw] out_errors
2562
+ # The list of runtime errors that are added to the GraphQL operation
2563
+ # response.
2564
+ # @return [String]
2565
+ #
2553
2566
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCodeResponse AWS API Documentation
2554
2567
  #
2555
2568
  class EvaluateCodeResponse < Struct.new(
2556
2569
  :evaluation_result,
2557
2570
  :error,
2558
- :logs)
2571
+ :logs,
2572
+ :stash,
2573
+ :out_errors)
2559
2574
  SENSITIVE = []
2560
2575
  include Aws::Structure
2561
2576
  end
@@ -2592,12 +2607,27 @@ module Aws::AppSync
2592
2607
  # `util.log.error` in the evaluated code.
2593
2608
  # @return [Array<String>]
2594
2609
  #
2610
+ # @!attribute [rw] stash
2611
+ # An object available inside each resolver and function handler. A
2612
+ # single `stash` object lives through a single resolver run.
2613
+ # Therefore, you can use the stash to pass arbitrary data across
2614
+ # request and response handlers and across functions in a pipeline
2615
+ # resolver.
2616
+ # @return [String]
2617
+ #
2618
+ # @!attribute [rw] out_errors
2619
+ # The list of runtime errors that are added to the GraphQL operation
2620
+ # response.
2621
+ # @return [String]
2622
+ #
2595
2623
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplateResponse AWS API Documentation
2596
2624
  #
2597
2625
  class EvaluateMappingTemplateResponse < Struct.new(
2598
2626
  :evaluation_result,
2599
2627
  :error,
2600
- :logs)
2628
+ :logs,
2629
+ :stash,
2630
+ :out_errors)
2601
2631
  SENSITIVE = []
2602
2632
  include Aws::Structure
2603
2633
  end
@@ -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.95.0'
57
+ GEM_VERSION = '1.98.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -571,6 +573,8 @@ module Aws
571
573
  include ::Seahorse::Client::_ResponseSuccess[Types::EvaluateCodeResponse]
572
574
  def evaluation_result: () -> ::String
573
575
  def logs: () -> ::Array[::String]
576
+ def stash: () -> ::String
577
+ def out_errors: () -> ::String
574
578
  end
575
579
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#evaluate_code-instance_method
576
580
  def evaluate_code: (
@@ -588,6 +592,8 @@ module Aws
588
592
  include ::Seahorse::Client::_ResponseSuccess[Types::EvaluateMappingTemplateResponse]
589
593
  def evaluation_result: () -> ::String
590
594
  def logs: () -> ::Array[::String]
595
+ def stash: () -> ::String
596
+ def out_errors: () -> ::String
591
597
  end
592
598
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#evaluate_mapping_template-instance_method
593
599
  def evaluate_mapping_template: (
@@ -1228,7 +1234,7 @@ module Aws
1228
1234
  cloud_watch_logs_role_arn: ::String,
1229
1235
  exclude_verbose_content: bool?
1230
1236
  },
1231
- ?authentication_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA"),
1237
+ authentication_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA"),
1232
1238
  ?user_pool_config: {
1233
1239
  user_pool_id: ::String,
1234
1240
  aws_region: ::String,
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -616,6 +616,8 @@ module Aws::AppSync
616
616
  attr_accessor evaluation_result: ::String
617
617
  attr_accessor error: Types::EvaluateCodeErrorDetail
618
618
  attr_accessor logs: ::Array[::String]
619
+ attr_accessor stash: ::String
620
+ attr_accessor out_errors: ::String
619
621
  SENSITIVE: []
620
622
  end
621
623
 
@@ -629,6 +631,8 @@ module Aws::AppSync
629
631
  attr_accessor evaluation_result: ::String
630
632
  attr_accessor error: Types::ErrorDetail
631
633
  attr_accessor logs: ::Array[::String]
634
+ attr_accessor stash: ::String
635
+ attr_accessor out_errors: ::String
632
636
  SENSITIVE: []
633
637
  end
634
638
 
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.95.0
4
+ version: 1.98.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: 2024-12-09 00:00:00.000000000 Z
11
+ date: 2025-01-28 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.210.0
22
+ version: 3.216.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.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement