Skip to main content

entities

Creates, updates, deletes, gets or lists an entities resource.

Overview

Nameentities
TypeResource
Idaws.glue.entities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
custom_propertiesobjectOptional map of keys which may be returned.
descriptionstringA description of the field.
field_namestringA unique identifier for the field.
field_typestringThe type of data in the field. (INT, SMALLINT, BIGINT, FLOAT, LONG, DATE, BOOLEAN, MAP, ARRAY, STRING, TIMESTAMP, DECIMAL, BYTE, SHORT, DOUBLE, STRUCT, BINARY, UNION)
is_createablebooleanIndicates whether this field can be created as part of a destination write.
is_default_on_createbooleanIndicates whether this field is populated automatically when the object is created, such as a created at timestamp.
is_filterablebooleanIndicates whether this field can used in a filter clause (WHERE clause) of a SQL statement when querying data.
is_nullablebooleanIndicates whether this field can be nullable or not.
is_partitionablebooleanIndicates whether a given field can be used in partitioning the query made to SaaS.
is_primary_keybooleanIndicates whether this field can used as a primary key for the given entity.
is_retrievablebooleanIndicates whether this field can be added in Select clause of SQL query or whether it is retrievable or not.
is_updateablebooleanIndicates whether this field can be updated as part of a destination write.
is_upsertablebooleanIndicates whether this field can be upserted as part of a destination write.
labelstringA readable label used for the field.
native_data_typestringThe data type returned by the SaaS API, such as “picklist” or “textarea” from Salesforce.
parent_fieldstringA parent field name for a nested field.
supported_filter_operatorsarrayIndicates the support filter operators for this field.
supported_valuesarrayA list of supported values for the field.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_entityselectregionProvides details regarding the entity used with the connection type, with a description of the data model for each field in the selected entity. The response includes all the fields which make up the entity.
list_entitiesselectregionReturns the available entities supported by the connection type.

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

Provides details regarding the entity used with the connection type, with a description of the data model for each field in the selected entity. The response includes all the fields which make up the entity.

SELECT
custom_properties,
description,
field_name,
field_type,
is_createable,
is_default_on_create,
is_filterable,
is_nullable,
is_partitionable,
is_primary_key,
is_retrievable,
is_updateable,
is_upsertable,
label,
native_data_type,
parent_field,
supported_filter_operators,
supported_values
FROM aws.glue.entities
WHERE region = '{{ region }}' -- required
;