:param client: The S3 client to use when calling DeleteObject :type bucket: str :param bucket: The name of the bucket. :type key: str :param key: The name of the object to delete. :type extra_args: dict :param extra_args: Extra arguments t
(self, client, bucket, key, extra_args)
| 54 | |
| 55 | class DeleteObjectTask(Task): |
| 56 | def _main(self, client, bucket, key, extra_args): |
| 57 | """ |
| 58 | |
| 59 | :param client: The S3 client to use when calling DeleteObject |
| 60 | |
| 61 | :type bucket: str |
| 62 | :param bucket: The name of the bucket. |
| 63 | |
| 64 | :type key: str |
| 65 | :param key: The name of the object to delete. |
| 66 | |
| 67 | :type extra_args: dict |
| 68 | :param extra_args: Extra arguments to pass to the DeleteObject call. |
| 69 | |
| 70 | """ |
| 71 | client.delete_object(Bucket=bucket, Key=key, **extra_args) |
nothing calls this directly
no test coverage detected