Class: Aws::AppSync::Types::EvaluateCodeRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The code definition to be evaluated. Note that code and runtime are both required for this action. The runtime value must be APPSYNC_JS.

Returns:

  • (String)


2528
2529
2530
2531
2532
2533
2534
2535
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2528

class EvaluateCodeRequest < Struct.new(
  :runtime,
  :code,
  :context,
  :function)
  SENSITIVE = []
  include Aws::Structure
end

#contextString

The map that holds all of the contextual information for your resolver invocation. A context is required for this action.

Returns:

  • (String)


2528
2529
2530
2531
2532
2533
2534
2535
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2528

class EvaluateCodeRequest < Struct.new(
  :runtime,
  :code,
  :context,
  :function)
  SENSITIVE = []
  include Aws::Structure
end

#functionString

The function within the code to be evaluated. If provided, the valid values are request and response.

Returns:

  • (String)


2528
2529
2530
2531
2532
2533
2534
2535
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2528

class EvaluateCodeRequest < Struct.new(
  :runtime,
  :code,
  :context,
  :function)
  SENSITIVE = []
  include Aws::Structure
end

#runtimeTypes::AppSyncRuntime

The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS runtime is supported.



2528
2529
2530
2531
2532
2533
2534
2535
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2528

class EvaluateCodeRequest < Struct.new(
  :runtime,
  :code,
  :context,
  :function)
  SENSITIVE = []
  include Aws::Structure
end