Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cloudwatchevents_list_archives

Lists your archives


Description

Lists your archives. You can either list all the archives or you can provide a prefix to match to the archive names. Filter parameters are exclusive.

Usage

cloudwatchevents_list_archives(NamePrefix, EventSourceArn, State,
  NextToken, Limit)

Arguments

NamePrefix

A name prefix to filter the archives returned. Only archives with name that match the prefix are returned.

EventSourceArn

The ARN of the event source associated with the archive.

State

The state of the archive.

NextToken

The token returned by a previous call to retrieve the next set of results.

Limit

The maximum number of results to return.

Value

A list with the following syntax:

list(
  Archives = list(
    list(
      ArchiveName = "string",
      EventSourceArn = "string",
      State = "ENABLED"|"DISABLED"|"CREATING"|"UPDATING"|"CREATE_FAILED"|"UPDATE_FAILED",
      StateReason = "string",
      RetentionDays = 123,
      SizeBytes = 123,
      EventCount = 123,
      CreationTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_archives(
  NamePrefix = "string",
  EventSourceArn = "string",
  State = "ENABLED"|"DISABLED"|"CREATING"|"UPDATING"|"CREATE_FAILED"|"UPDATE_FAILED",
  NextToken = "string",
  Limit = 123
)

paws.management

Amazon Web Services Management & Governance Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.