fixtures
Creates, updates, deletes, gets or lists a fixtures resource.
Overview
| Name | fixtures |
| Type | Resource |
| Id | aws.elementalinference.fixtures |
Fields
The following fields are returned by SELECT queries:
- search_fixtures
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the fixture, as provided by the data source. For example, the names of the two competing teams. |
competitors | array | An array of the competitors (the teams or individuals) in the fixture. |
fixture_group | string | The 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_id | string | The 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_start | string (date-time) | The scheduled start time of the fixture, as provided by the data source. The actual start time might differ. |
status | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
search_fixtures | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- search_fixtures
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
;