You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::DetachPrincipalPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::DetachPrincipalPolicyRequest
- Defined in:
- (unknown)
Overview
Note:
When passing DetachPrincipalPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
policy_name: "PolicyName", # required
principal: "Principal", # required
}
The input for the DetachPrincipalPolicy operation.
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.
#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).