@@ -50,6 +50,14 @@ Code excerpts that show you how to call individual service functions.
5050- [ ListObjectsV2] ( basics/Sources/ServiceHandler/ServiceHandler.swift#L280 )
5151- [ PutObject] ( basics/Sources/ServiceHandler/ServiceHandler.swift#L107 )
5252
53+ ### Scenarios
54+
55+ Code examples that show you how to accomplish a specific task by calling multiple
56+ functions within the same service.
57+
58+ - [ Download stream of unknown size] ( binary-streaming/Sources/streamdown/streamdown.swift )
59+ - [ Upload stream of unknown size] ( binary-streaming/Sources/streamup/streamup.swift )
60+
5361
5462<!-- custom.examples.start-->
5563<!-- custom.examples.end-->
@@ -92,6 +100,30 @@ This example shows you how to do the following:
92100<!-- custom.basics.s3_Scenario_GettingStarted.end-->
93101
94102
103+ #### Download stream of unknown size
104+
105+ This example shows you how to download a stream of unknown size from an Amazon S3 object.
106+
107+
108+ <!-- custom.scenario_prereqs.s3_Scenario_DownloadStream.start-->
109+ <!-- custom.scenario_prereqs.s3_Scenario_DownloadStream.end-->
110+
111+
112+ <!-- custom.scenarios.s3_Scenario_DownloadStream.start-->
113+ <!-- custom.scenarios.s3_Scenario_DownloadStream.end-->
114+
115+ #### Upload stream of unknown size
116+
117+ This example shows you how to upload a stream of unknown size to an Amazon S3 object.
118+
119+
120+ <!-- custom.scenario_prereqs.s3_Scenario_UploadStream.start-->
121+ <!-- custom.scenario_prereqs.s3_Scenario_UploadStream.end-->
122+
123+
124+ <!-- custom.scenarios.s3_Scenario_UploadStream.start-->
125+ <!-- custom.scenarios.s3_Scenario_UploadStream.end-->
126+
95127### Tests
96128
97129⚠ Running tests might result in charges to your AWS account.
@@ -118,4 +150,4 @@ in the `swift` folder.
118150
119151Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
120152
121- SPDX-License-Identifier: Apache-2.0
153+ SPDX-License-Identifier: Apache-2.0
0 commit comments