---
url: >-
  https://node-ts.github.io/bus/api/bus-sqs-lambda/type-aliases/SqsLambdaRecord.md
---
[API reference](../../index.md) / [@node-ts/bus-sqs-lambda](../index.md) / SqsLambdaRecord

# Type Alias: SqsLambdaRecord

```ts
type SqsLambdaRecord = SQSRecord & SqsMessage;
```

Defined in: [sqs-lambda-record.ts:9](https://github.com/node-ts/bus/blob/2e6cf65c27833b707ae31ee623cfb6343770f434/packages/bus-sqs-lambda/src/sqs-lambda-record.ts#L9)

The raw message of a TransportMessage from the BusSqsLambdaReceiver. It's the SQS record as delivered by Lambda,
plus the same message in the AWS SDK shape (`ReceiptHandle`, `Body`, ...) that `SqsTransport` reads. This lets
`bus.returnMessage()` and `bus.failMessage()` work on messages received through Lambda.
