Class: Aws::IoTSiteWise::Types::DeleteAssetModelRequest

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_idString

The ID of the asset model to delete. 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*.

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

Returns:

  • (String)


3601
3602
3603
3604
3605
3606
3607
3608
3609
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3601

class DeleteAssetModelRequest < Struct.new(
  :asset_model_id,
  :client_token,
  :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)


3601
3602
3603
3604
3605
3606
3607
3608
3609
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3601

class DeleteAssetModelRequest < Struct.new(
  :asset_model_id,
  :client_token,
  :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 delete 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)


3601
3602
3603
3604
3605
3606
3607
3608
3609
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3601

class DeleteAssetModelRequest < Struct.new(
  :asset_model_id,
  :client_token,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end

#if_none_matchString

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

Returns:

  • (String)


3601
3602
3603
3604
3605
3606
3607
3608
3609
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3601

class DeleteAssetModelRequest < Struct.new(
  :asset_model_id,
  :client_token,
  :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 delete operation.

Returns:

  • (String)


3601
3602
3603
3604
3605
3606
3607
3608
3609
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3601

class DeleteAssetModelRequest < Struct.new(
  :asset_model_id,
  :client_token,
  :if_match,
  :if_none_match,
  :match_for_version_type)
  SENSITIVE = []
  include Aws::Structure
end