Sha256: c17ddaf312f71a8880f5c58c2debee994a3d87fbb7ddf0d0e66eeea389b051af
Contents?: true
Size: 646 Bytes
Versions: 37
Compression:
Stored size: 646 Bytes
Contents
# frozen_string_literal: true module Aws # @api private module Query class EC2Handler < Aws::Query::Handler def apply_params(param_list, params, rules) Aws::Query::EC2ParamBuilder.new(param_list).apply(rules, params) end def parse_xml(context) if (rules = context.operation.output) parser = Xml::Parser.new(rules) parser.parse(xml(context)) do |path, value| if path.size == 2 && path.last == 'requestId' context.metadata[:request_id] = value end end else EmptyStructure.new end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems