Class: Aws::DynamoDBStreams::Plugins::SimpleAttributes::Handler

Inherits:
Seahorse::Client::Handler show all
Defined in:
gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/plugins/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



62
63
64
65
66
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/plugins/simple_attributes.rb', line 62

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