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::CloudWatch::DescribeAnomalyDetectors - Arguments for method DescribeAnomalyDetectors on Paws::CloudWatch

DESCRIPTION

This class represents the parameters used for calling the method DescribeAnomalyDetectors on the Amazon CloudWatch service. Use the attributes of this class as arguments to method DescribeAnomalyDetectors.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeAnomalyDetectors.

SYNOPSIS

    my $monitoring = Paws->service('CloudWatch');
    my $DescribeAnomalyDetectorsOutput = $monitoring->DescribeAnomalyDetectors(
      Dimensions => [
        {
          Name  => 'MyDimensionName',     # min: 1, max: 255
          Value => 'MyDimensionValue',    # min: 1, max: 255

        },
        ...
      ],    # OPTIONAL
      MaxResults => 1,                 # OPTIONAL
      MetricName => 'MyMetricName',    # OPTIONAL
      Namespace  => 'MyNamespace',     # OPTIONAL
      NextToken  => 'MyNextToken',     # OPTIONAL
    );

    # Results:
    my $AnomalyDetectors = $DescribeAnomalyDetectorsOutput->AnomalyDetectors;
    my $NextToken        = $DescribeAnomalyDetectorsOutput->NextToken;

    # Returns a L<Paws::CloudWatch::DescribeAnomalyDetectorsOutput> 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/monitoring/DescribeAnomalyDetectors

ATTRIBUTES

Dimensions => ArrayRef[Paws::CloudWatch::Dimension]

Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.

MaxResults => Int

The maximum number of results to return in one operation. The maximum value that you can specify is 100.

To retrieve the remaining results, make another call with the returned NextToken value.

MetricName => Str

Limits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned.

Namespace => Str

Limits the results to only the anomaly detection models that are associated with the specified namespace.

NextToken => Str

Use the token returned by the previous operation to request the next page of results.

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribeAnomalyDetectors in Paws::CloudWatch

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