Class: Aws::IoTAnalytics::Types::AddAttributesActivity

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb

Overview

Note:

When making an API call, you may pass AddAttributesActivity data as a hash:

{
  name: "ActivityName", # required
  attributes: { # required
    "AttributeName" => "AttributeName",
  },
  next: "ActivityName",
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,String>

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.

Returns:

  • (Hash<String,String>)


45
46
47
48
49
50
51
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 45

class AddAttributesActivity < Struct.new(
  :name,
  :attributes,
  :next)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the addAttributes activity.

Returns:

  • (String)


45
46
47
48
49
50
51
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 45

class AddAttributesActivity < Struct.new(
  :name,
  :attributes,
  :next)
  SENSITIVE = []
  include Aws::Structure
end

#nextString

The next activity in the pipeline.

Returns:

  • (String)


45
46
47
48
49
50
51
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 45

class AddAttributesActivity < Struct.new(
  :name,
  :attributes,
  :next)
  SENSITIVE = []
  include Aws::Structure
end