mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
IAM answers two sentences for a managed policy ARN it cannot resolve and they are not interchangeable: the ARN names nothing, or it names nothing the call could attach. One sentence served every operation here, and the three detach paths added a clause naming the user, group or role that AWS never emits. PolicyNotFound sites the two per operation, from the recordings: GetPolicy, TagPolicy and the detach paths answer the plain sentence, while the attach family, ListEntitiesForPolicy and the version operations carry the attachability clause, with GetPolicyVersion naming the version inside it. The operations no recording covers read with their own family, documented on the IAM page.