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

Add support for decoding event streams #566

Closed adam-fowler closed 1 year ago

adam-fowler commented 1 year ago

See S3.SelectObjectContent, Lambda.InvokeWithResponseStream etc. You can see documentation on decoding these here https://docs.aws.amazon.com/AmazonS3/latest/API/RESTSelectObjectAppendix.html.

Related PRs: https://github.com/soto-project/soto-codegenerator/pull/74, https://github.com/soto-project/soto/pull/686

codecov[bot] commented 1 year ago

Codecov Report

Merging #566 (bbf4079) into 7.x.x (15744ff) will decrease coverage by 0.16%. The diff coverage is 81.31%.

@@            Coverage Diff             @@
##            7.x.x     #566      +/-   ##
==========================================
- Coverage   78.87%   78.72%   -0.16%     
==========================================
  Files          71       73       +2     
  Lines        6292     6487     +195     
==========================================
+ Hits         4963     5107     +144     
- Misses       1329     1380      +51     
Impacted Files Coverage Δ
Sources/SotoCore/Doc/AWSShape.swift 50.72% <ø> (ø)
Sources/SotoCore/Encoder/ResponseContainer.swift 35.80% <0.00%> (-1.38%) :arrow_down:
Sources/SotoCore/Encoder/EventStreamDecoder.swift 77.85% <77.85%> (ø)
Sources/SotoXML/Expat.swift 94.87% <80.00%> (+0.13%) :arrow_up:
Sources/SotoCore/Concurrency/EventStream.swift 95.91% <95.91%> (ø)
Sources/SotoTestUtils/TestUtils.swift 84.61% <100.00%> (ø)

... and 6 files with indirect coverage changes

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