Retrieve, create, update, and delete IAM Role, User, and Group Polices
add_policy(user, group, role, policy, doc, ...)update_policy(role, doc, ...)
get_policy(policy, user, group, role, ...)
delete_policy(user, group, role, policy, ...)
list_policies(user, group, role, n, marker, ...)
A character string specifying a user name or an object of class “iam_user”.
A character string containing a group name or an object of class “iam_group”.
A character string containing a role name or an object of class “iam_role”.
A character string specifying the policy name.
The contents of the policy document as a character string.
Additional arguments passed to iamHTTP
.
An integer specifying the number of responses to return.
A character string specifying a marker (from a previous response) to use in paginating results
add_policy
and get_policy
return objects of class “iam_policy”. update_policy
and delete_policy
return a logical TRUE
(if successful) or an error. list_policies
returns a list of IAM role objects.