This API is used to query preview data from a given connection type or from a native Amazon S3 based Glue Data Catalog¶
Description¶
This API is used to query preview data from a given connection type or from a native Amazon S3 based Glue Data Catalog.
Returns records as an array of JSON blobs. Each record is formatted using Jackson JsonNode based on the field type defined by the describe_entity API.
Spark connectors generate schemas according to the same data type mapping as in the describe_entity API. Spark connectors convert data to the appropriate data types matching the schema when returning rows.
Usage¶
glue_get_entity_records(ConnectionName, CatalogId, EntityName,
NextToken, DataStoreApiVersion, ConnectionOptions, FilterPredicate,
Limit, OrderBy, SelectedFields)
Arguments¶
-
ConnectionNameThe name of the connection that contains the connection type credentials.
-
CatalogIdThe catalog ID of the catalog that contains the connection. This can be null, By default, the Amazon Web Services Account ID is the catalog ID.
-
EntityName[required] Name of the entity that we want to query the preview data from the given connection type.
-
NextTokenA continuation token, included if this is a continuation call.
-
DataStoreApiVersionThe API version of the SaaS connector.
-
ConnectionOptionsConnector options that are required to query the data.
-
FilterPredicateA filter predicate that you can apply in the query request.
-
Limit[required] Limits the number of records fetched with the request.
-
OrderByA parameter that orders the response preview data.
-
SelectedFieldsList of fields that we want to fetch as part of preview data.
Value¶
A list with the following syntax: