Class: Aws::AppSync::Types::EvaluateCodeResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-appsync/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#errorTypes::EvaluateCodeErrorDetail

Contains the payload of the response error.



2578
2579
2580
2581
2582
2583
2584
2585
2586
# File 'lib/aws-sdk-appsync/types.rb', line 2578

class EvaluateCodeResponse < Struct.new(
  :evaluation_result,
  :error,
  :logs,
  :stash,
  :out_errors)
  SENSITIVE = []
  include Aws::Structure
end

#evaluation_resultString

The result of the evaluation operation.

Returns:

  • (String)


2578
2579
2580
2581
2582
2583
2584
2585
2586
# File 'lib/aws-sdk-appsync/types.rb', line 2578

class EvaluateCodeResponse < Struct.new(
  :evaluation_result,
  :error,
  :logs,
  :stash,
  :out_errors)
  SENSITIVE = []
  include Aws::Structure
end

#logsArray<String>

A list of logs that were generated by calls to ‘util.log.info` and `util.log.error` in the evaluated code.

Returns:

  • (Array<String>)


2578
2579
2580
2581
2582
2583
2584
2585
2586
# File 'lib/aws-sdk-appsync/types.rb', line 2578

class EvaluateCodeResponse < Struct.new(
  :evaluation_result,
  :error,
  :logs,
  :stash,
  :out_errors)
  SENSITIVE = []
  include Aws::Structure
end

#out_errorsString

The list of runtime errors that are added to the GraphQL operation response.

Returns:

  • (String)


2578
2579
2580
2581
2582
2583
2584
2585
2586
# File 'lib/aws-sdk-appsync/types.rb', line 2578

class EvaluateCodeResponse < Struct.new(
  :evaluation_result,
  :error,
  :logs,
  :stash,
  :out_errors)
  SENSITIVE = []
  include Aws::Structure
end

#stashString

An object available inside each resolver and function handler. A single ‘stash` object lives through a single resolver run. Therefore, you can use the stash to pass arbitrary data across request and response handlers and across functions in a pipeline resolver.

Returns:

  • (String)


2578
2579
2580
2581
2582
2583
2584
2585
2586
# File 'lib/aws-sdk-appsync/types.rb', line 2578

class EvaluateCodeResponse < Struct.new(
  :evaluation_result,
  :error,
  :logs,
  :stash,
  :out_errors)
  SENSITIVE = []
  include Aws::Structure
end