libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics
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.IoTAnalytics.Types.AddAttributesActivity

Description

 
Synopsis

Documentation

data AddAttributesActivity Source #

An activity that adds other attributes based on existing attributes in the message.

See: newAddAttributesActivity smart constructor.

Constructors

AddAttributesActivity' 

Fields

  • next :: Maybe Text

    The next activity in the pipeline.

  • name :: Text

    The name of the addAttributes activity.

  • attributes :: HashMap Text Text

    A list of 1-50 AttributeNameMapping objects that map an existing attribute to a new attribute.

    The existing attributes remain in the message, so if you want to remove the originals, use RemoveAttributeActivity.

Instances

Instances details
Eq AddAttributesActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.AddAttributesActivity

Read AddAttributesActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.AddAttributesActivity

Show AddAttributesActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.AddAttributesActivity

Generic AddAttributesActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.AddAttributesActivity

Associated Types

type Rep AddAttributesActivity :: Type -> Type #

NFData AddAttributesActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.AddAttributesActivity

Methods

rnf :: AddAttributesActivity -> () #

Hashable AddAttributesActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.AddAttributesActivity

ToJSON AddAttributesActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.AddAttributesActivity

FromJSON AddAttributesActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.AddAttributesActivity

type Rep AddAttributesActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.AddAttributesActivity

type Rep AddAttributesActivity = D1 ('MetaData "AddAttributesActivity" "Amazonka.IoTAnalytics.Types.AddAttributesActivity" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "AddAttributesActivity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "next") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)))))

newAddAttributesActivity Source #

Create a value of AddAttributesActivity 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:next:AddAttributesActivity', addAttributesActivity_next - The next activity in the pipeline.

$sel:name:AddAttributesActivity', addAttributesActivity_name - The name of the addAttributes activity.

$sel:attributes:AddAttributesActivity', addAttributesActivity_attributes - A list of 1-50 AttributeNameMapping objects that map an existing attribute to a new attribute.

The existing attributes remain in the message, so if you want to remove the originals, use RemoveAttributeActivity.

addAttributesActivity_name :: Lens' AddAttributesActivity Text Source #

The name of the addAttributes activity.

addAttributesActivity_attributes :: Lens' AddAttributesActivity (HashMap Text Text) Source #

A list of 1-50 AttributeNameMapping objects that map an existing attribute to a new attribute.

The existing attributes remain in the message, so if you want to remove the originals, use RemoveAttributeActivity.