Paws::CloudWatch::PutAnomalyDetector - Arguments for method PutAnomalyDetector on Paws::CloudWatch
This class represents the parameters used for calling the method PutAnomalyDetector on the Amazon CloudWatch service. Use the attributes of this class as arguments to method PutAnomalyDetector.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAnomalyDetector.
my $monitoring = Paws->service('CloudWatch'); my $PutAnomalyDetectorOutput = $monitoring->PutAnomalyDetector( MetricName => 'MyMetricName', Namespace => 'MyNamespace', Stat => 'MyAnomalyDetectorMetricStat', Configuration => { ExcludedTimeRanges => [ { EndTime => '1970-01-01T01:00:00', StartTime => '1970-01-01T01:00:00', }, ... ], # OPTIONAL MetricTimezone => 'MyAnomalyDetectorMetricTimezone', # max: 50; OPTIONAL }, # OPTIONAL Dimensions => [ { Name => 'MyDimensionName', # min: 1, max: 255 Value => 'MyDimensionValue', # min: 1, max: 255 }, ... ], # OPTIONAL );
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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/monitoring/PutAnomalyDetector
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. You can specify as many as 10 time ranges.
The configuration can also include the time zone to use for the metric.
The metric dimensions to create the anomaly detection model for.
The name of the metric to create the anomaly detection model for.
The namespace of the metric to create the anomaly detection model for.
The statistic to use for the metric and the anomaly detection model.
This class forms part of Paws, documenting arguments for method PutAnomalyDetector in Paws::CloudWatch
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.