IoTSiteWise / Client / disassociate_assets

disassociate_assets#

IoTSiteWise.Client.disassociate_assets(**kwargs)#

Disassociates a child asset from the given parent asset through a hierarchy defined in the parent asset’s model.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_assets(
    assetId='string',
    hierarchyId='string',
    childAssetId='string',
    clientToken='string'
)
Parameters:
  • assetId (string) –

    [REQUIRED]

    The ID of the parent asset from which to disassociate the child asset. 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.

  • hierarchyId (string) –

    [REQUIRED]

    The ID of a hierarchy in the parent asset’s model. (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.) Hierarchies allow different groupings of assets to be formed that all come from the same asset model. You can use the hierarchy ID to identify the correct asset to disassociate. For more information, see Asset hierarchies in the IoT SiteWise User Guide.

  • childAssetId (string) –

    [REQUIRED]

    The ID of the child asset to disassociate. 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.

  • clientToken (string) –

    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.

    This field is autopopulated if not provided.

Returns:

None

Exceptions