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

Class: Aws::Organizations::Types::DeletePolicyRequest

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 DeletePolicyRequest 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 to delete. 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)


676
677
678
679
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 676

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