/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the iotthingsgraph-2018-09-06.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.IoTThingsGraph.Model; namespace Amazon.IoTThingsGraph { /// /// Interface for accessing IoTThingsGraph /// /// 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. /// /// public partial interface IAmazonIoTThingsGraph : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IIoTThingsGraphPaginatorFactory Paginators { get; } #endif #region AssociateEntityToThing /// /// 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. /// /// /// Container for the necessary parameters to execute the AssociateEntityToThing service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateEntityToThing service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for AssociateEntityToThing Operation [Obsolete("since: 2022-08-30")] Task AssociateEntityToThingAsync(AssociateEntityToThingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFlowTemplate /// /// 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. /// /// Container for the necessary parameters to execute the CreateFlowTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateFlowTemplate service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateFlowTemplate Operation [Obsolete("since: 2022-08-30")] Task CreateFlowTemplateAsync(CreateFlowTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateSystemInstance /// /// 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. /// /// /// Container for the necessary parameters to execute the CreateSystemInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSystemInstance service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateSystemInstance Operation [Obsolete("since: 2022-08-30")] Task CreateSystemInstanceAsync(CreateSystemInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateSystemTemplate /// /// 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. /// /// Container for the necessary parameters to execute the CreateSystemTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSystemTemplate service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateSystemTemplate Operation [Obsolete("since: 2022-08-30")] Task CreateSystemTemplateAsync(CreateSystemTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFlowTemplate /// /// 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). /// /// Container for the necessary parameters to execute the DeleteFlowTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFlowTemplate service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteFlowTemplate Operation [Obsolete("since: 2022-08-30")] Task DeleteFlowTemplateAsync(DeleteFlowTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteNamespace /// /// 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. /// /// Container for the necessary parameters to execute the DeleteNamespace service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteNamespace service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// REST API Reference for DeleteNamespace Operation [Obsolete("since: 2022-08-30")] Task DeleteNamespaceAsync(DeleteNamespaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteSystemInstance /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteSystemInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSystemInstance service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteSystemInstance Operation [Obsolete("since: 2022-08-30")] Task DeleteSystemInstanceAsync(DeleteSystemInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteSystemTemplate /// /// 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. /// /// Container for the necessary parameters to execute the DeleteSystemTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSystemTemplate service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteSystemTemplate Operation [Obsolete("since: 2022-08-30")] Task DeleteSystemTemplateAsync(DeleteSystemTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeploySystemInstance /// /// 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. /// /// /// Container for the necessary parameters to execute the DeploySystemInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeploySystemInstance service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeploySystemInstance Operation [Obsolete("since: 2022-08-30")] Task DeploySystemInstanceAsync(DeploySystemInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeprecateFlowTemplate /// /// Deprecates the specified workflow. This action marks the workflow for deletion. Deprecated /// flows can't be deployed, but existing deployments will continue to run. /// /// Container for the necessary parameters to execute the DeprecateFlowTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeprecateFlowTemplate service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeprecateFlowTemplate Operation [Obsolete("since: 2022-08-30")] Task DeprecateFlowTemplateAsync(DeprecateFlowTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeprecateSystemTemplate /// /// Deprecates the specified system. /// /// Container for the necessary parameters to execute the DeprecateSystemTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeprecateSystemTemplate service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeprecateSystemTemplate Operation [Obsolete("since: 2022-08-30")] Task DeprecateSystemTemplateAsync(DeprecateSystemTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeNamespace /// /// Gets the latest version of the user's namespace and the public version that it is /// tracking. /// /// Container for the necessary parameters to execute the DescribeNamespace service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeNamespace service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DescribeNamespace Operation [Obsolete("since: 2022-08-30")] Task DescribeNamespaceAsync(DescribeNamespaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DissociateEntityFromThing /// /// 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. /// /// Container for the necessary parameters to execute the DissociateEntityFromThing service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DissociateEntityFromThing service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DissociateEntityFromThing Operation [Obsolete("since: 2022-08-30")] Task DissociateEntityFromThingAsync(DissociateEntityFromThingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEntities /// /// Gets definitions of the specified entities. Uses the latest version of the user's /// namespace by default. This API returns the following TDM entities. /// ///
  • /// /// Properties /// ///
  • /// /// States /// ///
  • /// /// Events /// ///
  • /// /// Actions /// ///
  • /// /// Capabilities /// ///
  • /// /// Mappings /// ///
  • /// /// Devices /// ///
  • /// /// Device Models /// ///
  • /// /// Services /// ///
/// /// This action doesn't return definitions for systems, flows, and deployments. /// ///
/// Container for the necessary parameters to execute the GetEntities service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEntities service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetEntities Operation [Obsolete("since: 2022-08-30")] Task GetEntitiesAsync(GetEntitiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFlowTemplate /// /// Gets the latest version of the DefinitionDocument and FlowTemplateSummary /// for the specified workflow. /// /// Container for the necessary parameters to execute the GetFlowTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFlowTemplate service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetFlowTemplate Operation [Obsolete("since: 2022-08-30")] Task GetFlowTemplateAsync(GetFlowTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFlowTemplateRevisions /// /// 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. /// /// Container for the necessary parameters to execute the GetFlowTemplateRevisions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFlowTemplateRevisions service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetFlowTemplateRevisions Operation [Obsolete("since: 2022-08-30")] Task GetFlowTemplateRevisionsAsync(GetFlowTemplateRevisionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetNamespaceDeletionStatus /// /// Gets the status of a namespace deletion task. /// /// Container for the necessary parameters to execute the GetNamespaceDeletionStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetNamespaceDeletionStatus service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetNamespaceDeletionStatus Operation [Obsolete("since: 2022-08-30")] Task GetNamespaceDeletionStatusAsync(GetNamespaceDeletionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetSystemInstance /// /// Gets a system instance. /// /// Container for the necessary parameters to execute the GetSystemInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSystemInstance service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetSystemInstance Operation [Obsolete("since: 2022-08-30")] Task GetSystemInstanceAsync(GetSystemInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetSystemTemplate /// /// Gets a system. /// /// Container for the necessary parameters to execute the GetSystemTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSystemTemplate service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetSystemTemplate Operation [Obsolete("since: 2022-08-30")] Task GetSystemTemplateAsync(GetSystemTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetSystemTemplateRevisions /// /// 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. /// /// Container for the necessary parameters to execute the GetSystemTemplateRevisions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSystemTemplateRevisions service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetSystemTemplateRevisions Operation [Obsolete("since: 2022-08-30")] Task GetSystemTemplateRevisionsAsync(GetSystemTemplateRevisionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetUploadStatus /// /// Gets the status of the specified upload. /// /// Container for the necessary parameters to execute the GetUploadStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetUploadStatus service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for GetUploadStatus Operation [Obsolete("since: 2022-08-30")] Task GetUploadStatusAsync(GetUploadStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListFlowExecutionMessages /// /// Returns a list of objects that contain information about events in a flow execution. /// /// Container for the necessary parameters to execute the ListFlowExecutionMessages service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListFlowExecutionMessages service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for ListFlowExecutionMessages Operation [Obsolete("since: 2022-08-30")] Task ListFlowExecutionMessagesAsync(ListFlowExecutionMessagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Lists all tags on an AWS IoT Things Graph resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for ListTagsForResource Operation [Obsolete("since: 2022-08-30")] Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchEntities /// /// Searches for entities of the specified type. You can search for entities in your namespace /// and the public namespace that you're tracking. /// /// Container for the necessary parameters to execute the SearchEntities service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchEntities service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// REST API Reference for SearchEntities Operation [Obsolete("since: 2022-08-30")] Task SearchEntitiesAsync(SearchEntitiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchFlowExecutions /// /// Searches for AWS IoT Things Graph workflow execution instances. /// /// Container for the necessary parameters to execute the SearchFlowExecutions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchFlowExecutions service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for SearchFlowExecutions Operation [Obsolete("since: 2022-08-30")] Task SearchFlowExecutionsAsync(SearchFlowExecutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchFlowTemplates /// /// Searches for summary information about workflows. /// /// Container for the necessary parameters to execute the SearchFlowTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchFlowTemplates service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// REST API Reference for SearchFlowTemplates Operation [Obsolete("since: 2022-08-30")] Task SearchFlowTemplatesAsync(SearchFlowTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchSystemInstances /// /// Searches for system instances in the user's account. /// /// Container for the necessary parameters to execute the SearchSystemInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchSystemInstances service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// REST API Reference for SearchSystemInstances Operation [Obsolete("since: 2022-08-30")] Task SearchSystemInstancesAsync(SearchSystemInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchSystemTemplates /// /// 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. /// /// Container for the necessary parameters to execute the SearchSystemTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchSystemTemplates service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// REST API Reference for SearchSystemTemplates Operation [Obsolete("since: 2022-08-30")] Task SearchSystemTemplatesAsync(SearchSystemTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchThings /// /// 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. /// /// /// Container for the necessary parameters to execute the SearchThings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchThings service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for SearchThings Operation [Obsolete("since: 2022-08-30")] Task SearchThingsAsync(SearchThingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// Creates a tag for the specified resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for TagResource Operation [Obsolete("since: 2022-08-30")] Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UndeploySystemInstance /// /// Removes a system instance from its target (Cloud or Greengrass). /// /// Container for the necessary parameters to execute the UndeploySystemInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UndeploySystemInstance service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UndeploySystemInstance Operation [Obsolete("since: 2022-08-30")] Task UndeploySystemInstanceAsync(UndeploySystemInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Removes a tag from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UntagResource Operation [Obsolete("since: 2022-08-30")] Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFlowTemplate /// /// 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. /// /// Container for the necessary parameters to execute the UpdateFlowTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateFlowTemplate service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UpdateFlowTemplate Operation [Obsolete("since: 2022-08-30")] Task UpdateFlowTemplateAsync(UpdateFlowTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateSystemTemplate /// /// 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. /// /// Container for the necessary parameters to execute the UpdateSystemTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSystemTemplate service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UpdateSystemTemplate Operation [Obsolete("since: 2022-08-30")] Task UpdateSystemTemplateAsync(UpdateSystemTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UploadEntityDefinitions /// /// 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. /// /// /// Container for the necessary parameters to execute the UploadEntityDefinitions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UploadEntityDefinitions service method, as returned by IoTThingsGraph. /// /// /// /// /// /// /// /// /// /// REST API Reference for UploadEntityDefinitions Operation [Obsolete("since: 2022-08-30")] Task UploadEntityDefinitionsAsync(UploadEntityDefinitionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }