@SdkInternalApi
    final GetImageFrameResult executeGetImageFrame(GetImageFrameRequest getImageFrameRequest) {

        ExecutionContext executionContext = createExecutionContext(getImageFrameRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<GetImageFrameRequest> request = null;
        Response<GetImageFrameResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new GetImageFrameRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getImageFrameRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Medical Imaging");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetImageFrame");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            URI endpointTraitHost = null;
            if (!clientConfiguration.isDisableHostPrefixInjection()) {

                String hostPrefix = "runtime-";
                String resolvedHostPrefix = String.format("runtime-");

                endpointTraitHost = UriResourcePathUtils.updateUriHost(endpoint, resolvedHostPrefix);
            }

            HttpResponseHandler<AmazonWebServiceResponse<GetImageFrameResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(false).withHasStreamingSuccessResponse(true), new GetImageFrameResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext, null, endpointTraitHost);

            request.addHandlerContext(HandlerContextKey.HAS_STREAMING_OUTPUT, Boolean.TRUE);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Get an image frame (pixel data) for an image set.
</p>

@param getImageFrameRequest
@return Result of the GetImageFrame operation returned by the service.
@throws ThrottlingException
        The request was denied due to throttling.
@throws ConflictException
        Updating or deleting a resource can cause an inconsistent state.
@throws AccessDeniedException
        The user does not have sufficient access to perform this action.
@throws ValidationException
        The input fails to satisfy the constraints set by the service.
@throws InternalServerException
        An unexpected error occurred during processing of the request.
@throws ResourceNotFoundException
        The request references a resource which does not exist.
@sample AWSMedicalImaging.GetImageFrame
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/GetImageFrame" target="_top">AWS
     API Documentation</a>
aws-java-sdk-medicalimaging/src/main/java/com/amazonaws/services/medicalimaging/AWSMedicalImagingClient.java