NextInvocation class

Next invocation data wraps the data from the invocation endpoint of the Lambda Runtime Interface.

Constructors

NextInvocation({String requestId, String deadlineMs, String traceId, String clientContext, String cognitoIdentity, String invokedFunctionArn, Map<String, dynamic> response})
const

Properties

clientContext String
Client context is the context that is provided to the function.
final
cognitoIdentity String
Cognito identity is the identity that maybe is used for authorizing the request.
final
deadlineMs String
Deadline milliseconds is the setting for ultimate cancelation of the invocation.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
invokedFunctionArn String
Invoked function ARN is the identifier of the function.
final
requestId String
Request Id is the identifier of the request.
final
response Map<String, dynamic>
Raw response of invocation data that we received.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
traceId String
Tracing id is the identifier for tracing like X-Ray.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

fromResponse(HttpClientResponse response) Future<NextInvocation>
Digesting a HttpClientResponse into a NextInvocation.

Constants

runtimeClientContext → const String
'lambda-runtime-client-context'
runtimeCognitoIdentity → const String
'lambda-runtime-cognito-identity'
runtimeDeadlineMs → const String
'lambda-runtime-aws-deadline-ms'
runtimeInvokedFunctionArn → const String
'lambda-runtime-invoked-functions-arn'
runtimeRequestId → const String
'lambda-runtime-aws-request-id'
runtimeTraceId → const String
'lambda-runtime-trace-id'