@aws-sdk/client-iotthingsgraph 3.315.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/IoTThingsGraph.js +39 -490
- package/dist-es/IoTThingsGraph.js +39 -490
- package/dist-types/IoTThingsGraph.d.ts +48 -227
- package/dist-types/ts3.4/IoTThingsGraph.d.ts +4 -1
- package/package.json +6 -6
|
@@ -35,406 +35,227 @@ import { UpdateFlowTemplateCommandInput, UpdateFlowTemplateCommandOutput } from
|
|
|
35
35
|
import { UpdateSystemTemplateCommandInput, UpdateSystemTemplateCommandOutput } from "./commands/UpdateSystemTemplateCommand";
|
|
36
36
|
import { UploadEntityDefinitionsCommandInput, UploadEntityDefinitionsCommandOutput } from "./commands/UploadEntityDefinitionsCommand";
|
|
37
37
|
import { IoTThingsGraphClient } from "./IoTThingsGraphClient";
|
|
38
|
-
|
|
39
|
-
* @public
|
|
40
|
-
* <fullname>AWS IoT Things Graph</fullname>
|
|
41
|
-
* <p>AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards,
|
|
42
|
-
* 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
|
|
43
|
-
* and defining how they interact at an abstract level.</p>
|
|
44
|
-
* <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>
|
|
45
|
-
*
|
|
46
|
-
* <p>The AWS IoT Things Graph service is discontinued.</p>
|
|
47
|
-
*/
|
|
48
|
-
export declare class IoTThingsGraph extends IoTThingsGraphClient {
|
|
38
|
+
export interface IoTThingsGraph {
|
|
49
39
|
/**
|
|
50
|
-
* @
|
|
51
|
-
* @deprecated
|
|
52
|
-
*
|
|
53
|
-
* <p>Associates a device with a concrete thing that is in the user's registry.</p>
|
|
54
|
-
* <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>
|
|
40
|
+
* @see {@link AssociateEntityToThingCommand}
|
|
55
41
|
*/
|
|
56
42
|
associateEntityToThing(args: AssociateEntityToThingCommandInput, options?: __HttpHandlerOptions): Promise<AssociateEntityToThingCommandOutput>;
|
|
57
43
|
associateEntityToThing(args: AssociateEntityToThingCommandInput, cb: (err: any, data?: AssociateEntityToThingCommandOutput) => void): void;
|
|
58
44
|
associateEntityToThing(args: AssociateEntityToThingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateEntityToThingCommandOutput) => void): void;
|
|
59
45
|
/**
|
|
60
|
-
* @
|
|
61
|
-
* @deprecated
|
|
62
|
-
*
|
|
63
|
-
* <p>Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only
|
|
64
|
-
* entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the
|
|
65
|
-
* latest version of the user's namespace unless another namespace version is specified in the request.</p>
|
|
46
|
+
* @see {@link CreateFlowTemplateCommand}
|
|
66
47
|
*/
|
|
67
48
|
createFlowTemplate(args: CreateFlowTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateFlowTemplateCommandOutput>;
|
|
68
49
|
createFlowTemplate(args: CreateFlowTemplateCommandInput, cb: (err: any, data?: CreateFlowTemplateCommandOutput) => void): void;
|
|
69
50
|
createFlowTemplate(args: CreateFlowTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFlowTemplateCommandOutput) => void): void;
|
|
70
51
|
/**
|
|
71
|
-
* @
|
|
72
|
-
* @deprecated
|
|
73
|
-
*
|
|
74
|
-
* <p>Creates a system instance. </p>
|
|
75
|
-
* <p>This action validates the system instance, prepares the deployment-related resources. For Greengrass deployments, it updates the Greengrass group that is
|
|
76
|
-
* 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
|
|
77
|
-
* call <code>DeploySystemInstance</code> after running this action.</p>
|
|
78
|
-
* <p>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
|
|
79
|
-
* to both the specified Greengrass group and S3 bucket. Otherwise, the call will fail with an authorization error.</p>
|
|
80
|
-
* <p>For cloud deployments, this action requires a <code>flowActionsRoleArn</code> value. This is an IAM role
|
|
81
|
-
* that has permissions to access AWS services, such as AWS Lambda and AWS IoT, that the flow uses when it executes.</p>
|
|
82
|
-
* <p>If the definition document doesn't specify a version of the user's namespace, the latest version will be used by default.</p>
|
|
52
|
+
* @see {@link CreateSystemInstanceCommand}
|
|
83
53
|
*/
|
|
84
54
|
createSystemInstance(args: CreateSystemInstanceCommandInput, options?: __HttpHandlerOptions): Promise<CreateSystemInstanceCommandOutput>;
|
|
85
55
|
createSystemInstance(args: CreateSystemInstanceCommandInput, cb: (err: any, data?: CreateSystemInstanceCommandOutput) => void): void;
|
|
86
56
|
createSystemInstance(args: CreateSystemInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSystemInstanceCommandOutput) => void): void;
|
|
87
57
|
/**
|
|
88
|
-
* @
|
|
89
|
-
* @deprecated
|
|
90
|
-
*
|
|
91
|
-
* <p>Creates a system. The system is validated against the entities in the
|
|
92
|
-
* latest version of the user's namespace unless another namespace version is specified in the request.</p>
|
|
58
|
+
* @see {@link CreateSystemTemplateCommand}
|
|
93
59
|
*/
|
|
94
60
|
createSystemTemplate(args: CreateSystemTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateSystemTemplateCommandOutput>;
|
|
95
61
|
createSystemTemplate(args: CreateSystemTemplateCommandInput, cb: (err: any, data?: CreateSystemTemplateCommandOutput) => void): void;
|
|
96
62
|
createSystemTemplate(args: CreateSystemTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSystemTemplateCommandOutput) => void): void;
|
|
97
63
|
/**
|
|
98
|
-
* @
|
|
99
|
-
* @deprecated
|
|
100
|
-
*
|
|
101
|
-
* <p>Deletes a workflow. Any new system or deployment that contains this workflow will fail to update or deploy.
|
|
102
|
-
* 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>
|
|
64
|
+
* @see {@link DeleteFlowTemplateCommand}
|
|
103
65
|
*/
|
|
104
66
|
deleteFlowTemplate(args: DeleteFlowTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFlowTemplateCommandOutput>;
|
|
105
67
|
deleteFlowTemplate(args: DeleteFlowTemplateCommandInput, cb: (err: any, data?: DeleteFlowTemplateCommandOutput) => void): void;
|
|
106
68
|
deleteFlowTemplate(args: DeleteFlowTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFlowTemplateCommandOutput) => void): void;
|
|
107
69
|
/**
|
|
108
|
-
* @
|
|
109
|
-
* @deprecated
|
|
110
|
-
*
|
|
111
|
-
* <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
|
|
112
|
-
* request parameters.</p>
|
|
70
|
+
* @see {@link DeleteNamespaceCommand}
|
|
113
71
|
*/
|
|
114
72
|
deleteNamespace(args: DeleteNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNamespaceCommandOutput>;
|
|
115
73
|
deleteNamespace(args: DeleteNamespaceCommandInput, cb: (err: any, data?: DeleteNamespaceCommandOutput) => void): void;
|
|
116
74
|
deleteNamespace(args: DeleteNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNamespaceCommandOutput) => void): void;
|
|
117
75
|
/**
|
|
118
|
-
* @
|
|
119
|
-
* @deprecated
|
|
120
|
-
*
|
|
121
|
-
* <p>Deletes a system instance.
|
|
122
|
-
* Only system instances that have never been deployed, or that have been undeployed can be deleted.</p>
|
|
123
|
-
* <p>Users can create a new system instance that has the same ID as a deleted system instance.</p>
|
|
76
|
+
* @see {@link DeleteSystemInstanceCommand}
|
|
124
77
|
*/
|
|
125
78
|
deleteSystemInstance(args: DeleteSystemInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSystemInstanceCommandOutput>;
|
|
126
79
|
deleteSystemInstance(args: DeleteSystemInstanceCommandInput, cb: (err: any, data?: DeleteSystemInstanceCommandOutput) => void): void;
|
|
127
80
|
deleteSystemInstance(args: DeleteSystemInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSystemInstanceCommandOutput) => void): void;
|
|
128
81
|
/**
|
|
129
|
-
* @
|
|
130
|
-
* @deprecated
|
|
131
|
-
*
|
|
132
|
-
* <p>Deletes a system. New deployments can't contain the system after its deletion.
|
|
133
|
-
* 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>
|
|
82
|
+
* @see {@link DeleteSystemTemplateCommand}
|
|
134
83
|
*/
|
|
135
84
|
deleteSystemTemplate(args: DeleteSystemTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSystemTemplateCommandOutput>;
|
|
136
85
|
deleteSystemTemplate(args: DeleteSystemTemplateCommandInput, cb: (err: any, data?: DeleteSystemTemplateCommandOutput) => void): void;
|
|
137
86
|
deleteSystemTemplate(args: DeleteSystemTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSystemTemplateCommandOutput) => void): void;
|
|
138
87
|
/**
|
|
139
|
-
* @
|
|
140
|
-
* @deprecated
|
|
141
|
-
*
|
|
142
|
-
* <p>
|
|
143
|
-
* <b>Greengrass and Cloud Deployments</b>
|
|
144
|
-
* </p>
|
|
145
|
-
* <p>Deploys the system instance to the target specified in <code>CreateSystemInstance</code>. </p>
|
|
146
|
-
* <p>
|
|
147
|
-
* <b>Greengrass Deployments</b>
|
|
148
|
-
* </p>
|
|
149
|
-
* <p>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
|
|
150
|
-
* resource file and then deploy it.</p>
|
|
151
|
-
* <p>Since this action creates a Greengrass deployment on the caller's behalf, the calling identity must have write permissions
|
|
152
|
-
* to the specified Greengrass group. Otherwise, the call will fail with an authorization error.</p>
|
|
153
|
-
* <p>For information about the artifacts that get added to your Greengrass core device when you use this API, see <a href="https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-greengrass.html">AWS IoT Things Graph and AWS IoT Greengrass</a>.</p>
|
|
88
|
+
* @see {@link DeploySystemInstanceCommand}
|
|
154
89
|
*/
|
|
155
90
|
deploySystemInstance(args: DeploySystemInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DeploySystemInstanceCommandOutput>;
|
|
156
91
|
deploySystemInstance(args: DeploySystemInstanceCommandInput, cb: (err: any, data?: DeploySystemInstanceCommandOutput) => void): void;
|
|
157
92
|
deploySystemInstance(args: DeploySystemInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeploySystemInstanceCommandOutput) => void): void;
|
|
158
93
|
/**
|
|
159
|
-
* @
|
|
160
|
-
* @deprecated
|
|
161
|
-
*
|
|
162
|
-
* <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>
|
|
94
|
+
* @see {@link DeprecateFlowTemplateCommand}
|
|
163
95
|
*/
|
|
164
96
|
deprecateFlowTemplate(args: DeprecateFlowTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeprecateFlowTemplateCommandOutput>;
|
|
165
97
|
deprecateFlowTemplate(args: DeprecateFlowTemplateCommandInput, cb: (err: any, data?: DeprecateFlowTemplateCommandOutput) => void): void;
|
|
166
98
|
deprecateFlowTemplate(args: DeprecateFlowTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeprecateFlowTemplateCommandOutput) => void): void;
|
|
167
99
|
/**
|
|
168
|
-
* @
|
|
169
|
-
* @deprecated
|
|
170
|
-
*
|
|
171
|
-
* <p>Deprecates the specified system.</p>
|
|
100
|
+
* @see {@link DeprecateSystemTemplateCommand}
|
|
172
101
|
*/
|
|
173
102
|
deprecateSystemTemplate(args: DeprecateSystemTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeprecateSystemTemplateCommandOutput>;
|
|
174
103
|
deprecateSystemTemplate(args: DeprecateSystemTemplateCommandInput, cb: (err: any, data?: DeprecateSystemTemplateCommandOutput) => void): void;
|
|
175
104
|
deprecateSystemTemplate(args: DeprecateSystemTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeprecateSystemTemplateCommandOutput) => void): void;
|
|
176
105
|
/**
|
|
177
|
-
* @
|
|
178
|
-
* @deprecated
|
|
179
|
-
*
|
|
180
|
-
* <p>Gets the latest version of the user's namespace and the public version that it is tracking.</p>
|
|
106
|
+
* @see {@link DescribeNamespaceCommand}
|
|
181
107
|
*/
|
|
182
108
|
describeNamespace(args: DescribeNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNamespaceCommandOutput>;
|
|
183
109
|
describeNamespace(args: DescribeNamespaceCommandInput, cb: (err: any, data?: DescribeNamespaceCommandOutput) => void): void;
|
|
184
110
|
describeNamespace(args: DescribeNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNamespaceCommandOutput) => void): void;
|
|
185
111
|
/**
|
|
186
|
-
* @
|
|
187
|
-
* @deprecated
|
|
188
|
-
*
|
|
189
|
-
* <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
|
|
190
|
-
* one entity of a particular type can be associated with a thing.</p>
|
|
112
|
+
* @see {@link DissociateEntityFromThingCommand}
|
|
191
113
|
*/
|
|
192
114
|
dissociateEntityFromThing(args: DissociateEntityFromThingCommandInput, options?: __HttpHandlerOptions): Promise<DissociateEntityFromThingCommandOutput>;
|
|
193
115
|
dissociateEntityFromThing(args: DissociateEntityFromThingCommandInput, cb: (err: any, data?: DissociateEntityFromThingCommandOutput) => void): void;
|
|
194
116
|
dissociateEntityFromThing(args: DissociateEntityFromThingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DissociateEntityFromThingCommandOutput) => void): void;
|
|
195
117
|
/**
|
|
196
|
-
* @
|
|
197
|
-
* @deprecated
|
|
198
|
-
*
|
|
199
|
-
* <p>Gets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the
|
|
200
|
-
* following TDM entities.</p>
|
|
201
|
-
* <ul>
|
|
202
|
-
* <li>
|
|
203
|
-
* <p>Properties</p>
|
|
204
|
-
* </li>
|
|
205
|
-
* <li>
|
|
206
|
-
* <p>States</p>
|
|
207
|
-
* </li>
|
|
208
|
-
* <li>
|
|
209
|
-
* <p>Events</p>
|
|
210
|
-
* </li>
|
|
211
|
-
* <li>
|
|
212
|
-
* <p>Actions</p>
|
|
213
|
-
* </li>
|
|
214
|
-
* <li>
|
|
215
|
-
* <p>Capabilities</p>
|
|
216
|
-
* </li>
|
|
217
|
-
* <li>
|
|
218
|
-
* <p>Mappings</p>
|
|
219
|
-
* </li>
|
|
220
|
-
* <li>
|
|
221
|
-
* <p>Devices</p>
|
|
222
|
-
* </li>
|
|
223
|
-
* <li>
|
|
224
|
-
* <p>Device Models</p>
|
|
225
|
-
* </li>
|
|
226
|
-
* <li>
|
|
227
|
-
* <p>Services</p>
|
|
228
|
-
* </li>
|
|
229
|
-
* </ul>
|
|
230
|
-
* <p>This action doesn't return definitions for systems, flows, and deployments.</p>
|
|
118
|
+
* @see {@link GetEntitiesCommand}
|
|
231
119
|
*/
|
|
232
120
|
getEntities(args: GetEntitiesCommandInput, options?: __HttpHandlerOptions): Promise<GetEntitiesCommandOutput>;
|
|
233
121
|
getEntities(args: GetEntitiesCommandInput, cb: (err: any, data?: GetEntitiesCommandOutput) => void): void;
|
|
234
122
|
getEntities(args: GetEntitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEntitiesCommandOutput) => void): void;
|
|
235
123
|
/**
|
|
236
|
-
* @
|
|
237
|
-
* @deprecated
|
|
238
|
-
*
|
|
239
|
-
* <p>Gets the latest version of the <code>DefinitionDocument</code> and <code>FlowTemplateSummary</code> for the specified workflow.</p>
|
|
124
|
+
* @see {@link GetFlowTemplateCommand}
|
|
240
125
|
*/
|
|
241
126
|
getFlowTemplate(args: GetFlowTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetFlowTemplateCommandOutput>;
|
|
242
127
|
getFlowTemplate(args: GetFlowTemplateCommandInput, cb: (err: any, data?: GetFlowTemplateCommandOutput) => void): void;
|
|
243
128
|
getFlowTemplate(args: GetFlowTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFlowTemplateCommandOutput) => void): void;
|
|
244
129
|
/**
|
|
245
|
-
* @
|
|
246
|
-
* @deprecated
|
|
247
|
-
*
|
|
248
|
-
* <p>Gets revisions of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated,
|
|
249
|
-
* this action will return revisions that occurred before the deprecation. This action won't work for workflows that have been deleted.</p>
|
|
130
|
+
* @see {@link GetFlowTemplateRevisionsCommand}
|
|
250
131
|
*/
|
|
251
132
|
getFlowTemplateRevisions(args: GetFlowTemplateRevisionsCommandInput, options?: __HttpHandlerOptions): Promise<GetFlowTemplateRevisionsCommandOutput>;
|
|
252
133
|
getFlowTemplateRevisions(args: GetFlowTemplateRevisionsCommandInput, cb: (err: any, data?: GetFlowTemplateRevisionsCommandOutput) => void): void;
|
|
253
134
|
getFlowTemplateRevisions(args: GetFlowTemplateRevisionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFlowTemplateRevisionsCommandOutput) => void): void;
|
|
254
135
|
/**
|
|
255
|
-
* @
|
|
256
|
-
* @deprecated
|
|
257
|
-
*
|
|
258
|
-
* <p>Gets the status of a namespace deletion task.</p>
|
|
136
|
+
* @see {@link GetNamespaceDeletionStatusCommand}
|
|
259
137
|
*/
|
|
260
138
|
getNamespaceDeletionStatus(args: GetNamespaceDeletionStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetNamespaceDeletionStatusCommandOutput>;
|
|
261
139
|
getNamespaceDeletionStatus(args: GetNamespaceDeletionStatusCommandInput, cb: (err: any, data?: GetNamespaceDeletionStatusCommandOutput) => void): void;
|
|
262
140
|
getNamespaceDeletionStatus(args: GetNamespaceDeletionStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNamespaceDeletionStatusCommandOutput) => void): void;
|
|
263
141
|
/**
|
|
264
|
-
* @
|
|
265
|
-
* @deprecated
|
|
266
|
-
*
|
|
267
|
-
* <p>Gets a system instance.</p>
|
|
142
|
+
* @see {@link GetSystemInstanceCommand}
|
|
268
143
|
*/
|
|
269
144
|
getSystemInstance(args: GetSystemInstanceCommandInput, options?: __HttpHandlerOptions): Promise<GetSystemInstanceCommandOutput>;
|
|
270
145
|
getSystemInstance(args: GetSystemInstanceCommandInput, cb: (err: any, data?: GetSystemInstanceCommandOutput) => void): void;
|
|
271
146
|
getSystemInstance(args: GetSystemInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSystemInstanceCommandOutput) => void): void;
|
|
272
147
|
/**
|
|
273
|
-
* @
|
|
274
|
-
* @deprecated
|
|
275
|
-
*
|
|
276
|
-
* <p>Gets a system.</p>
|
|
148
|
+
* @see {@link GetSystemTemplateCommand}
|
|
277
149
|
*/
|
|
278
150
|
getSystemTemplate(args: GetSystemTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetSystemTemplateCommandOutput>;
|
|
279
151
|
getSystemTemplate(args: GetSystemTemplateCommandInput, cb: (err: any, data?: GetSystemTemplateCommandOutput) => void): void;
|
|
280
152
|
getSystemTemplate(args: GetSystemTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSystemTemplateCommandOutput) => void): void;
|
|
281
153
|
/**
|
|
282
|
-
* @
|
|
283
|
-
* @deprecated
|
|
284
|
-
*
|
|
285
|
-
* <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
|
|
286
|
-
* the revisions that occurred before its deprecation. This action won't work with systems that have been deleted.</p>
|
|
154
|
+
* @see {@link GetSystemTemplateRevisionsCommand}
|
|
287
155
|
*/
|
|
288
156
|
getSystemTemplateRevisions(args: GetSystemTemplateRevisionsCommandInput, options?: __HttpHandlerOptions): Promise<GetSystemTemplateRevisionsCommandOutput>;
|
|
289
157
|
getSystemTemplateRevisions(args: GetSystemTemplateRevisionsCommandInput, cb: (err: any, data?: GetSystemTemplateRevisionsCommandOutput) => void): void;
|
|
290
158
|
getSystemTemplateRevisions(args: GetSystemTemplateRevisionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSystemTemplateRevisionsCommandOutput) => void): void;
|
|
291
159
|
/**
|
|
292
|
-
* @
|
|
293
|
-
* @deprecated
|
|
294
|
-
*
|
|
295
|
-
* <p>Gets the status of the specified upload.</p>
|
|
160
|
+
* @see {@link GetUploadStatusCommand}
|
|
296
161
|
*/
|
|
297
162
|
getUploadStatus(args: GetUploadStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetUploadStatusCommandOutput>;
|
|
298
163
|
getUploadStatus(args: GetUploadStatusCommandInput, cb: (err: any, data?: GetUploadStatusCommandOutput) => void): void;
|
|
299
164
|
getUploadStatus(args: GetUploadStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUploadStatusCommandOutput) => void): void;
|
|
300
165
|
/**
|
|
301
|
-
* @
|
|
302
|
-
* @deprecated
|
|
303
|
-
*
|
|
304
|
-
* <p>Returns a list of objects that contain information about events in a flow execution.</p>
|
|
166
|
+
* @see {@link ListFlowExecutionMessagesCommand}
|
|
305
167
|
*/
|
|
306
168
|
listFlowExecutionMessages(args: ListFlowExecutionMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListFlowExecutionMessagesCommandOutput>;
|
|
307
169
|
listFlowExecutionMessages(args: ListFlowExecutionMessagesCommandInput, cb: (err: any, data?: ListFlowExecutionMessagesCommandOutput) => void): void;
|
|
308
170
|
listFlowExecutionMessages(args: ListFlowExecutionMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFlowExecutionMessagesCommandOutput) => void): void;
|
|
309
171
|
/**
|
|
310
|
-
* @
|
|
311
|
-
* @deprecated
|
|
312
|
-
*
|
|
313
|
-
* <p>Lists all tags on an AWS IoT Things Graph resource.</p>
|
|
172
|
+
* @see {@link ListTagsForResourceCommand}
|
|
314
173
|
*/
|
|
315
174
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
316
175
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
317
176
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
318
177
|
/**
|
|
319
|
-
* @
|
|
320
|
-
* @deprecated
|
|
321
|
-
*
|
|
322
|
-
* <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>
|
|
178
|
+
* @see {@link SearchEntitiesCommand}
|
|
323
179
|
*/
|
|
324
180
|
searchEntities(args: SearchEntitiesCommandInput, options?: __HttpHandlerOptions): Promise<SearchEntitiesCommandOutput>;
|
|
325
181
|
searchEntities(args: SearchEntitiesCommandInput, cb: (err: any, data?: SearchEntitiesCommandOutput) => void): void;
|
|
326
182
|
searchEntities(args: SearchEntitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchEntitiesCommandOutput) => void): void;
|
|
327
183
|
/**
|
|
328
|
-
* @
|
|
329
|
-
* @deprecated
|
|
330
|
-
*
|
|
331
|
-
* <p>Searches for AWS IoT Things Graph workflow execution instances.</p>
|
|
184
|
+
* @see {@link SearchFlowExecutionsCommand}
|
|
332
185
|
*/
|
|
333
186
|
searchFlowExecutions(args: SearchFlowExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<SearchFlowExecutionsCommandOutput>;
|
|
334
187
|
searchFlowExecutions(args: SearchFlowExecutionsCommandInput, cb: (err: any, data?: SearchFlowExecutionsCommandOutput) => void): void;
|
|
335
188
|
searchFlowExecutions(args: SearchFlowExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchFlowExecutionsCommandOutput) => void): void;
|
|
336
189
|
/**
|
|
337
|
-
* @
|
|
338
|
-
* @deprecated
|
|
339
|
-
*
|
|
340
|
-
* <p>Searches for summary information about workflows.</p>
|
|
190
|
+
* @see {@link SearchFlowTemplatesCommand}
|
|
341
191
|
*/
|
|
342
192
|
searchFlowTemplates(args: SearchFlowTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<SearchFlowTemplatesCommandOutput>;
|
|
343
193
|
searchFlowTemplates(args: SearchFlowTemplatesCommandInput, cb: (err: any, data?: SearchFlowTemplatesCommandOutput) => void): void;
|
|
344
194
|
searchFlowTemplates(args: SearchFlowTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchFlowTemplatesCommandOutput) => void): void;
|
|
345
195
|
/**
|
|
346
|
-
* @
|
|
347
|
-
* @deprecated
|
|
348
|
-
*
|
|
349
|
-
* <p>Searches for system instances in the user's account.</p>
|
|
196
|
+
* @see {@link SearchSystemInstancesCommand}
|
|
350
197
|
*/
|
|
351
198
|
searchSystemInstances(args: SearchSystemInstancesCommandInput, options?: __HttpHandlerOptions): Promise<SearchSystemInstancesCommandOutput>;
|
|
352
199
|
searchSystemInstances(args: SearchSystemInstancesCommandInput, cb: (err: any, data?: SearchSystemInstancesCommandOutput) => void): void;
|
|
353
200
|
searchSystemInstances(args: SearchSystemInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchSystemInstancesCommandOutput) => void): void;
|
|
354
201
|
/**
|
|
355
|
-
* @
|
|
356
|
-
* @deprecated
|
|
357
|
-
*
|
|
358
|
-
* <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>
|
|
202
|
+
* @see {@link SearchSystemTemplatesCommand}
|
|
359
203
|
*/
|
|
360
204
|
searchSystemTemplates(args: SearchSystemTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<SearchSystemTemplatesCommandOutput>;
|
|
361
205
|
searchSystemTemplates(args: SearchSystemTemplatesCommandInput, cb: (err: any, data?: SearchSystemTemplatesCommandOutput) => void): void;
|
|
362
206
|
searchSystemTemplates(args: SearchSystemTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchSystemTemplatesCommandOutput) => void): void;
|
|
363
207
|
/**
|
|
364
|
-
* @
|
|
365
|
-
* @deprecated
|
|
366
|
-
*
|
|
367
|
-
* <p>Searches for things associated with the specified entity. You can search by both device and device model.</p>
|
|
368
|
-
* <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.
|
|
369
|
-
* <code>SearchThings(camera2)</code> will return only thing2, but <code>SearchThings(camera)</code> will return both thing1 and thing2.</p>
|
|
370
|
-
* <p>This action searches for exact matches and doesn't perform partial text matching.</p>
|
|
208
|
+
* @see {@link SearchThingsCommand}
|
|
371
209
|
*/
|
|
372
210
|
searchThings(args: SearchThingsCommandInput, options?: __HttpHandlerOptions): Promise<SearchThingsCommandOutput>;
|
|
373
211
|
searchThings(args: SearchThingsCommandInput, cb: (err: any, data?: SearchThingsCommandOutput) => void): void;
|
|
374
212
|
searchThings(args: SearchThingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchThingsCommandOutput) => void): void;
|
|
375
213
|
/**
|
|
376
|
-
* @
|
|
377
|
-
* @deprecated
|
|
378
|
-
*
|
|
379
|
-
* <p>Creates a tag for the specified resource.</p>
|
|
214
|
+
* @see {@link TagResourceCommand}
|
|
380
215
|
*/
|
|
381
216
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
382
217
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
383
218
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
384
219
|
/**
|
|
385
|
-
* @
|
|
386
|
-
* @deprecated
|
|
387
|
-
*
|
|
388
|
-
* <p>Removes a system instance from its target (Cloud or Greengrass).</p>
|
|
220
|
+
* @see {@link UndeploySystemInstanceCommand}
|
|
389
221
|
*/
|
|
390
222
|
undeploySystemInstance(args: UndeploySystemInstanceCommandInput, options?: __HttpHandlerOptions): Promise<UndeploySystemInstanceCommandOutput>;
|
|
391
223
|
undeploySystemInstance(args: UndeploySystemInstanceCommandInput, cb: (err: any, data?: UndeploySystemInstanceCommandOutput) => void): void;
|
|
392
224
|
undeploySystemInstance(args: UndeploySystemInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UndeploySystemInstanceCommandOutput) => void): void;
|
|
393
225
|
/**
|
|
394
|
-
* @
|
|
395
|
-
* @deprecated
|
|
396
|
-
*
|
|
397
|
-
* <p>Removes a tag from the specified resource.</p>
|
|
226
|
+
* @see {@link UntagResourceCommand}
|
|
398
227
|
*/
|
|
399
228
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
400
229
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
401
230
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
402
231
|
/**
|
|
403
|
-
* @
|
|
404
|
-
* @deprecated
|
|
405
|
-
*
|
|
406
|
-
* <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
|
|
407
|
-
* 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>
|
|
232
|
+
* @see {@link UpdateFlowTemplateCommand}
|
|
408
233
|
*/
|
|
409
234
|
updateFlowTemplate(args: UpdateFlowTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFlowTemplateCommandOutput>;
|
|
410
235
|
updateFlowTemplate(args: UpdateFlowTemplateCommandInput, cb: (err: any, data?: UpdateFlowTemplateCommandOutput) => void): void;
|
|
411
236
|
updateFlowTemplate(args: UpdateFlowTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFlowTemplateCommandOutput) => void): void;
|
|
412
237
|
/**
|
|
413
|
-
* @
|
|
414
|
-
* @deprecated
|
|
415
|
-
*
|
|
416
|
-
* <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>
|
|
238
|
+
* @see {@link UpdateSystemTemplateCommand}
|
|
417
239
|
*/
|
|
418
240
|
updateSystemTemplate(args: UpdateSystemTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSystemTemplateCommandOutput>;
|
|
419
241
|
updateSystemTemplate(args: UpdateSystemTemplateCommandInput, cb: (err: any, data?: UpdateSystemTemplateCommandOutput) => void): void;
|
|
420
242
|
updateSystemTemplate(args: UpdateSystemTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSystemTemplateCommandOutput) => void): void;
|
|
421
243
|
/**
|
|
422
|
-
* @
|
|
423
|
-
* @deprecated
|
|
424
|
-
*
|
|
425
|
-
* <p>Asynchronously uploads one or more entity definitions to the user's namespace. The <code>document</code> parameter is required if
|
|
426
|
-
* <code>syncWithPublicNamespace</code> and <code>deleteExistingEntites</code> are false. If the <code>syncWithPublicNamespace</code> parameter is set to
|
|
427
|
-
* <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,
|
|
428
|
-
* all entities in the latest version will be deleted before the new <code>DefinitionDocument</code> is uploaded.</p>
|
|
429
|
-
* <p>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
|
|
430
|
-
* 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
|
|
431
|
-
* <code>syncWithPublicNamespace</code> parameter or the <code>deprecateExistingEntities</code> parameter to <code>true</code>.</p>
|
|
432
|
-
* <p>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.</p>
|
|
433
|
-
* <p>Valid entities are <code>Device</code>, <code>DeviceModel</code>, <code>Service</code>, <code>Capability</code>, <code>State</code>, <code>Action</code>, <code>Event</code>, <code>Property</code>,
|
|
434
|
-
* <code>Mapping</code>, <code>Enum</code>.
|
|
435
|
-
* </p>
|
|
244
|
+
* @see {@link UploadEntityDefinitionsCommand}
|
|
436
245
|
*/
|
|
437
246
|
uploadEntityDefinitions(args: UploadEntityDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<UploadEntityDefinitionsCommandOutput>;
|
|
438
247
|
uploadEntityDefinitions(args: UploadEntityDefinitionsCommandInput, cb: (err: any, data?: UploadEntityDefinitionsCommandOutput) => void): void;
|
|
439
248
|
uploadEntityDefinitions(args: UploadEntityDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UploadEntityDefinitionsCommandOutput) => void): void;
|
|
440
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
* <fullname>AWS IoT Things Graph</fullname>
|
|
253
|
+
* <p>AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards,
|
|
254
|
+
* 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
|
|
255
|
+
* and defining how they interact at an abstract level.</p>
|
|
256
|
+
* <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>
|
|
257
|
+
*
|
|
258
|
+
* <p>The AWS IoT Things Graph service is discontinued.</p>
|
|
259
|
+
*/
|
|
260
|
+
export declare class IoTThingsGraph extends IoTThingsGraphClient implements IoTThingsGraph {
|
|
261
|
+
}
|
|
@@ -140,7 +140,7 @@ import {
|
|
|
140
140
|
UploadEntityDefinitionsCommandOutput,
|
|
141
141
|
} from "./commands/UploadEntityDefinitionsCommand";
|
|
142
142
|
import { IoTThingsGraphClient } from "./IoTThingsGraphClient";
|
|
143
|
-
export
|
|
143
|
+
export interface IoTThingsGraph {
|
|
144
144
|
associateEntityToThing(
|
|
145
145
|
args: AssociateEntityToThingCommandInput,
|
|
146
146
|
options?: __HttpHandlerOptions
|
|
@@ -597,3 +597,6 @@ export declare class IoTThingsGraph extends IoTThingsGraphClient {
|
|
|
597
597
|
cb: (err: any, data?: UploadEntityDefinitionsCommandOutput) => void
|
|
598
598
|
): void;
|
|
599
599
|
}
|
|
600
|
+
export declare class IoTThingsGraph
|
|
601
|
+
extends IoTThingsGraphClient
|
|
602
|
+
implements IoTThingsGraph {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotthingsgraph",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iotthingsgraph Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|