Class: Aws::IoTSiteWise::Types::BatchGetAssetPropertyAggregatesEntry

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

Overview

Note:

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

{
  entry_id: "EntryId", # required
  asset_id: "ID",
  property_id: "ID",
  property_alias: "AssetPropertyAlias",
  aggregate_types: ["AVERAGE"], # required, accepts AVERAGE, COUNT, MAXIMUM, MINIMUM, SUM, STANDARD_DEVIATION
  resolution: "Resolution", # required
  start_date: Time.now, # required
  end_date: Time.now, # required
  qualities: ["GOOD"], # accepts GOOD, BAD, UNCERTAIN
  time_ordering: "ASCENDING", # accepts ASCENDING, DESCENDING
}

Contains information for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates API.

To identify an asset property, you must specify one of the following:

  • The assetId and propertyId of an asset property.

  • A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aggregate_typesArray<String>

The data aggregating function.

Returns:

  • (Array<String>)


1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 1353

class BatchGetAssetPropertyAggregatesEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :aggregate_types,
  :resolution,
  :start_date,
  :end_date,
  :qualities,
  :time_ordering)
  SENSITIVE = []
  include Aws::Structure
end

#asset_idString

The ID of the asset in which the asset property was created.

Returns:

  • (String)


1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 1353

class BatchGetAssetPropertyAggregatesEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :aggregate_types,
  :resolution,
  :start_date,
  :end_date,
  :qualities,
  :time_ordering)
  SENSITIVE = []
  include Aws::Structure
end

#end_dateTime

The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.

Returns:

  • (Time)


1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 1353

class BatchGetAssetPropertyAggregatesEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :aggregate_types,
  :resolution,
  :start_date,
  :end_date,
  :qualities,
  :time_ordering)
  SENSITIVE = []
  include Aws::Structure
end

#entry_idString

The ID of the entry.

Returns:

  • (String)


1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 1353

class BatchGetAssetPropertyAggregatesEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :aggregate_types,
  :resolution,
  :start_date,
  :end_date,
  :qualities,
  :time_ordering)
  SENSITIVE = []
  include Aws::Structure
end

#property_aliasString

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

Returns:

  • (String)


1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 1353

class BatchGetAssetPropertyAggregatesEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :aggregate_types,
  :resolution,
  :start_date,
  :end_date,
  :qualities,
  :time_ordering)
  SENSITIVE = []
  include Aws::Structure
end

#property_idString

The ID of the asset property.

Returns:

  • (String)


1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 1353

class BatchGetAssetPropertyAggregatesEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :aggregate_types,
  :resolution,
  :start_date,
  :end_date,
  :qualities,
  :time_ordering)
  SENSITIVE = []
  include Aws::Structure
end

#qualitiesArray<String>

The quality by which to filter asset data.

Returns:

  • (Array<String>)


1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 1353

class BatchGetAssetPropertyAggregatesEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :aggregate_types,
  :resolution,
  :start_date,
  :end_date,
  :qualities,
  :time_ordering)
  SENSITIVE = []
  include Aws::Structure
end

#resolutionString

The time interval over which to aggregate data.

Returns:

  • (String)


1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 1353

class BatchGetAssetPropertyAggregatesEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :aggregate_types,
  :resolution,
  :start_date,
  :end_date,
  :qualities,
  :time_ordering)
  SENSITIVE = []
  include Aws::Structure
end

#start_dateTime

The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.

Returns:

  • (Time)


1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 1353

class BatchGetAssetPropertyAggregatesEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :aggregate_types,
  :resolution,
  :start_date,
  :end_date,
  :qualities,
  :time_ordering)
  SENSITIVE = []
  include Aws::Structure
end

#time_orderingString

The chronological sorting order of the requested information.

Default: ASCENDING

Returns:

  • (String)


1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 1353

class BatchGetAssetPropertyAggregatesEntry < Struct.new(
  :entry_id,
  :asset_id,
  :property_id,
  :property_alias,
  :aggregate_types,
  :resolution,
  :start_date,
  :end_date,
  :qualities,
  :time_ordering)
  SENSITIVE = []
  include Aws::Structure
end