@SdkInternalApi
    final DeleteUtterancesResult executeDeleteUtterances(DeleteUtterancesRequest deleteUtterancesRequest) {

        ExecutionContext executionContext = createExecutionContext(deleteUtterancesRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DeleteUtterancesRequest> request = null;
        Response<DeleteUtterancesResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new DeleteUtterancesRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(deleteUtterancesRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Lex Models V2");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteUtterances");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<DeleteUtterancesResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteUtterancesResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Deletes stored utterances.
</p>
<p>
Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the
<a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html">
ListAggregatedUtterances</a> operation, and then stored indefinitely for use in improving the ability of your bot
to respond to user input..
</p>
<p>
Use the <code>DeleteUtterances</code> operation to manually delete utterances for a specific session. When you
use the <code>DeleteUtterances</code> operation, utterances stored for improving your bot's ability to respond to
user input are deleted immediately. Utterances stored for use with the <code>ListAggregatedUtterances</code>
operation are deleted after 15 days.
</p>

@param deleteUtterancesRequest
@return Result of the DeleteUtterances operation returned by the service.
@throws ValidationException
        One of the input parameters in your request isn't valid. Check the parameters and try your request again.
@throws ThrottlingException
        Your request rate is too high. Reduce the frequency of requests.
@throws InternalServerException
        The service encountered an unexpected condition. Try your request again.
@sample AmazonLexModelsV2.DeleteUtterances
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteUtterances" target="_top">AWS
     API Documentation</a>
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/AmazonLexModelsV2Client.java