Class: Aws::IoT::Types::ListPrincipalThingsV2Request

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of results to return in this operation.

Returns:

  • (Integer)


10985
10986
10987
10988
10989
10990
10991
10992
# File 'lib/aws-sdk-iot/types.rb', line 10985

class ListPrincipalThingsV2Request < Struct.new(
  :next_token,
  :max_results,
  :principal,
  :thing_principal_type)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

To retrieve the next set of results, the ‘nextToken` value from a previous response; otherwise null to receive the first set of results.

Returns:

  • (String)


10985
10986
10987
10988
10989
10990
10991
10992
# File 'lib/aws-sdk-iot/types.rb', line 10985

class ListPrincipalThingsV2Request < Struct.new(
  :next_token,
  :max_results,
  :principal,
  :thing_principal_type)
  SENSITIVE = []
  include Aws::Structure
end

#principalString

The principal. A principal can be an X.509 certificate or an Amazon Cognito ID.

Returns:

  • (String)


10985
10986
10987
10988
10989
10990
10991
10992
# File 'lib/aws-sdk-iot/types.rb', line 10985

class ListPrincipalThingsV2Request < Struct.new(
  :next_token,
  :max_results,
  :principal,
  :thing_principal_type)
  SENSITIVE = []
  include Aws::Structure
end

#thing_principal_typeString

The type of the relation you want to filter in the response. If no value is provided in this field, the response will list all things, including both the ‘EXCLUSIVE_THING` and `NON_EXCLUSIVE_THING` attachment types.

  • ‘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.

^

Returns:

  • (String)


10985
10986
10987
10988
10989
10990
10991
10992
# File 'lib/aws-sdk-iot/types.rb', line 10985

class ListPrincipalThingsV2Request < Struct.new(
  :next_token,
  :max_results,
  :principal,
  :thing_principal_type)
  SENSITIVE = []
  include Aws::Structure
end