amazonka-iotevents-2.0: Amazon IoT Events 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.IoTEvents.Types.FirehoseAction

Description

 
Synopsis

Documentation

data FirehoseAction Source #

Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.

See: newFirehoseAction smart constructor.

Constructors

FirehoseAction' 

Fields

  • payload :: Maybe Payload

    You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.

  • separator :: Maybe Text

    A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).

  • deliveryStreamName :: Text

    The name of the Kinesis Data Firehose delivery stream where the data is written.

Instances

Instances details
FromJSON FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

ToJSON FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

Generic FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

Associated Types

type Rep FirehoseAction :: Type -> Type #

Read FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

Show FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

NFData FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

Methods

rnf :: FirehoseAction -> () #

Eq FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

Hashable FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

type Rep FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

type Rep FirehoseAction = D1 ('MetaData "FirehoseAction" "Amazonka.IoTEvents.Types.FirehoseAction" "amazonka-iotevents-2.0-6xKaLx5KciSK3LEs0FyRYn" 'False) (C1 ('MetaCons "FirehoseAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Payload)) :*: (S1 ('MetaSel ('Just "separator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deliveryStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newFirehoseAction Source #

Create a value of FirehoseAction 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:FirehoseAction', firehoseAction_payload - You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.

$sel:separator:FirehoseAction', firehoseAction_separator - A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).

$sel:deliveryStreamName:FirehoseAction', firehoseAction_deliveryStreamName - The name of the Kinesis Data Firehose delivery stream where the data is written.

firehoseAction_payload :: Lens' FirehoseAction (Maybe Payload) Source #

You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.

firehoseAction_separator :: Lens' FirehoseAction (Maybe Text) Source #

A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).

firehoseAction_deliveryStreamName :: Lens' FirehoseAction Text Source #

The name of the Kinesis Data Firehose delivery stream where the data is written.