Class: Aws::IoTSiteWise::Types::AssetModelSummary

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

Overview

Contains a summary of an asset model.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The [ARN] of the asset model, which has the following format.

‘arn:$Partition:iotsitewise:$Region:$Account:asset-model/$AssetModelId`

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/aws-sdk-iotsitewise/types.rb', line 1005

class AssetModelSummary < Struct.new(
  :id,
  :external_id,
  :arn,
  :name,
  :asset_model_type,
  :description,
  :creation_date,
  :last_update_date,
  :status,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#asset_model_typeString

The type of asset model.

  • ASSET_MODEL – (default) An asset model that you can use to create assets. Can’t be included as a component in another asset model.

  • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can’t create assets directly from this type of asset model.

Returns:

  • (String)


1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/aws-sdk-iotsitewise/types.rb', line 1005

class AssetModelSummary < Struct.new(
  :id,
  :external_id,
  :arn,
  :name,
  :asset_model_type,
  :description,
  :creation_date,
  :last_update_date,
  :status,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#creation_dateTime

The date the asset model was created, in Unix epoch time.

Returns:

  • (Time)


1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/aws-sdk-iotsitewise/types.rb', line 1005

class AssetModelSummary < Struct.new(
  :id,
  :external_id,
  :arn,
  :name,
  :asset_model_type,
  :description,
  :creation_date,
  :last_update_date,
  :status,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The asset model description.

Returns:

  • (String)


1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/aws-sdk-iotsitewise/types.rb', line 1005

class AssetModelSummary < Struct.new(
  :id,
  :external_id,
  :arn,
  :name,
  :asset_model_type,
  :description,
  :creation_date,
  :last_update_date,
  :status,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#external_idString

The external ID of the asset model. For more information, see [Using external IDs] in the *IoT SiteWise User Guide*.

[1]: docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids

Returns:

  • (String)


1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/aws-sdk-iotsitewise/types.rb', line 1005

class AssetModelSummary < Struct.new(
  :id,
  :external_id,
  :arn,
  :name,
  :asset_model_type,
  :description,
  :creation_date,
  :last_update_date,
  :status,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the asset model (used with IoT SiteWise API operations).

Returns:

  • (String)


1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/aws-sdk-iotsitewise/types.rb', line 1005

class AssetModelSummary < Struct.new(
  :id,
  :external_id,
  :arn,
  :name,
  :asset_model_type,
  :description,
  :creation_date,
  :last_update_date,
  :status,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#last_update_dateTime

The date the asset model was last updated, in Unix epoch time.

Returns:

  • (Time)


1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/aws-sdk-iotsitewise/types.rb', line 1005

class AssetModelSummary < Struct.new(
  :id,
  :external_id,
  :arn,
  :name,
  :asset_model_type,
  :description,
  :creation_date,
  :last_update_date,
  :status,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the asset model.

Returns:

  • (String)


1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/aws-sdk-iotsitewise/types.rb', line 1005

class AssetModelSummary < Struct.new(
  :id,
  :external_id,
  :arn,
  :name,
  :asset_model_type,
  :description,
  :creation_date,
  :last_update_date,
  :status,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#statusTypes::AssetModelStatus

The current status of the asset model.



1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/aws-sdk-iotsitewise/types.rb', line 1005

class AssetModelSummary < Struct.new(
  :id,
  :external_id,
  :arn,
  :name,
  :asset_model_type,
  :description,
  :creation_date,
  :last_update_date,
  :status,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

The version number of the asset model.

Returns:

  • (String)


1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
# File 'lib/aws-sdk-iotsitewise/types.rb', line 1005

class AssetModelSummary < Struct.new(
  :id,
  :external_id,
  :arn,
  :name,
  :asset_model_type,
  :description,
  :creation_date,
  :last_update_date,
  :status,
  :version)
  SENSITIVE = []
  include Aws::Structure
end