Class: Aws::AppSync::Types::EvaluateCodeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::EvaluateCodeRequest
- Defined in:
- gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#code ⇒ String
The code definition to be evaluated.
-
#context ⇒ String
The map that holds all of the contextual information for your resolver invocation.
-
#function ⇒ String
The function within the code to be evaluated.
-
#runtime ⇒ Types::AppSyncRuntime
The runtime to be used when evaluating the code.
Instance Attribute Details
#code ⇒ String
The code definition to be evaluated. Note that code
and runtime
are both required for this action. The runtime
value must be
APPSYNC_JS
.
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 |
#context ⇒ String
The map that holds all of the contextual information for your
resolver invocation. A context
is required for this action.
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 |
#function ⇒ String
The function within the code to be evaluated. If provided, the valid
values are request
and response
.
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 |
#runtime ⇒ Types::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 |