Package-level declarations

Types

Link copied to clipboard

Welcome to the IoT SiteWise API Reference. IoT SiteWise is an Amazon Web Services service that connects Industrial Internet of Things (IIoT) devices to the power of the Amazon Web Services Cloud. For more information, see the IoT SiteWise User Guide. For information about IoT SiteWise quotas, see Quotas in the IoT SiteWise User Guide.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Inherited functions

Link copied to clipboard

Associates a child asset with the given parent asset through a hierarchy defined in the parent asset's model. For more information, see Associating assets in the IoT SiteWise User Guide.

Link copied to clipboard

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

Link copied to clipboard

Associates a batch of data segments with a curated dataset. Data segments are time-bounded slices of time series data selected from source session datasets. Data segments that belong to the same time series can't overlap in time, regardless of which dataset they belong to.

Link copied to clipboard

The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see IoT SiteWise Monitor availability change.

Link copied to clipboard

Deletes a batch of data segments from a session dataset. Deleting a data segment deletes the underlying time series data for the segment's time range.

Link copied to clipboard

Disassociates a batch of data segments from a curated dataset. Disassociating a data segment doesn't delete the underlying data in the source session dataset.

Link copied to clipboard

Disassociates a group (batch) of assets from an IoT SiteWise Monitor project.

Link copied to clipboard

Gets aggregated values (for example, average, minimum, and maximum) for one or more asset properties. For more information, see Querying aggregates in the IoT SiteWise User Guide.

Link copied to clipboard

Gets the current value for one or more asset properties. For more information, see Querying current values in the IoT SiteWise User Guide.

Link copied to clipboard

Gets the historical values for one or more asset properties. For more information, see Querying historical values in the IoT SiteWise User Guide.

Link copied to clipboard

Sends a list of asset property values to IoT SiteWise. Each value is a timestamp-quality-value (TQV) data point. For more information, see Ingesting data using the API in the IoT SiteWise User Guide.

Link copied to clipboard

Cancels a running or pending enrichment job. This is an idempotent operation—calling it multiple times with the same jobId is safe and returns the current status.

Link copied to clipboard

Cancels a pipeline execution in the specified workspace. If the execution is not in a terminal state (such as NOT_STARTED or RUNNING), it transitions to CANCELLING and asynchronously to CANCELLED. This operation is idempotent: calling it on an execution that is already CANCELLING or CANCELLED returns success with the current state. Calling it on a terminal execution (SUCCEEDED or FAILED) returns a conflict error. You can optionally provide a reason; it is returned in the stateDetails field when you describe the execution.

Link copied to clipboard

Cancels a running query.

Link copied to clipboard

The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see IoT SiteWise Monitor availability change.

Link copied to clipboard

Creates a new application for the workspace and IdC application provided

Link copied to clipboard

Creates an asset from an existing asset model. For more information, see Creating assets in the IoT SiteWise User Guide.

Link copied to clipboard

Creates an asset model from specified property and hierarchy definitions. You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the IoT SiteWise User Guide.

Link copied to clipboard

Creates a custom composite model from specified property and hierarchy definitions. There are two types of custom composite models, inline and component-model-based.

Link copied to clipboard

Defines a job to ingest data to IoT SiteWise from Amazon S3. For more information, see Create a bulk import job (CLI) in the Amazon Simple Storage Service User Guide.

Link copied to clipboard

Create a computation model with a configuration and data binding.

Link copied to clipboard

The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see IoT SiteWise Monitor availability change.

Link copied to clipboard

Creates a dataset. Session and curated datasets are created in a workspace. A session dataset contains data segments of time series data, and a curated dataset curates data segments selected from source session datasets. A dataset that connects to an external datasource is created outside of a workspace.

Link copied to clipboard

Starts an asynchronous job that exports dataset and time-series data from a workspace to Amazon S3. The operation returns a jobId immediately; poll DescribeDatasetExportJob to track progress and ListDatasetExportJobs to enumerate a workspace's jobs.

Link copied to clipboard

Creates an asynchronous enrichment job to analyze time-series sensor data. The operation returns immediately with job details while processing continues in the background.

