Class: Aws::IoT::Types::DetachThingPrincipalRequest

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

Overview

The input for the DetachThingPrincipal operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#principalString

If the principal is a certificate, this value must be ARN of the certificate. If the principal is an Amazon Cognito identity, this value must be the ID of the Amazon Cognito identity.

Returns:

  • (String)


6581
6582
6583
6584
6585
6586
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6581

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

#thing_nameString

The name of the thing.

Returns:

  • (String)


6581
6582
6583
6584
6585
6586
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6581

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