I use the S3 SDK CPP and have the following cenario:
- I get some information sent from a client to my server (client wants to download from S3)
- With the information sent I create a S3 key
- I want to check if the key exists (has a file) on the S3
- I create a presigned URL that allows the client to download a file from S3
- Send URL to client
- Client downloads the file
Before I execute step 4 I want to check if the key really exists on the S3. The client can't download a file that does not exist anyway.
I have an AWS::S3Client
object. Do I really need to create a TransferManager for this or is there a simple way to handle this with the client object?
The client itself does not have a relation to S3 so I can't check it there. The server has to do all the work.