TLD parsing
Rust SDK API Reference / TLD parsing
These local parsers validate read-side suffixes and canonical writable .sns names without RPC. Read parsing recognizes the rollout's supported suffixes, while write parsing requires lowercase, whitespace-free .sns input and returns the suffix-trimmed name.
APIs
| API | Description |
|---|---|
parse_supported_tld | Splits a supported read-side suffix from a domain. |
parse_sns_domain | Parses a canonical .sns domain or one-level subdomain. |
parse_sns_top_level_domain | Parses a canonical top-level .sns domain. |