The DescribeConnectionType API provides full details of the supported options for a given connection type in Glue. The response includes authentication configuration details that show supported authentication types and properties, and RestConfiguration for custom REST-based connection types registered via RegisterConnectionType.
See also: ListConnectionTypes, RegisterConnectionType, DeleteConnectionType
Parameters:
-
connection_type
(NameString)
–
The name of the connection type to be described.
Raises:
Source code in docs_src/capo_glue/_services/async_glue.py
| async def describe_connection_type(
self,
connection_type: "capo_glue.types.name_string.NameString",
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
) -> "capo_glue.types.describe_connection_type_response.DescribeConnectionTypeResponse":
"""<p>The <code>DescribeConnectionType</code> API provides full details of the supported options for a given connection type in Glue. The response includes authentication configuration details that show supported authentication types and properties, and RestConfiguration for custom REST-based connection types registered via <code>RegisterConnectionType</code>.</p> <p>See also: <code>ListConnectionTypes</code>, <code>RegisterConnectionType</code>, <code>DeleteConnectionType</code> </p>
Args:
connection_type: <p>The name of the connection type to be described.</p>
Raises:
capo_glue.errors.access_denied_exception.AccessDeniedException: <p>Access to a resource was denied.</p>
capo_glue.errors.internal_service_exception.InternalServiceException: <p>An internal service error occurred.</p>
capo_glue.errors.invalid_input_exception.InvalidInputException: <p>The input provided was not valid.</p>
capo_glue.errors.validation_exception.ValidationException: <p>A value could not be validated.</p>
capo_glue.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_glue.types.describe_connection_type_request.DescribeConnectionTypeRequest]",
) -> AsyncOperationResponse[
"capo_glue.types.describe_connection_type_response.DescribeConnectionTypeResponse"
]:
import capo_glue._operations.aws_glue.describe_connection_type
(
output,
http_response,
) = await capo_glue._operations.aws_glue.describe_connection_type.async_describe_connection_type(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeConnectionType")
)
input_: capo_glue.types.describe_connection_type_request.DescribeConnectionTypeRequest = {
"connection_type": connection_type
}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|