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 /
botocore /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-02-12 23:54
data
[ DIR ]
drwxr-xr-x
2024-02-12 23:54
docs
[ DIR ]
drwxr-xr-x
2024-02-12 23:54
retries
[ DIR ]
drwxr-xr-x
2024-02-12 23:54
vendored
[ DIR ]
drwxr-xr-x
2024-02-12 23:54
__init__.py
3.41
KB
-rw-r--r--
2020-10-08 18:10
args.py
15.71
KB
-rw-r--r--
2020-10-08 18:05
auth.py
34.15
KB
-rw-r--r--
2020-10-08 18:05
awsrequest.py
22.7
KB
-rw-r--r--
2020-10-08 18:05
cacert.pem
264.73
KB
-rw-r--r--
2020-10-08 18:05
client.py
40.54
KB
-rw-r--r--
2020-10-08 18:05
compat.py
11.44
KB
-rw-r--r--
2020-10-08 18:05
config.py
11.51
KB
-rw-r--r--
2020-10-08 18:05
configloader.py
9.36
KB
-rw-r--r--
2020-10-08 18:05
configprovider.py
20.87
KB
-rw-r--r--
2020-10-08 18:05
credentials.py
79.38
KB
-rw-r--r--
2020-10-08 18:05
discovery.py
10.77
KB
-rw-r--r--
2020-10-08 18:05
endpoint.py
13.4
KB
-rw-r--r--
2020-10-08 18:05
errorfactory.py
3.64
KB
-rw-r--r--
2020-10-08 18:05
eventstream.py
20.04
KB
-rw-r--r--
2020-10-08 18:05
exceptions.py
19.21
KB
-rw-r--r--
2020-10-08 18:05
handlers.py
43.53
KB
-rw-r--r--
2020-10-08 18:05
history.py
1.71
KB
-rw-r--r--
2020-10-08 18:05
hooks.py
24
KB
-rw-r--r--
2020-10-08 18:05
httpsession.py
11.2
KB
-rw-r--r--
2020-10-08 18:05
loaders.py
16.95
KB
-rw-r--r--
2020-10-08 18:05
model.py
27.69
KB
-rw-r--r--
2020-10-08 18:05
monitoring.py
20.1
KB
-rw-r--r--
2020-10-08 18:05
paginate.py
26.49
KB
-rw-r--r--
2020-10-08 18:05
parsers.py
41.31
KB
-rw-r--r--
2020-10-08 18:05
regions.py
8.76
KB
-rw-r--r--
2020-10-08 18:05
response.py
6.25
KB
-rw-r--r--
2020-10-08 18:05
retryhandler.py
13.46
KB
-rw-r--r--
2020-10-08 18:05
serialize.py
29.72
KB
-rw-r--r--
2020-10-08 18:05
session.py
42.42
KB
-rw-r--r--
2020-10-08 18:05
signers.py
27.57
KB
-rw-r--r--
2020-10-08 18:05
stub.py
14.02
KB
-rw-r--r--
2020-10-08 18:05
translate.py
3.33
KB
-rw-r--r--
2020-10-08 18:05
utils.py
81.04
KB
-rw-r--r--
2020-10-08 18:05
validate.py
11.23
KB
-rw-r--r--
2020-10-08 18:05
waiter.py
12.13
KB
-rw-r--r--
2020-10-08 18:05
Save
Rename
# Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-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. import copy from botocore.utils import merge_dicts def build_retry_config(endpoint_prefix, retry_model, definitions, client_retry_config=None): service_config = retry_model.get(endpoint_prefix, {}) resolve_references(service_config, definitions) # We want to merge the global defaults with the service specific # defaults, with the service specific defaults taking precedence. # So we use the global defaults as the base. # # A deepcopy is done on the retry defaults because it ensures the # retry model has no chance of getting mutated when the service specific # configuration or client retry config is merged in. final_retry_config = { '__default__': copy.deepcopy(retry_model.get('__default__', {})) } resolve_references(final_retry_config, definitions) # The merge the service specific config on top. merge_dicts(final_retry_config, service_config) if client_retry_config is not None: _merge_client_retry_config(final_retry_config, client_retry_config) return final_retry_config def _merge_client_retry_config(retry_config, client_retry_config): max_retry_attempts_override = client_retry_config.get('max_attempts') if max_retry_attempts_override is not None: # In the retry config, the max_attempts refers to the maximum number # of requests in general will be made. However, for the client's # retry config it refers to how many retry attempts will be made at # most. So to translate this number from the client config, one is # added to convert it to the maximum number request that will be made # by including the initial request. # # It is also important to note that if we ever support per operation # configuration in the retry model via the client, we will need to # revisit this logic to make sure max_attempts gets applied # per operation. retry_config['__default__'][ 'max_attempts'] = max_retry_attempts_override + 1 def resolve_references(config, definitions): """Recursively replace $ref keys. To cut down on duplication, common definitions can be declared (and passed in via the ``definitions`` attribute) and then references as {"$ref": "name"}, when this happens the reference dict is placed with the value from the ``definition`` dict. This is recursively done. """ for key, value in config.items(): if isinstance(value, dict): if len(value) == 1 and list(value.keys())[0] == '$ref': # Then we need to resolve this reference. config[key] = definitions[list(value.values())[0]] else: resolve_references(value, definitions)