Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
See: newSqsAction
smart constructor.
SqsAction' | |
|
Instances
Eq SqsAction Source # | |
Read SqsAction Source # | |
Show SqsAction Source # | |
Generic SqsAction Source # | |
NFData SqsAction Source # | |
Defined in Amazonka.IoTEvents.Types.SqsAction | |
Hashable SqsAction Source # | |
Defined in Amazonka.IoTEvents.Types.SqsAction | |
ToJSON SqsAction Source # | |
Defined in Amazonka.IoTEvents.Types.SqsAction | |
FromJSON SqsAction Source # | |
type Rep SqsAction Source # | |
Defined in Amazonka.IoTEvents.Types.SqsAction type Rep SqsAction = D1 ('MetaData "SqsAction" "Amazonka.IoTEvents.Types.SqsAction" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" '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.