Link copied to clipboard

Creates a gateway, which is a virtual or edge device that delivers industrial data streams from local servers to IoT SiteWise. For more information, see Ingesting data using a gateway in the IoT SiteWise User Guide.

Link copied to clipboard

Creates a new pipeline in the specified workspace. A pipeline defines a directed acyclic graph (DAG) of compute nodes, where each node references a task and can declare dependencies on other nodes. Cyclic dependencies are not allowed. Nodes without dependencies run in parallel, while nodes with dependencies wait for all upstream nodes to complete successfully before starting.

Link copied to clipboard

The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see IoT SiteWise Monitor availability change.

Link copied to clipboard

The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see IoT SiteWise Monitor availability change.

Link copied to clipboard
inline suspend fun IotSiteWiseClient.createTask(crossinline block: CreateTaskRequest.Builder.() -> Unit): CreateTaskResponse

Creates a new task in the specified workspace. A task defines a reusable containerized compute workload that can be referenced by one or more pipeline compute nodes.

Link copied to clipboard

Creates a workspace in IoT SiteWise. A workspace isolates its resources, such as datasets, time series, pipelines, and tasks, and their data from other workspaces, and has its own quotas and throttling limits. You must specify an encryption configuration when you create a workspace. The operation returns immediately with the workspace in the CREATING state. Provisioning completes asynchronously, after which the workspace state is ACTIVE, or FAILED if provisioning doesn't complete.

Link copied to clipboard

Deletes an access policy that grants the specified identity access to the specified IoT SiteWise Monitor resource. You can use this operation to revoke access to an IoT SiteWise Monitor resource.

Link copied to clipboard

Deletes an application by ID

Link copied to clipboard

Deletes an asset. This action can't be undone. For more information, see Deleting assets and models in the IoT SiteWise User Guide.

Link copied to clipboard

Deletes an asset model. This action can't be undone. You must delete all assets created from an asset model before you can delete the model. Also, you can't delete an asset model if a parent asset model exists that contains a property formula expression that depends on the asset model that you want to delete. For more information, see Deleting assets and models in the IoT SiteWise User Guide.

Link copied to clipboard

Deletes a composite model. This action can't be undone. You must delete all assets created from a composite model before you can delete the model. Also, you can't delete a composite model if a parent asset model exists that contains a property formula expression that depends on the asset model that you want to delete. For more information, see Deleting assets and models in the IoT SiteWise User Guide.

Link copied to clipboard

Deletes an interface relationship between an asset model and an interface asset model.

Link copied to clipboard

Deletes a computation model. This action can't be undone.

Link copied to clipboard

Deletes a dashboard from IoT SiteWise Monitor.

Link copied to clipboard

Deletes a dataset. This can't be undone. Deleting a session dataset also deletes the underlying time series data in the session. You can't delete a session dataset while a curated dataset references its data segments. First delete the curated dataset or disassociate the data segments. Deleting a curated dataset doesn't delete the underlying data in the source session datasets.

Link copied to clipboard

Deletes a gateway from IoT SiteWise. When you delete a gateway, some of the gateway's files remain in your gateway's file system.

Link copied to clipboard

Deletes a pipeline from the specified workspace. A pipeline cannot be deleted if it has any active executions. Wait for all executions to complete before attempting to delete the pipeline, or use CancelPipelineExecution to stop a running execution.

Link copied to clipboard

Deletes a portal from IoT SiteWise Monitor.

Link copied to clipboard

Deletes a project from IoT SiteWise Monitor.

Link copied to clipboard
inline suspend fun IotSiteWiseClient.deleteTask(crossinline block: DeleteTaskRequest.Builder.() -> Unit): DeleteTaskResponse

Deletes a task from the specified workspace. A task cannot be deleted if it is currently referenced by any existing pipeline. Remove the task from all pipelines before attempting to delete it.

Link copied to clipboard

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. You can't delete a time series until all of its data segments have been deleted from session datasets.

Link copied to clipboard

Deletes a workspace. Before you delete a workspace, you must delete all resources contained in or associated with the workspace, such as datasets, time series, pipelines, and tasks.

