Retrieves information about a specified development endpoint.
When you create a development endpoint in a virtual private cloud (VPC), Glue returns only a private IP address, and the public IP address field is not populated. When you create a non-VPC development endpoint, Glue returns only a public IP address.
Parameters:
-
endpoint_name
(GenericString)
–
Name of the DevEndpoint to retrieve information for.
Raises:
Source code in docs_src/capo_glue/_services/glue.py
| def get_dev_endpoint(
self,
endpoint_name: "capo_glue.types.generic_string.GenericString",
*,
config_overrides: Optional[GlueClientConfig] = None,
) -> "capo_glue.types.get_dev_endpoint_response.GetDevEndpointResponse":
"""<p>Retrieves information about a specified development endpoint.</p> <note> <p>When you create a development endpoint in a virtual private cloud (VPC), Glue returns only a private IP address, and the public IP address field is not populated. When you create a non-VPC development endpoint, Glue returns only a public IP address.</p> </note>
Args:
endpoint_name: <p>Name of the <code>DevEndpoint</code> to retrieve information for.</p>
Raises:
capo_glue.errors.entity_not_found_exception.EntityNotFoundException: <p>A specified entity does not exist</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.operation_timeout_exception.OperationTimeoutException: <p>The operation timed out.</p>
capo_glue.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_glue.types.get_dev_endpoint_request.GetDevEndpointRequest]",
) -> OperationResponse[
"capo_glue.types.get_dev_endpoint_response.GetDevEndpointResponse"
]:
import capo_glue._operations.aws_glue.get_dev_endpoint
output, http_response = (
capo_glue._operations.aws_glue.get_dev_endpoint.get_dev_endpoint(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetDevEndpoint")
)
input_: capo_glue.types.get_dev_endpoint_request.GetDevEndpointRequest = {
"endpoint_name": endpoint_name
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|