Skip to content

get_proxy_update

get_proxy_update(
    proxy_identifier: ProxyIdentifier,
    update_identifier: ProxyUpdateIdentifier,
    *,
    config_overrides: Optional[ELBProxyClientConfig] = None,
) -> GetProxyUpdateResponse

Retrieves information about the specified proxy update.

Parameters:

Raises:

Examples:

To get information about a proxy update The following example gets information about the specified update for the specified proxy. The configuration is valid and was applied to all proxy nodes.

>>> client.get_proxy_update(proxy_identifier='arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef', update_identifier='a1b2c3d4-5678-90ab-cdef-EXAMPLE11111')
Source code in docs_src/capo_elb_proxy/_services/elb_proxy.py
def get_proxy_update(
    self,
    proxy_identifier: "capo_elb_proxy.types.proxy_identifier.ProxyIdentifier",
    update_identifier: "capo_elb_proxy.types.proxy_update_identifier.ProxyUpdateIdentifier",
    *,
    config_overrides: Optional[ELBProxyClientConfig] = None,
) -> "capo_elb_proxy.types.get_proxy_update_response.GetProxyUpdateResponse":
    """Retrieves information about the specified proxy update.

    Args:
        proxy_identifier: The Amazon Resource Name (ARN) of the proxy.
        update_identifier: The ID of the update.

    Raises:
        capo_elb_proxy.errors.internal_server_exception.InternalServerException: An unexpected error occurred while processing the request.
        capo_elb_proxy.errors.throttling_exception.ThrottlingException: The limit on the number of requests per second was exceeded.
        capo_elb_proxy.errors.access_denied_exception.AccessDeniedException: The user does not have sufficient access to perform this action.
        capo_elb_proxy.errors.resource_not_found_exception.ResourceNotFoundException: The request references a resource that does not exist.
        capo_elb_proxy.errors.validation_exception.ValidationException: The input does not satisfy the constraints specified by an AWS service.
        capo_elb_proxy.errors.UnknownServiceError: The service returned an error code this client does not model.

    Examples:
        To get information about a proxy update
        The following example gets information about the specified update for the specified proxy. The configuration is valid and was applied to all proxy nodes.

        >>> client.get_proxy_update(proxy_identifier='arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef', update_identifier='a1b2c3d4-5678-90ab-cdef-EXAMPLE11111')
    """

    def _handler(
        req: "OperationRequest[capo_elb_proxy.types.get_proxy_update_request.GetProxyUpdateRequest]",
    ) -> OperationResponse[
        "capo_elb_proxy.types.get_proxy_update_response.GetProxyUpdateResponse"
    ]:
        import capo_elb_proxy._operations.elb_proxy.get_proxy_update

        output, http_response = (
            capo_elb_proxy._operations.elb_proxy.get_proxy_update.get_proxy_update(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetProxyUpdate")
    )
    input_: capo_elb_proxy.types.get_proxy_update_request.GetProxyUpdateRequest = {
        "proxy_identifier": proxy_identifier,
        "update_identifier": update_identifier,
    }

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output