Closed ffxsam closed 7 years ago
No it isn't.
From http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html
This implementation of the operation does not return response elements.
Then what about this?
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#deleteObject-property
Quote:
That seems to only apply to DELETEs in versioned buckets.
@ffxsam
@monken is correct, those fields on the data
object are not guaranteed to be there. DeleteMarker
and VersionID
should be there when working with versioned objects, and RequestCharged
should be there is the object is configured such that requesters get charged for downloads.
Good to know - thanks for clarifying!
Using aws-sdk 2.6.9. When I execute a successful deletion request:
error
isnull
andresult
is{}
. I'm pretty sure this is unexpected behavior.