Class: Aws::IoTSiteWise::Types::CreateAssetModelCompositeModelRequest

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#asset_model_composite_model_descriptionString

A description for the composite model.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#asset_model_composite_model_external_idString

An external ID to assign to the composite model.

If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using ‘UpdateAssetModelCompositeModel` and specifying the derived ID of the model or property from the created model it’s a part of.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#asset_model_composite_model_idString

The ID of the composite model. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#asset_model_composite_model_nameString

A unique name for the composite model.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#asset_model_composite_model_propertiesArray<Types::AssetModelPropertyDefinition>

The property definitions of the composite model. For more information, see [ Inline custom composite models] in the *IoT SiteWise User Guide*.

You can specify up to 200 properties per composite model. For more information, see [Quotas] in the *IoT SiteWise User Guide*.

[1]: docs.aws.amazon.com/iot-sitewise/latest/userguide/custom-composite-models.html#inline-composite-models [2]: docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html



2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#asset_model_composite_model_typeString

The composite model type. Valid values are ‘AWS/ALARM`, `CUSTOM`, or ` AWS/L4E_ANOMALY`.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#asset_model_idString

The ID of the asset model this composite model is a part of.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don’t reuse this client token if a new idempotent request is required.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#composed_asset_model_idString

The ID of a component model which is reused to create this composite model.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#if_matchString

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using ‘matchForVersionType`). The create request is rejected if the tag does not match the latest or active version’s current entity tag. See [Optimistic locking for asset model writes] in the *IoT SiteWise User Guide*.

[1]: docs.aws.amazon.com/iot-sitewise/latest/userguide/opt-locking-for-model.html

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#if_none_matchString

Accepts ***** to reject the create request if an active version (specified using ‘matchForVersionType` as `ACTIVE`) already exists for the asset model.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#match_for_version_typeString

Specifies the asset model version type (‘LATEST` or `ACTIVE`) used in conjunction with `If-Match` or `If-None-Match` headers to determine the target ETag for the create operation.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#parent_asset_model_composite_model_idString

The ID of the parent composite model in this asset model relationship.

Returns:

  • (String)


2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
# File 'lib/aws-sdk-iotsitewise/types.rb', line 2645

class CreateAssetModelCompositeModelRequest < Struct.new(
  :asset_model_id,
  :asset_model_composite_model_external_id,
  :parent_asset_model_composite_model_id,
  :asset_model_composite_model_id,
  :asset_model_composite_model_description,
  :asset_model_composite_model_name,
  :asset_model_composite_model_type,
  :client_token,
  :composed_asset_model_id,
  :asset_model_composite_model_properties,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end