@@ -91,8 +91,10 @@ RpcV2ProtocolClient::RpcV2ProtocolClient(const std::shared_ptr<AWSCredentialsPro
9191/* Legacy constructors due deprecation */
9292RpcV2ProtocolClient::RpcV2ProtocolClient (const Client::ClientConfiguration& clientConfiguration)
9393 : BASECLASS(clientConfiguration,
94- Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG, Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
95- SERVICE_NAME, Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
94+ Aws::MakeShared<AWSAuthV4Signer>(
95+ ALLOCATION_TAG,
96+ Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
97+ SERVICE_NAME, Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
9698 Aws::MakeShared<RpcV2ProtocolErrorMarshaller>(ALLOCATION_TAG)),
9799 m_clientConfiguration(clientConfiguration),
98100 m_endpointProvider(Aws::MakeShared<RpcV2ProtocolEndpointProvider>(ALLOCATION_TAG)) {
@@ -165,7 +167,7 @@ EmptyInputOutputOutcome RpcV2ProtocolClient::EmptyInputOutput(const EmptyInputOu
165167 {TracingUtils::SMITHY_SERVICE_DIMENSION, this ->GetServiceClientName ()}});
166168 AWS_OPERATION_CHECK_SUCCESS (endpointResolutionOutcome, EmptyInputOutput, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE,
167169 endpointResolutionOutcome.GetError ().GetMessage ());
168- endpointResolutionOutcome.GetResult ().AddPathSegment (" /service/RpcV2Protocol/operation/EmptyInputOutput" );
170+ endpointResolutionOutcome.GetResult ().AddPathSegments (" /service/RpcV2Protocol/operation/EmptyInputOutput" );
169171 return EmptyInputOutputOutcome (
170172 MakeRequest (request, endpointResolutionOutcome.GetResult (), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
171173 },
@@ -195,7 +197,7 @@ Float16Outcome RpcV2ProtocolClient::Float16(const Float16Request& request) const
195197 {TracingUtils::SMITHY_SERVICE_DIMENSION, this ->GetServiceClientName ()}});
196198 AWS_OPERATION_CHECK_SUCCESS (endpointResolutionOutcome, Float16, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE,
197199 endpointResolutionOutcome.GetError ().GetMessage ());
198- endpointResolutionOutcome.GetResult ().AddPathSegment (" /service/RpcV2Protocol/operation/Float16" );
200+ endpointResolutionOutcome.GetResult ().AddPathSegments (" /service/RpcV2Protocol/operation/Float16" );
199201 return Float16Outcome (
200202 MakeRequest (request, endpointResolutionOutcome.GetResult (), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
201203 },
@@ -225,7 +227,7 @@ FractionalSecondsOutcome RpcV2ProtocolClient::FractionalSeconds(const Fractional
225227 {TracingUtils::SMITHY_SERVICE_DIMENSION, this ->GetServiceClientName ()}});
226228 AWS_OPERATION_CHECK_SUCCESS (endpointResolutionOutcome, FractionalSeconds, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE,
227229 endpointResolutionOutcome.GetError ().GetMessage ());
228- endpointResolutionOutcome.GetResult ().AddPathSegment (" /service/RpcV2Protocol/operation/FractionalSeconds" );
230+ endpointResolutionOutcome.GetResult ().AddPathSegments (" /service/RpcV2Protocol/operation/FractionalSeconds" );
229231 return FractionalSecondsOutcome (
230232 MakeRequest (request, endpointResolutionOutcome.GetResult (), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
231233 },
@@ -255,7 +257,7 @@ GreetingWithErrorsOutcome RpcV2ProtocolClient::GreetingWithErrors(const Greeting
255257 {TracingUtils::SMITHY_SERVICE_DIMENSION, this ->GetServiceClientName ()}});
256258 AWS_OPERATION_CHECK_SUCCESS (endpointResolutionOutcome, GreetingWithErrors, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE,
257259 endpointResolutionOutcome.GetError ().GetMessage ());
258- endpointResolutionOutcome.GetResult ().AddPathSegment (" /service/RpcV2Protocol/operation/GreetingWithErrors" );
260+ endpointResolutionOutcome.GetResult ().AddPathSegments (" /service/RpcV2Protocol/operation/GreetingWithErrors" );
259261 return GreetingWithErrorsOutcome (
260262 MakeRequest (request, endpointResolutionOutcome.GetResult (), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
261263 },
@@ -285,7 +287,7 @@ NoInputOutputOutcome RpcV2ProtocolClient::NoInputOutput(const NoInputOutputReque
285287 {TracingUtils::SMITHY_SERVICE_DIMENSION, this ->GetServiceClientName ()}});
286288 AWS_OPERATION_CHECK_SUCCESS (endpointResolutionOutcome, NoInputOutput, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE,
287289 endpointResolutionOutcome.GetError ().GetMessage ());
288- endpointResolutionOutcome.GetResult ().AddPathSegment (" /service/RpcV2Protocol/operation/NoInputOutput" );
290+ endpointResolutionOutcome.GetResult ().AddPathSegments (" /service/RpcV2Protocol/operation/NoInputOutput" );
289291 return NoInputOutputOutcome (
290292 MakeRequest (request, endpointResolutionOutcome.GetResult (), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
291293 },
@@ -315,7 +317,7 @@ OptionalInputOutputOutcome RpcV2ProtocolClient::OptionalInputOutput(const Option
315317 {TracingUtils::SMITHY_SERVICE_DIMENSION, this ->GetServiceClientName ()}});
316318 AWS_OPERATION_CHECK_SUCCESS (endpointResolutionOutcome, OptionalInputOutput, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE,
317319 endpointResolutionOutcome.GetError ().GetMessage ());
318- endpointResolutionOutcome.GetResult ().AddPathSegment (" /service/RpcV2Protocol/operation/OptionalInputOutput" );
320+ endpointResolutionOutcome.GetResult ().AddPathSegments (" /service/RpcV2Protocol/operation/OptionalInputOutput" );
319321 return OptionalInputOutputOutcome (
320322 MakeRequest (request, endpointResolutionOutcome.GetResult (), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
321323 },
@@ -345,7 +347,7 @@ RecursiveShapesOutcome RpcV2ProtocolClient::RecursiveShapes(const RecursiveShape
345347 {TracingUtils::SMITHY_SERVICE_DIMENSION, this ->GetServiceClientName ()}});
346348 AWS_OPERATION_CHECK_SUCCESS (endpointResolutionOutcome, RecursiveShapes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE,
347349 endpointResolutionOutcome.GetError ().GetMessage ());
348- endpointResolutionOutcome.GetResult ().AddPathSegment (" /service/RpcV2Protocol/operation/RecursiveShapes" );
350+ endpointResolutionOutcome.GetResult ().AddPathSegments (" /service/RpcV2Protocol/operation/RecursiveShapes" );
349351 return RecursiveShapesOutcome (
350352 MakeRequest (request, endpointResolutionOutcome.GetResult (), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
351353 },
@@ -375,7 +377,7 @@ RpcV2CborDenseMapsOutcome RpcV2ProtocolClient::RpcV2CborDenseMaps(const RpcV2Cbo
375377 {TracingUtils::SMITHY_SERVICE_DIMENSION, this ->GetServiceClientName ()}});
376378 AWS_OPERATION_CHECK_SUCCESS (endpointResolutionOutcome, RpcV2CborDenseMaps, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE,
377379 endpointResolutionOutcome.GetError ().GetMessage ());
378- endpointResolutionOutcome.GetResult ().AddPathSegment (" /service/RpcV2Protocol/operation/RpcV2CborDenseMaps" );
380+ endpointResolutionOutcome.GetResult ().AddPathSegments (" /service/RpcV2Protocol/operation/RpcV2CborDenseMaps" );
379381 return RpcV2CborDenseMapsOutcome (
380382 MakeRequest (request, endpointResolutionOutcome.GetResult (), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
381383 },
@@ -405,7 +407,7 @@ RpcV2CborListsOutcome RpcV2ProtocolClient::RpcV2CborLists(const RpcV2CborListsRe
405407 {TracingUtils::SMITHY_SERVICE_DIMENSION, this ->GetServiceClientName ()}});
406408 AWS_OPERATION_CHECK_SUCCESS (endpointResolutionOutcome, RpcV2CborLists, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE,
407409 endpointResolutionOutcome.GetError ().GetMessage ());
408- endpointResolutionOutcome.GetResult ().AddPathSegment (" /service/RpcV2Protocol/operation/RpcV2CborLists" );
410+ endpointResolutionOutcome.GetResult ().AddPathSegments (" /service/RpcV2Protocol/operation/RpcV2CborLists" );
409411 return RpcV2CborListsOutcome (
410412 MakeRequest (request, endpointResolutionOutcome.GetResult (), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
411413 },
@@ -435,7 +437,7 @@ SimpleScalarPropertiesOutcome RpcV2ProtocolClient::SimpleScalarProperties(const
435437 {TracingUtils::SMITHY_SERVICE_DIMENSION, this ->GetServiceClientName ()}});
436438 AWS_OPERATION_CHECK_SUCCESS (endpointResolutionOutcome, SimpleScalarProperties, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE,
437439 endpointResolutionOutcome.GetError ().GetMessage ());
438- endpointResolutionOutcome.GetResult ().AddPathSegment (" /service/RpcV2Protocol/operation/SimpleScalarProperties" );
440+ endpointResolutionOutcome.GetResult ().AddPathSegments (" /service/RpcV2Protocol/operation/SimpleScalarProperties" );
439441 return SimpleScalarPropertiesOutcome (
440442 MakeRequest (request, endpointResolutionOutcome.GetResult (), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
441443 },
0 commit comments