@Override
    public DeleteAccessPolicyResult deleteAccessPolicy(DeleteAccessPolicyRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteAccessPolicy(request);
    }
<p>
Deletes an OpenSearch Serverless access policy. For more information, see <a
href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-data-access.html">Data
access control for Amazon OpenSearch Serverless</a>.
</p>

@param deleteAccessPolicyRequest
@return Result of the DeleteAccessPolicy operation returned by the service.
@throws InternalServerException
        Thrown when an error internal to the service occurs while processing a request.
@throws ResourceNotFoundException
        Thrown when accessing or deleting a resource that does not exist.
@throws ConflictException
        When creating a resource, thrown when a resource with the same name already exists or is being created.
        When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.
@throws ValidationException
        Thrown when the HTTP request contains invalid input or is missing required input.
@sample AWSOpenSearchServerless.DeleteAccessPolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/DeleteAccessPolicy"
     target="_top">AWS API Documentation</a>
aws-java-sdk-opensearchserverless/src/main/java/com/amazonaws/services/opensearchserverless/AWSOpenSearchServerlessClient.java