« blib/lib/Paws/Connect/HierarchyStructureUpdate.pm
↑ Summary
blib/lib/Paws/Connect/HistoricalMetricData.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Connect::HistoricalMetric; | ||
| 3 | use Moose; | ||
| 4 | has Name => (is => 'ro', isa => 'Str'); | ||
| 5 | has Statistic => (is => 'ro', isa => 'Str'); | ||
| 6 | has Threshold => (is => 'ro', isa => 'Paws::Connect::Threshold'); | ||
| 7 | has Unit => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::Connect::HistoricalMetric | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::Connect::HistoricalMetric object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Name => $value, ..., Unit => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::Connect::HistoricalMetric object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Name | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Contains information about a historical metric. For a description of | ||
| 40 | each metric, see Historical Metrics Definitions | ||
| 41 | (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html) | ||
| 42 | in the I<Amazon Connect Administrator Guide>. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 Name => Str | ||
| 48 | |||
| 49 | The name of the metric. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Statistic => Str | ||
| 53 | |||
| 54 | The statistic for the metric. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 Threshold => L<Paws::Connect::Threshold> | ||
| 58 | |||
| 59 | The threshold for the metric, used with service level metrics. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 Unit => Str | ||
| 63 | |||
| 64 | The unit for the metric. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head1 SEE ALSO | ||
| 69 | |||
| 70 | This class forms part of L<Paws>, describing an object used in L<Paws::Connect> | ||
| 71 | |||
| 72 | =head1 BUGS and CONTRIBUTIONS | ||
| 73 | |||
| 74 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 75 | |||
| 76 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 77 | |||
| 78 | =cut | ||
| 79 |