Struct aws_sdk_lambda::output::InvokeOutput
source · [−]#[non_exhaustive]pub struct InvokeOutput { /* private fields */ }Implementations
sourceimpl 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.
sourceimpl InvokeOutput
impl InvokeOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InvokeOutput.
Trait Implementations
sourceimpl Clone for InvokeOutput
impl Clone for InvokeOutput
sourcefn clone(&self) -> InvokeOutput
fn clone(&self) -> InvokeOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for InvokeOutput
impl Debug for InvokeOutput
sourceimpl PartialEq<InvokeOutput> for InvokeOutput
impl PartialEq<InvokeOutput> for InvokeOutput
sourcefn eq(&self, other: &InvokeOutput) -> bool
fn eq(&self, other: &InvokeOutput) -> bool
impl StructuralPartialEq for InvokeOutput
Auto Trait Implementations
impl RefUnwindSafe for InvokeOutput
impl Send for InvokeOutput
impl Sync for InvokeOutput
impl Unpin for InvokeOutput
impl UnwindSafe for InvokeOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more