AWS SQS Event

AWS SQS event with message records, attributes, and source ARN.

Report an issue
aws

Install

$ npx shadcn@latest add @open-types/aws-sqs-event

Source

export interface AWSSQSMessageAttribute {
  stringValue?: string;
  dataType: string;
}

export interface AWSSQSRecord {
  messageId: string;
  receiptHandle: string;
  body: string;
  attributes: Record<string, string>;
  messageAttributes: Record<string, AWSSQSMessageAttribute>;
  md5OfBody: string;
  eventSource: string;
  eventSourceARN: string;
  awsRegion: string;
}

export interface AWSSQSEvent {
  Records: AWSSQSRecord[];
}
export interface AWSSQSMessageAttribute {
  stringValue?: string;
  dataType: string;
}

export interface AWSSQSRecord {
  messageId: string;
  receiptHandle: string;
  body: string;
  attributes: Record<string, string>;
  messageAttributes: Record<string, AWSSQSMessageAttribute>;
  md5OfBody: string;
  eventSource: string;
  eventSourceARN: string;
  awsRegion: string;
}

export interface AWSSQSEvent {
  Records: AWSSQSRecord[];
}