Class: Aws::IoT::Types::DetachPrincipalPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::DetachPrincipalPolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass DetachPrincipalPolicyRequest data as a 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.
4562 4563 4564 4565 4566 |
# File 'lib/aws-sdk-iot/types.rb', line 4562 class DetachPrincipalPolicyRequest < Struct.new( :policy_name, :principal) include Aws::Structure end |
#principal ⇒ String
The principal.
If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
4562 4563 4564 4565 4566 |
# File 'lib/aws-sdk-iot/types.rb', line 4562 class DetachPrincipalPolicyRequest < Struct.new( :policy_name, :principal) include Aws::Structure end |