anchor.diff:      end.
   
   
  -do(Operation, {UserRequest}, Opts) ->
  +do(Operation, Body, Opts) ->
       Now = edatetime:now2ts(),
  -
  -    Request = case Operation of
  -        Op when Op == delete_table; Op == describe_table; Op == create_table ->
  -            {UserRequest};
  -        _Other ->
  -            {lists:keystore(<<"ReturnConsumedCapacity">>, 1, UserRequest,
  -                              {<<"ReturnConsumedCapacity">>, <<"TOTAL">>})}
  -    end,
  -
  -    Body = jiffy:encode(Request),
   
       URL = <<"http://", (endpoint())/binary, "/">>,
       Headers = [
  
positive.code:                             BackoffTime = min(max_backoff(Opts),
                                                trunc(math:pow(2, Retries) * 50)),
                              timer:sleep(BackoffTime),
                              retry(Op, Request, Retries+1, Start, Opts)
                      end;
                  false ->
                      Error
  
negative.code: to_lower(List) ->
      string:to_lower(List).
  
  encode_body(Operation, {UserRequest}) ->
      Request = case Operation of
                    Op when Op =:= delete_table;
                            Op =:= describe_table;
                            Op =:= create_table ->
                        {UserRequest};
                    _Other ->
                        {lists:keystore(
                           <<"ReturnConsumedCapacity">>, 1, UserRequest,
                           {<<"ReturnConsumedCapacity">>, <<"TOTAL">>})}
                end,
      jiffy:encode(Request).
  
  region() ->
      {ok, Region} = application:get_env(current, region),
  