Struct aws_sdk_appsync::operation::evaluate_code::EvaluateCodeInput
source · #[non_exhaustive]pub struct EvaluateCodeInput {
pub runtime: Option<AppSyncRuntime>,
pub code: Option<String>,
pub context: Option<String>,
pub function: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.runtime: Option<AppSyncRuntime>
The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS
runtime is supported.
code: Option<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
.
context: Option<String>
The map that holds all of the contextual information for your resolver invocation. A context
is required for this action.
function: Option<String>
The function within the code to be evaluated. If provided, the valid values are request
and response
.
Implementations§
source§impl EvaluateCodeInput
impl EvaluateCodeInput
sourcepub fn runtime(&self) -> Option<&AppSyncRuntime>
pub fn runtime(&self) -> Option<&AppSyncRuntime>
The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS
runtime is supported.
sourcepub fn code(&self) -> Option<&str>
pub fn code(&self) -> Option<&str>
The code definition to be evaluated. Note that code
and runtime
are both required for this action. The runtime
value must be APPSYNC_JS
.
source§impl EvaluateCodeInput
impl EvaluateCodeInput
sourcepub fn builder() -> EvaluateCodeInputBuilder
pub fn builder() -> EvaluateCodeInputBuilder
Creates a new builder-style object to manufacture EvaluateCodeInput
.
Trait Implementations§
source§impl Clone for EvaluateCodeInput
impl Clone for EvaluateCodeInput
source§fn clone(&self) -> EvaluateCodeInput
fn clone(&self) -> EvaluateCodeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EvaluateCodeInput
impl Debug for EvaluateCodeInput
source§impl PartialEq for EvaluateCodeInput
impl PartialEq for EvaluateCodeInput
source§fn eq(&self, other: &EvaluateCodeInput) -> bool
fn eq(&self, other: &EvaluateCodeInput) -> bool
self
and other
values to be equal, and is used
by ==
.