Skip to content

Commit 2584904

Browse files
author
awstools
committed
feat(client-iotthingsgraph): This release deprecates all APIs of the ThingsGraph service
1 parent 061b5f5 commit 2584904

39 files changed

+273
-20
lines changed

clients/client-iotthingsgraph/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ such as units of measure and communication protocols. AWS IoT Things Graph makes
1616
and defining how they interact at an abstract level.</p>
1717
<p>For more information about how AWS IoT Things Graph works, see the <a href="https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-whatis.html">User Guide</a>.</p>
1818

19+
<p>The AWS IoT Things Graph service is discontinued.</p>
20+
1921
## Installing
2022

2123
To install the this package, simply type add or install @aws-sdk/client-iotthingsgraph

clients/client-iotthingsgraph/src/IoTThingsGraph.ts

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,13 @@ import { IoTThingsGraphClient } from "./IoTThingsGraphClient";
176176
* 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
177177
* and defining how they interact at an abstract level.</p>
178178
* <p>For more information about how AWS IoT Things Graph works, see the <a href="https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-whatis.html">User Guide</a>.</p>
179+
*
180+
* <p>The AWS IoT Things Graph service is discontinued.</p>
179181
*/
180182
export class IoTThingsGraph extends IoTThingsGraphClient {
181183
/**
184+
* @deprecated
185+
*
182186
* <p>Associates a device with a concrete thing that is in the user's registry.</p>
183187
* <p>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.</p>
184188
*/
@@ -212,6 +216,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
212216
}
213217

214218
/**
219+
* @deprecated
220+
*
215221
* <p>Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only
216222
* entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the
217223
* latest version of the user's namespace unless another namespace version is specified in the request.</p>
@@ -246,6 +252,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
246252
}
247253

248254
/**
255+
* @deprecated
256+
*
249257
* <p>Creates a system instance. </p>
250258
* <p>This action validates the system instance, prepares the deployment-related resources. For Greengrass deployments, it updates the Greengrass group that is
251259
* specified by the <code>greengrassGroupName</code> parameter. It also adds a file to the S3 bucket specified by the <code>s3BucketName</code> parameter. You need to
@@ -286,6 +294,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
286294
}
287295

288296
/**
297+
* @deprecated
298+
*
289299
* <p>Creates a system. The system is validated against the entities in the
290300
* latest version of the user's namespace unless another namespace version is specified in the request.</p>
291301
*/
@@ -319,6 +329,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
319329
}
320330

321331
/**
332+
* @deprecated
333+
*
322334
* <p>Deletes a workflow. Any new system or deployment that contains this workflow will fail to update or deploy.
323335
* Existing deployments that contain the workflow will continue to run (since they use a snapshot of the workflow taken at the time of deployment).</p>
324336
*/
@@ -352,7 +364,10 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
352364
}
353365

354366
/**
355-
* <p>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.</p>
367+
* @deprecated
368+
*
369+
* <p>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
370+
* request parameters.</p>
356371
*/
357372
public deleteNamespace(
358373
args: DeleteNamespaceCommandInput,
@@ -384,6 +399,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
384399
}
385400

386401
/**
402+
* @deprecated
403+
*
387404
* <p>Deletes a system instance.
388405
* Only system instances that have never been deployed, or that have been undeployed can be deleted.</p>
389406
* <p>Users can create a new system instance that has the same ID as a deleted system instance.</p>
@@ -418,6 +435,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
418435
}
419436

420437
/**
438+
* @deprecated
439+
*
421440
* <p>Deletes a system. New deployments can't contain the system after its deletion.
422441
* 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.</p>
423442
*/
@@ -451,6 +470,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
451470
}
452471

453472
/**
473+
* @deprecated
474+
*
454475
* <p>
455476
* <b>Greengrass and Cloud Deployments</b>
456477
* </p>
@@ -494,6 +515,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
494515
}
495516

496517
/**
518+
* @deprecated
519+
*
497520
* <p>Deprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.</p>
498521
*/
499522
public deprecateFlowTemplate(
@@ -526,6 +549,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
526549
}
527550

528551
/**
552+
* @deprecated
553+
*
529554
* <p>Deprecates the specified system.</p>
530555
*/
531556
public deprecateSystemTemplate(
@@ -558,6 +583,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
558583
}
559584

560585
/**
586+
* @deprecated
587+
*
561588
* <p>Gets the latest version of the user's namespace and the public version that it is tracking.</p>
562589
*/
563590
public describeNamespace(
@@ -590,6 +617,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
590617
}
591618

592619
/**
620+
* @deprecated
621+
*
593622
* <p>Dissociates a device entity from a concrete thing. The action takes only the type of the entity that you need to dissociate because only
594623
* one entity of a particular type can be associated with a thing.</p>
595624
*/
@@ -623,6 +652,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
623652
}
624653

