def METHOD_NAME(self, schema):
    if 'type' not in schema:
        raise ParameterRequiredError("Missing required key: 'type'")
    type_name = schema['type']
    return self.JSON_SCHEMA_TO_AWS_TYPES.get(type_name, type_name)