soto-project / soto-core

Core framework of Soto the Swift SDK for AWS
https://soto.codes
Apache License 2.0
111 stars 51 forks source link

Merge request and response types #569

Closed adam-fowler closed 1 year ago

adam-fowler commented 1 year ago

AWSRequest and AWSHTTPRequest have been merged to AWSHTTPRequest AWSResponse and AWSHTTPResponse have been merged to AWSHTTPResponse

As request doesn't include some information it had before which was used in middleware this has been moved to the middleware context.

codecov[bot] commented 1 year ago

Codecov Report

Merging #569 (1fc2fb5) into 7.x.x (15744ff) will decrease coverage by 0.02%. Report is 21 commits behind head on 7.x.x. The diff coverage is 85.13%.

@@            Coverage Diff             @@
##            7.x.x     #569      +/-   ##
==========================================
- Coverage   78.87%   78.86%   -0.02%     
==========================================
  Files          71       73       +2     
  Lines        6292     6467     +175     
==========================================
+ Hits         4963     5100     +137     
- Misses       1329     1367      +38     
Files Changed Coverage Δ
.../SotoCore/Concurrency/Sequence+concurrentMap.swift 98.36% <ø> (ø)
...urces/SotoCore/Credential/Credential+IsEmpty.swift 100.00% <ø> (ø)
.../SotoCore/Credential/CredentialProviderError.swift 100.00% <ø> (ø)
...urces/SotoCore/Credential/ExpiringCredential.swift 0.00% <0.00%> (ø)
...Core/Credential/StaticCredential+Environment.swift 100.00% <ø> (ø)
Sources/SotoCore/Doc/AWSShape.swift 50.72% <0.00%> (ø)
...Core/Encoder/CodableProperties/EC2ArrayCoder.swift 0.00% <0.00%> (ø)
Sources/SotoCore/Errors/Error.swift 66.66% <0.00%> (ø)
...toCore/Message/Middleware/TreeHashMiddleware.swift 75.60% <0.00%> (ø)
Sources/SotoSignerV4/signer.swift 97.34% <ø> (ø)
... and 42 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more