Skip to main content

fixtures

Creates, updates, deletes, gets or lists a fixtures resource.

Overview

Namefixtures
TypeResource
Idaws.elementalinference.fixtures

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the fixture, as provided by the data source. For example, the names of the two competing teams.
competitorsarrayAn array of the competitors (the teams or individuals) in the fixture.
fixture_groupstringThe group that the fixture belongs to, such as the competition, league, or tournament. The data source doesn't provide this information for every fixture.
fixture_idstringThe ID of the fixture. Specify this ID in the clipping output of a feed, to identify the fixture whose event data you want Elemental Inference to map onto the clipping metadata.
scheduled_startstring (date-time)The scheduled start time of the fixture, as provided by the data source. The actual start time might differ.
statusstringThe status of the fixture in its lifecycle, as provided by the data source. For example, Scheduled or Completed.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
search_fixturesselectregionSearches for the fixtures (sports events, such as a specific basketball game) that are available for a sport in a date window. Each fixture in the response includes a fixtureId that you specify in the clipping output of a feed, so that Elemental Inference maps the event data for that fixture onto the clipping metadata. This operation is paginated: if there are more fixtures than fit in one page, the response includes a nextToken that you pass in a subsequent request.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Searches for the fixtures (sports events, such as a specific basketball game) that are available for a sport in a date window. Each fixture in the response includes a fixtureId that you specify in the clipping output of a feed, so that Elemental Inference maps the event data for that fixture onto the clipping metadata. This operation is paginated: if there are more fixtures than fit in one page, the response includes a nextToken that you pass in a subsequent request.

SELECT
name,
competitors,
fixture_group,
fixture_id,
scheduled_start,
status
FROM aws.elementalinference.fixtures
WHERE region = '{{ region }}' -- required
;