amazonka-sqs-2.0: Amazon Simple Queue Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SQS.Types.MessageSystemAttributeValue

Description

 
Synopsis

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

Instances details
ToQuery MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Generic MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Associated Types

type Rep MessageSystemAttributeValue :: Type -> Type #

Read MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Show MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

NFData MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Eq MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

Hashable MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

type Rep MessageSystemAttributeValue Source # 
Instance details

Defined in Amazonka.SQS.Types.MessageSystemAttributeValue

type Rep MessageSystemAttributeValue = D1 ('MetaData "MessageSystemAttributeValue" "Amazonka.SQS.Types.MessageSystemAttributeValue" "amazonka-sqs-2.0-8jRKm0MCN6JIBFunCpUxaV" 'False) (C1 ('MetaCons "MessageSystemAttributeValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "binaryListValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Base64])) :*: S1 ('MetaSel ('Just "binaryValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64))) :*: (S1 ('MetaSel ('Just "stringListValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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_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_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.