Class: Aws::IAM::Types::GetPolicyVersionRequest

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

Overview

Note:

When making an API call, you may pass GetPolicyVersionRequest data as a hash:

{
  policy_arn: "arnType", # required
  version_id: "policyVersionIdType", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

The Amazon Resource Name (ARN) of the managed policy that you want information about.

For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

Returns:

  • (String)


3973
3974
3975
3976
3977
3978
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3973

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

#version_idString

Identifies the policy version to retrieve.

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.

Returns:

  • (String)


3973
3974
3975
3976
3977
3978
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3973

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