TSNSMessageAttributeValue
Class in AWS.SNS
MessageAttributeValue class.
Ancestors
Properties
DataType
property DataType: string
BinaryValue
property BinaryValue: string
StringValue
property StringValue: string
Methods
CreateBinary
class function CreateBinary(const ABinaryValue: string): TSNSMessageAttributeValue; static;
Creates a message attribute value with a Base64 encoded binary value.
Parameters
| Name | Description |
|---|---|
ABinaryValue | Specify the Base64-encoded value. |
Returns
A new TSNSMessageAttributeValue instance.
CreateNumber
class function CreateNumber(const AStringValue: string): TSNSMessageAttributeValue; static;
Creates a message attribute value with a Number value.
Parameters
| Name | Description |
|---|---|
AStringValue | Specify the number value as a string. |
Returns
A new TSNSMessageAttributeValue instance.
CreateString
class function CreateString(const AStringValue: string): TSNSMessageAttributeValue; static;
Creates a message attribute value with a String value.
Parameters
| Name | Description |
|---|---|
AStringValue | Specify the string value. |
Returns
A new TSNSMessageAttributeValue instance.
CreateStringArray
class function CreateStringArray(const AStringValue: string): TSNSMessageAttributeValue; overload; static;
Creates a message attribute value with a string array value.
Parameters
| Name | Description |
|---|---|
AStringValue | Specify the array as a string value. The array should be enclosed in square brackets () with values separated by commas (). Strings values should be enclosed in double quotation marks (). Number values, or the keywords,, anddo not need to be enclosed in double quotation marks. |
Returns
A new TSNSMessageAttributeValue instance.
class function CreateStringArray(const AStringValues: array of string): TSNSMessageAttributeValue; overload; static;
Creates a message attribute value with a string array value.
Parameters
| Name | Description |
|---|---|
AStringValues | Specify the array as a string value. The array should be enclosed in square brackets () with values separated by commas (). Strings values should be enclosed in double quotation marks (). Number values, or the keywords,, anddo not need to be enclosed in double quotation marks. |
Returns
A new TSNSMessageAttributeValue instance.