| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SQS.Types.MessageSystemAttributeValue
Description
Synopsis
- data MessageSystemAttributeValue = MessageSystemAttributeValue' {
- binaryListValues :: Maybe [Base64]
- binaryValue :: Maybe Base64
- stringListValues :: Maybe [Text]
- stringValue :: Maybe Text
- dataType :: Text
- newMessageSystemAttributeValue :: Text -> MessageSystemAttributeValue
- messageSystemAttributeValue_binaryListValues :: Lens' MessageSystemAttributeValue (Maybe [ByteString])
- messageSystemAttributeValue_binaryValue :: Lens' MessageSystemAttributeValue (Maybe ByteString)
- messageSystemAttributeValue_stringListValues :: Lens' MessageSystemAttributeValue (Maybe [Text])
- messageSystemAttributeValue_stringValue :: Lens' MessageSystemAttributeValue (Maybe Text)
- messageSystemAttributeValue_dataType :: Lens' MessageSystemAttributeValue Text
Documentation
data MessageSystemAttributeValue Source #
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.
See: newMessageSystemAttributeValue smart constructor.
Constructors
| MessageSystemAttributeValue' | |
Fields
| |
Instances
newMessageSystemAttributeValue Source #
Create a value of MessageSystemAttributeValue with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:binaryListValues:MessageSystemAttributeValue', messageSystemAttributeValue_binaryListValues - Not implemented. Reserved for future use.
$sel:binaryValue:MessageSystemAttributeValue', messageSystemAttributeValue_binaryValue - Binary type attributes can store any binary data, such as compressed
data, encrypted data, or images.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
$sel:stringListValues:MessageSystemAttributeValue', messageSystemAttributeValue_stringListValues - Not implemented. Reserved for future use.
$sel:stringValue:MessageSystemAttributeValue', messageSystemAttributeValue_stringValue - Strings are Unicode with UTF-8 binary encoding. For a list of code
values, see
ASCII Printable Characters.
$sel:dataType:MessageSystemAttributeValue', messageSystemAttributeValue_dataType - 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.
messageSystemAttributeValue_binaryListValues :: Lens' MessageSystemAttributeValue (Maybe [ByteString]) Source #
Not implemented. Reserved for future use.
messageSystemAttributeValue_binaryValue :: Lens' MessageSystemAttributeValue (Maybe ByteString) Source #
Binary type attributes can store any binary data, such as compressed
data, encrypted data, or images.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
messageSystemAttributeValue_stringListValues :: Lens' MessageSystemAttributeValue (Maybe [Text]) Source #
Not implemented. Reserved for future use.
messageSystemAttributeValue_stringValue :: Lens' MessageSystemAttributeValue (Maybe Text) Source #
Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.
messageSystemAttributeValue_dataType :: Lens' MessageSystemAttributeValue Text Source #
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.