Container for the parameters to the ListRolePolicies operation.
Lists the names of the policies associated with the specified role. If there are none, the action returns an empty list.
You can paginate the results using the MaxItems and Marker parameters.
| C# |
public class ListRolePoliciesRequest : AmazonWebServiceRequest
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ListRolePoliciesRequest()()()() | Initializes a new instance of the ListRolePoliciesRequest class | |
| Equals(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 |
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 Marker element in the response you just received.
Constraints: | |
| 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 IsTruncated response element is true.
Constraints: | |
| RoleName |
The name of the role to list policies for.
Constraints: | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithMarker(String) |
Sets the Marker property
| |
| WithMaxItems(Int32) |
Sets the MaxItems property
| |
| WithRoleName(String) |
Sets the RoleName property
|
| Object | ||
| AmazonWebServiceRequest | ||
| ListRolePoliciesRequest | ||