blib/lib/Paws/LookoutEquipment/UpdateInferenceScheduler.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::LookoutEquipment::UpdateInferenceScheduler;
3 use Moose;
4 has DataDelayOffsetInMinutes => (is => 'ro', isa => 'Int');
5 has DataInputConfiguration => (is => 'ro', isa => 'Paws::LookoutEquipment::InferenceInputConfiguration');
6 has DataOutputConfiguration => (is => 'ro', isa => 'Paws::LookoutEquipment::InferenceOutputConfiguration');
7 has DataUploadFrequency => (is => 'ro', isa => 'Str');
8 has InferenceSchedulerName => (is => 'ro', isa => 'Str', required => 1);
9 has RoleArn => (is => 'ro', isa => 'Str');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateInferenceScheduler');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::LookoutEquipment::UpdateInferenceScheduler - Arguments for method UpdateInferenceScheduler on L<Paws::LookoutEquipment>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method UpdateInferenceScheduler on the
27 L<Amazon Lookout for Equipment|Paws::LookoutEquipment> service. Use the attributes of this class
28 as arguments to method UpdateInferenceScheduler.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateInferenceScheduler.
31  
32 =head1 SYNOPSIS
33  
34 my $lookoutequipment = Paws->service('LookoutEquipment');
35 $lookoutequipment->UpdateInferenceScheduler(
36 InferenceSchedulerName => 'MyInferenceSchedulerIdentifier',
37 DataDelayOffsetInMinutes => 1, # OPTIONAL
38 DataInputConfiguration => {
39 InferenceInputNameConfiguration => {
40 ComponentTimestampDelimiter =>
41 'MyComponentTimestampDelimiter', # max: 1; OPTIONAL
42 TimestampFormat => 'MyFileNameTimestampFormat', # OPTIONAL
43 }, # OPTIONAL
44 InputTimeZoneOffset => 'MyTimeZoneOffset', # OPTIONAL
45 S3InputConfiguration => {
46 Bucket => 'MyS3Bucket', # min: 3, max: 63
47 Prefix => 'MyS3Prefix', # max: 1024; OPTIONAL
48 }, # OPTIONAL
49 }, # OPTIONAL
50 DataOutputConfiguration => {
51 S3OutputConfiguration => {
52 Bucket => 'MyS3Bucket', # min: 3, max: 63
53 Prefix => 'MyS3Prefix', # max: 1024; OPTIONAL
54 },
55 KmsKeyId => 'MyNameOrArn', # min: 1, max: 2048; OPTIONAL
56 }, # OPTIONAL
57 DataUploadFrequency => 'PT5M', # OPTIONAL
58 RoleArn => 'MyIamRoleArn', # OPTIONAL
59 );
60  
61 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.
62 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment/UpdateInferenceScheduler>
63  
64 =head1 ATTRIBUTES
65  
66  
67 =head2 DataDelayOffsetInMinutes => Int
68  
69 E<gt> A period of time (in minutes) by which inference on the data is
70 delayed after the data starts. For instance, if you select an offset
71 delay time of five minutes, inference will not begin on the data until
72 the first data measurement after the five minute mark. For example, if
73 five minutes is selected, the inference scheduler will wake up at the
74 configured frequency with the additional five minute delay time to
75 check the customer S3 bucket. The customer can upload data at the same
76 frequency and they don't need to stop and restart the scheduler when
77 uploading new data.
78  
79  
80  
81 =head2 DataInputConfiguration => L<Paws::LookoutEquipment::InferenceInputConfiguration>
82  
83 Specifies information for the input data for the inference scheduler,
84 including delimiter, format, and dataset location.
85  
86  
87  
88 =head2 DataOutputConfiguration => L<Paws::LookoutEquipment::InferenceOutputConfiguration>
89  
90 Specifies information for the output results from the inference
91 scheduler, including the output S3 location.
92  
93  
94  
95 =head2 DataUploadFrequency => Str
96  
97 How often data is uploaded to the source S3 bucket for the input data.
98 The value chosen is the length of time between data uploads. For
99 instance, if you select 5 minutes, Amazon Lookout for Equipment will
100 upload the real-time data to the source bucket once every 5 minutes.
101 This frequency also determines how often Amazon Lookout for Equipment
102 starts a scheduled inference on your data. In this example, it starts
103 once every 5 minutes.
104  
105 Valid values are: C<"PT5M">, C<"PT10M">, C<"PT15M">, C<"PT30M">, C<"PT1H">
106  
107 =head2 B<REQUIRED> InferenceSchedulerName => Str
108  
109 The name of the inference scheduler to be updated.
110  
111  
112  
113 =head2 RoleArn => Str
114  
115 The Amazon Resource Name (ARN) of a role with permission to access the
116 data source for the inference scheduler.
117  
118  
119  
120  
121 =head1 SEE ALSO
122  
123 This class forms part of L<Paws>, documenting arguments for method UpdateInferenceScheduler in L<Paws::LookoutEquipment>
124  
125 =head1 BUGS and CONTRIBUTIONS
126  
127 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
128  
129 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
130  
131 =cut
132