@Override
    public GetResourcePolicyResult getResourcePolicy(GetResourcePolicyRequest request) {
        request = beforeClientExecution(request);
        return executeGetResourcePolicy(request);
    }
<p>
Retrieves the resource policy for a specified resource.
</p>

@param getResourcePolicyRequest
@return Result of the GetResourcePolicy operation returned by the service.
@throws ResourceNotFoundException
        The specified resource does not exist.
@sample AmazonElasticLoadBalancing.GetResourcePolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/GetResourcePolicy"
     target="_top">AWS API Documentation</a>
aws-java-sdk-elasticloadbalancingv2/src/main/java/com/amazonaws/services/elasticloadbalancingv2/AmazonElasticLoadBalancingClient.java