@SdkInternalApi
    final GetRealtimeLogConfigResult executeGetRealtimeLogConfig(GetRealtimeLogConfigRequest getRealtimeLogConfigRequest) {

        ExecutionContext executionContext = createExecutionContext(getRealtimeLogConfigRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<GetRealtimeLogConfigRequest> request = null;
        Response<GetRealtimeLogConfigResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new GetRealtimeLogConfigRequestMarshaller().marshall(super.beforeMarshalling(getRealtimeLogConfigRequest));
                // 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, "GetRealtimeLogConfig");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

            StaxResponseHandler<GetRealtimeLogConfigResult> responseHandler = new StaxResponseHandler<GetRealtimeLogConfigResult>(
                    new GetRealtimeLogConfigResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Gets a real-time log configuration.
</p>
<p>
To get a real-time log configuration, you can provide the configuration's 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 get.
</p>

@param getRealtimeLogConfigRequest
@return Result of the GetRealtimeLogConfig operation returned by the service.
@throws NoSuchRealtimeLogConfigException
        The real-time log configuration does not exist.
@throws InvalidArgumentException
        An argument is invalid.
@throws AccessDeniedException
        Access denied.
@sample AmazonCloudFront.GetRealtimeLogConfig
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfig"
     target="_top">AWS API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java