AssetActive

class IoTSiteWise.Waiter.AssetActive
waiter = client.get_waiter('asset_active')
wait(**kwargs)

Polls IoTSiteWise.Client.describe_asset() every 3 seconds until a successful state is reached. An error is returned after 20 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    assetId='string',
    excludeProperties=True|False,
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters
  • assetId (string) --

    [REQUIRED]

    The ID of the asset.

  • excludeProperties (boolean) -- Whether or not to exclude asset properties from the response.
  • WaiterConfig (dict) --

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) --

      The amount of time in seconds to wait between attempts. Default: 3

    • MaxAttempts (integer) --

      The maximum number of attempts to be made. Default: 20

Returns

None