Skip to content

RequestWidgetDict

Dictionary Type

RequestWidgetDict

Bases: TypedDict

Dictionary form of RequestWidget.

Attributes

query_parameters instance-attribute
query_parameters: Sequence[str] | None

The optional query parameters. The following query parameters are valid: $StartTime$, $EndTime$, and $Period$.

query_statement instance-attribute
query_statement: Required[str]

The query statement for the widget. For custom dashboard widgets, you can query across multiple event data stores as long as all event data stores exist in your account.

Note

When a query uses ? with eventTime, ? must be surrounded by single quotes as follows: '?'.

view_properties instance-attribute
view_properties: Required[Mapping[str, str]]

The view properties for the widget. For more information about view properties, see View properties for widgets in the CloudTrail User Guide.