SDK for PHP V3

Client: Aws\IoTSiteWise\IoTSiteWiseClient
Service ID: iotsitewise
Version: 2019-12-02

This page describes the parameters and results for the operations of the AWS IoT SiteWise (2019-12-02), and shows how to use the Aws\IoTSiteWise\IoTSiteWiseClient object to call the described operations. This documentation is specific to the 2019-12-02 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

AssociateAssets ( array $params = [] )
Associates a child asset with the given parent asset through a hierarchy defined in the parent asset's model.
AssociateTimeSeriesToAssetProperty ( array $params = [] )
Associates a time series (data stream) with an asset property.
BatchAssociateDataSegmentsToDataset ( array $params = [] )
Associates a batch of data segments with a curated dataset.
BatchAssociateProjectAssets ( array $params = [] )
The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025.
BatchDeleteDatasetDataSegments ( array $params = [] )
Deletes a batch of data segments from a session dataset.
BatchDisassociateDataSegmentsFromDataset ( array $params = [] )
Disassociates a batch of data segments from a curated dataset.
BatchDisassociateProjectAssets ( array $params = [] )
Disassociates a group (batch) of assets from an IoT SiteWise Monitor project.
BatchGetAssetPropertyAggregates ( array $params = [] )
Gets aggregated values (for example, average, minimum, and maximum) for one or more asset properties.
BatchGetAssetPropertyValue ( array $params = [] )
Gets the current value for one or more asset properties.
BatchGetAssetPropertyValueHistory ( array $params = [] )
Gets the historical values for one or more asset properties.
BatchPutAssetPropertyValue ( array $params = [] )
Sends a list of asset property values to IoT SiteWise.
CancelEnrichmentJob ( array $params = [] )
Cancels a running or pending enrichment job.
CancelPipelineExecution ( array $params = [] )
Cancels a pipeline execution in the specified workspace.
CancelQuery ( array $params = [] )
Cancels a running query.
CreateAccessPolicy ( array $params = [] )
The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025.
CreateApplication ( array $params = [] )
Creates a new application for the workspace and IdC application provided
CreateAsset ( array $params = [] )
Creates an asset from an existing asset model.
CreateAssetModel ( array $params = [] )
Creates an asset model from specified property and hierarchy definitions.
CreateAssetModelCompositeModel ( array $params = [] )
Creates a custom composite model from specified property and hierarchy definitions.
CreateBulkImportJob ( array $params = [] )
Defines a job to ingest data to IoT SiteWise from Amazon S3.
CreateComputationModel ( array $params = [] )
Create a computation model with a configuration and data binding.
CreateDashboard ( array $params = [] )
The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025.
CreateDataset ( array $params = [] )
Creates a dataset.
CreateDatasetExportJob ( array $params = [] )
Starts an asynchronous job that exports dataset and time-series data from a workspace to Amazon S3.
CreateEnrichmentJob ( array $params = [] )
Creates an asynchronous enrichment job to analyze time-series sensor data.
CreateGateway ( array $params = [] )
Creates a gateway, which is a virtual or edge device that delivers industrial data streams from local servers to IoT SiteWise.
CreatePipeline ( array $params = [] )
Creates a new pipeline in the specified workspace.
CreatePortal ( array $params = [] )
The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025.
CreateProject ( array $params = [] )
The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025.
CreateTask ( array $params = [] )
Creates a new task in the specified workspace.
CreateWorkspace ( array $params = [] )
Creates a workspace in IoT SiteWise.
DeleteAccessPolicy ( array $params = [] )
Deletes an access policy that grants the specified identity access to the specified IoT SiteWise Monitor resource.
DeleteApplication ( array $params = [] )
Deletes an application by ID
DeleteAsset ( array $params = [] )
Deletes an asset.
DeleteAssetModel ( array $params = [] )
Deletes an asset model.
DeleteAssetModelCompositeModel ( array $params = [] )
Deletes a composite model.
DeleteAssetModelInterfaceRelationship ( array $params = [] )
Deletes an interface relationship between an asset model and an interface asset model.
DeleteComputationModel ( array $params = [] )
Deletes a computation model.
DeleteDashboard ( array $params = [] )
Deletes a dashboard from IoT SiteWise Monitor.
DeleteDataset ( array $params = [] )
Deletes a dataset.
DeleteGateway ( array $params = [] )
Deletes a gateway from IoT SiteWise.
DeletePipeline ( array $params = [] )
Deletes a pipeline from the specified workspace.
DeletePortal ( array $params = [] )
Deletes a portal from IoT SiteWise Monitor.
DeleteProject ( array $params = [] )
Deletes a project from IoT SiteWise Monitor.
DeleteTask ( array $params = [] )
Deletes a task from the specified workspace.
DeleteTimeSeries ( array $params = [] )
Deletes a time series (data stream).
DeleteWorkspace ( array $params = [] )
Deletes a workspace.
DescribeAccessPolicy ( array $params = [] )
Describes an access policy, which specifies an identity's access to an IoT SiteWise Monitor portal or project.
DescribeAction ( array $params = [] )
Retrieves information about an action.
DescribeApplication ( array $params = [] )
Retrieves Application details based on the ID
DescribeAsset ( array $params = [] )
Retrieves information about an asset.
DescribeAssetCompositeModel ( array $params = [] )
Retrieves information about an asset composite model (also known as an asset component).
DescribeAssetModel ( array $params = [] )
Retrieves information about an asset model.
DescribeAssetModelCompositeModel ( array $params = [] )
Retrieves information about an asset model composite model (also known as an asset model component).
DescribeAssetModelInterfaceRelationship ( array $params = [] )
Retrieves information about an interface relationship between an asset model and an interface asset model.
DescribeAssetProperty ( array $params = [] )
Retrieves information about an asset property.
DescribeBulkImportJob ( array $params = [] )
Retrieves information about a bulk import job request.
DescribeComputationModel ( array $params = [] )
Retrieves information about a computation model.
DescribeComputationModelExecutionSummary ( array $params = [] )
Retrieves information about the execution summary of a computation model.
DescribeDashboard ( array $params = [] )
Retrieves information about a dashboard.
DescribeDataset ( array $params = [] )
Retrieves information about a dataset.
DescribeDatasetExportJob ( array $params = [] )
Retrieves information about a dataset export job.
DescribeDefaultEncryptionConfiguration ( array $params = [] )
Retrieves information about the default encryption configuration for the Amazon Web Services account in the default or specified Region.
DescribeEnrichmentJob ( array $params = [] )
Retrieves detailed information about a specific enrichment job, including its current status, configuration, and timestamps.
DescribeExecution ( array $params = [] )
Retrieves information about the execution.
DescribeGateway ( array $params = [] )
Retrieves information about a gateway.
DescribeGatewayCapabilityConfiguration ( array $params = [] )
Each gateway capability defines data sources for a gateway.
DescribeLoggingOptions ( array $params = [] )
Retrieves the current IoT SiteWise logging options.
DescribePipeline ( array $params = [] )
Retrieves detailed information about a specific pipeline in a workspace.
DescribePipelineExecution ( array $params = [] )
Retrieves detailed information about a specific pipeline execution, including the overall execution status and the status of each individual compute node.
DescribePortal ( array $params = [] )
Retrieves information about a portal.
DescribeProject ( array $params = [] )
Retrieves information about a project.
DescribeQuery ( array $params = [] )
Retrieves information about a query, including its status.
DescribeSearch ( array $params = [] )
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.
DescribeStorageConfiguration ( array $params = [] )
Retrieves information about the storage configuration for IoT SiteWise.
DescribeTask ( array $params = [] )
Retrieves detailed information about a specific task in a workspace.
DescribeTimeSeries ( array $params = [] )
Retrieves information about a time series (data stream).
DescribeWorkspace ( array $params = [] )
Retrieves information about a workspace.
DisassociateAssets ( array $params = [] )
Disassociates a child asset from the given parent asset through a hierarchy defined in the parent asset's model.
DisassociateTimeSeriesFromAssetProperty ( array $params = [] )
Disassociates a time series (data stream) from an asset property.
ExecuteAction ( array $params = [] )
Executes an action on a target resource.
ExecuteQuery ( array $params = [] )
Run SQL queries to retrieve metadata and time-series data from asset models, assets, measurements, metrics, transforms, and aggregates.
GetAssetPropertyAggregates ( array $params = [] )
Gets aggregated values for an asset property.
GetAssetPropertyValue ( array $params = [] )
Gets an asset property's current value.
GetAssetPropertyValueHistory ( array $params = [] )
Gets the history of an asset property's values.
GetCaptureData ( array $params = [] )
Retrieves video data for a specific time range.
GetInterpolatedAssetPropertyValues ( array $params = [] )
Get interpolated values for an asset property for a specified time interval, during a period of time.
GetQueryResults ( array $params = [] )
Retrieves the paginated results of a query.
GetSearchResults ( array $params = [] )
Retrieves the ranked results of a search, ordered by descending relevance score.
InvokeAssistant ( array $params = [] )
Invokes SiteWise Assistant to start or continue a conversation.
ListAccessPolicies ( array $params = [] )
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).
ListActions ( array $params = [] )
Retrieves a paginated list of actions for a specific target resource.
ListApplications ( array $params = [] )
Retrieves a paginated list of existing applications
ListAssetModelCompositeModels ( array $params = [] )
Retrieves a paginated list of composite models associated with the asset model
ListAssetModelProperties ( array $params = [] )
Retrieves a paginated list of properties associated with an asset model.
ListAssetModels ( array $params = [] )
Retrieves a paginated list of summaries of all asset models.
ListAssetProperties ( array $params = [] )
Retrieves a paginated list of properties associated with an asset.
ListAssetRelationships ( array $params = [] )
Retrieves a paginated list of asset relationships for an asset.
ListAssets ( array $params = [] )
Retrieves a paginated list of asset summaries.
ListAssociatedAssets ( array $params = [] )
Retrieves a paginated list of associated assets.
ListBulkImportJobs ( array $params = [] )
Retrieves a paginated list of bulk import job requests.
ListCompositionRelationships ( array $params = [] )
Retrieves a paginated list of composition relationships for an asset model of type COMPONENT_MODEL.
ListComputationModelDataBindingUsages ( array $params = [] )
Lists all data binding usages for computation models.
ListComputationModelResolveToResources ( array $params = [] )
Lists all distinct resources that are resolved from the executed actions of the computation model.
ListComputationModels ( array $params = [] )
Retrieves a paginated list of summaries of all computation models.
ListDashboards ( array $params = [] )
Retrieves a paginated list of dashboards for an IoT SiteWise Monitor project.
ListDatasetDataSegmentRelationships ( array $params = [] )
Retrieves a paginated list of data segment relationships for a session dataset.
ListDatasetDataSegments ( array $params = [] )
Retrieves a paginated list of data segments associated with a dataset.
ListDatasetExportJobs ( array $params = [] )
Retrieves a paginated list of dataset export jobs for a workspace.
ListDatasets ( array $params = [] )
Retrieves a paginated list of datasets for a specific target resource.
ListEnrichmentJobs ( array $params = [] )
Lists enrichment jobs within a workspace with optional filtering and pagination.
ListExecutions ( array $params = [] )
Retrieves a paginated list of summaries of all executions.
ListGateways ( array $params = [] )
Retrieves a paginated list of gateways.
ListInterfaceRelationships ( array $params = [] )
Retrieves a paginated list of asset models that have a specific interface asset model applied to them.
ListPipelineExecutions ( array $params = [] )
Lists pipeline executions for a specific pipeline in a workspace.
ListPipelines ( array $params = [] )
Lists pipelines in a workspace.
ListPortals ( array $params = [] )
Retrieves a paginated list of IoT SiteWise Monitor portals.
ListProjectAssets ( array $params = [] )
Retrieves a paginated list of assets associated with an IoT SiteWise Monitor project.
ListProjects ( array $params = [] )
Retrieves a paginated list of projects for an IoT SiteWise Monitor portal.
ListQueries ( array $params = [] )
Retrieves a paginated list of queries for a workspace.
ListSearches ( array $params = [] )
Lists the searches in a workspace, most recently started first.
ListTagsForResource ( array $params = [] )
Retrieves the list of tags for an IoT SiteWise resource.
ListTasks ( array $params = [] )
Lists tasks in a workspace.
ListTimeSeries ( array $params = [] )
Retrieves a paginated list of time series (data streams).
ListWorkspaces ( array $params = [] )
Retrieves a paginated list of workspaces.
PutAssetModelInterfaceRelationship ( array $params = [] )
Creates or updates an interface relationship between an asset model and an interface asset model.
PutDefaultEncryptionConfiguration ( array $params = [] )
Sets the default encryption configuration for the Amazon Web Services account.
PutLoggingOptions ( array $params = [] )
Sets logging options for IoT SiteWise.
PutStorageConfiguration ( array $params = [] )
Configures storage settings for IoT SiteWise.
StartPipelineExecution ( array $params = [] )
Starts execution of a pipeline in the specified workspace.
StartQuery ( array $params = [] )
Starts an asynchronous SQL query against workspace telemetry, annotations, data segment, and dataset data.
StartSearch ( array $params = [] )
Starts an asynchronous search over the data in a workspace.
TagResource ( array $params = [] )
Adds tags to an IoT SiteWise resource.
UntagResource ( array $params = [] )
Removes a tag from an IoT SiteWise resource.
UpdateAccessPolicy ( array $params = [] )
The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025.
UpdateAsset ( array $params = [] )
Updates an asset's name.
UpdateAssetModel ( array $params = [] )
Updates an asset model and all of the assets that were created from the model.
UpdateAssetModelCompositeModel ( array $params = [] )
Updates a composite model and all of the assets that were created from the model.
UpdateAssetProperty ( array $params = [] )
Updates an asset property's alias and notification state.
UpdateComputationModel ( array $params = [] )
Updates the computation model.
UpdateDashboard ( array $params = [] )
The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025.
UpdateDataset ( array $params = [] )
Updates a dataset.
UpdateGateway ( array $params = [] )
Updates a gateway's name.
UpdateGatewayCapabilityConfiguration ( array $params = [] )
Updates a gateway capability configuration or defines a new capability configuration.
UpdatePipeline ( array $params = [] )
Updates an existing pipeline in the specified workspace.
UpdatePortal ( array $params = [] )
The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025.
UpdateProject ( array $params = [] )
The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025.
UpdateTask ( array $params = [] )
Updates an existing task in the specified workspace.
UpdateWorkspace ( array $params = [] )
Updates a workspace.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

BatchGetAssetPropertyAggregates
BatchGetAssetPropertyValue
BatchGetAssetPropertyValueHistory
DescribePipelineExecution
ExecuteQuery
GetAssetPropertyAggregates
GetAssetPropertyValueHistory
GetInterpolatedAssetPropertyValues
GetQueryResults
GetSearchResults
ListAccessPolicies
ListActions
ListApplications
ListAssetModelCompositeModels
ListAssetModelProperties
ListAssetModels
ListAssetProperties
ListAssetRelationships
ListAssets
ListAssociatedAssets
ListBulkImportJobs
ListCompositionRelationships
ListComputationModelDataBindingUsages
ListComputationModelResolveToResources
ListComputationModels
ListDashboards
ListDatasetDataSegmentRelationships
ListDatasetDataSegments
ListDatasetExportJobs
ListDatasets
ListEnrichmentJobs
ListExecutions
ListGateways
ListInterfaceRelationships
ListPipelineExecutions
ListPipelines
ListPortals
ListProjectAssets
ListProjects
ListQueries
ListSearches
ListTasks
ListTimeSeries
ListWorkspaces

Waiters

Waiters allow you to poll a resource until it enters into a desired state. A waiter has a name used to describe what it does, and is associated with an API operation. When creating a waiter, you can provide the API operation parameters associated with the corresponding operation. Waiters can be accessed using the getWaiter($waiterName, $operationParameters) method of a client object. This client supports the following waiters:

Waiter name API Operation Delay Max Attempts
AssetModelNotExists DescribeAssetModel 3 20
AssetModelActive DescribeAssetModel 3 20
AssetNotExists DescribeAsset 3 20
AssetActive DescribeAsset 3 20
PortalNotExists DescribePortal 3 20
PortalActive DescribePortal 3 20

Operations

AssociateAssets

$result = $client->associateAssets([/* ... */]);
$promise = $client->associateAssetsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->associateAssets([
    'assetId' => '<string>', // REQUIRED
    'childAssetId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'hierarchyId' => '<string>', // REQUIRED
]);

Parameter Details

Members
assetId
Required: Yes
Type: string

The ID of the parent 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.

childAssetId
Required: Yes
Type: string

The ID of the child asset to be associated. 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
Type: 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.

hierarchyId
Required: Yes
Type: string

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. For more information, see Asset hierarchies in the IoT SiteWise User Guide.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

AssociateTimeSeriesToAssetProperty

$result = $client->associateTimeSeriesToAssetProperty([/* ... */]);
$promise = $client->associateTimeSeriesToAssetPropertyAsync([/* ... */]);

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

Parameter Syntax

$result = $client->associateTimeSeriesToAssetProperty([
    'alias' => '<string>', // REQUIRED
    'assetId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'propertyId' => '<string>', // REQUIRED
]);

Parameter Details

Members
alias
Required: Yes
Type: string

The alias that identifies the time series.

assetId
Required: Yes
Type: 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.

clientToken
Type: 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.

propertyId
Required: Yes
Type: 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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

BatchAssociateDataSegmentsToDataset

$result = $client->batchAssociateDataSegmentsToDataset([/* ... */]);
$promise = $client->batchAssociateDataSegmentsToDatasetAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->batchAssociateDataSegmentsToDataset([
    'associateDataSegmentEntries' => [ // REQUIRED
        [
            'endTimestamp' => [ // REQUIRED
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
            'sourceDatasetId' => '<string>', // REQUIRED
            'startTimestamp' => [ // REQUIRED
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
            'timeSeriesId' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'clientToken' => '<string>',
    'datasetId' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
associateDataSegmentEntries
Required: Yes
Type: Array of AssociateDataSegmentEntry structures

The list of data segment entries to associate with the dataset.

clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure that the request is idempotent. If you retry a request that completed successfully using the same client token, the retry succeeds without performing any further actions.

datasetId
Required: Yes
Type: string

The ID of the curated dataset to associate data segments with.

workspaceName
Required: Yes
Type: string

The name of the workspace that contains the dataset.

Result Syntax

[
    'datasetId' => '<string>',
    'datasetVersion' => '<string>',
    'failedAssociations' => [
        [
            'endTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'errorCode' => 'INTERNAL_FAILURE|VALIDATION_ERROR|RESOURCE_NOT_FOUND|LIMIT_EXCEEDED|CONFLICTING_OPERATION',
            'errorMessage' => '<string>',
            'sourceDatasetId' => '<string>',
            'startTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'timeSeriesId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
datasetId
Required: Yes
Type: string

The ID of the dataset.

datasetVersion
Required: Yes
Type: string

The version of the dataset after association.

failedAssociations
Required: Yes
Type: Array of FailedDataSegmentAssociation structures

A list of data segment associations that failed.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

BatchAssociateProjectAssets

$result = $client->batchAssociateProjectAssets([/* ... */]);
$promise = $client->batchAssociateProjectAssetsAsync([/* ... */]);

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.

Associates a group (batch) of assets with an IoT SiteWise Monitor project.

Parameter Syntax

$result = $client->batchAssociateProjectAssets([
    'assetIds' => ['<string>', ...], // REQUIRED
    'clientToken' => '<string>',
    'projectId' => '<string>', // REQUIRED
]);

Parameter Details

Members
assetIds
Required: Yes
Type: Array of strings

The IDs of the assets to be associated to the project.

clientToken
Type: 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.

projectId
Required: Yes
Type: string

The ID of the project to which to associate the assets.

Result Syntax

[
    'errors' => [
        [
            'assetId' => '<string>',
            'code' => 'INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
errors
Type: Array of AssetErrorDetails structures

A list of associated error information, if any.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

BatchDeleteDatasetDataSegments

$result = $client->batchDeleteDatasetDataSegments([/* ... */]);
$promise = $client->batchDeleteDatasetDataSegmentsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->batchDeleteDatasetDataSegments([
    'clientToken' => '<string>',
    'datasetId' => '<string>', // REQUIRED
    'deleteDataSegmentEntries' => [ // REQUIRED
        [
            'endTimestamp' => [ // REQUIRED
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
            'startTimestamp' => [ // REQUIRED
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
            'timeSeriesId' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure that the request is idempotent. If you retry a request that completed successfully using the same client token, the retry succeeds without performing any further actions.

datasetId
Required: Yes
Type: string

The ID of the session dataset from which to delete data segments.

deleteDataSegmentEntries
Required: Yes
Type: Array of DeleteDataSegmentEntry structures

The list of data segment entries to delete.

workspaceName
Required: Yes
Type: string

The name of the workspace that contains the dataset.

Result Syntax

[
    'datasetId' => '<string>',
    'datasetVersion' => '<string>',
    'errors' => [
        [
            'endTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'errorCode' => 'INTERNAL_FAILURE|VALIDATION_ERROR|RESOURCE_NOT_FOUND|LIMIT_EXCEEDED|CONFLICTING_OPERATION',
            'errorMessage' => '<string>',
            'startTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'timeSeriesId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
datasetId
Required: Yes
Type: string

The ID of the dataset.

datasetVersion
Required: Yes
Type: string

The version of the dataset after deletion.

errors
Required: Yes
Type: Array of FailedDataSegmentDeletion structures

A list of data segment deletions that failed.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

BatchDisassociateDataSegmentsFromDataset

$result = $client->batchDisassociateDataSegmentsFromDataset([/* ... */]);
$promise = $client->batchDisassociateDataSegmentsFromDatasetAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->batchDisassociateDataSegmentsFromDataset([
    'clientToken' => '<string>',
    'datasetId' => '<string>', // REQUIRED
    'disassociateDataSegmentEntries' => [ // REQUIRED
        [
            'endTimestamp' => [ // REQUIRED
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
            'sourceDatasetId' => '<string>', // REQUIRED
            'startTimestamp' => [ // REQUIRED
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
            'timeSeriesId' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure that the request is idempotent. If you retry a request that completed successfully using the same client token, the retry succeeds without performing any further actions.

datasetId
Required: Yes
Type: string

The ID of the curated dataset to disassociate data segments from.

disassociateDataSegmentEntries
Required: Yes
Type: Array of DisassociateDataSegmentEntry structures

The list of data segment entries to disassociate from the dataset.

workspaceName
Required: Yes
Type: string

The name of the workspace that contains the dataset.

Result Syntax

[
    'datasetId' => '<string>',
    'datasetVersion' => '<string>',
    'failedDisassociations' => [
        [
            'endTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'errorCode' => 'INTERNAL_FAILURE|VALIDATION_ERROR|RESOURCE_NOT_FOUND|LIMIT_EXCEEDED|CONFLICTING_OPERATION',
            'errorMessage' => '<string>',
            'sourceDatasetId' => '<string>',
            'startTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'timeSeriesId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
datasetId
Required: Yes
Type: string

The ID of the dataset.

datasetVersion
Required: Yes
Type: string

The version of the dataset after disassociation.

failedDisassociations
Required: Yes
Type: Array of FailedDataSegmentDisassociation structures

A list of data segment disassociations that failed.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

BatchDisassociateProjectAssets

$result = $client->batchDisassociateProjectAssets([/* ... */]);
$promise = $client->batchDisassociateProjectAssetsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->batchDisassociateProjectAssets([
    'assetIds' => ['<string>', ...], // REQUIRED
    'clientToken' => '<string>',
    'projectId' => '<string>', // REQUIRED
]);

Parameter Details

Members
assetIds
Required: Yes
Type: Array of strings

The IDs of the assets to be disassociated from the project.

clientToken
Type: 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.

projectId
Required: Yes
Type: string

The ID of the project from which to disassociate the assets.

Result Syntax

[
    'errors' => [
        [
            'assetId' => '<string>',
            'code' => 'INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
errors
Type: Array of AssetErrorDetails structures

A list of associated error information, if any.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

BatchGetAssetPropertyAggregates

$result = $client->batchGetAssetPropertyAggregates([/* ... */]);
$promise = $client->batchGetAssetPropertyAggregatesAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->batchGetAssetPropertyAggregates([
    'entries' => [ // REQUIRED
        [
            'aggregateTypes' => ['<string>', ...], // REQUIRED
            'assetId' => '<string>',
            'endDate' => <integer || string || DateTime>, // REQUIRED
            'entryId' => '<string>', // REQUIRED
            'propertyAlias' => '<string>',
            'propertyId' => '<string>',
            'qualities' => ['<string>', ...],
            'resolution' => '<string>', // REQUIRED
            'startDate' => <integer || string || DateTime>, // REQUIRED
            'timeOrdering' => 'ASCENDING|DESCENDING',
        ],
        // ...
    ],
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
entries
Required: Yes
Type: Array of BatchGetAssetPropertyAggregatesEntry structures

The list of asset property aggregate entries for the batch get request. You can specify up to 16 entries per request.

maxResults
Type: int

The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.

  • The size of the result set is equal to 1 MB.

  • The number of data points in the result set is equal to the value of maxResults. The maximum value of maxResults is 4000.

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'errorEntries' => [
        [
            'entryId' => '<string>',
            'errorCode' => 'ResourceNotFoundException|InvalidRequestException|AccessDeniedException',
            'errorMessage' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
    'skippedEntries' => [
        [
            'completionStatus' => 'SUCCESS|ERROR',
            'entryId' => '<string>',
            'errorInfo' => [
                'errorCode' => 'ResourceNotFoundException|InvalidRequestException|AccessDeniedException',
                'errorTimestamp' => <DateTime>,
            ],
        ],
        // ...
    ],
    'successEntries' => [
        [
            'aggregatedValues' => [
                [
                    'quality' => 'GOOD|BAD|UNCERTAIN',
                    'timestamp' => <DateTime>,
                    'value' => [
                        'average' => <float>,
                        'count' => <float>,
                        'maximum' => <float>,
                        'minimum' => <float>,
                        'standardDeviation' => <float>,
                        'sum' => <float>,
                    ],
                ],
                // ...
            ],
            'entryId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
errorEntries
Required: Yes
Type: Array of BatchGetAssetPropertyAggregatesErrorEntry structures

A list of the errors (if any) associated with the batch request. Each error entry contains the entryId of the entry that failed.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

skippedEntries
Required: Yes
Type: Array of BatchGetAssetPropertyAggregatesSkippedEntry structures

A list of entries that were not processed by this batch request. because these entries had been completely processed by previous paginated requests. Each skipped entry contains the entryId of the entry that skipped.

successEntries
Required: Yes
Type: Array of BatchGetAssetPropertyAggregatesSuccessEntry structures

A list of entries that were processed successfully by this batch request. Each success entry contains the entryId of the entry that succeeded and the latest query result.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ServiceUnavailableException:

The requested service is unavailable.

BatchGetAssetPropertyValue

$result = $client->batchGetAssetPropertyValue([/* ... */]);
$promise = $client->batchGetAssetPropertyValueAsync([/* ... */]);

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

Parameter Syntax

$result = $client->batchGetAssetPropertyValue([
    'entries' => [ // REQUIRED
        [
            'assetId' => '<string>',
            'entryId' => '<string>', // REQUIRED
            'propertyAlias' => '<string>',
            'propertyId' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]);

Parameter Details

Members
entries
Required: Yes
Type: Array of BatchGetAssetPropertyValueEntry structures

The list of asset property value entries for the batch get request. You can specify up to 128 entries per request.

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'errorEntries' => [
        [
            'entryId' => '<string>',
            'errorCode' => 'ResourceNotFoundException|InvalidRequestException|AccessDeniedException',
            'errorMessage' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
    'skippedEntries' => [
        [
            'completionStatus' => 'SUCCESS|ERROR',
            'entryId' => '<string>',
            'errorInfo' => [
                'errorCode' => 'ResourceNotFoundException|InvalidRequestException|AccessDeniedException',
                'errorTimestamp' => <DateTime>,
            ],
        ],
        // ...
    ],
    'successEntries' => [
        [
            'assetPropertyValue' => [
                'quality' => 'GOOD|BAD|UNCERTAIN',
                'timestamp' => [
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>,
                ],
                'value' => [
                    'booleanValue' => true || false,
                    'doubleValue' => <float>,
                    'integerValue' => <integer>,
                    'nullValue' => [
                        'valueType' => 'D|B|S|I|U',
                    ],
                    'stringValue' => '<string>',
                ],
            ],
            'entryId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
errorEntries
Required: Yes
Type: Array of BatchGetAssetPropertyValueErrorEntry structures

A list of the errors (if any) associated with the batch request. Each error entry contains the entryId of the entry that failed.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

skippedEntries
Required: Yes
Type: Array of BatchGetAssetPropertyValueSkippedEntry structures

A list of entries that were not processed by this batch request. because these entries had been completely processed by previous paginated requests. Each skipped entry contains the entryId of the entry that skipped.

successEntries
Required: Yes
Type: Array of BatchGetAssetPropertyValueSuccessEntry structures

A list of entries that were processed successfully by this batch request. Each success entry contains the entryId of the entry that succeeded and the latest query result.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ServiceUnavailableException:

The requested service is unavailable.

BatchGetAssetPropertyValueHistory

$result = $client->batchGetAssetPropertyValueHistory([/* ... */]);
$promise = $client->batchGetAssetPropertyValueHistoryAsync([/* ... */]);

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

Parameter Syntax

$result = $client->batchGetAssetPropertyValueHistory([
    'entries' => [ // REQUIRED
        [
            'assetId' => '<string>',
            'endDate' => <integer || string || DateTime>,
            'entryId' => '<string>', // REQUIRED
            'propertyAlias' => '<string>',
            'propertyId' => '<string>',
            'qualities' => ['<string>', ...],
            'startDate' => <integer || string || DateTime>,
            'timeOrdering' => 'ASCENDING|DESCENDING',
        ],
        // ...
    ],
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
entries
Required: Yes
Type: Array of BatchGetAssetPropertyValueHistoryEntry structures

The list of asset property historical value entries for the batch get request. You can specify up to 16 entries per request.

maxResults
Type: int

The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.

  • The size of the result set is equal to 4 MB.

  • The number of data points in the result set is equal to the value of maxResults. The maximum value of maxResults is 20000.

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'errorEntries' => [
        [
            'entryId' => '<string>',
            'errorCode' => 'ResourceNotFoundException|InvalidRequestException|AccessDeniedException',
            'errorMessage' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
    'skippedEntries' => [
        [
            'completionStatus' => 'SUCCESS|ERROR',
            'entryId' => '<string>',
            'errorInfo' => [
                'errorCode' => 'ResourceNotFoundException|InvalidRequestException|AccessDeniedException',
                'errorTimestamp' => <DateTime>,
            ],
        ],
        // ...
    ],
    'successEntries' => [
        [
            'assetPropertyValueHistory' => [
                [
                    'quality' => 'GOOD|BAD|UNCERTAIN',
                    'timestamp' => [
                        'offsetInNanos' => <integer>,
                        'timeInSeconds' => <integer>,
                    ],
                    'value' => [
                        'booleanValue' => true || false,
                        'doubleValue' => <float>,
                        'integerValue' => <integer>,
                        'nullValue' => [
                            'valueType' => 'D|B|S|I|U',
                        ],
                        'stringValue' => '<string>',
                    ],
                ],
                // ...
            ],
            'entryId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
errorEntries
Required: Yes
Type: Array of BatchGetAssetPropertyValueHistoryErrorEntry structures

A list of the errors (if any) associated with the batch request. Each error entry contains the entryId of the entry that failed.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

skippedEntries
Required: Yes
Type: Array of BatchGetAssetPropertyValueHistorySkippedEntry structures

A list of entries that were not processed by this batch request. because these entries had been completely processed by previous paginated requests. Each skipped entry contains the entryId of the entry that skipped.

successEntries
Required: Yes
Type: Array of BatchGetAssetPropertyValueHistorySuccessEntry structures

A list of entries that were processed successfully by this batch request. Each success entry contains the entryId of the entry that succeeded and the latest query result.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ServiceUnavailableException:

The requested service is unavailable.

BatchPutAssetPropertyValue

$result = $client->batchPutAssetPropertyValue([/* ... */]);
$promise = $client->batchPutAssetPropertyValueAsync([/* ... */]);

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.

To identify an asset property, you must specify one of the following:

  • The assetId and propertyId of an asset property.

  • A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

With respect to Unix epoch time, IoT SiteWise accepts only TQVs that have a timestamp of no more than 7 days in the past and no more than 10 minutes in the future. IoT SiteWise rejects timestamps outside of the inclusive range of [-7 days, +10 minutes] and returns a TimestampOutOfRangeException error.

For each asset property, IoT SiteWise overwrites TQVs with duplicate timestamps unless the newer TQV has a different quality. For example, if you store a TQV {T1, GOOD, V1}, then storing {T1, GOOD, V2} replaces the existing TQV.

IoT SiteWise authorizes access to each BatchPutAssetPropertyValue entry individually. For more information, see BatchPutAssetPropertyValue authorization in the IoT SiteWise User Guide.

Parameter Syntax

$result = $client->batchPutAssetPropertyValue([
    'enablePartialEntryProcessing' => true || false,
    'entries' => [ // REQUIRED
        [
            'assetId' => '<string>',
            'entryId' => '<string>', // REQUIRED
            'propertyAlias' => '<string>',
            'propertyId' => '<string>',
            'propertyValues' => [ // REQUIRED
                [
                    'quality' => 'GOOD|BAD|UNCERTAIN',
                    'timestamp' => [ // REQUIRED
                        'offsetInNanos' => <integer>,
                        'timeInSeconds' => <integer>, // REQUIRED
                    ],
                    'value' => [ // REQUIRED
                        'booleanValue' => true || false,
                        'doubleValue' => <float>,
                        'integerValue' => <integer>,
                        'nullValue' => [
                            'valueType' => 'D|B|S|I|U', // REQUIRED
                        ],
                        'stringValue' => '<string>',
                    ],
                ],
                // ...
            ],
        ],
        // ...
    ],
]);

Parameter Details

Members
enablePartialEntryProcessing
Type: boolean

This setting enables partial ingestion at entry-level. If set to true, we ingest all TQVs not resulting in an error. If set to false, an invalid TQV fails ingestion of the entire entry that contains it.

entries
Required: Yes
Type: Array of PutAssetPropertyValueEntry structures

The list of asset property value entries for the batch put request. You can specify up to 10 entries per request.

Result Syntax

[
    'errorEntries' => [
        [
            'entryId' => '<string>',
            'errors' => [
                [
                    'errorCode' => 'ResourceNotFoundException|InvalidRequestException|InternalFailureException|ServiceUnavailableException|ThrottlingException|LimitExceededException|ConflictingOperationException|TimestampOutOfRangeException|AccessDeniedException',
                    'errorMessage' => '<string>',
                    'timestamps' => [
                        [
                            'offsetInNanos' => <integer>,
                            'timeInSeconds' => <integer>,
                        ],
                        // ...
                    ],
                ],
                // ...
            ],
        ],
        // ...
    ],
]

Result Details

Members
errorEntries
Required: Yes
Type: Array of BatchPutAssetPropertyErrorEntry structures

A list of the errors (if any) associated with the batch put request. Each error entry contains the entryId of the entry that failed.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ServiceUnavailableException:

The requested service is unavailable.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CancelEnrichmentJob

$result = $client->cancelEnrichmentJob([/* ... */]);
$promise = $client->cancelEnrichmentJobAsync([/* ... */]);

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.

Behavior

  • Jobs in PENDING or RUNNING status transition to CANCELLED
  • Jobs in RUNNING state may not be cancellable once they have progressed to certain processing stages
  • Jobs already in terminal states (COMPLETED, FAILED, TIMED_OUT) cannot be cancelled; the operation returns a ConflictingOperationException
  • Cancelling an already-CANCELLED job is a no-op and returns the current status (idempotent behavior)
  • The API responds immediately after recording the cancellation
  • Cleanup of job resources happens asynchronously in the background

When to Cancel

Cancel a job when:

  • The job is taking longer than expected
  • The job was created with incorrect parameters
  • You no longer need the results

Idempotency

You can safely retry cancellation requests. Calling CancelEnrichmentJob multiple times for the same job returns the current status without error as long as the job is not in a terminal state other than CANCELLED.

Parameter Syntax

$result = $client->cancelEnrichmentJob([
    'jobId' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
jobId
Required: Yes
Type: string

The unique identifier of the enrichment job to cancel. This is the jobId returned by CreateEnrichmentJob.

workspaceName
Required: Yes
Type: string

The name of the IoT SiteWise workspace containing the enrichment job to cancel.

Result Syntax

[
    'jobId' => '<string>',
    'status' => 'PENDING|RUNNING|COMPLETED|FAILED|TIMED_OUT|CANCELLED',
]

Result Details

Members
jobId
Required: Yes
Type: string

The unique identifier of the cancelled enrichment job.

status
Required: Yes
Type: string

The status of the enrichment job after cancellation. This will be CANCELLED, indicating the job was successfully cancelled or was already in CANCELLED state (idempotent behavior).

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CancelPipelineExecution

$result = $client->cancelPipelineExecution([/* ... */]);
$promise = $client->cancelPipelineExecutionAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->cancelPipelineExecution([
    'pipelineExecutionId' => '<string>', // REQUIRED
    'pipelineName' => '<string>', // REQUIRED
    'reason' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
pipelineExecutionId
Required: Yes
Type: string

The unique identifier of the pipeline execution.

pipelineName
Required: Yes
Type: string

The name of the pipeline.

reason
Type: string

A message describing why the pipeline execution is being cancelled.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'state' => 'NOT_STARTED|RUNNING|SUCCEEDED|FAILED|CANCELLING|CANCELLED',
]

Result Details

Members
state
Required: Yes
Type: string

The current execution state of the pipeline. Can only be CANCELLING or CANCELLED.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CancelQuery

$result = $client->cancelQuery([/* ... */]);
$promise = $client->cancelQueryAsync([/* ... */]);

Cancels a running query.

Parameter Syntax

$result = $client->cancelQuery([
    'queryId' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
queryId
Required: Yes
Type: string

The unique identifier for the query execution to cancel.

workspaceName
Required: Yes
Type: string

The name of the workspace associated with the query.

Result Syntax

[
    'queryId' => '<string>',
    'status' => 'SUBMITTED|RUNNING|COMPLETED|FAILED|CANCELED|CANCELING',
]

Result Details

Members
queryId
Required: Yes
Type: string

The unique identifier for the cancelled query.

status
Required: Yes
Type: string

The current query status.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreateAccessPolicy

$result = $client->createAccessPolicy([/* ... */]);
$promise = $client->createAccessPolicyAsync([/* ... */]);

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.

Creates an access policy that grants the specified identity (IAM Identity Center user, IAM Identity Center group, or IAM user) access to the specified IoT SiteWise Monitor portal or project resource.

Support for access policies that use an SSO Group as the identity is not supported at this time.

Parameter Syntax

$result = $client->createAccessPolicy([
    'accessPolicyIdentity' => [ // REQUIRED
        'group' => [
            'id' => '<string>', // REQUIRED
        ],
        'iamRole' => [
            'arn' => '<string>', // REQUIRED
        ],
        'iamUser' => [
            'arn' => '<string>', // REQUIRED
        ],
        'user' => [
            'id' => '<string>', // REQUIRED
        ],
    ],
    'accessPolicyPermission' => 'ADMINISTRATOR|VIEWER', // REQUIRED
    'accessPolicyResource' => [ // REQUIRED
        'portal' => [
            'id' => '<string>', // REQUIRED
        ],
        'project' => [
            'id' => '<string>', // REQUIRED
        ],
    ],
    'clientToken' => '<string>',
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
accessPolicyIdentity
Required: Yes
Type: Identity structure

The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.

accessPolicyPermission
Required: Yes
Type: string

The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.

accessPolicyResource
Required: Yes
Type: Resource structure

The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.

clientToken
Type: 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.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

Result Syntax

[
    'accessPolicyArn' => '<string>',
    'accessPolicyId' => '<string>',
]

Result Details

Members
accessPolicyArn
Required: Yes
Type: string

The ARN of the access policy, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}

accessPolicyId
Required: Yes
Type: string

The ID of the access policy.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

CreateApplication

$result = $client->createApplication([/* ... */]);
$promise = $client->createApplicationAsync([/* ... */]);

Creates a new application for the workspace and IdC application provided

Parameter Syntax

$result = $client->createApplication([
    'clientToken' => '<string>',
    'description' => '<string>',
    'idcInstanceArn' => '<string>', // REQUIRED
    'name' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

Unique client token for idempotent request handling

description
Type: string

Description of the application

idcInstanceArn
Required: Yes
Type: string

Identity Center Instance ARN to create the application in

name
Required: Yes
Type: string

Name of the application

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the application.

workspaceName
Required: Yes
Type: string

Name of the workspace to associate with the underlying Application

Result Syntax

[
    'arn' => '<string>',
    'dnsSubdomain' => '<string>',
    'id' => '<string>',
    'name' => '<string>',
    'status' => 'CREATING|ACTIVE|DELETING',
]

Result Details

Members
arn
Required: Yes
Type: string

ARN of the application

dnsSubdomain
Required: Yes
Type: string

DNS subdomain for the application

id
Required: Yes
Type: string

Unique identifier of the application

name
Required: Yes
Type: string

Name of the application

status
Required: Yes
Type: string

Current status of the application

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreateAsset

$result = $client->createAsset([/* ... */]);
$promise = $client->createAssetAsync([/* ... */]);

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

Parameter Syntax

$result = $client->createAsset([
    'assetDescription' => '<string>',
    'assetExternalId' => '<string>',
    'assetId' => '<string>',
    'assetModelId' => '<string>', // REQUIRED
    'assetName' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
assetDescription
Type: string

A description for the asset.

assetExternalId
Type: string

An external ID to assign to the asset. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.

assetId
Type: string

The ID to assign to the asset, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

assetModelId
Required: Yes
Type: string

The ID of the asset model from which to create the 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.

assetName
Required: Yes
Type: string

A friendly name for the asset.

clientToken
Type: 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.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

Result Syntax

[
    'assetArn' => '<string>',
    'assetId' => '<string>',
    'assetStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
assetArn
Required: Yes
Type: string

The ARN of the asset, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}

assetId
Required: Yes
Type: string

The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise API operations.

assetStatus
Required: Yes
Type: AssetStatus structure

The status of the asset, which contains a state (CREATING after successfully calling this operation) and any error message.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreateAssetModel

$result = $client->createAssetModel([/* ... */]);
$promise = $client->createAssetModelAsync([/* ... */]);

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.

You can create three types of asset models, ASSET_MODEL, COMPONENT_MODEL, or an INTERFACE.

  • ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.

  • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.

  • INTERFACE – An interface is a type of model that defines a standard structure that can be applied to different asset models.

Parameter Syntax

$result = $client->createAssetModel([
    'assetModelCompositeModels' => [
        [
            'description' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>', // REQUIRED
            'properties' => [
                [
                    'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON', // REQUIRED
                    'dataTypeSpec' => '<string>',
                    'externalId' => '<string>',
                    'id' => '<string>',
                    'name' => '<string>', // REQUIRED
                    'type' => [ // REQUIRED
                        'attribute' => [
                            'defaultValue' => '<string>',
                        ],
                        'measurement' => [
                            'processingConfig' => [
                                'forwardingConfig' => [ // REQUIRED
                                    'state' => 'DISABLED|ENABLED', // REQUIRED
                                ],
                            ],
                        ],
                        'metric' => [
                            'expression' => '<string>',
                            'processingConfig' => [
                                'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                            ],
                            'variables' => [
                                [
                                    'name' => '<string>', // REQUIRED
                                    'value' => [ // REQUIRED
                                        'hierarchyId' => '<string>',
                                        'propertyId' => '<string>',
                                        'propertyPath' => [
                                            [
                                                'id' => '<string>',
                                                'name' => '<string>',
                                            ],
                                            // ...
                                        ],
                                    ],
                                ],
                                // ...
                            ],
                            'window' => [ // REQUIRED
                                'tumbling' => [
                                    'interval' => '<string>', // REQUIRED
                                    'offset' => '<string>',
                                ],
                            ],
                        ],
                        'transform' => [
                            'expression' => '<string>', // REQUIRED
                            'processingConfig' => [
                                'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                                'forwardingConfig' => [
                                    'state' => 'DISABLED|ENABLED', // REQUIRED
                                ],
                            ],
                            'variables' => [ // REQUIRED
                                [
                                    'name' => '<string>', // REQUIRED
                                    'value' => [ // REQUIRED
                                        'hierarchyId' => '<string>',
                                        'propertyId' => '<string>',
                                        'propertyPath' => [
                                            [
                                                'id' => '<string>',
                                                'name' => '<string>',
                                            ],
                                            // ...
                                        ],
                                    ],
                                ],
                                // ...
                            ],
                        ],
                    ],
                    'unit' => '<string>',
                ],
                // ...
            ],
            'type' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'assetModelDescription' => '<string>',
    'assetModelExternalId' => '<string>',
    'assetModelHierarchies' => [
        [
            'childAssetModelId' => '<string>', // REQUIRED
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'assetModelId' => '<string>',
    'assetModelName' => '<string>', // REQUIRED
    'assetModelProperties' => [
        [
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON', // REQUIRED
            'dataTypeSpec' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>', // REQUIRED
            'type' => [ // REQUIRED
                'attribute' => [
                    'defaultValue' => '<string>',
                ],
                'measurement' => [
                    'processingConfig' => [
                        'forwardingConfig' => [ // REQUIRED
                            'state' => 'DISABLED|ENABLED', // REQUIRED
                        ],
                    ],
                ],
                'metric' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                    ],
                    'variables' => [
                        [
                            'name' => '<string>', // REQUIRED
                            'value' => [ // REQUIRED
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'window' => [ // REQUIRED
                        'tumbling' => [
                            'interval' => '<string>', // REQUIRED
                            'offset' => '<string>',
                        ],
                    ],
                ],
                'transform' => [
                    'expression' => '<string>', // REQUIRED
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED', // REQUIRED
                        ],
                    ],
                    'variables' => [ // REQUIRED
                        [
                            'name' => '<string>', // REQUIRED
                            'value' => [ // REQUIRED
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                ],
            ],
            'unit' => '<string>',
        ],
        // ...
    ],
    'assetModelType' => 'ASSET_MODEL|COMPONENT_MODEL|INTERFACE',
    'clientToken' => '<string>',
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
assetModelCompositeModels
Type: Array of AssetModelCompositeModelDefinition structures

The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.

When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.

assetModelDescription
Type: string

A description for the asset model.

assetModelExternalId
Type: string

An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.

assetModelHierarchies
Type: Array of AssetModelHierarchyDefinition structures

The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide.

You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the IoT SiteWise User Guide.

assetModelId
Type: string

The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

assetModelName
Required: Yes
Type: string

A unique name for the asset model.

assetModelProperties
Type: Array of AssetModelPropertyDefinition structures

The property definitions of the asset model. For more information, see Asset properties in the IoT SiteWise User Guide.

You can specify up to 200 properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.

assetModelType
Type: string

The type of asset model.

  • ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.

  • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.

clientToken
Type: 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.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the asset model. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

Result Syntax

[
    'assetModelArn' => '<string>',
    'assetModelId' => '<string>',
    'assetModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|PROPAGATING|DELETING|FAILED',
    ],
]

Result Details

Members
assetModelArn
Required: Yes
Type: string

The ARN of the asset model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

assetModelId
Required: Yes
Type: string

The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.

assetModelStatus
Required: Yes
Type: AssetModelStatus structure

The status of the asset model, which contains a state (CREATING after successfully calling this operation) and any error message.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreateAssetModelCompositeModel

$result = $client->createAssetModelCompositeModel([/* ... */]);
$promise = $client->createAssetModelCompositeModelAsync([/* ... */]);

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

Use component-model-based custom composite models to define standard, reusable components. A component-model-based custom composite model consists of a name, a description, and the ID of the component model it references. A component-model-based custom composite model has no properties of its own; its referenced component model provides its associated properties to any created assets. For more information, see Custom composite models (Components) in the IoT SiteWise User Guide.

Use inline custom composite models to organize the properties of an asset model. The properties of inline custom composite models are local to the asset model where they are included and can't be used to create multiple assets.

To create a component-model-based model, specify the composedAssetModelId of an existing asset model with assetModelType of COMPONENT_MODEL.

To create an inline model, specify the assetModelCompositeModelProperties and don't include an composedAssetModelId.

Parameter Syntax

$result = $client->createAssetModelCompositeModel([
    'assetModelCompositeModelDescription' => '<string>',
    'assetModelCompositeModelExternalId' => '<string>',
    'assetModelCompositeModelId' => '<string>',
    'assetModelCompositeModelName' => '<string>', // REQUIRED
    'assetModelCompositeModelProperties' => [
        [
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON', // REQUIRED
            'dataTypeSpec' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>', // REQUIRED
            'type' => [ // REQUIRED
                'attribute' => [
                    'defaultValue' => '<string>',
                ],
                'measurement' => [
                    'processingConfig' => [
                        'forwardingConfig' => [ // REQUIRED
                            'state' => 'DISABLED|ENABLED', // REQUIRED
                        ],
                    ],
                ],
                'metric' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                    ],
                    'variables' => [
                        [
                            'name' => '<string>', // REQUIRED
                            'value' => [ // REQUIRED
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'window' => [ // REQUIRED
                        'tumbling' => [
                            'interval' => '<string>', // REQUIRED
                            'offset' => '<string>',
                        ],
                    ],
                ],
                'transform' => [
                    'expression' => '<string>', // REQUIRED
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED', // REQUIRED
                        ],
                    ],
                    'variables' => [ // REQUIRED
                        [
                            'name' => '<string>', // REQUIRED
                            'value' => [ // REQUIRED
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                ],
            ],
            'unit' => '<string>',
        ],
        // ...
    ],
    'assetModelCompositeModelType' => '<string>', // REQUIRED
    'assetModelId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'composedAssetModelId' => '<string>',
    'ifMatch' => '<string>',
    'ifNoneMatch' => '<string>',
    'matchForVersionType' => 'LATEST|ACTIVE',
    'parentAssetModelCompositeModelId' => '<string>',
]);

Parameter Details

Members
assetModelCompositeModelDescription
Type: string

A description for the composite model.

assetModelCompositeModelExternalId
Type: string

An external ID to assign to the composite model.

If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using UpdateAssetModelCompositeModel and specifying the derived ID of the model or property from the created model it's a part of.

assetModelCompositeModelId
Type: string

The ID of the composite model. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

assetModelCompositeModelName
Required: Yes
Type: string

A unique name for the composite model.

assetModelCompositeModelProperties
Type: Array of AssetModelPropertyDefinition structures

The property definitions of the composite model. For more information, see Inline custom composite models in the IoT SiteWise User Guide.

You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide.

assetModelCompositeModelType
Required: Yes
Type: string

The composite model type. Valid values are AWS/ALARM, CUSTOM, or AWS/L4E_ANOMALY.

assetModelId
Required: Yes
Type: string

The ID of the asset model this composite model is a part of.

clientToken
Type: 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.

composedAssetModelId
Type: string

The ID of a component model which is reused to create this composite model.

ifMatch
Type: string

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The create request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

ifNoneMatch
Type: string

Accepts * to reject the create request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

matchForVersionType
Type: string

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the create operation.

parentAssetModelCompositeModelId
Type: string

The ID of the parent composite model in this asset model relationship.

Result Syntax

[
    'assetModelCompositeModelId' => '<string>',
    'assetModelCompositeModelPath' => [
        [
            'id' => '<string>',
            'name' => '<string>',
        ],
        // ...
    ],
    'assetModelId' => '<string>',
    'assetModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|PROPAGATING|DELETING|FAILED',
    ],
]

Result Details

Members
assetModelCompositeModelId
Required: Yes
Type: string

The ID of the composed asset model. You can use this ID when you call other IoT SiteWise APIs.

assetModelCompositeModelPath
Required: Yes
Type: Array of AssetModelCompositeModelPathSegment structures

The path to the composite model listing the parent composite models.

assetModelId
Type: string

The ID of the asset model.

assetModelStatus
Required: Yes
Type: AssetModelStatus structure

Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.

Errors

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

PreconditionFailedException:

The precondition in one or more of the request-header fields evaluated to FALSE.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

CreateBulkImportJob

$result = $client->createBulkImportJob([/* ... */]);
$promise = $client->createBulkImportJobAsync([/* ... */]);

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.

Before you create a bulk import job that ingests data into time series outside of a workspace, you must enable IoT SiteWise warm tier or IoT SiteWise cold tier. For more information about how to configure storage settings, see PutStorageConfiguration. This requirement doesn't apply to bulk import jobs that ingest data into a session dataset in a workspace (jobs that specify a workspaceName and datasetId). Those jobs don't use IoT SiteWise warm or cold tier storage.

Bulk import is designed to store historical data to IoT SiteWise.

  • Newly ingested data in the hot tier triggers notifications and computations.

  • After data moves from the hot tier to the warm or cold tier based on retention settings, it does not trigger computations or notifications.

  • Data older than 7 days does not trigger computations or notifications.

Parameter Syntax

$result = $client->createBulkImportJob([
    'adaptiveIngestion' => true || false,
    'datasetId' => '<string>',
    'deleteFilesAfterImport' => true || false,
    'errorReportLocation' => [ // REQUIRED
        'bucket' => '<string>', // REQUIRED
        'prefix' => '<string>', // REQUIRED
    ],
    'files' => [ // REQUIRED
        [
            'alias' => '<string>',
            'bucket' => '<string>', // REQUIRED
            'fileFormat' => [
                'annotation' => [
                ],
                'csv' => [
                    'columnNames' => ['<string>', ...], // REQUIRED
                ],
                'mp4' => [
                ],
                'parquet' => [
                ],
            ],
            'key' => '<string>', // REQUIRED
            'startTime' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
            'versionId' => '<string>',
        ],
        // ...
    ],
    'jobConfiguration' => [
        'fileFormat' => [
            'annotation' => [
            ],
            'csv' => [
                'columnNames' => ['<string>', ...], // REQUIRED
            ],
            'mp4' => [
            ],
            'parquet' => [
            ],
        ],
    ],
    'jobName' => '<string>', // REQUIRED
    'jobRoleArn' => '<string>', // REQUIRED
    'workspaceName' => '<string>',
]);

Parameter Details

Members
adaptiveIngestion
Type: boolean

If set to true, ingest new data into IoT SiteWise storage. Measurements with notifications, metrics and transforms are computed. If set to false, historical data is ingested into IoT SiteWise as is.

datasetId
Type: string

The ID of the session dataset to ingest data into. Specify this field, together with workspaceName, to ingest data into a session dataset in a workspace.

deleteFilesAfterImport
Type: boolean

If set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.

errorReportLocation
Required: Yes
Type: ErrorReportLocation structure

The Amazon S3 destination where errors associated with the job creation request are saved.

files
Required: Yes
Type: Array of File structures

The files in the specified Amazon S3 bucket that contain your data. You can specify up to 100 files for each bulk import job. Each file supports the following size limits:

  • Parquet files – Up to 256 MiB.

  • Other file formats – Up to 5 GiB.

jobConfiguration
Type: JobConfiguration structure

Contains the configuration information of a job, such as the file format used to save data in Amazon S3.

jobName
Required: Yes
Type: string

The unique name that helps identify the job request.

jobRoleArn
Required: Yes
Type: string

The ARN of the IAM role that allows IoT SiteWise to read Amazon S3 data.

workspaceName
Type: string

The name of the workspace that contains the session dataset. Specify this field together with datasetId.

Result Syntax

[
    'jobId' => '<string>',
    'jobName' => '<string>',
    'jobStatus' => 'PENDING|CANCELLED|RUNNING|COMPLETED|FAILED|COMPLETED_WITH_FAILURES',
]

Result Details

Members
jobId
Required: Yes
Type: string

The ID of the job.

jobName
Required: Yes
Type: string

The unique name that helps identify the job request.

jobStatus
Required: Yes
Type: string

The status of the bulk import job can be one of following values:

  • PENDING – IoT SiteWise is waiting for the current bulk import job to finish.

  • CANCELLED – The bulk import job has been canceled.

  • RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.

  • COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.

  • FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

  • COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreateComputationModel

$result = $client->createComputationModel([/* ... */]);
$promise = $client->createComputationModelAsync([/* ... */]);

Create a computation model with a configuration and data binding.

Parameter Syntax

$result = $client->createComputationModel([
    'clientToken' => '<string>',
    'computationModelConfiguration' => [ // REQUIRED
        'anomalyDetection' => [
            'inputProperties' => '<string>', // REQUIRED
            'resultProperty' => '<string>', // REQUIRED
        ],
    ],
    'computationModelDataBinding' => [ // REQUIRED
        '<ComputationModelDataBindingVariable>' => [
            'assetModelProperty' => [
                'assetModelId' => '<string>', // REQUIRED
                'propertyId' => '<string>', // REQUIRED
            ],
            'assetProperty' => [
                'assetId' => '<string>', // REQUIRED
                'propertyId' => '<string>', // REQUIRED
            ],
            'list' => [
                [...], // RECURSIVE
                // ...
            ],
        ],
        // ...
    ],
    'computationModelDescription' => '<string>',
    'computationModelName' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: 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.

computationModelConfiguration
Required: Yes
Type: ComputationModelConfiguration structure

The configuration for the computation model.

computationModelDataBinding
Required: Yes
Type: Associative array of custom strings keys (ComputationModelDataBindingVariable) to ComputationModelDataBindingValue structures

The data binding for the computation model. Key is a variable name defined in configuration. Value is a ComputationModelDataBindingValue referenced by the variable.

computationModelDescription
Type: string

The description of the computation model.

computationModelName
Required: Yes
Type: string

The name of the computation model.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

Result Syntax

[
    'computationModelArn' => '<string>',
    'computationModelId' => '<string>',
    'computationModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
computationModelArn
Required: Yes
Type: string

The ARN of the computation model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}

computationModelId
Required: Yes
Type: string

The ID of the computation model.

computationModelStatus
Required: Yes
Type: ComputationModelStatus structure

The status of the computation model, containing a state (CREATING after successfully calling this operation) and any error messages.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreateDashboard

$result = $client->createDashboard([/* ... */]);
$promise = $client->createDashboardAsync([/* ... */]);

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.

Creates a dashboard in an IoT SiteWise Monitor project.

Parameter Syntax

$result = $client->createDashboard([
    'clientToken' => '<string>',
    'dashboardDefinition' => '<string>', // REQUIRED
    'dashboardDescription' => '<string>',
    'dashboardName' => '<string>', // REQUIRED
    'projectId' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: 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.

dashboardDefinition
Required: Yes
Type: string

The dashboard definition specified in a JSON literal.

in the IoT SiteWise User Guide

dashboardDescription
Type: string

A description for the dashboard.

dashboardName
Required: Yes
Type: string

A friendly name for the dashboard.

projectId
Required: Yes
Type: string

The ID of the project in which to create the dashboard.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the dashboard. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

Result Syntax

[
    'dashboardArn' => '<string>',
    'dashboardId' => '<string>',
]

Result Details

Members
dashboardArn
Required: Yes
Type: string

The ARN of the dashboard, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}

dashboardId
Required: Yes
Type: string

The ID of the dashboard.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

CreateDataset

$result = $client->createDataset([/* ... */]);
$promise = $client->createDatasetAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createDataset([
    'clientToken' => '<string>',
    'datasetConfig' => [
        'session' => [
            'sessionEndTimestamp' => [ // REQUIRED
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
            'sessionStartTimestamp' => [ // REQUIRED
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
        ],
    ],
    'datasetDescription' => '<string>',
    'datasetId' => '<string>',
    'datasetName' => '<string>', // REQUIRED
    'datasetSource' => [ // REQUIRED
        'sourceDetail' => [
            'kendra' => [
                'knowledgeBaseArn' => '<string>', // REQUIRED
                'roleArn' => '<string>', // REQUIRED
            ],
        ],
        'sourceFormat' => 'KNOWLEDGE_BASE|TIMESERIES', // REQUIRED
        'sourceType' => 'KENDRA|SITEWISE', // REQUIRED
    ],
    'datasetType' => 'SESSION|CURATED|EXTERNAL',
    'metadata' => ['<string>', ...],
    'tags' => ['<string>', ...],
    'workspaceName' => '<string>',
]);

Parameter Details

Members
clientToken
Type: 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.

datasetConfig
Type: DatasetConfig structure

The configuration for the dataset.

datasetDescription
Type: string

A description about the dataset, and its functionality.

datasetId
Type: string

The ID of the dataset.

datasetName
Required: Yes
Type: string

The name of the dataset.

datasetSource
Required: Yes
Type: DatasetSource structure

The data source for the dataset.

datasetType
Type: string

The type of dataset: a session dataset, a curated dataset, or a connection to an external datasource.

metadata
Type: Associative array of custom strings keys (MetadataKey) to strings

The metadata for the dataset, provided as key-value pairs.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

workspaceName
Type: string

The name of the workspace that contains the dataset. Required for session and curated datasets. Omit this field for datasets that connect to an external datasource.

Result Syntax

[
    'datasetArn' => '<string>',
    'datasetId' => '<string>',
    'datasetStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
datasetArn
Required: Yes
Type: string

The ARN of the dataset. The format is arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.

datasetId
Required: Yes
Type: string

The ID of the dataset.

datasetStatus
Required: Yes
Type: DatasetStatus structure

The status of the dataset. This contains the state and any error messages. State is CREATING after a successfull call to this API, and any associated error message. The state is ACTIVE when ready to use.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreateDatasetExportJob

$result = $client->createDatasetExportJob([/* ... */]);
$promise = $client->createDatasetExportJobAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createDatasetExportJob([
    'clientToken' => '<string>',
    'destinationS3Uri' => '<string>', // REQUIRED
    'errorReportLocation' => [ // REQUIRED
        's3Uri' => '<string>', // REQUIRED
    ],
    'input' => [ // REQUIRED
        'dataset' => [
            'datasetId' => '<string>', // REQUIRED
            'exportDataTypes' => ['<string>', ...],
            'trimSettings' => [
                'endTime' => [ // REQUIRED
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>, // REQUIRED
                ],
                'startTime' => [ // REQUIRED
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>, // REQUIRED
                ],
            ],
        ],
        'timeseries' => [
            [
                'formatSettings' => [
                    'framesPerSecond' => <integer>,
                    'heightInPixels' => <integer>,
                    'widthInPixels' => <integer>,
                ],
                'propertyAlias' => '<string>',
                'timeSeriesId' => '<string>',
                'trimSettings' => [
                    'endTime' => [ // REQUIRED
                        'offsetInNanos' => <integer>,
                        'timeInSeconds' => <integer>, // REQUIRED
                    ],
                    'startTime' => [ // REQUIRED
                        'offsetInNanos' => <integer>,
                        'timeInSeconds' => <integer>, // REQUIRED
                    ],
                ],
            ],
            // ...
        ],
    ],
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. The AWS SDKs and CLI populate this automatically.

destinationS3Uri
Required: Yes
Type: string

The S3 URI where output clips will be written.

errorReportLocation
Required: Yes
Type: ExportErrorReportLocation structure

The location where the error report will be written on failure.

input
Required: Yes
Type: ProcessingInput structure

The processing input source.

workspaceName
Required: Yes
Type: string

The name of the workspace in which to create the dataset export job.

Result Syntax

[
    'jobId' => '<string>',
    'workspaceName' => '<string>',
]

Result Details

Members
jobId
Required: Yes
Type: string

The unique identifier for the dataset export job.

workspaceName
Required: Yes
Type: string

The name of the workspace in which the dataset export job was created.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreateEnrichmentJob

$result = $client->createEnrichmentJob([/* ... */]);
$promise = $client->createEnrichmentJobAsync([/* ... */]);

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

Idempotency

Include a clientToken to make the operation idempotent. If you submit the same request with the same token within the idempotency window, you receive the original job details without creating a duplicate.

Prerequisites

Before creating a job, ensure:

  • The workspace is in ACTIVE state (not being deleted)
  • You have IAM permissions for the workspace, dataset, and time-series resources
  • You have KMS Decrypt permission on the workspace's customer-managed encryption key
  • No duplicate job (same workspace, dataset, property, and job type) is currently running

Workflow

  1. Submit the job with configuration specifying which video data to analyze and the time range
  2. Capture the jobId from the response
  3. Use DescribeEnrichmentJob to monitor progress and check job status
  4. When status reaches a terminal state (COMPLETED, FAILED, TIMED_OUT, CANCELLED), check results
  5. For COMPLETED jobs, query IoT SiteWise for semantic search on video events

Error Handling

  • ConflictingOperationException: A duplicate job is already running for the same configuration
  • InvalidRequestException: Invalid parameters (e.g., both timeSeriesId and propertyAlias specified)
  • AccessDeniedException: Insufficient IAM or KMS permissions
  • LimitExceededException: Too many concurrent jobs or requests

Parameter Syntax

$result = $client->createEnrichmentJob([
    'clientToken' => '<string>',
    'jobConfiguration' => [ // REQUIRED
        'eventDetection' => [
            'datasetId' => '<string>', // REQUIRED
            'propertyAlias' => '<string>',
            'timeSeriesId' => '<string>',
            'trimSettings' => [ // REQUIRED
                'endTime' => [ // REQUIRED
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>, // REQUIRED
                ],
                'startTime' => [ // REQUIRED
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>, // REQUIRED
                ],
            ],
        ],
    ],
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

Optional unique token that makes the operation idempotent. If you submit the same request with the same token within the idempotency window, the service returns the original job without creating a duplicate. Use a UUID or timestamp-based token for each unique request.

jobConfiguration
Required: Yes
Type: EnrichmentJobConfiguration structure

Configuration defining the type of enrichment analysis to perform and which video data to analyze. Currently supports eventDetection for generating embeddings from video data for semantic search.

workspaceName
Required: Yes
Type: string

The name of the IoT SiteWise workspace containing the video data to analyze.

Result Syntax

[
    'createdAt' => <DateTime>,
    'jobId' => '<string>',
    'status' => 'PENDING|RUNNING|COMPLETED|FAILED|TIMED_OUT|CANCELLED',
]

Result Details

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the enrichment job was created in ISO 8601 format.

jobId
Required: Yes
Type: string

Unique identifier for the enrichment job. Use this ID with DescribeEnrichmentJob to monitor progress or with CancelEnrichmentJob to cancel the job.

status
Required: Yes
Type: string

Initial status of the enrichment job, typically PENDING. The job will transition to RUNNING when processing begins, then to a terminal state (COMPLETED, FAILED, TIMED_OUT, or CANCELLED). Use DescribeEnrichmentJob to track status changes.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreateGateway

$result = $client->createGateway([/* ... */]);
$promise = $client->createGatewayAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createGateway([
    'gatewayName' => '<string>', // REQUIRED
    'gatewayPlatform' => [ // REQUIRED
        'greengrass' => [
            'groupArn' => '<string>', // REQUIRED
        ],
        'greengrassV2' => [
            'coreDeviceOperatingSystem' => 'LINUX_AARCH64|LINUX_AMD64|WINDOWS_AMD64',
            'coreDeviceThingName' => '<string>', // REQUIRED
        ],
        'siemensIE' => [
            'iotCoreThingName' => '<string>', // REQUIRED
        ],
    ],
    'gatewayVersion' => '<string>',
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
gatewayName
Required: Yes
Type: string

A unique name for the gateway.

gatewayPlatform
Required: Yes
Type: GatewayPlatform structure

The gateway's platform. You can only specify one platform in a gateway.

gatewayVersion
Type: string

The version of the gateway to create. Specify 3 to create an MQTT-enabled, V3 gateway and 2 to create a Classic streams, V2 gateway. If not specified, the default is 2 (Classic streams, V2 gateway).

When creating a V3 gateway (gatewayVersion=3) with the GreengrassV2 platform, you must also specify the coreDeviceOperatingSystem parameter.

We recommend creating an MQTT-enabled gateway for self-hosted gateways and Siemens Industrial Edge gateways. For more information on gateway versions, see Use Amazon Web Services IoT SiteWise Edge Edge gateways.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

Result Syntax

[
    'gatewayArn' => '<string>',
    'gatewayId' => '<string>',
]

Result Details

Members
gatewayArn
Required: Yes
Type: string

The ARN of the gateway, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}

gatewayId
Required: Yes
Type: string

The ID of the gateway device. You can use this ID when you call other IoT SiteWise API operations.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

CreatePipeline

$result = $client->createPipeline([/* ... */]);
$promise = $client->createPipelineAsync([/* ... */]);

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.

You can set environment variables at the pipeline level that are shared across all compute nodes, and override them at the individual compute node level.

Parameter Syntax

$result = $client->createPipeline([
    'clientToken' => '<string>',
    'computations' => [ // REQUIRED
        [
            'computeNodeName' => '<string>', // REQUIRED
            'dependsOn' => ['<string>', ...],
            'environmentVariables' => ['<string>', ...],
            'taskName' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'description' => '<string>',
    'environmentVariables' => ['<string>', ...],
    'pipelineName' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token, the server returns the cached result from the original successful request without performing the operation again.

computations
Required: Yes
Type: Array of ComputeNode structures

The list of compute nodes that form the pipeline DAG. Each compute node references a task and can declare dependencies on other nodes.

description
Type: string

A description of the pipeline.

environmentVariables
Type: Associative array of custom strings keys (EnvironmentVariableName) to strings

Environment variables shared across all compute nodes in the pipeline. Individual compute nodes can override these values with their own environment variables.

pipelineName
Required: Yes
Type: string

The name of the pipeline to create. Must be unique within the workspace.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the pipeline. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'pipelineArn' => '<string>',
    'pipelineName' => '<string>',
    'status' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
    'version' => '<string>',
]

Result Details

Members
pipelineArn
Required: Yes
Type: string

The ARN of the created pipeline.

pipelineName
Required: Yes
Type: string

The name of the created pipeline.

status
Required: Yes
Type: ResourceStatus structure

The current lifecycle status of the pipeline.

version
Required: Yes
Type: string

The version of the newly created pipeline.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreatePortal

$result = $client->createPortal([/* ... */]);
$promise = $client->createPortalAsync([/* ... */]);

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.

Creates a portal, which can contain projects and dashboards. IoT SiteWise Monitor uses IAM Identity Center or IAM to authenticate portal users and manage user permissions.

Before you can sign in to a new portal, you must add at least one identity to that portal. For more information, see Adding or removing portal administrators in the IoT SiteWise User Guide.

Parameter Syntax

$result = $client->createPortal([
    'alarms' => [
        'alarmRoleArn' => '<string>', // REQUIRED
        'notificationLambdaArn' => '<string>',
    ],
    'clientToken' => '<string>',
    'notificationSenderEmail' => '<string>',
    'portalAuthMode' => 'IAM|SSO',
    'portalContactEmail' => '<string>', // REQUIRED
    'portalDescription' => '<string>',
    'portalLogoImageFile' => [
        'data' => <string || resource || Psr\Http\Message\StreamInterface>, // REQUIRED
        'type' => 'PNG', // REQUIRED
    ],
    'portalName' => '<string>', // REQUIRED
    'portalType' => 'SITEWISE_PORTAL_V1|SITEWISE_PORTAL_V2',
    'portalTypeConfiguration' => [
        '<PortalTypeKey>' => [
            'portalTools' => ['<string>', ...],
        ],
        // ...
    ],
    'roleArn' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
alarms
Type: Alarms structure

Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.

clientToken
Type: 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.

notificationSenderEmail
Type: string

The email address that sends alarm notifications.

If you use the IoT Events managed Lambda function to manage your emails, you must verify the sender email address in Amazon SES.

portalAuthMode
Type: string

The service to use to authenticate users to the portal. Choose from the following options:

  • SSO – The portal uses IAM Identity Center to authenticate users and manage user permissions. Before you can create a portal that uses IAM Identity Center, you must enable IAM Identity Center. For more information, see Enabling IAM Identity Center in the IoT SiteWise User Guide. This option is only available in Amazon Web Services Regions other than the China Regions.

  • IAM – The portal uses Identity and Access Management to authenticate users and manage user permissions.

You can't change this value after you create a portal.

Default: SSO

portalContactEmail
Required: Yes
Type: string

The Amazon Web Services administrator's contact email address.

portalDescription
Type: string

A description for the portal.

portalLogoImageFile
Type: ImageFile structure

A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a dark background.

portalName
Required: Yes
Type: string

A friendly name for the portal.

portalType
Type: string

Define the type of portal. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.

portalTypeConfiguration
Type: Associative array of custom strings keys (PortalTypeKey) to PortalTypeEntry structures

The configuration entry associated with the specific portal type. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.

roleArn
Required: Yes
Type: string

The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the portal. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

Result Syntax

[
    'portalArn' => '<string>',
    'portalId' => '<string>',
    'portalStartUrl' => '<string>',
    'portalStatus' => [
        'error' => [
            'code' => 'INTERNAL_FAILURE|VALIDATION_ERROR|LIMIT_EXCEEDED',
            'message' => '<string>',
        ],
        'state' => 'CREATING|PENDING|UPDATING|DELETING|ACTIVE|FAILED',
    ],
    'ssoApplicationId' => '<string>',
]

Result Details

Members
portalArn
Required: Yes
Type: string

The ARN of the portal, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}

portalId
Required: Yes
Type: string

The ID of the created portal.

portalStartUrl
Required: Yes
Type: string

The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.

portalStatus
Required: Yes
Type: PortalStatus structure

The status of the portal, which contains a state (CREATING after successfully calling this operation) and any error message.

ssoApplicationId
Required: Yes
Type: string

The associated IAM Identity Center application ID, if the portal uses IAM Identity Center.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

CreateProject

$result = $client->createProject([/* ... */]);
$promise = $client->createProjectAsync([/* ... */]);

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.

Creates a project in the specified portal.

Make sure that the project name and description don't contain confidential information.

Parameter Syntax

$result = $client->createProject([
    'clientToken' => '<string>',
    'portalId' => '<string>', // REQUIRED
    'projectDescription' => '<string>',
    'projectName' => '<string>', // REQUIRED
    'tags' => ['<string>', ...],
]);

Parameter Details

Members
clientToken
Type: 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.

portalId
Required: Yes
Type: string

The ID of the portal in which to create the project.

projectDescription
Type: string

A description for the project.

projectName
Required: Yes
Type: string

A friendly name for the project.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the project. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

Result Syntax

[
    'projectArn' => '<string>',
    'projectId' => '<string>',
]

Result Details

Members
projectArn
Required: Yes
Type: string

The ARN of the project, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}

projectId
Required: Yes
Type: string

The ID of the project.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

CreateTask

$result = $client->createTask([/* ... */]);
$promise = $client->createTaskAsync([/* ... */]);

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.

Specify a containerTaskConfiguration for custom container workloads with configurable ECR image, processing type, processing unit, and environment variables.

Parameter Syntax

$result = $client->createTask([
    'clientToken' => '<string>',
    'description' => '<string>',
    'tags' => ['<string>', ...],
    'taskConfiguration' => [ // REQUIRED
        'containerTaskConfiguration' => [
            'command' => ['<string>', ...],
            'ecrUri' => '<string>', // REQUIRED
            'environmentVariables' => ['<string>', ...],
            'processingType' => 'GENERIC_COMPUTE_PROCESSING|HARDWARE_ACCELERATED_PROCESSING', // REQUIRED
            'processingUnit' => 'UNITS_2|UNITS_4|UNITS_8|UNITS_12|UNITS_16|UNITS_24|UNITS_32|UNITS_36|UNITS_48|UNITS_60|UNITS_64|UNITS_72|UNITS_84|UNITS_96', // REQUIRED
            'taskExecutionRole' => '<string>', // REQUIRED
            'timeoutSeconds' => <integer>,
        ],
    ],
    'taskName' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token, the server returns the cached result from the original successful request without performing the operation again.

description
Type: string

A description of the task.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the task. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.

taskConfiguration
Required: Yes
Type: TaskConfiguration structure

The task execution configuration. Specify a containerTaskConfiguration for custom container workloads.

taskName
Required: Yes
Type: string

The name of the task to create. Must be unique within the workspace.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'status' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
    'taskArn' => '<string>',
    'taskName' => '<string>',
    'version' => '<string>',
]

Result Details

Members
status
Required: Yes
Type: ResourceStatus structure

The current lifecycle status of the task.

taskArn
Required: Yes
Type: string

The ARN of the created task.

taskName
Required: Yes
Type: string

The name of the created task.

version
Required: Yes
Type: string

The version of the newly created task.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

CreateWorkspace

$result = $client->createWorkspace([/* ... */]);
$promise = $client->createWorkspaceAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createWorkspace([
    'clientToken' => '<string>',
    'encryptionConfiguration' => [ // REQUIRED
        'encryptionType' => 'SITEWISE_DEFAULT_ENCRYPTION|KMS_BASED_ENCRYPTION', // REQUIRED
        'kmsKeyId' => '<string>',
    ],
    'tags' => ['<string>', ...],
    'workspaceDescription' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure that the request is idempotent. If you retry a request that completed successfully using the same client token, the retry succeeds without performing any further actions.

encryptionConfiguration
Required: Yes
Type: WorkspaceEncryptionConfiguration structure

The encryption configuration for the workspace.

tags
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the workspace. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

workspaceDescription
Type: string

A description for the workspace.

workspaceName
Required: Yes
Type: string

The name of the workspace to create.

Result Syntax

[
    'workspaceArn' => '<string>',
    'workspaceName' => '<string>',
    'workspaceStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
workspaceArn
Required: Yes
Type: string

The ARN of the workspace.

workspaceName
Required: Yes
Type: string

The name of the workspace.

workspaceStatus
Required: Yes
Type: WorkspaceStatus structure

The status of the workspace, which is CREATING when the operation returns.

Errors

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

DeleteAccessPolicy

$result = $client->deleteAccessPolicy([/* ... */]);
$promise = $client->deleteAccessPolicyAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteAccessPolicy([
    'accessPolicyId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
]);

Parameter Details

Members
accessPolicyId
Required: Yes
Type: string

The ID of the access policy to be deleted.

clientToken
Type: 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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DeleteApplication

$result = $client->deleteApplication([/* ... */]);
$promise = $client->deleteApplicationAsync([/* ... */]);

Deletes an application by ID

Parameter Syntax

$result = $client->deleteApplication([
    'id' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
id
Required: Yes
Type: string

ID of the Application to delete

workspaceName
Required: Yes
Type: string

Name of the workspace to associate with the underlying Application

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DeleteAsset

$result = $client->deleteAsset([/* ... */]);
$promise = $client->deleteAssetAsync([/* ... */]);

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

You can't delete an asset that's associated to another asset. For more information, see DisassociateAssets.

Parameter Syntax

$result = $client->deleteAsset([
    'assetId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
]);

Parameter Details

Members
assetId
Required: Yes
Type: string

The ID of the asset to delete. 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
Type: 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.

Result Syntax

[
    'assetId' => '<string>',
    'assetStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
assetId
Type: string

The ID of the asset.

assetStatus
Required: Yes
Type: AssetStatus structure

The status of the asset, which contains a state (DELETING after successfully calling this operation) and any error message.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DeleteAssetModel

$result = $client->deleteAssetModel([/* ... */]);
$promise = $client->deleteAssetModelAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteAssetModel([
    'assetModelId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'ifMatch' => '<string>',
    'ifNoneMatch' => '<string>',
    'matchForVersionType' => 'LATEST|ACTIVE',
]);

Parameter Details

Members
assetModelId
Required: Yes
Type: string

The ID of the asset model to delete. 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
Type: 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.

ifMatch
Type: string

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

ifNoneMatch
Type: string

Accepts * to reject the delete request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

matchForVersionType
Type: string

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation.

Result Syntax

[
    'assetModelId' => '<string>',
    'assetModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|PROPAGATING|DELETING|FAILED',
    ],
]

Result Details

Members
assetModelId
Type: string

The ID of the asset model.

assetModelStatus
Required: Yes
Type: AssetModelStatus structure

The status of the asset model, which contains a state (DELETING after successfully calling this operation) and any error message.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

PreconditionFailedException:

The precondition in one or more of the request-header fields evaluated to FALSE.

DeleteAssetModelCompositeModel

$result = $client->deleteAssetModelCompositeModel([/* ... */]);
$promise = $client->deleteAssetModelCompositeModelAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteAssetModelCompositeModel([
    'assetModelCompositeModelId' => '<string>', // REQUIRED
    'assetModelId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'ifMatch' => '<string>',
    'ifNoneMatch' => '<string>',
    'matchForVersionType' => 'LATEST|ACTIVE',
]);

Parameter Details

Members
assetModelCompositeModelId
Required: Yes
Type: string

The ID of a composite model on this asset model.

assetModelId
Required: Yes
Type: string

The ID of the asset model, in UUID format.

clientToken
Type: 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.

ifMatch
Type: string

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

ifNoneMatch
Type: string

Accepts * to reject the delete request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

matchForVersionType
Type: string

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation.

Result Syntax

[
    'assetModelId' => '<string>',
    'assetModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|PROPAGATING|DELETING|FAILED',
    ],
]

Result Details

Members
assetModelId
Type: string

The ID of the asset model.

assetModelStatus
Required: Yes
Type: AssetModelStatus structure

Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

PreconditionFailedException:

The precondition in one or more of the request-header fields evaluated to FALSE.

DeleteAssetModelInterfaceRelationship

$result = $client->deleteAssetModelInterfaceRelationship([/* ... */]);
$promise = $client->deleteAssetModelInterfaceRelationshipAsync([/* ... */]);

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

Parameter Syntax

$result = $client->deleteAssetModelInterfaceRelationship([
    'assetModelId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'interfaceAssetModelId' => '<string>', // REQUIRED
]);

Parameter Details

Members
assetModelId
Required: Yes
Type: string

The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.

clientToken
Type: 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.

interfaceAssetModelId
Required: Yes
Type: string

The ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.

Result Syntax

[
    'assetModelArn' => '<string>',
    'assetModelId' => '<string>',
    'assetModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|PROPAGATING|DELETING|FAILED',
    ],
    'interfaceAssetModelId' => '<string>',
]

Result Details

Members
assetModelArn
Required: Yes
Type: string

The ARN of the asset model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

assetModelId
Required: Yes
Type: string

The ID of the asset model.

assetModelStatus
Required: Yes
Type: AssetModelStatus structure

Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.

interfaceAssetModelId
Required: Yes
Type: string

The ID of the interface asset model.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DeleteComputationModel

$result = $client->deleteComputationModel([/* ... */]);
$promise = $client->deleteComputationModelAsync([/* ... */]);

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

Parameter Syntax

$result = $client->deleteComputationModel([
    'clientToken' => '<string>',
    'computationModelId' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: 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.

computationModelId
Required: Yes
Type: string

The ID of the computation model.

Result Syntax

[
    'computationModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
computationModelStatus
Required: Yes
Type: ComputationModelStatus structure

The status of the computation model. It contains a state (DELETING after successfully calling this operation) and any error messages.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DeleteDashboard

$result = $client->deleteDashboard([/* ... */]);
$promise = $client->deleteDashboardAsync([/* ... */]);

Deletes a dashboard from IoT SiteWise Monitor.

Parameter Syntax

$result = $client->deleteDashboard([
    'clientToken' => '<string>',
    'dashboardId' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: 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.

dashboardId
Required: Yes
Type: string

The ID of the dashboard to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DeleteDataset

$result = $client->deleteDataset([/* ... */]);
$promise = $client->deleteDatasetAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteDataset([
    'clientToken' => '<string>',
    'datasetId' => '<string>', // REQUIRED
    'workspaceName' => '<string>',
]);

Parameter Details

Members
clientToken
Type: 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.

datasetId
Required: Yes
Type: string

The ID of the dataset.

workspaceName
Type: string

The name of the workspace that contains the dataset.

Result Syntax

[
    'datasetStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
datasetStatus
Required: Yes
Type: DatasetStatus structure

The status of the dataset. This contains the state and any error messages. State is DELETING after a successfull call to this API, and any associated error message.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DeleteGateway

$result = $client->deleteGateway([/* ... */]);
$promise = $client->deleteGatewayAsync([/* ... */]);

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

Parameter Syntax

$result = $client->deleteGateway([
    'gatewayId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The ID of the gateway to delete.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DeletePipeline

$result = $client->deletePipeline([/* ... */]);
$promise = $client->deletePipelineAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deletePipeline([
    'pipelineName' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
pipelineName
Required: Yes
Type: string

The name of the pipeline to delete.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'status' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
status
Required: Yes
Type: ResourceStatus structure

The current lifecycle status of the pipeline.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DeletePortal

$result = $client->deletePortal([/* ... */]);
$promise = $client->deletePortalAsync([/* ... */]);

Deletes a portal from IoT SiteWise Monitor.

Parameter Syntax

$result = $client->deletePortal([
    'clientToken' => '<string>',
    'portalId' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: 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.

portalId
Required: Yes
Type: string

The ID of the portal to delete.

Result Syntax

[
    'portalStatus' => [
        'error' => [
            'code' => 'INTERNAL_FAILURE|VALIDATION_ERROR|LIMIT_EXCEEDED',
            'message' => '<string>',
        ],
        'state' => 'CREATING|PENDING|UPDATING|DELETING|ACTIVE|FAILED',
    ],
]

Result Details

Members
portalStatus
Required: Yes
Type: PortalStatus structure

The status of the portal, which contains a state (DELETING after successfully calling this operation) and any error message.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DeleteProject

$result = $client->deleteProject([/* ... */]);
$promise = $client->deleteProjectAsync([/* ... */]);

Deletes a project from IoT SiteWise Monitor.

Parameter Syntax

$result = $client->deleteProject([
    'clientToken' => '<string>',
    'projectId' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: 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.

projectId
Required: Yes
Type: string

The ID of the project.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DeleteTask

$result = $client->deleteTask([/* ... */]);
$promise = $client->deleteTaskAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteTask([
    'taskName' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
taskName
Required: Yes
Type: string

The name of the task to delete.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'status' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
status
Required: Yes
Type: ResourceStatus structure

The current lifecycle status of the task.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DeleteTimeSeries

$result = $client->deleteTimeSeries([/* ... */]);
$promise = $client->deleteTimeSeriesAsync([/* ... */]);

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.

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 and propertyId that identifies the asset property.

Parameter Syntax

$result = $client->deleteTimeSeries([
    'alias' => '<string>',
    'assetId' => '<string>',
    'clientToken' => '<string>',
    'propertyId' => '<string>',
    'workspaceName' => '<string>',
]);

Parameter Details

Members
alias
Type: string

The alias that identifies the time series.

assetId
Type: 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.

clientToken
Type: 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.

propertyId
Type: 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.

workspaceName
Type: string

The name of the workspace.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DeleteWorkspace

$result = $client->deleteWorkspace([/* ... */]);
$promise = $client->deleteWorkspaceAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->deleteWorkspace([
    'clientToken' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure that the request is idempotent. If you retry a request that completed successfully using the same client token, the retry succeeds without performing any further actions.

workspaceName
Required: Yes
Type: string

The name of the workspace to delete.

Result Syntax

[
    'workspaceStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
workspaceStatus
Required: Yes
Type: WorkspaceStatus structure

The status of the workspace after the deletion request, which is DELETING when the operation returns.

Errors

AccessDeniedException:

Access is denied.

ResourceNotFoundException:

The requested resource can't be found.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

DescribeAccessPolicy

$result = $client->describeAccessPolicy([/* ... */]);
$promise = $client->describeAccessPolicyAsync([/* ... */]);

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

Parameter Syntax

$result = $client->describeAccessPolicy([
    'accessPolicyId' => '<string>', // REQUIRED
]);

Parameter Details

Members
accessPolicyId
Required: Yes
Type: string

The ID of the access policy.

Result Syntax

[
    'accessPolicyArn' => '<string>',
    'accessPolicyCreationDate' => <DateTime>,
    'accessPolicyId' => '<string>',
    'accessPolicyIdentity' => [
        'group' => [
            'id' => '<string>',
        ],
        'iamRole' => [
            'arn' => '<string>',
        ],
        'iamUser' => [
            'arn' => '<string>',
        ],
        'user' => [
            'id' => '<string>',
        ],
    ],
    'accessPolicyLastUpdateDate' => <DateTime>,
    'accessPolicyPermission' => 'ADMINISTRATOR|VIEWER',
    'accessPolicyResource' => [
        'portal' => [
            'id' => '<string>',
        ],
        'project' => [
            'id' => '<string>',
        ],
    ],
]

Result Details

Members
accessPolicyArn
Required: Yes
Type: string

The ARN of the access policy, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}

accessPolicyCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the access policy was created, in Unix epoch time.

accessPolicyId
Required: Yes
Type: string

The ID of the access policy.

accessPolicyIdentity
Required: Yes
Type: Identity structure

The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.

accessPolicyLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the access policy was last updated, in Unix epoch time.

accessPolicyPermission
Required: Yes
Type: string

The access policy permission. Note that a project ADMINISTRATOR is also known as a project owner.

accessPolicyResource
Required: Yes
Type: Resource structure

The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeAction

$result = $client->describeAction([/* ... */]);
$promise = $client->describeActionAsync([/* ... */]);

Retrieves information about an action.

Parameter Syntax

$result = $client->describeAction([
    'actionId' => '<string>', // REQUIRED
]);

Parameter Details

Members
actionId
Required: Yes
Type: string

The ID of the action.

Result Syntax

[
    'actionDefinitionId' => '<string>',
    'actionId' => '<string>',
    'actionPayload' => [
        'stringValue' => '<string>',
    ],
    'executionTime' => <DateTime>,
    'resolveTo' => [
        'assetId' => '<string>',
    ],
    'targetResource' => [
        'assetId' => '<string>',
        'computationModelId' => '<string>',
    ],
]

Result Details

Members
actionDefinitionId
Required: Yes
Type: string

The ID of the action definition.

actionId
Required: Yes
Type: string

The ID of the action.

actionPayload
Required: Yes
Type: ActionPayload structure

The JSON payload of the action.

executionTime
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the action was executed.

resolveTo
Type: ResolveTo structure

The detailed resource this action resolves to.

targetResource
Required: Yes
Type: TargetResource structure

The resource the action will be taken on.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeApplication

$result = $client->describeApplication([/* ... */]);
$promise = $client->describeApplicationAsync([/* ... */]);

Retrieves Application details based on the ID

Parameter Syntax

$result = $client->describeApplication([
    'id' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
id
Required: Yes
Type: string

ID of the Application

workspaceName
Required: Yes
Type: string

Name of the workspace to associate with the underlying Application

Result Syntax

[
    'arn' => '<string>',
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'dnsSubdomain' => '<string>',
    'id' => '<string>',
    'idcApplicationArn' => '<string>',
    'name' => '<string>',
    'status' => 'CREATING|ACTIVE|DELETING',
    'updatedAt' => <DateTime>,
    'workspaceName' => '<string>',
]

Result Details

Members
arn
Required: Yes
Type: string

ARN of the application

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the application was created

description
Type: string

Description of the application

dnsSubdomain
Required: Yes
Type: string

DNS subdomain for the application

id
Required: Yes
Type: string

Unique identifier of the application

idcApplicationArn
Required: Yes
Type: string

Identity Center Application ARN associated with this application

name
Required: Yes
Type: string

Name of the application

status
Required: Yes
Type: string

Current status of the application

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the application was last updated

workspaceName
Required: Yes
Type: string

Name of the workspace this application belongs to

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

DescribeAsset

$result = $client->describeAsset([/* ... */]);
$promise = $client->describeAssetAsync([/* ... */]);

Retrieves information about an asset.

Parameter Syntax

$result = $client->describeAsset([
    'assetId' => '<string>', // REQUIRED
    'excludeProperties' => true || false,
]);

Parameter Details

Members
assetId
Required: Yes
Type: string

The ID of the 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.

excludeProperties
Type: boolean

Whether or not to exclude asset properties from the response.

Result Syntax

[
    'assetArn' => '<string>',
    'assetCompositeModelSummaries' => [
        [
            'description' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => '<string>',
        ],
        // ...
    ],
    'assetCompositeModels' => [
        [
            'description' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'properties' => [
                [
                    'alias' => '<string>',
                    'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
                    'dataTypeSpec' => '<string>',
                    'externalId' => '<string>',
                    'id' => '<string>',
                    'name' => '<string>',
                    'notification' => [
                        'state' => 'ENABLED|DISABLED',
                        'topic' => '<string>',
                    ],
                    'path' => [
                        [
                            'id' => '<string>',
                            'name' => '<string>',
                        ],
                        // ...
                    ],
                    'unit' => '<string>',
                ],
                // ...
            ],
            'type' => '<string>',
        ],
        // ...
    ],
    'assetCreationDate' => <DateTime>,
    'assetDescription' => '<string>',
    'assetExternalId' => '<string>',
    'assetHierarchies' => [
        [
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
        ],
        // ...
    ],
    'assetId' => '<string>',
    'assetLastUpdateDate' => <DateTime>,
    'assetModelId' => '<string>',
    'assetName' => '<string>',
    'assetProperties' => [
        [
            'alias' => '<string>',
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
            'dataTypeSpec' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'notification' => [
                'state' => 'ENABLED|DISABLED',
                'topic' => '<string>',
            ],
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'unit' => '<string>',
        ],
        // ...
    ],
    'assetStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
assetArn
Required: Yes
Type: string

The ARN of the asset, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}

assetCompositeModelSummaries
Type: Array of AssetCompositeModelSummary structures

The list of the immediate child custom composite model summaries for the asset.

assetCompositeModels
Type: Array of AssetCompositeModel structures

The composite models for the asset.

assetCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the asset was created, in Unix epoch time.

assetDescription
Type: string

A description for the asset.

assetExternalId
Type: string

The external ID of the asset, if any.

assetHierarchies
Required: Yes
Type: Array of AssetHierarchy structures

A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.

assetId
Required: Yes
Type: string

The ID of the asset, in UUID format.

assetLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the asset was last updated, in Unix epoch time.

assetModelId
Required: Yes
Type: string

The ID of the asset model that was used to create the asset.

assetName
Required: Yes
Type: string

The name of the asset.

assetProperties
Required: Yes
Type: Array of AssetProperty structures

The list of asset properties for the asset.

This object doesn't include properties that you define in composite models. You can find composite model properties in the assetCompositeModels object.

assetStatus
Required: Yes
Type: AssetStatus structure

The current status of the asset, which contains a state and any error message.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeAssetCompositeModel

$result = $client->describeAssetCompositeModel([/* ... */]);
$promise = $client->describeAssetCompositeModelAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->describeAssetCompositeModel([
    'assetCompositeModelId' => '<string>', // REQUIRED
    'assetId' => '<string>', // REQUIRED
]);

Parameter Details

Members
assetCompositeModelId
Required: Yes
Type: string

The ID of a composite model on this 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.

assetId
Required: Yes
Type: string

The ID of the 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.

Result Syntax

[
    'actionDefinitions' => [
        [
            'actionDefinitionId' => '<string>',
            'actionName' => '<string>',
            'actionType' => '<string>',
        ],
        // ...
    ],
    'assetCompositeModelDescription' => '<string>',
    'assetCompositeModelExternalId' => '<string>',
    'assetCompositeModelId' => '<string>',
    'assetCompositeModelName' => '<string>',
    'assetCompositeModelPath' => [
        [
            'id' => '<string>',
            'name' => '<string>',
        ],
        // ...
    ],
    'assetCompositeModelProperties' => [
        [
            'alias' => '<string>',
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
            'dataTypeSpec' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'notification' => [
                'state' => 'ENABLED|DISABLED',
                'topic' => '<string>',
            ],
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'unit' => '<string>',
        ],
        // ...
    ],
    'assetCompositeModelSummaries' => [
        [
            'description' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => '<string>',
        ],
        // ...
    ],
    'assetCompositeModelType' => '<string>',
    'assetId' => '<string>',
]

Result Details

Members
actionDefinitions
Type: Array of ActionDefinition structures

The available actions for a composite model on this asset.

assetCompositeModelDescription
Required: Yes
Type: string

A description for the composite model.

assetCompositeModelExternalId
Type: string

An external ID to assign to the asset model.

If the composite model is a component-based composite model, or one nested inside a component model, you can only set the external ID using UpdateAssetModelCompositeModel and specifying the derived ID of the model or property from the created model it's a part of.

assetCompositeModelId
Required: Yes
Type: string

The ID of a composite model on this asset.

assetCompositeModelName
Required: Yes
Type: string

The unique, friendly name for the composite model.

assetCompositeModelPath
Required: Yes
Type: Array of AssetCompositeModelPathSegment structures

The path to the composite model listing the parent composite models.

assetCompositeModelProperties
Required: Yes
Type: Array of AssetProperty structures

The property definitions of the composite model that was used to create the asset.

assetCompositeModelSummaries
Required: Yes
Type: Array of AssetCompositeModelSummary structures

The list of composite model summaries.

assetCompositeModelType
Required: Yes
Type: string

The composite model type. Valid values are AWS/ALARM, CUSTOM, or AWS/L4E_ANOMALY.

assetId
Required: Yes
Type: string

The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise APIs.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeAssetModel

$result = $client->describeAssetModel([/* ... */]);
$promise = $client->describeAssetModelAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->describeAssetModel([
    'assetModelId' => '<string>', // REQUIRED
    'assetModelVersion' => '<string>',
    'excludeProperties' => true || false,
]);

Parameter Details

Members
assetModelId
Required: Yes
Type: string

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

assetModelVersion
Type: string

The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

excludeProperties
Type: boolean

Whether or not to exclude asset model properties from the response.

Result Syntax

[
    'assetModelArn' => '<string>',
    'assetModelCompositeModelSummaries' => [
        [
            'description' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => '<string>',
        ],
        // ...
    ],
    'assetModelCompositeModels' => [
        [
            'description' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'properties' => [
                [
                    'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
                    'dataTypeSpec' => '<string>',
                    'externalId' => '<string>',
                    'id' => '<string>',
                    'name' => '<string>',
                    'path' => [
                        [
                            'id' => '<string>',
                            'name' => '<string>',
                        ],
                        // ...
                    ],
                    'type' => [
                        'attribute' => [
                            'defaultValue' => '<string>',
                        ],
                        'measurement' => [
                            'processingConfig' => [
                                'forwardingConfig' => [
                                    'state' => 'DISABLED|ENABLED',
                                ],
                            ],
                        ],
                        'metric' => [
                            'expression' => '<string>',
                            'processingConfig' => [
                                'computeLocation' => 'EDGE|CLOUD',
                            ],
                            'variables' => [
                                [
                                    'name' => '<string>',
                                    'value' => [
                                        'hierarchyId' => '<string>',
                                        'propertyId' => '<string>',
                                        'propertyPath' => [
                                            [
                                                'id' => '<string>',
                                                'name' => '<string>',
                                            ],
                                            // ...
                                        ],
                                    ],
                                ],
                                // ...
                            ],
                            'window' => [
                                'tumbling' => [
                                    'interval' => '<string>',
                                    'offset' => '<string>',
                                ],
                            ],
                        ],
                        'transform' => [
                            'expression' => '<string>',
                            'processingConfig' => [
                                'computeLocation' => 'EDGE|CLOUD',
                                'forwardingConfig' => [
                                    'state' => 'DISABLED|ENABLED',
                                ],
                            ],
                            'variables' => [
                                [
                                    'name' => '<string>',
                                    'value' => [
                                        'hierarchyId' => '<string>',
                                        'propertyId' => '<string>',
                                        'propertyPath' => [
                                            [
                                                'id' => '<string>',
                                                'name' => '<string>',
                                            ],
                                            // ...
                                        ],
                                    ],
                                ],
                                // ...
                            ],
                        ],
                    ],
                    'unit' => '<string>',
                ],
                // ...
            ],
            'type' => '<string>',
        ],
        // ...
    ],
    'assetModelCreationDate' => <DateTime>,
    'assetModelDescription' => '<string>',
    'assetModelExternalId' => '<string>',
    'assetModelHierarchies' => [
        [
            'childAssetModelId' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
        ],
        // ...
    ],
    'assetModelId' => '<string>',
    'assetModelLastUpdateDate' => <DateTime>,
    'assetModelName' => '<string>',
    'assetModelProperties' => [
        [
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
            'dataTypeSpec' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => [
                'attribute' => [
                    'defaultValue' => '<string>',
                ],
                'measurement' => [
                    'processingConfig' => [
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED',
                        ],
                    ],
                ],
                'metric' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD',
                    ],
                    'variables' => [
                        [
                            'name' => '<string>',
                            'value' => [
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'window' => [
                        'tumbling' => [
                            'interval' => '<string>',
                            'offset' => '<string>',
                        ],
                    ],
                ],
                'transform' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD',
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED',
                        ],
                    ],
                    'variables' => [
                        [
                            'name' => '<string>',
                            'value' => [
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                ],
            ],
            'unit' => '<string>',
        ],
        // ...
    ],
    'assetModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|PROPAGATING|DELETING|FAILED',
    ],
    'assetModelType' => 'ASSET_MODEL|COMPONENT_MODEL|INTERFACE',
    'assetModelVersion' => '<string>',
    'eTag' => '<string>',
    'interfaceDetails' => [
        [
            'id' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
assetModelArn
Required: Yes
Type: string

The ARN of the asset model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

assetModelCompositeModelSummaries
Type: Array of AssetModelCompositeModelSummary structures

The list of the immediate child custom composite model summaries for the asset model.

assetModelCompositeModels
Type: Array of AssetModelCompositeModel structures

The list of built-in composite models for the asset model, such as those with those of type AWS/ALARMS.

assetModelCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the asset model was created, in Unix epoch time.

assetModelDescription
Required: Yes
Type: string

The asset model's description.

assetModelExternalId
Type: string

The external ID of the asset model, if any.

assetModelHierarchies
Required: Yes
Type: Array of AssetModelHierarchy structures

A list of asset model hierarchies that each contain a childAssetModelId and a hierarchyId (named id). A hierarchy specifies allowed parent/child asset relationships for an asset model.

assetModelId
Required: Yes
Type: string

The ID of the asset model, in UUID format.

assetModelLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the asset model was last updated, in Unix epoch time.

assetModelName
Required: Yes
Type: string

The name of the asset model.

assetModelProperties
Required: Yes
Type: Array of AssetModelProperty structures

The list of asset properties for the asset model.

This object doesn't include properties that you define in composite models. You can find composite model properties in the assetModelCompositeModels object.

assetModelStatus
Required: Yes
Type: AssetModelStatus structure

The current status of the asset model, which contains a state and any error message.

assetModelType
Type: string

The type of asset model.

  • ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.

  • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.

assetModelVersion
Type: string

The version of the asset model. See Asset model versions in the IoT SiteWise User Guide.

eTag
Type: string

The entity tag (ETag) is a hash of the retrieved version of the asset model. It's used to make concurrent updates safely to the resource. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

interfaceDetails
Type: Array of InterfaceRelationship structures

A list of interface details that describe the interfaces implemented by this asset model, including interface asset model IDs and property mappings.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeAssetModelCompositeModel

$result = $client->describeAssetModelCompositeModel([/* ... */]);
$promise = $client->describeAssetModelCompositeModelAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->describeAssetModelCompositeModel([
    'assetModelCompositeModelId' => '<string>', // REQUIRED
    'assetModelId' => '<string>', // REQUIRED
    'assetModelVersion' => '<string>',
]);

Parameter Details

Members
assetModelCompositeModelId
Required: Yes
Type: string

The ID of a composite model on this asset 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.

assetModelId
Required: Yes
Type: string

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

assetModelVersion
Type: string

The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

Result Syntax

[
    'actionDefinitions' => [
        [
            'actionDefinitionId' => '<string>',
            'actionName' => '<string>',
            'actionType' => '<string>',
        ],
        // ...
    ],
    'assetModelCompositeModelDescription' => '<string>',
    'assetModelCompositeModelExternalId' => '<string>',
    'assetModelCompositeModelId' => '<string>',
    'assetModelCompositeModelName' => '<string>',
    'assetModelCompositeModelPath' => [
        [
            'id' => '<string>',
            'name' => '<string>',
        ],
        // ...
    ],
    'assetModelCompositeModelProperties' => [
        [
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
            'dataTypeSpec' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => [
                'attribute' => [
                    'defaultValue' => '<string>',
                ],
                'measurement' => [
                    'processingConfig' => [
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED',
                        ],
                    ],
                ],
                'metric' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD',
                    ],
                    'variables' => [
                        [
                            'name' => '<string>',
                            'value' => [
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'window' => [
                        'tumbling' => [
                            'interval' => '<string>',
                            'offset' => '<string>',
                        ],
                    ],
                ],
                'transform' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD',
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED',
                        ],
                    ],
                    'variables' => [
                        [
                            'name' => '<string>',
                            'value' => [
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                ],
            ],
            'unit' => '<string>',
        ],
        // ...
    ],
    'assetModelCompositeModelSummaries' => [
        [
            'description' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => '<string>',
        ],
        // ...
    ],
    'assetModelCompositeModelType' => '<string>',
    'assetModelId' => '<string>',
    'compositionDetails' => [
        'compositionRelationship' => [
            [
                'id' => '<string>',
            ],
            // ...
        ],
    ],
]

Result Details

Members
actionDefinitions
Type: Array of ActionDefinition structures

The available actions for a composite model on this asset model.

assetModelCompositeModelDescription
Required: Yes
Type: string

The description for the composite model.

assetModelCompositeModelExternalId
Type: string

The external ID of a composite model on this asset model.

assetModelCompositeModelId
Required: Yes
Type: string

The ID of a composite model on this asset model.

assetModelCompositeModelName
Required: Yes
Type: string

The unique, friendly name for the composite model.

assetModelCompositeModelPath
Required: Yes
Type: Array of AssetModelCompositeModelPathSegment structures

The path to the composite model listing the parent composite models.

assetModelCompositeModelProperties
Required: Yes
Type: Array of AssetModelProperty structures

The property definitions of the composite model.

assetModelCompositeModelSummaries
Required: Yes
Type: Array of AssetModelCompositeModelSummary structures

The list of composite model summaries for the composite model.

assetModelCompositeModelType
Required: Yes
Type: string

The composite model type. Valid values are AWS/ALARM, CUSTOM, or AWS/L4E_ANOMALY.

assetModelId
Required: Yes
Type: string

The ID of the asset model, in UUID format.

compositionDetails
Type: CompositionDetails structure

Metadata for the composition relationship established by using composedAssetModelId in CreateAssetModelCompositeModel . For instance, an array detailing the path of the composition relationship for this composite model.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeAssetModelInterfaceRelationship

$result = $client->describeAssetModelInterfaceRelationship([/* ... */]);
$promise = $client->describeAssetModelInterfaceRelationshipAsync([/* ... */]);

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

Parameter Syntax

$result = $client->describeAssetModelInterfaceRelationship([
    'assetModelId' => '<string>', // REQUIRED
    'interfaceAssetModelId' => '<string>', // REQUIRED
]);

Parameter Details

Members
assetModelId
Required: Yes
Type: string

The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.

interfaceAssetModelId
Required: Yes
Type: string

The ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.

Result Syntax

[
    'assetModelId' => '<string>',
    'hierarchyMappings' => [
        [
            'assetModelHierarchyId' => '<string>',
            'interfaceAssetModelHierarchyId' => '<string>',
        ],
        // ...
    ],
    'interfaceAssetModelId' => '<string>',
    'propertyMappings' => [
        [
            'assetModelPropertyId' => '<string>',
            'interfaceAssetModelPropertyId' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
assetModelId
Required: Yes
Type: string

The ID of the asset model.

hierarchyMappings
Required: Yes
Type: Array of HierarchyMapping structures

A list of hierarchy mappings between the interface asset model and the asset model where the interface is applied.

interfaceAssetModelId
Required: Yes
Type: string

The ID of the interface asset model.

propertyMappings
Required: Yes
Type: Array of PropertyMapping structures

A list of property mappings between the interface asset model and the asset model where the interface is applied.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeAssetProperty

$result = $client->describeAssetProperty([/* ... */]);
$promise = $client->describeAssetPropertyAsync([/* ... */]);

Retrieves information about an asset property.

When you call this operation for an attribute property, this response includes the default attribute value that you define in the asset model. If you update the default value in the model, this operation's response includes the new default value.

This operation doesn't return the value of the asset property. To get the value of an asset property, use GetAssetPropertyValue.

Parameter Syntax

$result = $client->describeAssetProperty([
    'assetId' => '<string>', // REQUIRED
    'propertyId' => '<string>', // REQUIRED
]);

Parameter Details

Members
assetId
Required: Yes
Type: string

The ID of the 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.

propertyId
Required: Yes
Type: 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.

Result Syntax

[
    'assetExternalId' => '<string>',
    'assetId' => '<string>',
    'assetModelId' => '<string>',
    'assetName' => '<string>',
    'assetProperty' => [
        'alias' => '<string>',
        'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
        'externalId' => '<string>',
        'id' => '<string>',
        'name' => '<string>',
        'notification' => [
            'state' => 'ENABLED|DISABLED',
            'topic' => '<string>',
        ],
        'path' => [
            [
                'id' => '<string>',
                'name' => '<string>',
            ],
            // ...
        ],
        'type' => [
            'attribute' => [
                'defaultValue' => '<string>',
            ],
            'measurement' => [
                'processingConfig' => [
                    'forwardingConfig' => [
                        'state' => 'DISABLED|ENABLED',
                    ],
                ],
            ],
            'metric' => [
                'expression' => '<string>',
                'processingConfig' => [
                    'computeLocation' => 'EDGE|CLOUD',
                ],
                'variables' => [
                    [
                        'name' => '<string>',
                        'value' => [
                            'hierarchyId' => '<string>',
                            'propertyId' => '<string>',
                            'propertyPath' => [
                                [
                                    'id' => '<string>',
                                    'name' => '<string>',
                                ],
                                // ...
                            ],
                        ],
                    ],
                    // ...
                ],
                'window' => [
                    'tumbling' => [
                        'interval' => '<string>',
                        'offset' => '<string>',
                    ],
                ],
            ],
            'transform' => [
                'expression' => '<string>',
                'processingConfig' => [
                    'computeLocation' => 'EDGE|CLOUD',
                    'forwardingConfig' => [
                        'state' => 'DISABLED|ENABLED',
                    ],
                ],
                'variables' => [
                    [
                        'name' => '<string>',
                        'value' => [
                            'hierarchyId' => '<string>',
                            'propertyId' => '<string>',
                            'propertyPath' => [
                                [
                                    'id' => '<string>',
                                    'name' => '<string>',
                                ],
                                // ...
                            ],
                        ],
                    ],
                    // ...
                ],
            ],
        ],
        'unit' => '<string>',
    ],
    'compositeModel' => [
        'assetProperty' => [
            'alias' => '<string>',
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'notification' => [
                'state' => 'ENABLED|DISABLED',
                'topic' => '<string>',
            ],
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => [
                'attribute' => [
                    'defaultValue' => '<string>',
                ],
                'measurement' => [
                    'processingConfig' => [
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED',
                        ],
                    ],
                ],
                'metric' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD',
                    ],
                    'variables' => [
                        [
                            'name' => '<string>',
                            'value' => [
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'window' => [
                        'tumbling' => [
                            'interval' => '<string>',
                            'offset' => '<string>',
                        ],
                    ],
                ],
                'transform' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD',
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED',
                        ],
                    ],
                    'variables' => [
                        [
                            'name' => '<string>',
                            'value' => [
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                ],
            ],
            'unit' => '<string>',
        ],
        'externalId' => '<string>',
        'id' => '<string>',
        'name' => '<string>',
        'type' => '<string>',
    ],
]

Result Details

Members
assetExternalId
Type: string

The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.

assetId
Required: Yes
Type: string

The ID of the asset, in UUID format.

assetModelId
Required: Yes
Type: string

The ID of the asset model, in UUID format.

assetName
Required: Yes
Type: string

The name of the asset.

assetProperty
Type: Property structure

The asset property's definition, alias, and notification state.

This response includes this object for normal asset properties. If you describe an asset property in a composite model, this response includes the asset property information in compositeModel.

compositeModel
Type: CompositeModelProperty structure

The composite model that declares this asset property, if this asset property exists in a composite model.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeBulkImportJob

$result = $client->describeBulkImportJob([/* ... */]);
$promise = $client->describeBulkImportJobAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->describeBulkImportJob([
    'jobId' => '<string>', // REQUIRED
    'workspaceName' => '<string>',
]);

Parameter Details

Members
jobId
Required: Yes
Type: string

The ID of the job.

workspaceName
Type: string

The name of the workspace.

Result Syntax

[
    'adaptiveIngestion' => true || false,
    'datasetId' => '<string>',
    'deleteFilesAfterImport' => true || false,
    'errorReportLocation' => [
        'bucket' => '<string>',
        'prefix' => '<string>',
    ],
    'files' => [
        [
            'alias' => '<string>',
            'bucket' => '<string>',
            'fileFormat' => [
                'annotation' => [
                ],
                'csv' => [
                    'columnNames' => ['<string>', ...],
                ],
                'mp4' => [
                ],
                'parquet' => [
                ],
            ],
            'key' => '<string>',
            'startTime' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'versionId' => '<string>',
        ],
        // ...
    ],
    'jobConfiguration' => [
        'fileFormat' => [
            'annotation' => [
            ],
            'csv' => [
                'columnNames' => ['<string>', ...],
            ],
            'mp4' => [
            ],
            'parquet' => [
            ],
        ],
    ],
    'jobCreationDate' => <DateTime>,
    'jobId' => '<string>',
    'jobLastUpdateDate' => <DateTime>,
    'jobName' => '<string>',
    'jobRoleArn' => '<string>',
    'jobStatus' => 'PENDING|CANCELLED|RUNNING|COMPLETED|FAILED|COMPLETED_WITH_FAILURES',
    'workspaceName' => '<string>',
]

Result Details

Members
adaptiveIngestion
Type: boolean

If set to true, ingest new data into IoT SiteWise storage. Measurements with notifications, metrics and transforms are computed. If set to false, historical data is ingested into IoT SiteWise as is.

datasetId
Type: string

The ID of the dataset.

deleteFilesAfterImport
Type: boolean

If set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.

errorReportLocation
Required: Yes
Type: ErrorReportLocation structure

The Amazon S3 destination where errors associated with the job creation request are saved.

files
Required: Yes
Type: Array of File structures

The files in the specified Amazon S3 bucket that contain your data. You can specify up to 100 files for each bulk import job. Each file supports the following size limits:

  • Parquet files – Up to 256 MiB.

  • Other file formats – Up to 5 GiB.

jobConfiguration
Type: JobConfiguration structure

Contains the configuration information of a job, such as the file format used to save data in Amazon S3.

jobCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the job was created, in Unix epoch TIME.

jobId
Required: Yes
Type: string

The ID of the job.

jobLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the job was last updated, in Unix epoch time.

jobName
Required: Yes
Type: string

The unique name that helps identify the job request.

jobRoleArn
Required: Yes
Type: string

The ARN of the IAM role that allows IoT SiteWise to read Amazon S3 data.

jobStatus
Required: Yes
Type: string

The status of the bulk import job can be one of following values:

  • PENDING – IoT SiteWise is waiting for the current bulk import job to finish.

  • CANCELLED – The bulk import job has been canceled.

  • RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.

  • COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.

  • FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

  • COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

workspaceName
Type: string

The name of the workspace.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeComputationModel

$result = $client->describeComputationModel([/* ... */]);
$promise = $client->describeComputationModelAsync([/* ... */]);

Retrieves information about a computation model.

Parameter Syntax

$result = $client->describeComputationModel([
    'computationModelId' => '<string>', // REQUIRED
    'computationModelVersion' => '<string>',
]);

Parameter Details

Members
computationModelId
Required: Yes
Type: string

The ID of the computation model.

computationModelVersion
Type: string

The version of the computation model.

Result Syntax

[
    'actionDefinitions' => [
        [
            'actionDefinitionId' => '<string>',
            'actionName' => '<string>',
            'actionType' => '<string>',
        ],
        // ...
    ],
    'computationModelArn' => '<string>',
    'computationModelConfiguration' => [
        'anomalyDetection' => [
            'inputProperties' => '<string>',
            'resultProperty' => '<string>',
        ],
    ],
    'computationModelCreationDate' => <DateTime>,
    'computationModelDataBinding' => [
        '<ComputationModelDataBindingVariable>' => [
            'assetModelProperty' => [
                'assetModelId' => '<string>',
                'propertyId' => '<string>',
            ],
            'assetProperty' => [
                'assetId' => '<string>',
                'propertyId' => '<string>',
            ],
            'list' => [
                [...], // RECURSIVE
                // ...
            ],
        ],
        // ...
    ],
    'computationModelDescription' => '<string>',
    'computationModelId' => '<string>',
    'computationModelLastUpdateDate' => <DateTime>,
    'computationModelName' => '<string>',
    'computationModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
    'computationModelVersion' => '<string>',
]

Result Details

Members
actionDefinitions
Required: Yes
Type: Array of ActionDefinition structures

The available actions for this computation model.

computationModelArn
Required: Yes
Type: string

The ARN of the computation model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}

computationModelConfiguration
Required: Yes
Type: ComputationModelConfiguration structure

The configuration for the computation model.

computationModelCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The model creation date, in Unix epoch time.

computationModelDataBinding
Required: Yes
Type: Associative array of custom strings keys (ComputationModelDataBindingVariable) to ComputationModelDataBindingValue structures

The data binding for the computation model. Key is a variable name defined in configuration. Value is a ComputationModelDataBindingValue referenced by the variable.

computationModelDescription
Type: string

The description of the computation model.

computationModelId
Required: Yes
Type: string

The ID of the computation model.

computationModelLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the model was last updated, in Unix epoch time.

computationModelName
Required: Yes
Type: string

The name of the computation model.

computationModelStatus
Required: Yes
Type: ComputationModelStatus structure

The current status of the asset model, which contains a state and an error message if any.

computationModelVersion
Required: Yes
Type: string

The version of the computation model.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeComputationModelExecutionSummary

$result = $client->describeComputationModelExecutionSummary([/* ... */]);
$promise = $client->describeComputationModelExecutionSummaryAsync([/* ... */]);

Retrieves information about the execution summary of a computation model.

Parameter Syntax

$result = $client->describeComputationModelExecutionSummary([
    'computationModelId' => '<string>', // REQUIRED
    'resolveToResourceId' => '<string>',
    'resolveToResourceType' => 'ASSET',
]);

Parameter Details

Members
computationModelId
Required: Yes
Type: string

The ID of the computation model.

resolveToResourceId
Type: string

The ID of the resolved resource.

resolveToResourceType
Type: string

The type of the resolved resource.

Result Syntax

[
    'computationModelExecutionSummary' => ['<string>', ...],
    'computationModelId' => '<string>',
    'resolveTo' => [
        'assetId' => '<string>',
    ],
]

Result Details

Members
computationModelExecutionSummary
Required: Yes
Type: Associative array of custom strings keys (ComputationModelExecutionSummaryKey) to strings

Contains the execution summary of the computation model.

computationModelId
Required: Yes
Type: string

The ID of the computation model.

resolveTo
Type: ResolveTo structure

The detailed resource this execution summary resolves to.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeDashboard

$result = $client->describeDashboard([/* ... */]);
$promise = $client->describeDashboardAsync([/* ... */]);

Retrieves information about a dashboard.

Parameter Syntax

$result = $client->describeDashboard([
    'dashboardId' => '<string>', // REQUIRED
]);

Parameter Details

Members
dashboardId
Required: Yes
Type: string

The ID of the dashboard.

Result Syntax

[
    'dashboardArn' => '<string>',
    'dashboardCreationDate' => <DateTime>,
    'dashboardDefinition' => '<string>',
    'dashboardDescription' => '<string>',
    'dashboardId' => '<string>',
    'dashboardLastUpdateDate' => <DateTime>,
    'dashboardName' => '<string>',
    'projectId' => '<string>',
]

Result Details

Members
dashboardArn
Required: Yes
Type: string

The ARN of the dashboard, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:dashboard/${DashboardId}

dashboardCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the dashboard was created, in Unix epoch time.

dashboardDefinition
Required: Yes
Type: string

The dashboard's definition JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.

dashboardDescription
Type: string

The dashboard's description.

dashboardId
Required: Yes
Type: string

The ID of the dashboard.

dashboardLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the dashboard was last updated, in Unix epoch time.

dashboardName
Required: Yes
Type: string

The name of the dashboard.

projectId
Required: Yes
Type: string

The ID of the project that the dashboard is in.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeDataset

$result = $client->describeDataset([/* ... */]);
$promise = $client->describeDatasetAsync([/* ... */]);

Retrieves information about a dataset.

Parameter Syntax

$result = $client->describeDataset([
    'datasetId' => '<string>', // REQUIRED
    'datasetVersion' => '<string>',
    'workspaceName' => '<string>',
]);

Parameter Details

Members
datasetId
Required: Yes
Type: string

The ID of the dataset.

datasetVersion
Type: string

The version of the dataset.

workspaceName
Type: string

The name of the workspace that contains the dataset.

Result Syntax

[
    'datasetArn' => '<string>',
    'datasetConfig' => [
        'session' => [
            'sessionEndTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'sessionStartTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
        ],
    ],
    'datasetCreationDate' => <DateTime>,
    'datasetDescription' => '<string>',
    'datasetId' => '<string>',
    'datasetLastUpdateDate' => <DateTime>,
    'datasetName' => '<string>',
    'datasetSource' => [
        'sourceDetail' => [
            'kendra' => [
                'knowledgeBaseArn' => '<string>',
                'roleArn' => '<string>',
            ],
        ],
        'sourceFormat' => 'KNOWLEDGE_BASE|TIMESERIES',
        'sourceType' => 'KENDRA|SITEWISE',
    ],
    'datasetStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
    'datasetType' => 'SESSION|CURATED|EXTERNAL',
    'datasetVersion' => '<string>',
    'enrichmentStatus' => [
        'video' => [
            'lastEnrichedAt' => <DateTime>,
            'status' => 'FULLY_ENRICHED|PARTIALLY_ENRICHED|NOT_ENRICHED',
        ],
    ],
    'metadata' => ['<string>', ...],
    'workspaceName' => '<string>',
]

Result Details

Members
datasetArn
Required: Yes
Type: string

The ARN of the dataset. The format is arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.

datasetConfig
Type: DatasetConfig structure

The configuration for the dataset.

datasetCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The dataset creation date, in Unix epoch time.

datasetDescription
Required: Yes
Type: string

A description about the dataset, and its functionality.

datasetId
Required: Yes
Type: string

The ID of the dataset.

datasetLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the dataset was last updated, in Unix epoch time.

datasetName
Required: Yes
Type: string

The name of the dataset.

datasetSource
Required: Yes
Type: DatasetSource structure

The data source for the dataset.

datasetStatus
Required: Yes
Type: DatasetStatus structure

The status of the dataset. This contains the state and any error messages. State is CREATING after a successfull call to this API, and any associated error message. The state is ACTIVE when ready to use.

datasetType
Type: string

The type of dataset: a session dataset, a curated dataset, or a connection to an external datasource.

datasetVersion
Type: string

The version of the dataset.

enrichmentStatus
Type: DatasetEnrichment structure

The enrichment status of the dataset.

metadata
Type: Associative array of custom strings keys (MetadataKey) to strings

The metadata for the dataset.

workspaceName
Type: string

The name of the workspace that contains the dataset.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeDatasetExportJob

$result = $client->describeDatasetExportJob([/* ... */]);
$promise = $client->describeDatasetExportJobAsync([/* ... */]);

Retrieves information about a dataset export job.

Parameter Syntax

$result = $client->describeDatasetExportJob([
    'jobId' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
jobId
Required: Yes
Type: string

The unique identifier for the dataset export job.

workspaceName
Required: Yes
Type: string

The name of the workspace that contains the dataset export job.

Result Syntax

[
    'completedAt' => <DateTime>,
    'destinationS3Uri' => '<string>',
    'errorReportLocation' => [
        's3Uri' => '<string>',
    ],
    'input' => [
        'dataset' => [
            'datasetId' => '<string>',
            'exportDataTypes' => ['<string>', ...],
            'trimSettings' => [
                'endTime' => [
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>,
                ],
                'startTime' => [
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>,
                ],
            ],
        ],
        'timeseries' => [
            [
                'formatSettings' => [
                    'framesPerSecond' => <integer>,
                    'heightInPixels' => <integer>,
                    'widthInPixels' => <integer>,
                ],
                'propertyAlias' => '<string>',
                'timeSeriesId' => '<string>',
                'trimSettings' => [
                    'endTime' => [
                        'offsetInNanos' => <integer>,
                        'timeInSeconds' => <integer>,
                    ],
                    'startTime' => [
                        'offsetInNanos' => <integer>,
                        'timeInSeconds' => <integer>,
                    ],
                ],
            ],
            // ...
        ],
    ],
    'jobId' => '<string>',
    'startedAt' => <DateTime>,
    'status' => 'SUBMITTED|RUNNING|COMPLETED|COMPLETED_WITH_ERRORS|FAILED',
    'workspaceName' => '<string>',
]

Result Details

Members
completedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the job completed, or null if the job is still running.

destinationS3Uri
Required: Yes
Type: string

The S3 URI where output clips are written.

errorReportLocation
Required: Yes
Type: ExportErrorReportLocation structure

The location where the error report will be written on failure.

input
Required: Yes
Type: ProcessingInput structure

The processing input that was provided in the CreateDatasetExportJob request.

jobId
Required: Yes
Type: string

The unique identifier for the dataset export job.

startedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The timestamp when the job started processing.

status
Required: Yes
Type: string

The current status of the dataset export job.

workspaceName
Required: Yes
Type: string

The name of the workspace that contains the dataset export job.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeDefaultEncryptionConfiguration

$result = $client->describeDefaultEncryptionConfiguration([/* ... */]);
$promise = $client->describeDefaultEncryptionConfigurationAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->describeDefaultEncryptionConfiguration([
]);

Parameter Details

Members

Result Syntax

[
    'configurationStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'ACTIVE|UPDATE_IN_PROGRESS|UPDATE_FAILED',
    ],
    'encryptionType' => 'SITEWISE_DEFAULT_ENCRYPTION|KMS_BASED_ENCRYPTION',
    'kmsKeyArn' => '<string>',
]

Result Details

Members
configurationStatus
Required: Yes
Type: ConfigurationStatus structure

The status of the account configuration. This contains the ConfigurationState. If there's an error, it also contains the ErrorDetails.

encryptionType
Required: Yes
Type: string

The type of encryption used for the encryption configuration.

kmsKeyArn
Type: string

The key ARN of the customer managed key used for KMS encryption if you use KMS_BASED_ENCRYPTION.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeEnrichmentJob

$result = $client->describeEnrichmentJob([/* ... */]);
$promise = $client->describeEnrichmentJobAsync([/* ... */]);

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

Use Cases

  • Monitor job progress by checking status updates with DescribeEnrichmentJob
  • Retrieve the complete job configuration submitted during creation
  • Debug failed jobs by examining the failureMessage field
  • Track job lifecycle with creation, update, completion, and cancellation timestamps

Status Monitoring

Jobs progress through statuses: PENDING → RUNNING → terminal state

Terminal states:

  • COMPLETED: Job finished successfully; query IoT SiteWise for semantic search results
  • FAILED: Job encountered an error; check failureMessage for details
  • TIMED_OUT: Job exceeded maximum processing time
  • CANCELLED: Job was cancelled via CancelEnrichmentJob

Response Fields

The response includes:

  • Current job status and type
  • Full job configuration as originally submitted
  • Lifecycle timestamps (created, updated, completed, cancelled)
  • Failure details if status is FAILED

Parameter Syntax

$result = $client->describeEnrichmentJob([
    'jobId' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
jobId
Required: Yes
Type: string

The unique identifier of the enrichment job to retrieve. This is the jobId returned by CreateEnrichmentJob.

workspaceName
Required: Yes
Type: string

The name of the IoT SiteWise workspace containing the enrichment job.

Result Syntax

[
    'cancelledAt' => <DateTime>,
    'completedAt' => <DateTime>,
    'createdAt' => <DateTime>,
    'failureMessage' => '<string>',
    'jobConfiguration' => [
        'eventDetection' => [
            'datasetId' => '<string>',
            'propertyAlias' => '<string>',
            'timeSeriesId' => '<string>',
            'trimSettings' => [
                'endTime' => [
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>,
                ],
                'startTime' => [
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>,
                ],
            ],
        ],
    ],
    'jobId' => '<string>',
    'jobType' => 'EVENT_DETECTION',
    'status' => 'PENDING|RUNNING|COMPLETED|FAILED|TIMED_OUT|CANCELLED',
    'updatedAt' => <DateTime>,
    'workspaceName' => '<string>',
]

Result Details

Members
cancelledAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the job was cancelled in ISO 8601 format. Only present if status is CANCELLED.

completedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the job completed successfully in ISO 8601 format. Only present if status is COMPLETED.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the enrichment job was created in ISO 8601 format.

failureMessage
Type: string

Human-readable error message explaining why the job failed. Only present if status is FAILED. Use this information to diagnose configuration issues, permission problems, or data processing errors.

jobConfiguration
Required: Yes
Type: EnrichmentJobConfiguration structure

The complete job configuration as originally submitted, including the analysis type and parameters. For event detection jobs, this includes the dataset ID, time series identifier, and trim settings defining the analysis time range.

jobId
Required: Yes
Type: string

The unique identifier of the enrichment job.

jobType
Required: Yes
Type: string

The type of enrichment job, derived from the job configuration. Currently EVENT_DETECTION is the only supported type.

status
Required: Yes
Type: string

Current status of the enrichment job. Possible values:

  • PENDING: Job is waiting to start processing
  • RUNNING: Job is actively processing video data
  • COMPLETED: Job finished successfully; embeddings available in IoT SiteWise
  • FAILED: Job encountered an error; see failureMessage for details
  • TIMED_OUT: Job exceeded maximum processing time limit
  • CANCELLED: Job was cancelled by user request
updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the job status was last updated in ISO 8601 format. Useful for tracking recent activity.

workspaceName
Required: Yes
Type: string

The name of the IoT SiteWise workspace containing the job.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DescribeExecution

$result = $client->describeExecution([/* ... */]);
$promise = $client->describeExecutionAsync([/* ... */]);

Retrieves information about the execution.

Parameter Syntax

$result = $client->describeExecution([
    'executionId' => '<string>', // REQUIRED
]);

Parameter Details

Members
executionId
Required: Yes
Type: string

The ID of the execution.

Result Syntax

[
    'actionType' => '<string>',
    'executionDetails' => ['<string>', ...],
    'executionEndTime' => <DateTime>,
    'executionEntityVersion' => '<string>',
    'executionId' => '<string>',
    'executionResult' => ['<string>', ...],
    'executionStartTime' => <DateTime>,
    'executionStatus' => [
        'state' => 'RUNNING|COMPLETED|FAILED',
    ],
    'resolveTo' => [
        'assetId' => '<string>',
    ],
    'targetResource' => [
        'assetId' => '<string>',
        'computationModelId' => '<string>',
    ],
    'targetResourceVersion' => '<string>',
]

Result Details

Members
actionType
Type: string

The type of action exectued.

executionDetails
Type: Associative array of custom strings keys (ExecutionDetailsKey) to strings

Provides detailed information about the execution of your anomaly detection models. This includes model metrics and training timestamps for both training and inference actions.

  • The training action (Amazon Web Services/ANOMALY_DETECTION_TRAINING), includes performance metrics that help you compare different versions of your anomaly detection models. These metrics provide insights into the model's performance during the training process.

  • The inference action (Amazon Web Services/ANOMALY_DETECTION_INFERENCE), includes information about the results of executing your anomaly detection models. This helps you understand the output of your models and assess their performance.

executionEndTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the process ended.

executionEntityVersion
Type: string

Entity version used for the execution.

executionId
Required: Yes
Type: string

The ID of the execution.

executionResult
Type: Associative array of custom strings keys (ExecutionResultKey) to strings

The result of the execution.

executionStartTime
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the process started.

executionStatus
Required: Yes
Type: ExecutionStatus structure

The status of the execution process.

resolveTo
Type: ResolveTo structure

The detailed resource this execution resolves to.

targetResource
Required: Yes
Type: TargetResource structure

The resource the action will be taken on. This can include asset-based resources and computation model resources.

targetResourceVersion
Required: Yes
Type: string

The version of the target resource.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeGateway

$result = $client->describeGateway([/* ... */]);
$promise = $client->describeGatewayAsync([/* ... */]);

Retrieves information about a gateway.

Parameter Syntax

$result = $client->describeGateway([
    'gatewayId' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The ID of the gateway device.

Result Syntax

[
    'creationDate' => <DateTime>,
    'gatewayArn' => '<string>',
    'gatewayCapabilitySummaries' => [
        [
            'capabilityNamespace' => '<string>',
            'capabilitySyncStatus' => 'IN_SYNC|OUT_OF_SYNC|SYNC_FAILED|UNKNOWN|NOT_APPLICABLE',
        ],
        // ...
    ],
    'gatewayId' => '<string>',
    'gatewayName' => '<string>',
    'gatewayPlatform' => [
        'greengrass' => [
            'groupArn' => '<string>',
        ],
        'greengrassV2' => [
            'coreDeviceOperatingSystem' => 'LINUX_AARCH64|LINUX_AMD64|WINDOWS_AMD64',
            'coreDeviceThingName' => '<string>',
        ],
        'siemensIE' => [
            'iotCoreThingName' => '<string>',
        ],
    ],
    'gatewayVersion' => '<string>',
    'lastUpdateDate' => <DateTime>,
]

Result Details

Members
creationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the gateway was created, in Unix epoch time.

gatewayArn
Required: Yes
Type: string

The ARN of the gateway, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}

gatewayCapabilitySummaries
Required: Yes
Type: Array of GatewayCapabilitySummary structures

A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.

gatewayId
Required: Yes
Type: string

The ID of the gateway device.

gatewayName
Required: Yes
Type: string

The name of the gateway.

gatewayPlatform
Type: GatewayPlatform structure

The gateway's platform.

gatewayVersion
Type: string

The version of the gateway. A value of 3 indicates an MQTT-enabled, V3 gateway, while 2 indicates a Classic streams, V2 gateway.

lastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the gateway was last updated, in Unix epoch time.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeGatewayCapabilityConfiguration

$result = $client->describeGatewayCapabilityConfiguration([/* ... */]);
$promise = $client->describeGatewayCapabilityConfigurationAsync([/* ... */]);

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

. The namespace follows the format service:capability:version, where:

  • service - The service providing the capability, or iotsitewise.

  • capability - The specific capability type. Options include: opcuacollector for the OPC UA data source collector, or publisher for data publisher capability.

  • version - The version number of the capability. Option include 2 for Classic streams, V2 gateways, and 3 for MQTT-enabled, V3 gateways.

After updating a capability configuration, the sync status becomes OUT_OF_SYNC until the gateway processes the configuration.Use DescribeGatewayCapabilityConfiguration to check the sync status and verify the configuration was applied.

A gateway can have multiple capability configurations with different namespaces.

Parameter Syntax

$result = $client->describeGatewayCapabilityConfiguration([
    'capabilityNamespace' => '<string>', // REQUIRED
    'gatewayId' => '<string>', // REQUIRED
]);

Parameter Details

Members
capabilityNamespace
Required: Yes
Type: string

The namespace of the capability configuration. For example, if you configure OPC UA sources for an MQTT-enabled gateway, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:3.

gatewayId
Required: Yes
Type: string

The ID of the gateway that defines the capability configuration.

Result Syntax

[
    'capabilityConfiguration' => '<string>',
    'capabilityNamespace' => '<string>',
    'capabilitySyncStatus' => 'IN_SYNC|OUT_OF_SYNC|SYNC_FAILED|UNKNOWN|NOT_APPLICABLE',
    'gatewayId' => '<string>',
]

Result Details

Members
capabilityConfiguration
Required: Yes
Type: string

The JSON document that defines the gateway capability's configuration. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.

capabilityNamespace
Required: Yes
Type: string

The namespace of the gateway capability.

capabilitySyncStatus
Required: Yes
Type: string

The synchronization status of the gateway capability configuration. The sync status can be one of the following:

  • IN_SYNC - The gateway is running with the latest configuration.

  • OUT_OF_SYNC - The gateway hasn't received the latest configuration.

  • SYNC_FAILED - The gateway rejected the latest configuration.

  • UNKNOWN - The gateway hasn't reported its sync status.

  • NOT_APPLICABLE - The gateway doesn't support this capability. This is most common when integrating partner data sources, because the data integration is handled externally by the partner.

gatewayId
Required: Yes
Type: string

The ID of the gateway that defines the capability configuration.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeLoggingOptions

$result = $client->describeLoggingOptions([/* ... */]);
$promise = $client->describeLoggingOptionsAsync([/* ... */]);

Retrieves the current IoT SiteWise logging options.

Parameter Syntax

$result = $client->describeLoggingOptions([
    'workspaceName' => '<string>',
]);

Parameter Details

Members
workspaceName
Type: string

The name of the workspace.

Result Syntax

[
    'loggingOptions' => [
        'level' => 'ERROR|INFO|OFF',
    ],
]

Result Details

Members
loggingOptions
Required: Yes
Type: LoggingOptions structure

The current logging options.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

DescribePipeline

$result = $client->describePipeline([/* ... */]);
$promise = $client->describePipelineAsync([/* ... */]);

Retrieves detailed information about a specific pipeline in a workspace.

Parameter Syntax

$result = $client->describePipeline([
    'pipelineName' => '<string>', // REQUIRED
    'pipelineVersion' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
pipelineName
Required: Yes
Type: string

The name of the pipeline.

pipelineVersion
Type: string

The version number of the pipeline to retrieve. If not specified, returns the latest version.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'computations' => [
        [
            'computeNodeName' => '<string>',
            'dependsOn' => ['<string>', ...],
            'environmentVariables' => ['<string>', ...],
            'taskName' => '<string>',
        ],
        // ...
    ],
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'environmentVariables' => ['<string>', ...],
    'pipelineArn' => '<string>',
    'pipelineName' => '<string>',
    'status' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
    'updatedAt' => <DateTime>,
    'version' => '<string>',
    'workspaceName' => '<string>',
]

Result Details

Members
computations
Required: Yes
Type: Array of ComputeNode structures

The list of compute nodes that form the pipeline DAG.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the pipeline was created, in Unix epoch time.

description
Type: string

The description of the pipeline.

environmentVariables
Type: Associative array of custom strings keys (EnvironmentVariableName) to strings

The environment variables shared across all compute nodes in the pipeline.

pipelineArn
Required: Yes
Type: string

The ARN of the pipeline.

pipelineName
Required: Yes
Type: string

A unique name of the pipeline within the workspace.

status
Required: Yes
Type: ResourceStatus structure

The current lifecycle status of the pipeline.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the pipeline was last updated, in Unix epoch time.

version
Required: Yes
Type: string

The version of the pipeline.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribePipelineExecution

$result = $client->describePipelineExecution([/* ... */]);
$promise = $client->describePipelineExecutionAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->describePipelineExecution([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'pipelineExecutionId' => '<string>', // REQUIRED
    'pipelineName' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of compute nodes to return per request. This is an upper bound; the actual number of results may be less. Default: 50.

nextToken
Type: string

The token to be used for the next set of paginated results.

pipelineExecutionId
Required: Yes
Type: string

The unique identifier of the pipeline execution.

pipelineName
Required: Yes
Type: string

The name of the pipeline.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'computeNodeExecutionDetails' => [
        [
            'computeNodeName' => '<string>',
            'dependsOn' => ['<string>', ...],
            'endTime' => <DateTime>,
            'executionEnvironmentVariables' => ['<string>', ...],
            'startTime' => <DateTime>,
            'status' => [
                'state' => 'NOT_STARTED|QUEUED|RUNNING|SUCCEEDED|FAILED',
                'stateDetails' => [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE|EXECUTION_ERROR|TIMED_OUT',
                    'details' => [
                        [
                            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE|EXECUTION_ERROR|TIMED_OUT',
                            'message' => '<string>',
                        ],
                        // ...
                    ],
                    'message' => '<string>',
                ],
            ],
            'taskArn' => '<string>',
            'taskName' => '<string>',
            'taskVersion' => '<string>',
        ],
        // ...
    ],
    'endTime' => <DateTime>,
    'executionPriority' => <integer>,
    'nextToken' => '<string>',
    'pipelineExecutionId' => '<string>',
    'pipelineName' => '<string>',
    'pipelineVersion' => '<string>',
    'requestEnvironmentVariables' => [
        'computeNodes' => [
            '<ResourceName>' => ['<string>', ...],
            // ...
        ],
        'global' => ['<string>', ...],
    ],
    'startTime' => <DateTime>,
    'status' => [
        'state' => 'NOT_STARTED|RUNNING|SUCCEEDED|FAILED|CANCELLING|CANCELLED',
        'stateDetails' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE|EXECUTION_ERROR|TIMED_OUT',
            'details' => [
                [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE|EXECUTION_ERROR|TIMED_OUT',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
    ],
    'workspaceName' => '<string>',
]

Result Details

Members
computeNodeExecutionDetails
Required: Yes
Type: Array of ComputeNodeExecutionDetails structures

A list of compute node execution details within this pipeline execution.

endTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the pipeline execution completed, in Unix epoch time.

executionPriority
Type: int

Scheduling priority for the execution. When not specified, defaults to lowest priority.

nextToken
Type: string

The token to be used for the next set of paginated results.

pipelineExecutionId
Required: Yes
Type: string

The unique identifier of the pipeline execution.

pipelineName
Required: Yes
Type: string

The name of the pipeline.

pipelineVersion
Required: Yes
Type: string

The pipeline version this execution ran against.

requestEnvironmentVariables
Required: Yes
Type: ExecutionEnvironmentVariables structure

The environment variables provided as input for the pipeline execution.

startTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the pipeline execution started, in Unix epoch time.

status
Required: Yes
Type: PipelineExecutionStatus structure

The current execution status of the pipeline.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribePortal

$result = $client->describePortal([/* ... */]);
$promise = $client->describePortalAsync([/* ... */]);

Retrieves information about a portal.

Parameter Syntax

$result = $client->describePortal([
    'portalId' => '<string>', // REQUIRED
]);

Parameter Details

Members
portalId
Required: Yes
Type: string

The ID of the portal.

Result Syntax

[
    'alarms' => [
        'alarmRoleArn' => '<string>',
        'notificationLambdaArn' => '<string>',
    ],
    'notificationSenderEmail' => '<string>',
    'portalArn' => '<string>',
    'portalAuthMode' => 'IAM|SSO',
    'portalClientId' => '<string>',
    'portalContactEmail' => '<string>',
    'portalCreationDate' => <DateTime>,
    'portalDescription' => '<string>',
    'portalId' => '<string>',
    'portalLastUpdateDate' => <DateTime>,
    'portalLogoImageLocation' => [
        'id' => '<string>',
        'url' => '<string>',
    ],
    'portalName' => '<string>',
    'portalStartUrl' => '<string>',
    'portalStatus' => [
        'error' => [
            'code' => 'INTERNAL_FAILURE|VALIDATION_ERROR|LIMIT_EXCEEDED',
            'message' => '<string>',
        ],
        'state' => 'CREATING|PENDING|UPDATING|DELETING|ACTIVE|FAILED',
    ],
    'portalType' => 'SITEWISE_PORTAL_V1|SITEWISE_PORTAL_V2',
    'portalTypeConfiguration' => [
        '<PortalTypeKey>' => [
            'portalTools' => ['<string>', ...],
        ],
        // ...
    ],
    'roleArn' => '<string>',
]

Result Details

Members
alarms
Type: Alarms structure

Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal.

notificationSenderEmail
Type: string

The email address that sends alarm notifications.

portalArn
Required: Yes
Type: string

The ARN of the portal, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}

portalAuthMode
Type: string

The service to use to authenticate users to the portal.

portalClientId
Required: Yes
Type: string

The IAM Identity Center application generated client ID (used with IAM Identity Center API operations). IoT SiteWise includes portalClientId for only portals that use IAM Identity Center to authenticate users.

portalContactEmail
Required: Yes
Type: string

The Amazon Web Services administrator's contact email address.

portalCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the portal was created, in Unix epoch time.

portalDescription
Type: string

The portal's description.

portalId
Required: Yes
Type: string

The ID of the portal.

portalLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the portal was last updated, in Unix epoch time.

portalLogoImageLocation
Type: ImageLocation structure

The portal's logo image, which is available at a URL.

portalName
Required: Yes
Type: string

The name of the portal.

portalStartUrl
Required: Yes
Type: string

The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.

portalStatus
Required: Yes
Type: PortalStatus structure

The current status of the portal, which contains a state and any error message.

portalType
Type: string

Define the type of portal. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.

portalTypeConfiguration
Type: Associative array of custom strings keys (PortalTypeKey) to PortalTypeEntry structures

The configuration entry associated with the specific portal type. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.

roleArn
Type: string

The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeProject

$result = $client->describeProject([/* ... */]);
$promise = $client->describeProjectAsync([/* ... */]);

Retrieves information about a project.

Parameter Syntax

$result = $client->describeProject([
    'projectId' => '<string>', // REQUIRED
]);

Parameter Details

Members
projectId
Required: Yes
Type: string

The ID of the project.

Result Syntax

[
    'portalId' => '<string>',
    'projectArn' => '<string>',
    'projectCreationDate' => <DateTime>,
    'projectDescription' => '<string>',
    'projectId' => '<string>',
    'projectLastUpdateDate' => <DateTime>,
    'projectName' => '<string>',
]

Result Details

Members
portalId
Required: Yes
Type: string

The ID of the portal that the project is in.

projectArn
Required: Yes
Type: string

The ARN of the project, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}

projectCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the project was created, in Unix epoch time.

projectDescription
Type: string

The project's description.

projectId
Required: Yes
Type: string

The ID of the project.

projectLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the project was last updated, in Unix epoch time.

projectName
Required: Yes
Type: string

The name of the project.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeQuery

$result = $client->describeQuery([/* ... */]);
$promise = $client->describeQueryAsync([/* ... */]);

Retrieves information about a query, including its status.

Parameter Syntax

$result = $client->describeQuery([
    'queryId' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
queryId
Required: Yes
Type: string

The unique identifier for the query execution.

workspaceName
Required: Yes
Type: string

The name of the workspace associated with the query.

Result Syntax

[
    'completedAt' => <DateTime>,
    'errorMessage' => '<string>',
    'queryId' => '<string>',
    'statistics' => [
        'bytesScanned' => <integer>,
        'executionTimeInMillis' => <integer>,
        'rowCount' => <integer>,
    ],
    'status' => 'SUBMITTED|RUNNING|COMPLETED|FAILED|CANCELED|CANCELING',
    'submittedAt' => <DateTime>,
]

Result Details

Members
completedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time when the query reached a terminal state, in Unix epoch time. This field is present when the query status is COMPLETED, FAILED, or CANCELED.

errorMessage
Type: string

A human-readable error description. This field is present when the query status is FAILED.

queryId
Required: Yes
Type: string

The unique identifier for the query execution.

statistics
Type: QueryStatistics structure

The query execution statistics. This field is present when the query status is COMPLETED.

status
Required: Yes
Type: string

The current query status.

submittedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time when the query was submitted, in Unix epoch time.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeSearch

$result = $client->describeSearch([/* ... */]);
$promise = $client->describeSearchAsync([/* ... */]);

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).

Parameter Syntax

$result = $client->describeSearch([
    'searchId' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
searchId
Required: Yes
Type: string

The identifier of the search to describe.

workspaceName
Required: Yes
Type: string

The name of the workspace the search belongs to.

Result Syntax

[
    'groupId' => '<string>',
    'queryStatement' => '<string>',
    'searchId' => '<string>',
    'searchType' => 'DEEP|QUICK',
    'startedAt' => <DateTime>,
    'status' => 'QUEUED|RUNNING|SUCCEEDED|FAILED',
    'statusReason' => '<string>',
    'workspaceName' => '<string>',
]

Result Details

Members
groupId
Type: string

The group identifier associated with the search, if one was supplied on the request.

queryStatement
Required: Yes
Type: string

The natural-language query that was submitted for the search.

searchId
Required: Yes
Type: string

The unique identifier of the search.

searchType
Required: Yes
Type: string

The search strategy used for the search.

startedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time at which the search was started.

status
Required: Yes
Type: string

The current status of the search.

statusReason
Type: string

A human-readable explanation of the current status. Populated when the search has FAILED.

workspaceName
Required: Yes
Type: string

The name of the workspace the search runs against.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeStorageConfiguration

$result = $client->describeStorageConfiguration([/* ... */]);
$promise = $client->describeStorageConfigurationAsync([/* ... */]);

Retrieves information about the storage configuration for IoT SiteWise.

Parameter Syntax

$result = $client->describeStorageConfiguration([
]);

Parameter Details

Members

Result Syntax

[
    'configurationStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'ACTIVE|UPDATE_IN_PROGRESS|UPDATE_FAILED',
    ],
    'disallowIngestNullNaN' => true || false,
    'disassociatedDataStorage' => 'ENABLED|DISABLED',
    'lastUpdateDate' => <DateTime>,
    'multiLayerStorage' => [
        'customerManagedS3Storage' => [
            'roleArn' => '<string>',
            's3ResourceArn' => '<string>',
        ],
    ],
    'retentionPeriod' => [
        'numberOfDays' => <integer>,
        'unlimited' => true || false,
    ],
    'storageType' => 'SITEWISE_DEFAULT_STORAGE|MULTI_LAYER_STORAGE',
    'warmTier' => 'ENABLED|DISABLED',
    'warmTierRetentionPeriod' => [
        'numberOfDays' => <integer>,
        'unlimited' => true || false,
    ],
]

Result Details

Members
configurationStatus
Required: Yes
Type: ConfigurationStatus structure

Contains current status information for the configuration.

disallowIngestNullNaN
Type: boolean

Describes the configuration for ingesting NULL and NaN data. By default the feature is allowed. The feature is disallowed if the value is true.

disassociatedDataStorage
Type: string

Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values:

  • ENABLED – IoT SiteWise accepts time series that aren't associated with asset properties.

    After the disassociatedDataStorage is enabled, you can't disable it.

  • DISABLED – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.

For more information, see Data streams in the IoT SiteWise User Guide.

lastUpdateDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the storage configuration was last updated, in Unix epoch time.

multiLayerStorage
Type: MultiLayerStorage structure

Contains information about the storage destination.

retentionPeriod
Type: RetentionPeriod structure

The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.

storageType
Required: Yes
Type: string

The storage tier that you specified for your data. The storageType parameter can be one of the following values:

  • SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database.

  • MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.

warmTier
Type: string

A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.

warmTierRetentionPeriod
Type: WarmTierRetentionPeriod structure

Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DescribeTask

$result = $client->describeTask([/* ... */]);
$promise = $client->describeTaskAsync([/* ... */]);

Retrieves detailed information about a specific task in a workspace.

Parameter Syntax

$result = $client->describeTask([
    'taskName' => '<string>', // REQUIRED
    'taskVersion' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
taskName
Required: Yes
Type: string

The name of the task.

taskVersion
Type: string

The version number of the task to retrieve. If not specified, returns the latest version.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'createdAt' => <DateTime>,
    'description' => '<string>',
    'status' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
    'taskArn' => '<string>',
    'taskConfiguration' => [
        'containerTaskConfiguration' => [
            'command' => ['<string>', ...],
            'ecrUri' => '<string>',
            'environmentVariables' => ['<string>', ...],
            'processingType' => 'GENERIC_COMPUTE_PROCESSING|HARDWARE_ACCELERATED_PROCESSING',
            'processingUnit' => 'UNITS_2|UNITS_4|UNITS_8|UNITS_12|UNITS_16|UNITS_24|UNITS_32|UNITS_36|UNITS_48|UNITS_60|UNITS_64|UNITS_72|UNITS_84|UNITS_96',
            'taskExecutionRole' => '<string>',
            'timeoutSeconds' => <integer>,
        ],
    ],
    'taskName' => '<string>',
    'updatedAt' => <DateTime>,
    'version' => '<string>',
    'workspaceName' => '<string>',
]

Result Details

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the task was created, in Unix epoch time.

description
Type: string

The description of the task.

status
Required: Yes
Type: ResourceStatus structure

The current lifecycle status of the task.

taskArn
Required: Yes
Type: string

The ARN of the task.

taskConfiguration
Required: Yes
Type: TaskConfiguration structure

The task execution configuration. Contains a containerTaskConfiguration for custom container workloads.

taskName
Required: Yes
Type: string

The name of the task.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the task was last updated, in Unix epoch time.

version
Required: Yes
Type: string

The version of the task.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeTimeSeries

$result = $client->describeTimeSeries([/* ... */]);
$promise = $client->describeTimeSeriesAsync([/* ... */]);

Retrieves information about a time series (data stream).

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 and propertyId that identifies the asset property.

Parameter Syntax

$result = $client->describeTimeSeries([
    'alias' => '<string>',
    'assetId' => '<string>',
    'propertyId' => '<string>',
    'workspaceName' => '<string>',
]);

Parameter Details

Members
alias
Type: string

The alias that identifies the time series.

assetId
Type: 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
Type: 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.

workspaceName
Type: string

The name of the workspace.

Result Syntax

[
    'alias' => '<string>',
    'assetId' => '<string>',
    'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
    'dataTypeSpec' => '<string>',
    'propertyId' => '<string>',
    'timeSeriesArn' => '<string>',
    'timeSeriesCreationDate' => <DateTime>,
    'timeSeriesId' => '<string>',
    'timeSeriesLastUpdateDate' => <DateTime>,
    'workspaceName' => '<string>',
]

Result Details

Members
alias
Type: string

The alias that identifies the time series.

assetId
Type: string

The ID of the asset in which the asset property was created.

dataType
Required: Yes
Type: string

The data type of the time series.

If you specify STRUCT, you must also specify dataTypeSpec to identify the type of the structure for this time series.

dataTypeSpec
Type: string

The data type of the structure for this time series. This parameter is required for time series that have the STRUCT data type.

The options for this parameter depend on the type of the composite model in which you created the asset property that is associated with your time series. Use AWS/ALARM_STATE for alarm state in alarm composite models.

propertyId
Type: string

The ID of the asset property, in UUID format.

timeSeriesArn
Required: Yes
Type: string

The ARN of the time series, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}

timeSeriesCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date that the time series was created, in Unix epoch time.

timeSeriesId
Required: Yes
Type: string

The ID of the time series.

timeSeriesLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date that the time series was last updated, in Unix epoch time.

workspaceName
Type: string

The name of the workspace.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

DescribeWorkspace

$result = $client->describeWorkspace([/* ... */]);
$promise = $client->describeWorkspaceAsync([/* ... */]);

Retrieves information about a workspace.

Parameter Syntax

$result = $client->describeWorkspace([
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'createdAt' => <DateTime>,
    'encryptionConfiguration' => [
        'encryptionType' => 'SITEWISE_DEFAULT_ENCRYPTION|KMS_BASED_ENCRYPTION',
        'kmsKeyArn' => '<string>',
    ],
    'updatedAt' => <DateTime>,
    'workspaceArn' => '<string>',
    'workspaceDescription' => '<string>',
    'workspaceName' => '<string>',
    'workspaceStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the workspace was created, in Unix epoch time.

encryptionConfiguration

The encryption configuration information for the workspace.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the workspace was last updated, in Unix epoch time.

workspaceArn
Required: Yes
Type: string

The ARN of the workspace.

workspaceDescription
Type: string

The description of the workspace.

workspaceName
Required: Yes
Type: string

The name of the workspace.

workspaceStatus
Required: Yes
Type: WorkspaceStatus structure

The status of the workspace, which contains the state and any error message.

Errors

AccessDeniedException:

Access is denied.

ResourceNotFoundException:

The requested resource can't be found.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

DisassociateAssets

$result = $client->disassociateAssets([/* ... */]);
$promise = $client->disassociateAssetsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->disassociateAssets([
    'assetId' => '<string>', // REQUIRED
    'childAssetId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'hierarchyId' => '<string>', // REQUIRED
]);

Parameter Details

Members
assetId
Required: Yes
Type: string

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.

childAssetId
Required: Yes
Type: string

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
Type: 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.

hierarchyId
Required: Yes
Type: string

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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

DisassociateTimeSeriesFromAssetProperty

$result = $client->disassociateTimeSeriesFromAssetProperty([/* ... */]);
$promise = $client->disassociateTimeSeriesFromAssetPropertyAsync([/* ... */]);

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

Parameter Syntax

$result = $client->disassociateTimeSeriesFromAssetProperty([
    'alias' => '<string>', // REQUIRED
    'assetId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'propertyId' => '<string>', // REQUIRED
]);

Parameter Details

Members
alias
Required: Yes
Type: string

The alias that identifies the time series.

assetId
Required: Yes
Type: 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.

clientToken
Type: 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.

propertyId
Required: Yes
Type: 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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

ExecuteAction

$result = $client->executeAction([/* ... */]);
$promise = $client->executeActionAsync([/* ... */]);

Executes an action on a target resource.

Parameter Syntax

$result = $client->executeAction([
    'actionDefinitionId' => '<string>', // REQUIRED
    'actionPayload' => [ // REQUIRED
        'stringValue' => '<string>', // REQUIRED
    ],
    'clientToken' => '<string>',
    'resolveTo' => [
        'assetId' => '<string>', // REQUIRED
    ],
    'targetResource' => [ // REQUIRED
        'assetId' => '<string>',
        'computationModelId' => '<string>',
    ],
]);

Parameter Details

Members
actionDefinitionId
Required: Yes
Type: string

The ID of the action definition.

actionPayload
Required: Yes
Type: ActionPayload structure

The JSON payload of the action.

clientToken
Type: 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.

resolveTo
Type: ResolveTo structure

The detailed resource this action resolves to.

targetResource
Required: Yes
Type: TargetResource structure

The resource the action will be taken on.

Result Syntax

[
    'actionId' => '<string>',
]

Result Details

Members
actionId
Required: Yes
Type: string

The ID of the action.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

ExecuteQuery

$result = $client->executeQuery([/* ... */]);
$promise = $client->executeQueryAsync([/* ... */]);

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

Parameter Syntax

$result = $client->executeQuery([
    'clientToken' => '<string>',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'queryStatement' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: 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.

maxResults
Type: int

The maximum number of results to return at one time.

  • Minimum is 1

  • Maximum is 20000

  • Default is 20000

nextToken
Type: string

The string that specifies the next page of results.

queryStatement
Required: Yes
Type: string

The IoT SiteWise query statement.

Result Syntax

[
    'columns' => [
        [
            'name' => '<string>',
            'type' => [
                'scalarType' => 'BOOLEAN|INT|DOUBLE|TIMESTAMP|STRING',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
    'rows' => [
        [
            'data' => [
                [
                    'arrayValue' => [...], // RECURSIVE
                    'nullValue' => true || false,
                    'rowValue' => [...], // RECURSIVE
                    'scalarValue' => '<string>',
                ],
                // ...
            ],
        ],
        // ...
    ],
]

Result Details

Members
columns
Type: Array of ColumnInfo structures

Represents a single column in the query results.

nextToken
Type: string

The string that specifies the next page of results.

rows
Type: Array of Row structures

Represents a single row in the query results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

AccessDeniedException:

Access is denied.

ValidationException:

The validation failed for this query.

QueryTimeoutException:

The query timed out.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ServiceUnavailableException:

The requested service is unavailable.

GetAssetPropertyAggregates

$result = $client->getAssetPropertyAggregates([/* ... */]);
$promise = $client->getAssetPropertyAggregatesAsync([/* ... */]);

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

To identify an asset property, you must specify one of the following:

  • The assetId and propertyId of an asset property.

  • A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

Parameter Syntax

$result = $client->getAssetPropertyAggregates([
    'aggregateTypes' => ['<string>', ...], // REQUIRED
    'assetId' => '<string>',
    'endDate' => <integer || string || DateTime>, // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'propertyAlias' => '<string>',
    'propertyId' => '<string>',
    'qualities' => ['<string>', ...],
    'resolution' => '<string>', // REQUIRED
    'startDate' => <integer || string || DateTime>, // REQUIRED
    'timeOrdering' => 'ASCENDING|DESCENDING',
]);

Parameter Details

Members
aggregateTypes
Required: Yes
Type: Array of strings

The data aggregating function.

assetId
Type: string

The ID of the asset, in UUID format.

endDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.

maxResults
Type: int

The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.

  • The size of the result set is equal to 1 MB.

  • The number of data points in the result set is equal to the value of maxResults. The maximum value of maxResults is 2500.

nextToken
Type: string

The token to be used for the next set of paginated results.

propertyAlias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

propertyId
Type: string

The ID of the asset property, in UUID format.

qualities
Type: Array of strings

The quality by which to filter asset data.

resolution
Required: Yes
Type: string

The time interval over which to aggregate data.

startDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.

timeOrdering
Type: string

The chronological sorting order of the requested information.

Default: ASCENDING

Result Syntax

[
    'aggregatedValues' => [
        [
            'quality' => 'GOOD|BAD|UNCERTAIN',
            'timestamp' => <DateTime>,
            'value' => [
                'average' => <float>,
                'count' => <float>,
                'maximum' => <float>,
                'minimum' => <float>,
                'standardDeviation' => <float>,
                'sum' => <float>,
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
aggregatedValues
Required: Yes
Type: Array of AggregatedValue structures

The requested aggregated values.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ServiceUnavailableException:

The requested service is unavailable.

GetAssetPropertyValue

$result = $client->getAssetPropertyValue([/* ... */]);
$promise = $client->getAssetPropertyValueAsync([/* ... */]);

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

To identify an asset property, you must specify one of the following:

  • The assetId and propertyId of an asset property.

  • A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

Parameter Syntax

$result = $client->getAssetPropertyValue([
    'assetId' => '<string>',
    'propertyAlias' => '<string>',
    'propertyId' => '<string>',
]);

Parameter Details

Members
assetId
Type: string

The ID of the asset, in UUID format.

propertyAlias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

propertyId
Type: string

The ID of the asset property, in UUID format.

Result Syntax

[
    'propertyValue' => [
        'quality' => 'GOOD|BAD|UNCERTAIN',
        'timestamp' => [
            'offsetInNanos' => <integer>,
            'timeInSeconds' => <integer>,
        ],
        'value' => [
            'booleanValue' => true || false,
            'doubleValue' => <float>,
            'integerValue' => <integer>,
            'nullValue' => [
                'valueType' => 'D|B|S|I|U',
            ],
            'stringValue' => '<string>',
        ],
    ],
]

Result Details

Members
propertyValue
Type: AssetPropertyValue structure

The current asset property value.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ServiceUnavailableException:

The requested service is unavailable.

GetAssetPropertyValueHistory

$result = $client->getAssetPropertyValueHistory([/* ... */]);
$promise = $client->getAssetPropertyValueHistoryAsync([/* ... */]);

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

To identify an asset property, you must specify one of the following:

  • The assetId and propertyId of an asset property.

  • A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

Parameter Syntax

$result = $client->getAssetPropertyValueHistory([
    'assetId' => '<string>',
    'endDate' => <integer || string || DateTime>,
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'propertyAlias' => '<string>',
    'propertyId' => '<string>',
    'qualities' => ['<string>', ...],
    'startDate' => <integer || string || DateTime>,
    'timeOrdering' => 'ASCENDING|DESCENDING',
]);

Parameter Details

Members
assetId
Type: string

The ID of the asset, in UUID format.

endDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.

maxResults
Type: int

The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.

  • The size of the result set is equal to 4 MB.

  • The number of data points in the result set is equal to the value of maxResults. The maximum value of maxResults is 20000.

nextToken
Type: string

The token to be used for the next set of paginated results.

propertyAlias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

propertyId
Type: string

The ID of the asset property, in UUID format.

qualities
Type: Array of strings

The quality by which to filter asset data.

startDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.

timeOrdering
Type: string

The chronological sorting order of the requested information.

Default: ASCENDING

Result Syntax

[
    'assetPropertyValueHistory' => [
        [
            'quality' => 'GOOD|BAD|UNCERTAIN',
            'timestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'value' => [
                'booleanValue' => true || false,
                'doubleValue' => <float>,
                'integerValue' => <integer>,
                'nullValue' => [
                    'valueType' => 'D|B|S|I|U',
                ],
                'stringValue' => '<string>',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
assetPropertyValueHistory
Required: Yes
Type: Array of AssetPropertyValue structures

The asset property's value history.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ServiceUnavailableException:

The requested service is unavailable.

GetCaptureData

$result = $client->getCaptureData([/* ... */]);
$promise = $client->getCaptureDataAsync([/* ... */]);

Retrieves video data for a specific time range.

Parameter Syntax

$result = $client->getCaptureData([
    'endTime' => [ // REQUIRED
        'offsetInNanos' => <integer>,
        'timeInSeconds' => <integer>, // REQUIRED
    ],
    'formatSettings' => [
        'framesPerSecond' => <integer>,
        'heightInPixels' => <integer>,
        'widthInPixels' => <integer>,
    ],
    'nextToken' => '<string>',
    'propertyAlias' => '<string>',
    'startTime' => [ // REQUIRED
        'offsetInNanos' => <integer>,
        'timeInSeconds' => <integer>, // REQUIRED
    ],
    'timeSeriesId' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
endTime
Required: Yes
Type: TimeInNanos structure

The end time for the video data range. Must be greater than startTime.

formatSettings
Type: FormatSettings structure

The optional format settings for the output.

nextToken
Type: string

The token from a previous response used to continue retrieving data.

propertyAlias
Type: string

The property alias that identifies the capture source. Mutually exclusive with timeSeriesId.

startTime
Required: Yes
Type: TimeInNanos structure

The start time for the video data range.

timeSeriesId
Type: string

The time series ID that identifies the capture source. Mutually exclusive with propertyAlias.

workspaceName
Required: Yes
Type: string

The name of the workspace that contains the capture source.

Result Syntax

[
    'data' => <string || resource || Psr\Http\Message\StreamInterface>,
    'dataType' => 'VIDEO-MP4',
    'endTime' => [
        'offsetInNanos' => <integer>,
        'timeInSeconds' => <integer>,
    ],
    'nextToken' => '<string>',
    'startTime' => [
        'offsetInNanos' => <integer>,
        'timeInSeconds' => <integer>,
    ],
]

Result Details

Members
data
Required: Yes
Type: blob (string|resource|Psr\Http\Message\StreamInterface)

The binary video data.

dataType
Required: Yes
Type: string

The type of the returned data.

endTime
Required: Yes
Type: TimeInNanos structure

The actual end time of the returned data.

nextToken
Type: string

The token used to retrieve the next chunk. Absent if no more data is available.

startTime
Required: Yes
Type: TimeInNanos structure

The actual start time of the returned data.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

GetInterpolatedAssetPropertyValues

$result = $client->getInterpolatedAssetPropertyValues([/* ... */]);
$promise = $client->getInterpolatedAssetPropertyValuesAsync([/* ... */]);

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.

For example, you can use this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days.

To identify an asset property, you must specify one of the following:

  • The assetId and propertyId of an asset property.

  • A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

Parameter Syntax

$result = $client->getInterpolatedAssetPropertyValues([
    'assetId' => '<string>',
    'endTimeInSeconds' => <integer>, // REQUIRED
    'endTimeOffsetInNanos' => <integer>,
    'intervalInSeconds' => <integer>, // REQUIRED
    'intervalWindowInSeconds' => <integer>,
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'propertyAlias' => '<string>',
    'propertyId' => '<string>',
    'quality' => 'GOOD|BAD|UNCERTAIN', // REQUIRED
    'startTimeInSeconds' => <integer>, // REQUIRED
    'startTimeOffsetInNanos' => <integer>,
    'type' => '<string>', // REQUIRED
]);

Parameter Details

Members
assetId
Type: string

The ID of the asset, in UUID format.

endTimeInSeconds
Required: Yes
Type: long (int|float)

The inclusive end of the range from which to interpolate data, expressed in seconds in Unix epoch time.

endTimeOffsetInNanos
Type: int

The nanosecond offset converted from endTimeInSeconds.

intervalInSeconds
Required: Yes
Type: long (int|float)

The time interval in seconds over which to interpolate data. Each interval starts when the previous one ends.

intervalWindowInSeconds
Type: long (int|float)

The query interval for the window, in seconds. IoT SiteWise computes each interpolated value by using data points from the timestamp of each interval, minus the window to the timestamp of each interval plus the window. If not specified, the window ranges between the start time minus the interval and the end time plus the interval.

  • If you specify a value for the intervalWindowInSeconds parameter, the value for the type parameter must be LINEAR_INTERPOLATION.

  • If a data point isn't found during the specified query window, IoT SiteWise won't return an interpolated value for the interval. This indicates that there's a gap in the ingested data points.

For example, you can get the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts on July 1, 2021, at 9 AM with a window of 2 hours, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 2, 2021 to compute the first interpolated value. Next, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 3, 2021 to compute the second interpolated value, and so on.

maxResults
Type: int

The maximum number of results to return for each paginated request. If not specified, the default value is 10.

nextToken
Type: string

The token to be used for the next set of paginated results.

propertyAlias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

propertyId
Type: string

The ID of the asset property, in UUID format.

quality
Required: Yes
Type: string

The quality of the asset property value. You can use this parameter as a filter to choose only the asset property values that have a specific quality.

startTimeInSeconds
Required: Yes
Type: long (int|float)

The exclusive start of the range from which to interpolate data, expressed in seconds in Unix epoch time.

startTimeOffsetInNanos
Type: int

The nanosecond offset converted from startTimeInSeconds.

type
Required: Yes
Type: string

The interpolation type.

Valid values: LINEAR_INTERPOLATION | LOCF_INTERPOLATION

  • LINEAR_INTERPOLATION – Estimates missing data using linear interpolation.

    For example, you can use this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the first interpolated value on July 2, 2021, at 9 AM, the second interpolated value on July 3, 2021, at 9 AM, and so on.

  • LOCF_INTERPOLATION – Estimates missing data using last observation carried forward interpolation

    If no data point is found for an interval, IoT SiteWise returns the last observed data point for the previous interval and carries forward this interpolated value until a new data point is found.

    For example, you can get the state of an on-off valve every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the last observed data point between July 1, 2021, at 9 AM and July 2, 2021, at 9 AM as the first interpolated value. If a data point isn't found after 9 AM on July 2, 2021, IoT SiteWise uses the same interpolated value for the rest of the days.

Result Syntax

[
    'interpolatedAssetPropertyValues' => [
        [
            'timestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'value' => [
                'booleanValue' => true || false,
                'doubleValue' => <float>,
                'integerValue' => <integer>,
                'nullValue' => [
                    'valueType' => 'D|B|S|I|U',
                ],
                'stringValue' => '<string>',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
interpolatedAssetPropertyValues
Required: Yes
Type: Array of InterpolatedAssetPropertyValue structures

The requested interpolated values.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ServiceUnavailableException:

The requested service is unavailable.

GetQueryResults

$result = $client->getQueryResults([/* ... */]);
$promise = $client->getQueryResultsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->getQueryResults([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'queryId' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return for each paginated request.

nextToken
Type: string

The token to be used for the next set of paginated results.

queryId
Required: Yes
Type: string

The unique identifier for the query execution.

workspaceName
Required: Yes
Type: string

The name of the workspace associated with the query.

Result Syntax

[
    'columnInfo' => [
        [
            'name' => '<string>',
            'type' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
    'rows' => [
        ['<string>', ...],
        // ...
    ],
]

Result Details

Members
columnInfo
Type: Array of ColumnInformation structures

A list of column metadata for the query results. Each entry contains the column name and data type. Present when the query status is COMPLETED.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

rows
Type: Array of stringss

The result rows. Each row is a list of string column values, positional to match the columnInfo order. Present when the query status is COMPLETED.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

GetSearchResults

$result = $client->getSearchResults([/* ... */]);
$promise = $client->getSearchResultsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->getSearchResults([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'searchId' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return in a single page. Valid range is 1 to 10,000; if omitted, a service-defined default is used.

nextToken
Type: string

The pagination token returned by a previous GetSearchResults call. Provide it to retrieve the next page of results; omit it to retrieve the first page.

searchId
Required: Yes
Type: string

The identifier of the search whose results are retrieved.

workspaceName
Required: Yes
Type: string

The name of the workspace the search belongs to.

Result Syntax

[
    'nextToken' => '<string>',
    'searchResults' => [
        [
            'datasetId' => '<string>',
            'endTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'score' => <float>,
            'searchId' => '<string>',
            'startTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'timeSeriesId' => '<string>',
            'topTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'workspaceName' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

The pagination token to use in a subsequent GetSearchResults call to retrieve the next page. Absent when there are no more results.

searchResults
Required: Yes
Type: Array of SearchResult structures

A page of search results, ordered by descending relevance score.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

InvokeAssistant

$result = $client->invokeAssistant([/* ... */]);
$promise = $client->invokeAssistantAsync([/* ... */]);

Invokes SiteWise Assistant to start or continue a conversation.

Parameter Syntax

$result = $client->invokeAssistant([
    'conversationId' => '<string>',
    'enableTrace' => true || false,
    'message' => '<string>', // REQUIRED
]);

Parameter Details

Members
conversationId
Type: string

The ID assigned to a conversation. IoT SiteWise automatically generates a unique ID for you, and this parameter is never required. However, if you prefer to have your own ID, you must specify it here in UUID format. If you specify your own ID, it must be globally unique.

enableTrace
Type: boolean

Specifies if to turn trace on or not. It is used to track the SiteWise Assistant's reasoning, and data access process.

message
Required: Yes
Type: string

A text message sent to the SiteWise Assistant by the user.

Result Syntax

[
    'body' => [ // EventParsingIterator
        'accessDeniedException' => [
            'message' => '<string>',
        ],
        'conflictingOperationException' => [
            'message' => '<string>',
            'resourceArn' => '<string>',
            'resourceId' => '<string>',
        ],
        'internalFailureException' => [
            'message' => '<string>',
        ],
        'invalidRequestException' => [
            'message' => '<string>',
        ],
        'limitExceededException' => [
            'message' => '<string>',
        ],
        'output' => [
            'citations' => [
                [
                    'content' => [
                        'text' => '<string>',
                    ],
                    'reference' => [
                        'dataset' => [
                            'datasetArn' => '<string>',
                            'source' => [
                                'arn' => '<string>',
                                'location' => [
                                    'uri' => '<string>',
                                ],
                            ],
                        ],
                    ],
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'resourceNotFoundException' => [
            'message' => '<string>',
        ],
        'throttlingException' => [
            'message' => '<string>',
        ],
        'trace' => [
            'text' => '<string>',
        ],
    ],
    'conversationId' => '<string>',
]

Result Details

Members
body

Contains the response, citation, and trace from the SiteWise Assistant.

conversationId
Required: Yes
Type: string

The ID of the conversation, in UUID format. This ID uniquely identifies the conversation within IoT SiteWise.

Using an EventParsingIterator

To use an EventParsingIterator, you will need to loop over the events it will generate and check the top-level field to determine which type of event it is.

foreach($result['body'] as $event) {
    if (isset($event['accessDeniedException'])) {
        // Handle the 'accessDeniedException' event.
    } else if (isset($event['conflictingOperationException'])) {
        // Handle the 'conflictingOperationException' event.
    } else if (isset($event['internalFailureException'])) {
        // Handle the 'internalFailureException' event.
    } else if (isset($event['invalidRequestException'])) {
        // Handle the 'invalidRequestException' event.
    } else if (isset($event['limitExceededException'])) {
        // Handle the 'limitExceededException' event.
    } else if (isset($event['output'])) {
        // Handle the 'output' event.
    } else if (isset($event['resourceNotFoundException'])) {
        // Handle the 'resourceNotFoundException' event.
    } else if (isset($event['throttlingException'])) {
        // Handle the 'throttlingException' event.
    } else if (isset($event['trace'])) {
        // Handle the 'trace' event.
    }
}

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

ListAccessPolicies

$result = $client->listAccessPolicies([/* ... */]);
$promise = $client->listAccessPoliciesAsync([/* ... */]);

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).

Parameter Syntax

$result = $client->listAccessPolicies([
    'iamArn' => '<string>',
    'identityId' => '<string>',
    'identityType' => 'USER|GROUP|IAM',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'resourceId' => '<string>',
    'resourceType' => 'PORTAL|PROJECT',
]);

Parameter Details

Members
iamArn
Type: string

The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide. This parameter is required if you specify IAM for identityType.

identityId
Type: string

The ID of the identity. This parameter is required if you specify USER or GROUP for identityType.

identityType
Type: string

The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is required if you specify identityId.

maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

resourceId
Type: string

The ID of the resource. This parameter is required if you specify resourceType.

resourceType
Type: string

The type of resource (portal or project). This parameter is required if you specify resourceId.

Result Syntax

[
    'accessPolicySummaries' => [
        [
            'creationDate' => <DateTime>,
            'id' => '<string>',
            'identity' => [
                'group' => [
                    'id' => '<string>',
                ],
                'iamRole' => [
                    'arn' => '<string>',
                ],
                'iamUser' => [
                    'arn' => '<string>',
                ],
                'user' => [
                    'id' => '<string>',
                ],
            ],
            'lastUpdateDate' => <DateTime>,
            'permission' => 'ADMINISTRATOR|VIEWER',
            'resource' => [
                'portal' => [
                    'id' => '<string>',
                ],
                'project' => [
                    'id' => '<string>',
                ],
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
accessPolicySummaries
Required: Yes
Type: Array of AccessPolicySummary structures

A list that summarizes each access policy.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListActions

$result = $client->listActions([/* ... */]);
$promise = $client->listActionsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listActions([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'resolveToResourceId' => '<string>',
    'resolveToResourceType' => 'ASSET',
    'targetResourceId' => '<string>', // REQUIRED
    'targetResourceType' => 'ASSET|COMPUTATION_MODEL', // REQUIRED
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return for each paginated request.

nextToken
Type: string

The token to be used for the next set of paginated results.

resolveToResourceId
Type: string

The ID of the resolved resource.

resolveToResourceType
Type: string

The type of the resolved resource.

targetResourceId
Required: Yes
Type: string

The ID of the target resource.

targetResourceType
Required: Yes
Type: string

The type of resource.

Result Syntax

[
    'actionSummaries' => [
        [
            'actionDefinitionId' => '<string>',
            'actionId' => '<string>',
            'resolveTo' => [
                'assetId' => '<string>',
            ],
            'targetResource' => [
                'assetId' => '<string>',
                'computationModelId' => '<string>',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
actionSummaries
Required: Yes
Type: Array of ActionSummary structures

A list that summarizes the actions associated with the specified asset.

nextToken
Required: Yes
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListApplications

$result = $client->listApplications([/* ... */]);
$promise = $client->listApplicationsAsync([/* ... */]);

Retrieves a paginated list of existing applications

Parameter Syntax

$result = $client->listApplications([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

Maximum number of results to return

nextToken
Type: string

Next Page Token

Result Syntax

[
    'applications' => [
        [
            'arn' => '<string>',
            'createdAt' => <DateTime>,
            'id' => '<string>',
            'name' => '<string>',
            'status' => 'CREATING|ACTIVE|DELETING',
            'workspaceName' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
applications
Required: Yes
Type: Array of ApplicationSummary structures

List of applications

nextToken
Type: string

Next Page Token

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListAssetModelCompositeModels

$result = $client->listAssetModelCompositeModels([/* ... */]);
$promise = $client->listAssetModelCompositeModelsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listAssetModelCompositeModels([
    'assetModelId' => '<string>', // REQUIRED
    'assetModelVersion' => '<string>',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
assetModelId
Required: Yes
Type: string

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

assetModelVersion
Type: string

The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'assetModelCompositeModelSummaries' => [
        [
            'description' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>',
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
assetModelCompositeModelSummaries
Required: Yes
Type: Array of AssetModelCompositeModelSummary structures

A list that summarizes each composite model.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

ListAssetModelProperties

$result = $client->listAssetModelProperties([/* ... */]);
$promise = $client->listAssetModelPropertiesAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listAssetModelProperties([
    'assetModelId' => '<string>', // REQUIRED
    'assetModelVersion' => '<string>',
    'filter' => 'ALL|BASE',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
assetModelId
Required: Yes
Type: string

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

assetModelVersion
Type: string

The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

filter
Type: string

Filters the requested list of asset model properties. You can choose one of the following options:

  • ALL – The list includes all asset model properties for a given asset model ID.

  • BASE – The list includes only base asset model properties for a given asset model ID.

Default: BASE

maxResults
Type: int

The maximum number of results to return for each paginated request. If not specified, the default value is 50.

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'assetModelPropertySummaries' => [
        [
            'assetModelCompositeModelId' => '<string>',
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
            'dataTypeSpec' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'interfaceSummaries' => [
                [
                    'interfaceAssetModelId' => '<string>',
                    'interfaceAssetModelPropertyId' => '<string>',
                ],
                // ...
            ],
            'name' => '<string>',
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => [
                'attribute' => [
                    'defaultValue' => '<string>',
                ],
                'measurement' => [
                    'processingConfig' => [
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED',
                        ],
                    ],
                ],
                'metric' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD',
                    ],
                    'variables' => [
                        [
                            'name' => '<string>',
                            'value' => [
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'window' => [
                        'tumbling' => [
                            'interval' => '<string>',
                            'offset' => '<string>',
                        ],
                    ],
                ],
                'transform' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD',
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED',
                        ],
                    ],
                    'variables' => [
                        [
                            'name' => '<string>',
                            'value' => [
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                ],
            ],
            'unit' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
assetModelPropertySummaries
Required: Yes
Type: Array of AssetModelPropertySummary structures

A list that summarizes the properties associated with the specified asset model.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListAssetModels

$result = $client->listAssetModels([/* ... */]);
$promise = $client->listAssetModelsAsync([/* ... */]);

Retrieves a paginated list of summaries of all asset models.

Parameter Syntax

$result = $client->listAssetModels([
    'assetModelTypes' => ['<string>', ...],
    'assetModelVersion' => '<string>',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
assetModelTypes
Type: Array of strings

The type of asset model. If you don't provide an assetModelTypes, all types of asset models are returned.

  • ASSET_MODEL – An asset model that you can use to create assets. Can't be included as a component in another asset model.

  • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.

  • INTERFACE – An interface is a type of model that defines a standard structure that can be applied to different asset models.

assetModelVersion
Type: string

The version alias that specifies the latest or active version of the asset model. The details are returned in the response. The default value is LATEST. See Asset model versions in the IoT SiteWise User Guide.

maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'assetModelSummaries' => [
        [
            'arn' => '<string>',
            'assetModelType' => 'ASSET_MODEL|COMPONENT_MODEL|INTERFACE',
            'creationDate' => <DateTime>,
            'description' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'lastUpdateDate' => <DateTime>,
            'name' => '<string>',
            'status' => [
                'error' => [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
                    'details' => [
                        [
                            'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                            'message' => '<string>',
                        ],
                        // ...
                    ],
                    'message' => '<string>',
                ],
                'state' => 'CREATING|ACTIVE|UPDATING|PROPAGATING|DELETING|FAILED',
            ],
            'version' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
assetModelSummaries
Required: Yes
Type: Array of AssetModelSummary structures

A list that summarizes each asset model.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListAssetProperties

$result = $client->listAssetProperties([/* ... */]);
$promise = $client->listAssetPropertiesAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listAssetProperties([
    'assetId' => '<string>', // REQUIRED
    'filter' => 'ALL|BASE',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
assetId
Required: Yes
Type: string

The ID of the 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.

filter
Type: string

Filters the requested list of asset properties. You can choose one of the following options:

  • ALL – The list includes all asset properties for a given asset model ID.

  • BASE – The list includes only base asset properties for a given asset model ID.

Default: BASE

maxResults
Type: int

The maximum number of results to return for each paginated request. If not specified, the default value is 50.

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'assetPropertySummaries' => [
        [
            'alias' => '<string>',
            'assetCompositeModelId' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'notification' => [
                'state' => 'ENABLED|DISABLED',
                'topic' => '<string>',
            ],
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'unit' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
assetPropertySummaries
Required: Yes
Type: Array of AssetPropertySummary structures

A list that summarizes the properties associated with the specified asset.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListAssetRelationships

$result = $client->listAssetRelationships([/* ... */]);
$promise = $client->listAssetRelationshipsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listAssetRelationships([
    'assetId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'traversalType' => 'PATH_TO_ROOT', // REQUIRED
]);

Parameter Details

Members
assetId
Required: Yes
Type: string

The ID of the 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.

maxResults
Type: int

The maximum number of results to return for each paginated request.

nextToken
Type: string

The token to be used for the next set of paginated results.

traversalType
Required: Yes
Type: string

The type of traversal to use to identify asset relationships. Choose the following option:

  • PATH_TO_ROOT – Identify the asset's parent assets up to the root asset. The asset that you specify in assetId is the first result in the list of assetRelationshipSummaries, and the root asset is the last result.

Result Syntax

[
    'assetRelationshipSummaries' => [
        [
            'hierarchyInfo' => [
                'childAssetId' => '<string>',
                'parentAssetId' => '<string>',
            ],
            'relationshipType' => 'HIERARCHY',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
assetRelationshipSummaries
Required: Yes
Type: Array of AssetRelationshipSummary structures

A list that summarizes each asset relationship.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListAssets

$result = $client->listAssets([/* ... */]);
$promise = $client->listAssetsAsync([/* ... */]);

Retrieves a paginated list of asset summaries.

You can use this operation to do the following:

  • List assets based on a specific asset model.

  • List top-level assets.

You can't use this operation to list all assets. To retrieve summaries for all of your assets, use ListAssetModels to get all of your asset model IDs. Then, use ListAssets to get all assets for each asset model.

Parameter Syntax

$result = $client->listAssets([
    'assetModelId' => '<string>',
    'filter' => 'ALL|TOP_LEVEL',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
assetModelId
Type: string

The ID of the asset model by which to filter the list of assets. This parameter is required if you choose ALL for filter. 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.

filter
Type: string

The filter for the requested list of assets. Choose one of the following options:

  • ALL – The list includes all assets for a given asset model ID. The assetModelId parameter is required if you filter by ALL.

  • TOP_LEVEL – The list includes only top-level assets in the asset hierarchy tree.

Default: ALL

maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'assetSummaries' => [
        [
            'arn' => '<string>',
            'assetModelId' => '<string>',
            'creationDate' => <DateTime>,
            'description' => '<string>',
            'externalId' => '<string>',
            'hierarchies' => [
                [
                    'externalId' => '<string>',
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'id' => '<string>',
            'lastUpdateDate' => <DateTime>,
            'name' => '<string>',
            'status' => [
                'error' => [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
                    'details' => [
                        [
                            'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                            'message' => '<string>',
                        ],
                        // ...
                    ],
                    'message' => '<string>',
                ],
                'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
assetSummaries
Required: Yes
Type: Array of AssetSummary structures

A list that summarizes each asset.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListAssociatedAssets

$result = $client->listAssociatedAssets([/* ... */]);
$promise = $client->listAssociatedAssetsAsync([/* ... */]);

Retrieves a paginated list of associated assets.

You can use this operation to do the following:

  • CHILD - List all child assets associated to the asset.

  • PARENT - List the asset's parent asset.

Parameter Syntax

$result = $client->listAssociatedAssets([
    'assetId' => '<string>', // REQUIRED
    'hierarchyId' => '<string>',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'traversalDirection' => 'PARENT|CHILD',
]);

Parameter Details

Members
assetId
Required: Yes
Type: string

The ID of the asset to query. 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
Type: string

(Optional) If you don't provide a hierarchyId, all the immediate assets in the traversalDirection will be returned.

The ID of the hierarchy by which child assets are associated to the 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.)

For more information, see Asset hierarchies in the IoT SiteWise User Guide.

maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

traversalDirection
Type: string

The direction to list associated assets. Choose one of the following options:

  • CHILD – The list includes all child assets associated to the asset.

  • PARENT – The list includes the asset's parent asset.

Default: CHILD

Result Syntax

[
    'assetSummaries' => [
        [
            'arn' => '<string>',
            'assetModelId' => '<string>',
            'creationDate' => <DateTime>,
            'description' => '<string>',
            'externalId' => '<string>',
            'hierarchies' => [
                [
                    'externalId' => '<string>',
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'id' => '<string>',
            'lastUpdateDate' => <DateTime>,
            'name' => '<string>',
            'status' => [
                'error' => [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
                    'details' => [
                        [
                            'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                            'message' => '<string>',
                        ],
                        // ...
                    ],
                    'message' => '<string>',
                ],
                'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
assetSummaries
Required: Yes
Type: Array of AssociatedAssetsSummary structures

A list that summarizes the associated assets.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListBulkImportJobs

$result = $client->listBulkImportJobs([/* ... */]);
$promise = $client->listBulkImportJobsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listBulkImportJobs([
    'filter' => 'ALL|PENDING|RUNNING|CANCELLED|FAILED|COMPLETED_WITH_FAILURES|COMPLETED',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'workspaceName' => '<string>',
]);

Parameter Details

Members
filter
Type: string

You can use a filter to select the bulk import jobs that you want to retrieve.

maxResults
Type: int

The maximum number of results to return for each paginated request.

nextToken
Type: string

The token to be used for the next set of paginated results.

workspaceName
Type: string

The name of the workspace.

Result Syntax

[
    'jobSummaries' => [
        [
            'id' => '<string>',
            'name' => '<string>',
            'status' => 'PENDING|CANCELLED|RUNNING|COMPLETED|FAILED|COMPLETED_WITH_FAILURES',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
jobSummaries
Required: Yes
Type: Array of JobSummary structures

One or more job summaries to list.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListCompositionRelationships

$result = $client->listCompositionRelationships([/* ... */]);
$promise = $client->listCompositionRelationshipsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listCompositionRelationships([
    'assetModelId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
assetModelId
Required: Yes
Type: string

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

maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'compositionRelationshipSummaries' => [
        [
            'assetModelCompositeModelId' => '<string>',
            'assetModelCompositeModelType' => '<string>',
            'assetModelId' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
compositionRelationshipSummaries
Required: Yes
Type: Array of CompositionRelationshipSummary structures

A list that summarizes each composition relationship.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListComputationModelDataBindingUsages

$result = $client->listComputationModelDataBindingUsages([/* ... */]);
$promise = $client->listComputationModelDataBindingUsagesAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listComputationModelDataBindingUsages([
    'dataBindingValueFilter' => [ // REQUIRED
        'asset' => [
            'assetId' => '<string>', // REQUIRED
        ],
        'assetModel' => [
            'assetModelId' => '<string>', // REQUIRED
        ],
        'assetModelProperty' => [
            'assetModelId' => '<string>', // REQUIRED
            'propertyId' => '<string>', // REQUIRED
        ],
        'assetProperty' => [
            'assetId' => '<string>', // REQUIRED
            'propertyId' => '<string>', // REQUIRED
        ],
    ],
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
dataBindingValueFilter
Required: Yes
Type: DataBindingValueFilter structure

A filter used to limit the returned data binding usages based on specific data binding values. You can filter by asset, asset model, asset property, or asset model property to find all computation models using these specific data sources.

maxResults
Type: int

The maximum number of results returned for each paginated request.

nextToken
Type: string

The token used for the next set of paginated results.

Result Syntax

[
    'dataBindingUsageSummaries' => [
        [
            'computationModelIds' => ['<string>', ...],
            'matchedDataBinding' => [
                'value' => [
                    'assetModelProperty' => [
                        'assetModelId' => '<string>',
                        'propertyId' => '<string>',
                    ],
                    'assetProperty' => [
                        'assetId' => '<string>',
                        'propertyId' => '<string>',
                    ],
                ],
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
dataBindingUsageSummaries
Required: Yes
Type: Array of ComputationModelDataBindingUsageSummary structures

A list of summaries describing the data binding usages across computation models. Each summary includes the computation model IDs and the matched data binding details.

nextToken
Type: string

The token for the next set of paginated results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListComputationModelResolveToResources

$result = $client->listComputationModelResolveToResources([/* ... */]);
$promise = $client->listComputationModelResolveToResourcesAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listComputationModelResolveToResources([
    'computationModelId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
computationModelId
Required: Yes
Type: string

The ID of the computation model for which to list resolved resources.

maxResults
Type: int

The maximum number of results returned for each paginated request.

nextToken
Type: string

The token used for the next set of paginated results.

Result Syntax

[
    'computationModelResolveToResourceSummaries' => [
        [
            'resolveTo' => [
                'assetId' => '<string>',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
computationModelResolveToResourceSummaries
Required: Yes
Type: Array of ComputationModelResolveToResourceSummary structures

A list of summaries describing the distinct resources that this computation model resolves to when actions were executed.

nextToken
Type: string

The token for the next set of paginated results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListComputationModels

$result = $client->listComputationModels([/* ... */]);
$promise = $client->listComputationModelsAsync([/* ... */]);

Retrieves a paginated list of summaries of all computation models.

Parameter Syntax

$result = $client->listComputationModels([
    'computationModelType' => 'ANOMALY_DETECTION',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
computationModelType
Type: string

The type of computation model. If a computationModelType is not provided, all types of computation models are returned.

maxResults
Type: int

The maximum number of results to return for each paginated request.

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'computationModelSummaries' => [
        [
            'arn' => '<string>',
            'creationDate' => <DateTime>,
            'description' => '<string>',
            'id' => '<string>',
            'lastUpdateDate' => <DateTime>,
            'name' => '<string>',
            'status' => [
                'error' => [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
                    'details' => [
                        [
                            'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                            'message' => '<string>',
                        ],
                        // ...
                    ],
                    'message' => '<string>',
                ],
                'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
            ],
            'type' => 'ANOMALY_DETECTION',
            'version' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
computationModelSummaries
Required: Yes
Type: Array of ComputationModelSummary structures

A list summarizing each computation model.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListDashboards

$result = $client->listDashboards([/* ... */]);
$promise = $client->listDashboardsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listDashboards([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'projectId' => '<string>', // REQUIRED
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

projectId
Required: Yes
Type: string

The ID of the project.

Result Syntax

[
    'dashboardSummaries' => [
        [
            'creationDate' => <DateTime>,
            'description' => '<string>',
            'id' => '<string>',
            'lastUpdateDate' => <DateTime>,
            'name' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
dashboardSummaries
Required: Yes
Type: Array of DashboardSummary structures

A list that summarizes each dashboard in the project.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListDatasetDataSegmentRelationships

$result = $client->listDatasetDataSegmentRelationships([/* ... */]);
$promise = $client->listDatasetDataSegmentRelationshipsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listDatasetDataSegmentRelationships([
    'datasetId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
datasetId
Required: Yes
Type: string

The ID of the session dataset to list data segment relationships for.

maxResults
Type: int

The maximum number of results to return for each paginated request. Default: 50.

nextToken
Type: string

The token to be used for the next set of paginated results.

workspaceName
Required: Yes
Type: string

The name of the workspace that contains the dataset.

Result Syntax

[
    'dataSegmentRelationshipSummaries' => [
        [
            'endTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'sourceDatasetId' => '<string>',
            'startTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'targetDatasetId' => '<string>',
            'timeSeriesId' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
dataSegmentRelationshipSummaries
Required: Yes
Type: Array of DataSegmentRelationshipSummary structures

A list that summarizes each data segment relationship.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListDatasetDataSegments

$result = $client->listDatasetDataSegments([/* ... */]);
$promise = $client->listDatasetDataSegmentsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listDatasetDataSegments([
    'datasetId' => '<string>', // REQUIRED
    'datasetVersion' => '<string>',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
datasetId
Required: Yes
Type: string

The ID of the dataset.

datasetVersion
Type: string

The version of the dataset to list data segments for.

maxResults
Type: int

The maximum number of results to return for each paginated request. Default: 50.

nextToken
Type: string

The token to be used for the next set of paginated results.

workspaceName
Required: Yes
Type: string

The name of the workspace that contains the dataset.

Result Syntax

[
    'dataSegments' => [
        [
            'alias' => '<string>',
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
            'endTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'enrichment' => [
                'lastEnrichedAt' => <DateTime>,
                'status' => 'ENRICHED|NOT_ENRICHED',
            ],
            'sourceDatasetId' => '<string>',
            'startTimestamp' => [
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>,
            ],
            'timeSeriesId' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
dataSegments
Required: Yes
Type: Array of DataSegmentSummary structures

A list that summarizes each data segment.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListDatasetExportJobs

$result = $client->listDatasetExportJobs([/* ... */]);
$promise = $client->listDatasetExportJobsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listDatasetExportJobs([
    'filter' => 'ALL|SUBMITTED|RUNNING|COMPLETED|COMPLETED_WITH_ERRORS|FAILED',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
filter
Type: string

The optional filter that returns only jobs matching the given filter value. Defaults to ALL.

maxResults
Type: int

The maximum number of results to return for each paginated request.

nextToken
Type: string

The token to be used for the next set of paginated results.

workspaceName
Required: Yes
Type: string

The name of the workspace whose dataset export jobs should be listed.

Result Syntax

[
    'jobs' => [
        [
            'completedAt' => <DateTime>,
            'destinationS3Uri' => '<string>',
            'jobId' => '<string>',
            'startedAt' => <DateTime>,
            'status' => 'SUBMITTED|RUNNING|COMPLETED|COMPLETED_WITH_ERRORS|FAILED',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
jobs
Required: Yes
Type: Array of ExportJobSummary structures

A list of dataset export job summaries.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListDatasets

$result = $client->listDatasets([/* ... */]);
$promise = $client->listDatasetsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listDatasets([
    'datasetType' => 'SESSION|CURATED|EXTERNAL',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'sourceType' => 'KENDRA|SITEWISE', // REQUIRED
    'workspaceName' => '<string>',
]);

Parameter Details

Members
datasetType
Type: string

The type of dataset to filter by: a session dataset, a curated dataset, or a connection to an external datasource.

maxResults
Type: int

The maximum number of results to return for each paginated request.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

sourceType
Required: Yes
Type: string

The type of data source for the dataset.

workspaceName
Type: string

The name of the workspace to filter datasets by.

Result Syntax

[
    'datasetSummaries' => [
        [
            'arn' => '<string>',
            'creationDate' => <DateTime>,
            'datasetType' => 'SESSION|CURATED|EXTERNAL',
            'description' => '<string>',
            'enrichmentStatus' => [
                'video' => [
                    'lastEnrichedAt' => <DateTime>,
                    'status' => 'FULLY_ENRICHED|PARTIALLY_ENRICHED|NOT_ENRICHED',
                ],
            ],
            'id' => '<string>',
            'lastUpdateDate' => <DateTime>,
            'name' => '<string>',
            'sourceType' => 'KENDRA|SITEWISE',
            'status' => [
                'error' => [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
                    'details' => [
                        [
                            'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                            'message' => '<string>',
                        ],
                        // ...
                    ],
                    'message' => '<string>',
                ],
                'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
    'workspaceName' => '<string>',
]

Result Details

Members
datasetSummaries
Required: Yes
Type: Array of DatasetSummary structures

A list that summarizes the dataset response.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

workspaceName
Type: string

The name of the workspace.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListEnrichmentJobs

$result = $client->listEnrichmentJobs([/* ... */]);
$promise = $client->listEnrichmentJobsAsync([/* ... */]);

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

Filtering

Combine filters to narrow results:

  • datasetId: Filter by dataset
  • propertyAlias OR timeSeriesId: Filter by time series (specify one, not both)
  • status: Filter by job status (e.g., RUNNING to find active jobs)
  • jobType: Filter by enrichment type (currently only EVENT_DETECTION)
  • startDate and endDate: Filter by job creation time range

Important Constraints

  • You must specify either propertyAlias OR timeSeriesId, but not both
  • Attempting to specify both results in an InvalidRequestException
  • Date filters use ISO 8601 format
  • startDate is exclusive, endDate is inclusive

Pagination

The operation returns up to maxResults jobs per page (default 50). If more results exist, the response includes a nextToken. Submit this token in a subsequent request to retrieve the next page.

Common Use Cases

  • Find all running jobs: Filter by status=RUNNING
  • List recent jobs for a dataset: Filter by datasetId with optional date range
  • Monitor jobs for a specific sensor: Filter by propertyAlias or timeSeriesId
  • Track all event detection jobs: Filter by jobType=EVENT_DETECTION

Performance

Performance is optimal when filtering by supported fields (datasetId, propertyAlias, timeSeriesId, status, jobType).

Parameter Syntax

$result = $client->listEnrichmentJobs([
    'datasetId' => '<string>',
    'endDate' => <integer || string || DateTime>,
    'jobType' => 'EVENT_DETECTION',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'propertyAlias' => '<string>',
    'startDate' => <integer || string || DateTime>,
    'status' => 'PENDING|RUNNING|COMPLETED|FAILED|TIMED_OUT|CANCELLED',
    'timeSeriesId' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
datasetId
Type: string

Filter jobs by dataset ID. Returns only jobs analyzing data from the specified dataset.

endDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The inclusive end of the date range for filtering jobs by creation time. Jobs created on or before this timestamp are included. Use ISO 8601 format (e.g., 2024-01-31T23:59:59Z).

jobType
Type: string

Filter by enrichment job type. Currently only EVENT_DETECTION is supported. Use this filter to future-proof queries when additional job types are added.

maxResults
Type: int

Maximum number of jobs to return per page. Defaults to 50 if not specified. Use smaller values for faster responses, larger values to reduce API calls.

nextToken
Type: string

Pagination token from a previous ListEnrichmentJobs response. Include this token to retrieve the next page of results. Omit for the first request.

propertyAlias
Type: string

Filter by property alias (human-readable sensor name). Specify either propertyAlias or timeSeriesId, but not both. Returns only jobs analyzing the specified property alias.

startDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The exclusive start of the date range for filtering jobs by creation time. Jobs created after this timestamp are included. Use ISO 8601 format (e.g., 2024-01-01T00:00:00Z).

status
Type: string

Filter by job status. Returns only jobs in the specified status. Use RUNNING to find active jobs, or FAILED to identify jobs requiring attention.

timeSeriesId
Type: string

Filter by time series ID (system identifier). Specify either timeSeriesId or propertyAlias, but not both. Returns only jobs analyzing the specified time series.

workspaceName
Required: Yes
Type: string

The name of the IoT SiteWise workspace to list enrichment jobs from.

Result Syntax

[
    'jobs' => [
        [
            'createdAt' => <DateTime>,
            'datasetId' => '<string>',
            'jobId' => '<string>',
            'jobType' => 'EVENT_DETECTION',
            'propertyAlias' => '<string>',
            'status' => 'PENDING|RUNNING|COMPLETED|FAILED|TIMED_OUT|CANCELLED',
            'timeSeriesId' => '<string>',
            'updatedAt' => <DateTime>,
            'workspaceName' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
jobs
Required: Yes
Type: Array of EnrichmentJobSummary structures

Array of job summaries matching the filter criteria, ordered by creation time descending (newest first). Each summary includes key identifiers (jobId, datasetId, propertyAlias/timeSeriesId) and status information without the full job configuration. Use DescribeEnrichmentJob to retrieve complete details.

nextToken
Type: string

Pagination token to retrieve the next page of results. If present, more jobs exist that match the filter criteria. Include this token in a subsequent ListEnrichmentJobs request to retrieve the next page. If absent, you have retrieved all matching jobs.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

ListExecutions

$result = $client->listExecutions([/* ... */]);
$promise = $client->listExecutionsAsync([/* ... */]);

Retrieves a paginated list of summaries of all executions.

Parameter Syntax

$result = $client->listExecutions([
    'actionType' => '<string>',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'resolveToResourceId' => '<string>',
    'resolveToResourceType' => 'ASSET',
    'targetResourceId' => '<string>', // REQUIRED
    'targetResourceType' => 'ASSET|COMPUTATION_MODEL', // REQUIRED
]);

Parameter Details

Members
actionType
Type: string

The type of action exectued.

maxResults
Type: int

The maximum number of results returned for each paginated request.

nextToken
Type: string

The token used for the next set of paginated results.

resolveToResourceId
Type: string

The ID of the resolved resource.

resolveToResourceType
Type: string

The type of the resolved resource.

targetResourceId
Required: Yes
Type: string

The ID of the target resource.

targetResourceType
Required: Yes
Type: string

The type of the target resource.

Result Syntax

[
    'executionSummaries' => [
        [
            'actionType' => '<string>',
            'executionEndTime' => <DateTime>,
            'executionEntityVersion' => '<string>',
            'executionId' => '<string>',
            'executionStartTime' => <DateTime>,
            'executionStatus' => [
                'state' => 'RUNNING|COMPLETED|FAILED',
            ],
            'resolveTo' => [
                'assetId' => '<string>',
            ],
            'targetResource' => [
                'assetId' => '<string>',
                'computationModelId' => '<string>',
            ],
            'targetResourceVersion' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
executionSummaries
Required: Yes
Type: Array of ExecutionSummary structures

Contains the list of execution summaries of the computation models.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListGateways

$result = $client->listGateways([/* ... */]);
$promise = $client->listGatewaysAsync([/* ... */]);

Retrieves a paginated list of gateways.

Parameter Syntax

$result = $client->listGateways([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'gatewaySummaries' => [
        [
            'creationDate' => <DateTime>,
            'gatewayCapabilitySummaries' => [
                [
                    'capabilityNamespace' => '<string>',
                    'capabilitySyncStatus' => 'IN_SYNC|OUT_OF_SYNC|SYNC_FAILED|UNKNOWN|NOT_APPLICABLE',
                ],
                // ...
            ],
            'gatewayId' => '<string>',
            'gatewayName' => '<string>',
            'gatewayPlatform' => [
                'greengrass' => [
                    'groupArn' => '<string>',
                ],
                'greengrassV2' => [
                    'coreDeviceOperatingSystem' => 'LINUX_AARCH64|LINUX_AMD64|WINDOWS_AMD64',
                    'coreDeviceThingName' => '<string>',
                ],
                'siemensIE' => [
                    'iotCoreThingName' => '<string>',
                ],
            ],
            'gatewayVersion' => '<string>',
            'lastUpdateDate' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
gatewaySummaries
Required: Yes
Type: Array of GatewaySummary structures

A list that summarizes each gateway.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListInterfaceRelationships

$result = $client->listInterfaceRelationships([/* ... */]);
$promise = $client->listInterfaceRelationshipsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listInterfaceRelationships([
    'interfaceAssetModelId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
interfaceAssetModelId
Required: Yes
Type: string

The ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.

maxResults
Type: int

The maximum number of results to return for each paginated request. Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'interfaceRelationshipSummaries' => [
        [
            'id' => '<string>',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
interfaceRelationshipSummaries
Required: Yes
Type: Array of InterfaceRelationshipSummary structures

A list that summarizes each interface relationship.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListPipelineExecutions

$result = $client->listPipelineExecutions([/* ... */]);
$promise = $client->listPipelineExecutionsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listPipelineExecutions([
    'endTimeAfter' => <integer || string || DateTime>,
    'endTimeBefore' => <integer || string || DateTime>,
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'pipelineName' => '<string>', // REQUIRED
    'startTimeAfter' => <integer || string || DateTime>,
    'startTimeBefore' => <integer || string || DateTime>,
    'state' => 'NOT_STARTED|RUNNING|SUCCEEDED|FAILED|CANCELLING|CANCELLED',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
endTimeAfter
Type: timestamp (string|DateTime or anything parsable by strtotime)

Inclusive lower bound on execution end time (ISO-8601). Only executions with endTime >= endTimeAfter are returned. Cannot be combined with startTimeAfter or startTimeBefore. Only matches executions in terminal states.

endTimeBefore
Type: timestamp (string|DateTime or anything parsable by strtotime)

Exclusive upper bound on execution end time (ISO-8601). Only executions with endTime < endTimeBefore are returned. Cannot be combined with startTimeAfter or startTimeBefore. Only matches executions in terminal states.

maxResults
Type: int

The maximum number of results to return per request. This is an upper bound; the actual number of results may be less. Default: 50.

nextToken
Type: string

The token to be used for the next set of paginated results.

pipelineName
Required: Yes
Type: string

The name of the pipeline.

startTimeAfter
Type: timestamp (string|DateTime or anything parsable by strtotime)

Inclusive lower bound on execution start time (ISO-8601). Only executions with startTime >= startTimeAfter are returned. Cannot be combined with endTimeAfter or endTimeBefore.

startTimeBefore
Type: timestamp (string|DateTime or anything parsable by strtotime)

Exclusive upper bound on execution start time (ISO-8601). Only executions with startTime < startTimeBefore are returned. Cannot be combined with endTimeAfter or endTimeBefore.

state
Type: string

Filter by execution state. If not specified, executions in all states are returned.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'nextToken' => '<string>',
    'pipelineExecutionSummaries' => [
        [
            'endTime' => <DateTime>,
            'executionPriority' => <integer>,
            'pipelineExecutionId' => '<string>',
            'pipelineVersion' => '<string>',
            'startTime' => <DateTime>,
            'status' => [
                'state' => 'NOT_STARTED|RUNNING|SUCCEEDED|FAILED|CANCELLING|CANCELLED',
                'stateDetails' => [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE|EXECUTION_ERROR|TIMED_OUT',
                    'details' => [
                        [
                            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE|EXECUTION_ERROR|TIMED_OUT',
                            'message' => '<string>',
                        ],
                        // ...
                    ],
                    'message' => '<string>',
                ],
            ],
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

The token to be used for the next set of paginated results.

pipelineExecutionSummaries
Required: Yes
Type: Array of PipelineExecutionSummary structures

A list that summarizes each pipeline execution.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListPipelines

$result = $client->listPipelines([/* ... */]);
$promise = $client->listPipelinesAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listPipelines([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return for each paginated request. Default: 50.

nextToken
Type: string

The token to be used for the next set of paginated results.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'nextToken' => '<string>',
    'pipelineSummaries' => [
        [
            'createdAt' => <DateTime>,
            'description' => '<string>',
            'pipelineArn' => '<string>',
            'pipelineName' => '<string>',
            'status' => [
                'error' => [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
                    'message' => '<string>',
                ],
                'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
            ],
            'updatedAt' => <DateTime>,
            'version' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

The token to be used for the next set of paginated results.

pipelineSummaries
Required: Yes
Type: Array of PipelineSummary structures

A list that summarizes each pipeline in the workspace.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListPortals

$result = $client->listPortals([/* ... */]);
$promise = $client->listPortalsAsync([/* ... */]);

Retrieves a paginated list of IoT SiteWise Monitor portals.

Parameter Syntax

$result = $client->listPortals([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'nextToken' => '<string>',
    'portalSummaries' => [
        [
            'creationDate' => <DateTime>,
            'description' => '<string>',
            'id' => '<string>',
            'lastUpdateDate' => <DateTime>,
            'name' => '<string>',
            'portalType' => 'SITEWISE_PORTAL_V1|SITEWISE_PORTAL_V2',
            'roleArn' => '<string>',
            'startUrl' => '<string>',
            'status' => [
                'error' => [
                    'code' => 'INTERNAL_FAILURE|VALIDATION_ERROR|LIMIT_EXCEEDED',
                    'message' => '<string>',
                ],
                'state' => 'CREATING|PENDING|UPDATING|DELETING|ACTIVE|FAILED',
            ],
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

portalSummaries
Type: Array of PortalSummary structures

A list that summarizes each portal.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListProjectAssets

$result = $client->listProjectAssets([/* ... */]);
$promise = $client->listProjectAssetsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listProjectAssets([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'projectId' => '<string>', // REQUIRED
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

projectId
Required: Yes
Type: string

The ID of the project.

Result Syntax

[
    'assetIds' => ['<string>', ...],
    'nextToken' => '<string>',
]

Result Details

Members
assetIds
Required: Yes
Type: Array of strings

A list that contains the IDs of each asset associated with the project.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListProjects

$result = $client->listProjects([/* ... */]);
$promise = $client->listProjectsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listProjects([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'portalId' => '<string>', // REQUIRED
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return for each paginated request.

Default: 50

nextToken
Type: string

The token to be used for the next set of paginated results.

portalId
Required: Yes
Type: string

The ID of the portal.

Result Syntax

[
    'nextToken' => '<string>',
    'projectSummaries' => [
        [
            'creationDate' => <DateTime>,
            'description' => '<string>',
            'id' => '<string>',
            'lastUpdateDate' => <DateTime>,
            'name' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

projectSummaries
Required: Yes
Type: Array of ProjectSummary structures

A list that summarizes each project in the portal.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListQueries

$result = $client->listQueries([/* ... */]);
$promise = $client->listQueriesAsync([/* ... */]);

Retrieves a paginated list of queries for a workspace.

Parameter Syntax

$result = $client->listQueries([
    'filter' => '<string>',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
filter
Type: string

An optional filter to return only queries with the specified status. The value must be one of the supported query statuses: SUBMITTED, RUNNING, COMPLETED, FAILED, CANCELED, or CANCELING.

maxResults
Type: int

The maximum number of results to return for each paginated request.

nextToken
Type: string

The token to be used for the next set of paginated results.

workspaceName
Required: Yes
Type: string

The name of the workspace to list queries for.

Result Syntax

[
    'nextToken' => '<string>',
    'queries' => [
        [
            'completedAt' => <DateTime>,
            'queryId' => '<string>',
            'status' => 'SUBMITTED|RUNNING|COMPLETED|FAILED|CANCELED|CANCELING',
            'submittedAt' => <DateTime>,
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

queries
Required: Yes
Type: Array of QuerySummary structures

A list of query summaries for the workspace.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListSearches

$result = $client->listSearches([/* ... */]);
$promise = $client->listSearchesAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->listSearches([
    'listSearchesFilters' => [
        'groupIdFilter' => ['<string>', ...],
        'searchTypeFilter' => ['<string>', ...],
        'startedAfter' => <integer || string || DateTime>,
        'startedBefore' => <integer || string || DateTime>,
        'statusFilter' => ['<string>', ...],
    ],
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
listSearchesFilters
Type: ListSearchesFilters structure

Optional filters that restrict which searches are returned.

maxResults
Type: int

The maximum number of searches to return in a single page. Valid range is 1 to 1,000; if omitted, a service-defined default is used.

nextToken
Type: string

The pagination token returned by a previous ListSearches call. Provide it to retrieve the next page; omit it to retrieve the first page.

workspaceName
Required: Yes
Type: string

The name of the workspace whose searches are listed.

Result Syntax

[
    'nextToken' => '<string>',
    'searchSummaries' => [
        [
            'groupId' => '<string>',
            'queryStatement' => '<string>',
            'searchId' => '<string>',
            'searchType' => 'DEEP|QUICK',
            'startedAt' => <DateTime>,
            'status' => 'QUEUED|RUNNING|SUCCEEDED|FAILED',
            'statusReason' => '<string>',
            'workspaceName' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

The pagination token to use in a subsequent ListSearches call to retrieve the next page. Absent when there are no more searches.

searchSummaries
Required: Yes
Type: Array of SearchSummary structures

A page of search summaries, most recently started first.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListTagsForResource

$result = $client->listTagsForResource([/* ... */]);
$promise = $client->listTagsForResourceAsync([/* ... */]);

Retrieves the list of tags for an IoT SiteWise resource.

Parameter Syntax

$result = $client->listTagsForResource([
    'resourceArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource.

Result Syntax

[
    'tags' => ['<string>', ...],
]

Result Details

Members
tags
Type: Associative array of custom strings keys (TagKey) to strings

The list of key-value pairs that contain metadata for the resource. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

UnauthorizedException:

You are not authorized.

ListTasks

$result = $client->listTasks([/* ... */]);
$promise = $client->listTasksAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listTasks([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return for each paginated request. Default: 50.

nextToken
Type: string

The token to be used for the next set of paginated results.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'nextToken' => '<string>',
    'taskSummaries' => [
        [
            'createdAt' => <DateTime>,
            'description' => '<string>',
            'status' => [
                'error' => [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
                    'message' => '<string>',
                ],
                'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
            ],
            'taskArn' => '<string>',
            'taskName' => '<string>',
            'updatedAt' => <DateTime>,
            'version' => '<string>',
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

The token to be used for the next set of paginated results.

taskSummaries
Required: Yes
Type: Array of TaskSummary structures

A list that summarizes each task in the workspace.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListTimeSeries

$result = $client->listTimeSeries([/* ... */]);
$promise = $client->listTimeSeriesAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listTimeSeries([
    'aliasPrefix' => '<string>',
    'assetId' => '<string>',
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'timeSeriesType' => 'ASSOCIATED|DISASSOCIATED',
    'workspaceName' => '<string>',
]);

Parameter Details

Members
aliasPrefix
Type: string

The alias prefix of the time series.

assetId
Type: 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.

maxResults
Type: int

The maximum number of results to return for each paginated request.

nextToken
Type: string

The token to be used for the next set of paginated results.

timeSeriesType
Type: string

The type of the time series. The time series type can be one of the following values:

  • ASSOCIATED – The time series is associated with an asset property.

  • DISASSOCIATED – The time series isn't associated with any asset property.

workspaceName
Type: string

The name of the workspace.

Result Syntax

[
    'TimeSeriesSummaries' => [
        [
            'alias' => '<string>',
            'assetId' => '<string>',
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON',
            'dataTypeSpec' => '<string>',
            'propertyId' => '<string>',
            'timeSeriesArn' => '<string>',
            'timeSeriesCreationDate' => <DateTime>,
            'timeSeriesId' => '<string>',
            'timeSeriesLastUpdateDate' => <DateTime>,
        ],
        // ...
    ],
    'nextToken' => '<string>',
    'workspaceName' => '<string>',
]

Result Details

Members
TimeSeriesSummaries
Required: Yes
Type: Array of TimeSeriesSummary structures

One or more time series summaries to list.

nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

workspaceName
Type: string

The name of the workspace.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ListWorkspaces

$result = $client->listWorkspaces([/* ... */]);
$promise = $client->listWorkspacesAsync([/* ... */]);

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

Parameter Syntax

$result = $client->listWorkspaces([
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
maxResults
Type: int

The maximum number of results to return for each paginated request. Default: 50.

nextToken
Type: string

The token to be used for the next set of paginated results.

Result Syntax

[
    'nextToken' => '<string>',
    'workspaceSummaries' => [
        [
            'arn' => '<string>',
            'createdAt' => <DateTime>,
            'name' => '<string>',
            'status' => [
                'error' => [
                    'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
                    'message' => '<string>',
                ],
                'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
            ],
            'updatedAt' => <DateTime>,
        ],
        // ...
    ],
]

Result Details

Members
nextToken
Type: string

The token for the next set of results, or null if there are no additional results.

workspaceSummaries
Required: Yes
Type: Array of WorkspaceSummary structures

A list that summarizes each workspace.

Errors

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

PutAssetModelInterfaceRelationship

$result = $client->putAssetModelInterfaceRelationship([/* ... */]);
$promise = $client->putAssetModelInterfaceRelationshipAsync([/* ... */]);

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

Parameter Syntax

$result = $client->putAssetModelInterfaceRelationship([
    'assetModelId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'interfaceAssetModelId' => '<string>', // REQUIRED
    'propertyMappingConfiguration' => [ // REQUIRED
        'createMissingProperty' => true || false,
        'matchByPropertyName' => true || false,
        'overrides' => [
            [
                'assetModelPropertyId' => '<string>', // REQUIRED
                'interfaceAssetModelPropertyId' => '<string>', // REQUIRED
            ],
            // ...
        ],
    ],
]);

Parameter Details

Members
assetModelId
Required: Yes
Type: string

The ID of the asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.

clientToken
Type: 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.

interfaceAssetModelId
Required: Yes
Type: string

The ID of the interface asset model. This can be either the actual ID in UUID format, or else externalId: followed by the external ID.

propertyMappingConfiguration
Required: Yes
Type: PropertyMappingConfiguration structure

The configuration for mapping properties from the interface asset model to the asset model where the interface is applied. This configuration controls how properties are matched and created during the interface application process.

Result Syntax

[
    'assetModelArn' => '<string>',
    'assetModelId' => '<string>',
    'assetModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|PROPAGATING|DELETING|FAILED',
    ],
    'interfaceAssetModelId' => '<string>',
]

Result Details

Members
assetModelArn
Required: Yes
Type: string

The ARN of the asset model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

assetModelId
Required: Yes
Type: string

The ID of the asset model.

assetModelStatus
Required: Yes
Type: AssetModelStatus structure

Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.

interfaceAssetModelId
Required: Yes
Type: string

The ID of the interface asset model.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

PutDefaultEncryptionConfiguration

$result = $client->putDefaultEncryptionConfiguration([/* ... */]);
$promise = $client->putDefaultEncryptionConfigurationAsync([/* ... */]);

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

Parameter Syntax

$result = $client->putDefaultEncryptionConfiguration([
    'encryptionType' => 'SITEWISE_DEFAULT_ENCRYPTION|KMS_BASED_ENCRYPTION', // REQUIRED
    'kmsKeyId' => '<string>',
]);

Parameter Details

Members
encryptionType
Required: Yes
Type: string

The type of encryption used for the encryption configuration.

kmsKeyId
Type: string

The Key ID of the customer managed key used for KMS encryption. This is required if you use KMS_BASED_ENCRYPTION.

Result Syntax

[
    'configurationStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'ACTIVE|UPDATE_IN_PROGRESS|UPDATE_FAILED',
    ],
    'encryptionType' => 'SITEWISE_DEFAULT_ENCRYPTION|KMS_BASED_ENCRYPTION',
    'kmsKeyArn' => '<string>',
]

Result Details

Members
configurationStatus
Required: Yes
Type: ConfigurationStatus structure

The status of the account configuration. This contains the ConfigurationState. If there is an error, it also contains the ErrorDetails.

encryptionType
Required: Yes
Type: string

The type of encryption used for the encryption configuration.

kmsKeyArn
Type: string

The Key ARN of the KMS key used for KMS encryption if you use KMS_BASED_ENCRYPTION.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

PutLoggingOptions

$result = $client->putLoggingOptions([/* ... */]);
$promise = $client->putLoggingOptionsAsync([/* ... */]);

Sets logging options for IoT SiteWise.

Parameter Syntax

$result = $client->putLoggingOptions([
    'loggingOptions' => [ // REQUIRED
        'level' => 'ERROR|INFO|OFF', // REQUIRED
    ],
    'workspaceName' => '<string>',
]);

Parameter Details

Members
loggingOptions
Required: Yes
Type: LoggingOptions structure

The logging options to set.

workspaceName
Type: string

The name of the workspace.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

ResourceNotFoundException:

The requested resource can't be found.

PutStorageConfiguration

$result = $client->putStorageConfiguration([/* ... */]);
$promise = $client->putStorageConfigurationAsync([/* ... */]);

Configures storage settings for IoT SiteWise.

Parameter Syntax

$result = $client->putStorageConfiguration([
    'disallowIngestNullNaN' => true || false,
    'disassociatedDataStorage' => 'ENABLED|DISABLED',
    'multiLayerStorage' => [
        'customerManagedS3Storage' => [ // REQUIRED
            'roleArn' => '<string>', // REQUIRED
            's3ResourceArn' => '<string>', // REQUIRED
        ],
    ],
    'retentionPeriod' => [
        'numberOfDays' => <integer>,
        'unlimited' => true || false,
    ],
    'storageType' => 'SITEWISE_DEFAULT_STORAGE|MULTI_LAYER_STORAGE', // REQUIRED
    'warmTier' => 'ENABLED|DISABLED',
    'warmTierRetentionPeriod' => [
        'numberOfDays' => <integer>,
        'unlimited' => true || false,
    ],
]);

Parameter Details

Members
disallowIngestNullNaN
Type: boolean

Describes the configuration for ingesting NULL and NaN data. By default the feature is allowed. The feature is disallowed if the value is true.

disassociatedDataStorage
Type: string

Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values:

  • ENABLED – IoT SiteWise accepts time series that aren't associated with asset properties.

    After the disassociatedDataStorage is enabled, you can't disable it.

  • DISABLED – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.

For more information, see Data streams in the IoT SiteWise User Guide.

multiLayerStorage
Type: MultiLayerStorage structure

Identifies a storage destination. If you specified MULTI_LAYER_STORAGE for the storage type, you must specify a MultiLayerStorage object.

retentionPeriod
Type: RetentionPeriod structure

The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.

storageType
Required: Yes
Type: string

The storage tier that you specified for your data. The storageType parameter can be one of the following values:

  • SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database.

  • MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.

warmTier
Type: string

A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.

warmTierRetentionPeriod
Type: WarmTierRetentionPeriod structure

Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.

Result Syntax

[
    'configurationStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'ACTIVE|UPDATE_IN_PROGRESS|UPDATE_FAILED',
    ],
    'disallowIngestNullNaN' => true || false,
    'disassociatedDataStorage' => 'ENABLED|DISABLED',
    'multiLayerStorage' => [
        'customerManagedS3Storage' => [
            'roleArn' => '<string>',
            's3ResourceArn' => '<string>',
        ],
    ],
    'retentionPeriod' => [
        'numberOfDays' => <integer>,
        'unlimited' => true || false,
    ],
    'storageType' => 'SITEWISE_DEFAULT_STORAGE|MULTI_LAYER_STORAGE',
    'warmTier' => 'ENABLED|DISABLED',
    'warmTierRetentionPeriod' => [
        'numberOfDays' => <integer>,
        'unlimited' => true || false,
    ],
]

Result Details

Members
configurationStatus
Required: Yes
Type: ConfigurationStatus structure

Contains current status information for the configuration.

disallowIngestNullNaN
Type: boolean

Describes the configuration for ingesting NULL and NaN data. By default the feature is allowed. The feature is disallowed if the value is true.

disassociatedDataStorage
Type: string

Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values:

  • ENABLED – IoT SiteWise accepts time series that aren't associated with asset properties.

    After the disassociatedDataStorage is enabled, you can't disable it.

  • DISABLED – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.

For more information, see Data streams in the IoT SiteWise User Guide.

multiLayerStorage
Type: MultiLayerStorage structure

Contains information about the storage destination.

retentionPeriod
Type: RetentionPeriod structure

The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.

storageType
Required: Yes
Type: string

The storage tier that you specified for your data. The storageType parameter can be one of the following values:

  • SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database.

  • MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.

warmTier
Type: string

A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.

warmTierRetentionPeriod
Type: WarmTierRetentionPeriod structure

Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

StartPipelineExecution

$result = $client->startPipelineExecution([/* ... */]);
$promise = $client->startPipelineExecutionAsync([/* ... */]);

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.

You can provide runtime environment variable overrides that take the highest priority in the environment variable hierarchy, without modifying the pipeline definition.

Parameter Syntax

$result = $client->startPipelineExecution([
    'clientToken' => '<string>',
    'executionEnvironmentVariableOverrides' => [
        'computeNodes' => [
            '<ResourceName>' => ['<string>', ...],
            // ...
        ],
        'global' => ['<string>', ...],
    ],
    'executionPriority' => <integer>,
    'pipelineName' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token, the server returns the cached result from the original successful request without performing the operation again.

executionEnvironmentVariableOverrides

Runtime environment variable overrides for the execution. Includes global variables that apply to all compute nodes and computeNodes for per-node overrides. These take the highest priority in the environment variable hierarchy.

executionPriority
Type: int

Scheduling priority for the execution. Lower values indicate higher priority. Defaults to 2 when not specified.

pipelineName
Required: Yes
Type: string

The name of the pipeline to execute.

workspaceName
Required: Yes
Type: string

The name of the workspace containing the pipeline.

Result Syntax

[
    'pipelineExecutionId' => '<string>',
]

Result Details

Members
pipelineExecutionId
Required: Yes
Type: string

The unique identifier of the created pipeline execution.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

StartQuery

$result = $client->startQuery([/* ... */]);
$promise = $client->startQueryAsync([/* ... */]);

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

Parameter Syntax

$result = $client->startQuery([
    'clientToken' => '<string>',
    'queryStatement' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: 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.

queryStatement
Required: Yes
Type: string

The SQL query to execute against the workspace telemetry, annotations, data segment, and dataset data.

workspaceName
Required: Yes
Type: string

The name of the workspace to query.

Result Syntax

[
    'queryId' => '<string>',
    'status' => 'SUBMITTED|RUNNING|COMPLETED|FAILED|CANCELED|CANCELING',
]

Result Details

Members
queryId
Required: Yes
Type: string

The unique identifier for the query execution.

status
Required: Yes
Type: string

The initial query status. The value is always SUBMITTED upon creation.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

StartSearch

$result = $client->startSearch([/* ... */]);
$promise = $client->startSearchAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->startSearch([
    'clientToken' => '<string>',
    'groupId' => '<string>',
    'queryStatement' => '<string>', // REQUIRED
    'searchFilters' => [
        'datasetIds' => ['<string>', ...],
        'timeIntervals' => [
            [
                'endTime' => [ // REQUIRED
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>, // REQUIRED
                ],
                'startTime' => [ // REQUIRED
                    'offsetInNanos' => <integer>,
                    'timeInSeconds' => <integer>, // REQUIRED
                ],
            ],
            // ...
        ],
        'timeSeriesIds' => ['<string>', ...],
    ],
    'searchType' => 'DEEP|QUICK',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier you provide to ensure the request is idempotent. Repeating a StartSearch call with the same clientToken returns the original search rather than starting a new one. If omitted, the SDK autogenerates one.

groupId
Type: string

An optional caller-supplied identifier used to group related searches together.

queryStatement
Required: Yes
Type: string

The natural-language query describing the data to search for.

searchFilters
Type: SearchFilters structure

Optional filters that restrict the search to a subset of the workspace's data.

searchType
Type: string

The search strategy to use. Defaults to QUICK when omitted.

workspaceName
Required: Yes
Type: string

The name of the workspace whose data is searched.

Result Syntax

[
    'groupId' => '<string>',
    'searchId' => '<string>',
    'status' => 'QUEUED|RUNNING|SUCCEEDED|FAILED',
    'workspaceName' => '<string>',
]

Result Details

Members
groupId
Type: string

The group identifier associated with the search, if one was supplied on the request.

searchId
Required: Yes
Type: string

The unique identifier assigned to the newly started search.

status
Required: Yes
Type: string

The initial status of the search. A newly started search is QUEUED.

workspaceName
Required: Yes
Type: string

The name of the workspace the search runs against.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

TagResource

$result = $client->tagResource([/* ... */]);
$promise = $client->tagResourceAsync([/* ... */]);

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

Parameter Syntax

$result = $client->tagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tags' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource to tag.

tags
Required: Yes
Type: Associative array of custom strings keys (TagKey) to strings

A list of key-value pairs that contain metadata for the resource. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

UnauthorizedException:

You are not authorized.

TooManyTagsException:

You've reached the quota for the number of tags allowed for a resource. For more information, see Tag naming limits and requirements in the Amazon Web Services General Reference.

UntagResource

$result = $client->untagResource([/* ... */]);
$promise = $client->untagResourceAsync([/* ... */]);

Removes a tag from an IoT SiteWise resource.

Parameter Syntax

$result = $client->untagResource([
    'resourceArn' => '<string>', // REQUIRED
    'tagKeys' => ['<string>', ...], // REQUIRED
]);

Parameter Details

Members
resourceArn
Required: Yes
Type: string

The ARN of the resource to untag.

tagKeys
Required: Yes
Type: Array of strings

A list of keys for tags to remove from the resource.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ResourceNotFoundException:

The requested resource can't be found.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

UnauthorizedException:

You are not authorized.

UpdateAccessPolicy

$result = $client->updateAccessPolicy([/* ... */]);
$promise = $client->updateAccessPolicyAsync([/* ... */]);

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.

Updates an existing access policy that specifies an identity's access to an IoT SiteWise Monitor portal or project resource.

Parameter Syntax

$result = $client->updateAccessPolicy([
    'accessPolicyId' => '<string>', // REQUIRED
    'accessPolicyIdentity' => [ // REQUIRED
        'group' => [
            'id' => '<string>', // REQUIRED
        ],
        'iamRole' => [
            'arn' => '<string>', // REQUIRED
        ],
        'iamUser' => [
            'arn' => '<string>', // REQUIRED
        ],
        'user' => [
            'id' => '<string>', // REQUIRED
        ],
    ],
    'accessPolicyPermission' => 'ADMINISTRATOR|VIEWER', // REQUIRED
    'accessPolicyResource' => [ // REQUIRED
        'portal' => [
            'id' => '<string>', // REQUIRED
        ],
        'project' => [
            'id' => '<string>', // REQUIRED
        ],
    ],
    'clientToken' => '<string>',
]);

Parameter Details

Members
accessPolicyId
Required: Yes
Type: string

The ID of the access policy.

accessPolicyIdentity
Required: Yes
Type: Identity structure

The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.

accessPolicyPermission
Required: Yes
Type: string

The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.

accessPolicyResource
Required: Yes
Type: Resource structure

The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.

clientToken
Type: 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.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

UpdateAsset

$result = $client->updateAsset([/* ... */]);
$promise = $client->updateAssetAsync([/* ... */]);

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

Parameter Syntax

$result = $client->updateAsset([
    'assetDescription' => '<string>',
    'assetExternalId' => '<string>',
    'assetId' => '<string>', // REQUIRED
    'assetName' => '<string>', // REQUIRED
    'clientToken' => '<string>',
]);

Parameter Details

Members
assetDescription
Type: string

A description for the asset.

assetExternalId
Type: string

An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.

assetId
Required: Yes
Type: string

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

assetName
Required: Yes
Type: string

A friendly name for the asset.

clientToken
Type: 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.

Result Syntax

[
    'assetId' => '<string>',
    'assetStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
assetId
Type: string

The ID of the asset.

assetStatus
Required: Yes
Type: AssetStatus structure

The status of the asset, which contains a state (UPDATING after successfully calling this operation) and any error message.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

UpdateAssetModel

$result = $client->updateAssetModel([/* ... */]);
$promise = $client->updateAssetModelAsync([/* ... */]);

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.

If you remove a property from an asset model, IoT SiteWise deletes all previous data for that property. You can’t change the type or data type of an existing property.

To replace an existing asset model property with a new one with the same name, do the following:

  1. Submit an UpdateAssetModel request with the entire existing property removed.

  2. Submit a second UpdateAssetModel request that includes the new property. The new asset property will have the same name as the previous one and IoT SiteWise will generate a new unique id.

Parameter Syntax

$result = $client->updateAssetModel([
    'assetModelCompositeModels' => [
        [
            'description' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>', // REQUIRED
            'properties' => [
                [
                    'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON', // REQUIRED
                    'dataTypeSpec' => '<string>',
                    'externalId' => '<string>',
                    'id' => '<string>',
                    'name' => '<string>', // REQUIRED
                    'path' => [
                        [
                            'id' => '<string>',
                            'name' => '<string>',
                        ],
                        // ...
                    ],
                    'type' => [ // REQUIRED
                        'attribute' => [
                            'defaultValue' => '<string>',
                        ],
                        'measurement' => [
                            'processingConfig' => [
                                'forwardingConfig' => [ // REQUIRED
                                    'state' => 'DISABLED|ENABLED', // REQUIRED
                                ],
                            ],
                        ],
                        'metric' => [
                            'expression' => '<string>',
                            'processingConfig' => [
                                'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                            ],
                            'variables' => [
                                [
                                    'name' => '<string>', // REQUIRED
                                    'value' => [ // REQUIRED
                                        'hierarchyId' => '<string>',
                                        'propertyId' => '<string>',
                                        'propertyPath' => [
                                            [
                                                'id' => '<string>',
                                                'name' => '<string>',
                                            ],
                                            // ...
                                        ],
                                    ],
                                ],
                                // ...
                            ],
                            'window' => [ // REQUIRED
                                'tumbling' => [
                                    'interval' => '<string>', // REQUIRED
                                    'offset' => '<string>',
                                ],
                            ],
                        ],
                        'transform' => [
                            'expression' => '<string>', // REQUIRED
                            'processingConfig' => [
                                'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                                'forwardingConfig' => [
                                    'state' => 'DISABLED|ENABLED', // REQUIRED
                                ],
                            ],
                            'variables' => [ // REQUIRED
                                [
                                    'name' => '<string>', // REQUIRED
                                    'value' => [ // REQUIRED
                                        'hierarchyId' => '<string>',
                                        'propertyId' => '<string>',
                                        'propertyPath' => [
                                            [
                                                'id' => '<string>',
                                                'name' => '<string>',
                                            ],
                                            // ...
                                        ],
                                    ],
                                ],
                                // ...
                            ],
                        ],
                    ],
                    'unit' => '<string>',
                ],
                // ...
            ],
            'type' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'assetModelDescription' => '<string>',
    'assetModelExternalId' => '<string>',
    'assetModelHierarchies' => [
        [
            'childAssetModelId' => '<string>', // REQUIRED
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'assetModelId' => '<string>', // REQUIRED
    'assetModelName' => '<string>', // REQUIRED
    'assetModelProperties' => [
        [
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON', // REQUIRED
            'dataTypeSpec' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>', // REQUIRED
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => [ // REQUIRED
                'attribute' => [
                    'defaultValue' => '<string>',
                ],
                'measurement' => [
                    'processingConfig' => [
                        'forwardingConfig' => [ // REQUIRED
                            'state' => 'DISABLED|ENABLED', // REQUIRED
                        ],
                    ],
                ],
                'metric' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                    ],
                    'variables' => [
                        [
                            'name' => '<string>', // REQUIRED
                            'value' => [ // REQUIRED
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'window' => [ // REQUIRED
                        'tumbling' => [
                            'interval' => '<string>', // REQUIRED
                            'offset' => '<string>',
                        ],
                    ],
                ],
                'transform' => [
                    'expression' => '<string>', // REQUIRED
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED', // REQUIRED
                        ],
                    ],
                    'variables' => [ // REQUIRED
                        [
                            'name' => '<string>', // REQUIRED
                            'value' => [ // REQUIRED
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                ],
            ],
            'unit' => '<string>',
        ],
        // ...
    ],
    'clientToken' => '<string>',
    'ifMatch' => '<string>',
    'ifNoneMatch' => '<string>',
    'matchForVersionType' => 'LATEST|ACTIVE',
]);

Parameter Details

Members
assetModelCompositeModels
Type: Array of AssetModelCompositeModel structures

The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.

When creating custom composite models, you need to use CreateAssetModelCompositeModel. For more information, see Creating custom composite models (Components) in the IoT SiteWise User Guide.

assetModelDescription
Type: string

A description for the asset model.

assetModelExternalId
Type: string

An external ID to assign to the asset model. The asset model must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.

assetModelHierarchies
Type: Array of AssetModelHierarchy structures

The updated hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide.

You can specify up to 10 hierarchies per asset model. For more information, see Quotas in the IoT SiteWise User Guide.

assetModelId
Required: Yes
Type: string

The ID of the asset model to update. 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.

assetModelName
Required: Yes
Type: string

A unique name for the asset model.

assetModelProperties
Type: Array of AssetModelProperty structures

The updated property definitions of the asset model. For more information, see Asset properties in the IoT SiteWise User Guide.

You can specify up to 200 properties per asset model. For more information, see Quotas in the IoT SiteWise User Guide.

clientToken
Type: 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.

ifMatch
Type: string

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The update request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

ifNoneMatch
Type: string

Accepts * to reject the update request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

matchForVersionType
Type: string

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the update operation.

Result Syntax

[
    'assetModelId' => '<string>',
    'assetModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|PROPAGATING|DELETING|FAILED',
    ],
]

Result Details

Members
assetModelId
Type: string

The ID of the asset model.

assetModelStatus
Required: Yes
Type: AssetModelStatus structure

The status of the asset model, which contains a state (UPDATING after successfully calling this operation) and any error message.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

PreconditionFailedException:

The precondition in one or more of the request-header fields evaluated to FALSE.

UpdateAssetModelCompositeModel

$result = $client->updateAssetModelCompositeModel([/* ... */]);
$promise = $client->updateAssetModelCompositeModelAsync([/* ... */]);

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.

If you remove a property from a composite asset model, IoT SiteWise deletes all previous data for that property. You can’t change the type or data type of an existing property.

To replace an existing composite asset model property with a new one with the same name, do the following:

  1. Submit an UpdateAssetModelCompositeModel request with the entire existing property removed.

  2. Submit a second UpdateAssetModelCompositeModel request that includes the new property. The new asset property will have the same name as the previous one and IoT SiteWise will generate a new unique id.

Parameter Syntax

$result = $client->updateAssetModelCompositeModel([
    'assetModelCompositeModelDescription' => '<string>',
    'assetModelCompositeModelExternalId' => '<string>',
    'assetModelCompositeModelId' => '<string>', // REQUIRED
    'assetModelCompositeModelName' => '<string>', // REQUIRED
    'assetModelCompositeModelProperties' => [
        [
            'dataType' => 'STRING|INTEGER|DOUBLE|BOOLEAN|STRUCT|VIDEO|ANNOTATION|JSON', // REQUIRED
            'dataTypeSpec' => '<string>',
            'externalId' => '<string>',
            'id' => '<string>',
            'name' => '<string>', // REQUIRED
            'path' => [
                [
                    'id' => '<string>',
                    'name' => '<string>',
                ],
                // ...
            ],
            'type' => [ // REQUIRED
                'attribute' => [
                    'defaultValue' => '<string>',
                ],
                'measurement' => [
                    'processingConfig' => [
                        'forwardingConfig' => [ // REQUIRED
                            'state' => 'DISABLED|ENABLED', // REQUIRED
                        ],
                    ],
                ],
                'metric' => [
                    'expression' => '<string>',
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                    ],
                    'variables' => [
                        [
                            'name' => '<string>', // REQUIRED
                            'value' => [ // REQUIRED
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                    'window' => [ // REQUIRED
                        'tumbling' => [
                            'interval' => '<string>', // REQUIRED
                            'offset' => '<string>',
                        ],
                    ],
                ],
                'transform' => [
                    'expression' => '<string>', // REQUIRED
                    'processingConfig' => [
                        'computeLocation' => 'EDGE|CLOUD', // REQUIRED
                        'forwardingConfig' => [
                            'state' => 'DISABLED|ENABLED', // REQUIRED
                        ],
                    ],
                    'variables' => [ // REQUIRED
                        [
                            'name' => '<string>', // REQUIRED
                            'value' => [ // REQUIRED
                                'hierarchyId' => '<string>',
                                'propertyId' => '<string>',
                                'propertyPath' => [
                                    [
                                        'id' => '<string>',
                                        'name' => '<string>',
                                    ],
                                    // ...
                                ],
                            ],
                        ],
                        // ...
                    ],
                ],
            ],
            'unit' => '<string>',
        ],
        // ...
    ],
    'assetModelId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'ifMatch' => '<string>',
    'ifNoneMatch' => '<string>',
    'matchForVersionType' => 'LATEST|ACTIVE',
]);

Parameter Details

Members
assetModelCompositeModelDescription
Type: string

A description for the composite model.

assetModelCompositeModelExternalId
Type: string

An external ID to assign to the asset model. You can only set the external ID of the asset model if it wasn't set when it was created, or you're setting it to the exact same thing as when it was created.

assetModelCompositeModelId
Required: Yes
Type: string

The ID of a composite model on this asset model.

assetModelCompositeModelName
Required: Yes
Type: string

A unique name for the composite model.

assetModelCompositeModelProperties
Type: Array of AssetModelProperty structures

The property definitions of the composite model. For more information, see Inline custom composite models in the IoT SiteWise User Guide.

You can specify up to 200 properties per composite model. For more information, see Quotas in the IoT SiteWise User Guide.

assetModelId
Required: Yes
Type: string

The ID of the asset model, in UUID format.

clientToken
Type: 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.

ifMatch
Type: string

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The update request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

ifNoneMatch
Type: string

Accepts * to reject the update request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

matchForVersionType
Type: string

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the update operation.

Result Syntax

[
    'assetModelCompositeModelPath' => [
        [
            'id' => '<string>',
            'name' => '<string>',
        ],
        // ...
    ],
    'assetModelId' => '<string>',
    'assetModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|PROPAGATING|DELETING|FAILED',
    ],
]

Result Details

Members
assetModelCompositeModelPath
Required: Yes
Type: Array of AssetModelCompositeModelPathSegment structures

The path to the composite model listing the parent composite models.

assetModelId
Type: string

The ID of the asset model.

assetModelStatus
Required: Yes
Type: AssetModelStatus structure

Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.

Errors

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

PreconditionFailedException:

The precondition in one or more of the request-header fields evaluated to FALSE.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

UpdateAssetProperty

$result = $client->updateAssetProperty([/* ... */]);
$promise = $client->updateAssetPropertyAsync([/* ... */]);

Updates an asset property's alias and notification state.

This operation overwrites the property's existing alias and notification state. To keep your existing property's alias or notification state, you must include the existing values in the UpdateAssetProperty request. For more information, see DescribeAssetProperty.

Parameter Syntax

$result = $client->updateAssetProperty([
    'assetId' => '<string>', // REQUIRED
    'clientToken' => '<string>',
    'propertyAlias' => '<string>',
    'propertyId' => '<string>', // REQUIRED
    'propertyNotificationState' => 'ENABLED|DISABLED',
    'propertyUnit' => '<string>',
]);

Parameter Details

Members
assetId
Required: Yes
Type: string

The ID of the asset to be updated. 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
Type: 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.

propertyAlias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

If you omit this parameter, the alias is removed from the property.

propertyId
Required: Yes
Type: string

The ID of the asset property to be updated. 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.

propertyNotificationState
Type: string

The MQTT notification state (enabled or disabled) for this asset property. When the notification state is enabled, IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the IoT SiteWise User Guide.

If you omit this parameter, the notification state is set to DISABLED.

propertyUnit
Type: string

The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

UpdateComputationModel

$result = $client->updateComputationModel([/* ... */]);
$promise = $client->updateComputationModelAsync([/* ... */]);

Updates the computation model.

Parameter Syntax

$result = $client->updateComputationModel([
    'clientToken' => '<string>',
    'computationModelConfiguration' => [ // REQUIRED
        'anomalyDetection' => [
            'inputProperties' => '<string>', // REQUIRED
            'resultProperty' => '<string>', // REQUIRED
        ],
    ],
    'computationModelDataBinding' => [ // REQUIRED
        '<ComputationModelDataBindingVariable>' => [
            'assetModelProperty' => [
                'assetModelId' => '<string>', // REQUIRED
                'propertyId' => '<string>', // REQUIRED
            ],
            'assetProperty' => [
                'assetId' => '<string>', // REQUIRED
                'propertyId' => '<string>', // REQUIRED
            ],
            'list' => [
                [...], // RECURSIVE
                // ...
            ],
        ],
        // ...
    ],
    'computationModelDescription' => '<string>',
    'computationModelId' => '<string>', // REQUIRED
    'computationModelName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: 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.

computationModelConfiguration
Required: Yes
Type: ComputationModelConfiguration structure

The configuration for the computation model.

computationModelDataBinding
Required: Yes
Type: Associative array of custom strings keys (ComputationModelDataBindingVariable) to ComputationModelDataBindingValue structures

The data binding for the computation model. Key is a variable name defined in configuration. Value is a ComputationModelDataBindingValue referenced by the variable.

computationModelDescription
Type: string

The description of the computation model.

computationModelId
Required: Yes
Type: string

The ID of the computation model.

computationModelName
Required: Yes
Type: string

The name of the computation model.

Result Syntax

[
    'computationModelStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
computationModelStatus
Required: Yes
Type: ComputationModelStatus structure

The status of the computation model. It contains a state (UPDATING after successfully calling this operation) and an error message if any.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

UpdateDashboard

$result = $client->updateDashboard([/* ... */]);
$promise = $client->updateDashboardAsync([/* ... */]);

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.

Updates an IoT SiteWise Monitor dashboard.

Parameter Syntax

$result = $client->updateDashboard([
    'clientToken' => '<string>',
    'dashboardDefinition' => '<string>', // REQUIRED
    'dashboardDescription' => '<string>',
    'dashboardId' => '<string>', // REQUIRED
    'dashboardName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: 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.

dashboardDefinition
Required: Yes
Type: string

The new dashboard definition, as specified in a JSON literal.

in the IoT SiteWise User Guide

dashboardDescription
Type: string

A new description for the dashboard.

dashboardId
Required: Yes
Type: string

The ID of the dashboard to update.

dashboardName
Required: Yes
Type: string

A new friendly name for the dashboard.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

UpdateDataset

$result = $client->updateDataset([/* ... */]);
$promise = $client->updateDatasetAsync([/* ... */]);

Updates a dataset.

Parameter Syntax

$result = $client->updateDataset([
    'clientToken' => '<string>',
    'datasetConfig' => [
        'session' => [
            'sessionEndTimestamp' => [ // REQUIRED
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
            'sessionStartTimestamp' => [ // REQUIRED
                'offsetInNanos' => <integer>,
                'timeInSeconds' => <integer>, // REQUIRED
            ],
        ],
    ],
    'datasetDescription' => '<string>',
    'datasetId' => '<string>', // REQUIRED
    'datasetName' => '<string>', // REQUIRED
    'datasetSource' => [ // REQUIRED
        'sourceDetail' => [
            'kendra' => [
                'knowledgeBaseArn' => '<string>', // REQUIRED
                'roleArn' => '<string>', // REQUIRED
            ],
        ],
        'sourceFormat' => 'KNOWLEDGE_BASE|TIMESERIES', // REQUIRED
        'sourceType' => 'KENDRA|SITEWISE', // REQUIRED
    ],
    'metadata' => ['<string>', ...],
    'workspaceName' => '<string>',
]);

Parameter Details

Members
clientToken
Type: 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.

datasetConfig
Type: DatasetConfig structure

The updated configuration for the dataset.

datasetDescription
Type: string

A description about the dataset, and its functionality.

datasetId
Required: Yes
Type: string

The ID of the dataset.

datasetName
Required: Yes
Type: string

The name of the dataset.

datasetSource
Required: Yes
Type: DatasetSource structure

The data source for the dataset.

metadata
Type: Associative array of custom strings keys (MetadataKey) to strings

The updated metadata for the dataset.

workspaceName
Type: string

The name of the workspace that contains the dataset.

Result Syntax

[
    'datasetArn' => '<string>',
    'datasetId' => '<string>',
    'datasetStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'details' => [
                [
                    'code' => 'INCOMPATIBLE_COMPUTE_LOCATION|INCOMPATIBLE_FORWARDING_CONFIGURATION',
                    'message' => '<string>',
                ],
                // ...
            ],
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
datasetArn
Type: string

The ARN of the dataset. The format is arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.

datasetId
Type: string

The ID of the dataset.

datasetStatus
Type: DatasetStatus structure

The status of the dataset. This contains the state and any error messages. State is UPDATING after a successfull call to this API, and any associated error message. The state is ACTIVE when ready to use.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceAlreadyExistsException:

The resource already exists.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

UpdateGateway

$result = $client->updateGateway([/* ... */]);
$promise = $client->updateGatewayAsync([/* ... */]);

Updates a gateway's name.

Parameter Syntax

$result = $client->updateGateway([
    'gatewayId' => '<string>', // REQUIRED
    'gatewayName' => '<string>', // REQUIRED
]);

Parameter Details

Members
gatewayId
Required: Yes
Type: string

The ID of the gateway to update.

gatewayName
Required: Yes
Type: string

A unique name for the gateway.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

UpdateGatewayCapabilityConfiguration

$result = $client->updateGatewayCapabilityConfiguration([/* ... */]);
$promise = $client->updateGatewayCapabilityConfigurationAsync([/* ... */]);

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

Important workflow notes:

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

. The namespace follows the format service:capability:version, where:

  • service - The service providing the capability, or iotsitewise.

  • capability - The specific capability type. Options include: opcuacollector for the OPC UA data source collector, or publisher for data publisher capability.

  • version - The version number of the capability. Option include 2 for Classic streams, V2 gateways, and 3 for MQTT-enabled, V3 gateways.

After updating a capability configuration, the sync status becomes OUT_OF_SYNC until the gateway processes the configuration.Use DescribeGatewayCapabilityConfiguration to check the sync status and verify the configuration was applied.

A gateway can have multiple capability configurations with different namespaces.

Parameter Syntax

$result = $client->updateGatewayCapabilityConfiguration([
    'capabilityConfiguration' => '<string>', // REQUIRED
    'capabilityNamespace' => '<string>', // REQUIRED
    'gatewayId' => '<string>', // REQUIRED
]);

Parameter Details

Members
capabilityConfiguration
Required: Yes
Type: string

The JSON document that defines the configuration for the gateway capability. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.

capabilityNamespace
Required: Yes
Type: string

The namespace of the gateway capability configuration to be updated. For example, if you configure OPC UA sources for an MQTT-enabled gateway, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:3.

gatewayId
Required: Yes
Type: string

The ID of the gateway to be updated.

Result Syntax

[
    'capabilityNamespace' => '<string>',
    'capabilitySyncStatus' => 'IN_SYNC|OUT_OF_SYNC|SYNC_FAILED|UNKNOWN|NOT_APPLICABLE',
]

Result Details

Members
capabilityNamespace
Required: Yes
Type: string

The namespace of the gateway capability.

capabilitySyncStatus
Required: Yes
Type: string

The synchronization status of the gateway capability configuration. The sync status can be one of the following:

  • IN_SYNC - The gateway is running with the latest configuration.

  • OUT_OF_SYNC - The gateway hasn't received the latest configuration.

  • SYNC_FAILED - The gateway rejected the latest configuration.

  • UNKNOWN - The gateway hasn't reported its sync status.

  • NOT_APPLICABLE - The gateway doesn't support this capability. This is most common when integrating partner data sources, because the data integration is handled externally by the partner.

After you update a capability configuration, its sync status is OUT_OF_SYNC until the gateway receives and applies or rejects the updated configuration.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

UpdatePipeline

$result = $client->updatePipeline([/* ... */]);
$promise = $client->updatePipelineAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->updatePipeline([
    'computations' => [
        [
            'computeNodeName' => '<string>', // REQUIRED
            'dependsOn' => ['<string>', ...],
            'environmentVariables' => ['<string>', ...],
            'taskName' => '<string>', // REQUIRED
        ],
        // ...
    ],
    'description' => '<string>',
    'environmentVariables' => ['<string>', ...],
    'pipelineName' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
computations
Type: Array of ComputeNode structures

Updated list of compute nodes forming the pipeline DAG.

description
Type: string

A new description for the pipeline.

environmentVariables
Type: Associative array of custom strings keys (EnvironmentVariableName) to strings

Updated environment variables shared across all compute nodes.

pipelineName
Required: Yes
Type: string

The name of the pipeline to update.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'status' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
    'version' => '<string>',
]

Result Details

Members
status
Required: Yes
Type: ResourceStatus structure

The current lifecycle status of the pipeline.

version
Required: Yes
Type: string

The new version of the pipeline created by this update.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

LimitExceededException:

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

UpdatePortal

$result = $client->updatePortal([/* ... */]);
$promise = $client->updatePortalAsync([/* ... */]);

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.

Updates an IoT SiteWise Monitor portal.

Parameter Syntax

$result = $client->updatePortal([
    'alarms' => [
        'alarmRoleArn' => '<string>', // REQUIRED
        'notificationLambdaArn' => '<string>',
    ],
    'clientToken' => '<string>',
    'notificationSenderEmail' => '<string>',
    'portalContactEmail' => '<string>', // REQUIRED
    'portalDescription' => '<string>',
    'portalId' => '<string>', // REQUIRED
    'portalLogoImage' => [
        'file' => [
            'data' => <string || resource || Psr\Http\Message\StreamInterface>, // REQUIRED
            'type' => 'PNG', // REQUIRED
        ],
        'id' => '<string>',
    ],
    'portalName' => '<string>', // REQUIRED
    'portalType' => 'SITEWISE_PORTAL_V1|SITEWISE_PORTAL_V2',
    'portalTypeConfiguration' => [
        '<PortalTypeKey>' => [
            'portalTools' => ['<string>', ...],
        ],
        // ...
    ],
    'roleArn' => '<string>', // REQUIRED
]);

Parameter Details

Members
alarms
Type: Alarms structure

Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.

clientToken
Type: 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.

notificationSenderEmail
Type: string

The email address that sends alarm notifications.

portalContactEmail
Required: Yes
Type: string

The Amazon Web Services administrator's contact email address.

portalDescription
Type: string

A new description for the portal.

portalId
Required: Yes
Type: string

The ID of the portal to update.

portalLogoImage
Type: Image structure

Contains an image that is one of the following:

  • An image file. Choose this option to upload a new image.

  • The ID of an existing image. Choose this option to keep an existing image.

portalName
Required: Yes
Type: string

A new friendly name for the portal.

portalType
Type: string

Define the type of portal. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.

portalTypeConfiguration
Type: Associative array of custom strings keys (PortalTypeKey) to PortalTypeEntry structures

The configuration entry associated with the specific portal type. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.

roleArn
Required: Yes
Type: string

The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.

Result Syntax

[
    'portalStatus' => [
        'error' => [
            'code' => 'INTERNAL_FAILURE|VALIDATION_ERROR|LIMIT_EXCEEDED',
            'message' => '<string>',
        ],
        'state' => 'CREATING|PENDING|UPDATING|DELETING|ACTIVE|FAILED',
    ],
]

Result Details

Members
portalStatus
Required: Yes
Type: PortalStatus structure

The status of the portal, which contains a state (UPDATING after successfully calling this operation) and any error message.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

UpdateProject

$result = $client->updateProject([/* ... */]);
$promise = $client->updateProjectAsync([/* ... */]);

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.

Updates an IoT SiteWise Monitor project.

Parameter Syntax

$result = $client->updateProject([
    'clientToken' => '<string>',
    'projectDescription' => '<string>',
    'projectId' => '<string>', // REQUIRED
    'projectName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: 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.

projectDescription
Type: string

A new description for the project.

projectId
Required: Yes
Type: string

The ID of the project to update.

projectName
Required: Yes
Type: string

A new friendly name for the project.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

UpdateTask

$result = $client->updateTask([/* ... */]);
$promise = $client->updateTaskAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->updateTask([
    'description' => '<string>',
    'taskConfiguration' => [
        'containerTaskConfiguration' => [
            'command' => ['<string>', ...],
            'ecrUri' => '<string>', // REQUIRED
            'environmentVariables' => ['<string>', ...],
            'processingType' => 'GENERIC_COMPUTE_PROCESSING|HARDWARE_ACCELERATED_PROCESSING', // REQUIRED
            'processingUnit' => 'UNITS_2|UNITS_4|UNITS_8|UNITS_12|UNITS_16|UNITS_24|UNITS_32|UNITS_36|UNITS_48|UNITS_60|UNITS_64|UNITS_72|UNITS_84|UNITS_96', // REQUIRED
            'taskExecutionRole' => '<string>', // REQUIRED
            'timeoutSeconds' => <integer>,
        ],
    ],
    'taskName' => '<string>', // REQUIRED
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
description
Type: string

A new description for the task.

taskConfiguration
Type: TaskConfiguration structure

The updated task execution configuration.

taskName
Required: Yes
Type: string

The name of the task to update.

workspaceName
Required: Yes
Type: string

The name of the workspace.

Result Syntax

[
    'status' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
    'version' => '<string>',
]

Result Details

Members
status
Required: Yes
Type: ResourceStatus structure

The current lifecycle status of the task.

version
Required: Yes
Type: string

The new version of the task created by this update.

Errors

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

AccessDeniedException:

Access is denied.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ResourceNotFoundException:

The requested resource can't be found.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

UpdateWorkspace

$result = $client->updateWorkspace([/* ... */]);
$promise = $client->updateWorkspaceAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->updateWorkspace([
    'clientToken' => '<string>',
    'encryptionConfiguration' => [
        'encryptionType' => 'SITEWISE_DEFAULT_ENCRYPTION|KMS_BASED_ENCRYPTION', // REQUIRED
        'kmsKeyId' => '<string>',
    ],
    'workspaceDescription' => '<string>',
    'workspaceName' => '<string>', // REQUIRED
]);

Parameter Details

Members
clientToken
Type: string

A unique, case-sensitive identifier that you provide to ensure that the request is idempotent. If you retry a request that completed successfully using the same client token, the retry succeeds without performing any further actions.

encryptionConfiguration

The encryption configuration for the workspace. Omit this field to leave encryption unchanged. After a customer managed key configuration becomes active, the key can't be changed; supplying the same key is accepted.

workspaceDescription
Type: string

A new description for the workspace.

workspaceName
Required: Yes
Type: string

The name of the workspace to update.

Result Syntax

[
    'workspaceStatus' => [
        'error' => [
            'code' => 'VALIDATION_ERROR|INTERNAL_FAILURE',
            'message' => '<string>',
        ],
        'state' => 'CREATING|ACTIVE|UPDATING|DELETING|FAILED',
    ],
]

Result Details

Members
workspaceStatus
Required: Yes
Type: WorkspaceStatus structure

The status of the workspace after the update, which is UPDATING when the operation returns.

Errors

AccessDeniedException:

Access is denied.

ResourceNotFoundException:

The requested resource can't be found.

InvalidRequestException:

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

ConflictingOperationException:

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

ThrottlingException:

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

InternalFailureException:

IoT SiteWise can't process your request right now. Try again later.

Shapes

AccessDeniedException

Description

Access is denied.

Members
message
Type: string

AccessPolicySummary

Description

Contains an access policy that defines an identity's access to an IoT SiteWise Monitor resource.

Members
creationDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the access policy was created, in Unix epoch time.

id
Required: Yes
Type: string

The ID of the access policy.

identity
Required: Yes
Type: Identity structure

The identity (an IAM Identity Center user, an IAM Identity Center group, or an IAM user).

lastUpdateDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the access policy was last updated, in Unix epoch time.

permission
Required: Yes
Type: string

The permissions for the access policy. Note that a project ADMINISTRATOR is also known as a project owner.

resource
Required: Yes
Type: Resource structure

The IoT SiteWise Monitor resource (a portal or project).

ActionDefinition

Description

Contains a definition for an action.

Members
actionDefinitionId
Required: Yes
Type: string

The ID of the action definition.

actionName
Required: Yes
Type: string

The name of the action definition.

actionType
Required: Yes
Type: string

The type of the action definition.

ActionPayload

Description

The JSON payload of the action.

Members
stringValue
Required: Yes
Type: string

The payload of the action in a JSON string.

ActionSummary

Description

Contains the summary of the actions, including information about where the action resolves to.

Members
actionDefinitionId
Type: string

The ID of the action definition.

actionId
Type: string

The ID of the action.

resolveTo
Type: ResolveTo structure

The detailed resource this action resolves to.

targetResource
Type: TargetResource structure

The resource the action will be taken on.

AggregatedValue

Description

Contains aggregated asset property values (for example, average, minimum, and maximum).

Members
quality
Type: string

The quality of the aggregated data.

timestamp
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the aggregating computations occurred, in Unix epoch time.

value
Required: Yes
Type: Aggregates structure

The value of the aggregates.

Aggregates

Description

Contains the (pre-calculated) aggregate values for an asset property.

Members
average
Type: double

The average (mean) value of the time series over a time interval window.

count
Type: double

The count of data points in the time series over a time interval window.

maximum
Type: double

The maximum value of the time series over a time interval window.

minimum
Type: double

The minimum value of the time series over a time interval window.

standardDeviation
Type: double

The standard deviation of the time series over a time interval window.

sum
Type: double

The sum of the time series over a time interval window.

Alarms

Description

Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.

Members
alarmRoleArn
Required: Yes
Type: string

The ARN of the IAM role that allows the alarm to perform actions and access Amazon Web Services resources and services, such as IoT Events.

notificationLambdaArn
Type: string

The ARN of the Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the IoT Events Developer Guide.

Annotation

Description

The annotation format configuration for bulk import files.

Members

ApplicationSummary

Description

Summary of an application for list operations

Members
arn
Required: Yes
Type: string

ARN of the application

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the application was created

id
Required: Yes
Type: string

Unique identifier of the application

name
Required: Yes
Type: string

Name of the application

status
Required: Yes
Type: string

Current status of the application

workspaceName
Required: Yes
Type: string

Name of the workspace this application belongs to

AssetBindingValueFilter

Description

A filter used to match data bindings based on a specific asset. This filter identifies all computation models referencing a particular asset in their data bindings.

Members
assetId
Required: Yes
Type: string

The ID of the asset to filter data bindings by. Only data bindings referencing this specific asset are matched.

AssetCompositeModel

Description

Contains information about a composite model in an asset. This object contains the asset's properties that you define in the composite model.

Members
description
Type: string

The description of the composite model.

externalId
Type: string

The external ID of the asset composite model. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Type: string

The ID of the asset composite model.

name
Required: Yes
Type: string

The name of the composite model.

properties
Required: Yes
Type: Array of AssetProperty structures

The asset properties that this composite model defines.

type
Required: Yes
Type: string

The type of the composite model. For alarm composite models, this type is AWS/ALARM.

AssetCompositeModelPathSegment

Description

Represents one level between a composite model and the root of the asset.

Members
id
Type: string

The ID of the path segment.

name
Type: string

The name of the path segment.

AssetCompositeModelSummary

Description

Contains a summary of the composite model for a specific asset.

Members
description
Required: Yes
Type: string

A description of the composite model that this summary describes.

externalId
Type: string

An external ID to assign to the asset model.

If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using UpdateAssetModelCompositeModel and specifying the derived ID of the model or property from the created model it's a part of.

id
Required: Yes
Type: string

The ID of the composite model that this summary describes.

name
Required: Yes
Type: string

The name of the composite model that this summary describes.

path
Required: Yes
Type: Array of AssetCompositeModelPathSegment structures

The path that includes all the components of the asset model for the asset.

type
Required: Yes
Type: string

The type of asset model.

  • ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.

  • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.

AssetErrorDetails

Description

Contains error details for the requested associate project asset action.

Members
assetId
Required: Yes
Type: string

The ID of the asset, in UUID format.

code
Required: Yes
Type: string

The error code.

message
Required: Yes
Type: string

The error message.

AssetHierarchy

Description

Describes an asset hierarchy that contains a hierarchy's name and ID.

Members
externalId
Type: string

The external ID of the hierarchy, if it has one. When you update an asset hierarchy, you may assign an external ID if it doesn't already have one. You can't change the external ID of an asset hierarchy that already has one. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Type: string

The ID of the hierarchy. This ID is a hierarchyId.

name
Required: Yes
Type: string

The hierarchy name provided in the CreateAssetModel or UpdateAssetModel API operation.

AssetHierarchyInfo

Description

Contains information about a parent asset and a child asset that are related through an asset hierarchy.

Members
childAssetId
Type: string

The ID of the child asset in this asset relationship.

parentAssetId
Type: string

The ID of the parent asset in this asset relationship.

AssetModelBindingValueFilter

Description

A filter used to match data bindings based on a specific asset model. This filter identifies all computation models referencing a particular asset model in their data bindings.

Members
assetModelId
Required: Yes
Type: string

The ID of the asset model to filter data bindings by. Only data bindings referemncing this specific asset model are matched.

AssetModelCompositeModel

Description

Contains information about a composite model in an asset model. This object contains the asset property definitions that you define in the composite model.

Members
description
Type: string

The description of the composite model.

externalId
Type: string

The external ID of the asset model composite model. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Type: string

The ID of the asset model composite model.

name
Required: Yes
Type: string

The name of the composite model.

properties
Type: Array of AssetModelProperty structures

The asset property definitions for this composite model.

type
Required: Yes
Type: string

The type of the composite model. For alarm composite models, this type is AWS/ALARM.

AssetModelCompositeModelDefinition

Description

Contains a composite model definition in an asset model. This composite model definition is applied to all assets created from the asset model.

Members
description
Type: string

The description of the composite model.

externalId
Type: string

An external ID to assign to the composite model. The external ID must be unique among composite models within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Type: string

The ID to assign to the composite model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

name
Required: Yes
Type: string

The name of the composite model.

properties
Type: Array of AssetModelPropertyDefinition structures

The asset property definitions for this composite model.

type
Required: Yes
Type: string

The type of the composite model. For alarm composite models, this type is AWS/ALARM.

AssetModelCompositeModelPathSegment

Description

Represents one level between a composite model and the root of the asset model.

Members
id
Type: string

The ID of the path segment.

name
Type: string

The name of the path segment.

AssetModelCompositeModelSummary

Description

Contains a summary of the composite model.

Members
description
Type: string

The description of the composite model that this summary describes..

externalId
Type: string

The external ID of a composite model on this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Required: Yes
Type: string

The ID of the composite model that this summary describes..

name
Required: Yes
Type: string

The name of the composite model that this summary describes..

path
Type: Array of AssetModelCompositeModelPathSegment structures

The path that includes all the pieces that make up the composite model.

type
Required: Yes
Type: string

The composite model type. Valid values are AWS/ALARM, CUSTOM, or AWS/L4E_ANOMALY.

AssetModelHierarchy

Description

Describes an asset hierarchy that contains a hierarchy's name, ID, and child asset model ID that specifies the type of asset that can be in this hierarchy.

Members
childAssetModelId
Required: Yes
Type: string

The ID of the asset model, in UUID format. All assets in this hierarchy must be instances of the childAssetModelId asset model. IoT SiteWise will always return the actual asset model ID for this value. However, when you are specifying this value as part of a call to UpdateAssetModel, you may provide either the asset model ID or else externalId: followed by the asset model's external ID. For more information, see Using external IDs in the IoT SiteWise User Guide.

externalId
Type: string

The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Type: string

The ID of the asset model hierarchy. This ID is a hierarchyId.

  • If you are callling UpdateAssetModel to create a new hierarchy: You can specify its ID here, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

  • If you are calling UpdateAssetModel to modify an existing hierarchy: 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.

name
Required: Yes
Type: string

The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API operation.

AssetModelHierarchyDefinition

Description

Contains an asset model hierarchy used in asset model creation. An asset model hierarchy determines the kind (or type) of asset that can belong to a hierarchy.

Members
childAssetModelId
Required: Yes
Type: string

The ID of an asset model for this hierarchy. 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.

externalId
Type: string

An external ID to assign to the asset model hierarchy. The external ID must be unique among asset model hierarchies within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Type: string

The ID to assign to the asset model hierarchy, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

name
Required: Yes
Type: string

The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation).

AssetModelProperty

Description

Contains information about an asset model property.

Members
dataType
Required: Yes
Type: string

The data type of the asset model property.

The VIDEO, ANNOTATION, and JSON data types aren't supported for asset model properties. These types are used only by time series that store data for datasets in a workspace.

If you specify STRUCT, you must also specify dataTypeSpec to identify the type of the structure for this property.

dataTypeSpec
Type: string

The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.

externalId
Type: string

The external ID (if any) provided in the CreateAssetModel or UpdateAssetModel operation. You can assign an external ID by specifying this value as part of a call to UpdateAssetModel. However, you can't change the external ID if one is already assigned. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Type: string

The ID of the asset model property.

  • If you are callling UpdateAssetModel to create a new property: You can specify its ID here, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

  • If you are calling UpdateAssetModel to modify an existing 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.

name
Required: Yes
Type: string

The name of the asset model property.

path
Type: Array of AssetModelPropertyPathSegment structures

The structured path to the property from the root of the asset model.

type
Required: Yes
Type: PropertyType structure

The property type (see PropertyType).

unit
Type: string

The unit of the asset model property, such as Newtons or RPM.

AssetModelPropertyBindingValue

Description

Contains information about an assetModelProperty binding value.

Members
assetModelId
Required: Yes
Type: string

The ID of the asset model, in UUID format.

propertyId
Required: Yes
Type: string

The ID of the asset model property used in data binding value.

AssetModelPropertyBindingValueFilter

Description

A filter used to match data bindings based on a specific asset model property. This filter identifies all computation models that reference a particular property of an asset model in their data bindings.

Members
assetModelId
Required: Yes
Type: string

The ID of the asset model containing the filter property. This identifies the specific asset model that contains the property of interest.

propertyId
Required: Yes
Type: string

The ID of the property within the asset model to filter by. Only data bindings referencing this specific property of the specified asset model are matched.

AssetModelPropertyDefinition

Description

Contains an asset model property definition. This property definition is applied to all assets created from the asset model.

Members
dataType
Required: Yes
Type: string

The data type of the property definition.

The VIDEO, ANNOTATION, and JSON data types aren't supported for asset model properties. These types are used only by time series that store data for datasets in a workspace.

If you specify STRUCT, you must also specify dataTypeSpec to identify the type of the structure for this property.

dataTypeSpec
Type: string

The data type of the structure for this property. This parameter is required on properties that have the STRUCT data type.

The options for this parameter depend on the type of the composite model in which you define this property. Use AWS/ALARM_STATE for alarm state in alarm composite models.

externalId
Type: string

An external ID to assign to the property definition. The external ID must be unique among property definitions within this asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Type: string

The ID to assign to the asset model property, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

name
Required: Yes
Type: string

The name of the property definition.

type
Required: Yes
Type: PropertyType structure

The property definition type (see PropertyType). You can only specify one type in a property definition.

unit
Type: string

The unit of the property definition, such as Newtons or RPM.

AssetModelPropertyPathSegment

Description

Represents one level between a property and the root of the asset model.

Members
id
Type: string

The ID of the path segment.

name
Type: string

The name of the path segment.

AssetModelPropertySummary

Description

Contains a summary of a property associated with a model. This includes information about which interfaces the property belongs to, if any.

Members
assetModelCompositeModelId
Type: string

The ID of the composite model that contains the asset model property.

dataType
Required: Yes
Type: string

The data type of the property.

dataTypeSpec
Type: string

The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.

externalId
Type: string

The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Type: string

The ID of the property.

interfaceSummaries
Type: Array of InterfaceSummary structures

A list of interface summaries that describe which interfaces this property belongs to, including the interface asset model ID and the corresponding property ID in the interface.

name
Required: Yes
Type: string

The name of the property.

path
Type: Array of AssetModelPropertyPathSegment structures

The structured path to the property from the root of the asset model.

type
Required: Yes
Type: PropertyType structure

Contains a property type, which can be one of attribute, measurement, metric, or transform.

unit
Type: string

The unit (such as Newtons or RPM) of the property.

AssetModelStatus

Description

Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.

Members
error
Type: ErrorDetails structure

Contains associated error information, if any.

state
Required: Yes
Type: string

The current state of the asset model.

AssetModelSummary

Description

Contains a summary of an asset model.

Members
arn
Required: Yes
Type: string

The ARN of the asset model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}

assetModelType
Type: string

The type of asset model.

  • ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.

  • COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.

creationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the asset model was created, in Unix epoch time.

description
Required: Yes
Type: string

The asset model description.

externalId
Type: string

The external ID of the asset model. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Required: Yes
Type: string

The ID of the asset model (used with IoT SiteWise API operations).

lastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the asset model was last updated, in Unix epoch time.

name
Required: Yes
Type: string

The name of the asset model.

status
Required: Yes
Type: AssetModelStatus structure

The current status of the asset model.

version
Type: string

The version number of the asset model.

AssetProperty

Description

Contains asset property information.

Members
alias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

dataType
Required: Yes
Type: string

The data type of the asset property.

dataTypeSpec
Type: string

The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.

externalId
Type: string

The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Required: Yes
Type: string

The ID of the asset property.

name
Required: Yes
Type: string

The name of the property.

notification
Type: PropertyNotification structure

The asset property's notification topic and state. For more information, see UpdateAssetProperty.

path
Type: Array of AssetPropertyPathSegment structures

The structured path to the property from the root of the asset.

unit
Type: string

The unit (such as Newtons or RPM) of the asset property.

AssetPropertyBindingValue

Description

Represents a data binding value referencing a specific asset property. It's used to bind computation model variables to actual asset property values for processing.

Members
assetId
Required: Yes
Type: string

The ID of the asset containing the property. This identifies the specific asset instance's property value used in the computation model.

propertyId
Required: Yes
Type: string

The ID of the property within the asset. This identifies the specific property's value used in the computation model.

AssetPropertyBindingValueFilter

Description

A filter used to match data bindings based on a specific asset property. This filter helps identify all computation models referencing a particular property of an asset in their data bindings.

Members
assetId
Required: Yes
Type: string

The ID of the asset containing the property to filter by. This identifies the specific asset instance containing the property of interest.

propertyId
Required: Yes
Type: string

The ID of the property within the asset to filter by. Only data bindings referencing this specific property of the specified asset are matched.

AssetPropertyPathSegment

Description

Represents one level between a property and the root of the asset.

Members
id
Type: string

The ID of the path segment.

name
Type: string

The name of the path segment.

AssetPropertySummary

Description

Contains a summary of a property associated with an asset.

Members
alias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

assetCompositeModelId
Type: string

The ID of the composite model that contains the asset property.

externalId
Type: string

The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Required: Yes
Type: string

The ID of the property.

notification
Type: PropertyNotification structure

Contains asset property value notification information. When the notification state is enabled, IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the IoT SiteWise User Guide.

path
Type: Array of AssetPropertyPathSegment structures

The structured path to the property from the root of the asset.

unit
Type: string

The unit of measure (such as Newtons or RPM) of the asset property.

AssetPropertyValue

Description

Contains asset property value information.

Members
quality
Type: string

The quality of the asset property value.

timestamp
Required: Yes
Type: TimeInNanos structure

The timestamp of the asset property value.

value
Required: Yes
Type: Variant structure

The value of the asset property (see Variant).

AssetRelationshipSummary

Description

Contains information about assets that are related to one another.

Members
hierarchyInfo
Type: AssetHierarchyInfo structure

The assets that are related through an asset hierarchy.

This object is present if the relationshipType is HIERARCHY.

relationshipType
Required: Yes
Type: string

The relationship type of the assets in this relationship. This value is one of the following:

  • HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes the hierarchyInfo object.

AssetStatus

Description

Contains information about the current status of an asset. For more information, see Asset and model states in the IoT SiteWise User Guide.

Members
error
Type: ErrorDetails structure

Contains associated error information, if any.

state
Required: Yes
Type: string

The current status of the asset.

AssetSummary

Description

Contains a summary of an asset.

Members
arn
Required: Yes
Type: string

The ARN of the asset, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}

assetModelId
Required: Yes
Type: string

The ID of the asset model used to create this asset.

creationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the asset was created, in Unix epoch time.

description
Type: string

A description for the asset.

externalId
Type: string

The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.

hierarchies
Required: Yes
Type: Array of AssetHierarchy structures

A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.

id
Required: Yes
Type: string

The ID of the asset, in UUID format.

lastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the asset was last updated, in Unix epoch time.

name
Required: Yes
Type: string

The name of the asset.

status
Required: Yes
Type: AssetStatus structure

The current status of the asset.

AssociateDataSegmentEntry

Description

Contains information about a data segment entry to associate with a dataset.

Members
endTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision end time of the data segment to associate.

sourceDatasetId
Required: Yes
Type: string

The ID of the source dataset that contains the data segment.

startTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision start time of the data segment to associate.

timeSeriesId
Required: Yes
Type: string

The ID of the time series.

AssociatedAssetsSummary

Description

Contains a summary of an associated asset.

Members
arn
Required: Yes
Type: string

The ARN of the asset, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:asset/${AssetId}

assetModelId
Required: Yes
Type: string

The ID of the asset model used to create the asset.

creationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the asset was created, in Unix epoch time.

description
Type: string

A description for the asset.

externalId
Type: string

The external ID of the asset. For more information, see Using external IDs in the IoT SiteWise User Guide.

hierarchies
Required: Yes
Type: Array of AssetHierarchy structures

A list of asset hierarchies that each contain a hierarchyId. A hierarchy specifies allowed parent/child asset relationships.

id
Required: Yes
Type: string

The ID of the asset, in UUID format.

lastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the asset was last updated, in Unix epoch time.

name
Required: Yes
Type: string

The name of the asset.

status
Required: Yes
Type: AssetStatus structure

The current status of the asset.

Attribute

Description

Contains an asset attribute property. For more information, see Attributes in the IoT SiteWise User Guide.

Members
defaultValue
Type: string

The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.

BatchGetAssetPropertyAggregatesEntry

Description

Contains information for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates API.

To identify an asset property, you must specify one of the following:

  • The assetId and propertyId of an asset property.

  • A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

Members
aggregateTypes
Required: Yes
Type: Array of strings

The data aggregating function.

assetId
Type: string

The ID of the asset in which the asset property was created.

endDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.

entryId
Required: Yes
Type: string

The ID of the entry.

propertyAlias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

propertyId
Type: string

The ID of the asset property, in UUID format.

qualities
Type: Array of strings

The quality by which to filter asset data.

resolution
Required: Yes
Type: string

The time interval over which to aggregate data.

startDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.

timeOrdering
Type: string

The chronological sorting order of the requested information.

Default: ASCENDING

BatchGetAssetPropertyAggregatesErrorEntry

Description

Contains error information for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates API.

Members
entryId
Required: Yes
Type: string

The ID of the entry.

errorCode
Required: Yes
Type: string

The error code.

errorMessage
Required: Yes
Type: string

The associated error message.

BatchGetAssetPropertyAggregatesErrorInfo

Description

Contains the error code and the timestamp for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates API.

Members
errorCode
Required: Yes
Type: string

The error code.

errorTimestamp
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the error occurred, in Unix epoch time.

BatchGetAssetPropertyAggregatesSkippedEntry

Description

Contains information for an entry that has been processed by the previous BatchGetAssetPropertyAggregates request.

Members
completionStatus
Required: Yes
Type: string

The completion status of each entry that is associated with the BatchGetAssetPropertyAggregates API.

entryId
Required: Yes
Type: string

The ID of the entry.

errorInfo

The error information, such as the error code and the timestamp.

BatchGetAssetPropertyAggregatesSuccessEntry

Description

Contains success information for an entry that is associated with the BatchGetAssetPropertyAggregates API.

Members
aggregatedValues
Required: Yes
Type: Array of AggregatedValue structures

The requested aggregated asset property values (for example, average, minimum, and maximum).

entryId
Required: Yes
Type: string

The ID of the entry.

BatchGetAssetPropertyValueEntry

Description

Contains information for an asset property value entry that is associated with the BatchGetAssetPropertyValue API.

To identify an asset property, you must specify one of the following:

  • The assetId and propertyId of an asset property.

  • A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

Members
assetId
Type: string

The ID of the asset in which the asset property was created.

entryId
Required: Yes
Type: string

The ID of the entry.

propertyAlias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

propertyId
Type: string

The ID of the asset property, in UUID format.

BatchGetAssetPropertyValueErrorEntry

Description

Contains error information for an asset property value entry that is associated with the BatchGetAssetPropertyValue API.

Members
entryId
Required: Yes
Type: string

The ID of the entry.

errorCode
Required: Yes
Type: string

The error code.

errorMessage
Required: Yes
Type: string

The associated error message.

BatchGetAssetPropertyValueErrorInfo

Description

The error information, such as the error code and the timestamp.

Members
errorCode
Required: Yes
Type: string

The error code.

errorTimestamp
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the error occurred, in Unix epoch time.

BatchGetAssetPropertyValueHistoryEntry

Description

Contains information for an asset property historical value entry that is associated with the BatchGetAssetPropertyValueHistory API.

To identify an asset property, you must specify one of the following:

  • The assetId and propertyId of an asset property.

  • A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.

Members
assetId
Type: string

The ID of the asset in which the asset property was created.

endDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.

entryId
Required: Yes
Type: string

The ID of the entry.

propertyAlias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

propertyId
Type: string

The ID of the asset property, in UUID format.

qualities
Type: Array of strings

The quality by which to filter asset data.

startDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.

timeOrdering
Type: string

The chronological sorting order of the requested information.

Default: ASCENDING

BatchGetAssetPropertyValueHistoryErrorEntry

Description

A list of the errors (if any) associated with the batch request. Each error entry contains the entryId of the entry that failed.

Members
entryId
Required: Yes
Type: string

The ID of the entry.

errorCode
Required: Yes
Type: string

The error code.

errorMessage
Required: Yes
Type: string

The associated error message.

BatchGetAssetPropertyValueHistoryErrorInfo

Description

The error information, such as the error code and the timestamp.

Members
errorCode
Required: Yes
Type: string

The error code.

errorTimestamp
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the error occurred, in Unix epoch time.

BatchGetAssetPropertyValueHistorySkippedEntry

Description

Contains information for an entry that has been processed by the previous BatchGetAssetPropertyValueHistory request.

Members
completionStatus
Required: Yes
Type: string

The completion status of each entry that is associated with the BatchGetAssetPropertyValueHistory API.

entryId
Required: Yes
Type: string

The ID of the entry.

errorInfo

The error information, such as the error code and the timestamp.

BatchGetAssetPropertyValueHistorySuccessEntry

Description

Contains success information for an entry that is associated with the BatchGetAssetPropertyValueHistory API.

Members
assetPropertyValueHistory
Required: Yes
Type: Array of AssetPropertyValue structures

The requested historical values for the specified asset property.

entryId
Required: Yes
Type: string

The ID of the entry.

BatchGetAssetPropertyValueSkippedEntry

Description

Contains information for an entry that has been processed by the previous BatchGetAssetPropertyValue request.

Members
completionStatus
Required: Yes
Type: string

The completion status of each entry that is associated with the BatchGetAssetPropertyValue request.

entryId
Required: Yes
Type: string

The ID of the entry.

errorInfo

The error information, such as the error code and the timestamp.

BatchGetAssetPropertyValueSuccessEntry

Description

Contains success information for an entry that is associated with the BatchGetAssetPropertyValue API.

Members
assetPropertyValue
Type: AssetPropertyValue structure

Contains asset property value information.

entryId
Required: Yes
Type: string

The ID of the entry.

BatchPutAssetPropertyError

Description

Contains error information from updating a batch of asset property values.

Members
errorCode
Required: Yes
Type: string

The error code.

errorMessage
Required: Yes
Type: string

The associated error message.

timestamps
Required: Yes
Type: Array of TimeInNanos structures

A list of timestamps for each error, if any.

BatchPutAssetPropertyErrorEntry

Description

Contains error information for asset property value entries that are associated with the BatchPutAssetPropertyValue API.

Members
entryId
Required: Yes
Type: string

The ID of the failed entry.

errors
Required: Yes
Type: Array of BatchPutAssetPropertyError structures

The list of update property value errors.

Citation

Description

Contains text content to which the SiteWise Assistant refers to, and generate the final response. It also contains information about the source.

Members
content
Type: Content structure

Contains the cited text from the data source.

reference
Type: Reference structure

Contains information about the data source.

ColumnInfo

Description

A description of the column in the query results.

Members
name
Type: string

The name of the column description.

type
Type: ColumnType structure

The type of the column description.

ColumnInformation

Description

Contains metadata about a column in the query results.

Members
name
Required: Yes
Type: string

The name of the column.

type
Required: Yes
Type: string

The data type of the column. Valid values are STRING, DOUBLE, BOOLEAN, INTEGER, TIMESTAMP, and VARIANT.

ColumnType

Description

The data type of the column.

Members
scalarType
Type: string

The allowed data types that the column has as it's value.

CompositeModelProperty

Description

Contains information about a composite model property on an asset.

Members
assetProperty
Required: Yes
Type: Property structure

Contains asset property information.

externalId
Type: string

The external ID of the composite model that contains the property. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Type: string

The ID of the composite model that contains the property.

name
Required: Yes
Type: string

The name of the property.

type
Required: Yes
Type: string

The type of the composite model that defines this property.

CompositionDetails

Description

Metadata for the composition relationship established by using composedAssetModelId in CreateAssetModelCompositeModel .

Members
compositionRelationship
Type: Array of CompositionRelationshipItem structures

An array detailing the composition relationship for this composite model.

CompositionRelationshipItem

Description

Represents a composite model that composed an asset model of type COMPONENT_MODEL.

Members
id
Type: string

The ID of the component.

CompositionRelationshipSummary

Description

Contains a summary of the components of the composite model.

Members
assetModelCompositeModelId
Required: Yes
Type: string

The ID of a composite model on this asset model.

assetModelCompositeModelType
Required: Yes
Type: string

The composite model type. Valid values are AWS/ALARM, CUSTOM, or AWS/L4E_ANOMALY.

assetModelId
Required: Yes
Type: string

The ID of the asset model, in UUID format.

ComputationModelAnomalyDetectionConfiguration

Description

Contains the configuration of the type of anomaly detection computation model.

Members
inputProperties
Required: Yes
Type: string

Define the variable name associated with input properties, with the following format ${VariableName}.

resultProperty
Required: Yes
Type: string

Define the variable name associated with the result property, and the following format ${VariableName}.

ComputationModelConfiguration

Description

The configuration for the computation model.

Members
anomalyDetection

The configuration for the anomaly detection type of computation model.

ComputationModelDataBindingUsageSummary

Description

A summary of how a specific data binding is used across computation models. This tracks dependencies between data sources and computation models, allowing you to understand the impact of changes to data sources.

Members
computationModelIds
Required: Yes
Type: Array of strings

The list of computation model IDs that use this data binding. This allows identification of all computation models affected by changes to the referenced data source.

matchedDataBinding
Required: Yes
Type: MatchedDataBinding structure

The data binding matched by the filter criteria. Contains details about specific data binding values used by the computation models.

ComputationModelDataBindingValue

Description

Contains computation model data binding value information, which can be one of assetModelProperty, list.

Members
assetModelProperty

Specifies an asset model property data binding value.

assetProperty
Type: AssetPropertyBindingValue structure

The asset property value used for computation model data binding.

list
Type: Array of ComputationModelDataBindingValue structures

Specifies a list of data binding value.

ComputationModelResolveToResourceSummary

Description

A summary of the resource that a computation model resolves to.

Members
resolveTo
Type: ResolveTo structure

The detailed resource this execution summary resolves to.

ComputationModelStatus

Description

Contains current status information for a computation model.

Members
error
Type: ErrorDetails structure

Contains the details of an IoT SiteWise error.

state
Required: Yes
Type: string

The current state of the computation model.

ComputationModelSummary

Description

Contains a summary of a computation model.

Members
arn
Required: Yes
Type: string

The ARN of the computation model, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}

creationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The model creation date, in Unix epoch time.

description
Type: string

The description of the computation model.

id
Required: Yes
Type: string

The ID of the computation model.

lastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the model was last updated, in Unix epoch time.

name
Required: Yes
Type: string

The name of the computation model.

status
Required: Yes
Type: ComputationModelStatus structure

The current status of the computation model.

type
Required: Yes
Type: string

The type of the computation model.

version
Required: Yes
Type: string

The version of the computation model.

ComputeNode

Description

A single compute node in a pipeline DAG. Each compute node references a task and can declare dependencies on other nodes.

Members
computeNodeName
Required: Yes
Type: string

The unique name for this compute node within the pipeline.

dependsOn
Type: Array of strings

A list of compute node names that must complete successfully before this node can start.

environmentVariables
Type: Associative array of custom strings keys (EnvironmentVariableName) to strings

Environment variables specific to this compute node. These override pipeline-level environment variables with the same key.

taskName
Required: Yes
Type: string

The name of the task to execute for this compute node.

ComputeNodeExecutionDetails

Description

Contains detailed execution information for a compute node within a pipeline execution.

Members
computeNodeName
Required: Yes
Type: string

The name of the compute node.

dependsOn
Required: Yes
Type: Array of strings

A list of compute node names that this node depends on.

endTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the compute node execution completed, in Unix epoch time.

executionEnvironmentVariables
Type: Associative array of custom strings keys (ExecutionEnvironmentVariablesMapKeyString) to strings

The fully resolved environment variables used for this compute node execution.

startTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the compute node execution started, in Unix epoch time.

status
Required: Yes
Type: ComputeNodeExecutionStatus structure

The current execution status of the compute node.

taskArn
Required: Yes
Type: string

The ARN of the task.

taskName
Required: Yes
Type: string

The name of the task executed for this compute node.

taskVersion
Required: Yes
Type: string

The task version that executed for this compute node.

ComputeNodeExecutionStateDetails

Description

Additional information about a compute node that has failed.

Members
code
Required: Yes
Type: string

Classification of the failure.

details
Type: Array of DetailedPipelineError structures

Detailed error entries to help diagnose the failure.

message
Required: Yes
Type: string

Human-readable description of why the compute node failed.

ComputeNodeExecutionStatus

Description

Current execution status of a compute node within a pipeline execution.

Members
state
Required: Yes
Type: string

Current state of the compute node execution.

stateDetails

Additional information about the compute node's failure. Populated when the compute node has failed.

ConfigurationErrorDetails

Description

Contains the details of an IoT SiteWise configuration error.

Members
code
Required: Yes
Type: string

The error code.

message
Required: Yes
Type: string

The error message.

ConfigurationStatus

Description

Contains current status information for the configuration.

Members
error
Type: ConfigurationErrorDetails structure

Contains associated error information, if any.

state
Required: Yes
Type: string

The current state of the configuration.

ConflictingOperationException

Description

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

Members
message
Required: Yes
Type: string
resourceArn
Required: Yes
Type: string

The ARN of the resource that conflicts with this operation.

resourceId
Required: Yes
Type: string

The ID of the resource that conflicts with this operation.

ContainerTaskConfiguration

Description

Configuration for a container task, including the container image, IAM role, and compute settings.

Members
command
Type: Array of strings

The command to execute in the container.

ecrUri
Required: Yes
Type: string

The Amazon ECR image URI for the task container.

environmentVariables
Type: Associative array of custom strings keys (EnvironmentVariableName) to strings

Environment variables passed to the container at runtime.

processingType
Required: Yes
Type: string

The processing type for compute resources.

processingUnit
Required: Yes
Type: string

The processing unit allocation that determines the vCPU, memory, and GPU resources.

taskExecutionRole
Required: Yes
Type: string

The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.

timeoutSeconds
Type: long (int|float)

The timeout in seconds for task execution. Default: 3600 (1 hour).

Content

Description

Contains the cited text from the data source.

Members
text
Type: string

The cited text from the data source.

Csv

Description

A .CSV file.

Members
columnNames
Required: Yes
Type: Array of strings

The column names specified in the .csv file.

CustomerManagedS3Storage

Description

Contains information about a customer managed Amazon S3 bucket.

Members
roleArn
Required: Yes
Type: string

The ARN of the Identity and Access Management role that allows IoT SiteWise to send data to Amazon S3.

s3ResourceArn
Required: Yes
Type: string

The ARN of the Amazon S3 object. For more information about how to find the ARN for an Amazon S3 object, see Amazon S3 resources in the Amazon Simple Storage Service User Guide.

DashboardSummary

Description

Contains a dashboard summary.

Members
creationDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the dashboard was created, in Unix epoch time.

description
Type: string

The dashboard's description.

id
Required: Yes
Type: string

The ID of the dashboard.

lastUpdateDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the dashboard was last updated, in Unix epoch time.

name
Required: Yes
Type: string

The name of the dashboard

DataBindingValue

Description

Represents a value used in a data binding. It can be an asset property or an asset model property.

Members
assetModelProperty

Contains information about an assetModelProperty binding value.

assetProperty
Type: AssetPropertyBindingValue structure

The asset property value used in the data binding.

DataBindingValueFilter

Description

A filter used to match specific data binding values based on criteria. This filter allows searching for data bindings by asset, asset model, asset property, or asset model property.

Members
asset
Type: AssetBindingValueFilter structure

Filter criteria for matching data bindings based on a specific asset. Used to list all data bindings referencing a particular asset or its properties.

assetModel

Filter criteria for matching data bindings based on a specific asset model. Used to list all data bindings referencing a particular asset model or its properties.

assetModelProperty

Filter criteria for matching data bindings based on a specific asset model property. Used to list all data bindings referencing a particular property of an asset model.

assetProperty

Filter criteria for matching data bindings based on a specific asset property. Used to list all data bindings referencing a particular property of an asset.

DataSegmentEnrichment

Description

Contains enrichment status information for a data segment.

Members
lastEnrichedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the data segment was last enriched, in Unix epoch time.

status
Required: Yes
Type: string

The enrichment status of the data segment.

DataSegmentRelationshipSummary

Description

Contains summary information about a data segment relationship between a source session dataset that contains the data and a curated dataset that references it, including the time series and timestamp range.

Members
endTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision end time of the data segment.

sourceDatasetId
Required: Yes
Type: string

The ID of the source session dataset that contains the data segment.

startTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision start time of the data segment.

targetDatasetId
Required: Yes
Type: string

The ID of the curated dataset that references the data segment.

timeSeriesId
Required: Yes
Type: string

The ID of the time series.

DataSegmentSummary

Description

Contains summary information about a data segment, including its source dataset, time series, timestamp range, and enrichment status.

Members
alias
Required: Yes
Type: string

The alias of the time series.

dataType
Required: Yes
Type: string

The data type of the time series.

endTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision end time of the data segment.

enrichment
Type: DataSegmentEnrichment structure

The enrichment information for the data segment.

sourceDatasetId
Required: Yes
Type: string

The ID of the source dataset that contains the data segment.

startTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision start time of the data segment.

timeSeriesId
Required: Yes
Type: string

The ID of the time series.

DataSetReference

Description

Contains information about the dataset use and it's source.

Members
datasetArn
Type: string

The ARN of the dataset. The format is arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.

source
Type: Source structure

The data source for the dataset.

DatasetConfig

Description

Contains the configuration for a dataset.

Members
session
Type: SessionConfig structure

The session configuration for a session-type dataset.

DatasetEnrichment

Description

Contains the enrichment status information for a dataset across data types.

Members
video
Type: DatasetEnrichmentEntry structure

The enrichment status for video data in the dataset.

DatasetEnrichmentEntry

Description

Contains enrichment status information for a specific data type in a dataset.

Members
lastEnrichedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the data was last enriched, in Unix epoch time.

status
Required: Yes
Type: string

The enrichment status of the data type in the dataset.

DatasetItem

Description
<p>A dataset to process.</p>
Members
datasetId
Required: Yes
Type: string
<p>The unique identifier for the dataset.</p>
exportDataTypes
Type: Array of strings
<p>The optional subset of data types to export. If omitted, all data types are exported.</p>
trimSettings
Type: TrimSettings structure
<p>The trim settings applied to all items in the dataset. When omitted, the full dataset time range is used.</p>

DatasetSource

Description

The data source for the dataset.

Members
sourceDetail
Type: SourceDetail structure

The details of the dataset source associated with the dataset.

sourceFormat
Required: Yes
Type: string

The format of the dataset source associated with the dataset.

sourceType
Required: Yes
Type: string

The type of data source for the dataset.

DatasetStatus

Description

The status of the dataset. This contains the state and any error messages. The state is ACTIVE when ready to use.

Members
error
Type: ErrorDetails structure

Contains the details of an IoT SiteWise error.

state
Required: Yes
Type: string

The current status of the dataset.

DatasetSummary

Description

The summary details for the dataset.

Members
arn
Required: Yes
Type: string

The ARN of the dataset. The format is arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.

creationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The dataset creation date, in Unix epoch time.

datasetType
Type: string

The type of dataset: a session dataset, a curated dataset, or a connection to an external datasource.

description
Required: Yes
Type: string

A description about the dataset, and its functionality.

enrichmentStatus
Type: DatasetEnrichment structure

The enrichment status of the dataset.

id
Required: Yes
Type: string

The ID of the dataset.

lastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the dataset was last updated, in Unix epoch time.

name
Required: Yes
Type: string

The name of the dataset.

sourceType
Type: string

The data source type of the dataset.

status
Required: Yes
Type: DatasetStatus structure

The status of the dataset. This contains the state and any error messages. The state is ACTIVE when ready to use.

Datum

Description

Represents a single data point in a query result.

Members
arrayValue
Type: Array of Datum structures

Indicates if the data point is an array.

nullValue
Type: boolean

Indicates if the data point is null.

rowValue
Type: Row structure

Indicates if the data point is a row.

scalarValue
Type: string

Indicates if the data point is a scalar value such as integer, string, double, or Boolean.

DeleteDataSegmentEntry

Description

Contains information about a data segment entry to delete.

Members
endTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision end time of the data segment to delete.

startTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision start time of the data segment to delete.

timeSeriesId
Required: Yes
Type: string

The ID of the time series.

DetailedError

Description

Contains detailed error information.

Members
code
Required: Yes
Type: string

The error code.

message
Required: Yes
Type: string

The error message.

DetailedPipelineError

Description

Contains a detailed error entry for granular troubleshooting of pipeline failures.

Members
code
Required: Yes
Type: string

The error code.

message
Required: Yes
Type: string

The associated error message.

DisassociateDataSegmentEntry

Description

Contains information about a data segment entry to disassociate from a dataset.

Members
endTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision end time of the data segment to disassociate.

sourceDatasetId
Required: Yes
Type: string

The ID of the source dataset that contains the data segment.

startTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision start time of the data segment to disassociate.

timeSeriesId
Required: Yes
Type: string

The ID of the time series.

EnrichmentJobConfiguration

Description

Configuration for the enrichment job defining which analysis type to perform on video time-series data. Currently supports event detection enrichment. Exactly one member must be specified.

Members
eventDetection
Type: EventDetection structure

Event detection configuration that generates embeddings from video time-series data enabling natural language similarity search on events. The service processes video data and creates embeddings stored in IoT SiteWise for semantic querying.

EnrichmentJobSummary

Description

Summary information for an enrichment job returned by ListEnrichmentJobs. This lightweight representation includes identifiers, status, and key metadata without the full job configuration.

Use DescribeEnrichmentJob to retrieve:

  • Complete job configuration (trim settings, full parameters)
  • Detailed timestamps (completedAt, cancelledAt)
  • Failure messages for failed jobs

The summary is optimized for display in lists and dashboards, providing enough information to identify and filter jobs without the overhead of full configuration details.

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp when the job was created in ISO 8601 format.

datasetId
Required: Yes
Type: string

The dataset being enriched. Useful for filtering and identifying jobs without fetching the full configuration. This allows you to quickly find all jobs related to a specific dataset.

jobId
Required: Yes
Type: string

Unique identifier for the enrichment job.

jobType
Required: Yes
Type: string

The type of enrichment job. Currently EVENT_DETECTION is the only supported type.

propertyAlias
Type: string

The property alias (human-readable sensor name) of the time series being enriched. Present when the job was created using a propertyAlias. Use this to identify which sensor the job analyzes.

status
Required: Yes
Type: string

Current status of the job: PENDING, RUNNING, COMPLETED, FAILED, TIMED_OUT, or CANCELLED. Use this to quickly identify active jobs or jobs requiring attention.

timeSeriesId
Type: string

The system identifier of the time series being enriched. Present when the job was created using a timeSeriesId. Use this to identify which time series the job analyzes.

updatedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

Timestamp of the last job status change in ISO 8601 format. Use this to track recent activity and identify stale jobs. For active jobs, this shows the last time the job transitioned to a new status.

workspaceName
Required: Yes
Type: string

The name of the IoT SiteWise workspace containing this job.

EnrichmentTrimSettings

Description
<p>Time range settings for extracting a specific window of video time-series data to process.</p> <p>Trim settings define the time bounds for enrichment and must satisfy:</p> <ul> <li>Start and end times must be within the dataset's time bounds</li> <li>Trim settings retrieve fully contained data segments within the specified time range</li> <li>endTime must be greater than startTime</li> <li>Both times should represent valid data ranges in the dataset</li> </ul> <p>Trim settings are required to:</p> <ul> <li>Prevent accidentally analyzing unbounded datasets</li> <li>Ensure predictable processing time and costs</li> <li>Allow focused analysis on specific time periods of interest</li> </ul>
Members
endTime
Required: Yes
Type: TimeInNanos structure
<p>End time for the video analysis time range in nanoseconds since Unix epoch (TimeInNanos format). Data segments at or before this time are included in the enrichment. Must be greater than startTime and within the dataset's time bounds.</p>
startTime
Required: Yes
Type: TimeInNanos structure
<p>Start time for the video analysis time range in nanoseconds since Unix epoch (TimeInNanos format). Data segments at or after this time are included in the enrichment. Must be within the dataset's time bounds.</p> <p>Example (JavaScript): Date.parse('2024-01-01T00:00:00Z') * 1000000 Example (Python): int(datetime.timestamp() * 1e9)</p>

ErrorDetails

Description

Contains the details of an IoT SiteWise error.

Members
code
Required: Yes
Type: string

The error code.

details
Type: Array of DetailedError structures

A list of detailed errors.

message
Required: Yes
Type: string

The error message.

ErrorReportLocation

Description

The Amazon S3 destination where errors associated with the job creation request are saved.

Members
bucket
Required: Yes
Type: string

The name of the Amazon S3 bucket to which errors associated with the bulk import job are sent.

prefix
Required: Yes
Type: string

Amazon S3 uses the prefix as a folder name to organize data in the bucket. Each Amazon S3 object has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/). For more information, see Organizing objects using prefixes in the Amazon Simple Storage Service User Guide.

EventDetection

Description
<p>Configuration for event detection enrichment on video time-series data.</p> <p>Event detection generates embeddings from video data enabling natural language similarity search on events. This allows customers to:</p> <ul> <li>Query video events using semantic search after enrichment completes</li> <li>Find relevant video segments through natural language queries</li> <li>Search across video time-series data stored in IoT SiteWise</li> </ul> <p>You must specify the dataset, exactly one time-series identifier (timeSeriesId OR propertyAlias), and trim settings defining the video time window to process.</p>
Members
datasetId
Required: Yes
Type: string
<p>The IoT SiteWise dataset ID containing the video time-series data to analyze. Query IoT SiteWise to discover available datasets in your workspace.</p>
propertyAlias
Type: string
<p>Human-readable alias for the video time series to analyze (e.g., /camera/warehouse/zone-a). Specify either propertyAlias or timeSeriesId, but not both. Use this when you have configured friendly aliases in IoT SiteWise for better readability.</p>
timeSeriesId
Type: string
<p>Unique system identifier for the video time series to analyze. Specify either timeSeriesId or propertyAlias, but not both. Use this when you have the system-generated time series identifier from IoT SiteWise.</p>
trimSettings
Required: Yes
Type: EnrichmentTrimSettings structure
<p>Time range settings defining which portion of the video time-series data to process. Required to ensure predictable processing time and prevent analyzing unbounded datasets. Start and end times must be within the dataset's time bounds.</p>

ExecutionEnvironmentVariables

Description

Environment variables provided as input for a pipeline execution.

Members
computeNodes
Type: Associative array of custom strings keys (ResourceName) to stringss

Per-compute-node environment variable overrides. Each entry maps a compute node name to its environment variable overrides.

global
Type: Associative array of custom strings keys (EnvironmentVariableName) to strings

Global environment variables that apply to all compute nodes in the pipeline execution.

ExecutionStatus

Description

The status of the execution.

Members
state
Required: Yes
Type: string

The current state of the computation model.

ExecutionSummary

Description

Contains the execution summary of the computation model.

Members
actionType
Type: string

The type of action exectued.

executionEndTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the process ended.

executionEntityVersion
Type: string

The execution entity version associated with the summary.

executionId
Required: Yes
Type: string

The ID of the execution.

executionStartTime
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the process started.

executionStatus
Required: Yes
Type: ExecutionStatus structure

The status of the execution process.

resolveTo
Type: ResolveTo structure

The detailed resource this execution resolves to.

targetResource
Required: Yes
Type: TargetResource structure

The resource the action will be taken on. This can include asset-based resources and computation model resources.

targetResourceVersion
Required: Yes
Type: string

The version of the target resource.

ExportErrorReportLocation

Description
<p>Contains the location where error reports will be written on failure.</p>
Members
s3Uri
Required: Yes
Type: string
<p>The S3 URI prefix for the error report.</p>

ExportJobSummary

Description
<p>Contains summary information about a dataset export job.</p>
Members
completedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)
<p>The timestamp when the job completed, or null if the job is still running.</p>
destinationS3Uri
Required: Yes
Type: string
<p>The S3 URI where output clips are written.</p>
jobId
Required: Yes
Type: string
<p>The unique identifier for the dataset export job.</p>
startedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)
<p>The timestamp when the job started processing.</p>
status
Required: Yes
Type: string
<p>The current status of the dataset export job.</p>

ExpressionVariable

Description

Contains expression variable information.

Members
name
Required: Yes
Type: string

The friendly name of the variable to be used in the expression.

value
Required: Yes
Type: VariableValue structure

The variable that identifies an asset property from which to use values.

FailedDataSegmentAssociation

Description

Contains error information for a data segment association that failed.

Members
endTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision end time of the data segment.

errorCode
Required: Yes
Type: string

The error code for the failed association.

errorMessage
Required: Yes
Type: string

The error message for the failed association.

sourceDatasetId
Required: Yes
Type: string

The ID of the source dataset.

startTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision start time of the data segment.

timeSeriesId
Required: Yes
Type: string

The ID of the time series.

FailedDataSegmentDeletion

Description

Contains error information for a data segment deletion that failed.

Members
endTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision end time of the data segment.

errorCode
Required: Yes
Type: string

The error code for the failed deletion.

errorMessage
Required: Yes
Type: string

The error message for the failed deletion.

startTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision start time of the data segment.

timeSeriesId
Required: Yes
Type: string

The ID of the time series.

FailedDataSegmentDisassociation

Description

Contains error information for a data segment disassociation that failed.

Members
endTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision end time of the data segment.

errorCode
Required: Yes
Type: string

The error code for the failed disassociation.

errorMessage
Required: Yes
Type: string

The error message for the failed disassociation.

sourceDatasetId
Required: Yes
Type: string

The ID of the source dataset.

startTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision start time of the data segment.

timeSeriesId
Required: Yes
Type: string

The ID of the time series.

File

Description

The file in Amazon S3 where your data is saved.

Members
alias
Type: string

The alias associated with the file's time series.

bucket
Required: Yes
Type: string

The name of the Amazon S3 bucket from which data is imported.

fileFormat
Type: FileFormat structure

The file format of the data in S3.

key
Required: Yes
Type: string

The key of the Amazon S3 object that contains your data. Each object has a key that is a unique identifier. Each object has exactly one key.

startTime
Type: TimeInNanos structure

The nanosecond-precision start time for the file data.

versionId
Type: string

The version ID to identify a specific version of the Amazon S3 object that contains your data.

FileFormat

Description

The file format of the data in S3.

Members
annotation
Type: Annotation structure

The annotation format configuration.

csv
Type: Csv structure

The file is in .CSV format.

mp4
Type: Mp4 structure

The MP4 format configuration.

parquet
Type: Parquet structure

The file is in parquet format.

FormatSettings

Description
<p>Contains the output format configuration for video processing.</p>
Members
framesPerSecond
Type: int
<p>The target frame rate for the output.</p>
heightInPixels
Type: int
<p>The target height of the output, in pixels.</p>
widthInPixels
Type: int
<p>The target width of the output, in pixels.</p>

ForwardingConfig

Description

The forwarding configuration for a given property.

Members
state
Required: Yes
Type: string

The forwarding state for the given property.

GatewayCapabilitySummary

Description

Contains a summary of a gateway capability configuration.

Members
capabilityNamespace
Required: Yes
Type: string

The namespace of the capability configuration. For example, if you configure OPC UA sources for an MQTT-enabled gateway, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:3.

capabilitySyncStatus
Required: Yes
Type: string

The synchronization status of the gateway capability configuration. The sync status can be one of the following:

  • IN_SYNC - The gateway is running with the latest configuration.

  • OUT_OF_SYNC - The gateway hasn't received the latest configuration.

  • SYNC_FAILED - The gateway rejected the latest configuration.

  • UNKNOWN - The gateway hasn't reported its sync status.

  • NOT_APPLICABLE - The gateway doesn't support this capability. This is most common when integrating partner data sources, because the data integration is handled externally by the partner.

GatewayPlatform

Description

The gateway's platform configuration. You can only specify one platform type in a gateway.

(Legacy only) For Greengrass V1 gateways, specify the greengrass parameter with a valid Greengrass group ARN.

For Greengrass V2 gateways, specify the greengrassV2 parameter with a valid core device thing name. If creating a V3 gateway (gatewayVersion=3), you must also specify the coreDeviceOperatingSystem.

For Siemens Industrial Edge gateways, specify the siemensIE parameter with a valid IoT Core thing name.

Members
greengrass
Type: Greengrass structure

A gateway that runs on IoT Greengrass.

greengrassV2
Type: GreengrassV2 structure

A gateway that runs on IoT Greengrass V2.

siemensIE
Type: SiemensIE structure

A SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.

GatewaySummary

Description

Contains a summary of a gateway.

Members
creationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the gateway was created, in Unix epoch time.

gatewayCapabilitySummaries
Type: Array of GatewayCapabilitySummary structures

A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.

gatewayId
Required: Yes
Type: string

The ID of the gateway device.

gatewayName
Required: Yes
Type: string

The name of the gateway.

gatewayPlatform
Type: GatewayPlatform structure

The gateway's platform configuration. You can only specify one platform type in a gateway.

(Legacy only) For Greengrass V1 gateways, specify the greengrass parameter with a valid Greengrass group ARN.

For Greengrass V2 gateways, specify the greengrassV2 parameter with a valid core device thing name. If creating a V3 gateway (gatewayVersion=3), you must also specify the coreDeviceOperatingSystem.

For Siemens Industrial Edge gateways, specify the siemensIE parameter with a valid IoT Core thing name.

gatewayVersion
Type: string

The version of the gateway. A value of 3 indicates an MQTT-enabled, V3 gateway, while 2 indicates a Classic streams, V2 gateway.

lastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the gateway was last updated, in Unix epoch time.

Greengrass

Description

Contains details for a gateway that runs on IoT Greengrass. To create a gateway that runs on IoT Greengrass, you must add the IoT SiteWise connector to a Greengrass group and deploy it. Your Greengrass group must also have permissions to upload data to IoT SiteWise. For more information, see Ingesting data using a gateway in the IoT SiteWise User Guide.

Members
groupArn
Required: Yes
Type: string

The ARN of the Greengrass group. For more information about how to find a group's ARN, see ListGroups and GetGroup in the IoT Greengrass V1 API Reference.

GreengrassV2

Description

Contains details for a gateway that runs on IoT Greengrass V2. To create a gateway that runs on IoT Greengrass V2, you must deploy the IoT SiteWise Edge component to your gateway device. Your Greengrass device role must use the AWSIoTSiteWiseEdgeAccess policy. For more information, see Using IoT SiteWise at the edge in the IoT SiteWise User Guide.

Members
coreDeviceOperatingSystem
Type: string

The operating system of the core device in IoT Greengrass V2. Specifying the operating system is required for MQTT-enabled, V3 gateways (gatewayVersion 3) and not applicable for Classic stream, V2 gateways (gatewayVersion 2).

coreDeviceThingName
Required: Yes
Type: string

The name of the IoT thing for your IoT Greengrass V2 core device.

GroupIdentity

Description

Contains information for a group identity in an access policy.

Members
id
Required: Yes
Type: string

The IAM Identity Center ID of the group.

HierarchyMapping

Description

Maps a hierarchy from an interface asset model to a hierarchy in the asset model where the interface is applied.

Members
assetModelHierarchyId
Required: Yes
Type: string

The ID of the hierarchy in the asset model where the interface is applied.

interfaceAssetModelHierarchyId
Required: Yes
Type: string

The ID of the hierarchy in the interface asset model.

IAMRoleIdentity

Description

Contains information about an Identity and Access Management role. For more information, see IAM roles in the IAM User Guide.

Members
arn
Required: Yes
Type: string

The ARN of the IAM role. For more information, see IAM ARNs in the IAM User Guide.

IAMUserIdentity

Description

Contains information about an Identity and Access Management user.

Members
arn
Required: Yes
Type: string

The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide.

If you delete the IAM user, access policies that contain this identity include an empty arn. You can delete the access policy for the IAM user that no longer exists.

Identity

Description

Contains an identity that can access an IoT SiteWise Monitor resource.

Currently, you can't use Amazon Web Services API operations to retrieve IAM Identity Center identity IDs. You can find the IAM Identity Center identity IDs in the URL of user and group pages in the IAM Identity Center console.

Members
group
Type: GroupIdentity structure

An IAM Identity Center group identity.

iamRole
Type: IAMRoleIdentity structure

An IAM role identity.

iamUser
Type: IAMUserIdentity structure

An IAM user identity.

user
Type: UserIdentity structure

An IAM Identity Center user identity.

Image

Description

Contains an image that is one of the following:

  • An image file. Choose this option to upload a new image.

  • The ID of an existing image. Choose this option to keep an existing image.

Members
file
Type: ImageFile structure

Contains an image file.

id
Type: string

The ID of an existing image. Specify this parameter to keep an existing image.

ImageFile

Description

Contains an image file.

Members
data
Required: Yes
Type: blob (string|resource|Psr\Http\Message\StreamInterface)

The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB.

type
Required: Yes
Type: string

The file type of the image.

ImageLocation

Description

Contains an image that is uploaded to IoT SiteWise and available at a URL.

Members
id
Required: Yes
Type: string

The ID of the image.

url
Required: Yes
Type: string

The URL where the image is available. The URL is valid for 15 minutes so that you can view and download the image

InterfaceRelationship

Description

Contains information about the relationship between an asset model and an interface asset model that is applied to it.

Members
id
Required: Yes
Type: string

The ID of the asset model that has the interface applied to it.

InterfaceRelationshipSummary

Description

Contains summary information about an interface relationship, which defines how an interface is applied to an asset model. This summary provides the essential identifiers needed to retrieve detailed information about the relationship.

Members
id
Required: Yes
Type: string

The ID of the asset model that has the interface applied to it.

InterfaceSummary

Description

Contains summary information about an interface that a property belongs to.

Members
interfaceAssetModelId
Required: Yes
Type: string

The ID of the interface asset model that contains this property.

interfaceAssetModelPropertyId
Required: Yes
Type: string

The ID of the property in the interface asset model that corresponds to this property.

InternalFailureException

Description

IoT SiteWise can't process your request right now. Try again later.

Members
message
Required: Yes
Type: string

InterpolatedAssetPropertyValue

Description

Contains information about an interpolated asset property value.

Members
timestamp
Required: Yes
Type: TimeInNanos structure

Contains a timestamp with optional nanosecond granularity.

value
Required: Yes
Type: Variant structure

Contains an asset property value (of a single type only).

InvalidRequestException

Description

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

Members
message
Required: Yes
Type: string

InvocationOutput

Description

This contains the SiteWise Assistant's response and the corresponding citation.

Members
citations
Type: Array of Citation structures

A list of citations, and related information for the SiteWise Assistant's response.

message
Type: string

The text message of the SiteWise Assistant's response.

JobConfiguration

Description

Contains the configuration information of a job, such as the file format used to save data in Amazon S3.

Members
fileFormat
Type: FileFormat structure

The file format of the data in S3.

JobSummary

Description

Contains the job summary information.

Members
id
Required: Yes
Type: string

The ID of the job.

name
Required: Yes
Type: string

The unique name that helps identify the job request.

status
Required: Yes
Type: string

The status of the bulk import job can be one of following values:

  • PENDING – IoT SiteWise is waiting for the current bulk import job to finish.

  • CANCELLED – The bulk import job has been canceled.

  • RUNNING – IoT SiteWise is processing your request to import your data from Amazon S3.

  • COMPLETED – IoT SiteWise successfully completed your request to import data from Amazon S3.

  • FAILED – IoT SiteWise couldn't process your request to import data from Amazon S3. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

  • COMPLETED_WITH_FAILURES – IoT SiteWise completed your request to import data from Amazon S3 with errors. You can use logs saved in the specified error report location in Amazon S3 to troubleshoot issues.

KendraSourceDetail

Description

The source details for the Kendra dataset source.

Members
knowledgeBaseArn
Required: Yes
Type: string

The knowledgeBaseArn details for the Kendra dataset source.

roleArn
Required: Yes
Type: string

The roleARN details for the Kendra dataset source.

LimitExceededException

Description

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

Members
message
Required: Yes
Type: string

ListSearchesFilters

Description

Optional filters for ListSearches. When multiple filters are set, a search must match all of them.

Members
groupIdFilter
Type: Array of strings

Returns only searches whose groupId is one of the listed values.

searchTypeFilter
Type: Array of strings

Returns only searches whose searchType is one of the listed values.

startedAfter
Type: timestamp (string|DateTime or anything parsable by strtotime)

Returns only searches started at or after this time.

startedBefore
Type: timestamp (string|DateTime or anything parsable by strtotime)

Returns only searches started at or before this time.

statusFilter
Type: Array of strings

Returns only searches whose status is one of the listed values.

Location

Description

Contains location information about the cited text and where it's stored.

Members
uri
Type: string

The URI of the location.

LoggingOptions

Description

Contains logging options.

Members
level
Required: Yes
Type: string

The IoT SiteWise logging verbosity level.

MatchedDataBinding

Description

Represents a data binding that matches the specified filter criteria.

Members
value
Required: Yes
Type: DataBindingValue structure

The value of the matched data binding.

Measurement

Description

Contains an asset measurement property. For more information, see Measurements in the IoT SiteWise User Guide.

Members
processingConfig
Type: MeasurementProcessingConfig structure

The processing configuration for the given measurement property. You can configure measurements to be kept at the edge or forwarded to the Amazon Web Services Cloud. By default, measurements are forwarded to the cloud.

MeasurementProcessingConfig

Description

The processing configuration for the given measurement property. You can configure measurements to be kept at the edge or forwarded to the Amazon Web Services Cloud. By default, measurements are forwarded to the cloud.

Members
forwardingConfig
Required: Yes
Type: ForwardingConfig structure

The forwarding configuration for the given measurement property.

Metric

Description

Contains an asset metric property. With metrics, you can calculate aggregate functions, such as an average, maximum, or minimum, as specified through an expression. A metric maps several values to a single value (such as a sum).

The maximum number of dependent/cascading variables used in any one metric calculation is 10. Therefore, a root metric can have up to 10 cascading metrics in its computational dependency tree. Additionally, a metric can only have a data type of DOUBLE and consume properties with data types of INTEGER or DOUBLE.

For more information, see Metrics in the IoT SiteWise User Guide.

Members
expression
Type: string

The mathematical expression that defines the metric aggregation function. You can specify up to 10 variables per expression. You can specify up to 10 functions per expression.

For more information, see Quotas in the IoT SiteWise User Guide.

processingConfig
Type: MetricProcessingConfig structure

The processing configuration for the given metric property. You can configure metrics to be computed at the edge or in the Amazon Web Services Cloud. By default, metrics are forwarded to the cloud.

variables
Type: Array of ExpressionVariable structures

The list of variables used in the expression.

window
Required: Yes
Type: MetricWindow structure

The window (time interval) over which IoT SiteWise computes the metric's aggregation expression. IoT SiteWise computes one data point per window.

MetricProcessingConfig

Description

The processing configuration for the given metric property. You can configure metrics to be computed at the edge or in the Amazon Web Services Cloud. By default, metrics are forwarded to the cloud.

Members
computeLocation
Required: Yes
Type: string

The compute location for the given metric property.

MetricWindow

Description

Contains a time interval window used for data aggregate computations (for example, average, sum, count, and so on).

Members
tumbling
Type: TumblingWindow structure

The tumbling time interval window.

MonitorErrorDetails

Description

Contains IoT SiteWise Monitor error details.

Members
code
Type: string

The error code.

message
Type: string

The error message.

Mp4

Description

The MP4 video format configuration for bulk import files.

Members

MultiLayerStorage

Description

Contains information about the storage destination.

Members
customerManagedS3Storage
Required: Yes
Type: CustomerManagedS3Storage structure

Contains information about a customer managed Amazon S3 bucket.

Parquet

Description

A parquet file.

Members

PipelineExecutionStateDetails

Description

Additional information about the current execution status. Populated when the execution has terminated.

Members
code
Type: string

Classification of the failure. Present when the execution failed.

details
Type: Array of DetailedPipelineError structures

Per-step error entries to help diagnose a failed execution. Present when the execution failed.

message
Required: Yes
Type: string

Human-readable description of the outcome. For a failed execution, this describes why it failed; for a cancelled execution, this is the reason you supplied when calling CancelPipelineExecution.

PipelineExecutionStatus

Description

Current execution status of a pipeline.

Members
state
Required: Yes
Type: string

Current state of the pipeline execution.

stateDetails

Additional information about the execution outcome. Populated when the execution has terminated (failed or cancelled).

PipelineExecutionSummary

Description

Contains summary information about a pipeline execution.

Members
endTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the pipeline execution completed, in Unix epoch time.

executionPriority
Type: int

Scheduling priority for the execution. When not specified, defaults to lowest priority.

pipelineExecutionId
Required: Yes
Type: string

The unique identifier of the pipeline execution.

pipelineVersion
Required: Yes
Type: string

The pipeline version this execution ran against.

startTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the pipeline execution started, in Unix epoch time.

status
Required: Yes
Type: PipelineExecutionStatus structure

The current execution status of the pipeline.

PipelineSummary

Description

Contains summary information about a pipeline.

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the pipeline was created, in Unix epoch time.

description
Type: string

The description of the pipeline.

pipelineArn
Required: Yes
Type: string

The ARN of the pipeline.

pipelineName
Required: Yes
Type: string

The name of the pipeline.

status
Required: Yes
Type: ResourceStatus structure

The current lifecycle status of the pipeline.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the pipeline was last updated, in Unix epoch time.

version
Required: Yes
Type: string

The version of the pipeline.

PortalResource

Description

Identifies an IoT SiteWise Monitor portal.

Members
id
Required: Yes
Type: string

The ID of the portal.

PortalStatus

Description

Contains information about the current status of a portal.

Members
error
Type: MonitorErrorDetails structure

Contains associated error information, if any.

state
Required: Yes
Type: string

The current state of the portal.

PortalSummary

Description

Contains a portal summary.

Members
creationDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the portal was created, in Unix epoch time.

description
Type: string

The portal's description.

id
Required: Yes
Type: string

The ID of the portal.

lastUpdateDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the portal was last updated, in Unix epoch time.

name
Required: Yes
Type: string

The name of the portal.

portalType
Type: string

Define the type of portal. The value for IoT SiteWise Monitor (Classic) is SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) is SITEWISE_PORTAL_V2.

roleArn
Type: string

The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.

startUrl
Required: Yes
Type: string

The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.

status
Required: Yes
Type: PortalStatus structure

Contains information about the current status of a portal.

PortalTypeEntry

Description

The configuration entry associated with the specific portal type. The portalTypeConfiguration is a map of the portalTypeKey to the PortalTypeEntry.

Members
portalTools
Type: Array of strings

The array of tools associated with the specified portal type. The possible values are ASSISTANT and DASHBOARD.

PreconditionFailedException

Description

The precondition in one or more of the request-header fields evaluated to FALSE.

Members
message
Required: Yes
Type: string
resourceArn
Required: Yes
Type: string

The ARN of the resource on which precondition failed with this operation.

resourceId
Required: Yes
Type: string

The ID of the resource on which precondition failed with this operation.

ProcessingInput

Description
<p>Input source for processing. Specify exactly one option.</p>
Members
dataset
Type: DatasetItem structure
<p>A dataset containing multiple items to process.</p>
timeseries
Type: Array of TimeseriesItem structures
<p>List of individual timeseries items to process.</p>

ProjectResource

Description

Identifies a specific IoT SiteWise Monitor project.

Members
id
Required: Yes
Type: string

The ID of the project.

ProjectSummary

Description

Contains project summary information.

Members
creationDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the project was created, in Unix epoch time.

description
Type: string

The project's description.

id
Required: Yes
Type: string

The ID of the project.

lastUpdateDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the project was last updated, in Unix epoch time.

name
Required: Yes
Type: string

The name of the project.

Property

Description

Contains asset property information.

Members
alias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

dataType
Required: Yes
Type: string

The property data type.

externalId
Type: string

The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.

id
Required: Yes
Type: string

The ID of the asset property.

name
Required: Yes
Type: string

The name of the property.

notification
Type: PropertyNotification structure

The asset property's notification topic and state. For more information, see UpdateAssetProperty.

path
Type: Array of AssetPropertyPathSegment structures

The structured path to the property from the root of the asset.

type
Type: PropertyType structure

The property type (see PropertyType). A property contains one type.

unit
Type: string

The unit (such as Newtons or RPM) of the asset property.

PropertyMapping

Description

Maps a property from an interface asset model to a property in the asset model where the interface is applied.

Members
assetModelPropertyId
Required: Yes
Type: string

The ID of the property in the asset model where the interface is applied.

interfaceAssetModelPropertyId
Required: Yes
Type: string

The ID of the property in the interface asset model.

PropertyMappingConfiguration

Description

Contains configuration options for mapping properties from an interface asset model to an asset model where the interface is applied.

Members
createMissingProperty
Type: boolean

If true, missing properties from the interface asset model are automatically created in the asset model where the interface is applied.

matchByPropertyName
Type: boolean

If true, properties are matched by name between the interface asset model and the asset model where the interface is applied.

overrides
Type: Array of PropertyMapping structures

A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.

PropertyNotification

Description

Contains asset property value notification information. When the notification state is enabled, IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the IoT SiteWise User Guide.

Members
state
Required: Yes
Type: string

The current notification state.

topic
Required: Yes
Type: string

The MQTT topic to which IoT SiteWise publishes property value update notifications.

PropertyType

Description

Contains a property type, which can be one of attribute, measurement, metric, or transform.

Members
attribute
Type: Attribute structure

Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.

measurement
Type: Measurement structure

Specifies an asset measurement property. A measurement represents a device's raw sensor data stream, such as timestamped temperature values or timestamped power values.

metric
Type: Metric structure

Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.

transform
Type: Transform structure

Specifies an asset transform property. A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.

PropertyValueNullValue

Description

The value type of null asset property data with BAD and UNCERTAIN qualities.

Members
valueType
Required: Yes
Type: string

The type of null asset property data.

PutAssetPropertyValueEntry

Description

Contains a list of value updates for an asset property in the list of asset entries consumed by the BatchPutAssetPropertyValue API operation.

Members
assetId
Type: string

The ID of the asset to update.

entryId
Required: Yes
Type: string

The user specified ID for the entry. You can use this ID to identify which entries failed.

propertyAlias
Type: string

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

propertyId
Type: string

The ID of the asset property for this entry.

propertyValues
Required: Yes
Type: Array of AssetPropertyValue structures

The list of property values to upload. You can specify up to 10 propertyValues array elements.

QueryStatistics

Description

Contains statistics about a completed query execution.

Members
bytesScanned
Required: Yes
Type: long (int|float)

The total number of bytes scanned during query execution.

executionTimeInMillis
Required: Yes
Type: long (int|float)

The total query execution time, in milliseconds.

rowCount
Required: Yes
Type: long (int|float)

The total number of rows returned by the query.

QuerySummary

Description

Contains summary information about a query.

Members
completedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time when the query reached a terminal state, in Unix epoch time.

queryId
Required: Yes
Type: string

The unique identifier for the query execution.

status
Required: Yes
Type: string

The current query status.

submittedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time when the query was submitted, in Unix epoch time.

QueryTimeoutException

Description

The query timed out.

Members
message
Type: string

Reference

Description

Contains the reference information.

Members
dataset
Type: DataSetReference structure

Contains the dataset reference information.

ResolveTo

Description

The detailed resource this execution summary resolves to.

Members
assetId
Required: Yes
Type: string

The ID of the asset that the resource resolves to.

Resource

Description

Contains an IoT SiteWise Monitor resource ID for a portal or project.

Members
portal
Type: PortalResource structure

A portal resource.

project
Type: ProjectResource structure

A project resource.

ResourceAlreadyExistsException

Description

The resource already exists.

Members
message
Required: Yes
Type: string
resourceArn
Required: Yes
Type: string

The ARN of the resource that already exists.

resourceId
Required: Yes
Type: string

The ID of the resource that already exists.

ResourceError

Description

Contains the details of a resource error.

Members
code
Type: string

The error code.

message
Type: string

The error message.

ResourceNotFoundException

Description

The requested resource can't be found.

Members
message
Required: Yes
Type: string

ResourceStatus

Description

Contains information about the current status of a resource.

Members
error
Type: ResourceError structure

Contains associated error information, if any.

state
Type: string

The current status of the resource.

ResponseStream

Description

Contains the response, citation, and trace from the SiteWise Assistant.

Members
accessDeniedException
Type: AccessDeniedException structure

Access is denied.

conflictingOperationException

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

internalFailureException
Type: InternalFailureException structure

IoT SiteWise can't process your request right now. Try again later.

invalidRequestException
Type: InvalidRequestException structure

The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.

limitExceededException
Type: LimitExceededException structure

You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model.

For more information, see Quotas in the IoT SiteWise User Guide.

output
Type: InvocationOutput structure

Contains the SiteWise Assistant's response.

resourceNotFoundException
Type: ResourceNotFoundException structure

The requested resource can't be found.

throttlingException
Type: ThrottlingException structure

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

trace
Type: Trace structure

Contains tracing information of the SiteWise Assistant's reasoning and data access.

RetentionPeriod

Description

The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.

Members
numberOfDays
Type: int

The number of days that your data is kept.

If you specified a value for this parameter, the unlimited parameter must be false.

unlimited
Type: boolean

If true, your data is kept indefinitely.

If configured to true, you must not specify a value for the numberOfDays parameter.

Row

Description

Represents a single row in the query results.

Members
data
Required: Yes
Type: Array of Datum structures

List of data points in a single row of the result set.

SearchFilters

Description

Optional filters that restrict a search to a subset of the workspace's data.

Members
datasetIds
Type: Array of strings

Restricts the search to these datasets.

timeIntervals
Type: Array of TimeInterval structures

Restricts the search to these time intervals.

timeSeriesIds
Type: Array of strings

Restricts the search to these time series.

SearchResult

Description

A single matching segment of time-series data returned by a search.

Members
datasetId
Required: Yes
Type: string

The identifier of the dataset that contains the matching data.

endTimestamp
Required: Yes
Type: TimeInNanos structure

The end of the matching time-series segment, in nanoseconds since the Unix epoch.

score
Required: Yes
Type: float

The relevance score of this result. Higher scores indicate a stronger match.

searchId
Required: Yes
Type: string

The identifier of the search that produced this result.

startTimestamp
Required: Yes
Type: TimeInNanos structure

The start of the matching time-series segment, in nanoseconds since the Unix epoch.

timeSeriesId
Required: Yes
Type: string

The identifier of the time series that contains the matching data.

topTimestamp
Required: Yes
Type: TimeInNanos structure

The timestamp of the most relevant point within the matching segment, in nanoseconds since the Unix epoch.

workspaceName
Required: Yes
Type: string

The name of the workspace the search ran against.

SearchSummary

Description

A summary of a single search as returned by ListSearches.

Members
groupId
Type: string

The group identifier associated with the search, if one was supplied on the request.

queryStatement
Required: Yes
Type: string

The natural-language query that was submitted for the search.

searchId
Required: Yes
Type: string

The unique identifier of the search.

searchType
Required: Yes
Type: string

The search strategy used for the search.

startedAt
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time at which the search was started.

status
Required: Yes
Type: string

The current status of the search.

statusReason
Type: string

A human-readable explanation of the current status. Populated when the search has FAILED.

workspaceName
Required: Yes
Type: string

The name of the workspace the search runs against.

ServiceUnavailableException

Description

The requested service is unavailable.

Members
message
Required: Yes
Type: string

SessionConfig

Description

Contains the session configuration for a session-type dataset.

Members
sessionEndTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision end time of the session.

sessionStartTimestamp
Required: Yes
Type: TimeInNanos structure

The nanosecond-precision start time of the session.

SiemensIE

Description

Contains details for a SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.

Members
iotCoreThingName
Required: Yes
Type: string

The name of the IoT Thing for your SiteWise Edge gateway.

Source

Description

The data source for the dataset.

Members
arn
Type: string

Contains the ARN of the dataset. If the source is Kendra, it's the ARN of the Kendra index.

location
Type: Location structure

Contains the location information where the cited text is originally stored. For example, if the data source is Kendra, and the text synchronized is from an S3 bucket, then the location refers to an S3 object.

SourceDetail

Description

The details of the dataset source associated with the dataset.

Members
kendra
Type: KendraSourceDetail structure

Contains details about the Kendra dataset source.

TargetResource

Description

The resource the action will be taken on. This can include asset-based resources and computation model resources.

Members
assetId
Type: string

The ID of the asset, in UUID format.

computationModelId
Type: string

The ID of the computation model.

TaskConfiguration

Description

The task execution configuration. Specify a containerTaskConfiguration for a custom container workload.

Members
containerTaskConfiguration
Type: ContainerTaskConfiguration structure

Configuration for running a custom container image on managed compute.

TaskSummary

Description

Contains summary information about a task.

Members
createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the task was created, in Unix epoch time.

description
Type: string

The description of the task.

status
Required: Yes
Type: ResourceStatus structure

The current lifecycle status of the task.

taskArn
Required: Yes
Type: string

The ARN of the task.

taskName
Required: Yes
Type: string

The name of the task.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The time the task was last updated, in Unix epoch time.

version
Required: Yes
Type: string

The version of the task.

ThrottlingException

Description

Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.

For more information, see Quotas in the IoT SiteWise User Guide.

Members
message
Required: Yes
Type: string

TimeInNanos

Description

Contains a timestamp with optional nanosecond granularity.

Members
offsetInNanos
Type: int

The nanosecond offset from timeInSeconds.

timeInSeconds
Required: Yes
Type: long (int|float)

The timestamp date, in seconds, in the Unix epoch format. Fractional nanosecond data is provided by offsetInNanos.

TimeInterval

Description

Contains a time interval with a start time and an end time. Use a time interval to restrict an operation, such as a search, to a specific time range.

Members
endTime
Required: Yes
Type: TimeInNanos structure

The end of the time interval.

startTime
Required: Yes
Type: TimeInNanos structure

The start of the time interval.

TimeSeriesSummary

Description

Contains a summary of a time series (data stream).

Members
alias
Type: string

The alias that identifies the time series.

assetId
Type: string

The ID of the asset in which the asset property was created.

dataType
Required: Yes
Type: string

The data type of the time series.

If you specify STRUCT, you must also specify dataTypeSpec to identify the type of the structure for this time series.

dataTypeSpec
Type: string

The data type of the structure for this time series. This parameter is required for time series that have the STRUCT data type.

The options for this parameter depend on the type of the composite model in which you created the asset property that is associated with your time series. Use AWS/ALARM_STATE for alarm state in alarm composite models.

propertyId
Type: string

The ID of the asset property, in UUID format.

timeSeriesArn
Required: Yes
Type: string

The ARN of the time series, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}

timeSeriesCreationDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date that the time series was created, in Unix epoch time.

timeSeriesId
Required: Yes
Type: string

The ID of the time series.

timeSeriesLastUpdateDate
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date that the time series was last updated, in Unix epoch time.

TimeseriesItem

Description
<p>A single timeseries item to process. Exactly one of timeSeriesId or propertyAlias must be provided.</p>
Members
formatSettings
Type: FormatSettings structure
<p>The optional format settings for the output.</p>
propertyAlias
Type: string
<p>The customer-friendly alias for the timeseries. Mutually exclusive with timeSeriesId.</p>
timeSeriesId
Type: string
<p>The unique identifier for the timeseries. Mutually exclusive with propertyAlias.</p>
trimSettings
Type: TrimSettings structure
<p>The trim settings for the time range to export. Required for VIDEO and TELEMETRY data types; optional for ANNOTATION data types.</p>

TooManyTagsException

Description

You've reached the quota for the number of tags allowed for a resource. For more information, see Tag naming limits and requirements in the Amazon Web Services General Reference.

Members
message
Type: string
resourceName
Type: string

The name of the resource with too many tags.

Trace

Description

Contains tracing information of the SiteWise Assistant's reasoning and data access.

Members
text
Type: string

The cited text from the data source.

Transform

Description

Contains an asset transform property. A transform is a one-to-one mapping of a property's data points from one form to another. For example, you can use a transform to convert a Celsius data stream to Fahrenheit by applying the transformation expression to each data point of the Celsius stream. A transform can only have a data type of DOUBLE and consume properties with data types of INTEGER or DOUBLE.

For more information, see Transforms in the IoT SiteWise User Guide.

Members
expression
Required: Yes
Type: string

The mathematical expression that defines the transformation function. You can specify up to 10 variables per expression. You can specify up to 10 functions per expression.

For more information, see Quotas in the IoT SiteWise User Guide.

processingConfig
Type: TransformProcessingConfig structure

The processing configuration for the given transform property. You can configure transforms to be kept at the edge or forwarded to the Amazon Web Services Cloud. You can also configure transforms to be computed at the edge or in the cloud.

variables
Required: Yes
Type: Array of ExpressionVariable structures

The list of variables used in the expression.

TransformProcessingConfig

Description

The processing configuration for the given transform property. You can configure transforms to be kept at the edge or forwarded to the Amazon Web Services Cloud. You can also configure transforms to be computed at the edge or in the cloud.

Members
computeLocation
Required: Yes
Type: string

The compute location for the given transform property.

forwardingConfig
Type: ForwardingConfig structure

The forwarding configuration for a given property.

TrimSettings

Description
<p>Contains settings for trimming content to a specific time range.</p>
Members
endTime
Required: Yes
Type: TimeInNanos structure
<p>The end time for the trim range. Must be greater than startTime.</p>
startTime
Required: Yes
Type: TimeInNanos structure
<p>The start time for the trim range.</p>

TumblingWindow

Description

Contains a tumbling window, which is a repeating fixed-sized, non-overlapping, and contiguous time window. You can use this window in metrics to aggregate data from properties and other assets.

You can use m, h, d, and w when you specify an interval or offset. Note that m represents minutes, h represents hours, d represents days, and w represents weeks. You can also use s to represent seconds in offset.

The interval and offset parameters support the ISO 8601 format. For example, PT5S represents 5 seconds, PT5M represents 5 minutes, and PT5H represents 5 hours.

Members
interval
Required: Yes
Type: string

The time interval for the tumbling window. The interval time must be between 1 minute and 1 week.

IoT SiteWise computes the 1w interval the end of Sunday at midnight each week (UTC), the 1d interval at the end of each day at midnight (UTC), the 1h interval at the end of each hour, and so on.

When IoT SiteWise aggregates data points for metric computations, the start of each interval is exclusive and the end of each interval is inclusive. IoT SiteWise places the computed data point at the end of the interval.

offset
Type: string

The offset for the tumbling window. The offset parameter accepts the following:

  • The offset time.

    For example, if you specify 18h for offset and 1d for interval, IoT SiteWise aggregates data in one of the following ways:

    • If you create the metric before or at 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) on the day when you create the metric.

    • If you create the metric after 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) the next day.

  • The ISO 8601 format.

    For example, if you specify PT18H for offset and 1d for interval, IoT SiteWise aggregates data in one of the following ways:

    • If you create the metric before or at 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) on the day when you create the metric.

    • If you create the metric after 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) the next day.

  • The 24-hour clock.

    For example, if you specify 00:03:00 for offset, 5m for interval, and you create the metric at 2 PM (UTC), you get the first aggregation result at 2:03 PM (UTC). You get the second aggregation result at 2:08 PM (UTC).

  • The offset time zone.

    For example, if you specify 2021-07-23T18:00-08 for offset and 1d for interval, IoT SiteWise aggregates data in one of the following ways:

    • If you create the metric before or at 6 PM (PST), you get the first aggregation result at 6 PM (PST) on the day when you create the metric.

    • If you create the metric after 6 PM (PST), you get the first aggregation result at 6 PM (PST) the next day.

UnauthorizedException

Description

You are not authorized.

Members
message
Required: Yes
Type: string

UserIdentity

Description

Contains information for a user identity in an access policy.

Members
id
Required: Yes
Type: string

The IAM Identity Center ID of the user.

ValidationException

Description

The validation failed for this query.

Members
message
Type: string

VariableValue

Description

Identifies a property value used in an expression.

Members
hierarchyId
Type: string

The ID of the hierarchy to query for the property ID. You can use the hierarchy's name instead of the hierarchy's ID. If the hierarchy has an external ID, you can specify externalId: followed by the external ID. For more information, see Using external IDs in the IoT SiteWise User Guide.

You use a hierarchy ID instead of a model ID because you can have several hierarchies using the same model and therefore the same propertyId. For example, you might have separately grouped assets that come from the same asset model. For more information, see Asset hierarchies in the IoT SiteWise User Guide.

propertyId
Type: string

The ID of the property to use as the variable. You can use the property name if it's from the same asset model. If the property has an external ID, you can specify externalId: followed by the external ID. For more information, see Using external IDs in the IoT SiteWise User Guide.

propertyPath
Type: Array of AssetModelPropertyPathSegment structures

The path of the property.

Variant

Description

Contains an asset property value (of a single type only).

Members
booleanValue
Type: boolean

Asset property data of type Boolean (true or false).

doubleValue
Type: double

Asset property data of type double (floating point number). The min value is -10^10. The max value is 10^10. Double.NaN is allowed.

integerValue
Type: int

Asset property data of type integer (whole number).

nullValue
Type: PropertyValueNullValue structure

The type of null asset property data with BAD and UNCERTAIN qualities.

stringValue
Type: string

Asset property data of type string (sequence of characters). The allowed pattern: "^$|[^\u0000-\u001F\u007F]+". The max length is 1024.

WarmTierRetentionPeriod

Description

Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.

Members
numberOfDays
Type: int

The number of days the data is stored in the warm tier.

unlimited
Type: boolean

If set to true, the data is stored indefinitely in the warm tier.

WorkspaceEncryptionConfiguration

Description

Contains the encryption configuration for a workspace.

Members
encryptionType
Required: Yes
Type: string

The encryption scheme for the workspace. SITEWISE_DEFAULT_ENCRYPTION encrypts data with the IoT SiteWise default key. KMS_BASED_ENCRYPTION encrypts data with the customer managed KMS key identified by kmsKeyId.

kmsKeyId
Type: string

The customer managed KMS key used when encryptionType is KMS_BASED_ENCRYPTION. Accepts a key ID, key ARN, or key alias. Required for KMS_BASED_ENCRYPTION; must be omitted for SITEWISE_DEFAULT_ENCRYPTION. After a workspace's customer managed key configuration becomes active, the key can't be changed.

WorkspaceEncryptionConfigurationInfo

Description

Contains the encryption configuration information for a workspace.

Members
encryptionType
Required: Yes
Type: string

The type of encryption used for the workspace.

kmsKeyArn
Type: string

The key ARN of the KMS key used for KMS encryption if encryptionType is KMS_BASED_ENCRYPTION.

WorkspaceErrorDetails

Description

Contains the details of an error associated with a workspace.

Members
code
Required: Yes
Type: string

The error code.

message
Required: Yes
Type: string

The error message.

WorkspaceStatus

Description

Contains information about the current status of a workspace.

Members
error
Type: WorkspaceErrorDetails structure

Contains associated error information, if any.

state
Required: Yes
Type: string

The current state of the workspace.

WorkspaceSummary

Description

Contains summary information about a workspace, including its name, ARN, status, and creation and update timestamps.

Members
arn
Required: Yes
Type: string

The ARN of the workspace.

createdAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the workspace was created, in Unix epoch time.

name
Required: Yes
Type: string

The name of the workspace.

status
Required: Yes
Type: WorkspaceStatus structure

The status of the workspace.

updatedAt
Required: Yes
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date the workspace was last updated, in Unix epoch time.