aws_lambda_runtime library

Classes

AwsALBEvent
Event send by an Application Load Balancer to the invocation to the Lambda.
AwsALBEventContext
AWS ALB Event Request Context ...
AwsALBResponse
Response for a request from an Application Load Balancer. It has to have a statusCode, headers and a body. They should reflect the informationen needed here.
AwsAlexaEvent
Event send by an Application Load Balancer to the invocation to the Lambda.
AwsAlexaEventHeader
Header are meta information about the event.
AwsApiGatewayEvent
API Gateway Event ...
AwsApiGatewayEventHeaders
API Gateway Event Headers ...
AwsApiGatewayEventRequestContext
API Gateway Event Request Context ...
AwsApiGatewayEventRequestContextIdentity
API Gateway Event Identity
AwsApiGatewayResponse
API Gateway Response contains the data for a response to the API Gateway. It contains the body of the HTTP response. It also contains a HTTP Status Code which by default is 200. Furthermore it indicates if the body is Base64 encoded or not.
AwsAppSyncEvent
App Sync Event ...
AwsClaimOverrideDetails
AwsCloudwatchEvent
Event that is send via SQS to trigger for an innovation of a Lambda.
AwsCloudwatchLogEvent
Cloudwatch Log Event ...
AwsCognitoEvent
AwsCognitoRequest
AwsCognitoResponse
AwsDynamoDBUpdateEvent
DynamoDB Update Event ...
AwsDynamoDBUpdateEventRecord
DynamoDB Update Event Record ...
AwsDynamoDBUpdateRecord
Event send by a DynamoDB stream that contains the updated records in the DynamoDB table.
AwsGroupConfiguration
AwsKinesisDataStream
Kinesis .....
AwsKinesisDataStreamEvent
Kinesis Event ...
AwsKinesisDataStreamRecord
Kinesis record that is send via AwsKinesisEvent.
AwsKinesisFirehoseData
Kinesis .....
AwsKinesisFirehoseDataEvent
Kinesis Event ...
AwsS3Bucket
AwsS3Data
AwsS3Event
Representing a recorded S3 Event send to the Lambda. This can be send in batches of operations.
AWSS3EventObject
AwsS3EventRecord
Notifcation Event for Lambda in S3.
AwsS3UserIdentity
AwsSQSEvent
Event that is send via SQS to trigger for an innovation of a Lambda.
AwsSQSEventRecord
SQS Event Record that is send via AwsSQSEvent.
Client
Client is the Lambda Runtime Interface client. It is implemented as a singleton whereby Client.instance always returns the already instantiated client.
Event
Event is the abstraction for every event that can be ingested by a handler.
InvocationError
Invocation error occurs when there has been an error in the invocation of a handlers. It dynamically wraps the inner error and attaches the requestId to track it along the event.
InvocationResult
Invocation result is the result that the invoked handler returns and is posted to the Lambda Runtime Interface.
NextInvocation
Next invocation data wraps the data from the invocation endpoint of the Lambda Runtime Interface.
Runtime
A Runtime manages the interface to the Lambda API.

Typedefs

Handler<E> = Future Function(Context context, E event)
A function which ingests and Event and a Context and returns a InvocationResult. The result is ecoded by the Runtime and posted to the Lambda API.

Exceptions / Errors

RuntimeException
An exception thrown when there is an error in the runtime.