Paws::CloudWatch::GetInsightRuleReport - Arguments for method GetInsightRuleReport on Paws::CloudWatch
This class represents the parameters used for calling the method GetInsightRuleReport on the Amazon CloudWatch service. Use the attributes of this class as arguments to method GetInsightRuleReport.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetInsightRuleReport.
my $monitoring = Paws->service('CloudWatch'); my $GetInsightRuleReportOutput = $monitoring->GetInsightRuleReport( EndTime => '1970-01-01T01:00:00', Period => 1, RuleName => 'MyInsightRuleName', StartTime => '1970-01-01T01:00:00', MaxContributorCount => 1, # OPTIONAL Metrics => [ 'MyInsightRuleMetricName', ... # min: 1, max: 32 ], # OPTIONAL OrderBy => 'MyInsightRuleOrderBy', # OPTIONAL ); # Results: my $AggregateValue = $GetInsightRuleReportOutput->AggregateValue; my $AggregationStatistic = $GetInsightRuleReportOutput->AggregationStatistic; my $ApproximateUniqueCount = $GetInsightRuleReportOutput->ApproximateUniqueCount; my $Contributors = $GetInsightRuleReportOutput->Contributors; my $KeyLabels = $GetInsightRuleReportOutput->KeyLabels; my $MetricDatapoints = $GetInsightRuleReportOutput->MetricDatapoints; # Returns a L<Paws::CloudWatch::GetInsightRuleReportOutput> 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/GetInsightRuleReport
The end time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.
yyyy-MM-dd'T'HH:mm:ss
2019-07-01T23:59:59
The maximum number of contributors to include in the report. The range is 1 to 100. If you omit this, the default of 10 is used.
Specifies which metrics to use for aggregation of contributor values for the report. You can specify one or more of the following metrics:
UniqueContributors -- the number of unique contributors for each data point.
UniqueContributors
MaxContributorValue -- the value of the top contributor for each data point. The identity of the contributor might change for each data point in the graph.
MaxContributorValue
If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the most occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor with the highest sum in the log field specified by the rule's Value, during that period.
Value
SampleCount -- the number of data points matched by the rule.
SampleCount
Sum -- the sum of the values from all contributors during the time period represented by that data point.
Sum
Minimum -- the minimum value from a single observation during the time period represented by that data point.
Minimum
Maximum -- the maximum value from a single observation during the time period represented by that data point.
Maximum
Average -- the average value from all contributors during the time period represented by that data point.
Average
Determines what statistic to use to rank the contributors. Valid values are SUM and MAXIMUM.
The period, in seconds, to use for the statistics in the InsightRuleMetricDatapoint results.
InsightRuleMetricDatapoint
The name of the rule that you want to see data from.
The start time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.
This class forms part of Paws, documenting arguments for method GetInsightRuleReport 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.