@@ -109,18 +109,6 @@ class AWS_CORE_LOCAL SmithyBidirectionalStreamingTask final {
109109 std::shared_ptr<Aws::Utils::Threading::Semaphore> m_sem;
110110};
111111
112- // A helper template factory to avoid providing all typenames for BidirectionalEventStreamingTask in the generated code
113- // It looks like a wall of code, you can thank clang-format for this.
114- template <typename OutcomeT, typename ClientT, typename AWSEndpointT, typename RequestT, typename HandlerT>
115- static BidirectionalEventStreamingTask<OutcomeT, ClientT, AWSEndpointT, RequestT, HandlerT> CreateBidirectionalEventStreamTask (
116- const ClientT* pClientThis, AWSEndpointT&& endpoint, const std::shared_ptr<RequestT>& pRequest, const HandlerT& handler,
117- const std::shared_ptr<const Aws::Client::AsyncCallerContext>& handlerContext,
118- const std::shared_ptr<Aws::Utils::Event::EventEncoderStream>& stream, const Http::HttpMethod method = Aws::Http::HttpMethod::HTTP_POST,
119- char const * const signerName = Aws::Auth::EVENTSTREAM_SIGV4_SIGNER) {
120- return BidirectionalEventStreamingTask<OutcomeT, ClientT, AWSEndpointT, RequestT, HandlerT>(
121- pClientThis, std::forward<AWSEndpointT>(endpoint), pRequest, handler, handlerContext, stream, method, signerName);
122- }
123-
124112template <typename OutcomeT, typename ClientT, typename RequestT, typename HandlerT>
125113static SmithyBidirectionalStreamingTask<OutcomeT, ClientT, RequestT, HandlerT> CreateSmithyBidirectionalEventStreamTask (
126114 const ClientT* client, std::shared_ptr<RequestT> request, const HandlerT& handler,
0 commit comments