You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Organizations::Types::DescribePolicyRequest

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

Overview

Note:

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

{
  policy_id: "PolicyId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#policy_idString

The unique identifier (ID) of the policy that you want details about. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.

Returns:

  • (String)


871
872
873
874
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 871

class DescribePolicyRequest < Struct.new(
  :policy_id)
  include Aws::Structure
end