Link copied to clipboard

Describes an access policy, which specifies an identity's access to an IoT SiteWise Monitor portal or project.

Link copied to clipboard

Retrieves information about an action.

Link copied to clipboard

Retrieves Application details based on the ID

Link copied to clipboard

Retrieves information about an asset.

Link copied to clipboard

Retrieves information about an asset composite model (also known as an asset component). An AssetCompositeModel is an instance of an AssetModelCompositeModel. If you want to see information about the model this is based on, call DescribeAssetModelCompositeModel.

Link copied to clipboard

Retrieves information about an asset model. This includes details about the asset model's properties, hierarchies, composite models, and any interface relationships if the asset model implements interfaces.

Link copied to clipboard

Retrieves information about an asset model composite model (also known as an asset model component). For more information, see Custom composite models (Components) in the IoT SiteWise User Guide.

Link copied to clipboard

Retrieves information about an interface relationship between an asset model and an interface asset model.

Link copied to clipboard

Retrieves information about an asset property.

Link copied to clipboard

Retrieves information about a bulk import job request. For more information, see Describe a bulk import job (CLI) in the Amazon Simple Storage Service User Guide.

Link copied to clipboard

Retrieves information about a computation model.

Link copied to clipboard

Retrieves information about the execution summary of a computation model.

Link copied to clipboard

Retrieves information about a dashboard.

Link copied to clipboard

Retrieves information about a dataset.

Link copied to clipboard

Retrieves information about a dataset export job.

Link copied to clipboard

Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified Region. For more information, see Key management in the IoT SiteWise User Guide.

Link copied to clipboard

Retrieves detailed information about a specific enrichment job, including its current status, configuration, and timestamps.

Link copied to clipboard

Retrieves information about the execution.

Link copied to clipboard

Retrieves information about a gateway.

Link copied to clipboard

Each gateway capability defines data sources for a gateway. This is the namespace of the gateway capability.

Link copied to clipboard

Retrieves the current IoT SiteWise logging options.

Link copied to clipboard

Retrieves detailed information about a specific pipeline in a workspace.

Link copied to clipboard

Retrieves detailed information about a specific pipeline execution, including the overall execution status and the status of each individual compute node. Use this operation to monitor execution progress and inspect per-node results, environment variables, and error details.

Link copied to clipboard

Retrieves information about a portal.

Link copied to clipboard

Retrieves information about a project.

Link copied to clipboard

Retrieves information about a query, including its status.

Link copied to clipboard

Returns the current status and metadata of a single search, including the query that was submitted, the search type, and — when the search has failed — the reason. Use this to poll a search started with StartSearch until it reaches a terminal status (SUCCEEDED or FAILED).

Link copied to clipboard

Retrieves information about the storage configuration for IoT SiteWise.

Link copied to clipboard

Retrieves detailed information about a specific task in a workspace.

Link copied to clipboard

Retrieves information about a time series (data stream).

Link copied to clipboard

Retrieves information about a workspace.

Link copied to clipboard

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

Link copied to clipboard

Disassociates a time series (data stream) from an asset property.

Link copied to clipboard

Executes an action on a target resource.

Link copied to clipboard

Run SQL queries to retrieve metadata and time-series data from asset models, assets, measurements, metrics, transforms, and aggregates.

Link copied to clipboard

Gets aggregated values for an asset property. For more information, see Querying aggregates in the IoT SiteWise User Guide.

Link copied to clipboard

Gets an asset property's current value. For more information, see Querying current values in the IoT SiteWise User Guide.

Link copied to clipboard

Gets the history of an asset property's values. For more information, see Querying historical values in the IoT SiteWise User Guide.

Link copied to clipboard

Retrieves video data for a specific time range.

Link copied to clipboard

Get interpolated values for an asset property for a specified time interval, during a period of time. If your time series is missing data points during the specified time interval, you can use interpolation to estimate the missing data.

Link copied to clipboard

Retrieves the paginated results of a query. Returns empty rows if the query is not yet complete.

Link copied to clipboard

Retrieves the ranked results of a search, ordered by descending relevance score. Results are available only after the search has reached the SUCCEEDED status. Calling this on a search that exists but has not yet completed returns InvalidRequestException, while calling it on a search that does not exist returns ResourceNotFoundException. The response is paginated: when nextToken is present, pass it on a subsequent call to retrieve the next page.

Link copied to clipboard

Retrieves a paginated list of access policies for an identity (an IAM Identity Center user, an IAM Identity Center group, or an IAM user) or an IoT SiteWise Monitor resource (a portal or project).

Link copied to clipboard

Retrieves a paginated list of actions for a specific target resource.

Link copied to clipboard

Retrieves a paginated list of existing applications

Link copied to clipboard

Retrieves a paginated list of composite models associated with the asset model

Link copied to clipboard

Retrieves a paginated list of properties associated with an asset model. If you update properties associated with the model before you finish listing all the properties, you need to start all over again.

Link copied to clipboard

Retrieves a paginated list of summaries of all asset models.

Link copied to clipboard

Retrieves a paginated list of properties associated with an asset. If you update properties associated with the model before you finish listing all the properties, you need to start all over again.

Link copied to clipboard

Retrieves a paginated list of asset relationships for an asset. You can use this operation to identify an asset's root asset and all associated assets between that asset and its root.

Link copied to clipboard
inline suspend fun IotSiteWiseClient.listAssets(crossinline block: ListAssetsRequest.Builder.() -> Unit): ListAssetsResponse

Retrieves a paginated list of asset summaries.

Link copied to clipboard

Retrieves a paginated list of associated assets.

Link copied to clipboard

Retrieves a paginated list of bulk import job requests. For more information, see List bulk import jobs (CLI) in the IoT SiteWise User Guide.

Link copied to clipboard

Retrieves a paginated list of composition relationships for an asset model of type COMPONENT_MODEL.

Link copied to clipboard

Lists all data binding usages for computation models. This allows to identify where specific data bindings are being utilized across the computation models. This track dependencies between data sources and computation models.

Link copied to clipboard

Lists all distinct resources that are resolved from the executed actions of the computation model.

Link copied to clipboard

Retrieves a paginated list of summaries of all computation models.

Link copied to clipboard

Retrieves a paginated list of dashboards for an IoT SiteWise Monitor project.

Link copied to clipboard

Retrieves a paginated list of data segment relationships for a session dataset. Use this operation to find the curated datasets that reference data segments of the specified session dataset. Use the nextToken parameter to retrieve additional results.

Link copied to clipboard

Retrieves a paginated list of data segments associated with a dataset. Use the nextToken parameter to retrieve additional results.

Link copied to clipboard

Retrieves a paginated list of dataset export jobs for a workspace.

Link copied to clipboard

Retrieves a paginated list of datasets for a specific target resource.

Link copied to clipboard

Lists enrichment jobs within a workspace with optional filtering and pagination. Results are ordered by createdAt timestamp descending (newest first).

Link copied to clipboard

Retrieves a paginated list of summaries of all executions.

Link copied to clipboard

Retrieves a paginated list of gateways.

Link copied to clipboard

Retrieves a paginated list of asset models that have a specific interface asset model applied to them.

Link copied to clipboard

Lists pipeline executions for a specific pipeline in a workspace. Supports filtering by state and time range. State can be combined with either startTime or endTime filters. Time range filters are grouped: use startTime filters (startTimeAfter, startTimeBefore) or endTime filters (endTimeAfter, endTimeBefore), but not both. Combining startTime and endTime filters returns an InvalidRequestException. Note: endTime filters only return executions in terminal states, as in-progress executions have no endTime.

Link copied to clipboard

Lists pipelines in a workspace. To get complete details about a pipeline, use DescribePipeline.

Link copied to clipboard

Retrieves a paginated list of IoT SiteWise Monitor portals.

Link copied to clipboard

Retrieves a paginated list of assets associated with an IoT SiteWise Monitor project.

Link copied to clipboard

Retrieves a paginated list of projects for an IoT SiteWise Monitor portal.

Link copied to clipboard

