Skip to content

Commit 32a1d03

Browse files
authored
AWS Regions. Summer 2024 (#59)
* Added the new AWS regions availables * Adding new AWS regions * Fix the variable declaration
1 parent ec7e66d commit 32a1d03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Sources/AWSLambdaEvents/AWSRegion.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public struct AWSRegion: RawRepresentable, Equatable, Sendable {
2929
Self.af_south_1,
3030
Self.ap_northeast_1,
3131
Self.ap_northeast_2,
32+
Self.ap_northeast_3,
3233
Self.ap_east_1,
3334
Self.ap_southeast_1,
3435
Self.ap_southeast_2,
@@ -53,15 +54,18 @@ public struct AWSRegion: RawRepresentable, Equatable, Sendable {
5354
Self.us_gov_east_1,
5455
Self.us_gov_west_1,
5556
Self.ca_central_1,
57+
Self.ca_west_1,
5658
Self.sa_east_1,
5759
Self.me_central_1,
5860
Self.me_south_1,
61+
Self.il_central_1
5962
]
6063

6164
public static var af_south_1: Self { AWSRegion(rawValue: "af-south-1")! }
6265

6366
public static var ap_northeast_1: Self { AWSRegion(rawValue: "ap-northeast-1")! }
6467
public static var ap_northeast_2: Self { AWSRegion(rawValue: "ap-northeast-2")! }
68+
public static var ap_northeast_3: Self { AWSRegion(rawValue: "ap-northeast-3")! }
6569
public static var ap_east_1: Self { AWSRegion(rawValue: "ap-east-1")! }
6670
public static var ap_southeast_1: Self { AWSRegion(rawValue: "ap-southeast-1")! }
6771
public static var ap_southeast_2: Self { AWSRegion(rawValue: "ap-southeast-2")! }
@@ -90,9 +94,12 @@ public struct AWSRegion: RawRepresentable, Equatable, Sendable {
9094
public static var us_gov_west_1: Self { AWSRegion(rawValue: "us-gov-west-1")! }
9195

9296
public static var ca_central_1: Self { AWSRegion(rawValue: "ca-central-1")! }
97+
public static var ca_west_1: Self { AWSRegion(rawValue: "ca-west-1")! }
9398
public static var sa_east_1: Self { AWSRegion(rawValue: "sa-east-1")! }
9499
public static var me_central_1: Self { AWSRegion(rawValue: "me-central-1")! }
95100
public static var me_south_1: Self { AWSRegion(rawValue: "me-south-1")! }
101+
102+
public static var il_central_1: Self { AWSRegion(rawValue: "il-central-1")! }
96103
}
97104

98105
extension AWSRegion: Codable {

0 commit comments

Comments
 (0)