Class: Aws::IAM::Types::GetPolicyVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::GetPolicyVersionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
When making an API call, you may pass GetPolicyVersionRequest 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 managed policy that you want information about.
-
#version_id ⇒ String
Identifies the policy version to retrieve.
Instance Attribute Details
#policy_arn ⇒ String
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*.
[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3034 3035 3036 3037 3038 |
# File 'lib/aws-sdk-iam/types.rb', line 3034 class GetPolicyVersionRequest < Struct.new( :policy_arn, :version_id) include Aws::Structure end |
#version_id ⇒ String
Identifies the policy version to retrieve.
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.
3034 3035 3036 3037 3038 |
# File 'lib/aws-sdk-iam/types.rb', line 3034 class GetPolicyVersionRequest < Struct.new( :policy_arn, :version_id) include Aws::Structure end |