Task Description
In previous version of the AWS SDK v2 it was not possible to use a single request to put an object if the key did not exist.
With version 2.28+ you can use PutObjectRequest.html#ifNoneMatch which would return a non 200 status code when there is an existing key.
If this works out it would improve the performance of the library as it would not be doing:
- Head request to check if the object exists
- Put request to actually add the object
Instead we'll be doing just one PUT request and handle the status code.
Tasks
The following tasks will need to be carried out:
Task Relationships
This task:
- Is a sub-task of: #
- Depends on: #
- Is a follow-up of: #
- Relates to: #
Useful Links
Help
Task Description
In previous version of the AWS SDK v2 it was not possible to use a single request to put an object if the key did not exist.
With version 2.28+ you can use PutObjectRequest.html#ifNoneMatch which would return a non 200 status code when there is an existing key.
If this works out it would improve the performance of the library as it would not be doing:
Instead we'll be doing just one
PUTrequest and handle thestatus code.Tasks
The following tasks will need to be carried out:
Task Relationships
This task:
Useful Links
Help