![]() |
![]()
| ![]() |
![]()
NAMEPaws::LookoutMetrics::CreateAnomalyDetector - Arguments for method CreateAnomalyDetector on Paws::LookoutMetrics DESCRIPTIONThis class represents the parameters used for calling the method CreateAnomalyDetector on the Amazon Lookout for Metrics service. Use the attributes of this class as arguments to method CreateAnomalyDetector. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAnomalyDetector. SYNOPSISmy $lookoutmetrics = Paws->service('LookoutMetrics'); my $CreateAnomalyDetectorResponse = $lookoutmetrics->CreateAnomalyDetector( AnomalyDetectorConfig => { AnomalyDetectorFrequency => 'P1D', # values: P1D, PT1H, PT10M, PT5M; OPTIONAL }, AnomalyDetectorName => 'MyAnomalyDetectorName', AnomalyDetectorDescription => 'MyAnomalyDetectorDescription', # OPTIONAL KmsKeyArn => 'MyKmsKeyArn', # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL ); # Results: my $AnomalyDetectorArn = $CreateAnomalyDetectorResponse->AnomalyDetectorArn; # Returns a L<Paws::LookoutMetrics::CreateAnomalyDetectorResponse> object. 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/lookoutmetrics/CreateAnomalyDetector> ATTRIBUTESREQUIRED AnomalyDetectorConfig => Paws::LookoutMetrics::AnomalyDetectorConfigContains information about the configuration of the anomaly detector. AnomalyDetectorDescription => StrA description of the detector. REQUIRED AnomalyDetectorName => StrThe name of the detector. KmsKeyArn => StrThe ARN of the KMS key to use to encrypt your data. Tags => Paws::LookoutMetrics::TagMapA list of tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html) to apply to the anomaly detector. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateAnomalyDetector in Paws::LookoutMetrics BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|