Struct aws_sdk_appsync::model::FunctionConfiguration
source · #[non_exhaustive]pub struct FunctionConfiguration { /* private fields */ }
Expand description
A function is a reusable entity. You can use multiple functions to compose the resolver logic.
Implementations§
source§impl FunctionConfiguration
impl FunctionConfiguration
sourcepub fn function_id(&self) -> Option<&str>
pub fn function_id(&self) -> Option<&str>
A unique ID representing the Function
object.
sourcepub fn function_arn(&self) -> Option<&str>
pub fn function_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Function
object.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The Function
description.
sourcepub fn data_source_name(&self) -> Option<&str>
pub fn data_source_name(&self) -> Option<&str>
The name of the DataSource
.
sourcepub fn request_mapping_template(&self) -> Option<&str>
pub fn request_mapping_template(&self) -> Option<&str>
The Function
request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
sourcepub fn response_mapping_template(&self) -> Option<&str>
pub fn response_mapping_template(&self) -> Option<&str>
The Function
response mapping template.
sourcepub fn function_version(&self) -> Option<&str>
pub fn function_version(&self) -> Option<&str>
The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
sourcepub fn sync_config(&self) -> Option<&SyncConfig>
pub fn sync_config(&self) -> Option<&SyncConfig>
Describes a Sync configuration for a resolver.
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
sourcepub fn max_batch_size(&self) -> i32
pub fn max_batch_size(&self) -> i32
The maximum batching size for a resolver.
sourcepub fn runtime(&self) -> Option<&AppSyncRuntime>
pub fn runtime(&self) -> Option<&AppSyncRuntime>
Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
source§impl FunctionConfiguration
impl FunctionConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FunctionConfiguration
.
Trait Implementations§
source§impl Clone for FunctionConfiguration
impl Clone for FunctionConfiguration
source§fn clone(&self) -> FunctionConfiguration
fn clone(&self) -> FunctionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FunctionConfiguration
impl Debug for FunctionConfiguration
source§impl PartialEq<FunctionConfiguration> for FunctionConfiguration
impl PartialEq<FunctionConfiguration> for FunctionConfiguration
source§fn eq(&self, other: &FunctionConfiguration) -> bool
fn eq(&self, other: &FunctionConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.