AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
For information about versions for managed policies, refer to Versioning for Managed Policies in the IAM User Guide.
Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class DeletePolicyVersionRequest : AmazonIdentityManagementServiceRequest IRequestEvents
The DeletePolicyVersionRequest type exposes the following members
Name | Description | |
---|---|---|
DeletePolicyVersionRequest() |
Name | Type | Description | |
---|---|---|---|
PolicyArn | System.String | Gets and sets the property PolicyArn. | |
VersionId | System.String |
Gets and sets the property VersionId.
The policy version to delete. For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1