Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,7 @@ You can use `.fromOutputs(name:)` to provide a string representing the target bu

```swift
let listResult = try await Amplify.Storage.list(
path: .fromString("public/example/path/myFile.txt"),
local: fileUrl,
path: .fromString("public/photos/"),
options: .init(
bucket: .fromOutputs(name: "secondBucket")
)
Expand All @@ -814,8 +813,7 @@ You can also use `.fromBucketInfo(_:)` to provide a bucket name and region direc

```swift
let listResult = try await Amplify.Storage.list(
path: .fromString("public/example/path/myFile.txt"),
local: fileUrl,
path: .fromString("public/photos/"),
options: .init(
bucket: .fromBucketInfo(.init(
bucketName: "another-bucket-name",
Expand Down