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)


2178
2179
2180
2181
2182
2183
2184
2185
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2178

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)


2178
2179
2180
2181
2182
2183
2184
2185
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2178

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)


2178
2179
2180
2181
2182
2183
2184
2185
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2178

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.



2178
2179
2180
2181
2182
2183
2184
2185
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2178

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