aws-sdk-appsync 1.97.0 → 1.98.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: e4f9f6f66344cb11f2ac8614e75dd4e3a630f1f26e98053e86dd1277a56eb0a7
4
- data.tar.gz: 5be5e8bbbdac6f6741232c42949afd873b401e2ce7fe6bd1dff3f7ef5a614717
3
+ metadata.gz: 78595ffd7d5198a4ca6780dfd7487d598991acb225c31b2fd16a122bd5da22b7
4
+ data.tar.gz: 2761e327893ecc565e80ccfa119d9abd9a6e7b92f20f4cca135af6354b7b18eb
5
5
  SHA512:
6
- metadata.gz: a635f9fdc8975a21975e87b540eefe2604ac49c3ed0e04ff67a4d7fbb3a34bfa61ccb59e3c92b8c0f901124aac36da7ec1b42a181b8e889532e03bced64b0822
7
- data.tar.gz: af78e4a8227809ae86ca383e5c21b49f6fef67c49d50e6558682ebc2f9a166b0c8dba99562e37007ad44f54a784afe3a810a1b84aa81b3220a69ee02a94ff4c4
6
+ metadata.gz: cf598733103580008e202214e2d1aa0e486b88e2d953f23d56de289f853375aa4550af1ee37342425c040f4a137d6e50e0d5afb67503bde34021c53bb3ba07c6
7
+ data.tar.gz: d495918c3f33be498fb335f35ab2a9b519960175d62f230a1b9bc6e6e682b75d0de525e66583ebdab10384edaab411f32553e6a76ad3fd14bfb887317bcb19d4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.97.0 (2025-01-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.97.0
1
+ 1.98.0
@@ -2073,6 +2073,8 @@ module Aws::AppSync
2073
2073
  # * {Types::EvaluateCodeResponse#evaluation_result #evaluation_result} => String
2074
2074
  # * {Types::EvaluateCodeResponse#error #error} => Types::EvaluateCodeErrorDetail
2075
2075
  # * {Types::EvaluateCodeResponse#logs #logs} => Array<String>
2076
+ # * {Types::EvaluateCodeResponse#stash #stash} => String
2077
+ # * {Types::EvaluateCodeResponse#out_errors #out_errors} => String
2076
2078
  #
2077
2079
  # @example Request syntax with placeholder values
2078
2080
  #
@@ -2098,6 +2100,8 @@ module Aws::AppSync
2098
2100
  # resp.error.code_errors[0].location.span #=> Integer
2099
2101
  # resp.logs #=> Array
2100
2102
  # resp.logs[0] #=> String
2103
+ # resp.stash #=> String
2104
+ # resp.out_errors #=> String
2101
2105
  #
2102
2106
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCode AWS API Documentation
2103
2107
  #
@@ -2132,6 +2136,8 @@ module Aws::AppSync
2132
2136
  # * {Types::EvaluateMappingTemplateResponse#evaluation_result #evaluation_result} => String
2133
2137
  # * {Types::EvaluateMappingTemplateResponse#error #error} => Types::ErrorDetail
2134
2138
  # * {Types::EvaluateMappingTemplateResponse#logs #logs} => Array<String>
2139
+ # * {Types::EvaluateMappingTemplateResponse#stash #stash} => String
2140
+ # * {Types::EvaluateMappingTemplateResponse#out_errors #out_errors} => String
2135
2141
  #
2136
2142
  # @example Request syntax with placeholder values
2137
2143
  #
@@ -2146,6 +2152,8 @@ module Aws::AppSync
2146
2152
  # resp.error.message #=> String
2147
2153
  # resp.logs #=> Array
2148
2154
  # resp.logs[0] #=> String
2155
+ # resp.stash #=> String
2156
+ # resp.out_errors #=> String
2149
2157
  #
2150
2158
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplate AWS API Documentation
2151
2159
  #
@@ -5003,7 +5011,7 @@ module Aws::AppSync
5003
5011
  tracer: tracer
5004
5012
  )
5005
5013
  context[:gem_name] = 'aws-sdk-appsync'
5006
- context[:gem_version] = '1.97.0'
5014
+ context[:gem_version] = '1.98.0'
5007
5015
  Seahorse::Client::Request.new(handlers, context)
5008
5016
  end
5009
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"))
@@ -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.97.0'
57
+ GEM_VERSION = '1.98.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -573,6 +573,8 @@ module Aws
573
573
  include ::Seahorse::Client::_ResponseSuccess[Types::EvaluateCodeResponse]
574
574
  def evaluation_result: () -> ::String
575
575
  def logs: () -> ::Array[::String]
576
+ def stash: () -> ::String
577
+ def out_errors: () -> ::String
576
578
  end
577
579
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#evaluate_code-instance_method
578
580
  def evaluate_code: (
@@ -590,6 +592,8 @@ module Aws
590
592
  include ::Seahorse::Client::_ResponseSuccess[Types::EvaluateMappingTemplateResponse]
591
593
  def evaluation_result: () -> ::String
592
594
  def logs: () -> ::Array[::String]
595
+ def stash: () -> ::String
596
+ def out_errors: () -> ::String
593
597
  end
594
598
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#evaluate_mapping_template-instance_method
595
599
  def evaluate_mapping_template: (
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.97.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: 2025-01-15 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