Class: Aws::DynamoDB::Plugins::SimpleAttributes::Handler

Inherits:
Seahorse::Client::Handler
  • Object
show all
Defined in:
lib/aws-sdk-dynamodb/plugins/simple_attributes.rb

Instance Method Summary collapse

Instance Method Details

#call(context) ⇒ Object



117
118
119
120
121
122
123
124
125
# File '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