StorageDownloadDataRequest
public struct StorageDownloadDataRequest : AmplifyOperationRequest
Represents a request to download an individual object as Data, initiated by an implementation of the
StorageCategoryPlugin protocol.
- Tag: StorageDownloadDataRequest
-
The path for the object in storage
- Tag: StorageDownloadFileRequest.path
Declaration
Swift
public let path: (any StoragePath)? -
The unique identifier for the object in storage
- Tag: StorageDownloadDataRequest.key
Declaration
Swift
@available(*, deprecated, message: "Use `path` instead of `key`") public let key: String -
Options to adjust the behavior of this request, including plugin-options
- Tag: StorageDownloadDataRequest.options
Declaration
Swift
public let options: Options -
- Tag: StorageDownloadDataRequest.init
Declaration
Swift
@available(*, deprecated, message: "Use init(path:local:options﹚") public init(key: String, options: Options) -
- Tag: StorageDownloadDataRequest.init
Declaration
Swift
public init(path: any StoragePath, options: Options) -
Options to adjust the behavior of this request, including plugin-options
- Tag: StorageDownloadDataRequestOptions
Declaration
View on GitHub