Amazon IoT SiteWise Iot Sitewise Computation Models API
The Iot Sitewise Computation Models API from Amazon IoT SiteWise — 3 operation(s) for iot sitewise computation models.
The Iot Sitewise Computation Models API from Amazon IoT SiteWise — 3 operation(s) for iot sitewise computation models.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-iot-sitewise:amazon-iot-sitewise-computation-models-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: AWS IoT SiteWise Computation Models API
version: '2019-12-02'
description: Generated from AWS's published Smithy model for AWS IoT SiteWise. 6 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://iotsitewise.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/computation-models:
post:
operationId: CreateComputationModel
summary: Create Computation Model
description: Create a computation model with a configuration and data binding.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/CreateComputationModelResponse'
'409':
description: ConflictingOperationException; ResourceAlreadyExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
'500':
description: InternalFailureException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalFailureException'
'400':
description: InvalidRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'410':
description: LimitExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/LimitExceededException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
requestBody:
content:
application/json:
schema:
type: object
properties:
computationModelName:
type: string
description: The name of the computation model.
computationModelDescription:
type: string
description: The description of the computation model.
computationModelConfiguration:
$ref: '#/components/schemas/ComputationModelConfiguration'
computationModelDataBinding:
type: object
additionalProperties:
$ref: '#/components/schemas/ComputationModelDataBindingValue'
description: The data binding for the computation model. Key is a variable name defined in configuration.
Value is a ComputationModelDataBindingValue referenced by the variable.
clientToken:
type: string
description: 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: object
additionalProperties:
type: string
description: 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.
required:
- computationModelName
- computationModelConfiguration
- computationModelDataBinding
tags:
- Computation Models
get:
operationId: ListComputationModels
summary: List Computation Models
description: Retrieves a paginated list of summaries of all computation models.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ListComputationModelsResponse'
'500':
description: InternalFailureException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalFailureException'
'400':
description: InvalidRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
parameters:
- name: computationModelType
in: query
schema:
type: string
enum:
- ANOMALY_DETECTION
description: The type of computation model. If a computationModelType is not provided, all types of computation models
are returned.
- name: nextToken
in: query
schema:
type: string
description: The token to be used for the next set of paginated results.
- name: maxResults
in: query
schema:
type: integer
description: The maximum number of results to return for each paginated request.
tags:
- Computation Models
/computation-models/{computationModelId}:
delete:
operationId: DeleteComputationModel
summary: Delete Computation Model
description: Deletes a computation model. This action can't be undone.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteComputationModelResponse'
'409':
description: ConflictingOperationException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
'500':
description: InternalFailureException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalFailureException'
'400':
description: InvalidRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
parameters:
- name: computationModelId
in: path
required: true
schema:
type: string
description: The ID of the computation model.
- name: clientToken
in: query
schema:
type: string
description: 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:
- Computation Models
get:
operationId: DescribeComputationModel
summary: Describe Computation Model
description: Retrieves information about a computation model.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DescribeComputationModelResponse'
'500':
description: InternalFailureException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalFailureException'
'400':
description: InvalidRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
parameters:
- name: computationModelId
in: path
required: true
schema:
type: string
description: The ID of the computation model.
- name: computationModelVersion
in: query
schema:
type: string
description: The version of the computation model.
tags:
- Computation Models
post:
operationId: UpdateComputationModel
summary: Update Computation Model
description: Updates the computation model.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateComputationModelResponse'
'409':
description: ConflictingOperationException; ResourceAlreadyExistsException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictingOperationException'
'500':
description: InternalFailureException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalFailureException'
'400':
description: InvalidRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'410':
description: LimitExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/LimitExceededException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
parameters:
- name: computationModelId
in: path
required: true
schema:
type: string
description: The ID of the computation model.
requestBody:
content:
application/json:
schema:
type: object
properties:
computationModelName:
type: string
description: The name of the computation model.
computationModelDescription:
type: string
description: The description of the computation model.
computationModelConfiguration:
$ref: '#/components/schemas/ComputationModelConfiguration'
computationModelDataBinding:
type: object
additionalProperties:
$ref: '#/components/schemas/ComputationModelDataBindingValue'
description: The data binding for the computation model. Key is a variable name defined in configuration.
Value is a ComputationModelDataBindingValue referenced by the variable.
clientToken:
type: string
description: 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.
required:
- computationModelName
- computationModelConfiguration
- computationModelDataBinding
tags:
- Computation Models
/computation-models/data-binding-usages:
post:
operationId: ListComputationModelDataBindingUsages
summary: List Computation Model Data Binding Usages
description: 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.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ListComputationModelDataBindingUsagesResponse'
'500':
description: InternalFailureException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalFailureException'
'400':
description: InvalidRequestException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidRequestException'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
requestBody:
content:
application/json:
schema:
type: object
properties:
dataBindingValueFilter:
$ref: '#/components/schemas/DataBindingValueFilter'
nextToken:
type: string
description: The token used for the next set of paginated results.
maxResults:
type: integer
description: The maximum number of results returned for each paginated request.
required:
- dataBindingValueFilter
tags:
- Computation Models
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: iotsitewise
schemas:
ActionDefinition:
type: object
properties:
actionDefinitionId:
type: string
description: The ID of the action definition.
actionName:
type: string
description: The name of the action definition.
actionType:
type: string
description: The type of the action definition.
required:
- actionDefinitionId
- actionName
- actionType
AssetBindingValueFilter:
type: object
properties:
assetId:
type: string
description: The ID of the asset to filter data bindings by. Only data bindings referencing this specific asset
are matched.
required:
- assetId
AssetModelBindingValueFilter:
type: object
properties:
assetModelId:
type: string
description: The ID of the asset model to filter data bindings by. Only data bindings referemncing this specific
asset model are matched.
required:
- assetModelId
AssetModelPropertyBindingValue:
type: object
properties:
assetModelId:
type: string
description: The ID of the asset model, in UUID format.
propertyId:
type: string
description: The ID of the asset model property used in data binding value.
required:
- assetModelId
- propertyId
AssetModelPropertyBindingValueFilter:
type: object
properties:
assetModelId:
type: string
description: The ID of the asset model containing the filter property. This identifies the specific asset model
that contains the property of interest.
propertyId:
type: string
description: 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.
required:
- assetModelId
- propertyId
AssetPropertyBindingValue:
type: object
properties:
assetId:
type: string
description: The ID of the asset containing the property. This identifies the specific asset instance's property
value used in the computation model.
propertyId:
type: string
description: The ID of the property within the asset. This identifies the specific property's value used in the
computation model.
required:
- assetId
- propertyId
AssetPropertyBindingValueFilter:
type: object
properties:
assetId:
type: string
description: The ID of the asset containing the property to filter by. This identifies the specific asset instance
containing the property of interest.
propertyId:
type: string
description: The ID of the property within the asset to filter by. Only data bindings referencing this specific
property of the specified asset are matched.
required:
- assetId
- propertyId
ComputationModelAnomalyDetectionConfiguration:
type: object
properties:
inputProperties:
type: string
description: Define the variable name associated with input properties, with the following format ${VariableName}.
resultProperty:
type: string
description: Define the variable name associated with the result property, and the following format ${VariableName}.
required:
- inputProperties
- resultProperty
ComputationModelConfiguration:
type: object
properties:
anomalyDetection:
$ref: '#/components/schemas/ComputationModelAnomalyDetectionConfiguration'
ComputationModelDataBindingUsageSummary:
type: object
properties:
computationModelIds:
type: array
items:
type: string
description: 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:
$ref: '#/components/schemas/MatchedDataBinding'
required:
- computationModelIds
- matchedDataBinding
ComputationModelDataBindingValue:
type: object
properties:
assetModelProperty:
$ref: '#/components/schemas/AssetModelPropertyBindingValue'
assetProperty:
$ref: '#/components/schemas/AssetPropertyBindingValue'
list:
type: array
items:
$ref: '#/components/schemas/ComputationModelDataBindingValue'
description: Specifies a list of data binding value.
ComputationModelStatus:
type: object
properties:
state:
type: string
enum:
- CREATING
- ACTIVE
- UPDATING
- DELETING
- FAILED
description: The current state of the computation model.
error:
$ref: '#/components/schemas/ErrorDetails'
required:
- state
ComputationModelSummary:
type: object
properties:
id:
type: string
description: The ID of the computation model.
arn:
type: string
description: The ARN of the computation model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}
name:
type: string
description: The name of the computation model.
description:
type: string
description: The description of the computation model.
type:
type: string
enum:
- ANOMALY_DETECTION
description: The type of the computation model.
creationDate:
type: string
format: date-time
description: The model creation date, in Unix epoch time.
lastUpdateDate:
type: string
format: date-time
description: The time the model was last updated, in Unix epoch time.
status:
$ref: '#/components/schemas/ComputationModelStatus'
version:
type: string
description: The version of the computation model.
required:
- id
- arn
- name
- type
- creationDate
- lastUpdateDate
- status
- version
ConflictingOperationException:
type: object
properties:
message:
type: string
resourceId:
type: string
description: The ID of the resource that conflicts with this operation.
resourceArn:
type: string
description: The ARN of the resource that conflicts with this operation.
required:
- message
- resourceId
- resourceArn
CreateComputationModelResponse:
type: object
properties:
computationModelId:
type: string
description: The ID of the computation model.
computationModelArn:
type: string
description: The ARN of the computation model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}
computationModelStatus:
$ref: '#/components/schemas/ComputationModelStatus'
required:
- computationModelId
- computationModelArn
- computationModelStatus
DataBindingValue:
type: object
properties:
assetModelProperty:
$ref: '#/components/schemas/AssetModelPropertyBindingValue'
assetProperty:
$ref: '#/components/schemas/AssetPropertyBindingValue'
DataBindingValueFilter:
type: object
properties:
asset:
$ref: '#/components/schemas/AssetBindingValueFilter'
assetModel:
$ref: '#/components/schemas/AssetModelBindingValueFilter'
assetProperty:
$ref: '#/components/schemas/AssetPropertyBindingValueFilter'
assetModelProperty:
$ref: '#/components/schemas/AssetModelPropertyBindingValueFilter'
DeleteComputationModelResponse:
type: object
properties:
computationModelStatus:
$ref: '#/components/schemas/ComputationModelStatus'
required:
- computationModelStatus
DescribeComputationModelResponse:
type: object
properties:
computationModelId:
type: string
description: The ID of the computation model.
computationModelArn:
type: string
description: The ARN of the computation model, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}
computationModelName:
type: string
description: The name of the computation model.
computationModelDescription:
type: string
description: The description of the computation model.
computationModelConfiguration:
$ref: '#/components/schemas/ComputationModelConfiguration'
computationModelDataBinding:
type: object
additionalProperties:
$ref: '#/components/schemas/ComputationModelDataBindingValue'
description: The data binding for the computation model. Key is a variable name defined in configuration. Value
is a ComputationModelDataBindingValue referenced by the variable.
computationModelCreationDate:
type: string
format: date-time
description: The model creation date, in Unix epoch time.
computationModelLastUpdateDate:
type: string
format: date-time
description: The date the model was last updated, in Unix epoch time.
computationModelStatus:
$ref: '#/components/schemas/ComputationModelStatus'
computationModelVersion:
type: string
description: The version of the computation model.
actionDefinitions:
type: array
items:
$ref: '#/components/schemas/ActionDefinition'
description: The available actions for this computation model.
required:
- computationModelId
- computationModelArn
- computationModelName
- computationModelConfiguration
- computationModelDataBinding
- computationModelCreationDate
- computationModelLastUpdateDate
- computationModelStatus
- computationModelVersion
- actionDefinitions
DetailedError:
type: object
properties:
code:
type: string
enum:
- INCOMPATIBLE_COMPUTE_LOCATION
- INCOMPATIBLE_FORWARDING_CONFIGURATION
description: The error code.
message:
type: string
description: The error message.
required:
- code
- message
ErrorDetails:
type: object
properties:
code:
type: string
enum:
- VALIDATION_ERROR
- INTERNAL_FAILURE
description: The error code.
message:
type: string
description: The error message.
details:
type: array
items:
$ref: '#/components/schemas/DetailedError'
description: A list of detailed errors.
required:
- code
- message
InternalFailureException:
type: object
properties:
message:
type: string
required:
- message
InvalidRequestException:
type: object
properties:
message:
type: string
required:
- message
LimitExceededException:
type: object
properties:
message:
type: string
required:
- message
ListComputationModelDataBindingUsagesResponse:
type: object
properties:
dataBindingUsageSummaries:
type: array
items:
$ref: '#/components/schemas/ComputationModelDataBindingUsageSummary'
description: 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
description: The token for the next set of paginated results, or null if there are no additional results.
required:
- dataBindingUsageSummaries
ListComputationModelsResponse:
type: object
properties:
computationModelSummaries:
type: array
items:
$ref: '#/components/schemas/ComputationModelSummary'
description: A list summarizing each computation model.
nextToken:
type: string
description: The token for the next set of results, or null if there are no additional results.
required:
- computationModelSummaries
MatchedDataBinding:
type: object
properties:
value:
$ref: '#/components/schemas/DataBindingValue'
required:
- value
ResourceNotFoundException:
type: object
properties:
message:
type: string
required:
- message
ThrottlingException:
type: object
properties:
message:
type: string
required:
- message
UpdateComputationModelResponse:
type: object
properties:
computationModelStatus:
$ref: '#/components/schemas/ComputationModelStatus'
required:
- computationModelStatus
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/iotsitewise/service/2019-12-02/iotsitewise-2019-12-02.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)