@@ -50,38 +50,83 @@ public class FunctionRegion : IEquatable<FunctionRegion>
50
50
{
51
51
private string _region ;
52
52
53
+ /// <summary>
54
+ /// Empty region
55
+ /// </summary>
53
56
public static FunctionRegion Any { get ; } = new FunctionRegion ( "any" ) ;
54
57
58
+ /// <summary>
59
+ /// Represents the region "ap-northeast-1" for function requests.
60
+ /// </summary>
55
61
public static FunctionRegion ApNortheast1 { get ; } =
56
62
new FunctionRegion ( "ap-northeast-1" ) ;
57
63
64
+ /// <summary>
65
+ /// Represents the "ap-northeast-2" region for function invocation.
66
+ /// </summary>
58
67
public static FunctionRegion ApNortheast2 { get ; } =
59
68
new FunctionRegion ( "ap-northeast-2" ) ;
60
69
70
+ /// <summary>
71
+ /// Represents the "ap-south-1" region used for requests.
72
+ /// </summary>
61
73
public static FunctionRegion ApSouth1 { get ; } = new FunctionRegion ( "ap-south-1" ) ;
62
74
75
+ /// <summary>
76
+ /// Represents the region "ap-southeast-1" for function invocation.
77
+ /// </summary>
63
78
public static FunctionRegion ApSoutheast1 { get ; } =
64
79
new FunctionRegion ( "ap-southeast-1" ) ;
65
80
81
+ /// <summary>
82
+ /// Represents the "ap-southeast-2" region for requests.
83
+ /// </summary>
66
84
public static FunctionRegion ApSoutheast2 { get ; } =
67
85
new FunctionRegion ( "ap-southeast-2" ) ;
68
86
87
+ /// <summary>
88
+ /// Represents the Canada (Central) region for requests.
89
+ /// </summary>
69
90
public static FunctionRegion CaCentral1 { get ; } = new FunctionRegion ( "ca-central-1" ) ;
70
91
92
+ /// <summary>
93
+ /// Represents the "eu-central-1" region for function invocation.
94
+ /// </summary>
71
95
public static FunctionRegion EuCentral1 { get ; } = new FunctionRegion ( "eu-central-1" ) ;
72
96
97
+ /// <summary>
98
+ /// Represents the "eu-west-1" function region for requests.
99
+ /// </summary>
73
100
public static FunctionRegion EuWest1 { get ; } = new FunctionRegion ( "eu-west-1" ) ;
74
101
102
+ /// <summary>
103
+ /// Represents the "eu-west-2" region for function invocation requests.
104
+ /// </summary>
75
105
public static FunctionRegion EuWest2 { get ; } = new FunctionRegion ( "eu-west-2" ) ;
76
106
107
+ /// <summary>
108
+ /// Represents the AWS region 'eu-west-3'.
109
+ /// </summary>
77
110
public static FunctionRegion EuWest3 { get ; } = new FunctionRegion ( "eu-west-3" ) ;
78
111
112
+ /// <summary>
113
+ /// Represents the South America (São Paulo) region for requests.
114
+ /// </summary>
79
115
public static FunctionRegion SaEast1 { get ; } = new FunctionRegion ( "sa-east-1" ) ;
80
116
117
+ /// <summary>
118
+ /// Represents the "us-east-1" region for function requests.
119
+ /// </summary>
81
120
public static FunctionRegion UsEast1 { get ; } = new FunctionRegion ( "us-east-1" ) ;
82
121
122
+ /// <summary>
123
+ /// Represents the us-west-1 region for function requests.
124
+ /// </summary>
83
125
public static FunctionRegion UsWest1 { get ; } = new FunctionRegion ( "us-west-1" ) ;
84
126
127
+ /// <summary>
128
+ /// Represents the "us-west-2" region for requests.
129
+ /// </summary>
85
130
public static FunctionRegion UsWest2 { get ; } = new FunctionRegion ( "us-west-2" ) ;
86
131
87
132
/// <summary>
@@ -128,8 +173,14 @@ public bool Equals(FunctionRegion other)
128
173
public static bool operator != ( FunctionRegion left , FunctionRegion right ) =>
129
174
! Equals ( left , right ) ;
130
175
176
+ /// <summary>
177
+ /// Overloads the explicit cast operator to convert a FunctionRegion object to a string.
178
+ /// </summary>
131
179
public static explicit operator string ( FunctionRegion region ) => region . ToString ( ) ;
132
180
181
+ /// <summary>
182
+ /// Overloads the explicit cast operator to convert a string to a FunctionRegion object.
183
+ /// </summary>
133
184
public static explicit operator FunctionRegion ( string region ) =>
134
185
new FunctionRegion ( region ) ;
135
186
0 commit comments