| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoT::IotAnalyticsAction; | ||
| 3 | use Moose; | ||
| 4 | has BatchMode => (is => 'ro', isa => 'Bool', request_name => 'batchMode', traits => ['NameInRequest']); | ||
| 5 | has ChannelArn => (is => 'ro', isa => 'Str', request_name => 'channelArn', traits => ['NameInRequest']); | ||
| 6 | has ChannelName => (is => 'ro', isa => 'Str', request_name => 'channelName', traits => ['NameInRequest']); | ||
| 7 | has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::IoT::IotAnalyticsAction | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::IoT::IotAnalyticsAction object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { BatchMode => $value, ..., RoleArn => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::IotAnalyticsAction object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->BatchMode | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Sends message data to an AWS IoT Analytics channel. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 BatchMode => Bool | ||
| 45 | |||
| 46 | Whether to process the action as a batch. The default value is | ||
| 47 | C<false>. | ||
| 48 | |||
| 49 | When C<batchMode> is C<true> and the rule SQL statement evaluates to an | ||
| 50 | Array, each Array element is delivered as a separate message when | ||
| 51 | passed by C<BatchPutMessage> | ||
| 52 | (https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_BatchPutMessage.html) | ||
| 53 | to the AWS IoT Analytics channel. The resulting array can't have more | ||
| 54 | than 100 messages. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 ChannelArn => Str | ||
| 58 | |||
| 59 | (deprecated) The ARN of the IoT Analytics channel to which message data | ||
| 60 | will be sent. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ChannelName => Str | ||
| 64 | |||
| 65 | The name of the IoT Analytics channel to which message data will be | ||
| 66 | sent. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 RoleArn => Str | ||
| 70 | |||
| 71 | The ARN of the role which has a policy that grants IoT Analytics | ||
| 72 | permission to send message data via IoT Analytics | ||
| 73 | (iotanalytics:BatchPutMessage). | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, describing an object used in L<Paws::IoT> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 |