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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


678
679
680
681
682
683
# File 'lib/aws-sdk-iot/types.rb', line 678

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

#thing_nameString

The name of the thing.

Returns:

  • (String)


678
679
680
681
682
683
# File 'lib/aws-sdk-iot/types.rb', line 678

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