Class: Aws::IoT::Types::AttachThingPrincipalRequest

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

Overview

The input for the AttachThingPrincipal operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#principalString

The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.

Returns:

  • (String)


619
620
621
622
623
624
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 619

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

#thing_nameString

The name of the thing.

Returns:

  • (String)


619
620
621
622
623
624
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 619

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