diff --git a/Duplicati/Library/Backend/S3/S3Backend.cs b/Duplicati/Library/Backend/S3/S3Backend.cs index 833192262..f55cf90db 100644 --- a/Duplicati/Library/Backend/S3/S3Backend.cs +++ b/Duplicati/Library/Backend/S3/S3Backend.cs @@ -17,7 +17,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // #endregion -using Duplicati.Library.Common.IO; +using Duplicati.Library.Common.IO; using Duplicati.Library.Interface; using System; using System.Collections.Generic; @@ -68,6 +68,7 @@ namespace Duplicati.Library.Backend new KeyValuePair("US West (Northern California)", "us-west-1"), new KeyValuePair("US West (Oregon)", "us-west-2"), new KeyValuePair("Canada (Central)", "ca-central-1"), + new KeyValuePair("Asia Pacific (Hong Kong)", "ap-east-1"), new KeyValuePair("Asia Pacific (Mumbai)", "ap-south-1"), new KeyValuePair("Asia Pacific (Singapore)", "ap-southeast-1"), new KeyValuePair("Asia Pacific (Sydney)", "ap-southeast-2"), @@ -77,6 +78,7 @@ namespace Duplicati.Library.Backend new KeyValuePair("South America (São Paulo)", "sa-east-1"), new KeyValuePair("China (Beijing)", "cn-north-1"), new KeyValuePair("China (Ningxia)", "cn-northwest-1"), + new KeyValuePair("Middle East (Bahrain)", "me-south-1"), }; public static readonly KeyValuePair[] DEFAULT_S3_LOCATION_BASED_HOSTS = new KeyValuePair[] { @@ -91,6 +93,7 @@ namespace Duplicati.Library.Backend new KeyValuePair("us-east-2", "s3.us-east-2.amazonaws.com"), new KeyValuePair("us-west-1", "s3-us-west-1.amazonaws.com"), new KeyValuePair("us-west-2", "s3-us-west-2.amazonaws.com"), + new KeyValuePair("ap-east-1", "s3-ap-east-1.amazonaws.com"), new KeyValuePair("ap-south-1", "s3-ap-south-1.amazonaws.com"), new KeyValuePair("ap-southeast-1", "s3-ap-southeast-1.amazonaws.com"), new KeyValuePair("ap-southeast-2", "s3-ap-southeast-2.amazonaws.com"), @@ -100,6 +103,7 @@ namespace Duplicati.Library.Backend new KeyValuePair("sa-east-1", "s3-sa-east-1.amazonaws.com"), new KeyValuePair("cn-north-1", "s3.cn-north-1.amazonaws.com.cn"), new KeyValuePair("cn-northwest-1", "s3.cn-northwest-1.amazonaws.com.cn"), + new KeyValuePair("me-south-1", "s3.me-south-1.amazonaws.com.cn"), }; public static readonly KeyValuePair[] KNOWN_S3_STORAGE_CLASSES; @@ -110,7 +114,9 @@ namespace Duplicati.Library.Backend new KeyValuePair("(default)", ""), new KeyValuePair("Standard", "STANDARD"), new KeyValuePair("Infrequent Access (IA)", "STANDARD_IA"), + new KeyValuePair("One Zone Infrequent Access (One Zone IA)", "ONEZONE_IA"), new KeyValuePair("Glacier", "GLACIER"), + new KeyValuePair("Deep Archive", "DEEP_ARCHIVE"), new KeyValuePair("Reduced Redundancy Storage (RRS)", "REDUCED_REDUNDANCY"), };