GlueClient.get_connection
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves a connection definition from the Data Catalog.
Install and imports
from rboto import GlueClient
from rboto_glue.types import (
ComputeEnvironment,
GetConnectionOutput,
)
Signature
async def get_connection(
*,
name: str,
catalog_id: str | None = None,
hide_password: bool | None = None,
apply_override_for_compute_environment: ComputeEnvironment | None = None,
) -> GetConnectionOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
name |
Yes | The name of the connection definition to retrieve. |
catalog_id |
No | The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default. |
hide_password |
No | 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. |
apply_override_for_compute_environment |
No | For connections that may be used in multiple services, specifies returning properties for the specified compute environment. |
Output
GetConnectionOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
connection |
ConnectionOutput | None |
Always present | ConnectionOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ComputeEnvironment, GetConnectionOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_glue.exceptions:
EntityNotFoundError, GlueEncryptionError, InvalidInputError, OperationTimeoutError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.