class Aws::Plugins::DynamoDBSimpleAttributes::Handler
def call(context)
def call(context) context.params = translate_input(context) @handler.call(context).on(200) do |response| response.data = translate_output(response) end end
def translate_input(context)
def translate_input(context) if shape = context.operation.input ValueTranslator.new(shape, :marshal).apply(context.params) else context.params end end
def translate_output(response)
def translate_output(response) if shape = response.context.operation.output ValueTranslator.new(shape, :unmarshal).apply(response.data) else response.data end end