You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Note:

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

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

The input for the DetachThingPrincipal operation.

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)


1377
1378
1379
1380
1381
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1377

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

#thing_nameString

The name of the thing.

Returns:

  • (String)


1377
1378
1379
1380
1381
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1377

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