ServiceProvider Property

The S3 service provider to use.

Syntax

public var serviceProvider: S3clientServiceProviders {
get {...}
set {...} }

public enum S3clientServiceProviders: Int32 { case spAmazonS3 = 0 case spDigitalOcean = 1 case spGoogleStorage = 2 case spWasabi = 3 case spBackblazeB2 = 4 case spHuawei = 5 case spAlibaba = 6 case spIBM = 7 case spOracle = 8 case spLinode = 9 case spCustom = 255 }

Default Value

0

Remarks

This property specifies the S3 service provider that the class should use. Possible values are:

spAmazonS3 (0) (default) Amazon S3
spDigitalOcean (1) Digital Ocean Spaces
spGoogleStorage (2) Google Cloud Storage
spWasabi (3) Wasabi
spBackblazeB2 (4) Backblaze B2
spHuawei (5) Huawei Cloud Object Storage
spAlibaba (6) Alibaba Cloud Object Storage
spIBM (7) IBM Cloud Object Storage
spOracle (8) Oracle Cloud Object Storage
spLinode (9) Linode Object Storage
spCustom (255) Custom service provider

Note that the following providers require additional configuration before requests can be made:

  • spOracle (8): An "Object Storage Namespace" must be specified using the OracleNamespace configuration setting.
  • spCustom (255): A base URL must be specified using the URL configuration setting.

Changing this property will automatically:

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 macOS Edition - Version 20.0 [Build 8178]