Learn R Programming

paws.security.identity (version 0.7.0)

iam_delete_role: Deletes the specified role

Description

Deletes the specified role. Unlike the Amazon Web Services Management Console, when you delete a role programmatically, you must delete the items attached to the role manually, or the deletion fails. For more information, see Deleting an IAM role. Before attempting to delete a role, remove the following attached items:

See https://www.paws-r-sdk.com/docs/iam_delete_role/ for full documentation.

Usage

iam_delete_role(RoleName)

Arguments

RoleName

[required] The name of the role to delete.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-