AwsSQSEventRecord class

SQS Event Record that is send via AwsSQSEvent.

Annotations
  • @JsonSerializable()

Constructors

AwsSQSEventRecord({String messageId String body String receiptHandle Map<String, dynamic> attributes, Map<String, dynamic> messageAttributes, String md5OfBody String eventSource String eventSourceARN String awsRegion })
const
AwsSQSEventRecord.fromJson(Map<String, dynamic> json)
factory

Properties

attributes → Map<String, dynamic>
Attributes that are send with the event.
@JsonKey(), final
awsRegion → String
Aws Region this event was emitted from
@JsonKey(), final
body → String
Body of the message
@JsonKey(), final
eventSource → String
Source of the Event.
@JsonKey(), final
eventSourceARN → String
Source of the Event ARN.
@JsonKey(), final
md5OfBody → String
The md5 hash of the message body.
@JsonKey(), final
messageAttributes → Map<String, dynamic>
Message attributes that are send with the event.
@JsonKey(), final
messageId → String
Id of the SQS message.
@JsonKey(), final
receiptHandle → String
Name of the receipt handle.
@JsonKey(), final
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

toJson() → Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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