discovered_schemas
Creates, updates, deletes, gets or lists a discovered_schemas resource.
Overview
| Name | discovered_schemas |
| Type | Resource |
| Id | aws.schemas.discovered_schemas |
Fields
The following fields are returned by SELECT queries:
- get_discovered_schema
| Name | Datatype | Description |
|---|---|---|
content | string | The source of the schema definition. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_discovered_schema | select | region | Get the discovered schema that was generated based on sampled events. |
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
- get_discovered_schema
Get the discovered schema that was generated based on sampled events.
SELECT
content
FROM aws.schemas.discovered_schemas
WHERE region = '{{ region }}' -- required
;