Client class

Client is the Lambda Runtime Interface client. It is implemented as a singleton whereby Client.instance always returns the already instantiated client.

Constructors

Client()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getNextInvocation() Future<NextInvocation>
Get the next invocation from the AWS Lambda Runtime Interface (see https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postInvocationError(String requestId, InvocationError err) Future<Response>
Post an invocation error to the AWS Lambda Runtime Interface. It takes in an InvocationError and the requestId. The requestId is used to map the error to the execution.
postInvocationResponse(String? requestId, dynamic payload) Future<Response>
Post the invocation response to the AWS Lambda Runtime Interface.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

handlerName String?
no setter
runtimeApi String?
no setter

Constants

runtimeApiVersion → const String