get_connections
async
¶
get_connections(
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
filter: Optional[GetConnectionsFilter] = None,
hide_password: Optional[Boolean] = None,
next_token: Optional[Token] = None,
max_results: Optional[PageSize] = None,
) -> GetConnectionsResponse
Retrieves a list of connection definitions from the Data Catalog.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The ID of the Data Catalog in which the connections reside. If none is provided, the Amazon Web Services account ID is used by default.
-
filter(Optional[GetConnectionsFilter], default:None) –A filter that controls which connections are returned.
-
hide_password(Optional[Boolean], default:None) –Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
-
next_token(Optional[Token], default:None) –A continuation token, if this is a continuation call.
-
max_results(Optional[PageSize], default:None) –The maximum number of connections to return in one response.
Raises:
-
EntityNotFoundException–A specified entity does not exist
-
GlueEncryptionException–An encryption operation failed.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 | |