NAME

Paws::IoT::TimestreamAction

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::IoT::TimestreamAction object:

$service_obj->Method(Att1 => { DatabaseName => $value, ..., Timestamp => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::TimestreamAction object:

$result = $service_obj->Method(...);
$result->Att1->DatabaseName

DESCRIPTION

The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table. For more information, see the Timestream (https://docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html) topic rule action documentation.

ATTRIBUTES

REQUIRED DatabaseName => Str

The name of an Amazon Timestream database.

REQUIRED Dimensions => ArrayRef[Paws::IoT::TimestreamDimension]

Metadata attributes of the time series that are written in each measure record.

REQUIRED RoleArn => Str

The ARN of the role that grants permission to write to the Amazon Timestream database table.

REQUIRED TableName => Str

The name of the database table into which to write the measure records.

Timestamp => Paws::IoT::TimestreamTimestamp

Specifies an application-defined value to replace the default value assigned to the Timestream record's timestamp in the time column.

You can use this property to specify the value and the precision of the Timestream record's timestamp. You can specify a value from the message payload or a value computed by a substitution template.

If omitted, the topic rule action assigns the timestamp, in milliseconds, at the time it processed the rule.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::IoT

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues