@Override
    public GetFunctionResult getFunction(GetFunctionRequest request) {
        request = beforeClientExecution(request);
        return executeGetFunction(request);
    }
<p>
Gets the code of a CloudFront function. To get configuration information and metadata about a function, use
<code>DescribeFunction</code>.
</p>
<p>
To get a function's code, you must provide the function's name and stage. To get these values, you can use
<code>ListFunctions</code>.
</p>

@param getFunctionRequest
@return Result of the GetFunction operation returned by the service.
@throws NoSuchFunctionExistsException
        The function does not exist.
@throws UnsupportedOperationException
        This operation is not supported in this region.
@sample AmazonCloudFront.GetFunction
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFunction" target="_top">AWS API
     Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java