libZSservicesZSamazonka-ioteventsZSamazonka-iotevents
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTEvents.Types.SqsAction

Description

 
Synopsis

Documentation

data SqsAction Source #

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

  • payload :: Maybe Payload

    You can configure the action payload when you send a message to an Amazon SQS queue.

  • useBase64 :: Maybe Bool

    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.

  • queueUrl :: Text

    The URL of the SQS queue where the data is written.

Instances

Instances details
Eq SqsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SqsAction

Read SqsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SqsAction

Show SqsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SqsAction

Generic SqsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SqsAction

Associated Types

type Rep SqsAction :: Type -> Type #

NFData SqsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SqsAction

Methods

rnf :: SqsAction -> () #

Hashable SqsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SqsAction

ToJSON SqsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SqsAction

FromJSON SqsAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.SqsAction

type Rep SqsAction Source # 
Instance details

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))))

newSqsAction Source #

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.

sqsAction_useBase64 :: Lens' SqsAction (Maybe Bool) Source #

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.

sqsAction_queueUrl :: Lens' SqsAction Text Source #

The URL of the SQS queue where the data is written.