MCPcopy Index your code
hub / github.com/aws/aws-cli / delete_object

Method delete_object

tests/integration/botocore/test_s3.py:277–279  ·  view source on GitHub ↗
(self, key, bucket_name)

Source from the content-addressed store, hash-verified

275 )
276
277 def delete_object(self, key, bucket_name):
278 response = self.client.delete_object(Bucket=bucket_name, Key=key)
279 self.assert_status_code(response, 204)
280
281 def delete_bucket(self, bucket_name):
282 response = self.client.delete_bucket(Bucket=bucket_name)

Callers 7

delete_keyMethod · 0.45
delete_keyMethod · 0.45
_mainMethod · 0.45
_delete_sourceMethod · 0.45
_delete_objectMethod · 0.45

Calls 1

assert_status_codeMethod · 0.80

Tested by

no test coverage detected