Struct relay_aws_extension::InvokeResponse
source · pub struct InvokeResponse {
pub deadline_ms: u64,
pub request_id: String,
pub invoked_function_arn: String,
pub tracing: Tracing,
}
Expand description
Response received from the next event API on an INVOKE
event.
See Invoke Phase for more information.
§Example
{
"eventType": "INVOKE",
"deadlineMs": 676051,
"requestId": "3da1f2dc-3222-475e-9205-e2e6c6318895",
"invokedFunctionArn": "arn:aws:lambda:us-east-1:123456789012:function:ExtensionTest",
"tracing": {
"type": "X-Amzn-Trace-Id",
"value": "Root=1-5f35ae12-0c0fec141ab77a00bc047aa2;Parent=2be948a625588e32;Sampled=1"
}
}
Fields§
§deadline_ms: u64
The time and date when the lambda function times out in Unix time milliseconds.
request_id: String
Unique request identifier.
invoked_function_arn: String
The invoked lambda function’s ARN (Amazon Resource Name).
tracing: Tracing
Tracing headers.
Trait Implementations§
source§impl Debug for InvokeResponse
impl Debug for InvokeResponse
source§impl<'de> Deserialize<'de> for InvokeResponse
impl<'de> Deserialize<'de> for InvokeResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for InvokeResponse
impl Send for InvokeResponse
impl Sync for InvokeResponse
impl Unpin for InvokeResponse
impl UnwindSafe for InvokeResponse
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
Mutably borrows from an owned value. Read more