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
8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 | |