get_connections
¶
get_connections(
*,
config_overrides: Optional[GlueClientConfig] = 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/glue.py
8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 | |