« blib/lib/Paws/XRay/GetInsightResult.pm
↑ Summary
blib/lib/Paws/XRay/GetInsightSummariesResult.pm »
| 1 | |||
| 2 | package Paws::XRay::GetInsightSummaries; | ||
| 3 | use Moose; | ||
| 4 | has EndTime => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has GroupARN => (is => 'ro', isa => 'Str'); | ||
| 6 | has GroupName => (is => 'ro', isa => 'Str'); | ||
| 7 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 8 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 9 | has StartTime => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | has States => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetInsightSummaries'); | ||
| 15 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/InsightSummaries'); | ||
| 16 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 17 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::XRay::GetInsightSummariesResult'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::XRay::GetInsightSummaries - Arguments for method GetInsightSummaries on L<Paws::XRay> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method GetInsightSummaries on the | ||
| 29 | L<AWS X-Ray|Paws::XRay> service. Use the attributes of this class | ||
| 30 | as arguments to method GetInsightSummaries. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetInsightSummaries. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $xray = Paws->service('XRay'); | ||
| 37 | my $GetInsightSummariesResult = $xray->GetInsightSummaries( | ||
| 38 | EndTime => '1970-01-01T01:00:00', | ||
| 39 | StartTime => '1970-01-01T01:00:00', | ||
| 40 | GroupARN => 'MyGroupARN', # OPTIONAL | ||
| 41 | GroupName => 'MyGroupName', # OPTIONAL | ||
| 42 | MaxResults => 1, # OPTIONAL | ||
| 43 | NextToken => 'MyToken', # OPTIONAL | ||
| 44 | States => [ | ||
| 45 | 'ACTIVE', ... # values: ACTIVE, CLOSED | ||
| 46 | ], # OPTIONAL | ||
| 47 | ); | ||
| 48 | |||
| 49 | # Results: | ||
| 50 | my $InsightSummaries = $GetInsightSummariesResult->InsightSummaries; | ||
| 51 | my $NextToken = $GetInsightSummariesResult->NextToken; | ||
| 52 | |||
| 53 | # Returns a L<Paws::XRay::GetInsightSummariesResult> object. | ||
| 54 | |||
| 55 | 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. | ||
| 56 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/xray/GetInsightSummaries> | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> EndTime => Str | ||
| 62 | |||
| 63 | The end of the time frame in which the insights ended. The end time | ||
| 64 | can't be more than 30 days old. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 GroupARN => Str | ||
| 69 | |||
| 70 | The Amazon Resource Name (ARN) of the group. Required if the GroupName | ||
| 71 | isn't provided. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 GroupName => Str | ||
| 76 | |||
| 77 | The name of the group. Required if the GroupARN isn't provided. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 MaxResults => Int | ||
| 82 | |||
| 83 | The maximum number of results to display. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head2 NextToken => Str | ||
| 88 | |||
| 89 | Pagination token. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 B<REQUIRED> StartTime => Str | ||
| 94 | |||
| 95 | The beginning of the time frame in which the insights started. The | ||
| 96 | start time can't be more than 30 days old. | ||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | =head2 States => ArrayRef[Str|Undef] | ||
| 101 | |||
| 102 | The list of insight states. | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | =head1 SEE ALSO | ||
| 108 | |||
| 109 | This class forms part of L<Paws>, documenting arguments for method GetInsightSummaries in L<Paws::XRay> | ||
| 110 | |||
| 111 | =head1 BUGS and CONTRIBUTIONS | ||
| 112 | |||
| 113 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 114 | |||
| 115 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 116 | |||
| 117 | =cut | ||
| 118 |