Class: Aws::IAM::Types::DeletePolicyVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::DeletePolicyVersionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
When making an API call, you may pass DeletePolicyVersionRequest data as a hash:
{
policy_arn: "arnType", # required
version_id: "policyVersionIdType", # required
}
Instance Attribute Summary collapse
-
#policy_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version.
-
#version_id ⇒ String
The policy version to delete.
Instance Attribute Details
#policy_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version.
For more information about ARNs, see [Amazon Resource Names (ARNs) and AWS Service Namespaces] in the *AWS General Reference*.
[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1876 1877 1878 1879 1880 |
# File 'lib/aws-sdk-iam/types.rb', line 1876 class DeletePolicyVersionRequest < Struct.new( :policy_arn, :version_id) include Aws::Structure end |
#version_id ⇒ String
The policy version to delete.
This parameter allows (per its [regex pattern]) a string of characters that consists of the lowercase letter āvā followed by one or two digits, and optionally followed by a period ā.ā and a string of letters and digits.
For more information about managed policy versions, see [Versioning for Managed Policies] in the *IAM User Guide*.
[1]: wikipedia.org/wiki/regex [2]: docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html
1876 1877 1878 1879 1880 |
# File 'lib/aws-sdk-iam/types.rb', line 1876 class DeletePolicyVersionRequest < Struct.new( :policy_arn, :version_id) include Aws::Structure end |