Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
awscli /
__pycache__ /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.cpython-310.pyc
828
B
-rw-r--r--
__main__.cpython-310.pyc
258
B
-rw-r--r--
alias.cpython-310.pyc
9.08
KB
-rw-r--r--
argparser.cpython-310.pyc
6.08
KB
-rw-r--r--
argprocess.cpython-310.pyc
15.07
KB
-rw-r--r--
arguments.cpython-310.pyc
15.61
KB
-rw-r--r--
clidocs.cpython-310.pyc
23.19
KB
-rw-r--r--
clidriver.cpython-310.pyc
18.64
KB
-rw-r--r--
commands.cpython-310.pyc
1.89
KB
-rw-r--r--
compat.cpython-310.pyc
12.12
KB
-rw-r--r--
completer.cpython-310.pyc
4.06
KB
-rw-r--r--
errorhandler.cpython-310.pyc
2.46
KB
-rw-r--r--
formatter.cpython-310.pyc
7.38
KB
-rw-r--r--
handlers.cpython-310.pyc
7.21
KB
-rw-r--r--
help.cpython-310.pyc
13.29
KB
-rw-r--r--
paramfile.cpython-310.pyc
8.15
KB
-rw-r--r--
plugin.cpython-310.pyc
1.68
KB
-rw-r--r--
schema.cpython-310.pyc
5.35
KB
-rw-r--r--
shorthand.cpython-310.pyc
13.28
KB
-rw-r--r--
table.cpython-310.pyc
12.13
KB
-rw-r--r--
testutils.cpython-310.pyc
31.32
KB
-rw-r--r--
text.cpython-310.pyc
2.88
KB
-rw-r--r--
topictags.cpython-310.pyc
9.45
KB
-rw-r--r--
utils.cpython-310.pyc
8.47
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : schema.cpython-310.pyc
o 2&�a� � @ s@ d dl mZ G dd� de�ZG dd� de�ZG dd� de�ZdS ) � )�defaultdictc @ s e Zd ZdS )�ParameterRequiredErrorN)�__name__� __module__�__qualname__� r r �//usr/lib/python3/dist-packages/awscli/schema.pyr s r c @ sb e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� Zdd� Z dS )�SchemaTransformeraE Transforms a custom argument parameter schema into an internal model representation so that it can be treated like a normal service model. This includes shorthand JSON parsing and automatic documentation generation. The format of the schema follows JSON Schema, which can be found here: http://json-schema.org/ Only a relevant subset of features is supported here: * Types: `object`, `array`, `string`, `integer`, `boolean` * Properties: `type`, `description`, `required`, `enum` For example:: { "type": "array", "items": { "type": "object", "properties": { "arg1": { "type": "string", "required": True, "enum": [ "Value1", "Value2", "Value3" ] }, "arg2": { "type": "integer", "description": "The number of calls" } } } } Assuming the schema is applied to a service named `foo`, with an operation named `bar` and that the parameter is called `baz`, you could call it with the shorthand JSON like so:: $ aws foo bar --baz arg1=Value1,arg2=5 arg1=Value2 � structure�list)�object�arrayc C s t � | _d S �N)�ShapeNameGenerator�_shape_namer��selfr r r �__init__G s zSchemaTransformer.__init__c C s i }| � ||d� |S )a� Convert JSON schema to the format used internally by the AWS CLI. :type schema: dict :param schema: The JSON schema describing the argument model. :rtype: dict :return: The transformed model in a form that can be consumed internally by the AWS CLI. The dictionary returned will have a list of shapes, where the shape representing the transformed schema is always named ``InputShape`` in the returned dictionary. � InputShape)� _transform)r �schema�shapesr r r � transformJ s zSchemaTransformer.transformc C s� d|vrt d��|d dkr| �||�||<