Skip to content

Returns a list of metric streams in this account

Description

Returns a list of metric streams in this account.

Usage

cloudwatch_list_metric_streams(NextToken, MaxResults)

Arguments

  • NextToken

    Include this value, if it was returned by the previous call, to get the next set of metric streams.

  • MaxResults

    The maximum number of results to return in one operation.

Value

A list with the following syntax:

list(
  NextToken = "string",
  Entries = list(
    list(
      Arn = "string",
      CreationDate = as.POSIXct(
        "2015-01-01"
      ),
      LastUpdateDate = as.POSIXct(
        "2015-01-01"
      ),
      Name = "string",
      FirehoseArn = "string",
      State = "string",
      OutputFormat = "json"|"opentelemetry0.7"|"opentelemetry1.0"
    )
  )
)

Request syntax

svc$list_metric_streams(
  NextToken = "string",
  MaxResults = 123
)