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

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

Overview

Note:

When making an API call, you may pass AttachThingPrincipalRequest data as a hash:

{
  thing_name: "ThingName", # required
  principal: "Principal", # required
}

The input for the AttachThingPrincipal operation.

Instance Attribute Summary collapse

Instance Attribute Details

#principalString

The principal, such as a certificate or other credential.



589
590
591
592
593
# File 'lib/aws-sdk-iot/types.rb', line 589

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

#thing_nameString

The name of the thing.



589
590
591
592
593
# File 'lib/aws-sdk-iot/types.rb', line 589

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