Module ImportFrom alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareNotIn Str NameLoad body Raise Call NameLoad Str If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Str NameLoad If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore ListLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn Str NameLoad body Raise Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A collections defaultdict ParameterRequiredError N/A ValueError N/A N/A N/A SchemaTransformer N/A object N/A N/A 
    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

     N/A JSON_SCHEMA_TO_AWS_TYPES N/A object array structure list __init__ N/A N/A self N/A N/A N/A N/A self _shape_namer N/A ShapeNameGenerator N/A transform N/A N/A self schema N/A N/A N/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.

         N/A shapes N/A N/A N/A N/A self _transform schema shapes InputShape N/A shapes N/A _transform N/A N/A self schema shapes shape_name N/A N/A N/A N/A type schema N/A N/A N/A ParameterRequiredError Missing required key: 'type' N/A N/A N/A schema N/A type object N/A N/A N/A shapes N/A shape_name N/A N/A self _transform_structure schema shapes N/A N/A N/A N/A schema N/A type array N/A N/A N/A shapes N/A shape_name N/A N/A self _transform_list schema shapes N/A N/A N/A N/A schema N/A type map N/A N/A N/A shapes N/A shape_name N/A N/A self _transform_map schema shapes N/A N/A N/A shapes N/A shape_name N/A N/A self _transform_scalar schema N/A shapes N/A _transform_scalar N/A N/A self schema N/A N/A N/A N/A N/A self _populate_initial_shape schema N/A _transform_structure N/A N/A self schema shapes N/A N/A N/A structure_shape N/A N/A self _populate_initial_shape schema N/A members N/A N/A required_members N/A N/A N/A key value N/A N/A N/A schema N/A properties items N/A N/A current_type_name N/A N/A self _json_schema_to_aws_type value N/A current_shape_name N/A N/A N/A self _shape_namer new_shape_name current_type_name N/A N/A members N/A key N/A shape current_shape_name N/A N/A N/A value get required False N/A N/A N/A N/A required_members append key N/A N/A N/A self _transform value shapes current_shape_name N/A N/A structure_shape N/A members members N/A required_members N/A N/A N/A structure_shape N/A required required_members N/A structure_shape N/A _transform_map N/A N/A self schema shapes N/A N/A N/A structure_shape N/A N/A self _populate_initial_shape schema N/A attribute N/A key value N/A N/A type_name N/A N/A self _json_schema_to_aws_type N/A schema N/A attribute N/A shape_name N/A N/A N/A self _shape_namer new_shape_name type_name N/A N/A structure_shape N/A attribute N/A shape shape_name N/A N/A N/A self _transform N/A schema N/A attribute shapes shape_name N/A structure_shape N/A _transform_list N/A N/A self schema shapes N/A N/A N/A list_shape N/A N/A self _populate_initial_shape schema N/A member_type N/A N/A self _json_schema_to_aws_type N/A schema N/A items N/A member_shape_name N/A N/A N/A self _shape_namer new_shape_name member_type N/A N/A list_shape N/A member N/A shape member_shape_name N/A N/A N/A self _transform N/A schema N/A items shapes member_shape_name N/A list_shape N/A _populate_initial_shape N/A N/A self schema N/A N/A N/A shape N/A type N/A N/A self _json_schema_to_aws_type schema N/A N/A description schema N/A N/A N/A shape N/A documentation N/A schema N/A description N/A N/A enum schema N/A N/A N/A shape N/A enum N/A schema N/A enum N/A shape N/A _json_schema_to_aws_type N/A N/A self schema N/A N/A N/A N/A type schema N/A N/A N/A ParameterRequiredError Missing required key: 'type' N/A type_name N/A schema N/A type N/A N/A N/A N/A self JSON_SCHEMA_TO_AWS_TYPES get type_name type_name N/A N/A ShapeNameGenerator N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self _name_cache N/A defaultdict int N/A new_shape_name N/A N/A self type_name N/A N/A N/A N/A N/A self _name_cache N/A type_name 1 N/A current_index N/A N/A self _name_cache N/A type_name N/A N/A %sType%s N/A N/A N/A type_name capitalize current_index N/A N/A