Returns a list of resource metadata for a given list of development endpoint names. After calling the ListDevEndpoints operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.
Parameters:
-
dev_endpoint_names
(DevEndpointNames)
–
The list of DevEndpoint names, which might be the names returned from the ListDevEndpoint operation.
Raises:
Source code in docs_src/capo_glue/_services/glue.py
| def batch_get_dev_endpoints(
self,
dev_endpoint_names: "capo_glue.types.dev_endpoint_names.DevEndpointNames",
*,
config_overrides: Optional[GlueClientConfig] = None,
) -> (
"capo_glue.types.batch_get_dev_endpoints_response.BatchGetDevEndpointsResponse"
):
"""<p>Returns a list of resource metadata for a given list of development endpoint names. After calling the <code>ListDevEndpoints</code> operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.</p>
Args:
dev_endpoint_names: <p>The list of <code>DevEndpoint</code> names, which might be the names returned from the <code>ListDevEndpoint</code> operation.</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.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.batch_get_dev_endpoints_request.BatchGetDevEndpointsRequest]",
) -> OperationResponse[
"capo_glue.types.batch_get_dev_endpoints_response.BatchGetDevEndpointsResponse"
]:
import capo_glue._operations.aws_glue.batch_get_dev_endpoints
output, http_response = (
capo_glue._operations.aws_glue.batch_get_dev_endpoints.batch_get_dev_endpoints(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("BatchGetDevEndpoints")
)
input_: capo_glue.types.batch_get_dev_endpoints_request.BatchGetDevEndpointsRequest = {
"dev_endpoint_names": dev_endpoint_names
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|