cloudwatchlogs_describe_log_groups: Lists the specified log groups

Description Usage Arguments Value Request syntax

View source: R/cloudwatchlogs_operations.R

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

1
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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
list(
  logGroups = list(
    list(
      logGroupName = "string",
      creationTime = 123,
      retentionInDays = 123,
      metricFilterCount = 123,
      arn = "string",
      storedBytes = 123,
      kmsKeyId = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

1
2
3
4
5
svc$describe_log_groups(
  logGroupNamePrefix = "string",
  nextToken = "string",
  limit = 123
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.