« blib/lib/Paws/DevOpsGuru/InsightTimeRange.pm
↑ Summary
blib/lib/Paws/DevOpsGuru/ListAnomaliesForInsightResponse.pm »
| 1 | |||
| 2 | package Paws::DevOpsGuru::ListAnomaliesForInsight; | ||
| 3 | use Moose; | ||
| 4 | has InsightId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'InsightId', required => 1); | ||
| 5 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 6 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 7 | has StartTimeRange => (is => 'ro', isa => 'Paws::DevOpsGuru::StartTimeRange'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAnomaliesForInsight'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/anomalies/insight/{InsightId}'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DevOpsGuru::ListAnomaliesForInsightResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::DevOpsGuru::ListAnomaliesForInsight - Arguments for method ListAnomaliesForInsight on L<Paws::DevOpsGuru> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method ListAnomaliesForInsight on the | ||
| 26 | L<Amazon DevOps Guru|Paws::DevOpsGuru> service. Use the attributes of this class | ||
| 27 | as arguments to method ListAnomaliesForInsight. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAnomaliesForInsight. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $devops-guru = Paws->service('DevOpsGuru'); | ||
| 34 | my $ListAnomaliesForInsightResponse = | ||
| 35 | $devops -guru->ListAnomaliesForInsight( | ||
| 36 | InsightId => 'MyInsightId', | ||
| 37 | MaxResults => 1, # OPTIONAL | ||
| 38 | NextToken => 'MyUuidNextToken', # OPTIONAL | ||
| 39 | StartTimeRange => { | ||
| 40 | FromTime => '1970-01-01T01:00:00', # OPTIONAL | ||
| 41 | ToTime => '1970-01-01T01:00:00', # OPTIONAL | ||
| 42 | }, # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $NextToken = $ListAnomaliesForInsightResponse->NextToken; | ||
| 47 | my $ProactiveAnomalies = | ||
| 48 | $ListAnomaliesForInsightResponse->ProactiveAnomalies; | ||
| 49 | my $ReactiveAnomalies = $ListAnomaliesForInsightResponse->ReactiveAnomalies; | ||
| 50 | |||
| 51 | # Returns a L<Paws::DevOpsGuru::ListAnomaliesForInsightResponse> 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/devops-guru/ListAnomaliesForInsight> | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 B<REQUIRED> InsightId => Str | ||
| 60 | |||
| 61 | The ID of the insight. The returned anomalies belong to this insight. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 MaxResults => Int | ||
| 66 | |||
| 67 | The maximum number of results to return with a single call. To retrieve | ||
| 68 | the remaining results, make another call with the returned C<nextToken> | ||
| 69 | value. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 NextToken => Str | ||
| 74 | |||
| 75 | The pagination token to use to retrieve the next page of results for | ||
| 76 | this operation. If this value is null, it retrieves the first page. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 StartTimeRange => L<Paws::DevOpsGuru::StartTimeRange> | ||
| 81 | |||
| 82 | A time range used to specify when the requested anomalies started. All | ||
| 83 | returned anomalies started during this time range. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | This class forms part of L<Paws>, documenting arguments for method ListAnomaliesForInsight in L<Paws::DevOpsGuru> | ||
| 91 | |||
| 92 | =head1 BUGS and CONTRIBUTIONS | ||
| 93 | |||
| 94 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 95 | |||
| 96 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 97 | |||
| 98 | =cut | ||
| 99 |