Struct aws_sdk_greengrass::operation::create_function_definition_version::builders::CreateFunctionDefinitionVersionFluentBuilder
source · pub struct CreateFunctionDefinitionVersionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateFunctionDefinitionVersion
.
Creates a version of a Lambda function definition that has already been defined.
Implementations§
source§impl CreateFunctionDefinitionVersionFluentBuilder
impl CreateFunctionDefinitionVersionFluentBuilder
sourcepub fn as_input(&self) -> &CreateFunctionDefinitionVersionInputBuilder
pub fn as_input(&self) -> &CreateFunctionDefinitionVersionInputBuilder
Access the CreateFunctionDefinitionVersion as a reference.
sourcepub async fn send(
self
) -> Result<CreateFunctionDefinitionVersionOutput, SdkError<CreateFunctionDefinitionVersionError, HttpResponse>>
pub async fn send( self ) -> Result<CreateFunctionDefinitionVersionOutput, SdkError<CreateFunctionDefinitionVersionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateFunctionDefinitionVersionOutput, CreateFunctionDefinitionVersionError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateFunctionDefinitionVersionOutput, CreateFunctionDefinitionVersionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn amzn_client_token(self, input: impl Into<String>) -> Self
pub fn amzn_client_token(self, input: impl Into<String>) -> Self
A client token used to correlate requests and responses.
sourcepub fn set_amzn_client_token(self, input: Option<String>) -> Self
pub fn set_amzn_client_token(self, input: Option<String>) -> Self
A client token used to correlate requests and responses.
sourcepub fn get_amzn_client_token(&self) -> &Option<String>
pub fn get_amzn_client_token(&self) -> &Option<String>
A client token used to correlate requests and responses.
sourcepub fn default_config(self, input: FunctionDefaultConfig) -> Self
pub fn default_config(self, input: FunctionDefaultConfig) -> Self
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
sourcepub fn set_default_config(self, input: Option<FunctionDefaultConfig>) -> Self
pub fn set_default_config(self, input: Option<FunctionDefaultConfig>) -> Self
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
sourcepub fn get_default_config(&self) -> &Option<FunctionDefaultConfig>
pub fn get_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, input: impl Into<String>) -> Self
pub fn function_definition_id(self, input: impl Into<String>) -> Self
The ID of the Lambda function definition.
sourcepub fn set_function_definition_id(self, input: Option<String>) -> Self
pub fn set_function_definition_id(self, input: Option<String>) -> Self
The ID of the Lambda function definition.
sourcepub fn get_function_definition_id(&self) -> &Option<String>
pub fn get_function_definition_id(&self) -> &Option<String>
The ID of the Lambda function definition.
sourcepub fn functions(self, input: Function) -> Self
pub fn functions(self, input: Function) -> Self
Appends an item to Functions
.
To override the contents of this collection use set_functions
.
A list of Lambda functions in this function definition version.
sourcepub fn set_functions(self, input: Option<Vec<Function>>) -> Self
pub fn set_functions(self, input: Option<Vec<Function>>) -> Self
A list of Lambda functions in this function definition version.
sourcepub fn get_functions(&self) -> &Option<Vec<Function>>
pub fn get_functions(&self) -> &Option<Vec<Function>>
A list of Lambda functions in this function definition version.
Trait Implementations§
source§impl Clone for CreateFunctionDefinitionVersionFluentBuilder
impl Clone for CreateFunctionDefinitionVersionFluentBuilder
source§fn clone(&self) -> CreateFunctionDefinitionVersionFluentBuilder
fn clone(&self) -> CreateFunctionDefinitionVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more