Options

struct Options

Options to adjust the behavior of this request, including plugin-options

  • Tag: StorageListRequestOptions
  • The default amount of time before the URL expires is 18000 seconds, or 5 hours.

    • Tag: StorageListRequestOptions.defaultExpireInSeconds

    Declaration

    Swift

    public static let defaultExpireInSeconds: Int
  • Access level of the storage system. Defaults to public

    • Tag: StorageListRequestOptions.accessLevel

    Declaration

    Swift

    public let accessLevel: StorageAccessLevel
  • Target user to apply the action on.

    • Tag: StorageListRequestOptions.targetIdentityId

    Declaration

    Swift

    public let targetIdentityId: String?
  • Number of seconds before the URL expires. Defaults to defaultExpireInSeconds

    • Tag: StorageListRequestOptions.expires

    Declaration

    Swift

    public let expires: Int
  • Extra plugin specific options, only used in special circumstances when the existing options do not provide a way to utilize the underlying storage system’s functionality. See plugin documentation or AWSStorageGetURLOptions for expected key/values.

    • Tag: StorageListRequestOptions.pluginOptions

    Declaration

    Swift

    public let pluginOptions: Any?
    • Tag: StorageListRequestOptions.init

    Declaration

    Swift

    public init(accessLevel: StorageAccessLevel = .guest,
                targetIdentityId: String? = nil,
                expires: Int = Options.defaultExpireInSeconds,
                pluginOptions: Any? = nil)