Lists all the managed policies that are available in your AWS account, including your own customer-defined managed policies and all AWS managed policies.
You can filter the list of policies that is returned using the optional
PathPrefix parameters. For example, to list only
the customer managed policies in your AWS account, set
To list only AWS managed policies, set
You can paginate the results using the
For more information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide.
For PCL this operation is only available in asynchronous form. Please refer to ListPoliciesAsync.
public abstract ListPoliciesResponse ListPolicies()
|ServiceFailureException||The request processing has failed because of an unknown error, exception or failure.|
Supported in: 4.5, 4.0, 3.5
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms