Class: Aws::Query::EC2Handler Private
- Inherits:
-
Handler
- Object
- Seahorse::Client::Handler
- Handler
- Aws::Query::EC2Handler
- Defined in:
- lib/aws-sdk-core/query/ec2_handler.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary
Constants inherited from Handler
Handler::CONTENT_TYPE, Handler::METADATA_REF
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Handler
Instance Method Summary collapse
Methods inherited from Handler
Methods inherited from Seahorse::Client::Handler
Constructor Details
This class inherits a constructor from Seahorse::Client::Handler
Instance Method Details
#apply_params(param_list, params, rules) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 |
# File 'lib/aws-sdk-core/query/ec2_handler.rb', line 8 def apply_params(param_list, params, rules) Aws::Query::EC2ParamBuilder.new(param_list).apply(rules, params) end |
#parse_xml(context) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/aws-sdk-core/query/ec2_handler.rb', line 12 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.[:request_id] = value end end else EmptyStructure.new end end |