Struct aws_sdk_greengrass::operation::create_function_definition_version::CreateFunctionDefinitionVersionInput
source · #[non_exhaustive]pub struct CreateFunctionDefinitionVersionInput {
pub amzn_client_token: Option<String>,
pub default_config: Option<FunctionDefaultConfig>,
pub function_definition_id: Option<String>,
pub functions: Option<Vec<Function>>,
}
Expand description
Information needed to create a function definition version.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.amzn_client_token: Option<String>
A client token used to correlate requests and responses.
default_config: Option<FunctionDefaultConfig>
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
function_definition_id: Option<String>
The ID of the Lambda function definition.
functions: Option<Vec<Function>>
A list of Lambda functions in this function definition version.
Implementations§
source§impl CreateFunctionDefinitionVersionInput
impl CreateFunctionDefinitionVersionInput
sourcepub fn amzn_client_token(&self) -> Option<&str>
pub fn amzn_client_token(&self) -> Option<&str>
A client token used to correlate requests and responses.
sourcepub fn default_config(&self) -> Option<&FunctionDefaultConfig>
pub fn default_config(&self) -> Option<&FunctionDefaultConfig>
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
sourcepub fn function_definition_id(&self) -> Option<&str>
pub fn function_definition_id(&self) -> Option<&str>
The ID of the Lambda function definition.
source§impl CreateFunctionDefinitionVersionInput
impl CreateFunctionDefinitionVersionInput
sourcepub fn builder() -> CreateFunctionDefinitionVersionInputBuilder
pub fn builder() -> CreateFunctionDefinitionVersionInputBuilder
Creates a new builder-style object to manufacture CreateFunctionDefinitionVersionInput
.
Trait Implementations§
source§impl Clone for CreateFunctionDefinitionVersionInput
impl Clone for CreateFunctionDefinitionVersionInput
source§fn clone(&self) -> CreateFunctionDefinitionVersionInput
fn clone(&self) -> CreateFunctionDefinitionVersionInput
Returns a copy 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 PartialEq for CreateFunctionDefinitionVersionInput
impl PartialEq for CreateFunctionDefinitionVersionInput
source§fn eq(&self, other: &CreateFunctionDefinitionVersionInput) -> bool
fn eq(&self, other: &CreateFunctionDefinitionVersionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateFunctionDefinitionVersionInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateFunctionDefinitionVersionInput
impl Send for CreateFunctionDefinitionVersionInput
impl Sync for CreateFunctionDefinitionVersionInput
impl Unpin for CreateFunctionDefinitionVersionInput
impl UnwindSafe for CreateFunctionDefinitionVersionInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.