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