describe_entity
async
¶
describe_entity(
connection_name: NameString,
entity_name: EntityName,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
next_token: Optional[NextToken] = None,
data_store_api_version: Optional[ApiVersion] = None,
) -> DescribeEntityResponse
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.
Parameters:
-
connection_name(NameString) –The name of the connection that contains the connection type credentials.
-
catalog_id(Optional[CatalogIdString], default:None) –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.
-
entity_name(EntityName) –The name of the entity that you want to describe from the connection type.
-
next_token(Optional[NextToken], default:None) –A continuation token, included if this is a continuation call.
-
data_store_api_version(Optional[ApiVersion], default:None) –The version of the API used for the data store.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
EntityNotFoundException–A specified entity does not exist
-
FederationSourceException–A federation source failed.
-
GlueEncryptionException–An encryption operation failed.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
ValidationException–A value could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 | |