Struct aws_sdk_lambda::output::InvokeOutput [−][src]
#[non_exhaustive]pub struct InvokeOutput {
pub status_code: i32,
pub function_error: Option<String>,
pub log_result: Option<String>,
pub payload: Option<Blob>,
pub executed_version: Option<String>,
}
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.status_code: 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.
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<Blob>
The response from the function, or an error object.
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.
Implementations
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.
If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.
The last 4 KB of the execution log, which is base64 encoded.
The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.
Creates a new builder-style object to manufacture InvokeOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more