Struct aws_sdk_lambda::output::InvokeOutput
source · #[non_exhaustive]pub struct InvokeOutput { /* private fields */ }
Implementations§
source§impl InvokeOutput
impl InvokeOutput
sourcepub fn status_code(&self) -> i32
pub fn status_code(&self) -> i32
The HTTP status code is in the 200 range for a successful request. For the RequestResponse
invocation type, this status code is 200. For the Event
invocation type, this status code is 202. For the DryRun
invocation type, the status code is 204.
sourcepub fn function_error(&self) -> Option<&str>
pub fn function_error(&self) -> Option<&str>
If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.
sourcepub fn log_result(&self) -> Option<&str>
pub fn log_result(&self) -> Option<&str>
The last 4 KB of the execution log, which is base64-encoded.
sourcepub fn executed_version(&self) -> Option<&str>
pub fn executed_version(&self) -> Option<&str>
The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.
source§impl InvokeOutput
impl InvokeOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InvokeOutput
.
Trait Implementations§
source§impl Clone for InvokeOutput
impl Clone for InvokeOutput
source§fn clone(&self) -> InvokeOutput
fn clone(&self) -> InvokeOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InvokeOutput
impl Debug for InvokeOutput
source§impl PartialEq<InvokeOutput> for InvokeOutput
impl PartialEq<InvokeOutput> for InvokeOutput
source§fn eq(&self, other: &InvokeOutput) -> bool
fn eq(&self, other: &InvokeOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.