cloudtrail_list_queries: Returns a list of queries and query statuses for the past...

View source: R/cloudtrail_operations.R

cloudtrail_list_queriesR Documentation

Returns a list of queries and query statuses for the past seven days

Description

Returns a list of queries and query statuses for the past seven days. You must specify an ARN value for EventDataStore. Optionally, to shorten the list of results, you can specify a time range, formatted as timestamps, by adding StartTime and EndTime parameters, and a QueryStatus value. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.

See https://www.paws-r-sdk.com/docs/cloudtrail_list_queries/ for full documentation.

Usage

cloudtrail_list_queries(
  EventDataStore,
  NextToken = NULL,
  MaxResults = NULL,
  StartTime = NULL,
  EndTime = NULL,
  QueryStatus = NULL
)

Arguments

EventDataStore

[required] The ARN (or the ID suffix of the ARN) of an event data store on which queries were run.

NextToken

A token you can use to get the next page of results.

MaxResults

The maximum number of queries to show on a page.

StartTime

Use with EndTime to bound a list_queries request, and limit its results to only those queries run within a specified time period.

EndTime

Use with StartTime to bound a list_queries request, and limit its results to only those queries run within a specified time period.

QueryStatus

The status of queries that you want to return in results. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.


paws.management documentation built on Sept. 12, 2023, 1:06 a.m.