![]() |
![]()
| ![]() |
![]()
NAMEPaws::CloudWatch::GetInsightRuleReport - Arguments for method GetInsightRuleReport on Paws::CloudWatch DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED EndTime => StrThe 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". MaxContributorCount => IntThe 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. Metrics => ArrayRef[Str|Undef]Specifies which metrics to use for aggregation of contributor values for the report. You can specify one or more of the following metrics:
OrderBy => StrDetermines what statistic to use to rank the contributors. Valid values are SUM and MAXIMUM. REQUIRED Period => IntThe period, in seconds, to use for the statistics in the "InsightRuleMetricDatapoint" results. REQUIRED RuleName => StrThe name of the rule that you want to see data from. REQUIRED StartTime => StrThe 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". SEE ALSOThis class forms part of Paws, documenting arguments for method GetInsightRuleReport in Paws::CloudWatch 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>
|