**Describe the situation**

The author implemented it but enabled only for DiskS3.
CC @excitoon 
{
    auto settings = current_settings.get();
    Aws::S3::Model::ListObjectsV2Request request;
    request.SetBucket(source_bucket);
    request.SetPrefix(prefix);
    request.SetMaxKeys(1);
    auto outcome = settings->client->ListObjectsV2(request);
    throwIfError(outcome);
    return !outcome.GetResult().GetContents().empty();
}
bool DiskS3::checkUniqueId(const String & id) const
{
    auto settings = current_settings.get();
    
    
    Aws::S3::Model::ListObjectsV2Request request;
    request.SetBucket(bucket);
    request.SetPrefix(id);
    auto outcome = settings->client->ListObjectsV2(request);
    throwIfError(outcome);
    Aws::Vector<Aws::S3::Model::Object> object_list = outcome.GetResult().GetContents();
    for (const auto & object : object_list)
        if (object.GetKey() == id)
            return true;
    return false;
}
Aws::S3::Model::HeadObjectResult DiskS3::headObject(const String & source_bucket, const String & key) const