@SdkInternalApi
    final ListRumMetricsDestinationsResult executeListRumMetricsDestinations(ListRumMetricsDestinationsRequest listRumMetricsDestinationsRequest) {

        ExecutionContext executionContext = createExecutionContext(listRumMetricsDestinationsRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ListRumMetricsDestinationsRequest> request = null;
        Response<ListRumMetricsDestinationsResult> response = null;

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

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Returns a list of destinations that you have created to receive RUM extended metrics, for the specified app
monitor.
</p>
<p>
For more information about extended metrics, see <a
href="https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_AddRumMetrcs.html">AddRumMetrics</a>.
</p>

@param listRumMetricsDestinationsRequest
@return Result of the ListRumMetricsDestinations operation returned by the service.
@throws ResourceNotFoundException
        Resource not found.
@throws InternalServerException
        Internal service exception.
@throws ValidationException
        One of the arguments for the request is not valid.
@throws AccessDeniedException
        You don't have sufficient permissions to perform this action.
@sample AWSCloudWatchRUM.ListRumMetricsDestinations
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/ListRumMetricsDestinations" target="_top">AWS
     API Documentation</a>
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/AWSCloudWatchRUMClient.java