Use update_role
instead.
Modifies only the description of a role. This operation performs the
same function as the Description
parameter in the
update_role
operation.
iam_update_role_description(RoleName, Description)
A list with the following syntax:
list(
Role = list(
Path = "string",
RoleName = "string",
RoleId = "string",
Arn = "string",
CreateDate = as.POSIXct(
"2015-01-01"
),
AssumeRolePolicyDocument = "string",
Description = "string",
MaxSessionDuration = 123,
PermissionsBoundary = list(
PermissionsBoundaryType = "PermissionsBoundaryPolicy",
PermissionsBoundaryArn = "string"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
),
RoleLastUsed = list(
LastUsedDate = as.POSIXct(
"2015-01-01"
),
Region = "string"
)
)
)
[required] The name of the role that you want to modify.
[required] The new description that you want to apply to the specified role.
svc$update_role_description(
RoleName = "string",
Description = "string"
)