Struct rusoto_lambda::InvocationResponse
source · [−]pub struct InvocationResponse {
pub executed_version: Option<String>,
pub function_error: Option<String>,
pub log_result: Option<String>,
pub payload: Option<Bytes>,
pub status_code: Option<i64>,
}
Fields
executed_version: Option<String>
The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.
function_error: Option<String>
If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.
log_result: Option<String>
The last 4 KB of the execution log, which is base64 encoded.
payload: Option<Bytes>
The response from the function, or an error object.
status_code: Option<i64>
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.
Trait Implementations
sourceimpl Clone for InvocationResponse
impl Clone for InvocationResponse
sourcefn clone(&self) -> InvocationResponse
fn clone(&self) -> InvocationResponse
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 more
sourceimpl Debug for InvocationResponse
impl Debug for InvocationResponse
sourceimpl Default for InvocationResponse
impl Default for InvocationResponse
sourcefn default() -> InvocationResponse
fn default() -> InvocationResponse
Returns the “default value” for a type. Read more
sourceimpl PartialEq<InvocationResponse> for InvocationResponse
impl PartialEq<InvocationResponse> for InvocationResponse
sourcefn eq(&self, other: &InvocationResponse) -> bool
fn eq(&self, other: &InvocationResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InvocationResponse) -> bool
fn ne(&self, other: &InvocationResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for InvocationResponse
Auto Trait Implementations
impl RefUnwindSafe for InvocationResponse
impl Send for InvocationResponse
impl Sync for InvocationResponse
impl Unpin for InvocationResponse
impl UnwindSafe for InvocationResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more