Class: Aws::IAM::Types::DeletePolicyVersionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

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)] in the *Amazon Web Services General Reference*.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


2043
2044
2045
2046
2047
2048
# File 'lib/aws-sdk-iam/types.rb', line 2043

class DeletePolicyVersionRequest < Struct.new(
  :policy_arn,
  :version_id)
  SENSITIVE = []
  include Aws::Structure
end

#version_idString

The policy version to delete.

This parameter allows (through 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

Returns:

  • (String)


2043
2044
2045
2046
2047
2048
# File 'lib/aws-sdk-iam/types.rb', line 2043

class DeletePolicyVersionRequest < Struct.new(
  :policy_arn,
  :version_id)
  SENSITIVE = []
  include Aws::Structure
end