code: @Override
      public DeleteResourcePolicyResult deleteResourcePolicy(DeleteResourcePolicyRequest request) {
          request = beforeClientExecution(request);
          return executeDeleteResourcePolicy(request);
      }
docs: <p>
  Deletes the resource-based permission policy that's attached to the secret.
  </p>
  <p>
  <b>Minimum permissions</b>
  </p>
  <p>
  To run this command, you must have the following permissions:
  </p>
  <ul>
  <li>
  <p>
  secretsmanager:DeleteResourcePolicy
  </p>
  </li>
  </ul>
  <p>
  <b>Related operations</b>
  </p>
  <ul>
  <li>
  <p>
  To attach a resource policy to a secret, use <a>PutResourcePolicy</a>.
  </p>
  </li>
  <li>
  <p>
  To retrieve the current resource-based policy that's attached to a secret, use <a>GetResourcePolicy</a>.
  </p>
  </li>
  <li>
  <p>
  To list all of the currently available secrets, use <a>ListSecrets</a>.
  </p>
  </li>
  </ul>
  
  @param deleteResourcePolicyRequest
  @return Result of the DeleteResourcePolicy operation returned by the service.
  @throws ResourceNotFoundException
  We can't find the resource that you asked for.
  @throws InternalServiceErrorException
  An error occurred on the server side.
  @throws InvalidRequestException
  You provided a parameter value that is not valid for the current state of the resource.</p>
  <p>
  Possible causes:
  </p>
  <ul>
  <li>
  <p>
  You tried to perform the operation on a secret that's currently marked deleted.
  </p>
  </li>
  <li>
  <p>
  You tried to enable rotation on a secret that doesn't already have a Lambda function ARN configured and
  you didn't include such an ARN as a parameter in this call.
  </p>
  </li>
  @sample AWSSecretsManager.DeleteResourcePolicy
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DeleteResourcePolicy"
  target="_top">AWS API Documentation</a>