@Override
    public DeleteResourcePolicyResult deleteResourcePolicy(DeleteResourcePolicyRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteResourcePolicy(request);
    }
<p>
Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex
returns an exception.
</p>

@param deleteResourcePolicyRequest
@return Result of the DeleteResourcePolicy operation returned by the service.
@throws ResourceNotFoundException
        You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
        again.
@throws PreconditionFailedException
        Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
        your request and try again.
@throws InternalServerException
        The service encountered an unexpected condition. Try your request again.
@throws ThrottlingException
        Your request rate is too high. Reduce the frequency of requests.
@sample AmazonLexModelsV2.DeleteResourcePolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteResourcePolicy"
     target="_top">AWS API Documentation</a>
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/AmazonLexModelsV2Client.java