Class: Aws::DynamoDB::Plugins::SimpleAttributes::Handler
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::DynamoDB::Plugins::SimpleAttributes::Handler
- Defined in:
- gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/plugins/simple_attributes.rb
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Handler
Instance Method Summary collapse
Methods inherited from Seahorse::Client::Handler
Constructor Details
This class inherits a constructor from Seahorse::Client::Handler
Instance Method Details
#call(context) ⇒ Object
117 118 119 120 121 122 123 124 125 |
# File 'gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/plugins/simple_attributes.rb', line 117 def call(context) context.params = translate_input(context) @handler.call(context).on(200) do |response| response.data = translate_output(response) end rescue Aws::Errors::ServiceError => e e.data = translate_error_data(context, e.data) raise e end |