IoTSiteWise / Client / delete_time_series
delete_time_series#
- IoTSiteWise.Client.delete_time_series(**kwargs)#
Deletes a time series (data stream). If you delete a time series that’s associated with an asset property, the asset property still exists, but the time series will no longer be associated with this asset property.
To identify a time series, do one of the following:
If the time series isn’t associated with an asset property, specify the
alias
of the time series.If the time series is associated with an asset property, specify one of the following:
The
alias
of the time series.The
assetId
andpropertyId
that identifies the asset property.
See also: AWS API Documentation
Request Syntax
response = client.delete_time_series( alias='string', assetId='string', propertyId='string', clientToken='string' )
- Parameters:
alias (string) – The alias that identifies the time series.
assetId (string) – The ID of the asset in which the asset property was created. 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.propertyId (string) – The ID of the asset property. 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