#[non_exhaustive]pub struct UpdateFunctionEventInvokeConfigInput { /* private fields */ }
Implementations§
source§impl UpdateFunctionEventInvokeConfigInput
impl UpdateFunctionEventInvokeConfigInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFunctionEventInvokeConfig, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateFunctionEventInvokeConfig, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateFunctionEventInvokeConfig
>
Examples found in repository?
8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateFunctionEventInvokeConfig,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateFunctionEventInvokeConfigError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateFunctionEventInvokeConfigOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateFunctionEventInvokeConfigError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateFunctionEventInvokeConfigInput
.
source§impl UpdateFunctionEventInvokeConfigInput
impl UpdateFunctionEventInvokeConfigInput
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name of the Lambda function, version, or alias.
Name formats
-
Function name -
my-function
(name-only),my-function:v1
(with alias). -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN -
123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
sourcepub fn maximum_retry_attempts(&self) -> Option<i32>
pub fn maximum_retry_attempts(&self) -> Option<i32>
The maximum number of times to retry when the function returns an error.
sourcepub fn maximum_event_age_in_seconds(&self) -> Option<i32>
pub fn maximum_event_age_in_seconds(&self) -> Option<i32>
The maximum age of a request that Lambda sends to a function for processing.
sourcepub fn destination_config(&self) -> Option<&DestinationConfig>
pub fn destination_config(&self) -> Option<&DestinationConfig>
A destination for events after they have been sent to a function for processing.
Destinations
-
Function - The Amazon Resource Name (ARN) of a Lambda function.
-
Queue - The ARN of an SQS queue.
-
Topic - The ARN of an SNS topic.
-
Event Bus - The ARN of an Amazon EventBridge event bus.
Trait Implementations§
source§impl Clone for UpdateFunctionEventInvokeConfigInput
impl Clone for UpdateFunctionEventInvokeConfigInput
source§fn clone(&self) -> UpdateFunctionEventInvokeConfigInput
fn clone(&self) -> UpdateFunctionEventInvokeConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more