{ "version": "2.0", "metadata": { "apiVersion": "2018-09-06", "endpointPrefix": "iotthingsgraph", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "AWS IoT Things Graph", "serviceId": "IoTThingsGraph", "signatureVersion": "v4", "signingName": "iotthingsgraph", "targetPrefix": "IotThingsGraphFrontEndService", "uid": "iotthingsgraph-2018-09-06" }, "operations": { "AssociateEntityToThing": { "name": "AssociateEntityToThing", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AssociateEntityToThingRequest" }, "output": { "shape": "AssociateEntityToThingResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "InternalFailureException" }, { "shape": "ThrottlingException" } ], "documentation": "

Associates a device with a concrete thing that is in the user's registry.

A thing can be associated with only one device at a time. If you associate a thing with a new device id, its previous association will be removed.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "CreateFlowTemplate": { "name": "CreateFlowTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateFlowTemplateRequest" }, "output": { "shape": "CreateFlowTemplateResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceAlreadyExistsException" }, { "shape": "ThrottlingException" }, { "shape": "LimitExceededException" }, { "shape": "InternalFailureException" } ], "documentation": "

Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "CreateSystemInstance": { "name": "CreateSystemInstance", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateSystemInstanceRequest" }, "output": { "shape": "CreateSystemInstanceResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceAlreadyExistsException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "LimitExceededException" } ], "documentation": "

Creates a system instance.

This action validates the system instance, prepares the deployment-related resources. For Greengrass deployments, it updates the Greengrass group that is specified by the greengrassGroupName parameter. It also adds a file to the S3 bucket specified by the s3BucketName parameter. You need to call DeploySystemInstance after running this action.

For Greengrass deployments, since this action modifies and adds resources to a Greengrass group and an S3 bucket on the caller's behalf, the calling identity must have write permissions to both the specified Greengrass group and S3 bucket. Otherwise, the call will fail with an authorization error.

For cloud deployments, this action requires a flowActionsRoleArn value. This is an IAM role that has permissions to access AWS services, such as AWS Lambda and AWS IoT, that the flow uses when it executes.

If the definition document doesn't specify a version of the user's namespace, the latest version will be used by default.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "CreateSystemTemplate": { "name": "CreateSystemTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateSystemTemplateRequest" }, "output": { "shape": "CreateSystemTemplateResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceAlreadyExistsException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" } ], "documentation": "

Creates a system. The system is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "DeleteFlowTemplate": { "name": "DeleteFlowTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteFlowTemplateRequest" }, "output": { "shape": "DeleteFlowTemplateResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceInUseException" } ], "documentation": "

