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

ListPolicyVersions() public method

Lists information about the versions of the specified managed policy, including the version that is currently set as the policy's default version.

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

/// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// The request was rejected because it referenced an entity that does not exist. The /// error message describes the entity. /// /// The request processing has failed because of an unknown error, exception or failure. ///
public ListPolicyVersions ( ListPolicyVersionsRequest request ) : ListPolicyVersionsResponse
request ListPolicyVersionsRequest Container for the necessary parameters to execute the ListPolicyVersions service method.
return ListPolicyVersionsResponse
        public ListPolicyVersionsResponse ListPolicyVersions(ListPolicyVersionsRequest request)
        {
            var marshaller = new ListPolicyVersionsRequestMarshaller();
            var unmarshaller = ListPolicyVersionsResponseUnmarshaller.Instance;

            return Invoke<ListPolicyVersionsRequest,ListPolicyVersionsResponse>(request, marshaller, unmarshaller);
        }
AmazonIdentityManagementServiceClient