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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DeletePolicyRequest as input to an Aws::Client method, you can use a vanilla 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 lowercase or uppercase letters, digits, or the underscore character (_).

Returns:

  • (String)

    The unique identifier (ID) of the policy that you want to delete.