« blib/lib/Paws/CloudWatch/InsightRule.pm
↑ Summary
blib/lib/Paws/CloudWatch/InsightRuleContributorDatapoint.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CloudWatch::InsightRuleContributor; | ||
| 3 | use Moose; | ||
| 4 | has ApproximateAggregateValue => (is => 'ro', isa => 'Num', required => 1); | ||
| 5 | has Datapoints => (is => 'ro', isa => 'ArrayRef[Paws::CloudWatch::InsightRuleContributorDatapoint]', required => 1); | ||
| 6 | has Keys => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::CloudWatch::InsightRuleContributor | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::CloudWatch::InsightRuleContributor object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { ApproximateAggregateValue => $value, ..., Keys => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatch::InsightRuleContributor object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->ApproximateAggregateValue | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | One of the unique contributors found by a Contributor Insights rule. If | ||
| 39 | the rule contains multiple keys, then a unique contributor is a unique | ||
| 40 | combination of values from all the keys in the rule. | ||
| 41 | |||
| 42 | If the rule contains a single key, then each unique contributor is each | ||
| 43 | unique value for this key. | ||
| 44 | |||
| 45 | For more information, see GetInsightRuleReport | ||
| 46 | (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetInsightRuleReport.html). | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> ApproximateAggregateValue => Num | ||
| 52 | |||
| 53 | An approximation of the aggregate value that comes from this | ||
| 54 | contributor. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> Datapoints => ArrayRef[L<Paws::CloudWatch::InsightRuleContributorDatapoint>] | ||
| 58 | |||
| 59 | An array of the data points where this contributor is present. Only the | ||
| 60 | data points when this contributor appeared are included in the array. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> Keys => ArrayRef[Str|Undef] | ||
| 64 | |||
| 65 | One of the log entry field keywords that is used to define contributors | ||
| 66 | for this rule. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head1 SEE ALSO | ||
| 71 | |||
| 72 | This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatch> | ||
| 73 | |||
| 74 | =head1 BUGS and CONTRIBUTIONS | ||
| 75 | |||
| 76 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 77 | |||
| 78 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 79 | |||
| 80 | =cut | ||
| 81 |