Struct aws_sdk_greengrass::operation::create_function_definition::builders::CreateFunctionDefinitionFluentBuilder
source · pub struct CreateFunctionDefinitionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateFunctionDefinition
.
Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ’‘CreateFunctionDefinitionVersion’’ later.
Implementations§
source§impl CreateFunctionDefinitionFluentBuilder
impl CreateFunctionDefinitionFluentBuilder
sourcepub fn as_input(&self) -> &CreateFunctionDefinitionInputBuilder
pub fn as_input(&self) -> &CreateFunctionDefinitionInputBuilder
Access the CreateFunctionDefinition as a reference.
sourcepub async fn send(
self
) -> Result<CreateFunctionDefinitionOutput, SdkError<CreateFunctionDefinitionError, HttpResponse>>
pub async fn send( self ) -> Result<CreateFunctionDefinitionOutput, SdkError<CreateFunctionDefinitionError, 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<CreateFunctionDefinitionOutput, CreateFunctionDefinitionError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateFunctionDefinitionOutput, CreateFunctionDefinitionError, 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 initial_version(self, input: FunctionDefinitionVersion) -> Self
pub fn initial_version(self, input: FunctionDefinitionVersion) -> Self
Information about the initial version of the function definition.
sourcepub fn set_initial_version(
self,
input: Option<FunctionDefinitionVersion>
) -> Self
pub fn set_initial_version( self, input: Option<FunctionDefinitionVersion> ) -> Self
Information about the initial version of the function definition.
sourcepub fn get_initial_version(&self) -> &Option<FunctionDefinitionVersion>
pub fn get_initial_version(&self) -> &Option<FunctionDefinitionVersion>
Information about the initial version of the function definition.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tag(s) to add to the new resource.
Tag(s) to add to the new resource.
Tag(s) to add to the new resource.
Trait Implementations§
source§impl Clone for CreateFunctionDefinitionFluentBuilder
impl Clone for CreateFunctionDefinitionFluentBuilder
source§fn clone(&self) -> CreateFunctionDefinitionFluentBuilder
fn clone(&self) -> CreateFunctionDefinitionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more