preparedstatement/src/main/java/software/amazon/athena/preparedstatement/DeleteHandler.java [32:48]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    .translateToServiceRequest(Translator::translateToReadRequest)
                    .makeServiceCall((awsRequest, client) -> {
                        GetPreparedStatementResponse awsResponse = client.injectCredentialsAndInvokeV2(
                            awsRequest, client.client()::getPreparedStatement);
                        logger.log(String.format("%s has successfully been read.", ResourceModel.TYPE_NAME));
                        return awsResponse;
                    })
                    .handleError((awsRequest, exception, client, model, context) -> {
                        if (exception instanceof ResourceNotFoundException) {
                            return ProgressEvent.failed(model, context, HandlerErrorCode.NotFound,
                                exception.getMessage());
                        }
                        throw exception;
                    })
                    .progress()
            )
            .then(progress ->
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



preparedstatement/src/main/java/software/amazon/athena/preparedstatement/UpdateHandler.java [31:47]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    .translateToServiceRequest(Translator::translateToReadRequest)
                    .makeServiceCall((awsRequest, client) -> {
                        GetPreparedStatementResponse awsResponse = client.injectCredentialsAndInvokeV2(
                            awsRequest, client.client()::getPreparedStatement);
                        logger.log(String.format("%s has successfully been read.", ResourceModel.TYPE_NAME));
                        return awsResponse;
                    })
                    .handleError((awsRequest, exception, client, model, context) -> {
                        if (exception instanceof ResourceNotFoundException) { // nothing to delete
                            return ProgressEvent.failed(model, context, HandlerErrorCode.NotFound,
                                exception.getMessage());
                        }
                        throw exception;
                    })
                    .progress()
            )
            .then(progress ->
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



