class Aws::Plugins::Sign::SignatureV4

def unsigned_payload?(context, req)

def unsigned_payload?(context, req)
  (context.operation['unsignedPayload'] ||
    context.operation['authtype'] == 'v4-unsigned-body') &&
    req.endpoint.scheme == 'https'
end