File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
telemetry/csharp/AwsToolkit.Telemetry.SDK/Custom Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,8 @@ public partial class AmazonToolkitTelemetryConfig
3131 /// <returns>The resolved endpoint for the given request.</returns>
3232 public override Amazon . Runtime . Endpoints . Endpoint DetermineServiceOperationEndpoint ( ServiceOperationEndpointParameters parameters )
3333 {
34- var request = new DefaultRequest ( parameters . Request , ServiceId ) ;
35- request . AlternateEndpoint = parameters . AlternateEndpoint ;
36-
37- var requestContext = new RequestContext ( false ) ;
38- requestContext . ClientConfig = this ;
39- requestContext . OriginalRequest = parameters . Request ;
40- requestContext . Request = request ;
41- var executionContext = new Amazon . Runtime . Internal . ExecutionContext ( requestContext , null ) ;
42- return new BaseEndpointResolver ( ) . GetEndpoint ( executionContext ) ;
34+ var endpoint = new Endpoint ( this . ServiceURL ) ;
35+ return endpoint ;
4336 }
4437 }
4538}
You can’t perform that action at this time.
0 commit comments