![]() |
![]()
| ![]() |
![]()
NAMEPaws::CloudWatch::InsightRule USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::CloudWatch::InsightRule object: $service_obj->Method(Att1 => { Definition => $value, ..., State => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatch::InsightRule object: $result = $service_obj->Method(...); $result->Att1->Definition DESCRIPTIONThis structure contains the definition for a Contributor Insights rule. ATTRIBUTESREQUIRED Definition => StrThe definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see Contributor Insights Rule Syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights-RuleSyntax.html). REQUIRED Name => StrThe name of the rule. REQUIRED Schema => StrFor rules that you create, this is always "{"Name": "CloudWatchLogRule", "Version": 1}". For built-in rules, this is "{"Name": "ServiceLogRule", "Version": 1}" REQUIRED State => StrIndicates whether the rule is enabled or disabled. SEE ALSOThis class forms part of Paws, describing an object used 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>
|