diff --git a/AWSCore/Service/AWSService.m b/AWSCore/Service/AWSService.m index 82960d9f668..395ae301564 100644 --- a/AWSCore/Service/AWSService.m +++ b/AWSCore/Service/AWSService.m @@ -260,6 +260,7 @@ - (id)copyWithZone:(NSZone *)zone { static NSString *const AWSRegionNameAPSoutheast2 = @"ap-southeast-2"; static NSString *const AWSRegionNameAPSoutheast3 = @"ap-southeast-3"; static NSString *const AWSRegionNameAPSoutheast4 = @"ap-southeast-4"; +static NSString *const AWSRegionNameAPSoutheast5 = @"ap-southeast-5"; static NSString *const AWSRegionNameAPSouth1 = @"ap-south-1"; static NSString *const AWSRegionNameAPSouth2 = @"ap-south-2"; static NSString *const AWSRegionNameSAEast1 = @"sa-east-1"; @@ -478,6 +479,8 @@ + (NSString *)regionNameFromType:(AWSRegionType)regionType { return AWSRegionNameAPSoutheast3; case AWSRegionAPSoutheast4: return AWSRegionNameAPSoutheast4; + case AWSRegionAPSoutheast5: + return AWSRegionNameAPSoutheast5; case AWSRegionAPNortheast1: return AWSRegionNameAPNortheast1; case AWSRegionAPNortheast2: diff --git a/AWSCore/Service/AWSServiceEnum.h b/AWSCore/Service/AWSServiceEnum.h index 16aa14c10c8..074bd42f16c 100644 --- a/AWSCore/Service/AWSServiceEnum.h +++ b/AWSCore/Service/AWSServiceEnum.h @@ -83,6 +83,10 @@ typedef NS_ENUM(NSInteger, AWSRegionType) { * Asia Pacific (Melbourne) */ AWSRegionAPSoutheast4 NS_SWIFT_NAME(APSoutheast4), + /** + * Asia Pacific (Malaysia) + */ + AWSRegionAPSoutheast5 NS_SWIFT_NAME(APSoutheast5), /** * Asia Pacific (Mumbai) */ diff --git a/AWSCore/Utility/AWSCategory.m b/AWSCore/Utility/AWSCategory.m index cd0077d681d..8cd95235906 100644 --- a/AWSCore/Utility/AWSCategory.m +++ b/AWSCore/Utility/AWSCategory.m @@ -530,6 +530,11 @@ - (AWSRegionType)aws_regionTypeValue { || [self isEqualToString:@"ap-southeast-4"]) { return AWSRegionAPSoutheast4; } + if ([self isEqualToString:@"AWSRegionAPSoutheast5"] + || [self isEqualToString:@"APSoutheast5"] + || [self isEqualToString:@"ap-southeast-5"]) { + return AWSRegionAPSoutheast5; + } if ([self isEqualToString:@"AWSRegionAPSouth1"] || [self isEqualToString:@"APSouth1"] || [self isEqualToString:@"ap-south-1"]) { diff --git a/AWSS3/AWSS3Model.h b/AWSS3/AWSS3Model.h index e343b1cbc13..e2a6bf9fd1d 100644 --- a/AWSS3/AWSS3Model.h +++ b/AWSS3/AWSS3Model.h @@ -70,6 +70,7 @@ typedef NS_ENUM(NSInteger, AWSS3BucketLocationConstraint) { AWSS3BucketLocationConstraintAPSoutheast2, AWSS3BucketLocationConstraintAPSoutheast3, AWSS3BucketLocationConstraintAPSoutheast4, + AWSS3BucketLocationConstraintAPSoutheast5, AWSS3BucketLocationConstraintCACentral1, AWSS3BucketLocationConstraintCAWest1, AWSS3BucketLocationConstraintCNNorth1, diff --git a/AWSS3/AWSS3Model.m b/AWSS3/AWSS3Model.m index da3b5287ae4..72d3721ce7d 100644 --- a/AWSS3/AWSS3Model.m +++ b/AWSS3/AWSS3Model.m @@ -1226,6 +1226,9 @@ + (NSValueTransformer *)locationConstraintJSONTransformer { if ([value caseInsensitiveCompare:@"ap-southeast-4"] == NSOrderedSame) { return @(AWSS3BucketLocationConstraintAPSoutheast4); } + if ([value caseInsensitiveCompare:@"ap-southeast-5"] == NSOrderedSame) { + return @(AWSS3BucketLocationConstraintAPSoutheast5); + } if ([value caseInsensitiveCompare:@"ca-central-1"] == NSOrderedSame) { return @(AWSS3BucketLocationConstraintCACentral1); } @@ -1319,6 +1322,8 @@ + (NSValueTransformer *)locationConstraintJSONTransformer { return @"ap-southeast-3"; case AWSS3BucketLocationConstraintAPSoutheast4: return @"ap-southeast-4"; + case AWSS3BucketLocationConstraintAPSoutheast5: + return @"ap-southeast-5"; case AWSS3BucketLocationConstraintCACentral1: return @"ca-central-1"; case AWSS3BucketLocationConstraintCAWest1: @@ -2844,6 +2849,9 @@ + (NSValueTransformer *)locationConstraintJSONTransformer { if ([value caseInsensitiveCompare:@"ap-southeast-4"] == NSOrderedSame) { return @(AWSS3BucketLocationConstraintAPSoutheast4); } + if ([value caseInsensitiveCompare:@"ap-southeast-5"] == NSOrderedSame) { + return @(AWSS3BucketLocationConstraintAPSoutheast5); + } if ([value caseInsensitiveCompare:@"ca-central-1"] == NSOrderedSame) { return @(AWSS3BucketLocationConstraintCACentral1); } @@ -2937,6 +2945,8 @@ + (NSValueTransformer *)locationConstraintJSONTransformer { return @"ap-southeast-3"; case AWSS3BucketLocationConstraintAPSoutheast4: return @"ap-southeast-4"; + case AWSS3BucketLocationConstraintAPSoutheast5: + return @"ap-southeast-5"; case AWSS3BucketLocationConstraintCACentral1: return @"ca-central-1"; case AWSS3BucketLocationConstraintCAWest1: diff --git a/AWSS3/AWSS3Resources.m b/AWSS3/AWSS3Resources.m index def6d7b2a1f..d515ed81e0c 100644 --- a/AWSS3/AWSS3Resources.m +++ b/AWSS3/AWSS3Resources.m @@ -1375,6 +1375,7 @@ - (NSString *)definitionString { \"ap-southeast-2\",\ \"ap-southeast-3\",\ \"ap-southeast-4\",\ + \"ap-southeast-5\",\ \"ca-central-1\",\ \"ca-west-1\",\ \"cn-north-1\",\ diff --git a/CHANGELOG.md b/CHANGELOG.md index 432e7899fe3..6978f7e8060 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,9 @@ ## Unreleased --Features for next release +### New features +- **AWSCore** + - Support for `ap-southeast-5` - Asia Pacific (Malaysia) (see [AWS Regional Services List](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/) for a list of services supported in the region) ## 2.36.7