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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DetachThingPrincipalRequest as input to an Aws::Client method, you can use a vanilla 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)

    If the principal is a certificate, this value must be ARN of the certificate.

#thing_nameString

The name of the thing.

Returns:

  • (String)

    The name of the thing.