« blib/lib/Paws/ApplicationInsights/ListLogPatternsResponse.pm
↑ Summary
blib/lib/Paws/ApplicationInsights/ListProblemsResponse.pm »
| 1 | |||
| 2 | package Paws::ApplicationInsights::ListProblems; | ||
| 3 | use Moose; | ||
| 4 | has EndTime => (is => 'ro', isa => 'Str'); | ||
| 5 | has MaxResults => (is => 'ro', isa => 'Int'); | ||
| 6 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 7 | has ResourceGroupName => (is => 'ro', isa => 'Str'); | ||
| 8 | has StartTime => (is => 'ro', isa => 'Str'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListProblems'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApplicationInsights::ListProblemsResponse'); | ||
| 14 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::ApplicationInsights::ListProblems - Arguments for method ListProblems on L<Paws::ApplicationInsights> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method ListProblems on the | ||
| 26 | L<Amazon CloudWatch Application Insights|Paws::ApplicationInsights> service. Use the attributes of this class | ||
| 27 | as arguments to method ListProblems. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListProblems. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $applicationinsights = Paws->service('ApplicationInsights'); | ||
| 34 | my $ListProblemsResponse = $applicationinsights->ListProblems( | ||
| 35 | EndTime => '1970-01-01T01:00:00', # OPTIONAL | ||
| 36 | MaxResults => 1, # OPTIONAL | ||
| 37 | NextToken => 'MyPaginationToken', # OPTIONAL | ||
| 38 | ResourceGroupName => 'MyResourceGroupName', # OPTIONAL | ||
| 39 | StartTime => '1970-01-01T01:00:00', # OPTIONAL | ||
| 40 | ); | ||
| 41 | |||
| 42 | # Results: | ||
| 43 | my $NextToken = $ListProblemsResponse->NextToken; | ||
| 44 | my $ProblemList = $ListProblemsResponse->ProblemList; | ||
| 45 | |||
| 46 | # Returns a L<Paws::ApplicationInsights::ListProblemsResponse> object. | ||
| 47 | |||
| 48 | 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. | ||
| 49 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/applicationinsights/ListProblems> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 EndTime => Str | ||
| 55 | |||
| 56 | The time when the problem ended, in epoch seconds. If not specified, | ||
| 57 | problems within the past seven days are returned. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 MaxResults => Int | ||
| 62 | |||
| 63 | The maximum number of results to return in a single call. To retrieve | ||
| 64 | the remaining results, make another call with the returned C<NextToken> | ||
| 65 | value. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 NextToken => Str | ||
| 70 | |||
| 71 | The token to request the next page of results. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 ResourceGroupName => Str | ||
| 76 | |||
| 77 | The name of the resource group. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 StartTime => Str | ||
| 82 | |||
| 83 | The time when the problem was detected, in epoch seconds. If you don't | ||
| 84 | specify a time frame for the request, problems within the past seven | ||
| 85 | days are returned. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head1 SEE ALSO | ||
| 91 | |||
| 92 | This class forms part of L<Paws>, documenting arguments for method ListProblems in L<Paws::ApplicationInsights> | ||
| 93 | |||
| 94 | =head1 BUGS and CONTRIBUTIONS | ||
| 95 | |||
| 96 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 97 | |||
| 98 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 99 | |||
| 100 | =cut | ||
| 101 |