AWSSQSMessageSystemAttributeValue

Objective-C

@interface AWSSQSMessageSystemAttributeValue

Swift

class AWSSQSMessageSystemAttributeValue

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

Name, type, value and the message body must not be empty or null.

Required parameters: [DataType]

  • Not implemented. Reserved for future use.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSData *> *_Nullable binaryListValues;

    Swift

    var binaryListValues: [Data]? { get set }
  • Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSData *_Nullable binaryValue;

    Swift

    var binaryValue: Data? { get set }
  • Amazon SQS supports the following logical data types: String, Number, and Binary. For the Number data type, you must use StringValue.

    You can also append custom labels. For more information, see Amazon SQS Message Attributes in the Amazon SQS Developer Guide.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable dataType;

    Swift

    var dataType: String? { get set }
  • Not implemented. Reserved for future use.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable stringListValues;

    Swift

    var stringListValues: [String]? { get set }
  • Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable stringValue;

    Swift

    var stringValue: String? { get set }