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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Overview

Note:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The policy to detach.



4534
4535
4536
4537
4538
# File 'lib/aws-sdk-iot/types.rb', line 4534

class DetachPolicyRequest < Struct.new(
  :policy_name,
  :target)
  include Aws::Structure
end

#targetString

The target from which the policy will be detached.



4534
4535
4536
4537
4538
# File 'lib/aws-sdk-iot/types.rb', line 4534

class DetachPolicyRequest < Struct.new(
  :policy_name,
  :target)
  include Aws::Structure
end