| 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.IoTEvents.Types.SqsAction
Description
Documentation
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
See: newSqsAction smart constructor.
Constructors
| SqsAction' | |
Fields
| |
Instances
| FromJSON SqsAction Source # | |
| ToJSON SqsAction Source # | |
Defined in Amazonka.IoTEvents.Types.SqsAction | |
| Generic SqsAction Source # | |
| Read SqsAction Source # | |
| Show SqsAction Source # | |
| NFData SqsAction Source # | |
Defined in Amazonka.IoTEvents.Types.SqsAction | |
| Eq SqsAction Source # | |
| Hashable SqsAction Source # | |
Defined in Amazonka.IoTEvents.Types.SqsAction | |
| type Rep SqsAction Source # | |
Defined in Amazonka.IoTEvents.Types.SqsAction type Rep SqsAction = D1 ('MetaData "SqsAction" "Amazonka.IoTEvents.Types.SqsAction" "amazonka-iotevents-2.0-6xKaLx5KciSK3LEs0FyRYn" 'False) (C1 ('MetaCons "SqsAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Payload)) :*: (S1 ('MetaSel ('Just "useBase64") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "queueUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |
Create a value of SqsAction 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:payload:SqsAction', sqsAction_payload - You can configure the action payload when you send a message to an
Amazon SQS queue.
$sel:useBase64:SqsAction', sqsAction_useBase64 - Set this to TRUE if you want the data to be base-64 encoded before it is
written to the queue. Otherwise, set this to FALSE.
$sel:queueUrl:SqsAction', sqsAction_queueUrl - The URL of the SQS queue where the data is written.
sqsAction_payload :: Lens' SqsAction (Maybe Payload) Source #
You can configure the action payload when you send a message to an Amazon SQS queue.