Skip to main content

experiment_run_events

Creates, updates, deletes, gets or lists an experiment_run_events resource.

Overview

Nameexperiment_run_events
TypeResource
Idaws.appconfig.experiment_run_events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
associated_deploymentstringThe Amazon Resource Name (ARN) of the deployment associated with this event. (pattern: <code>arn:(aws[a-zA-Z-]*)?:[a-z]+:((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1})?:(\d{12})?:[a-zA-Z0-9-_/:.]+</code>)
descriptionstringA description of the event.
event_typestringThe type of event. Valid values: RUN_STARTED, EXPOSURE_UPDATED, OVERRIDES_UPDATED, RUN_STOPPED. (RUN_STARTED, EXPOSURE_UPDATED, OVERRIDES_UPDATED, RUN_STOPPED)
exposure_percentagenumber (float)The exposure percentage at the time of the event.
occurred_atstring (date-time)The date and time the event occurred, in ISO 8601 format.
treatment_overridesobjectThe treatment overrides at the time of the event.
triggered_bystringThe principal that triggered the event. (USER, APPCONFIG, CLOUDWATCH_ALARM, INTERNAL_ERROR)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_experiment_run_eventsselectapplication_identifier, experiment_definition_identifier, run, regionmax_results, next_tokenLists the events for a specified experiment run. Events provide a timeline of actions and state changes that occurred during the run.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
application_identifierstringThe application ID or name.
experiment_definition_identifierstringThe experiment definition ID or name.
regionstringAWS region (default: us-east-1)
runintegerThe run number.
max_resultsintegerThe maximum number of items to return.
next_tokenstringA token to start the list from a previously truncated response.

SELECT examples

Lists the events for a specified experiment run. Events provide a timeline of actions and state changes that occurred during the run.

SELECT
associated_deployment,
description,
event_type,
exposure_percentage,
occurred_at,
treatment_overrides,
triggered_by
FROM aws.appconfig.experiment_run_events
WHERE application_identifier = '{{ application_identifier }}' -- required
AND experiment_definition_identifier = '{{ experiment_definition_identifier }}' -- required
AND run = '{{ run }}' -- required
AND region = '{{ region }}' -- required
AND max_results = '{{ max_results }}'
AND next_token = '{{ next_token }}'
;