« blib/lib/Paws/CloudWatchLogs/DescribeMetricFiltersResponse.pm
↑ Summary
blib/lib/Paws/CloudWatchLogs/DescribeQueriesResponse.pm »
| 1 | |||
| 2 | package Paws::CloudWatchLogs::DescribeQueries; | ||
| 3 | use Moose; | ||
| 4 | has LogGroupName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'logGroupName' ); | ||
| 5 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' ); | ||
| 6 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' ); | ||
| 7 | has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status' ); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeQueries'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudWatchLogs::DescribeQueriesResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::CloudWatchLogs::DescribeQueries - Arguments for method DescribeQueries on L<Paws::CloudWatchLogs> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method DescribeQueries on the | ||
| 25 | L<Amazon CloudWatch Logs|Paws::CloudWatchLogs> service. Use the attributes of this class | ||
| 26 | as arguments to method DescribeQueries. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeQueries. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $logs = Paws->service('CloudWatchLogs'); | ||
| 33 | my $DescribeQueriesResponse = $logs->DescribeQueries( | ||
| 34 | LogGroupName => 'MyLogGroupName', # OPTIONAL | ||
| 35 | MaxResults => 1, # OPTIONAL | ||
| 36 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 37 | Status => 'Scheduled', # OPTIONAL | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $NextToken = $DescribeQueriesResponse->NextToken; | ||
| 42 | my $Queries = $DescribeQueriesResponse->Queries; | ||
| 43 | |||
| 44 | # Returns a L<Paws::CloudWatchLogs::DescribeQueriesResponse> object. | ||
| 45 | |||
| 46 | 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. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/logs/DescribeQueries> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 LogGroupName => Str | ||
| 53 | |||
| 54 | Limits the returned queries to only those for the specified log group. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 MaxResults => Int | ||
| 59 | |||
| 60 | Limits the number of returned queries to the specified number. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 NextToken => Str | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 Status => Str | ||
| 71 | |||
| 72 | Limits the returned queries to only those that have the specified | ||
| 73 | status. Valid values are C<Cancelled>, C<Complete>, C<Failed>, | ||
| 74 | C<Running>, and C<Scheduled>. | ||
| 75 | |||
| 76 | Valid values are: C<"Scheduled">, C<"Running">, C<"Complete">, C<"Failed">, C<"Cancelled">, C<"Timeout">, C<"Unknown"> | ||
| 77 | |||
| 78 | |||
| 79 | =head1 SEE ALSO | ||
| 80 | |||
| 81 | This class forms part of L<Paws>, documenting arguments for method DescribeQueries in L<Paws::CloudWatchLogs> | ||
| 82 | |||
| 83 | =head1 BUGS and CONTRIBUTIONS | ||
| 84 | |||
| 85 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 86 | |||
| 87 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 88 | |||
| 89 | =cut | ||
| 90 |