Struct aws_sdk_lambda::types::builders::OnFailureBuilder
source · #[non_exhaustive]pub struct OnFailureBuilder { /* private fields */ }
Expand description
A builder for OnFailure
.
Implementations§
source§impl OnFailureBuilder
impl OnFailureBuilder
sourcepub fn destination(self, input: impl Into<String>) -> Self
pub fn destination(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the destination resource.
To retain records of asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination.
To retain records of failed invocations from Kinesis and DynamoDB event sources, you can configure an Amazon SNS topic or Amazon SQS queue as the destination.
To retain records of failed invocations from self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
sourcepub fn set_destination(self, input: Option<String>) -> Self
pub fn set_destination(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the destination resource.
To retain records of asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination.
To retain records of failed invocations from Kinesis and DynamoDB event sources, you can configure an Amazon SNS topic or Amazon SQS queue as the destination.
To retain records of failed invocations from self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
sourcepub fn get_destination(&self) -> &Option<String>
pub fn get_destination(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the destination resource.
To retain records of asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination.
To retain records of failed invocations from Kinesis and DynamoDB event sources, you can configure an Amazon SNS topic or Amazon SQS queue as the destination.
To retain records of failed invocations from self-managed Kafka or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
Trait Implementations§
source§impl Clone for OnFailureBuilder
impl Clone for OnFailureBuilder
source§fn clone(&self) -> OnFailureBuilder
fn clone(&self) -> OnFailureBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OnFailureBuilder
impl Debug for OnFailureBuilder
source§impl Default for OnFailureBuilder
impl Default for OnFailureBuilder
source§fn default() -> OnFailureBuilder
fn default() -> OnFailureBuilder
source§impl PartialEq for OnFailureBuilder
impl PartialEq for OnFailureBuilder
source§fn eq(&self, other: &OnFailureBuilder) -> bool
fn eq(&self, other: &OnFailureBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.