Class: Aws::IoT::Types::AttachThingPrincipalRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::AttachThingPrincipalRequest
- 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
-
#principal ⇒ String
The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
-
#thing_name ⇒ String
The name of the thing.
-
#thing_principal_type ⇒ String
The type of the relation you want to specify when you attach a principal to a thing.
Instance Attribute Details
#principal ⇒ String
The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
695 696 697 698 699 700 701 |
# File 'lib/aws-sdk-iot/types.rb', line 695 class AttachThingPrincipalRequest < Struct.new( :thing_name, :principal, :thing_principal_type) SENSITIVE = [] include Aws::Structure end |
#thing_name ⇒ String
The name of the thing.
695 696 697 698 699 700 701 |
# File 'lib/aws-sdk-iot/types.rb', line 695 class AttachThingPrincipalRequest < Struct.new( :thing_name, :principal, :thing_principal_type) SENSITIVE = [] include Aws::Structure end |
#thing_principal_type ⇒ String
The type of the relation you want to specify when you attach a principal to a thing.
-
‘EXCLUSIVE_THING` - Attaches the specified principal to the specified thing, exclusively. The thing will be the only thing that’s attached to the principal.
^ ^
-
‘NON_EXCLUSIVE_THING` - Attaches the specified principal to the specified thing. Multiple things can be attached to the principal.
^
695 696 697 698 699 700 701 |
# File 'lib/aws-sdk-iot/types.rb', line 695 class AttachThingPrincipalRequest < Struct.new( :thing_name, :principal, :thing_principal_type) SENSITIVE = [] include Aws::Structure end |