blib/lib/Paws/IoTEvents/CreateDetectorModel.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoTEvents::CreateDetectorModel;
3 use Moose;
4 has DetectorModelDefinition => (is => 'ro', isa => 'Paws::IoTEvents::DetectorModelDefinition', traits => ['NameInRequest'], request_name => 'detectorModelDefinition', required => 1);
5 has DetectorModelDescription => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'detectorModelDescription');
6 has DetectorModelName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'detectorModelName', required => 1);
7 has EvaluationMethod => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'evaluationMethod');
8 has Key => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'key');
9 has RoleArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'roleArn', required => 1);
10 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::IoTEvents::Tag]', traits => ['NameInRequest'], request_name => 'tags');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDetectorModel');
15 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/detector-models');
16 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTEvents::CreateDetectorModelResponse');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::IoTEvents::CreateDetectorModel - Arguments for method CreateDetectorModel on L<Paws::IoTEvents>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method CreateDetectorModel on the
29 L<AWS IoT Events|Paws::IoTEvents> service. Use the attributes of this class
30 as arguments to method CreateDetectorModel.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDetectorModel.
33  
34 =head1 SYNOPSIS
35  
36 my $iotevents = Paws->service('IoTEvents');
37 my $CreateDetectorModelResponse = $iotevents->CreateDetectorModel(
38 DetectorModelDefinition => {
39 InitialStateName => 'MyStateName', # min: 1, max: 128
40 States => [
41 {
42 StateName => 'MyStateName', # min: 1, max: 128
43 OnEnter => {
44 Events => [
45 {
46 EventName => 'MyEventName', # max: 128
47 Actions => [
48 {
49 ClearTimer => {
50 TimerName => 'MyTimerName', # min: 1, max: 128
51  
52 }, # OPTIONAL
53 DynamoDB => {
54 HashKeyField => 'MyDynamoKeyField',
55 HashKeyValue => 'MyDynamoKeyValue',
56 TableName => 'MyDynamoTableName',
57 HashKeyType => 'MyDynamoKeyType', # OPTIONAL
58 Operation => 'MyDynamoOperation', # OPTIONAL
59 Payload => {
60 ContentExpression => 'MyContentExpression', # min: 1
61 Type => 'STRING', # values: STRING, JSON
62  
63 }, # OPTIONAL
64 PayloadField => 'MyDynamoKeyField',
65 RangeKeyField => 'MyDynamoKeyField',
66 RangeKeyType => 'MyDynamoKeyType', # OPTIONAL
67 RangeKeyValue => 'MyDynamoKeyValue',
68 }, # OPTIONAL
69 DynamoDBv2 => {
70 TableName => 'MyDynamoTableName',
71 Payload => {
72 ContentExpression => 'MyContentExpression', # min: 1
73 Type => 'STRING', # values: STRING, JSON
74  
75 }, # OPTIONAL
76 }, # OPTIONAL
77 Firehose => {
78 DeliveryStreamName => 'MyDeliveryStreamName',
79 Payload => {
80 ContentExpression => 'MyContentExpression', # min: 1
81 Type => 'STRING', # values: STRING, JSON
82  
83 }, # OPTIONAL
84 Separator => 'MyFirehoseSeparator', # OPTIONAL
85 }, # OPTIONAL
86 IotEvents => {
87 InputName => 'MyInputName', # min: 1, max: 128
88 Payload => {
89 ContentExpression => 'MyContentExpression', # min: 1
90 Type => 'STRING', # values: STRING, JSON
91  
92 }, # OPTIONAL
93 }, # OPTIONAL
94 IotSiteWise => {
95 AssetId => 'MyAssetId', # OPTIONAL
96 EntryId => 'MyAssetPropertyEntryId', # OPTIONAL
97 PropertyAlias => 'MyAssetPropertyAlias', # OPTIONAL
98 PropertyId => 'MyAssetPropertyId', # OPTIONAL
99 PropertyValue => {
100 Quality => 'MyAssetPropertyQuality', # OPTIONAL
101 Timestamp => {
102 TimeInSeconds => 'MyAssetPropertyTimeInSeconds',
103 OffsetInNanos =>
104 'MyAssetPropertyOffsetInNanos', # OPTIONAL
105 }, # OPTIONAL
106 Value => {
107 BooleanValue =>
108 'MyAssetPropertyBooleanValue', # OPTIONAL
109 DoubleValue =>
110 'MyAssetPropertyDoubleValue', # OPTIONAL
111 IntegerValue =>
112 'MyAssetPropertyIntegerValue', # OPTIONAL
113 StringValue =>
114 'MyAssetPropertyStringValue', # OPTIONAL
115 }, # OPTIONAL
116 }, # OPTIONAL
117 }, # OPTIONAL
118 IotTopicPublish => {
119 MqttTopic => 'MyMQTTTopic', # min: 1, max: 128
120 Payload => {
121 ContentExpression => 'MyContentExpression', # min: 1
122 Type => 'STRING', # values: STRING, JSON
123  
124 }, # OPTIONAL
125 }, # OPTIONAL
126 Lambda => {
127 FunctionArn =>
128 'MyAmazonResourceName', # min: 1, max: 2048
129 Payload => {
130 ContentExpression => 'MyContentExpression', # min: 1
131 Type => 'STRING', # values: STRING, JSON
132  
133 }, # OPTIONAL
134 }, # OPTIONAL
135 ResetTimer => {
136 TimerName => 'MyTimerName', # min: 1, max: 128
137  
138 }, # OPTIONAL
139 SetTimer => {
140 TimerName => 'MyTimerName', # min: 1, max: 128
141 DurationExpression =>
142 'MyVariableValue', # min: 1, max: 1024; OPTIONAL
143 Seconds => 1, # min: 1, max: 31622400; OPTIONAL
144 }, # OPTIONAL
145 SetVariable => {
146 Value =>
147 'MyVariableValue', # min: 1, max: 1024; OPTIONAL
148 VariableName => 'MyVariableName', # min: 1, max: 128
149  
150 }, # OPTIONAL
151 Sns => {
152 TargetArn => 'MyAmazonResourceName', # min: 1, max: 2048
153 Payload => {
154 ContentExpression => 'MyContentExpression', # min: 1
155 Type => 'STRING', # values: STRING, JSON
156  
157 }, # OPTIONAL
158 }, # OPTIONAL
159 Sqs => {
160 QueueUrl => 'MyQueueUrl',
161 Payload => {
162 ContentExpression => 'MyContentExpression', # min: 1
163 Type => 'STRING', # values: STRING, JSON
164  
165 }, # OPTIONAL
166 UseBase64 => 1, # OPTIONAL
167 }, # OPTIONAL
168 },
169 ...
170 ], # OPTIONAL
171 Condition => 'MyCondition', # max: 512; OPTIONAL
172 },
173 ...
174 ], # OPTIONAL
175 }, # OPTIONAL
176 OnExit => {
177 Events => [
178 {
179 EventName => 'MyEventName', # max: 128
180 Actions => [
181 {
182 ClearTimer => {
183 TimerName => 'MyTimerName', # min: 1, max: 128
184  
185 }, # OPTIONAL
186 DynamoDB => {
187 HashKeyField => 'MyDynamoKeyField',
188 HashKeyValue => 'MyDynamoKeyValue',
189 TableName => 'MyDynamoTableName',
190 HashKeyType => 'MyDynamoKeyType', # OPTIONAL
191 Operation => 'MyDynamoOperation', # OPTIONAL
192 Payload => {
193 ContentExpression => 'MyContentExpression', # min: 1
194 Type => 'STRING', # values: STRING, JSON
195  
196 }, # OPTIONAL
197 PayloadField => 'MyDynamoKeyField',
198 RangeKeyField => 'MyDynamoKeyField',
199 RangeKeyType => 'MyDynamoKeyType', # OPTIONAL
200 RangeKeyValue => 'MyDynamoKeyValue',
201 }, # OPTIONAL
202 DynamoDBv2 => {
203 TableName => 'MyDynamoTableName',
204 Payload => {
205 ContentExpression => 'MyContentExpression', # min: 1
206 Type => 'STRING', # values: STRING, JSON
207  
208 }, # OPTIONAL
209 }, # OPTIONAL
210 Firehose => {
211 DeliveryStreamName => 'MyDeliveryStreamName',
212 Payload => {
213 ContentExpression => 'MyContentExpression', # min: 1
214 Type => 'STRING', # values: STRING, JSON
215  
216 }, # OPTIONAL
217 Separator => 'MyFirehoseSeparator', # OPTIONAL
218 }, # OPTIONAL
219 IotEvents => {
220 InputName => 'MyInputName', # min: 1, max: 128
221 Payload => {
222 ContentExpression => 'MyContentExpression', # min: 1
223 Type => 'STRING', # values: STRING, JSON
224  
225 }, # OPTIONAL
226 }, # OPTIONAL
227 IotSiteWise => {
228 AssetId => 'MyAssetId', # OPTIONAL
229 EntryId => 'MyAssetPropertyEntryId', # OPTIONAL
230 PropertyAlias => 'MyAssetPropertyAlias', # OPTIONAL
231 PropertyId => 'MyAssetPropertyId', # OPTIONAL
232 PropertyValue => {
233 Quality => 'MyAssetPropertyQuality', # OPTIONAL
234 Timestamp => {
235 TimeInSeconds => 'MyAssetPropertyTimeInSeconds',
236 OffsetInNanos =>
237 'MyAssetPropertyOffsetInNanos', # OPTIONAL
238 }, # OPTIONAL
239 Value => {
240 BooleanValue =>
241 'MyAssetPropertyBooleanValue', # OPTIONAL
242 DoubleValue =>
243 'MyAssetPropertyDoubleValue', # OPTIONAL
244 IntegerValue =>
245 'MyAssetPropertyIntegerValue', # OPTIONAL
246 StringValue =>
247 'MyAssetPropertyStringValue', # OPTIONAL
248 }, # OPTIONAL
249 }, # OPTIONAL
250 }, # OPTIONAL
251 IotTopicPublish => {
252 MqttTopic => 'MyMQTTTopic', # min: 1, max: 128
253 Payload => {
254 ContentExpression => 'MyContentExpression', # min: 1
255 Type => 'STRING', # values: STRING, JSON
256  
257 }, # OPTIONAL
258 }, # OPTIONAL
259 Lambda => {
260 FunctionArn =>
261 'MyAmazonResourceName', # min: 1, max: 2048
262 Payload => {
263 ContentExpression => 'MyContentExpression', # min: 1
264 Type => 'STRING', # values: STRING, JSON
265  
266 }, # OPTIONAL
267 }, # OPTIONAL
268 ResetTimer => {
269 TimerName => 'MyTimerName', # min: 1, max: 128
270  
271 }, # OPTIONAL
272 SetTimer => {
273 TimerName => 'MyTimerName', # min: 1, max: 128
274 DurationExpression =>
275 'MyVariableValue', # min: 1, max: 1024; OPTIONAL
276 Seconds => 1, # min: 1, max: 31622400; OPTIONAL
277 }, # OPTIONAL
278 SetVariable => {
279 Value =>
280 'MyVariableValue', # min: 1, max: 1024; OPTIONAL
281 VariableName => 'MyVariableName', # min: 1, max: 128
282  
283 }, # OPTIONAL
284 Sns => {
285 TargetArn => 'MyAmazonResourceName', # min: 1, max: 2048
286 Payload => {
287 ContentExpression => 'MyContentExpression', # min: 1
288 Type => 'STRING', # values: STRING, JSON
289  
290 }, # OPTIONAL
291 }, # OPTIONAL
292 Sqs => {
293 QueueUrl => 'MyQueueUrl',
294 Payload => {
295 ContentExpression => 'MyContentExpression', # min: 1
296 Type => 'STRING', # values: STRING, JSON
297  
298 }, # OPTIONAL
299 UseBase64 => 1, # OPTIONAL
300 }, # OPTIONAL
301 },
302 ...
303 ], # OPTIONAL
304 Condition => 'MyCondition', # max: 512; OPTIONAL
305 },
306 ...
307 ], # OPTIONAL
308 }, # OPTIONAL
309 OnInput => {
310 Events => [
311 {
312 EventName => 'MyEventName', # max: 128
313 Actions => [
314 {
315 ClearTimer => {
316 TimerName => 'MyTimerName', # min: 1, max: 128
317  
318 }, # OPTIONAL
319 DynamoDB => {
320 HashKeyField => 'MyDynamoKeyField',
321 HashKeyValue => 'MyDynamoKeyValue',
322 TableName => 'MyDynamoTableName',
323 HashKeyType => 'MyDynamoKeyType', # OPTIONAL
324 Operation => 'MyDynamoOperation', # OPTIONAL
325 Payload => {
326 ContentExpression => 'MyContentExpression', # min: 1
327 Type => 'STRING', # values: STRING, JSON
328  
329 }, # OPTIONAL
330 PayloadField => 'MyDynamoKeyField',
331 RangeKeyField => 'MyDynamoKeyField',
332 RangeKeyType => 'MyDynamoKeyType', # OPTIONAL
333 RangeKeyValue => 'MyDynamoKeyValue',
334 }, # OPTIONAL
335 DynamoDBv2 => {
336 TableName => 'MyDynamoTableName',
337 Payload => {
338 ContentExpression => 'MyContentExpression', # min: 1
339 Type => 'STRING', # values: STRING, JSON
340  
341 }, # OPTIONAL
342 }, # OPTIONAL
343 Firehose => {
344 DeliveryStreamName => 'MyDeliveryStreamName',
345 Payload => {
346 ContentExpression => 'MyContentExpression', # min: 1
347 Type => 'STRING', # values: STRING, JSON
348  
349 }, # OPTIONAL
350 Separator => 'MyFirehoseSeparator', # OPTIONAL
351 }, # OPTIONAL
352 IotEvents => {
353 InputName => 'MyInputName', # min: 1, max: 128
354 Payload => {
355 ContentExpression => 'MyContentExpression', # min: 1
356 Type => 'STRING', # values: STRING, JSON
357  
358 }, # OPTIONAL
359 }, # OPTIONAL
360 IotSiteWise => {
361 AssetId => 'MyAssetId', # OPTIONAL
362 EntryId => 'MyAssetPropertyEntryId', # OPTIONAL
363 PropertyAlias => 'MyAssetPropertyAlias', # OPTIONAL
364 PropertyId => 'MyAssetPropertyId', # OPTIONAL
365 PropertyValue => {
366 Quality => 'MyAssetPropertyQuality', # OPTIONAL
367 Timestamp => {
368 TimeInSeconds => 'MyAssetPropertyTimeInSeconds',
369 OffsetInNanos =>
370 'MyAssetPropertyOffsetInNanos', # OPTIONAL
371 }, # OPTIONAL
372 Value => {
373 BooleanValue =>
374 'MyAssetPropertyBooleanValue', # OPTIONAL
375 DoubleValue =>
376 'MyAssetPropertyDoubleValue', # OPTIONAL
377 IntegerValue =>
378 'MyAssetPropertyIntegerValue', # OPTIONAL
379 StringValue =>
380 'MyAssetPropertyStringValue', # OPTIONAL
381 }, # OPTIONAL
382 }, # OPTIONAL
383 }, # OPTIONAL
384 IotTopicPublish => {
385 MqttTopic => 'MyMQTTTopic', # min: 1, max: 128
386 Payload => {
387 ContentExpression => 'MyContentExpression', # min: 1
388 Type => 'STRING', # values: STRING, JSON
389  
390 }, # OPTIONAL
391 }, # OPTIONAL
392 Lambda => {
393 FunctionArn =>
394 'MyAmazonResourceName', # min: 1, max: 2048
395 Payload => {
396 ContentExpression => 'MyContentExpression', # min: 1
397 Type => 'STRING', # values: STRING, JSON
398  
399 }, # OPTIONAL
400 }, # OPTIONAL
401 ResetTimer => {
402 TimerName => 'MyTimerName', # min: 1, max: 128
403  
404 }, # OPTIONAL
405 SetTimer => {
406 TimerName => 'MyTimerName', # min: 1, max: 128
407 DurationExpression =>
408 'MyVariableValue', # min: 1, max: 1024; OPTIONAL
409 Seconds => 1, # min: 1, max: 31622400; OPTIONAL
410 }, # OPTIONAL
411 SetVariable => {
412 Value =>
413 'MyVariableValue', # min: 1, max: 1024; OPTIONAL
414 VariableName => 'MyVariableName', # min: 1, max: 128
415  
416 }, # OPTIONAL
417 Sns => {
418 TargetArn => 'MyAmazonResourceName', # min: 1, max: 2048
419 Payload => {
420 ContentExpression => 'MyContentExpression', # min: 1
421 Type => 'STRING', # values: STRING, JSON
422  
423 }, # OPTIONAL
424 }, # OPTIONAL
425 Sqs => {
426 QueueUrl => 'MyQueueUrl',
427 Payload => {
428 ContentExpression => 'MyContentExpression', # min: 1
429 Type => 'STRING', # values: STRING, JSON
430  
431 }, # OPTIONAL
432 UseBase64 => 1, # OPTIONAL
433 }, # OPTIONAL
434 },
435 ...
436 ], # OPTIONAL
437 Condition => 'MyCondition', # max: 512; OPTIONAL
438 },
439 ...
440 ], # OPTIONAL
441 TransitionEvents => [
442 {
443 Condition => 'MyCondition', # max: 512; OPTIONAL
444 EventName => 'MyEventName', # max: 128
445 NextState => 'MyStateName', # min: 1, max: 128
446 Actions => [
447 {
448 ClearTimer => {
449 TimerName => 'MyTimerName', # min: 1, max: 128
450  
451 }, # OPTIONAL
452 DynamoDB => {
453 HashKeyField => 'MyDynamoKeyField',
454 HashKeyValue => 'MyDynamoKeyValue',
455 TableName => 'MyDynamoTableName',
456 HashKeyType => 'MyDynamoKeyType', # OPTIONAL
457 Operation => 'MyDynamoOperation', # OPTIONAL
458 Payload => {
459 ContentExpression => 'MyContentExpression', # min: 1
460 Type => 'STRING', # values: STRING, JSON
461  
462 }, # OPTIONAL
463 PayloadField => 'MyDynamoKeyField',
464 RangeKeyField => 'MyDynamoKeyField',
465 RangeKeyType => 'MyDynamoKeyType', # OPTIONAL
466 RangeKeyValue => 'MyDynamoKeyValue',
467 }, # OPTIONAL
468 DynamoDBv2 => {
469 TableName => 'MyDynamoTableName',
470 Payload => {
471 ContentExpression => 'MyContentExpression', # min: 1
472 Type => 'STRING', # values: STRING, JSON
473  
474 }, # OPTIONAL
475 }, # OPTIONAL
476 Firehose => {
477 DeliveryStreamName => 'MyDeliveryStreamName',
478 Payload => {
479 ContentExpression => 'MyContentExpression', # min: 1
480 Type => 'STRING', # values: STRING, JSON
481  
482 }, # OPTIONAL
483 Separator => 'MyFirehoseSeparator', # OPTIONAL
484 }, # OPTIONAL
485 IotEvents => {
486 InputName => 'MyInputName', # min: 1, max: 128
487 Payload => {
488 ContentExpression => 'MyContentExpression', # min: 1
489 Type => 'STRING', # values: STRING, JSON
490  
491 }, # OPTIONAL
492 }, # OPTIONAL
493 IotSiteWise => {
494 AssetId => 'MyAssetId', # OPTIONAL
495 EntryId => 'MyAssetPropertyEntryId', # OPTIONAL
496 PropertyAlias => 'MyAssetPropertyAlias', # OPTIONAL
497 PropertyId => 'MyAssetPropertyId', # OPTIONAL
498 PropertyValue => {
499 Quality => 'MyAssetPropertyQuality', # OPTIONAL
500 Timestamp => {
501 TimeInSeconds => 'MyAssetPropertyTimeInSeconds',
502 OffsetInNanos =>
503 'MyAssetPropertyOffsetInNanos', # OPTIONAL
504 }, # OPTIONAL
505 Value => {
506 BooleanValue =>
507 'MyAssetPropertyBooleanValue', # OPTIONAL
508 DoubleValue =>
509 'MyAssetPropertyDoubleValue', # OPTIONAL
510 IntegerValue =>
511 'MyAssetPropertyIntegerValue', # OPTIONAL
512 StringValue =>
513 'MyAssetPropertyStringValue', # OPTIONAL
514 }, # OPTIONAL
515 }, # OPTIONAL
516 }, # OPTIONAL
517 IotTopicPublish => {
518 MqttTopic => 'MyMQTTTopic', # min: 1, max: 128
519 Payload => {
520 ContentExpression => 'MyContentExpression', # min: 1
521 Type => 'STRING', # values: STRING, JSON
522  
523 }, # OPTIONAL
524 }, # OPTIONAL
525 Lambda => {
526 FunctionArn =>
527 'MyAmazonResourceName', # min: 1, max: 2048
528 Payload => {
529 ContentExpression => 'MyContentExpression', # min: 1
530 Type => 'STRING', # values: STRING, JSON
531  
532 }, # OPTIONAL
533 }, # OPTIONAL
534 ResetTimer => {
535 TimerName => 'MyTimerName', # min: 1, max: 128
536  
537 }, # OPTIONAL
538 SetTimer => {
539 TimerName => 'MyTimerName', # min: 1, max: 128
540 DurationExpression =>
541 'MyVariableValue', # min: 1, max: 1024; OPTIONAL
542 Seconds => 1, # min: 1, max: 31622400; OPTIONAL
543 }, # OPTIONAL
544 SetVariable => {
545 Value =>
546 'MyVariableValue', # min: 1, max: 1024; OPTIONAL
547 VariableName => 'MyVariableName', # min: 1, max: 128
548  
549 }, # OPTIONAL
550 Sns => {
551 TargetArn => 'MyAmazonResourceName', # min: 1, max: 2048
552 Payload => {
553 ContentExpression => 'MyContentExpression', # min: 1
554 Type => 'STRING', # values: STRING, JSON
555  
556 }, # OPTIONAL
557 }, # OPTIONAL
558 Sqs => {
559 QueueUrl => 'MyQueueUrl',
560 Payload => {
561 ContentExpression => 'MyContentExpression', # min: 1
562 Type => 'STRING', # values: STRING, JSON
563  
564 }, # OPTIONAL
565 UseBase64 => 1, # OPTIONAL
566 }, # OPTIONAL
567 },
568 ...
569 ], # OPTIONAL
570 },
571 ...
572 ], # OPTIONAL
573 }, # OPTIONAL
574 },
575 ...
576 ], # min: 1
577  
578 },
579 DetectorModelName => 'MyDetectorModelName',
580 RoleArn => 'MyAmazonResourceName',
581 DetectorModelDescription => 'MyDetectorModelDescription', # OPTIONAL
582 EvaluationMethod => 'BATCH', # OPTIONAL
583 Key => 'MyAttributeJsonPath', # OPTIONAL
584 Tags => [
585 {
586 Key => 'MyTagKey', # min: 1, max: 128
587 Value => 'MyTagValue', # max: 256
588  
589 },
590 ...
591 ], # OPTIONAL
592 );
593  
594 # Results:
595 my $DetectorModelConfiguration =
596 $CreateDetectorModelResponse->DetectorModelConfiguration;
597  
598 # Returns a L<Paws::IoTEvents::CreateDetectorModelResponse> object.
599  
600 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
601 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iotevents/CreateDetectorModel>
602  
603 =head1 ATTRIBUTES
604  
605  
606 =head2 B<REQUIRED> DetectorModelDefinition => L<Paws::IoTEvents::DetectorModelDefinition>
607  
608 Information that defines how the detectors operate.
609  
610  
611  
612 =head2 DetectorModelDescription => Str
613  
614 A brief description of the detector model.
615  
616  
617  
618 =head2 B<REQUIRED> DetectorModelName => Str
619  
620 The name of the detector model.
621  
622  
623  
624 =head2 EvaluationMethod => Str
625  
626 Information about the order in which events are evaluated and how
627 actions are executed.
628  
629 Valid values are: C<"BATCH">, C<"SERIAL">
630  
631 =head2 Key => Str
632  
633 The input attribute key used to identify a device or system to create a
634 detector (an instance of the detector model) and then to route each
635 input received to the appropriate detector (instance). This parameter
636 uses a JSON-path expression in the message payload of each input to
637 specify the attribute-value pair that is used to identify the device
638 associated with the input.
639  
640  
641  
642 =head2 B<REQUIRED> RoleArn => Str
643  
644 The ARN of the role that grants permission to AWS IoT Events to perform
645 its operations.
646  
647  
648  
649 =head2 Tags => ArrayRef[L<Paws::IoTEvents::Tag>]
650  
651 Metadata that can be used to manage the detector model.
652  
653  
654  
655  
656 =head1 SEE ALSO
657  
658 This class forms part of L<Paws>, documenting arguments for method CreateDetectorModel in L<Paws::IoTEvents>
659  
660 =head1 BUGS and CONTRIBUTIONS
661  
662 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
663  
664 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
665  
666 =cut
667