Skip to content

get_dev_endpoints async

get_dev_endpoints(
    *,
    config_overrides: Optional[AsyncGlueClientConfig] = None,
    max_results: Optional[PageSize] = None,
    next_token: Optional[GenericString] = None,
) -> GetDevEndpointsResponse

Retrieves all the development endpoints in this Amazon Web Services account.

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:

  • max_results (Optional[PageSize], default: None ) –

    The maximum size of information to return.

  • next_token (Optional[GenericString], default: None ) –

    A continuation token, if this is a continuation call.

Raises:

Source code in docs_src/capo_glue/_services/async_glue.py
async def get_dev_endpoints(
    self,
    *,
    config_overrides: Optional[AsyncGlueClientConfig] = None,
    max_results: Optional["capo_glue.types.page_size.PageSize"] = None,
    next_token: Optional["capo_glue.types.generic_string.GenericString"] = None,
) -> "capo_glue.types.get_dev_endpoints_response.GetDevEndpointsResponse":
    """<p>Retrieves all the development endpoints in this Amazon Web Services account.</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:
        max_results: <p>The maximum size of information to return.</p>
        next_token: <p>A continuation token, if this is a continuation call.</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.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_glue.types.get_dev_endpoints_request.GetDevEndpointsRequest]",
    ) -> AsyncOperationResponse[
        "capo_glue.types.get_dev_endpoints_response.GetDevEndpointsResponse"
    ]:
        import capo_glue._operations.aws_glue.get_dev_endpoints

        (
            output,
            http_response,
        ) = await capo_glue._operations.aws_glue.get_dev_endpoints.async_get_dev_endpoints(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetDevEndpoints")
    )
    input_: capo_glue.types.get_dev_endpoints_request.GetDevEndpointsRequest = {}
    if max_results is not None:
        input_["max_results"] = max_results
    if next_token is not None:
        input_["next_token"] = next_token

    response = await aexecute_pipeline(
        AsyncOperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    await response.response.aclose()
    return response.output