« blib/lib/Paws/IoTEventsData/BatchSnoozeAlarmResponse.pm
↑ Summary
blib/lib/Paws/IoTEventsData/BatchUpdateDetectorErrorEntry.pm »
| 1 | |||
| 2 | package Paws::IoTEventsData::BatchUpdateDetector; | ||
| 3 | use Moose; | ||
| 4 | has Detectors => (is => 'ro', isa => 'ArrayRef[Paws::IoTEventsData::UpdateDetectorRequest]', traits => ['NameInRequest'], request_name => 'detectors', required => 1); | ||
| 5 | |||
| 6 | use MooseX::ClassAttribute; | ||
| 7 | |||
| 8 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchUpdateDetector'); | ||
| 9 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/detectors'); | ||
| 10 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTEventsData::BatchUpdateDetectorResponse'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::IoTEventsData::BatchUpdateDetector - Arguments for method BatchUpdateDetector on L<Paws::IoTEventsData> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method BatchUpdateDetector on the | ||
| 23 | L<AWS IoT Events Data|Paws::IoTEventsData> service. Use the attributes of this class | ||
| 24 | as arguments to method BatchUpdateDetector. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchUpdateDetector. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $data.iotevents = Paws->service('IoTEventsData'); | ||
| 31 | my $BatchUpdateDetectorResponse = $data . iotevents->BatchUpdateDetector( | ||
| 32 | Detectors => [ | ||
| 33 | { | ||
| 34 | DetectorModelName => 'MyDetectorModelName', # min: 1, max: 128 | ||
| 35 | MessageId => 'MyMessageId', # min: 1, max: 64 | ||
| 36 | State => { | ||
| 37 | StateName => 'MyStateName', # min: 1, max: 128 | ||
| 38 | Timers => [ | ||
| 39 | { | ||
| 40 | Name => 'MyTimerName', # min: 1, max: 128 | ||
| 41 | Seconds => 1, | ||
| 42 | |||
| 43 | }, | ||
| 44 | ... | ||
| 45 | ], | ||
| 46 | Variables => [ | ||
| 47 | { | ||
| 48 | Name => 'MyVariableName', # min: 1, max: 128 | ||
| 49 | Value => 'MyVariableValue', # min: 1, max: 1024 | ||
| 50 | |||
| 51 | }, | ||
| 52 | ... | ||
| 53 | ], | ||
| 54 | |||
| 55 | }, | ||
| 56 | KeyValue => 'MyKeyValue', # min: 1, max: 128; OPTIONAL | ||
| 57 | }, | ||
| 58 | ... | ||
| 59 | ], | ||
| 60 | |||
| 61 | ); | ||
| 62 | |||
| 63 | # Results: | ||
| 64 | my $BatchUpdateDetectorErrorEntries = | ||
| 65 | $BatchUpdateDetectorResponse->BatchUpdateDetectorErrorEntries; | ||
| 66 | |||
| 67 | # Returns a L<Paws::IoTEventsData::BatchUpdateDetectorResponse> object. | ||
| 68 | |||
| 69 | 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. | ||
| 70 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/data.iotevents/BatchUpdateDetector> | ||
| 71 | |||
| 72 | =head1 ATTRIBUTES | ||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> Detectors => ArrayRef[L<Paws::IoTEventsData::UpdateDetectorRequest>] | ||
| 76 | |||
| 77 | The list of detectors (instances) to update, along with the values to | ||
| 78 | update. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head1 SEE ALSO | ||
| 84 | |||
| 85 | This class forms part of L<Paws>, documenting arguments for method BatchUpdateDetector in L<Paws::IoTEventsData> | ||
| 86 | |||
| 87 | =head1 BUGS and CONTRIBUTIONS | ||
| 88 | |||
| 89 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 90 | |||
| 91 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 92 | |||
| 93 | =cut | ||
| 94 |