Function scratchstack_arn::utils::validate_account_id
source · Expand description
Verify that an account id meets AWS requirements.
An account id must be 12 ASCII digits or the string aws.
If account_id meets this requirement, Ok is returned. Otherwise, a ArnError::InvalidAccountId error is
returned.