StorageGetURLRequest
public struct StorageGetURLRequest : AmplifyOperationRequest
Represents a request initiated by an implementation of the StorageCategoryPlugin protocol used to generate a pre-signed download URL for a given object key.
- Tag: StorageListRequest
-
The unique identifier for the object in storage
- Tag: StorageGetURLRequest.key
Declaration
Swift
@available(*, deprecated, message: "Use `path` in Storage API instead of `key`") public let key: String
-
The unique path for the object in storage
- Tag: StorageGetURLRequest.path
Declaration
Swift
public let path: (any StoragePath)?
-
Options to adjust the behaviour of this request, including plugin-options
- Tag: StorageGetURLRequest.options
Declaration
Swift
public let options: Options
-
- Tag: StorageGetURLRequest.init
Declaration
Swift
@available(*, deprecated, message: "Use init(path:options﹚") public init(key: String, options: Options)
-
- Tag: StorageGetURLRequest.init
Declaration
Swift
public init(path: any StoragePath, options: Options)
-
Options to adjust the behavior of this request, including plugin-options
- Tag: StorageGetURLRequest.Options
Declaration
Swift
struct Options