AWSSNSMessageAttributeValue Class Reference

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

Overview

The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see Publish.

Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes). For more information, see Using Amazon SNS Message Attributes.

Required parameters: [DataType]

  binaryValue

Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.

@property (nonatomic, strong) NSData *binaryValue

Declared In

AWSSNSModel.h

  dataType

Amazon SNS supports the following logical data types: String, Number, and Binary. For more information, see Message Attribute Data Types.

@property (nonatomic, strong) NSString *dataType

Declared In

AWSSNSModel.h

  stringValue

Strings are Unicode with UTF8 binary encoding. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

@property (nonatomic, strong) NSString *stringValue

Declared In

AWSSNSModel.h