Class: Aws::IoTSiteWise::Types::ListAssetsRequest

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_model_idString

The ID of the asset model by which to filter the list of assets. This parameter is required if you choose ALL for filter. 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)


8137
8138
8139
8140
8141
8142
8143
8144
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8137

class ListAssetsRequest < Struct.new(
  :next_token,
  :max_results,
  :asset_model_id,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#filterString

The filter for the requested list of assets. Choose one of the following options:

  • ALL – The list includes all assets for a given asset model ID. The assetModelId parameter is required if you filter by ALL.

  • TOP_LEVEL – The list includes only top-level assets in the asset hierarchy tree.

Default: ALL

Returns:

  • (String)


8137
8138
8139
8140
8141
8142
8143
8144
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8137

class ListAssetsRequest < Struct.new(
  :next_token,
  :max_results,
  :asset_model_id,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

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

Default: 50

Returns:

  • (Integer)


8137
8138
8139
8140
8141
8142
8143
8144
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8137

class ListAssetsRequest < Struct.new(
  :next_token,
  :max_results,
  :asset_model_id,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)


8137
8138
8139
8140
8141
8142
8143
8144
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8137

class ListAssetsRequest < Struct.new(
  :next_token,
  :max_results,
  :asset_model_id,
  :filter)
  SENSITIVE = []
  include Aws::Structure
end