« blib/lib/Paws/CloudWatchLogs/DescribeExportTasksResponse.pm
↑ Summary
blib/lib/Paws/CloudWatchLogs/DescribeMetricFiltersResponse.pm »
| 1 | |||
| 2 | package Paws::CloudWatchLogs::DescribeMetricFilters; | ||
| 3 | use Moose; | ||
| 4 | has FilterNamePrefix => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'filterNamePrefix' ); | ||
| 5 | has Limit => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'limit' ); | ||
| 6 | has LogGroupName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'logGroupName' ); | ||
| 7 | has MetricName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'metricName' ); | ||
| 8 | has MetricNamespace => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'metricNamespace' ); | ||
| 9 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' ); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeMetricFilters'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudWatchLogs::DescribeMetricFiltersResponse'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::CloudWatchLogs::DescribeMetricFilters - Arguments for method DescribeMetricFilters on L<Paws::CloudWatchLogs> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method DescribeMetricFilters on the | ||
| 27 | L<Amazon CloudWatch Logs|Paws::CloudWatchLogs> service. Use the attributes of this class | ||
| 28 | as arguments to method DescribeMetricFilters. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeMetricFilters. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $logs = Paws->service('CloudWatchLogs'); | ||
| 35 | my $DescribeMetricFiltersResponse = $logs->DescribeMetricFilters( | ||
| 36 | FilterNamePrefix => 'MyFilterName', # OPTIONAL | ||
| 37 | Limit => 1, # OPTIONAL | ||
| 38 | LogGroupName => 'MyLogGroupName', # OPTIONAL | ||
| 39 | MetricName => 'MyMetricName', # OPTIONAL | ||
| 40 | MetricNamespace => 'MyMetricNamespace', # OPTIONAL | ||
| 41 | NextToken => 'MyNextToken', # OPTIONAL | ||
| 42 | ); | ||
| 43 | |||
| 44 | # Results: | ||
| 45 | my $MetricFilters = $DescribeMetricFiltersResponse->MetricFilters; | ||
| 46 | my $NextToken = $DescribeMetricFiltersResponse->NextToken; | ||
| 47 | |||
| 48 | # Returns a L<Paws::CloudWatchLogs::DescribeMetricFiltersResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/logs/DescribeMetricFilters> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 FilterNamePrefix => Str | ||
| 57 | |||
| 58 | The prefix to match. CloudWatch Logs uses the value you set here only | ||
| 59 | if you also include the C<logGroupName> parameter in your request. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 Limit => Int | ||
| 64 | |||
| 65 | The maximum number of items returned. If you don't specify a value, the | ||
| 66 | default is up to 50 items. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 LogGroupName => Str | ||
| 71 | |||
| 72 | The name of the log group. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 MetricName => Str | ||
| 77 | |||
| 78 | Filters results to include only those with the specified metric name. | ||
| 79 | If you include this parameter in your request, you must also include | ||
| 80 | the C<metricNamespace> parameter. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 MetricNamespace => Str | ||
| 85 | |||
| 86 | Filters results to include only those in the specified namespace. If | ||
| 87 | you include this parameter in your request, you must also include the | ||
| 88 | C<metricName> parameter. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head2 NextToken => Str | ||
| 93 | |||
| 94 | The token for the next set of items to return. (You received this token | ||
| 95 | from a previous call.) | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | =head1 SEE ALSO | ||
| 101 | |||
| 102 | This class forms part of L<Paws>, documenting arguments for method DescribeMetricFilters in L<Paws::CloudWatchLogs> | ||
| 103 | |||
| 104 | =head1 BUGS and CONTRIBUTIONS | ||
| 105 | |||
| 106 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 107 | |||
| 108 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 109 | |||
| 110 | =cut | ||
| 111 |