Paws::CloudWatchLogs::DescribeLogGroups - Arguments for method DescribeLogGroups on Paws::CloudWatchLogs


This class represents the parameters used for calling the method DescribeLogGroups on the Amazon CloudWatch Logs service. Use the attributes of this class as arguments to method DescribeLogGroups.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeLogGroups.


    my $logs = Paws->service('CloudWatchLogs');
    my $DescribeLogGroupsResponse = $logs->DescribeLogGroups(
      Limit              => 1,                   # OPTIONAL
      LogGroupNamePrefix => 'MyLogGroupName',    # OPTIONAL
      NextToken          => 'MyNextToken',       # OPTIONAL

    # Results:
    my $LogGroups = $DescribeLogGroupsResponse->LogGroups;
    my $NextToken = $DescribeLogGroupsResponse->NextToken;

    # Returns a L<Paws::CloudWatchLogs::DescribeLogGroupsResponse> object.

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. For the AWS API documentation, see


Limit => Int

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

LogGroupNamePrefix => Str

The prefix to match.

NextToken => Str

The token for the next set of items to return. (You received this token from a previous call.)


This class forms part of Paws, documenting arguments for method DescribeLogGroups in Paws::CloudWatchLogs


The source code is located here:

Please report bugs to: