v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143164631.2 MB

Lists the IAM roles that have the specified path prefix. If there are none, the operation returns an empty list. For more information about roles, see Working with roles.

IAM resource-listing operations return a subset of the available attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a role, see GetRole.

You can paginate the results using the MaxItems and Marker parameters.

post/#Action=ListRoles

Query parameters

MaxItemsstring

Pagination limit

Markerstring

Pagination token

Action'ListRoles' required
Version'2010-05-08' required

Response

Success