625654
/**
655+
* @deprecated
656+
*
626657
* <p>Gets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the
627658
* following TDM entities.</p>
628659
* <ul>
@@ -680,6 +711,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
680711
}
681712

682713
/**
714+
* @deprecated
715+
*
683716
* <p>Gets the latest version of the <code>DefinitionDocument</code> and <code>FlowTemplateSummary</code> for the specified workflow.</p>
684717
*/
685718
public getFlowTemplate(
@@ -712,6 +745,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
712745
}
713746

714747
/**
748+
* @deprecated
749+
*
715750
* <p>Gets revisions of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated,
716751
* this action will return revisions that occurred before the deprecation. This action won't work for workflows that have been deleted.</p>
717752
*/
@@ -745,6 +780,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
745780
}
746781

747782
/**
783+
* @deprecated
784+
*
748785
* <p>Gets the status of a namespace deletion task.</p>
749786
*/
750787
public getNamespaceDeletionStatus(
@@ -777,6 +814,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
777814
}
778815

779816
/**
817+
* @deprecated
818+
*
780819
* <p>Gets a system instance.</p>
781820
*/
782821
public getSystemInstance(
@@ -809,6 +848,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
809848
}
810849

811850
/**
851+
* @deprecated
852+
*
812853
* <p>Gets a system.</p>
813854
*/
814855
public getSystemTemplate(
@@ -841,6 +882,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
841882
}
842883

843884
/**
885+
* @deprecated
886+
*
844887
* <p>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
845888
* the revisions that occurred before its deprecation. This action won't work with systems that have been deleted.</p>
846889
*/
@@ -874,6 +917,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
874917
}
875918

876919
/**
920+
* @deprecated
921+
*
877922
* <p>Gets the status of the specified upload.</p>
878923
*/
879924
public getUploadStatus(
@@ -906,6 +951,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
906951
}
907952

908953
/**
954+
* @deprecated
955+
*
909956
* <p>Returns a list of objects that contain information about events in a flow execution.</p>
910957
*/
911958
public listFlowExecutionMessages(
@@ -938,6 +985,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
938985
}
939986

940987
/**
988+
* @deprecated
989+
*
941990
* <p>Lists all tags on an AWS IoT Things Graph resource.</p>
942991
*/
943992
public listTagsForResource(
@@ -970,6 +1019,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
9701019
}
9711020

9721021
/**
1022+
* @deprecated
1023+
*
9731024
* <p>Searches for entities of the specified type. You can search for entities in your namespace and the public namespace that you're tracking.</p>
9741025
*/
9751026
public searchEntities(
@@ -1002,6 +1053,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
10021053
}
10031054

10041055
/**
1056+
* @deprecated
1057+
*
10051058
* <p>Searches for AWS IoT Things Graph workflow execution instances.</p>
10061059
*/
10071060
public searchFlowExecutions(
@@ -1034,6 +1087,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
10341087
}
10351088

10361089
/**
1090+
* @deprecated
1091+
*
10371092
* <p>Searches for summary information about workflows.</p>
10381093
*/
10391094
public searchFlowTemplates(
@@ -1066,6 +1121,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
10661121
}
10671122

10681123
/**
1124+
* @deprecated
1125+
*
10691126
* <p>Searches for system instances in the user's account.</p>
10701127
*/
10711128
public searchSystemInstances(
@@ -1098,6 +1155,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
10981155
}
10991156

11001157
/**
1158+
* @deprecated
1159+
*
11011160
* <p>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.</p>
11021161
*/
11031162
public searchSystemTemplates(
@@ -1130,6 +1189,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
11301189
}
11311190

11321191
/**
1192+
* @deprecated
1193+
*
11331194
* <p>Searches for things associated with the specified entity. You can search by both device and device model.</p>
11341195
* <p>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.
11351196
* <code>SearchThings(camera2)</code> will return only thing2, but <code>SearchThings(camera)</code> will return both thing1 and thing2.</p>
@@ -1162,6 +1223,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
11621223
}
11631224

11641225
/**
1226+
* @deprecated
1227+
*
11651228
* <p>Creates a tag for the specified resource.</p>
11661229
*/
11671230
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
@@ -1188,6 +1251,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
11881251
}
11891252

11901253
/**
1254+
* @deprecated
1255+
*
11911256
* <p>Removes a system instance from its target (Cloud or Greengrass).</p>
11921257
*/
11931258
public undeploySystemInstance(
@@ -1220,6 +1285,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
12201285
}
12211286

12221287
/**
1288+
* @deprecated
1289+
*
12231290
* <p>Removes a tag from the specified resource.</p>
12241291
*/
12251292
public untagResource(
@@ -1252,6 +1319,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
12521319
}
12531320

