You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Plugins::DynamoDBSimpleAttributes::Handler

Inherits:
Seahorse::Client::Handler show all
Defined in:
aws-sdk-core/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb

Instance Attribute Summary

Attributes inherited from Seahorse::Client::Handler

#handler

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Handler

#initialize, #inspect

Constructor Details

This class inherits a constructor from Seahorse::Client::Handler

Instance Method Details

#call(context) ⇒ Object



110
111
112
113
114
115
# File 'aws-sdk-core/lib/aws-sdk-core/plugins/dynamodb_simple_attributes.rb', line 110

def call(context)
  context.params = translate_input(context)
  @handler.call(context).on(200) do |response|
    response.data = translate_output(response)
  end
end