| create_user {aws.iam} | R Documentation |
Manage IAM Users
Description
Retrieve, create, update, and delete IAM Users
Usage
create_user(user, path, ...)
update_user(user, name, path, ...)
get_user(user, ...)
delete_user(user, ...)
list_users(n, marker, path, ...)
Arguments
user |
A character string specifying a user name or an object of class “iam_user”. |
path |
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 |
name |
A character string specifying the new name for the user. |
n |
An integer specifying the number of responses to return. |
marker |
A character string specifying a marker (from a previous response) to use in paginating results |
Value
create_user and get_user return objects of class “iam_user”. update_user and delete_user return a logical TRUE (if successful) or an error. list_users returns a list of IAM user objects.
Examples
## Not run:
list_users()
# create example user
u <- create_user("example-user")
# cleanup
delete_user(u)
## End(Not run)
[Package aws.iam version 0.1.8 Index]