GlueClient.register_connection_type
rboto-glue==0.4.0 · Service index · Types
Model summary (excerpt): Registers a custom connection type in Glue based on the configuration provided. This operation enables customers to configure custom connectors for any data source with REST-based APIs, eliminating the need for building custom Lambda connectors. The registered connection type stores details about how requests and responses are interpreted by REST sources, including connection properties,...
Install and imports
from rboto import GlueClient
from rboto_glue.types import (
ConnectionPropertiesConfiguration,
ConnectorAuthenticationConfiguration,
IntegrationType,
RegisterConnectionTypeOutput,
RestConfiguration,
)
Signature
async def register_connection_type(
*,
connection_type: str,
integration_type: IntegrationType,
connection_properties: ConnectionPropertiesConfiguration,
connector_authentication_configuration: ConnectorAuthenticationConfiguration,
rest_configuration: RestConfiguration,
description: str | None = None,
tags: dict[str, str] | None = None,
) -> RegisterConnectionTypeOutput: ...
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) |
|---|---|---|
connection_type |
Yes | The name of the connection type. Must be between 1 and 255 characters and must be prefixed with "REST-" to indicate it is a REST-based connector. |
integration_type |
Yes | The integration type for the connection. Currently only "REST" protocol is supported. |
connection_properties |
Yes | Defines the base URL and additional request parameters needed during connection creation for this connection type. |
connector_authentication_configuration |
Yes | Defines the supported authentication types and required properties for this connection type, including Basic, OAuth2, and Custom authentication methods. |
rest_configuration |
Yes | Defines the HTTP request and response configuration, validation endpoint, and entity configurations for REST API interactions. |
description |
No | A description of the connection type. Can be up to 2048 characters and provides details about the purpose and functionality of the connection type. |
tags |
No | The tags you assign to the connection type. |
Output
RegisterConnectionTypeOutput.
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_type_arn |
str | None |
Always present | — |
| 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
ConnectionPropertiesConfiguration, ConnectorAuthenticationConfiguration, IntegrationType, RegisterConnectionTypeOutput, RestConfiguration
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:
AccessDeniedError, InternalServiceError, InvalidInputError, OperationTimeoutError, ResourceNumberLimitExceededError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.