diff --git a/Benchmark/Sources/soto-benchmark/AWSClientSuite.swift b/Benchmark/Sources/soto-benchmark/AWSClientSuite.swift index ca9796d10..f88cf9fb2 100644 --- a/Benchmark/Sources/soto-benchmark/AWSClientSuite.swift +++ b/Benchmark/Sources/soto-benchmark/AWSClientSuite.swift @@ -62,8 +62,7 @@ let awsClientSuite = BenchmarkSuite(name: "AWSClient", settings: Iterations(1000 // take the amount of time it took to construct the request let client = AWSClient( credentialProvider: .static(accessKeyId: "foo", secretAccessKey: "bar"), - middlewares: [RequestThrowMiddleware()], - httpClientProvider: .createNew + middlewares: [RequestThrowMiddleware()] ) let jsonService = AWSServiceConfig( region: .useast1, partition: .aws, service: "test-service", serviceProtocol: .json(version: "1.1"), apiVersion: "10-10-2010" diff --git a/scripts/generate-region-test.swift b/scripts/generate-region-test.swift index 8cb563a8b..cb3deb476 100755 --- a/scripts/generate-region-test.swift +++ b/scripts/generate-region-test.swift @@ -28,9 +28,7 @@ struct RegionDesc { var regionDescs: [RegionDesc] = [] -let client = AWSClient( - httpClientProvider: .createNew -) +let client = AWSClient() let ssm = SSM(client: client, region: Region.euwest1) let request = SSM.GetParametersByPathRequest( path: REGION_PATH