« blib/lib/Paws/LookoutMetrics/ListAnomalyGroupSummariesResponse.pm
↑ Summary
blib/lib/Paws/LookoutMetrics/ListAnomalyGroupTimeSeriesResponse.pm »
| 1 | |||
| 2 | package Paws::LookoutMetrics::ListAnomalyGroupTimeSeries; | ||
| 3 | use Moose; | ||
| 4 | has AnomalyDetectorArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has AnomalyGroupId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 7 | has MetricName => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAnomalyGroupTimeSeries'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/ListAnomalyGroupTimeSeries'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LookoutMetrics::ListAnomalyGroupTimeSeriesResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::LookoutMetrics::ListAnomalyGroupTimeSeries - Arguments for method ListAnomalyGroupTimeSeries on L<Paws::LookoutMetrics> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method ListAnomalyGroupTimeSeries on the | ||
| 27 | L<Amazon Lookout for Metrics|Paws::LookoutMetrics> service. Use the attributes of this class | ||
| 28 | as arguments to method ListAnomalyGroupTimeSeries. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAnomalyGroupTimeSeries. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $lookoutmetrics = Paws->service('LookoutMetrics'); | ||
| 35 | my $ListAnomalyGroupTimeSeriesResponse = | ||
| 36 | $lookoutmetrics->ListAnomalyGroupTimeSeries( | ||
| 37 | AnomalyDetectorArn => 'MyArn', | ||
| 38 | AnomalyGroupId => 'MyUUID', | ||
| 39 | MetricName => 'MyMetricName', | ||
| 40 | MaxResults => 1, # OPTIONAL | ||
| 41 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 42 | ); | ||
| 43 | |||
| 44 | # Results: | ||
| 45 | my $AnomalyGroupId = $ListAnomalyGroupTimeSeriesResponse->AnomalyGroupId; | ||
| 46 | my $MetricName = $ListAnomalyGroupTimeSeriesResponse->MetricName; | ||
| 47 | my $NextToken = $ListAnomalyGroupTimeSeriesResponse->NextToken; | ||
| 48 | my $TimeSeriesList = $ListAnomalyGroupTimeSeriesResponse->TimeSeriesList; | ||
| 49 | my $TimestampList = $ListAnomalyGroupTimeSeriesResponse->TimestampList; | ||
| 50 | |||
| 51 | # Returns a L<Paws::LookoutMetrics::ListAnomalyGroupTimeSeriesResponse> object. | ||
| 52 | |||
| 53 | 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. | ||
| 54 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics/ListAnomalyGroupTimeSeries> | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 B<REQUIRED> AnomalyDetectorArn => Str | ||
| 60 | |||
| 61 | The Amazon Resource Name (ARN) of the anomaly detector. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> AnomalyGroupId => Str | ||
| 66 | |||
| 67 | The ID of the anomaly group. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 MaxResults => Int | ||
| 72 | |||
| 73 | The maximum number of results to return. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 B<REQUIRED> MetricName => Str | ||
| 78 | |||
| 79 | The name of the measure field. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 NextToken => Str | ||
| 84 | |||
| 85 | Specify the pagination token that's returned by a previous request to | ||
| 86 | retrieve the next page of results. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head1 SEE ALSO | ||
| 92 | |||
| 93 | This class forms part of L<Paws>, documenting arguments for method ListAnomalyGroupTimeSeries in L<Paws::LookoutMetrics> | ||
| 94 | |||
| 95 | =head1 BUGS and CONTRIBUTIONS | ||
| 96 | |||
| 97 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 98 | |||
| 99 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 100 | |||
| 101 | =cut | ||
| 102 |