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

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

  • payload :: Maybe Payload

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

  • deliveryStreamName :: Text

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

Instances

Instances details
Eq FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

Read FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

Show 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 #

NFData FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

Methods

rnf :: FirehoseAction -> () #

Hashable FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

ToJSON FirehoseAction Source # 
Instance details

Defined in Amazonka.IoTEvents.Types.FirehoseAction

FromJSON 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" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "FirehoseAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "separator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Payload)) :*: 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: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:payload:FirehoseAction', firehoseAction_payload - You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.

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

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_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_deliveryStreamName :: Lens' FirehoseAction Text Source #

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