@Override
    public DeleteResourcePolicyResult deleteResourcePolicy(DeleteResourcePolicyRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteResourcePolicy(request);
    }
<p>
Deletes a resource policy from the target Amazon Web Services account.
</p>

@param deleteResourcePolicyRequest
@return Result of the DeleteResourcePolicy operation returned by the service.
@throws InvalidRequestException
        The request is missing required parameters or has invalid parameters.
@throws InvalidPolicyRevisionIdException
        A policy revision id was provided which does not match the latest policy revision. This exception is also
        if a policy revision id of 0 is provided via <code>PutResourcePolicy</code> and a policy with the same
        name already exists.
@throws ThrottledException
        The request exceeds the maximum number of requests per second.
@sample AWSXRay.DeleteResourcePolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteResourcePolicy" target="_top">AWS API
     Documentation</a>
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/AWSXRayClient.java