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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getNextInvocation() Future<NextInvocation>
Get the next inovation 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 non-existent method or property is accessed. [...]
inherited
postInvocationError(String requestId, InvocationError err) Future<HttpClientResponse>
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(InvocationResult result) Future<HttpClientResponse>
Post the invocation response to the AWS Lambda Runtime Interface.
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

runtimeApi String
final

Constants

runtimeApiVersion → const String
'2018-06-01'