« blib/lib/Paws/DevOpsGuru/CloudFormationHealth.pm
↑ Summary
blib/lib/Paws/DevOpsGuru/CloudWatchMetricsDimension.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DevOpsGuru::CloudWatchMetricsDetail; | ||
| 3 | use Moose; | ||
| 4 | has Dimensions => (is => 'ro', isa => 'ArrayRef[Paws::DevOpsGuru::CloudWatchMetricsDimension]'); | ||
| 5 | has MetricName => (is => 'ro', isa => 'Str'); | ||
| 6 | has Namespace => (is => 'ro', isa => 'Str'); | ||
| 7 | has Period => (is => 'ro', isa => 'Int'); | ||
| 8 | has Stat => (is => 'ro', isa => 'Str'); | ||
| 9 | has Unit => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::DevOpsGuru::CloudWatchMetricsDetail | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::DevOpsGuru::CloudWatchMetricsDetail object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { Dimensions => $value, ..., Unit => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::DevOpsGuru::CloudWatchMetricsDetail object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->Dimensions | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | Information about an Amazon CloudWatch metric. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 Dimensions => ArrayRef[L<Paws::DevOpsGuru::CloudWatchMetricsDimension>] | ||
| 47 | |||
| 48 | An array of CloudWatch dimensions associated with | ||
| 49 | |||
| 50 | |||
| 51 | =head2 MetricName => Str | ||
| 52 | |||
| 53 | The name of the CloudWatch metric. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 Namespace => Str | ||
| 57 | |||
| 58 | The namespace of the CloudWatch metric. A namespace is a container for | ||
| 59 | CloudWatch metrics. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 Period => Int | ||
| 63 | |||
| 64 | The length of time associated with the CloudWatch metric in number of | ||
| 65 | seconds. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 Stat => Str | ||
| 69 | |||
| 70 | The type of statistic associated with the CloudWatch metric. For more | ||
| 71 | information, see Statistics | ||
| 72 | (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) | ||
| 73 | in the I<Amazon CloudWatch User Guide>. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 Unit => Str | ||
| 77 | |||
| 78 | The unit of measure used for the CloudWatch metric. For example, | ||
| 79 | C<Bytes>, C<Seconds>, C<Count>, and C<Percent>. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head1 SEE ALSO | ||
| 84 | |||
| 85 | This class forms part of L<Paws>, describing an object used in L<Paws::DevOpsGuru> | ||
| 86 | |||
| 87 | =head1 BUGS and CONTRIBUTIONS | ||
| 88 | |||
| 89 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 90 | |||
| 91 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 92 | |||
| 93 | =cut | ||
| 94 |