Glue / Client / list_entities
list_entities#
- Glue.Client.list_entities(**kwargs)#
Returns the available entities supported by the connection type.
See also: AWS API Documentation
Request Syntax
response = client.list_entities( ConnectionName='string', CatalogId='string', ParentEntityName='string', NextToken='string', DataStoreApiVersion='string' )
- Parameters:
ConnectionName (string) – A name for the connection that has required credentials to query any connection type.
CatalogId (string) – The 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.
ParentEntityName (string) – Name of the parent entity for which you want to list the children. This parameter takes a fully-qualified path of the entity in order to list the child entities.
NextToken (string) – A continuation token, included if this is a continuation call.
DataStoreApiVersion (string) – The API version of the SaaS connector.
- Return type:
dict
- Returns:
Response Syntax
{ 'Entities': [ { 'EntityName': 'string', 'Label': 'string', 'IsParentEntity': True|False, 'Description': 'string', 'Category': 'string', 'CustomProperties': { 'string': 'string' } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Entities (list) –
A list of
Entity
objects.(dict) –
An entity supported by a given
ConnectionType
.EntityName (string) –
The name of the entity.
Label (string) –
Label used for the entity.
IsParentEntity (boolean) –
A Boolean value which helps to determine whether there are sub objects that can be listed.
Description (string) –
A description of the entity.
Category (string) –
The type of entities that are present in the response. This value depends on the source connection. For example this is
SObjects
for Salesforce anddatabases
orschemas
ortables
for sources like Amazon Redshift.CustomProperties (dict) –
An optional map of keys which may be returned for an entity by a connector.
(string) –
(string) –
NextToken (string) –
A continuation token, present if the current segment is not the last.
Exceptions
Glue.Client.exceptions.EntityNotFoundException
Glue.Client.exceptions.OperationTimeoutException
Glue.Client.exceptions.InvalidInputException
Glue.Client.exceptions.GlueEncryptionException
Glue.Client.exceptions.ValidationException
Glue.Client.exceptions.FederationSourceException
Glue.Client.exceptions.AccessDeniedException