Learn R Programming

paws.management (version 0.1.11)

cloudwatchlogs_describe_log_groups: Lists the specified log groups

Description

Lists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name.

Usage

cloudwatchlogs_describe_log_groups(logGroupNamePrefix, nextToken, limit)

Arguments

logGroupNamePrefix

The prefix to match.

nextToken

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

limit

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

Value

A list with the following syntax:

list(
  logGroups = list(
    list(
      logGroupName = "string",
      creationTime = 123,
      retentionInDays = 123,
      metricFilterCount = 123,
      arn = "string",
      storedBytes = 123,
      kmsKeyId = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$describe_log_groups(
  logGroupNamePrefix = "string",
  nextToken = "string",
  limit = 123
)