Struct aws_sdk_sfn::operation::test_state::TestStateOutput
source · #[non_exhaustive]pub struct TestStateOutput {
pub output: Option<String>,
pub error: Option<String>,
pub cause: Option<String>,
pub inspection_data: Option<InspectionData>,
pub next_state: Option<String>,
pub status: Option<TestExecutionStatus>,
/* private fields */
}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.output: Option<String>The JSON output data of the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
error: Option<String>The error returned when the execution of a state fails.
cause: Option<String>A detailed explanation of the cause for the error when the execution of a state fails.
inspection_data: Option<InspectionData>Returns additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information. The inspectionLevel request parameter specifies which details are returned.
next_state: Option<String>The name of the next state to transition to. If you haven't defined a next state in your definition or if the execution of the state fails, this field doesn't contain a value.
status: Option<TestExecutionStatus>The execution status of the state.
Implementations§
source§impl TestStateOutput
impl TestStateOutput
sourcepub fn output(&self) -> Option<&str>
pub fn output(&self) -> Option<&str>
The JSON output data of the state. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
sourcepub fn cause(&self) -> Option<&str>
pub fn cause(&self) -> Option<&str>
A detailed explanation of the cause for the error when the execution of a state fails.
sourcepub fn inspection_data(&self) -> Option<&InspectionData>
pub fn inspection_data(&self) -> Option<&InspectionData>
Returns additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information. The inspectionLevel request parameter specifies which details are returned.
sourcepub fn next_state(&self) -> Option<&str>
pub fn next_state(&self) -> Option<&str>
The name of the next state to transition to. If you haven't defined a next state in your definition or if the execution of the state fails, this field doesn't contain a value.
sourcepub fn status(&self) -> Option<&TestExecutionStatus>
pub fn status(&self) -> Option<&TestExecutionStatus>
The execution status of the state.
source§impl TestStateOutput
impl TestStateOutput
sourcepub fn builder() -> TestStateOutputBuilder
pub fn builder() -> TestStateOutputBuilder
Creates a new builder-style object to manufacture TestStateOutput.
Trait Implementations§
source§impl Clone for TestStateOutput
impl Clone for TestStateOutput
source§fn clone(&self) -> TestStateOutput
fn clone(&self) -> TestStateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TestStateOutput
impl Debug for TestStateOutput
source§impl PartialEq for TestStateOutput
impl PartialEq for TestStateOutput
source§fn eq(&self, other: &TestStateOutput) -> bool
fn eq(&self, other: &TestStateOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for TestStateOutput
impl RequestId for TestStateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for TestStateOutput
Auto Trait Implementations§
impl Freeze for TestStateOutput
impl RefUnwindSafe for TestStateOutput
impl Send for TestStateOutput
impl Sync for TestStateOutput
impl Unpin for TestStateOutput
impl UnwindSafe for TestStateOutput
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