Class: Aws::Query::EC2ParamBuilder Private

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-sdk-core/query/ec2_param_builder.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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(param_list) ⇒ EC2ParamBuilder

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.

Returns a new instance of EC2ParamBuilder.

Parameters:



8
9
10
# File 'lib/aws-sdk-core/query/ec2_param_builder.rb', line 8

def initialize(param_list)
  @params = param_list
end

Instance Attribute Details

#paramsObject (readonly)

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.

Parameters:



13
14
15
# File 'lib/aws-sdk-core/query/ec2_param_builder.rb', line 13

def params
  @params
end

Instance Method Details

#apply(shape, params) ⇒ void

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.

This method returns an undefined value.

Serializes the ‘params` hash onto #param_list following the rules provided by `shape`. rules provided by `shape`.

Parameters:



21
22
23
# File 'lib/aws-sdk-core/query/ec2_param_builder.rb', line 21

def apply(shape, params)
  structure(shape, params, '')
end