Skip to content

Start Dashboard Refresh

cloudtrail_start_dashboard_refresh R Documentation

Starts a refresh of the specified dashboard

Description

Starts a refresh of the specified dashboard.

Each time a dashboard is refreshed, CloudTrail runs queries to populate the dashboard's widgets. CloudTrail must be granted permissions to run the start_query operation on your behalf. To provide permissions, run the put_resource_policy operation to attach a resource-based policy to each event data store. For more information, see Example: Allow CloudTrail to run queries to populate a dashboard in the CloudTrail User Guide.

Usage

cloudtrail_start_dashboard_refresh(DashboardId, QueryParameterValues)

Arguments

DashboardId

[required] The name or ARN of the dashboard.

QueryParameterValues

The query parameter values for the dashboard

For custom dashboards, the following query parameters are valid: ⁠$StartTime$⁠, ⁠$EndTime$⁠, and ⁠$Period$⁠.

For managed dashboards, the following query parameters are valid: ⁠$StartTime$⁠, ⁠$EndTime$⁠, ⁠$Period$⁠, and ⁠$EventDataStoreId$⁠. The ⁠$EventDataStoreId$⁠ query parameter is required.

Value

A list with the following syntax:

list(
  RefreshId = "string"
)

Request syntax

svc$start_dashboard_refresh(
  DashboardId = "string",
  QueryParameterValues = list(
    "string"
  )
)