Struct aws_sdk_lambda::operation::update_function_event_invoke_config::builders::UpdateFunctionEventInvokeConfigOutputBuilder
source · #[non_exhaustive]pub struct UpdateFunctionEventInvokeConfigOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateFunctionEventInvokeConfigOutput
.
Implementations§
source§impl UpdateFunctionEventInvokeConfigOutputBuilder
impl UpdateFunctionEventInvokeConfigOutputBuilder
sourcepub fn last_modified(self, input: DateTime) -> Self
pub fn last_modified(self, input: DateTime) -> Self
The date and time that the configuration was last updated.
sourcepub fn set_last_modified(self, input: Option<DateTime>) -> Self
pub fn set_last_modified(self, input: Option<DateTime>) -> Self
The date and time that the configuration was last updated.
sourcepub fn get_last_modified(&self) -> &Option<DateTime>
pub fn get_last_modified(&self) -> &Option<DateTime>
The date and time that the configuration was last updated.
sourcepub fn function_arn(self, input: impl Into<String>) -> Self
pub fn function_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the function.
sourcepub fn set_function_arn(self, input: Option<String>) -> Self
pub fn set_function_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the function.
sourcepub fn get_function_arn(&self) -> &Option<String>
pub fn get_function_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the function.
sourcepub fn maximum_retry_attempts(self, input: i32) -> Self
pub fn maximum_retry_attempts(self, input: i32) -> Self
The maximum number of times to retry when the function returns an error.
sourcepub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
pub fn set_maximum_retry_attempts(self, input: Option<i32>) -> Self
The maximum number of times to retry when the function returns an error.
sourcepub fn get_maximum_retry_attempts(&self) -> &Option<i32>
pub fn get_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, input: i32) -> Self
pub fn maximum_event_age_in_seconds(self, input: i32) -> Self
The maximum age of a request that Lambda sends to a function for processing.
sourcepub fn set_maximum_event_age_in_seconds(self, input: Option<i32>) -> Self
pub fn set_maximum_event_age_in_seconds(self, input: Option<i32>) -> Self
The maximum age of a request that Lambda sends to a function for processing.
sourcepub fn get_maximum_event_age_in_seconds(&self) -> &Option<i32>
pub fn get_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, input: DestinationConfig) -> Self
pub fn destination_config(self, input: DestinationConfig) -> Self
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 a standard SQS queue.
-
Topic - The ARN of a standard SNS topic.
-
Event Bus - The ARN of an Amazon EventBridge event bus.
sourcepub fn set_destination_config(self, input: Option<DestinationConfig>) -> Self
pub fn set_destination_config(self, input: Option<DestinationConfig>) -> Self
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 a standard SQS queue.
-
Topic - The ARN of a standard SNS topic.
-
Event Bus - The ARN of an Amazon EventBridge event bus.
sourcepub fn get_destination_config(&self) -> &Option<DestinationConfig>
pub fn get_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 a standard SQS queue.
-
Topic - The ARN of a standard SNS topic.
-
Event Bus - The ARN of an Amazon EventBridge event bus.
sourcepub fn build(self) -> UpdateFunctionEventInvokeConfigOutput
pub fn build(self) -> UpdateFunctionEventInvokeConfigOutput
Consumes the builder and constructs a UpdateFunctionEventInvokeConfigOutput
.
Trait Implementations§
source§impl Clone for UpdateFunctionEventInvokeConfigOutputBuilder
impl Clone for UpdateFunctionEventInvokeConfigOutputBuilder
source§fn clone(&self) -> UpdateFunctionEventInvokeConfigOutputBuilder
fn clone(&self) -> UpdateFunctionEventInvokeConfigOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateFunctionEventInvokeConfigOutputBuilder
impl Default for UpdateFunctionEventInvokeConfigOutputBuilder
source§fn default() -> UpdateFunctionEventInvokeConfigOutputBuilder
fn default() -> UpdateFunctionEventInvokeConfigOutputBuilder
source§impl PartialEq for UpdateFunctionEventInvokeConfigOutputBuilder
impl PartialEq for UpdateFunctionEventInvokeConfigOutputBuilder
source§fn eq(&self, other: &UpdateFunctionEventInvokeConfigOutputBuilder) -> bool
fn eq(&self, other: &UpdateFunctionEventInvokeConfigOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateFunctionEventInvokeConfigOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateFunctionEventInvokeConfigOutputBuilder
impl RefUnwindSafe for UpdateFunctionEventInvokeConfigOutputBuilder
impl Send for UpdateFunctionEventInvokeConfigOutputBuilder
impl Sync for UpdateFunctionEventInvokeConfigOutputBuilder
impl Unpin for UpdateFunctionEventInvokeConfigOutputBuilder
impl UnwindSafe for UpdateFunctionEventInvokeConfigOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more