Retrieve, create, update, and delete IAM Roles
create_role(role, policy, path, ...)delete_role(role, ...)
add_profile_role(role, profile, ...)
remove_profile_role(role, profile, ...)
list_roles(n, marker, path, ...)
A character string containing a role name or an object of class “iam_role”.
…
A character string specifying a path prefix in which to locate user(s), role(s), etc. See Reference Identifiers on the AWS Documentation for more information.
Additional arguments passed to iamHTTP
.
A character string specifying the name for the profile, or an object of class “iam_instance_profile”.
An integer specifying the number of responses to return.
A character string specifying a marker (from a previous response) to use in paginating results
create_role
and get_role
return objects of class “iam_role”. update_role
and delete_role
return a logical TRUE
(if successful) or an error. list_roles
returns a list of IAM role objects.