@SdkInternalApi
    final ListOrganizationRecommendationResourcesResult executeListOrganizationRecommendationResources(
            ListOrganizationRecommendationResourcesRequest listOrganizationRecommendationResourcesRequest) {

        ExecutionContext executionContext = createExecutionContext(listOrganizationRecommendationResourcesRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ListOrganizationRecommendationResourcesRequest> request = null;
        Response<ListOrganizationRecommendationResourcesResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new ListOrganizationRecommendationResourcesRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(listOrganizationRecommendationResourcesRequest));
                // 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, "TrustedAdvisor");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListOrganizationRecommendationResources");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

            HttpResponseHandler<AmazonWebServiceResponse<ListOrganizationRecommendationResourcesResult>> responseHandler = protocolFactory
                    .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
                            new ListOrganizationRecommendationResourcesResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations.
</p>

@param listOrganizationRecommendationResourcesRequest
@return Result of the ListOrganizationRecommendationResources operation returned by the service.
@throws AccessDeniedException
        Exception that access has been denied due to insufficient access
@throws InternalServerException
        Exception to notify that an unexpected internal error occurred during processing of the request
@throws ValidationException
        Exception that the request failed to satisfy service constraints
@throws ResourceNotFoundException
        Exception that the requested resource has not been found
@throws ThrottlingException
        Exception to notify that requests are being throttled
@sample AWSTrustedAdvisor.ListOrganizationRecommendationResources
@see <a
     href="http://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListOrganizationRecommendationResources"
     target="_top">AWS API Documentation</a>
aws-java-sdk-trustedadvisor/src/main/java/com/amazonaws/services/trustedadvisor/AWSTrustedAdvisorClient.java