class Aws::DynamoDB::Plugins::SimpleAttributes::Handler
def translate_error_data(context, error_data)
def translate_error_data(context, error_data) shape = context.operation.errors.find do |e| error_data.is_a?(e.shape.struct_class) end if shape ValueTranslator.new(shape, :unmarshal).apply(error_data) else error_data end end