pub struct FunctionConfiguration {
pub data_source_name: Option<String>,
pub description: Option<String>,
pub function_arn: Option<String>,
pub function_id: Option<String>,
pub function_version: Option<String>,
pub name: Option<String>,
pub request_mapping_template: Option<String>,
pub response_mapping_template: Option<String>,
pub sync_config: Option<SyncConfig>,
}
Expand description
A function is a reusable entity. Multiple functions can be used to compose the resolver logic.
Fields§
§data_source_name: Option<String>
The name of the DataSource
.
description: Option<String>
The Function
description.
function_arn: Option<String>
The ARN of the Function
object.
function_id: Option<String>
A unique ID representing the Function
object.
function_version: Option<String>
The version of the request mapping template. Currently only the 2018-05-29 version of the template is supported.
name: Option<String>
The name of the Function
object.
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.
sync_config: Option<SyncConfig>
Trait Implementations§
Source§impl Clone for FunctionConfiguration
impl Clone for FunctionConfiguration
Source§fn clone(&self) -> FunctionConfiguration
fn clone(&self) -> FunctionConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FunctionConfiguration
impl Debug for FunctionConfiguration
Source§impl Default for FunctionConfiguration
impl Default for FunctionConfiguration
Source§fn default() -> FunctionConfiguration
fn default() -> FunctionConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FunctionConfiguration
impl<'de> Deserialize<'de> for FunctionConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FunctionConfiguration
impl PartialEq for FunctionConfiguration
impl StructuralPartialEq for FunctionConfiguration
Auto Trait Implementations§
impl Freeze for FunctionConfiguration
impl RefUnwindSafe for FunctionConfiguration
impl Send for FunctionConfiguration
impl Sync for FunctionConfiguration
impl Unpin for FunctionConfiguration
impl UnwindSafe for FunctionConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more