Method ToIdentifier
- Namespace
- LMKit.Integrations.AWS
- Assembly
- LM-Kit.NET.dll
ToIdentifier(AWSRegion)
Converts an AWSRegion enum value into its AWS region identifier
string (for example, AWSRegion.USWest2
→ "us-west-2").
public static string ToIdentifier(AWSRegion region)
Parameters
Returns
- string
The AWS-compatible region string.
Exceptions
- ArgumentOutOfRangeException
Thrown if
region
is not a defined member of AWSRegion.