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.
>>> await 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/async_elb_proxy.py
| async 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[AsyncELBProxyClientConfig] = 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.
>>> await client.get_proxy_update(proxy_identifier='arn:aws:elasticloadbalancing:us-east-1:123456789012:proxy/my-proxy:0123456789abcdef', update_identifier='a1b2c3d4-5678-90ab-cdef-EXAMPLE11111')
"""
async def _handler(
req: "AsyncOperationRequest[capo_elb_proxy.types.get_proxy_update_request.GetProxyUpdateRequest]",
) -> AsyncOperationResponse[
"capo_elb_proxy.types.get_proxy_update_response.GetProxyUpdateResponse"
]:
import capo_elb_proxy._operations.elb_proxy.get_proxy_update
(
output,
http_response,
) = await capo_elb_proxy._operations.elb_proxy.get_proxy_update.async_get_proxy_update(
req.options, req.input
)
return AsyncOperationResponse(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 = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|