AWSSQSMessage Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSSQSModel.h
AWSSQSModel.m

Overview

An Amazon SQS message.

  attributes

A map of the attributes requested in ReceiveMessage to their respective values. Supported attributes:

  • ApproximateReceiveCount

  • ApproximateFirstReceiveTimestamp

  • MessageDeduplicationId

  • MessageGroupId

  • SenderId

  • SentTimestamp

  • SequenceNumber

ApproximateFirstReceiveTimestamp and SentTimestamp are each returned as an integer representing the epoch time in milliseconds.

@property (nonatomic, strong) NSDictionary<NSString*NSString*> *attributes

Declared In

AWSSQSModel.h

  body

The message's contents (not URL-encoded).

@property (nonatomic, strong) NSString *body

Declared In

AWSSQSModel.h

  MD5OfBody

An MD5 digest of the non-URL-encoded message body string.

@property (nonatomic, strong) NSString *MD5OfBody

Declared In

AWSSQSModel.h

  MD5OfMessageAttributes

An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

@property (nonatomic, strong) NSString *MD5OfMessageAttributes

Declared In

AWSSQSModel.h

  messageAttributes

Each message attribute consists of a Name, Type, and Value. For more information, see Amazon SQS Message Attributes in the Amazon Simple Queue Service Developer Guide.

@property (nonatomic, strong) NSDictionary<NSString*AWSSQSMessageAttributeValue*> *messageAttributes

Declared In

AWSSQSModel.h

  messageId

A unique identifier for the message. A MessageIdis considered unique across all AWS accounts for an extended period of time.

@property (nonatomic, strong) NSString *messageId

Declared In

AWSSQSModel.h

  receiptHandle

An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.

@property (nonatomic, strong) NSString *receiptHandle

Declared In

AWSSQSModel.h