Struct aws_sdk_appsync::input::UpdateFunctionInput
source · [−]#[non_exhaustive]pub struct UpdateFunctionInput {
pub api_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub function_id: 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,
}
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.api_id: Option<String>
The GraphQL API ID.
name: Option<String>
The Function
name.
description: Option<String>
The Function
description.
function_id: Option<String>
The function ID.
data_source_name: Option<String>
The Function
DataSource
name.
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
request mapping template.
function_version: Option<String>
The version
of the request mapping template. Currently, the supported value is 2018-05-29.
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 UpdateFunctionInput
impl UpdateFunctionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFunction, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFunction, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateFunction
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateFunctionInput
sourceimpl UpdateFunctionInput
impl UpdateFunctionInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The Function
description.
sourcepub fn function_id(&self) -> Option<&str>
pub fn function_id(&self) -> Option<&str>
The function ID.
sourcepub fn data_source_name(&self) -> Option<&str>
pub fn data_source_name(&self) -> Option<&str>
The Function
DataSource
name.
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
request mapping template.
sourcepub fn function_version(&self) -> Option<&str>
pub fn function_version(&self) -> Option<&str>
The version
of the request mapping template. Currently, the supported value is 2018-05-29.
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.
Trait Implementations
sourceimpl Clone for UpdateFunctionInput
impl Clone for UpdateFunctionInput
sourcefn clone(&self) -> UpdateFunctionInput
fn clone(&self) -> UpdateFunctionInput
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 UpdateFunctionInput
impl Debug for UpdateFunctionInput
sourceimpl PartialEq<UpdateFunctionInput> for UpdateFunctionInput
impl PartialEq<UpdateFunctionInput> for UpdateFunctionInput
sourcefn eq(&self, other: &UpdateFunctionInput) -> bool
fn eq(&self, other: &UpdateFunctionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateFunctionInput) -> bool
fn ne(&self, other: &UpdateFunctionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateFunctionInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateFunctionInput
impl Send for UpdateFunctionInput
impl Sync for UpdateFunctionInput
impl Unpin for UpdateFunctionInput
impl UnwindSafe for UpdateFunctionInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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