aws_iam::io
pub fn write_to_writer<W>(writer: W, policy: &Policy) -> Result<(), Error> where W: Write + Sized,
Write the policy object to any implementation of std::io::Write.
policy
std::io::Write