Retrieves a paginated list of queries for a workspace.

Link copied to clipboard

Lists the searches in a workspace, most recently started first. Results can be narrowed with optional filters (status, search type, group, and started-at time range) and are paginated: when nextToken is present, pass it on a subsequent call to retrieve the next page.

Link copied to clipboard

Retrieves the list of tags for an IoT SiteWise resource.

Link copied to clipboard
inline suspend fun IotSiteWiseClient.listTasks(crossinline block: ListTasksRequest.Builder.() -> Unit): ListTasksResponse

Lists tasks in a workspace. To get complete details about a task, use DescribeTask.

Link copied to clipboard

Retrieves a paginated list of time series (data streams).

Link copied to clipboard

Retrieves a paginated list of workspaces. Use the nextToken parameter to retrieve additional results.

Link copied to clipboard

Creates or updates an interface relationship between an asset model and an interface asset model. This operation applies an interface to an asset model.

Link copied to clipboard

Sets the default encryption configuration for the Amazon Web Services account. For more information, see Key management in the IoT SiteWise User Guide.

Link copied to clipboard

Sets logging options for IoT SiteWise.

Link copied to clipboard

Configures storage settings for IoT SiteWise.

Link copied to clipboard

Starts execution of a pipeline in the specified workspace. Each compute node runs according to the DAG dependency order defined in the pipeline. Nodes without dependencies start immediately, while dependent nodes wait for all upstream nodes to complete successfully.

Link copied to clipboard
inline suspend fun IotSiteWiseClient.startQuery(crossinline block: StartQueryRequest.Builder.() -> Unit): StartQueryResponse

Starts an asynchronous SQL query against workspace telemetry, annotations, data segment, and dataset data.

Link copied to clipboard

Starts an asynchronous search over the data in a workspace. The search runs in the background; the response returns immediately with a searchId and an initial status of QUEUED. Use DescribeSearch to poll for completion and GetSearchResults to retrieve the results once the search reaches SUCCEEDED. The request is idempotent on clientToken: repeating a call with the same token returns the original search instead of starting a new one.

Link copied to clipboard

Adds tags to an IoT SiteWise resource. If a tag already exists for the resource, this operation updates the tag's value.

Link copied to clipboard

Removes a tag from an IoT SiteWise resource.

Link copied to clipboard

The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see IoT SiteWise Monitor availability change.

Link copied to clipboard

Updates an asset's name. For more information, see Updating assets and models in the IoT SiteWise User Guide.

Link copied to clipboard

Updates an asset model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see Updating assets and models in the IoT SiteWise User Guide.

Link copied to clipboard

Updates a composite model and all of the assets that were created from the model. Each asset created from the model inherits the updated asset model's property and hierarchy definitions. For more information, see Updating assets and models in the IoT SiteWise User Guide.

Link copied to clipboard

Updates an asset property's alias and notification state.

Link copied to clipboard

Updates the computation model.

Link copied to clipboard

The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see IoT SiteWise Monitor availability change.

Link copied to clipboard

Updates a dataset.

Link copied to clipboard

Updates a gateway's name.

Link copied to clipboard

Updates a gateway capability configuration or defines a new capability configuration. Each gateway capability defines data sources for a gateway.

Link copied to clipboard

Updates an existing pipeline in the specified workspace. Only the fields provided in the request are updated; fields not included in the request are preserved unchanged. You can update the pipeline description, environment variables, and the list of compute nodes independently.

Link copied to clipboard

The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see IoT SiteWise Monitor availability change.

Link copied to clipboard

The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see IoT SiteWise Monitor availability change.

Link copied to clipboard
inline suspend fun IotSiteWiseClient.updateTask(crossinline block: UpdateTaskRequest.Builder.() -> Unit): UpdateTaskResponse

Updates an existing task in the specified workspace. Only the fields provided in the request are updated; fields not included in the request are preserved unchanged.

Link copied to clipboard

Updates a workspace. You can update only workspaces in the ACTIVE or FAILED state. Fields that you omit from the request are left unchanged. To recover a workspace in the FAILED state, call this operation and supply its encryption configuration again.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.