Class: Aws::IoT::Types::DetachPrincipalPolicyRequest
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::IoT::Types::DetachPrincipalPolicyRequest
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-iot/types.rb
 
Overview
The input for the DetachPrincipalPolicy operation.
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #policy_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the policy to detach.
 - 
  
    
      #principal  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The principal.
 
Instance Attribute Details
#policy_name ⇒ String
The name of the policy to detach.
      6544 6545 6546 6547 6548 6549  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 6544 class DetachPrincipalPolicyRequest < Struct.new( :policy_name, :principal) SENSITIVE = [] include Aws::Structure end  | 
  
#principal ⇒ String
The principal.
Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
      6544 6545 6546 6547 6548 6549  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 6544 class DetachPrincipalPolicyRequest < Struct.new( :policy_name, :principal) SENSITIVE = [] include Aws::Structure end  |