Skip to content

Commit 86b91e1

Browse files
committed
use full namespace for CreateSmithyBidirectionalEventStreamTask
1 parent ca0b468 commit 86b91e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

generated/src/aws-cpp-sdk-bedrock-runtime/source/BedrockRuntimeClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ void BedrockRuntimeClient::InvokeModelWithBidirectionalStreamAsync(
428428
requestCopy->SetBody(eventEncoderStream); // this becomes the body of the request
429429
request.SetBody(eventEncoderStream); // this becomes the body of the request
430430

431-
auto asyncTask = CreateSmithyBidirectionalEventStreamTask<InvokeModelWithBidirectionalStreamOutcome>(
431+
auto asyncTask = smithy::client::CreateSmithyBidirectionalEventStreamTask<InvokeModelWithBidirectionalStreamOutcome>(
432432
this, requestCopy, handler, handlerContext, eventEncoderStream, endpointCallback, authCallback);
433433
auto sem = asyncTask.GetSemaphore();
434434
m_clientConfiguration.executor->Submit(std::move(asyncTask));

tools/code-generation/generator/src/main/resources/com/amazonaws/util/awsclientgenerator/velocity/cpp/smithy/SmithyJsonServiceEventStreamOperationsSource.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void ${className}::${operation.name}Async(Model::${operation.request.shape.name}
3838
requestCopy->Set${streamModelNameWithFirstLetterCapitalized}(eventEncoderStream); // this becomes the body of the request
3939
request.Set${streamModelNameWithFirstLetterCapitalized}(eventEncoderStream); // this becomes the body of the request
4040

41-
auto asyncTask = CreateSmithyBidirectionalEventStreamTask<${operation.name}Outcome>(this,
41+
auto asyncTask = smithy::client::CreateSmithyBidirectionalEventStreamTask<${operation.name}Outcome>(this,
4242
requestCopy,
4343
handler,
4444
handlerContext,

0 commit comments

Comments
 (0)