class Aws::DynamoDBStreams::Plugins::SimpleAttributes::Handler
Public Instance Methods
call(context)
click to toggle source
# File 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
Private Instance Methods
translate_output(response)
click to toggle source
# File lib/aws-sdk-dynamodbstreams/plugins/simple_attributes.rb, line 70 def translate_output(response) if shape = response.context.operation.output ValueTranslator.new(shape, :unmarshal).apply(response.data) else response.data end end