fn arn_to_role_info(arn: &str) -> (String, String) {
    let split = arn.split(":").collect::<Vec<&str>>();

    return (split[4].into(), split[5].to_owned().replace("role/", ""));
}
// Returns the Account ID and Role Name
Returns the Account ID and Role Name
Returns the Account ID and Role Name
fn arn_to_role_info(arn: &str) -> (String, String) {
    let split = arn.split(":").collect::<Vec<&str>>();
    return (split[4].into(), split[5].to_owned().replace("role/", ""));
}
fn arn_to_role_info ( arn : & str ) -> ( String , String ) { let split = arn . split ( " " ) . collect :: < Vec < & str > > ( ) ; return ( split [ 4 ] . into ( ) , split [ 5 ] . to_owned ( ) . replace ( " " , " " ) ) ; }
Returns the Account ID and Role Name
Returns the Account ID and Role Name
arn
&str
arn
&str