register_connection_type
async
¶
register_connection_type(
connection_type: NameString,
integration_type: IntegrationType,
connection_properties: ConnectionPropertiesConfiguration,
connector_authentication_configuration: ConnectorAuthenticationConfiguration,
rest_configuration: RestConfiguration,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
description: Optional[Description] = None,
tags: Optional[TagsMap] = None,
) -> RegisterConnectionTypeResponse
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, authentication configuration, and REST configuration with entity definitions. Once registered, customers can create connections using this connection type and work with them the same way as natively supported Glue connectors.
Supports multiple authentication types including Basic, OAuth2 (Client Credentials, JWT Bearer, Authorization Code), and Custom Auth configurations.
Parameters:
-
connection_type(NameString) –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(IntegrationType) –The integration type for the connection. Currently only "REST" protocol is supported.
-
description(Optional[Description], default:None) –A description of the connection type. Can be up to 2048 characters and provides details about the purpose and functionality of the connection type.
-
connection_properties(ConnectionPropertiesConfiguration) –Defines the base URL and additional request parameters needed during connection creation for this connection type.
-
connector_authentication_configuration(ConnectorAuthenticationConfiguration) –Defines the supported authentication types and required properties for this connection type, including Basic, OAuth2, and Custom authentication methods.
-
rest_configuration(RestConfiguration) –Defines the HTTP request and response configuration, validation endpoint, and entity configurations for REST API interactions.
-
tags(Optional[TagsMap], default:None) –The tags you assign to the connection type.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
ValidationException–A value could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 | |