| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoTSiteWise::Transform; | ||
| 3 | use Moose; | ||
| 4 | has Expression => (is => 'ro', isa => 'Str', request_name => 'expression', traits => ['NameInRequest'], required => 1); | ||
| 5 | has Variables => (is => 'ro', isa => 'ArrayRef[Paws::IoTSiteWise::ExpressionVariable]', request_name => 'variables', traits => ['NameInRequest'], required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::IoTSiteWise::Transform | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::IoTSiteWise::Transform object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Expression => $value, ..., Variables => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoTSiteWise::Transform object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Expression | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Contains an asset transform property. A transform is a one-to-one | ||
| 38 | mapping of a property's data points from one form to another. For | ||
| 39 | example, you can use a transform to convert a Celsius data stream to | ||
| 40 | Fahrenheit by applying the transformation expression to each data point | ||
| 41 | of the Celsius stream. A transform can only have a data type of | ||
| 42 | C<DOUBLE> and consume properties with data types of C<INTEGER> or | ||
| 43 | C<DOUBLE>. | ||
| 44 | |||
| 45 | For more information, see Transforms | ||
| 46 | (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html#transforms) | ||
| 47 | in the I<AWS IoT SiteWise User Guide>. | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> Expression => Str | ||
| 53 | |||
| 54 | The mathematical expression that defines the transformation function. | ||
| 55 | You can specify up to 10 variables per expression. You can specify up | ||
| 56 | to 10 functions per expression. | ||
| 57 | |||
| 58 | For more information, see Quotas | ||
| 59 | (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) | ||
| 60 | in the I<AWS IoT SiteWise User Guide>. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> Variables => ArrayRef[L<Paws::IoTSiteWise::ExpressionVariable>] | ||
| 64 | |||
| 65 | The list of variables used in the expression. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head1 SEE ALSO | ||
| 70 | |||
| 71 | This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise> | ||
| 72 | |||
| 73 | =head1 BUGS and CONTRIBUTIONS | ||
| 74 | |||
| 75 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 76 | |||
| 77 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 78 | |||
| 79 | =cut | ||
| 80 |