Amazon.IdentityManagement.AmazonIdentityManagementServiceClient.ListPolicies C# (CSharp) Method

ListPolicies() public method

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 OnlyAttached, Scope, and PathPrefix parameters. For example, to list only the customer managed policies in your AWS account, set Scope to Local. To list only AWS managed policies, set Scope to AWS.

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

For more information about managed policies, see Managed Policies and Inline Policies in the IAM User Guide.

/// The request processing has failed because of an unknown error, exception or failure. ///
public ListPolicies ( ) : ListPoliciesResponse
return ListPoliciesResponse
        public ListPoliciesResponse ListPolicies()
        {
            return ListPolicies(new ListPoliciesRequest());
        }

Same methods

AmazonIdentityManagementServiceClient::ListPolicies ( ListPoliciesRequest request ) : ListPoliciesResponse
AmazonIdentityManagementServiceClient