#[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 ==
.