Deletes a workflow. Any new system or deployment that contains this workflow will fail to update or deploy. Existing deployments that contain the workflow will continue to run (since they use a snapshot of the workflow taken at the time of deployment).

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "DeleteNamespace": { "name": "DeleteNamespace", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteNamespaceRequest" }, "output": { "shape": "DeleteNamespaceResponse" }, "errors": [ { "shape": "InternalFailureException" }, { "shape": "ThrottlingException" } ], "documentation": "

Deletes the specified namespace. This action deletes all of the entities in the namespace. Delete the systems and flows that use entities in the namespace before performing this action. This action takes no request parameters.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "DeleteSystemInstance": { "name": "DeleteSystemInstance", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteSystemInstanceRequest" }, "output": { "shape": "DeleteSystemInstanceResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceInUseException" } ], "documentation": "

Deletes a system instance. Only system instances that have never been deployed, or that have been undeployed can be deleted.

Users can create a new system instance that has the same ID as a deleted system instance.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "DeleteSystemTemplate": { "name": "DeleteSystemTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteSystemTemplateRequest" }, "output": { "shape": "DeleteSystemTemplateResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceInUseException" } ], "documentation": "

Deletes a system. New deployments can't contain the system after its deletion. Existing deployments that contain the system will continue to work because they use a snapshot of the system that is taken when it is deployed.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "DeploySystemInstance": { "name": "DeploySystemInstance", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeploySystemInstanceRequest" }, "output": { "shape": "DeploySystemInstanceResponse" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceInUseException" } ], "documentation": "

Greengrass and Cloud Deployments

Deploys the system instance to the target specified in CreateSystemInstance.

Greengrass Deployments

If the system or any workflows and entities have been updated before this action is called, then the deployment will create a new Amazon Simple Storage Service resource file and then deploy it.

Since this action creates a Greengrass deployment on the caller's behalf, the calling identity must have write permissions to the specified Greengrass group. Otherwise, the call will fail with an authorization error.

For information about the artifacts that get added to your Greengrass core device when you use this API, see AWS IoT Things Graph and AWS IoT Greengrass.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "DeprecateFlowTemplate": { "name": "DeprecateFlowTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeprecateFlowTemplateRequest" }, "output": { "shape": "DeprecateFlowTemplateResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Deprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "DeprecateSystemTemplate": { "name": "DeprecateSystemTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeprecateSystemTemplateRequest" }, "output": { "shape": "DeprecateSystemTemplateResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Deprecates the specified system.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "DescribeNamespace": { "name": "DescribeNamespace", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeNamespaceRequest" }, "output": { "shape": "DescribeNamespaceResponse" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "InvalidRequestException" }, { "shape": "InternalFailureException" }, { "shape": "ThrottlingException" } ], "documentation": "

Gets the latest version of the user's namespace and the public version that it is tracking.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "DissociateEntityFromThing": { "name": "DissociateEntityFromThing", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DissociateEntityFromThingRequest" }, "output": { "shape": "DissociateEntityFromThingResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "InternalFailureException" }, { "shape": "ThrottlingException" } ], "documentation": "

Dissociates a device entity from a concrete thing. The action takes only the type of the entity that you need to dissociate because only one entity of a particular type can be associated with a thing.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "GetEntities": { "name": "GetEntities", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetEntitiesRequest" }, "output": { "shape": "GetEntitiesResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" } ], "documentation": "

Gets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the following TDM entities.

This action doesn't return definitions for systems, flows, and deployments.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "GetFlowTemplate": { "name": "GetFlowTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetFlowTemplateRequest" }, "output": { "shape": "GetFlowTemplateResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Gets the latest version of the DefinitionDocument and FlowTemplateSummary for the specified workflow.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "GetFlowTemplateRevisions": { "name": "GetFlowTemplateRevisions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetFlowTemplateRevisionsRequest" }, "output": { "shape": "GetFlowTemplateRevisionsResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Gets revisions of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated, this action will return revisions that occurred before the deprecation. This action won't work for workflows that have been deleted.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "GetNamespaceDeletionStatus": { "name": "GetNamespaceDeletionStatus", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetNamespaceDeletionStatusRequest" }, "output": { "shape": "GetNamespaceDeletionStatusResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "InternalFailureException" }, { "shape": "ThrottlingException" } ], "documentation": "

Gets the status of a namespace deletion task.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "GetSystemInstance": { "name": "GetSystemInstance", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetSystemInstanceRequest" }, "output": { "shape": "GetSystemInstanceResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Gets a system instance.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "GetSystemTemplate": { "name": "GetSystemTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetSystemTemplateRequest" }, "output": { "shape": "GetSystemTemplateResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Gets a system.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "GetSystemTemplateRevisions": { "name": "GetSystemTemplateRevisions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetSystemTemplateRevisionsRequest" }, "output": { "shape": "GetSystemTemplateRevisionsResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Gets revisions made to the specified system template. Only the previous 100 revisions are stored. If the system has been deprecated, this action will return the revisions that occurred before its deprecation. This action won't work with systems that have been deleted.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "GetUploadStatus": { "name": "GetUploadStatus", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetUploadStatusRequest" }, "output": { "shape": "GetUploadStatusResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "InternalFailureException" }, { "shape": "ThrottlingException" } ], "documentation": "

Gets the status of the specified upload.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "ListFlowExecutionMessages": { "name": "ListFlowExecutionMessages", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListFlowExecutionMessagesRequest" }, "output": { "shape": "ListFlowExecutionMessagesResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Returns a list of objects that contain information about events in a flow execution.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ListTagsForResourceRequest" }, "output": { "shape": "ListTagsForResourceResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceAlreadyExistsException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" } ], "documentation": "

Lists all tags on an AWS IoT Things Graph resource.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "SearchEntities": { "name": "SearchEntities", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "SearchEntitiesRequest" }, "output": { "shape": "SearchEntitiesResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "InternalFailureException" }, { "shape": "ThrottlingException" } ], "documentation": "

Searches for entities of the specified type. You can search for entities in your namespace and the public namespace that you're tracking.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "SearchFlowExecutions": { "name": "SearchFlowExecutions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "SearchFlowExecutionsRequest" }, "output": { "shape": "SearchFlowExecutionsResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Searches for AWS IoT Things Graph workflow execution instances.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "SearchFlowTemplates": { "name": "SearchFlowTemplates", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "SearchFlowTemplatesRequest" }, "output": { "shape": "SearchFlowTemplatesResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" } ], "documentation": "

Searches for summary information about workflows.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "SearchSystemInstances": { "name": "SearchSystemInstances", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "SearchSystemInstancesRequest" }, "output": { "shape": "SearchSystemInstancesResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" } ], "documentation": "

Searches for system instances in the user's account.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "SearchSystemTemplates": { "name": "SearchSystemTemplates", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "SearchSystemTemplatesRequest" }, "output": { "shape": "SearchSystemTemplatesResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" } ], "documentation": "

Searches for summary information about systems in the user's account. You can filter by the ID of a workflow to return only systems that use the specified workflow.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "SearchThings": { "name": "SearchThings", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "SearchThingsRequest" }, "output": { "shape": "SearchThingsResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "InternalFailureException" }, { "shape": "ThrottlingException" } ], "documentation": "

Searches for things associated with the specified entity. You can search by both device and device model.

For example, if two different devices, camera1 and camera2, implement the camera device model, the user can associate thing1 to camera1 and thing2 to camera2. SearchThings(camera2) will return only thing2, but SearchThings(camera) will return both thing1 and thing2.

This action searches for exact matches and doesn't perform partial text matching.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "TagResource": { "name": "TagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "TagResourceRequest" }, "output": { "shape": "TagResourceResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceAlreadyExistsException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" } ], "documentation": "

Creates a tag for the specified resource.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "UndeploySystemInstance": { "name": "UndeploySystemInstance", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UndeploySystemInstanceRequest" }, "output": { "shape": "UndeploySystemInstanceResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ResourceInUseException" } ], "documentation": "

Removes a system instance from its target (Cloud or Greengrass).

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "UntagResource": { "name": "UntagResource", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UntagResourceRequest" }, "output": { "shape": "UntagResourceResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceAlreadyExistsException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" } ], "documentation": "

Removes a tag from the specified resource.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "UpdateFlowTemplate": { "name": "UpdateFlowTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateFlowTemplateRequest" }, "output": { "shape": "UpdateFlowTemplateResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" } ], "documentation": "

Updates the specified workflow. All deployed systems and system instances that use the workflow will see the changes in the flow when it is redeployed. If you don't want this behavior, copy the workflow (creating a new workflow with a different ID), and update the copy. The workflow can contain only entities in the specified namespace.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "UpdateSystemTemplate": { "name": "UpdateSystemTemplate", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateSystemTemplateRequest" }, "output": { "shape": "UpdateSystemTemplateResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" } ], "documentation": "

Updates the specified system. You don't need to run this action after updating a workflow. Any deployment that uses the system will see the changes in the system when it is redeployed.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" }, "UploadEntityDefinitions": { "name": "UploadEntityDefinitions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UploadEntityDefinitionsRequest" }, "output": { "shape": "UploadEntityDefinitionsResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "InternalFailureException" }, { "shape": "ThrottlingException" } ], "documentation": "

Asynchronously uploads one or more entity definitions to the user's namespace. The document parameter is required if syncWithPublicNamespace and deleteExistingEntites are false. If the syncWithPublicNamespace parameter is set to true, the user's namespace will synchronize with the latest version of the public namespace. If deprecateExistingEntities is set to true, all entities in the latest version will be deleted before the new DefinitionDocument is uploaded.

When a user uploads entity definitions for the first time, the service creates a new namespace for the user. The new namespace tracks the public namespace. Currently users can have only one namespace. The namespace version increments whenever a user uploads entity definitions that are backwards-incompatible and whenever a user sets the syncWithPublicNamespace parameter or the deprecateExistingEntities parameter to true.

The IDs for all of the entities should be in URN format. Each entity must be in the user's namespace. Users can't create entities in the public namespace, but entity definitions can refer to entities in the public namespace.

Valid entities are Device, DeviceModel, Service, Capability, State, Action, Event, Property, Mapping, Enum.

", "deprecated": true, "deprecatedMessage": "since: 2022-08-30" } }, "shapes": { "Arn": { "type": "string" }, "AssociateEntityToThingRequest": { "type": "structure", "required": [ "thingName", "entityId" ], "members": { "thingName": { "shape": "ThingName", "documentation": "

The name of the thing to which the entity is to be associated.

" }, "entityId": { "shape": "Urn", "documentation": "

The ID of the device to be associated with the thing.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

" }, "namespaceVersion": { "shape": "Version", "documentation": "

The version of the user's namespace. Defaults to the latest version of the user's namespace.

" } } }, "AssociateEntityToThingResponse": { "type": "structure", "members": {} }, "CreateFlowTemplateRequest": { "type": "structure", "required": [ "definition" ], "members": { "definition": { "shape": "DefinitionDocument", "documentation": "

The workflow DefinitionDocument.

" }, "compatibleNamespaceVersion": { "shape": "Version", "documentation": "

The namespace version in which the workflow is to be created.

If no value is specified, the latest version is used by default.

" } } }, "CreateFlowTemplateResponse": { "type": "structure", "members": { "summary": { "shape": "FlowTemplateSummary", "documentation": "

The summary object that describes the created workflow.

" } } }, "CreateSystemInstanceRequest": { "type": "structure", "required": [ "definition", "target" ], "members": { "tags": { "shape": "TagList", "documentation": "

Metadata, consisting of key-value pairs, that can be used to categorize your system instances.

" }, "definition": { "shape": "DefinitionDocument" }, "target": { "shape": "DeploymentTarget", "documentation": "

The target type of the deployment. Valid values are GREENGRASS and CLOUD.

" }, "greengrassGroupName": { "shape": "GroupName", "documentation": "

The name of the Greengrass group where the system instance will be deployed. This value is required if the value of the target parameter is GREENGRASS.

" }, "s3BucketName": { "shape": "S3BucketName", "documentation": "

The name of the Amazon Simple Storage Service bucket that will be used to store and deploy the system instance's resource file. This value is required if the value of the target parameter is GREENGRASS.

" }, "metricsConfiguration": { "shape": "MetricsConfiguration" }, "flowActionsRoleArn": { "shape": "RoleArn", "documentation": "

The ARN of the IAM role that AWS IoT Things Graph will assume when it executes the flow. This role must have read and write access to AWS Lambda and AWS IoT and any other AWS services that the flow uses when it executes. This value is required if the value of the target parameter is CLOUD.

" } } }, "CreateSystemInstanceResponse": { "type": "structure", "members": { "summary": { "shape": "SystemInstanceSummary", "documentation": "

The summary object that describes the new system instance.

" } } }, "CreateSystemTemplateRequest": { "type": "structure", "required": [ "definition" ], "members": { "definition": { "shape": "DefinitionDocument", "documentation": "

The DefinitionDocument used to create the system.

" }, "compatibleNamespaceVersion": { "shape": "Version", "documentation": "

The namespace version in which the system is to be created.

If no value is specified, the latest version is used by default.

" } } }, "CreateSystemTemplateResponse": { "type": "structure", "members": { "summary": { "shape": "SystemTemplateSummary", "documentation": "

The summary object that describes the created system.

" } } }, "DefinitionDocument": { "type": "structure", "required": [ "language", "text" ], "members": { "language": { "shape": "DefinitionLanguage", "documentation": "

The language used to define the entity. GRAPHQL is the only valid value.

" }, "text": { "shape": "DefinitionText", "documentation": "

The GraphQL text that defines the entity.

" } }, "documentation": "

A document that defines an entity.

" }, "DefinitionLanguage": { "type": "string", "enum": [ "GRAPHQL" ] }, "DefinitionText": { "type": "string", "max": 1048576 }, "DeleteFlowTemplateRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the workflow to be deleted.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

" } } }, "DeleteFlowTemplateResponse": { "type": "structure", "members": {} }, "DeleteNamespaceRequest": { "type": "structure", "members": {} }, "DeleteNamespaceResponse": { "type": "structure", "members": { "namespaceArn": { "shape": "Arn", "documentation": "

The ARN of the namespace to be deleted.

" }, "namespaceName": { "shape": "NamespaceName", "documentation": "

The name of the namespace to be deleted.

" } } }, "DeleteSystemInstanceRequest": { "type": "structure", "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system instance to be deleted.

" } } }, "DeleteSystemInstanceResponse": { "type": "structure", "members": {} }, "DeleteSystemTemplateRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system to be deleted.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

" } } }, "DeleteSystemTemplateResponse": { "type": "structure", "members": {} }, "DependencyRevision": { "type": "structure", "members": { "id": { "shape": "Urn", "documentation": "

The ID of the workflow or system.

" }, "revisionNumber": { "shape": "Version", "documentation": "

The revision number of the workflow or system.

" } }, "documentation": "

An object that contains the ID and revision number of a workflow or system that is part of a deployment.

" }, "DependencyRevisions": { "type": "list", "member": { "shape": "DependencyRevision" } }, "DeploySystemInstanceRequest": { "type": "structure", "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system instance. This value is returned by the CreateSystemInstance action.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:deployment:DEPLOYMENTNAME

" } } }, "DeploySystemInstanceResponse": { "type": "structure", "required": [ "summary" ], "members": { "summary": { "shape": "SystemInstanceSummary", "documentation": "

An object that contains summary information about a system instance that was deployed.

" }, "greengrassDeploymentId": { "shape": "GreengrassDeploymentId", "documentation": "

The ID of the Greengrass deployment used to deploy the system instance.

" } } }, "DeploymentTarget": { "type": "string", "enum": [ "GREENGRASS", "CLOUD" ] }, "DeprecateExistingEntities": { "type": "boolean" }, "DeprecateFlowTemplateRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the workflow to be deleted.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

" } } }, "DeprecateFlowTemplateResponse": { "type": "structure", "members": {} }, "DeprecateSystemTemplateRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system to delete.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

" } } }, "DeprecateSystemTemplateResponse": { "type": "structure", "members": {} }, "DescribeNamespaceRequest": { "type": "structure", "members": { "namespaceName": { "shape": "NamespaceName", "documentation": "

The name of the user's namespace. Set this to aws to get the public namespace.

" } } }, "DescribeNamespaceResponse": { "type": "structure", "members": { "namespaceArn": { "shape": "Arn", "documentation": "

The ARN of the namespace.

" }, "namespaceName": { "shape": "NamespaceName", "documentation": "

The name of the namespace.

" }, "trackingNamespaceName": { "shape": "NamespaceName", "documentation": "

The name of the public namespace that the latest namespace version is tracking.

" }, "trackingNamespaceVersion": { "shape": "Version", "documentation": "

The version of the public namespace that the latest version is tracking.

" }, "namespaceVersion": { "shape": "Version", "documentation": "

The version of the user's namespace to describe.

" } } }, "DissociateEntityFromThingRequest": { "type": "structure", "required": [ "thingName", "entityType" ], "members": { "thingName": { "shape": "ThingName", "documentation": "

The name of the thing to disassociate.

" }, "entityType": { "shape": "EntityType", "documentation": "

The entity type from which to disassociate the thing.

" } } }, "DissociateEntityFromThingResponse": { "type": "structure", "members": {} }, "Enabled": { "type": "boolean" }, "EntityDescription": { "type": "structure", "members": { "id": { "shape": "Urn", "documentation": "

The entity ID.

" }, "arn": { "shape": "Arn", "documentation": "

The entity ARN.

" }, "type": { "shape": "EntityType", "documentation": "

The entity type.

" }, "createdAt": { "shape": "Timestamp", "documentation": "

The time at which the entity was created.

" }, "definition": { "shape": "DefinitionDocument", "documentation": "

The definition document of the entity.

" } }, "documentation": "

Describes the properties of an entity.

" }, "EntityDescriptions": { "type": "list", "member": { "shape": "EntityDescription" } }, "EntityFilter": { "type": "structure", "members": { "name": { "shape": "EntityFilterName", "documentation": "

The name of the entity search filter field. REFERENCED_ENTITY_ID filters on entities that are used by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.

" }, "value": { "shape": "EntityFilterValues", "documentation": "

An array of string values for the search filter field. Multiple values function as AND criteria in the search.

" } }, "documentation": "

An object that filters an entity search. Multiple filters function as OR criteria in the search. For example a search that includes a NAMESPACE and a REFERENCED_ENTITY_ID filter searches for entities in the specified namespace that use the entity specified by the value of REFERENCED_ENTITY_ID.

" }, "EntityFilterName": { "type": "string", "enum": [ "NAME", "NAMESPACE", "SEMANTIC_TYPE_PATH", "REFERENCED_ENTITY_ID" ] }, "EntityFilterValue": { "type": "string" }, "EntityFilterValues": { "type": "list", "member": { "shape": "EntityFilterValue" } }, "EntityFilters": { "type": "list", "member": { "shape": "EntityFilter" } }, "EntityType": { "type": "string", "enum": [ "DEVICE", "SERVICE", "DEVICE_MODEL", "CAPABILITY", "STATE", "ACTION", "EVENT", "PROPERTY", "MAPPING", "ENUM" ] }, "EntityTypes": { "type": "list", "member": { "shape": "EntityType" } }, "FlowExecutionEventType": { "type": "string", "enum": [ "EXECUTION_STARTED", "EXECUTION_FAILED", "EXECUTION_ABORTED", "EXECUTION_SUCCEEDED", "STEP_STARTED", "STEP_FAILED", "STEP_SUCCEEDED", "ACTIVITY_SCHEDULED", "ACTIVITY_STARTED", "ACTIVITY_FAILED", "ACTIVITY_SUCCEEDED", "START_FLOW_EXECUTION_TASK", "SCHEDULE_NEXT_READY_STEPS_TASK", "THING_ACTION_TASK", "THING_ACTION_TASK_FAILED", "THING_ACTION_TASK_SUCCEEDED", "ACKNOWLEDGE_TASK_MESSAGE" ] }, "FlowExecutionId": { "type": "string" }, "FlowExecutionMessage": { "type": "structure", "members": { "messageId": { "shape": "FlowExecutionMessageId", "documentation": "

The unique identifier of the message.

" }, "eventType": { "shape": "FlowExecutionEventType", "documentation": "

The type of flow event .

" }, "timestamp": { "shape": "Timestamp", "documentation": "

The date and time when the message was last updated.

" }, "payload": { "shape": "FlowExecutionMessagePayload", "documentation": "

A string containing information about the flow event.

" } }, "documentation": "

An object that contains information about a flow event.

" }, "FlowExecutionMessageId": { "type": "string" }, "FlowExecutionMessagePayload": { "type": "string" }, "FlowExecutionMessages": { "type": "list", "member": { "shape": "FlowExecutionMessage" } }, "FlowExecutionStatus": { "type": "string", "enum": [ "RUNNING", "ABORTED", "SUCCEEDED", "FAILED" ] }, "FlowExecutionSummaries": { "type": "list", "member": { "shape": "FlowExecutionSummary" } }, "FlowExecutionSummary": { "type": "structure", "members": { "flowExecutionId": { "shape": "FlowExecutionId", "documentation": "

The ID of the flow execution.

" }, "status": { "shape": "FlowExecutionStatus", "documentation": "

The current status of the flow execution.

" }, "systemInstanceId": { "shape": "Urn", "documentation": "

The ID of the system instance that contains the flow.

" }, "flowTemplateId": { "shape": "Urn", "documentation": "

The ID of the flow.

" }, "createdAt": { "shape": "Timestamp", "documentation": "

The date and time when the flow execution summary was created.

" }, "updatedAt": { "shape": "Timestamp", "documentation": "

The date and time when the flow execution summary was last updated.

" } }, "documentation": "

An object that contains summary information about a flow execution.

" }, "FlowTemplateDescription": { "type": "structure", "members": { "summary": { "shape": "FlowTemplateSummary", "documentation": "

An object that contains summary information about a workflow.

" }, "definition": { "shape": "DefinitionDocument", "documentation": "

A workflow's definition document.

" }, "validatedNamespaceVersion": { "shape": "Version", "documentation": "

The version of the user's namespace against which the workflow was validated. Use this value in your system instance.

" } }, "documentation": "

An object that contains a workflow's definition and summary information.

" }, "FlowTemplateFilter": { "type": "structure", "required": [ "name", "value" ], "members": { "name": { "shape": "FlowTemplateFilterName", "documentation": "

The name of the search filter field.

" }, "value": { "shape": "FlowTemplateFilterValues", "documentation": "

An array of string values for the search filter field. Multiple values function as AND criteria in the search.

" } }, "documentation": "

An object that filters a workflow search.

" }, "FlowTemplateFilterName": { "type": "string", "enum": [ "DEVICE_MODEL_ID" ] }, "FlowTemplateFilterValue": { "type": "string", "pattern": "^urn:tdm:(([a-z]{2}-(gov-)?[a-z]{4,9}-[0-9]{1,3}/[0-9]+/)*[\\p{Alnum}_]+(/[\\p{Alnum}_]+)*):([\\p{Alpha}]*):([\\p{Alnum}_]+(/[\\p{Alnum}_]+)*)$" }, "FlowTemplateFilterValues": { "type": "list", "member": { "shape": "FlowTemplateFilterValue" } }, "FlowTemplateFilters": { "type": "list", "member": { "shape": "FlowTemplateFilter" } }, "FlowTemplateSummaries": { "type": "list", "member": { "shape": "FlowTemplateSummary" } }, "FlowTemplateSummary": { "type": "structure", "members": { "id": { "shape": "Urn", "documentation": "

The ID of the workflow.

" }, "arn": { "shape": "Arn", "documentation": "

The ARN of the workflow.

" }, "revisionNumber": { "shape": "Version", "documentation": "

The revision number of the workflow.

" }, "createdAt": { "shape": "Timestamp", "documentation": "

The date when the workflow was created.

" } }, "documentation": "

An object that contains summary information about a workflow.

" }, "GetEntitiesRequest": { "type": "structure", "required": [ "ids" ], "members": { "ids": { "shape": "Urns", "documentation": "

An array of entity IDs.

The IDs should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

" }, "namespaceVersion": { "shape": "Version", "documentation": "

The version of the user's namespace. Defaults to the latest version of the user's namespace.

" } } }, "GetEntitiesResponse": { "type": "structure", "members": { "descriptions": { "shape": "EntityDescriptions", "documentation": "

An array of descriptions for the specified entities.

" } } }, "GetFlowTemplateRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the workflow.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

" }, "revisionNumber": { "shape": "Version", "documentation": "

The number of the workflow revision to retrieve.

" } } }, "GetFlowTemplateResponse": { "type": "structure", "members": { "description": { "shape": "FlowTemplateDescription", "documentation": "

The object that describes the specified workflow.

" } } }, "GetFlowTemplateRevisionsRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the workflow.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string that specifies the next page of results. Use this when you're paginating results.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in the response.

" } } }, "GetFlowTemplateRevisionsResponse": { "type": "structure", "members": { "summaries": { "shape": "FlowTemplateSummaries", "documentation": "

An array of objects that provide summary data about each revision.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string to specify as nextToken when you request the next page of results.

" } } }, "GetNamespaceDeletionStatusRequest": { "type": "structure", "members": {} }, "GetNamespaceDeletionStatusResponse": { "type": "structure", "members": { "namespaceArn": { "shape": "Arn", "documentation": "

The ARN of the namespace that is being deleted.

" }, "namespaceName": { "shape": "NamespaceName", "documentation": "

The name of the namespace that is being deleted.

" }, "status": { "shape": "NamespaceDeletionStatus", "documentation": "

The status of the deletion request.

" }, "errorCode": { "shape": "NamespaceDeletionStatusErrorCodes", "documentation": "

An error code returned by the namespace deletion task.

" }, "errorMessage": { "shape": "String", "documentation": "

An error code returned by the namespace deletion task.

" } } }, "GetSystemInstanceRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system deployment instance. This value is returned by CreateSystemInstance.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:deployment:DEPLOYMENTNAME

" } } }, "GetSystemInstanceResponse": { "type": "structure", "members": { "description": { "shape": "SystemInstanceDescription", "documentation": "

An object that describes the system instance.

" } } }, "GetSystemTemplateRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system to get. This ID must be in the user's namespace.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

" }, "revisionNumber": { "shape": "Version", "documentation": "

The number that specifies the revision of the system to get.

" } } }, "GetSystemTemplateResponse": { "type": "structure", "members": { "description": { "shape": "SystemTemplateDescription", "documentation": "

An object that contains summary data about the system.

" } } }, "GetSystemTemplateRevisionsRequest": { "type": "structure", "required": [ "id" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system template.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string that specifies the next page of results. Use this when you're paginating results.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in the response.

" } } }, "GetSystemTemplateRevisionsResponse": { "type": "structure", "members": { "summaries": { "shape": "SystemTemplateSummaries", "documentation": "

An array of objects that contain summary data about the system template revisions.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string to specify as nextToken when you request the next page of results.

" } } }, "GetUploadStatusRequest": { "type": "structure", "required": [ "uploadId" ], "members": { "uploadId": { "shape": "UploadId", "documentation": "

The ID of the upload. This value is returned by the UploadEntityDefinitions action.

" } } }, "GetUploadStatusResponse": { "type": "structure", "required": [ "uploadId", "uploadStatus", "createdDate" ], "members": { "uploadId": { "shape": "UploadId", "documentation": "

The ID of the upload.

" }, "uploadStatus": { "shape": "UploadStatus", "documentation": "

The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.

" }, "namespaceArn": { "shape": "Arn", "documentation": "

The ARN of the upload.

" }, "namespaceName": { "shape": "NamespaceName", "documentation": "

The name of the upload's namespace.

" }, "namespaceVersion": { "shape": "Version", "documentation": "

The version of the user's namespace. Defaults to the latest version of the user's namespace.

" }, "failureReason": { "shape": "StringList", "documentation": "

The reason for an upload failure.

" }, "createdDate": { "shape": "Timestamp", "documentation": "

The date at which the upload was created.

" } } }, "GreengrassDeploymentId": { "type": "string" }, "GreengrassGroupId": { "type": "string" }, "GreengrassGroupVersionId": { "type": "string" }, "GroupName": { "type": "string" }, "ListFlowExecutionMessagesRequest": { "type": "structure", "required": [ "flowExecutionId" ], "members": { "flowExecutionId": { "shape": "FlowExecutionId", "documentation": "

The ID of the flow execution.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string that specifies the next page of results. Use this when you're paginating results.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in the response.

" } } }, "ListFlowExecutionMessagesResponse": { "type": "structure", "members": { "messages": { "shape": "FlowExecutionMessages", "documentation": "

A list of objects that contain information about events in the specified flow execution.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string to specify as nextToken when you request the next page of results.

" } } }, "ListTagsForResourceRequest": { "type": "structure", "required": [ "resourceArn" ], "members": { "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of tags to return.

" }, "resourceArn": { "shape": "ResourceArn", "documentation": "

The Amazon Resource Name (ARN) of the resource whose tags are to be returned.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The token that specifies the next page of results to return.

" } } }, "ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "shape": "TagList", "documentation": "

List of tags returned by the ListTagsForResource operation.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The token that specifies the next page of results to return.

" } } }, "MaxResults": { "type": "integer", "max": 250, "min": 1 }, "MetricsConfiguration": { "type": "structure", "members": { "cloudMetricEnabled": { "shape": "Enabled", "documentation": "

A Boolean that specifies whether cloud metrics are collected.

" }, "metricRuleRoleArn": { "shape": "RoleArn", "documentation": "

The ARN of the role that is used to collect cloud metrics.

" } }, "documentation": "

An object that specifies whether cloud metrics are collected in a deployment and, if so, what role is used to collect metrics.

" }, "NamespaceDeletionStatus": { "type": "string", "enum": [ "IN_PROGRESS", "SUCCEEDED", "FAILED" ] }, "NamespaceDeletionStatusErrorCodes": { "type": "string", "enum": [ "VALIDATION_FAILED" ] }, "NamespaceName": { "type": "string", "max": 128 }, "NextToken": { "type": "string" }, "ResourceArn": { "type": "string", "max": 2048, "min": 1 }, "RoleArn": { "type": "string", "max": 2048, "min": 20 }, "S3BucketName": { "type": "string" }, "SearchEntitiesRequest": { "type": "structure", "required": [ "entityTypes" ], "members": { "entityTypes": { "shape": "EntityTypes", "documentation": "

The entity types for which to search.

" }, "filters": { "shape": "EntityFilters", "documentation": "

Optional filter to apply to the search. Valid filters are NAME NAMESPACE, SEMANTIC_TYPE_PATH and REFERENCED_ENTITY_ID. REFERENCED_ENTITY_ID filters on entities that are used by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.

Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string that specifies the next page of results. Use this when you're paginating results.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in the response.

" }, "namespaceVersion": { "shape": "Version", "documentation": "

The version of the user's namespace. Defaults to the latest version of the user's namespace.

" } } }, "SearchEntitiesResponse": { "type": "structure", "members": { "descriptions": { "shape": "EntityDescriptions", "documentation": "

An array of descriptions for each entity returned in the search result.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string to specify as nextToken when you request the next page of results.

" } } }, "SearchFlowExecutionsRequest": { "type": "structure", "required": [ "systemInstanceId" ], "members": { "systemInstanceId": { "shape": "Urn", "documentation": "

The ID of the system instance that contains the flow.

" }, "flowExecutionId": { "shape": "FlowExecutionId", "documentation": "

The ID of a flow execution.

" }, "startTime": { "shape": "Timestamp", "documentation": "

The date and time of the earliest flow execution to return.

" }, "endTime": { "shape": "Timestamp", "documentation": "

The date and time of the latest flow execution to return.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string that specifies the next page of results. Use this when you're paginating results.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in the response.

" } } }, "SearchFlowExecutionsResponse": { "type": "structure", "members": { "summaries": { "shape": "FlowExecutionSummaries", "documentation": "

An array of objects that contain summary information about each workflow execution in the result set.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string to specify as nextToken when you request the next page of results.

" } } }, "SearchFlowTemplatesRequest": { "type": "structure", "members": { "filters": { "shape": "FlowTemplateFilters", "documentation": "

An array of objects that limit the result set. The only valid filter is DEVICE_MODEL_ID.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string that specifies the next page of results. Use this when you're paginating results.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in the response.

" } } }, "SearchFlowTemplatesResponse": { "type": "structure", "members": { "summaries": { "shape": "FlowTemplateSummaries", "documentation": "

An array of objects that contain summary information about each workflow in the result set.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string to specify as nextToken when you request the next page of results.

" } } }, "SearchSystemInstancesRequest": { "type": "structure", "members": { "filters": { "shape": "SystemInstanceFilters", "documentation": "

Optional filter to apply to the search. Valid filters are SYSTEM_TEMPLATE_ID, STATUS, and GREENGRASS_GROUP_NAME.

Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string that specifies the next page of results. Use this when you're paginating results.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in the response.

" } } }, "SearchSystemInstancesResponse": { "type": "structure", "members": { "summaries": { "shape": "SystemInstanceSummaries", "documentation": "

An array of objects that contain summary data abour the system instances in the result set.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string to specify as nextToken when you request the next page of results.

" } } }, "SearchSystemTemplatesRequest": { "type": "structure", "members": { "filters": { "shape": "SystemTemplateFilters", "documentation": "

An array of filters that limit the result set. The only valid filter is FLOW_TEMPLATE_ID.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string that specifies the next page of results. Use this when you're paginating results.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in the response.

" } } }, "SearchSystemTemplatesResponse": { "type": "structure", "members": { "summaries": { "shape": "SystemTemplateSummaries", "documentation": "

An array of objects that contain summary information about each system deployment in the result set.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string to specify as nextToken when you request the next page of results.

" } } }, "SearchThingsRequest": { "type": "structure", "required": [ "entityId" ], "members": { "entityId": { "shape": "Urn", "documentation": "

The ID of the entity to which the things are associated.

The IDs should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string that specifies the next page of results. Use this when you're paginating results.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to return in the response.

" }, "namespaceVersion": { "shape": "Version", "documentation": "

The version of the user's namespace. Defaults to the latest version of the user's namespace.

" } } }, "SearchThingsResponse": { "type": "structure", "members": { "things": { "shape": "Things", "documentation": "

An array of things in the result set.

" }, "nextToken": { "shape": "NextToken", "documentation": "

The string to specify as nextToken when you request the next page of results.

" } } }, "String": { "type": "string" }, "StringList": { "type": "list", "member": { "shape": "String" } }, "SyncWithPublicNamespace": { "type": "boolean" }, "SystemInstanceDeploymentStatus": { "type": "string", "enum": [ "NOT_DEPLOYED", "BOOTSTRAP", "DEPLOY_IN_PROGRESS", "DEPLOYED_IN_TARGET", "UNDEPLOY_IN_PROGRESS", "FAILED", "PENDING_DELETE", "DELETED_IN_TARGET" ] }, "SystemInstanceDescription": { "type": "structure", "members": { "summary": { "shape": "SystemInstanceSummary", "documentation": "

An object that contains summary information about a system instance.

" }, "definition": { "shape": "DefinitionDocument" }, "s3BucketName": { "shape": "S3BucketName", "documentation": "

The Amazon Simple Storage Service bucket where information about a system instance is stored.

" }, "metricsConfiguration": { "shape": "MetricsConfiguration" }, "validatedNamespaceVersion": { "shape": "Version", "documentation": "

The version of the user's namespace against which the system instance was validated.

" }, "validatedDependencyRevisions": { "shape": "DependencyRevisions", "documentation": "

A list of objects that contain all of the IDs and revision numbers of workflows and systems that are used in a system instance.

" }, "flowActionsRoleArn": { "shape": "RoleArn", "documentation": "

The AWS Identity and Access Management (IAM) role that AWS IoT Things Graph assumes during flow execution in a cloud deployment. This role must have read and write permissionss to AWS Lambda and AWS IoT and to any other AWS services that the flow uses.

" } }, "documentation": "

An object that contains a system instance definition and summary information.

" }, "SystemInstanceFilter": { "type": "structure", "members": { "name": { "shape": "SystemInstanceFilterName", "documentation": "

The name of the search filter field.

" }, "value": { "shape": "SystemInstanceFilterValues", "documentation": "

An array of string values for the search filter field. Multiple values function as AND criteria in the search.

" } }, "documentation": "

An object that filters a system instance search. Multiple filters function as OR criteria in the search. For example a search that includes a GREENGRASS_GROUP_NAME and a STATUS filter searches for system instances in the specified Greengrass group that have the specified status.

" }, "SystemInstanceFilterName": { "type": "string", "enum": [ "SYSTEM_TEMPLATE_ID", "STATUS", "GREENGRASS_GROUP_NAME" ] }, "SystemInstanceFilterValue": { "type": "string" }, "SystemInstanceFilterValues": { "type": "list", "member": { "shape": "SystemInstanceFilterValue" } }, "SystemInstanceFilters": { "type": "list", "member": { "shape": "SystemInstanceFilter" } }, "SystemInstanceSummaries": { "type": "list", "member": { "shape": "SystemInstanceSummary" } }, "SystemInstanceSummary": { "type": "structure", "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system instance.

" }, "arn": { "shape": "Arn", "documentation": "

The ARN of the system instance.

" }, "status": { "shape": "SystemInstanceDeploymentStatus", "documentation": "

The status of the system instance.

" }, "target": { "shape": "DeploymentTarget", "documentation": "

The target of the system instance.

" }, "greengrassGroupName": { "shape": "GroupName", "documentation": "

The ID of the Greengrass group where the system instance is deployed.

" }, "createdAt": { "shape": "Timestamp", "documentation": "

The date when the system instance was created.

" }, "updatedAt": { "shape": "Timestamp", "documentation": "

The date and time when the system instance was last updated.

" }, "greengrassGroupId": { "shape": "GreengrassGroupId", "documentation": "

The ID of the Greengrass group where the system instance is deployed.

" }, "greengrassGroupVersionId": { "shape": "GreengrassGroupVersionId", "documentation": "

The version of the Greengrass group where the system instance is deployed.

" } }, "documentation": "

An object that contains summary information about a system instance.

" }, "SystemTemplateDescription": { "type": "structure", "members": { "summary": { "shape": "SystemTemplateSummary", "documentation": "

An object that contains summary information about a system.

" }, "definition": { "shape": "DefinitionDocument", "documentation": "

The definition document of a system.

" }, "validatedNamespaceVersion": { "shape": "Version", "documentation": "

The namespace version against which the system was validated. Use this value in your system instance.

" } }, "documentation": "

An object that contains a system's definition document and summary information.

" }, "SystemTemplateFilter": { "type": "structure", "required": [ "name", "value" ], "members": { "name": { "shape": "SystemTemplateFilterName", "documentation": "

The name of the system search filter field.

" }, "value": { "shape": "SystemTemplateFilterValues", "documentation": "

An array of string values for the search filter field. Multiple values function as AND criteria in the search.

" } }, "documentation": "

An object that filters a system search.

" }, "SystemTemplateFilterName": { "type": "string", "enum": [ "FLOW_TEMPLATE_ID" ] }, "SystemTemplateFilterValue": { "type": "string", "pattern": "^urn:tdm:(([a-z]{2}-(gov-)?[a-z]{4,9}-[0-9]{1,3}/[0-9]+/)*[\\p{Alnum}_]+(/[\\p{Alnum}_]+)*):([\\p{Alpha}]*):([\\p{Alnum}_]+(/[\\p{Alnum}_]+)*)$" }, "SystemTemplateFilterValues": { "type": "list", "member": { "shape": "SystemTemplateFilterValue" } }, "SystemTemplateFilters": { "type": "list", "member": { "shape": "SystemTemplateFilter" } }, "SystemTemplateSummaries": { "type": "list", "member": { "shape": "SystemTemplateSummary" } }, "SystemTemplateSummary": { "type": "structure", "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system.

" }, "arn": { "shape": "Arn", "documentation": "

The ARN of the system.

" }, "revisionNumber": { "shape": "Version", "documentation": "

The revision number of the system.

" }, "createdAt": { "shape": "Timestamp", "documentation": "

The date when the system was created.

" } }, "documentation": "

An object that contains information about a system.

" }, "Tag": { "type": "structure", "required": [ "key", "value" ], "members": { "key": { "shape": "TagKey", "documentation": "

The required name of the tag. The string value can be from 1 to 128 Unicode characters in length.

" }, "value": { "shape": "TagValue", "documentation": "

The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length.

" } }, "documentation": "

Metadata assigned to an AWS IoT Things Graph resource consisting of a key-value pair.

" }, "TagKey": { "type": "string", "max": 128, "min": 1, "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "TagKeyList": { "type": "list", "member": { "shape": "TagKey" }, "max": 50, "min": 1 }, "TagList": { "type": "list", "member": { "shape": "Tag" }, "max": 50, "min": 0 }, "TagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": { "shape": "ResourceArn", "documentation": "

The Amazon Resource Name (ARN) of the resource whose tags are returned.

" }, "tags": { "shape": "TagList", "documentation": "

A list of tags to add to the resource.>

" } } }, "TagResourceResponse": { "type": "structure", "members": {} }, "TagValue": { "type": "string", "max": 256, "min": 1 }, "Thing": { "type": "structure", "members": { "thingArn": { "shape": "ThingArn", "documentation": "

The ARN of the thing.

" }, "thingName": { "shape": "ThingName", "documentation": "

The name of the thing.

" } }, "documentation": "

An AWS IoT thing.

" }, "ThingArn": { "type": "string" }, "ThingName": { "type": "string", "max": 128, "min": 1, "pattern": "[a-zA-Z0-9:_-]+" }, "Things": { "type": "list", "member": { "shape": "Thing" } }, "Timestamp": { "type": "timestamp" }, "UndeploySystemInstanceRequest": { "type": "structure", "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system instance to remove from its target.

" } } }, "UndeploySystemInstanceResponse": { "type": "structure", "members": { "summary": { "shape": "SystemInstanceSummary", "documentation": "

An object that contains summary information about the system instance that was removed from its target.

" } } }, "UntagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": { "shape": "ResourceArn", "documentation": "

The Amazon Resource Name (ARN) of the resource whose tags are to be removed.

" }, "tagKeys": { "shape": "TagKeyList", "documentation": "

A list of tag key names to remove from the resource. You don't specify the value. Both the key and its associated value are removed.

This parameter to the API requires a JSON text string argument. For information on how to format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the AWS CLI User Guide.

" } } }, "UntagResourceResponse": { "type": "structure", "members": {} }, "UpdateFlowTemplateRequest": { "type": "structure", "required": [ "id", "definition" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the workflow to be updated.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME

" }, "definition": { "shape": "DefinitionDocument", "documentation": "

The DefinitionDocument that contains the updated workflow definition.

" }, "compatibleNamespaceVersion": { "shape": "Version", "documentation": "

The version of the user's namespace.

If no value is specified, the latest version is used by default. Use the GetFlowTemplateRevisions if you want to find earlier revisions of the flow to update.

" } } }, "UpdateFlowTemplateResponse": { "type": "structure", "members": { "summary": { "shape": "FlowTemplateSummary", "documentation": "

An object containing summary information about the updated workflow.

" } } }, "UpdateSystemTemplateRequest": { "type": "structure", "required": [ "id", "definition" ], "members": { "id": { "shape": "Urn", "documentation": "

The ID of the system to be updated.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

" }, "definition": { "shape": "DefinitionDocument", "documentation": "

The DefinitionDocument that contains the updated system definition.

" }, "compatibleNamespaceVersion": { "shape": "Version", "documentation": "

The version of the user's namespace. Defaults to the latest version of the user's namespace.

If no value is specified, the latest version is used by default.

" } } }, "UpdateSystemTemplateResponse": { "type": "structure", "members": { "summary": { "shape": "SystemTemplateSummary", "documentation": "

An object containing summary information about the updated system.

" } } }, "UploadEntityDefinitionsRequest": { "type": "structure", "members": { "document": { "shape": "DefinitionDocument", "documentation": "

The DefinitionDocument that defines the updated entities.

" }, "syncWithPublicNamespace": { "shape": "SyncWithPublicNamespace", "documentation": "

A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true, the upload will create a new namespace version.

" }, "deprecateExistingEntities": { "shape": "DeprecateExistingEntities", "documentation": "

A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument. If set to true, the upload will create a new namespace version.

" } } }, "UploadEntityDefinitionsResponse": { "type": "structure", "required": [ "uploadId" ], "members": { "uploadId": { "shape": "UploadId", "documentation": "

The ID that specifies the upload action. You can use this to track the status of the upload.

" } } }, "UploadId": { "type": "string", "max": 40, "min": 1 }, "UploadStatus": { "type": "string", "enum": [ "IN_PROGRESS", "SUCCEEDED", "FAILED" ] }, "Urn": { "type": "string", "max": 160, "pattern": "^urn:tdm:(([a-z]{2}-(gov-)?[a-z]{4,9}-[0-9]{1,3}/[0-9]+/)*[\\p{Alnum}_]+(/[\\p{Alnum}_]+)*):([\\p{Alpha}]*):([\\p{Alnum}_]+(/[\\p{Alnum}_]+)*)$" }, "Urns": { "type": "list", "member": { "shape": "Urn" }, "max": 25, "min": 0 }, "Version": { "type": "long" } }, "documentation": "AWS IoT Things Graph

AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards, such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services and defining how they interact at an abstract level.

For more information about how AWS IoT Things Graph works, see the User Guide.

The AWS IoT Things Graph service is discontinued.

" }