Class: Aws::IoT::Types::DetachPrincipalPolicyRequest

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#policy_nameString

The name of the policy to detach.

Returns:

  • (String)


6814
6815
6816
6817
6818
6819
# File 'lib/aws-sdk-iot/types.rb', line 6814

class DetachPrincipalPolicyRequest < Struct.new(
  :policy_name,
  :principal)
  SENSITIVE = []
  include Aws::Structure
end

#principalString

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).

Returns:

  • (String)


6814
6815
6816
6817
6818
6819
# File 'lib/aws-sdk-iot/types.rb', line 6814

class DetachPrincipalPolicyRequest < Struct.new(
  :policy_name,
  :principal)
  SENSITIVE = []
  include Aws::Structure
end