Struct aws_sdk_appsync::model::FunctionConfiguration
source · [−]#[non_exhaustive]pub struct FunctionConfiguration {
pub function_id: Option<String>,
pub function_arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub data_source_name: Option<String>,
pub request_mapping_template: Option<String>,
pub response_mapping_template: Option<String>,
pub function_version: Option<String>,
pub sync_config: Option<SyncConfig>,
pub max_batch_size: i32,
}
Expand description
A function is a reusable entity. You can use multiple functions to compose the resolver logic.
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.function_id: Option<String>
A unique ID representing the Function
object.
function_arn: Option<String>
The Amazon Resource Name (ARN) of the Function
object.
name: Option<String>
The name of the Function
object.
description: Option<String>
The Function
description.
data_source_name: Option<String>
The name of the DataSource
.
request_mapping_template: Option<String>
The Function
request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
response_mapping_template: Option<String>
The Function
response mapping template.
function_version: Option<String>
The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
sync_config: Option<SyncConfig>
Describes a Sync configuration for a resolver.
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
max_batch_size: i32
The maximum batching size for a resolver.
Implementations
sourceimpl 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.
sourceimpl FunctionConfiguration
impl FunctionConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FunctionConfiguration
Trait Implementations
sourceimpl Clone for FunctionConfiguration
impl Clone for FunctionConfiguration
sourcefn clone(&self) -> FunctionConfiguration
fn clone(&self) -> FunctionConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FunctionConfiguration
impl Debug for FunctionConfiguration
sourceimpl PartialEq<FunctionConfiguration> for FunctionConfiguration
impl PartialEq<FunctionConfiguration> for FunctionConfiguration
sourcefn eq(&self, other: &FunctionConfiguration) -> bool
fn eq(&self, other: &FunctionConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FunctionConfiguration) -> bool
fn ne(&self, other: &FunctionConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for FunctionConfiguration
Auto Trait Implementations
impl RefUnwindSafe for FunctionConfiguration
impl Send for FunctionConfiguration
impl Sync for FunctionConfiguration
impl Unpin for FunctionConfiguration
impl UnwindSafe for FunctionConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more