Linux ams-business-8.hostwindsdns.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
LiteSpeed
Server IP : 192.236.177.161 & Your IP : 216.73.216.50
Domains :
Cant Read [ /etc/named.conf ]
User : ajzdfbpz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.6 /
site-packages /
s3transfer /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-02-12 23:54
__init__.py
27.55
KB
-rw-r--r--
2021-01-11 19:22
bandwidth.py
15.28
KB
-rw-r--r--
2021-01-11 19:17
compat.py
3.13
KB
-rw-r--r--
2021-01-11 19:17
constants.py
851
B
-rw-r--r--
2021-01-11 19:17
copies.py
12.98
KB
-rw-r--r--
2021-01-11 19:17
delete.py
2.52
KB
-rw-r--r--
2021-01-11 19:17
download.py
27.38
KB
-rw-r--r--
2021-01-11 19:17
exceptions.py
1.06
KB
-rw-r--r--
2021-01-11 19:17
futures.py
20.68
KB
-rw-r--r--
2021-01-11 19:17
manager.py
26.63
KB
-rw-r--r--
2021-01-11 19:22
processpool.py
35.38
KB
-rw-r--r--
2021-01-11 19:17
subscribers.py
3.54
KB
-rw-r--r--
2021-01-11 19:17
tasks.py
15.63
KB
-rw-r--r--
2021-01-11 19:17
upload.py
28.87
KB
-rw-r--r--
2021-01-11 19:17
utils.py
25.88
KB
-rw-r--r--
2021-01-11 19:17
Save
Rename
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. from s3transfer.tasks import Task from s3transfer.tasks import SubmissionTask class DeleteSubmissionTask(SubmissionTask): """Task for submitting tasks to execute an object deletion.""" def _submit(self, client, request_executor, transfer_future, **kwargs): """ :param client: The client associated with the transfer manager :type config: s3transfer.manager.TransferConfig :param config: The transfer config associated with the transfer manager :type osutil: s3transfer.utils.OSUtil :param osutil: The os utility associated to the transfer manager :type request_executor: s3transfer.futures.BoundedExecutor :param request_executor: The request executor associated with the transfer manager :type transfer_future: s3transfer.futures.TransferFuture :param transfer_future: The transfer future associated with the transfer request that tasks are being submitted for """ call_args = transfer_future.meta.call_args self._transfer_coordinator.submit( request_executor, DeleteObjectTask( transfer_coordinator=self._transfer_coordinator, main_kwargs={ 'client': client, 'bucket': call_args.bucket, 'key': call_args.key, 'extra_args': call_args.extra_args, }, is_final=True ) ) class DeleteObjectTask(Task): def _main(self, client, bucket, key, extra_args): """ :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 to pass to the DeleteObject call. """ client.delete_object(Bucket=bucket, Key=key, **extra_args)