aws.schemas.get_discovered_schema
Example SQL Queries
SELECT * FROMaws.schemas.get_discovered_schemaWHERE"type" = 'VALUE'AND "events" = 'VALUE';Description
Get the discovered schema that was generated based on sampled events.
Table Definition
| Column Name | Column Data Type |
|---|---|
| events Required Input Column An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events. | VARCHAR[] |
Show child fields
| |
| type Required Input Column The type of event. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| content The source of the schema definition. | VARCHAR |