Class: Aws::IoTSiteWise::Types::ListAssociatedAssetsRequest

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#asset_idString

The ID of the asset to query. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.

Returns:

  • (String)


6564
6565
6566
6567
6568
6569
6570
6571
6572
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 6564

class ListAssociatedAssetsRequest < Struct.new(
  :asset_id,
  :hierarchy_id,
  :traversal_direction,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#hierarchy_idString

The ID of the hierarchy by which child assets are associated to the asset. (This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.) To find a hierarchy ID, use the DescribeAsset or DescribeAssetModel operations. This parameter is required if you choose CHILD for traversalDirection.

For more information, see Asset hierarchies in the IoT SiteWise User Guide.

Returns:

  • (String)


6564
6565
6566
6567
6568
6569
6570
6571
6572
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 6564

class ListAssociatedAssetsRequest < Struct.new(
  :asset_id,
  :hierarchy_id,
  :traversal_direction,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return for each paginated request.

Default: 50

Returns:

  • (Integer)


6564
6565
6566
6567
6568
6569
6570
6571
6572
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 6564

class ListAssociatedAssetsRequest < Struct.new(
  :asset_id,
  :hierarchy_id,
  :traversal_direction,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token to be used for the next set of paginated results.

Returns:

  • (String)


6564
6565
6566
6567
6568
6569
6570
6571
6572
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 6564

class ListAssociatedAssetsRequest < Struct.new(
  :asset_id,
  :hierarchy_id,
  :traversal_direction,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#traversal_directionString

The direction to list associated assets. Choose one of the following options:

  • CHILD – The list includes all child assets associated to the asset. The hierarchyId parameter is required if you choose CHILD.

  • PARENT – The list includes the asset's parent asset.

Default: CHILD

Returns:

  • (String)


6564
6565
6566
6567
6568
6569
6570
6571
6572
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 6564

class ListAssociatedAssetsRequest < Struct.new(
  :asset_id,
  :hierarchy_id,
  :traversal_direction,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end