Add or remove a user to/from a group
Value
a named list with slots for:
user (tibble)
policies (list)
attached_policies (list)
groups (list)
Details
See https://www.paws-r-sdk.com/docs/iam_add_user_to_group/ https://www.paws-r-sdk.com/docs/iam_remove_user_from_group/ docs for more details
See also
Other users:
aws_user()
,
aws_user_access_key()
,
aws_user_access_key_delete()
,
aws_user_create()
,
aws_user_current()
,
aws_user_delete()
,
aws_user_exists()
,
aws_users()
,
six_user_create()
,
six_user_delete()
Examples
if (FALSE) { # \dontrun{
if (!aws_group_exists("testgroup3")) {
aws_group_create("testgroup3")
}
if (!aws_user_exists("testBlueBird3")) {
aws_user_create("testBlueBird3")
}
aws_user_add_to_group("testBlueBird3", "testgroup3")
aws_user_remove_from_group("testBlueBird3", "testgroup3")
} # }