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

Class: Aws::IoT::Types::DetachPolicyRequest

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

Overview

Note:

When passing DetachPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  policy_name: "PolicyName", # required
  target: "PolicyTarget", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The policy to detach.

Returns:

  • (String)

    The policy to detach.

#targetString

The target from which the policy will be detached.

Returns:

  • (String)

    The target from which the policy will be detached.