:doc:`IoTSiteWise <../../iotsitewise>` / Client / associate_time_series_to_asset_property

***************************************
associate_time_series_to_asset_property
***************************************



.. py:method:: IoTSiteWise.Client.associate_time_series_to_asset_property(**kwargs)

  

  Associates a time series (data stream) with an asset property.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/AssociateTimeSeriesToAssetProperty>`_  


  **Request Syntax**
  ::

    response = client.associate_time_series_to_asset_property(
        alias='string',
        assetId='string',
        propertyId='string',
        clientToken='string'
    )
    
  :type alias: string
  :param alias: **[REQUIRED]** 

    The alias that identifies the time series.

    

  
  :type assetId: string
  :param assetId: **[REQUIRED]** 

    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 <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references>`__ in the *IoT SiteWise User Guide*.

    

  
  :type propertyId: string
  :param propertyId: **[REQUIRED]** 

    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 <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references>`__ in the *IoT SiteWise User Guide*.

    

  
  :type clientToken: string
  :param clientToken: 

    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**
  
  *   :py:class:`IoTSiteWise.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoTSiteWise.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`IoTSiteWise.Client.exceptions.InternalFailureException`

  
  *   :py:class:`IoTSiteWise.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoTSiteWise.Client.exceptions.ConflictingOperationException`

  