AWS SDK for .NET Documentation
ListRolesRequest Class
AmazonAmazon.IdentityManagement.ModelListRolesRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the ListRoles operation. Lists the roles that have the specified path prefix. If there are none, the action returns an empty list. For more information about roles, go to Working with Roles.

You can paginate the results using the

CopyC#
MaxItems
and
CopyC#
Marker
parameters.

The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.

Declaration Syntax
C#
public class ListRolesRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ListRolesRequest()()()()
Initializes a new instance of the ListRolesRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Marker
Gets and sets the property Marker.

Use this parameter only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the

CopyC#
Marker
element in the response you just received.


MaxItems
Gets and sets the property MaxItems.

Use this parameter only when paginating results to indicate the maximum number of user names you want in the response. If there are additional user names beyond the maximum you specify, the

CopyC#
IsTruncated
response element is
CopyC#
true
. This parameter is optional. If you do not include it, it defaults to 100.


PathPrefix
Gets and sets the property PathPrefix.

The path prefix for filtering the results. For example:

CopyC#
/application_abc/component_xyz/
, which would get all roles whose path starts with
CopyC#
/application_abc/component_xyz/
.

This parameter is optional. If it is not included, it defaults to a slash (/), listing all roles.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithMarker(String) Obsolete.
Sets the Marker property

WithMaxItems(Int32) Obsolete.
Sets the MaxItems property

WithPathPrefix(String) Obsolete.
Sets the PathPrefix property

Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)