@SdkInternalApi
    final ListDistributionsByRealtimeLogConfigResult executeListDistributionsByRealtimeLogConfig(
            ListDistributionsByRealtimeLogConfigRequest listDistributionsByRealtimeLogConfigRequest) {

        ExecutionContext executionContext = createExecutionContext(listDistributionsByRealtimeLogConfigRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ListDistributionsByRealtimeLogConfigRequest> request = null;
        Response<ListDistributionsByRealtimeLogConfigResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new ListDistributionsByRealtimeLogConfigRequestMarshaller().marshall(super
                        .beforeMarshalling(listDistributionsByRealtimeLogConfigRequest));
                // 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, "CloudFront");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListDistributionsByRealtimeLogConfig");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

            StaxResponseHandler<ListDistributionsByRealtimeLogConfigResult> responseHandler = new StaxResponseHandler<ListDistributionsByRealtimeLogConfigResult>(
                    new ListDistributionsByRealtimeLogConfigResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Gets a list of distributions that have a cache behavior that's associated with the specified real-time log
configuration.
</p>
<p>
You can specify the real-time log configuration by its name or its Amazon Resource Name (ARN). You must provide
at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to list
distributions for.
</p>
<p>
You can optionally specify the maximum number of items to receive in the response. If the total number of items
in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the
next page of items, send a subsequent request that specifies the <code>NextMarker</code> value from the current
response as the <code>Marker</code> value in the subsequent request.
</p>

@param listDistributionsByRealtimeLogConfigRequest
@return Result of the ListDistributionsByRealtimeLogConfig operation returned by the service.
@throws InvalidArgumentException
        An argument is invalid.
@sample AmazonCloudFront.ListDistributionsByRealtimeLogConfig
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig"
     target="_top">AWS API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java