StorageRemoveRequest

public struct StorageRemoveRequest : AmplifyOperationRequest

Represents a object removal request initiated by an implementation of the StorageCategoryPlugin protocol.

  • Tag: StorageRemoveRequest
  • key

    The unique identifier for the object in storage

    • Tag: StorageRemoveRequest.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: StorageRemoveRequest.path

    Declaration

    Swift

    public let path: (any StoragePath)?
  • Options to adjust the behavior of this request, including plugin-options

    • Tag: StorageRemoveRequest.options

    Declaration

    Swift

    public let options: Options
    • Tag: StorageRemoveRequest.init

    Declaration

    Swift

    @available(*, deprecated, message: "Use init(path:options﹚")
    public init(key: String, options: Options)
    • Tag: StorageRemoveRequest.init

    Declaration

    Swift

    public init(path: any StoragePath, options: Options)
  • Options to adjust the behavior of this request, including plugin-options

    • Tag: StorageRemoveRequestOptions
    See more

    Declaration

    Swift

    struct Options