in src/aws/SDK2.ts [115:123]
value: function (this: any, ...args: any[]): any {
if (args[0] && !state.thend++) args[0] = wrapCallback(span, args[0], false, state);
if (args[1] && !state.catched++) args[1] = wrapCallback(span, args[1], 0, state);
const _promise = _then.apply(this, args);
if (state.thend && state.catched) return _promise;
else return wrapPromise(span, _promise, state, true);
},