[][src]Function aws_iam::io::write_to_file

pub fn write_to_file(path: &PathBuf, policy: &Policy) -> Result<(), Error>

Write the policy object to a file at path, this will create a file if it does not exist and overwrite any file if it exists.