#[non_exhaustive]pub struct ScheduleLambdaFunctionDecisionAttributes {
pub id: String,
pub name: String,
pub control: Option<String>,
pub input: Option<String>,
pub start_to_close_timeout: Option<String>,
}
Expand description
Decision attributes specified in scheduleLambdaFunctionDecisionAttributes
within the list of decisions decisions
passed to RespondDecisionTaskCompleted
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
A string that identifies the Lambda function execution in the event history.
name: String
The name, or ARN, of the Lambda function to schedule.
control: Option<String>
The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.
input: Option<String>
The optional input data to be supplied to the Lambda function.
start_to_close_timeout: Option<String>
The timeout value, in seconds, after which the Lambda function is considered to be failed once it has started. This can be any integer from 1-900 (1s-15m).
If no value is supplied, then a default value of 900s is assumed.
Implementations§
source§impl ScheduleLambdaFunctionDecisionAttributes
impl ScheduleLambdaFunctionDecisionAttributes
sourcepub fn id(&self) -> &str
pub fn id(&self) -> &str
A string that identifies the Lambda function execution in the event history.
sourcepub fn control(&self) -> Option<&str>
pub fn control(&self) -> Option<&str>
The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.
sourcepub fn input(&self) -> Option<&str>
pub fn input(&self) -> Option<&str>
The optional input data to be supplied to the Lambda function.
sourcepub fn start_to_close_timeout(&self) -> Option<&str>
pub fn start_to_close_timeout(&self) -> Option<&str>
The timeout value, in seconds, after which the Lambda function is considered to be failed once it has started. This can be any integer from 1-900 (1s-15m).
If no value is supplied, then a default value of 900s is assumed.
source§impl ScheduleLambdaFunctionDecisionAttributes
impl ScheduleLambdaFunctionDecisionAttributes
sourcepub fn builder() -> ScheduleLambdaFunctionDecisionAttributesBuilder
pub fn builder() -> ScheduleLambdaFunctionDecisionAttributesBuilder
Creates a new builder-style object to manufacture ScheduleLambdaFunctionDecisionAttributes
.
Trait Implementations§
source§impl Clone for ScheduleLambdaFunctionDecisionAttributes
impl Clone for ScheduleLambdaFunctionDecisionAttributes
source§fn clone(&self) -> ScheduleLambdaFunctionDecisionAttributes
fn clone(&self) -> ScheduleLambdaFunctionDecisionAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ScheduleLambdaFunctionDecisionAttributes
impl PartialEq for ScheduleLambdaFunctionDecisionAttributes
source§fn eq(&self, other: &ScheduleLambdaFunctionDecisionAttributes) -> bool
fn eq(&self, other: &ScheduleLambdaFunctionDecisionAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScheduleLambdaFunctionDecisionAttributes
Auto Trait Implementations§
impl Freeze for ScheduleLambdaFunctionDecisionAttributes
impl RefUnwindSafe for ScheduleLambdaFunctionDecisionAttributes
impl Send for ScheduleLambdaFunctionDecisionAttributes
impl Sync for ScheduleLambdaFunctionDecisionAttributes
impl Unpin for ScheduleLambdaFunctionDecisionAttributes
impl UnwindSafe for ScheduleLambdaFunctionDecisionAttributes
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> 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