12541321
/**
1322+
* @deprecated
1323+
*
12551324
* <p>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
12561325
* 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. </p>
12571326
*/
@@ -1285,6 +1354,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
12851354
}
12861355

12871356
/**
1357+
* @deprecated
1358+
*
12881359
* <p>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.</p>
12891360
*/
12901361
public updateSystemTemplate(
@@ -1317,6 +1388,8 @@ export class IoTThingsGraph extends IoTThingsGraphClient {
13171388
}
13181389

13191390
/**
1391+
* @deprecated
1392+
*
13201393
* <p>Asynchronously uploads one or more entity definitions to the user's namespace. The <code>document</code> parameter is required if
13211394
* <code>syncWithPublicNamespace</code> and <code>deleteExistingEntites</code> are false. If the <code>syncWithPublicNamespace</code> parameter is set to
13221395
* <code>true</code>, the user's namespace will synchronize with the latest version of the public namespace. If <code>deprecateExistingEntities</code> is set to true,

clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,8 @@ export interface IoTThingsGraphClientResolvedConfig extends IoTThingsGraphClient
386386
* 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
387387
* and defining how they interact at an abstract level.</p>
388388
* <p>For more information about how AWS IoT Things Graph works, see the <a href="https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-whatis.html">User Guide</a>.</p>
389+
*
390+
* <p>The AWS IoT Things Graph service is discontinued.</p>
389391
*/
390392
export class IoTThingsGraphClient extends __Client<
391393
__HttpHandlerOptions,

clients/client-iotthingsgraph/src/commands/AssociateEntityToThingCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export interface AssociateEntityToThingCommandInput extends AssociateEntityToThi
2828
export interface AssociateEntityToThingCommandOutput extends AssociateEntityToThingResponse, __MetadataBearer {}
2929

3030
/**
31+
* @deprecated
32+
*
3133
* <p>Associates a device with a concrete thing that is in the user's registry.</p>
3234
* <p>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.</p>
3335
* @example

clients/client-iotthingsgraph/src/commands/CreateFlowTemplateCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export interface CreateFlowTemplateCommandInput extends CreateFlowTemplateReques
2828
export interface CreateFlowTemplateCommandOutput extends CreateFlowTemplateResponse, __MetadataBearer {}
2929

3030
/**
31+
* @deprecated
32+
*
3133
* <p>Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only
3234
* entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the
3335
* latest version of the user's namespace unless another namespace version is specified in the request.</p>

clients/client-iotthingsgraph/src/commands/CreateSystemInstanceCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export interface CreateSystemInstanceCommandInput extends CreateSystemInstanceRe
2828
export interface CreateSystemInstanceCommandOutput extends CreateSystemInstanceResponse, __MetadataBearer {}
2929

3030
/**
31+
* @deprecated
32+
*
3133
* <p>Creates a system instance. </p>
3234
* <p>This action validates the system instance, prepares the deployment-related resources. For Greengrass deployments, it updates the Greengrass group that is
3335
* specified by the <code>greengrassGroupName</code> parameter. It also adds a file to the S3 bucket specified by the <code>s3BucketName</code> parameter. You need to

clients/client-iotthingsgraph/src/commands/CreateSystemTemplateCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export interface CreateSystemTemplateCommandInput extends CreateSystemTemplateRe
2828
export interface CreateSystemTemplateCommandOutput extends CreateSystemTemplateResponse, __MetadataBearer {}
2929

3030
/**
31+
* @deprecated
32+
*
3133
* <p>Creates a system. The system is validated against the entities in the
3234
* latest version of the user's namespace unless another namespace version is specified in the request.</p>
3335
* @example

clients/client-iotthingsgraph/src/commands/DeleteFlowTemplateCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export interface DeleteFlowTemplateCommandInput extends DeleteFlowTemplateReques
2828
export interface DeleteFlowTemplateCommandOutput extends DeleteFlowTemplateResponse, __MetadataBearer {}
2929

3030
/**
31+
* @deprecated
32+
*
3133
* <p>Deletes a workflow. Any new system or deployment that contains this workflow will fail to update or deploy.
3234
* Existing deployments that contain the workflow will continue to run (since they use a snapshot of the workflow taken at the time of deployment).</p>
3335
* @example

clients/client-iotthingsgraph/src/commands/DeleteNamespaceCommand.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ export interface DeleteNamespaceCommandInput extends DeleteNamespaceRequest {}
2828
export interface DeleteNamespaceCommandOutput extends DeleteNamespaceResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>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.</p>
31+
* @deprecated
32+
*
33+
* <p>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
34+
* request parameters.</p>
3235
* @example
3336
* Use a bare-bones client and the command you need to make an API call.
3437
* ```javascript

0 commit comments

Comments
 (0)