StorageUploadDataRequest
public struct StorageUploadDataRequest : AmplifyOperationRequest
Represents an data upload request initiated by an implementation of the StorageCategoryPlugin protocol.
- Tag: StorageUploadDataRequest
-
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: StorageUploadDataRequest.key
Declaration
Swift
@available(*, deprecated, message: "Use `path` instead of `key`") public let key: String
-
The data in memory to be uploaded
- Tag: StorageUploadDataRequest.data
Declaration
Swift
public let data: Data
-
Options to adjust the behavior of this request, including plugin-options
- Tag: StorageUploadDataRequest.options
Declaration
Swift
public let options: Options
-
- Tag: StorageUploadDataRequest.init
Declaration
Swift
@available(*, deprecated, message: "Use init(path:data:options﹚") public init(key: String, data: Data, options: Options)
-
Declaration
Swift
public init(path: any StoragePath, data: Data, options: Options)
-
Options to adjust the behavior of this request, including plugin-options
- Tag: StorageUploadDataRequestOptions
Declaration
Swift
struct Options