The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::LookoutMetrics::CreateAnomalyDetector - Arguments for method CreateAnomalyDetector on Paws::LookoutMetrics

DESCRIPTION

This 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.

SYNOPSIS

    my $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

ATTRIBUTES

REQUIRED AnomalyDetectorConfig => Paws::LookoutMetrics::AnomalyDetectorConfig

Contains information about the configuration of the anomaly detector.

AnomalyDetectorDescription => Str

A description of the detector.

REQUIRED AnomalyDetectorName => Str

The name of the detector.

KmsKeyArn => Str

The ARN of the KMS key to use to encrypt your data.

Tags => Paws::LookoutMetrics::TagMap

A list of tags (https://docs.aws.amazon.com/lookoutmetrics/latest/dev/detectors-tags.html) to apply to the anomaly detector.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateAnomalyDetector in Paws::LookoutMetrics

BUGS and CONTRIBUTIONS

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