Awskit.RegionSourceAWS region names and pure validation.
AWS region names.
Region names are an open set, so validation rejects only values that cannot sensibly be used in request signing or host construction.
Validated region identifier, for example "us-east-1".
The type is private so callers can inspect it as a string through to_string but must construct it through validation.
Validate a region string.
Region identifiers are intentionally permissive to support AWS partitions, local simulators, S3-compatible services, and endpoint overrides. Empty strings, leading/trailing whitespace, and control/delete characters are rejected. Other non-empty strings are preserved exactly for endpoint resolution and SigV4 signing scopes.
Like of_string, but raises Error.Awskit_error carrying the structured validation error on validation failure.
Return the region string used in endpoints and SigV4 signing scopes.
Pretty-print the region string.