1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class IoTThingsGraph extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: IoTThingsGraph.Types.ClientConfiguration)
|
13 | config: Config & IoTThingsGraph.Types.ClientConfiguration;
|
14 | /**
|
15 | * 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.
|
16 | */
|
17 | associateEntityToThing(params: IoTThingsGraph.Types.AssociateEntityToThingRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.AssociateEntityToThingResponse) => void): Request<IoTThingsGraph.Types.AssociateEntityToThingResponse, AWSError>;
|
18 | /**
|
19 | * 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.
|
20 | */
|
21 | associateEntityToThing(callback?: (err: AWSError, data: IoTThingsGraph.Types.AssociateEntityToThingResponse) => void): Request<IoTThingsGraph.Types.AssociateEntityToThingResponse, AWSError>;
|
22 | /**
|
23 | * 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.
|
24 | */
|
25 | createFlowTemplate(params: IoTThingsGraph.Types.CreateFlowTemplateRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.CreateFlowTemplateResponse) => void): Request<IoTThingsGraph.Types.CreateFlowTemplateResponse, AWSError>;
|
26 | /**
|
27 | * 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.
|
28 | */
|
29 | createFlowTemplate(callback?: (err: AWSError, data: IoTThingsGraph.Types.CreateFlowTemplateResponse) => void): Request<IoTThingsGraph.Types.CreateFlowTemplateResponse, AWSError>;
|
30 | /**
|
31 | * 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.
|
32 | */
|
33 | createSystemInstance(params: IoTThingsGraph.Types.CreateSystemInstanceRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.CreateSystemInstanceResponse) => void): Request<IoTThingsGraph.Types.CreateSystemInstanceResponse, AWSError>;
|
34 | /**
|
35 | * 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.
|
36 | */
|
37 | createSystemInstance(callback?: (err: AWSError, data: IoTThingsGraph.Types.CreateSystemInstanceResponse) => void): Request<IoTThingsGraph.Types.CreateSystemInstanceResponse, AWSError>;
|
38 | /**
|
39 | * 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.
|
40 | */
|
41 | createSystemTemplate(params: IoTThingsGraph.Types.CreateSystemTemplateRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.CreateSystemTemplateResponse) => void): Request<IoTThingsGraph.Types.CreateSystemTemplateResponse, AWSError>;
|
42 | /**
|
43 | * 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.
|
44 | */
|
45 | createSystemTemplate(callback?: (err: AWSError, data: IoTThingsGraph.Types.CreateSystemTemplateResponse) => void): Request<IoTThingsGraph.Types.CreateSystemTemplateResponse, AWSError>;
|
46 | /**
|
47 | * 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).
|
48 | */
|
49 | deleteFlowTemplate(params: IoTThingsGraph.Types.DeleteFlowTemplateRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.DeleteFlowTemplateResponse) => void): Request<IoTThingsGraph.Types.DeleteFlowTemplateResponse, AWSError>;
|
50 | /**
|
51 | * 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).
|
52 | */
|
53 | deleteFlowTemplate(callback?: (err: AWSError, data: IoTThingsGraph.Types.DeleteFlowTemplateResponse) => void): Request<IoTThingsGraph.Types.DeleteFlowTemplateResponse, AWSError>;
|
54 | /**
|
55 | * 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.
|
56 | */
|
57 | deleteNamespace(params: IoTThingsGraph.Types.DeleteNamespaceRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.DeleteNamespaceResponse) => void): Request<IoTThingsGraph.Types.DeleteNamespaceResponse, AWSError>;
|
58 | /**
|
59 | * 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.
|
60 | */
|
61 | deleteNamespace(callback?: (err: AWSError, data: IoTThingsGraph.Types.DeleteNamespaceResponse) => void): Request<IoTThingsGraph.Types.DeleteNamespaceResponse, AWSError>;
|
62 | /**
|
63 | * 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.
|
64 | */
|
65 | deleteSystemInstance(params: IoTThingsGraph.Types.DeleteSystemInstanceRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.DeleteSystemInstanceResponse) => void): Request<IoTThingsGraph.Types.DeleteSystemInstanceResponse, AWSError>;
|
66 | /**
|
67 | * 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.
|
68 | */
|
69 | deleteSystemInstance(callback?: (err: AWSError, data: IoTThingsGraph.Types.DeleteSystemInstanceResponse) => void): Request<IoTThingsGraph.Types.DeleteSystemInstanceResponse, AWSError>;
|
70 | /**
|
71 | * 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.
|
72 | */
|
73 | deleteSystemTemplate(params: IoTThingsGraph.Types.DeleteSystemTemplateRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.DeleteSystemTemplateResponse) => void): Request<IoTThingsGraph.Types.DeleteSystemTemplateResponse, AWSError>;
|
74 | /**
|
75 | * 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.
|
76 | */
|
77 | deleteSystemTemplate(callback?: (err: AWSError, data: IoTThingsGraph.Types.DeleteSystemTemplateResponse) => void): Request<IoTThingsGraph.Types.DeleteSystemTemplateResponse, AWSError>;
|
78 | /**
|
79 | * 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.
|
80 | */
|
81 | deploySystemInstance(params: IoTThingsGraph.Types.DeploySystemInstanceRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.DeploySystemInstanceResponse) => void): Request<IoTThingsGraph.Types.DeploySystemInstanceResponse, AWSError>;
|
82 | /**
|
83 | * 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.
|
84 | */
|
85 | deploySystemInstance(callback?: (err: AWSError, data: IoTThingsGraph.Types.DeploySystemInstanceResponse) => void): Request<IoTThingsGraph.Types.DeploySystemInstanceResponse, AWSError>;
|
86 | /**
|
87 | * Deprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.
|
88 | */
|
89 | deprecateFlowTemplate(params: IoTThingsGraph.Types.DeprecateFlowTemplateRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.DeprecateFlowTemplateResponse) => void): Request<IoTThingsGraph.Types.DeprecateFlowTemplateResponse, AWSError>;
|
90 | /**
|
91 | * Deprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.
|
92 | */
|
93 | deprecateFlowTemplate(callback?: (err: AWSError, data: IoTThingsGraph.Types.DeprecateFlowTemplateResponse) => void): Request<IoTThingsGraph.Types.DeprecateFlowTemplateResponse, AWSError>;
|
94 | /**
|
95 | * Deprecates the specified system.
|
96 | */
|
97 | deprecateSystemTemplate(params: IoTThingsGraph.Types.DeprecateSystemTemplateRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.DeprecateSystemTemplateResponse) => void): Request<IoTThingsGraph.Types.DeprecateSystemTemplateResponse, AWSError>;
|
98 | /**
|
99 | * Deprecates the specified system.
|
100 | */
|
101 | deprecateSystemTemplate(callback?: (err: AWSError, data: IoTThingsGraph.Types.DeprecateSystemTemplateResponse) => void): Request<IoTThingsGraph.Types.DeprecateSystemTemplateResponse, AWSError>;
|
102 | /**
|
103 | * Gets the latest version of the user's namespace and the public version that it is tracking.
|
104 | */
|
105 | describeNamespace(params: IoTThingsGraph.Types.DescribeNamespaceRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.DescribeNamespaceResponse) => void): Request<IoTThingsGraph.Types.DescribeNamespaceResponse, AWSError>;
|
106 | /**
|
107 | * Gets the latest version of the user's namespace and the public version that it is tracking.
|
108 | */
|
109 | describeNamespace(callback?: (err: AWSError, data: IoTThingsGraph.Types.DescribeNamespaceResponse) => void): Request<IoTThingsGraph.Types.DescribeNamespaceResponse, AWSError>;
|
110 | /**
|
111 | * 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.
|
112 | */
|
113 | dissociateEntityFromThing(params: IoTThingsGraph.Types.DissociateEntityFromThingRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.DissociateEntityFromThingResponse) => void): Request<IoTThingsGraph.Types.DissociateEntityFromThingResponse, AWSError>;
|
114 | /**
|
115 | * 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.
|
116 | */
|
117 | dissociateEntityFromThing(callback?: (err: AWSError, data: IoTThingsGraph.Types.DissociateEntityFromThingResponse) => void): Request<IoTThingsGraph.Types.DissociateEntityFromThingResponse, AWSError>;
|
118 | /**
|
119 | * 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.
|
120 | */
|
121 | getEntities(params: IoTThingsGraph.Types.GetEntitiesRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.GetEntitiesResponse) => void): Request<IoTThingsGraph.Types.GetEntitiesResponse, AWSError>;
|
122 | /**
|
123 | * 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.
|
124 | */
|
125 | getEntities(callback?: (err: AWSError, data: IoTThingsGraph.Types.GetEntitiesResponse) => void): Request<IoTThingsGraph.Types.GetEntitiesResponse, AWSError>;
|
126 | /**
|
127 | * Gets the latest version of the DefinitionDocument and FlowTemplateSummary for the specified workflow.
|
128 | */
|
129 | getFlowTemplate(params: IoTThingsGraph.Types.GetFlowTemplateRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.GetFlowTemplateResponse) => void): Request<IoTThingsGraph.Types.GetFlowTemplateResponse, AWSError>;
|
130 | /**
|
131 | * Gets the latest version of the DefinitionDocument and FlowTemplateSummary for the specified workflow.
|
132 | */
|
133 | getFlowTemplate(callback?: (err: AWSError, data: IoTThingsGraph.Types.GetFlowTemplateResponse) => void): Request<IoTThingsGraph.Types.GetFlowTemplateResponse, AWSError>;
|
134 | /**
|
135 | * 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.
|
136 | */
|
137 | getFlowTemplateRevisions(params: IoTThingsGraph.Types.GetFlowTemplateRevisionsRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.GetFlowTemplateRevisionsResponse) => void): Request<IoTThingsGraph.Types.GetFlowTemplateRevisionsResponse, AWSError>;
|
138 | /**
|
139 | * 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.
|
140 | */
|
141 | getFlowTemplateRevisions(callback?: (err: AWSError, data: IoTThingsGraph.Types.GetFlowTemplateRevisionsResponse) => void): Request<IoTThingsGraph.Types.GetFlowTemplateRevisionsResponse, AWSError>;
|
142 | /**
|
143 | * Gets the status of a namespace deletion task.
|
144 | */
|
145 | getNamespaceDeletionStatus(params: IoTThingsGraph.Types.GetNamespaceDeletionStatusRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.GetNamespaceDeletionStatusResponse) => void): Request<IoTThingsGraph.Types.GetNamespaceDeletionStatusResponse, AWSError>;
|
146 | /**
|
147 | * Gets the status of a namespace deletion task.
|
148 | */
|
149 | getNamespaceDeletionStatus(callback?: (err: AWSError, data: IoTThingsGraph.Types.GetNamespaceDeletionStatusResponse) => void): Request<IoTThingsGraph.Types.GetNamespaceDeletionStatusResponse, AWSError>;
|
150 | /**
|
151 | * Gets a system instance.
|
152 | */
|
153 | getSystemInstance(params: IoTThingsGraph.Types.GetSystemInstanceRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.GetSystemInstanceResponse) => void): Request<IoTThingsGraph.Types.GetSystemInstanceResponse, AWSError>;
|
154 | /**
|
155 | * Gets a system instance.
|
156 | */
|
157 | getSystemInstance(callback?: (err: AWSError, data: IoTThingsGraph.Types.GetSystemInstanceResponse) => void): Request<IoTThingsGraph.Types.GetSystemInstanceResponse, AWSError>;
|
158 | /**
|
159 | * Gets a system.
|
160 | */
|
161 | getSystemTemplate(params: IoTThingsGraph.Types.GetSystemTemplateRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.GetSystemTemplateResponse) => void): Request<IoTThingsGraph.Types.GetSystemTemplateResponse, AWSError>;
|
162 | /**
|
163 | * Gets a system.
|
164 | */
|
165 | getSystemTemplate(callback?: (err: AWSError, data: IoTThingsGraph.Types.GetSystemTemplateResponse) => void): Request<IoTThingsGraph.Types.GetSystemTemplateResponse, AWSError>;
|
166 | /**
|
167 | * 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.
|
168 | */
|
169 | getSystemTemplateRevisions(params: IoTThingsGraph.Types.GetSystemTemplateRevisionsRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.GetSystemTemplateRevisionsResponse) => void): Request<IoTThingsGraph.Types.GetSystemTemplateRevisionsResponse, AWSError>;
|
170 | /**
|
171 | * 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.
|
172 | */
|
173 | getSystemTemplateRevisions(callback?: (err: AWSError, data: IoTThingsGraph.Types.GetSystemTemplateRevisionsResponse) => void): Request<IoTThingsGraph.Types.GetSystemTemplateRevisionsResponse, AWSError>;
|
174 | /**
|
175 | * Gets the status of the specified upload.
|
176 | */
|
177 | getUploadStatus(params: IoTThingsGraph.Types.GetUploadStatusRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.GetUploadStatusResponse) => void): Request<IoTThingsGraph.Types.GetUploadStatusResponse, AWSError>;
|
178 | /**
|
179 | * Gets the status of the specified upload.
|
180 | */
|
181 | getUploadStatus(callback?: (err: AWSError, data: IoTThingsGraph.Types.GetUploadStatusResponse) => void): Request<IoTThingsGraph.Types.GetUploadStatusResponse, AWSError>;
|
182 | /**
|
183 | * Returns a list of objects that contain information about events in a flow execution.
|
184 | */
|
185 | listFlowExecutionMessages(params: IoTThingsGraph.Types.ListFlowExecutionMessagesRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.ListFlowExecutionMessagesResponse) => void): Request<IoTThingsGraph.Types.ListFlowExecutionMessagesResponse, AWSError>;
|
186 | /**
|
187 | * Returns a list of objects that contain information about events in a flow execution.
|
188 | */
|
189 | listFlowExecutionMessages(callback?: (err: AWSError, data: IoTThingsGraph.Types.ListFlowExecutionMessagesResponse) => void): Request<IoTThingsGraph.Types.ListFlowExecutionMessagesResponse, AWSError>;
|
190 | /**
|
191 | * Lists all tags on an AWS IoT Things Graph resource.
|
192 | */
|
193 | listTagsForResource(params: IoTThingsGraph.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.ListTagsForResourceResponse) => void): Request<IoTThingsGraph.Types.ListTagsForResourceResponse, AWSError>;
|
194 | /**
|
195 | * Lists all tags on an AWS IoT Things Graph resource.
|
196 | */
|
197 | listTagsForResource(callback?: (err: AWSError, data: IoTThingsGraph.Types.ListTagsForResourceResponse) => void): Request<IoTThingsGraph.Types.ListTagsForResourceResponse, AWSError>;
|
198 | /**
|
199 | * Searches for entities of the specified type. You can search for entities in your namespace and the public namespace that you're tracking.
|
200 | */
|
201 | searchEntities(params: IoTThingsGraph.Types.SearchEntitiesRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchEntitiesResponse) => void): Request<IoTThingsGraph.Types.SearchEntitiesResponse, AWSError>;
|
202 | /**
|
203 | * Searches for entities of the specified type. You can search for entities in your namespace and the public namespace that you're tracking.
|
204 | */
|
205 | searchEntities(callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchEntitiesResponse) => void): Request<IoTThingsGraph.Types.SearchEntitiesResponse, AWSError>;
|
206 | /**
|
207 | * Searches for AWS IoT Things Graph workflow execution instances.
|
208 | */
|
209 | searchFlowExecutions(params: IoTThingsGraph.Types.SearchFlowExecutionsRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchFlowExecutionsResponse) => void): Request<IoTThingsGraph.Types.SearchFlowExecutionsResponse, AWSError>;
|
210 | /**
|
211 | * Searches for AWS IoT Things Graph workflow execution instances.
|
212 | */
|
213 | searchFlowExecutions(callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchFlowExecutionsResponse) => void): Request<IoTThingsGraph.Types.SearchFlowExecutionsResponse, AWSError>;
|
214 | /**
|
215 | * Searches for summary information about workflows.
|
216 | */
|
217 | searchFlowTemplates(params: IoTThingsGraph.Types.SearchFlowTemplatesRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchFlowTemplatesResponse) => void): Request<IoTThingsGraph.Types.SearchFlowTemplatesResponse, AWSError>;
|
218 | /**
|
219 | * Searches for summary information about workflows.
|
220 | */
|
221 | searchFlowTemplates(callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchFlowTemplatesResponse) => void): Request<IoTThingsGraph.Types.SearchFlowTemplatesResponse, AWSError>;
|
222 | /**
|
223 | * Searches for system instances in the user's account.
|
224 | */
|
225 | searchSystemInstances(params: IoTThingsGraph.Types.SearchSystemInstancesRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchSystemInstancesResponse) => void): Request<IoTThingsGraph.Types.SearchSystemInstancesResponse, AWSError>;
|
226 | /**
|
227 | * Searches for system instances in the user's account.
|
228 | */
|
229 | searchSystemInstances(callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchSystemInstancesResponse) => void): Request<IoTThingsGraph.Types.SearchSystemInstancesResponse, AWSError>;
|
230 | /**
|
231 | * 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.
|
232 | */
|
233 | searchSystemTemplates(params: IoTThingsGraph.Types.SearchSystemTemplatesRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchSystemTemplatesResponse) => void): Request<IoTThingsGraph.Types.SearchSystemTemplatesResponse, AWSError>;
|
234 | /**
|
235 | * 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.
|
236 | */
|
237 | searchSystemTemplates(callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchSystemTemplatesResponse) => void): Request<IoTThingsGraph.Types.SearchSystemTemplatesResponse, AWSError>;
|
238 | /**
|
239 | * 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.
|
240 | */
|
241 | searchThings(params: IoTThingsGraph.Types.SearchThingsRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchThingsResponse) => void): Request<IoTThingsGraph.Types.SearchThingsResponse, AWSError>;
|
242 | /**
|
243 | * 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.
|
244 | */
|
245 | searchThings(callback?: (err: AWSError, data: IoTThingsGraph.Types.SearchThingsResponse) => void): Request<IoTThingsGraph.Types.SearchThingsResponse, AWSError>;
|
246 | /**
|
247 | * Creates a tag for the specified resource.
|
248 | */
|
249 | tagResource(params: IoTThingsGraph.Types.TagResourceRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.TagResourceResponse) => void): Request<IoTThingsGraph.Types.TagResourceResponse, AWSError>;
|
250 | /**
|
251 | * Creates a tag for the specified resource.
|
252 | */
|
253 | tagResource(callback?: (err: AWSError, data: IoTThingsGraph.Types.TagResourceResponse) => void): Request<IoTThingsGraph.Types.TagResourceResponse, AWSError>;
|
254 | /**
|
255 | * Removes a system instance from its target (Cloud or Greengrass).
|
256 | */
|
257 | undeploySystemInstance(params: IoTThingsGraph.Types.UndeploySystemInstanceRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.UndeploySystemInstanceResponse) => void): Request<IoTThingsGraph.Types.UndeploySystemInstanceResponse, AWSError>;
|
258 | /**
|
259 | * Removes a system instance from its target (Cloud or Greengrass).
|
260 | */
|
261 | undeploySystemInstance(callback?: (err: AWSError, data: IoTThingsGraph.Types.UndeploySystemInstanceResponse) => void): Request<IoTThingsGraph.Types.UndeploySystemInstanceResponse, AWSError>;
|
262 | /**
|
263 | * Removes a tag from the specified resource.
|
264 | */
|
265 | untagResource(params: IoTThingsGraph.Types.UntagResourceRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.UntagResourceResponse) => void): Request<IoTThingsGraph.Types.UntagResourceResponse, AWSError>;
|
266 | /**
|
267 | * Removes a tag from the specified resource.
|
268 | */
|
269 | untagResource(callback?: (err: AWSError, data: IoTThingsGraph.Types.UntagResourceResponse) => void): Request<IoTThingsGraph.Types.UntagResourceResponse, AWSError>;
|
270 | /**
|
271 | * 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.
|
272 | */
|
273 | updateFlowTemplate(params: IoTThingsGraph.Types.UpdateFlowTemplateRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.UpdateFlowTemplateResponse) => void): Request<IoTThingsGraph.Types.UpdateFlowTemplateResponse, AWSError>;
|
274 | /**
|
275 | * 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.
|
276 | */
|
277 | updateFlowTemplate(callback?: (err: AWSError, data: IoTThingsGraph.Types.UpdateFlowTemplateResponse) => void): Request<IoTThingsGraph.Types.UpdateFlowTemplateResponse, AWSError>;
|
278 | /**
|
279 | * 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.
|
280 | */
|
281 | updateSystemTemplate(params: IoTThingsGraph.Types.UpdateSystemTemplateRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.UpdateSystemTemplateResponse) => void): Request<IoTThingsGraph.Types.UpdateSystemTemplateResponse, AWSError>;
|
282 | /**
|
283 | * 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.
|
284 | */
|
285 | updateSystemTemplate(callback?: (err: AWSError, data: IoTThingsGraph.Types.UpdateSystemTemplateResponse) => void): Request<IoTThingsGraph.Types.UpdateSystemTemplateResponse, AWSError>;
|
286 | /**
|
287 | * 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.
|
288 | */
|
289 | uploadEntityDefinitions(params: IoTThingsGraph.Types.UploadEntityDefinitionsRequest, callback?: (err: AWSError, data: IoTThingsGraph.Types.UploadEntityDefinitionsResponse) => void): Request<IoTThingsGraph.Types.UploadEntityDefinitionsResponse, AWSError>;
|
290 | /**
|
291 | * 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.
|
292 | */
|
293 | uploadEntityDefinitions(callback?: (err: AWSError, data: IoTThingsGraph.Types.UploadEntityDefinitionsResponse) => void): Request<IoTThingsGraph.Types.UploadEntityDefinitionsResponse, AWSError>;
|
294 | }
|
295 | declare namespace IoTThingsGraph {
|
296 | export type Arn = string;
|
297 | export interface AssociateEntityToThingRequest {
|
298 | |
299 |
|
300 |
|
301 | thingName: ThingName;
|
302 | |
303 |
|
304 |
|
305 | entityId: Urn;
|
306 | |
307 |
|
308 |
|
309 | namespaceVersion?: Version;
|
310 | }
|
311 | export interface AssociateEntityToThingResponse {
|
312 | }
|
313 | export interface CreateFlowTemplateRequest {
|
314 | |
315 |
|
316 |
|
317 | definition: DefinitionDocument;
|
318 | |
319 |
|
320 |
|
321 | compatibleNamespaceVersion?: Version;
|
322 | }
|
323 | export interface CreateFlowTemplateResponse {
|
324 | |
325 |
|
326 |
|
327 | summary?: FlowTemplateSummary;
|
328 | }
|
329 | export interface CreateSystemInstanceRequest {
|
330 | |
331 |
|
332 |
|
333 | tags?: TagList;
|
334 | definition: DefinitionDocument;
|
335 | |
336 |
|
337 |
|
338 | target: DeploymentTarget;
|
339 | |
340 |
|
341 |
|
342 | greengrassGroupName?: GroupName;
|
343 | |
344 |
|
345 |
|
346 | s3BucketName?: S3BucketName;
|
347 | metricsConfiguration?: MetricsConfiguration;
|
348 | |
349 |
|
350 |
|
351 | flowActionsRoleArn?: RoleArn;
|
352 | }
|
353 | export interface CreateSystemInstanceResponse {
|
354 | |
355 |
|
356 |
|
357 | summary?: SystemInstanceSummary;
|
358 | }
|
359 | export interface CreateSystemTemplateRequest {
|
360 | |
361 |
|
362 |
|
363 | definition: DefinitionDocument;
|
364 | |
365 |
|
366 |
|
367 | compatibleNamespaceVersion?: Version;
|
368 | }
|
369 | export interface CreateSystemTemplateResponse {
|
370 | |
371 |
|
372 |
|
373 | summary?: SystemTemplateSummary;
|
374 | }
|
375 | export interface DefinitionDocument {
|
376 | |
377 |
|
378 |
|
379 | language: DefinitionLanguage;
|
380 | |
381 |
|
382 |
|
383 | text: DefinitionText;
|
384 | }
|
385 | export type DefinitionLanguage = "GRAPHQL"|string;
|
386 | export type DefinitionText = string;
|
387 | export interface DeleteFlowTemplateRequest {
|
388 | |
389 |
|
390 |
|
391 | id: Urn;
|
392 | }
|
393 | export interface DeleteFlowTemplateResponse {
|
394 | }
|
395 | export interface DeleteNamespaceRequest {
|
396 | }
|
397 | export interface DeleteNamespaceResponse {
|
398 | |
399 |
|
400 |
|
401 | namespaceArn?: Arn;
|
402 | |
403 |
|
404 |
|
405 | namespaceName?: NamespaceName;
|
406 | }
|
407 | export interface DeleteSystemInstanceRequest {
|
408 | |
409 |
|
410 |
|
411 | id?: Urn;
|
412 | }
|
413 | export interface DeleteSystemInstanceResponse {
|
414 | }
|
415 | export interface DeleteSystemTemplateRequest {
|
416 | |
417 |
|
418 |
|
419 | id: Urn;
|
420 | }
|
421 | export interface DeleteSystemTemplateResponse {
|
422 | }
|
423 | export interface DependencyRevision {
|
424 | |
425 |
|
426 |
|
427 | id?: Urn;
|
428 | |
429 |
|
430 |
|
431 | revisionNumber?: Version;
|
432 | }
|
433 | export type DependencyRevisions = DependencyRevision[];
|
434 | export interface DeploySystemInstanceRequest {
|
435 | |
436 |
|
437 |
|
438 | id?: Urn;
|
439 | }
|
440 | export interface DeploySystemInstanceResponse {
|
441 | |
442 |
|
443 |
|
444 | summary: SystemInstanceSummary;
|
445 | |
446 |
|
447 |
|
448 | greengrassDeploymentId?: GreengrassDeploymentId;
|
449 | }
|
450 | export type DeploymentTarget = "GREENGRASS"|"CLOUD"|string;
|
451 | export type DeprecateExistingEntities = boolean;
|
452 | export interface DeprecateFlowTemplateRequest {
|
453 | |
454 |
|
455 |
|
456 | id: Urn;
|
457 | }
|
458 | export interface DeprecateFlowTemplateResponse {
|
459 | }
|
460 | export interface DeprecateSystemTemplateRequest {
|
461 | |
462 |
|
463 |
|
464 | id: Urn;
|
465 | }
|
466 | export interface DeprecateSystemTemplateResponse {
|
467 | }
|
468 | export interface DescribeNamespaceRequest {
|
469 | |
470 |
|
471 |
|
472 | namespaceName?: NamespaceName;
|
473 | }
|
474 | export interface DescribeNamespaceResponse {
|
475 | |
476 |
|
477 |
|
478 | namespaceArn?: Arn;
|
479 | |
480 |
|
481 |
|
482 | namespaceName?: NamespaceName;
|
483 | |
484 |
|
485 |
|
486 | trackingNamespaceName?: NamespaceName;
|
487 | |
488 |
|
489 |
|
490 | trackingNamespaceVersion?: Version;
|
491 | |
492 |
|
493 |
|
494 | namespaceVersion?: Version;
|
495 | }
|
496 | export interface DissociateEntityFromThingRequest {
|
497 | |
498 |
|
499 |
|
500 | thingName: ThingName;
|
501 | |
502 |
|
503 |
|
504 | entityType: EntityType;
|
505 | }
|
506 | export interface DissociateEntityFromThingResponse {
|
507 | }
|
508 | export type Enabled = boolean;
|
509 | export interface EntityDescription {
|
510 | |
511 |
|
512 |
|
513 | id?: Urn;
|
514 | |
515 |
|
516 |
|
517 | arn?: Arn;
|
518 | |
519 |
|
520 |
|
521 | type?: EntityType;
|
522 | |
523 |
|
524 |
|
525 | createdAt?: Timestamp;
|
526 | |
527 |
|
528 |
|
529 | definition?: DefinitionDocument;
|
530 | }
|
531 | export type EntityDescriptions = EntityDescription[];
|
532 | export interface EntityFilter {
|
533 | |
534 |
|
535 |
|
536 | name?: EntityFilterName;
|
537 | |
538 |
|
539 |
|
540 | value?: EntityFilterValues;
|
541 | }
|
542 | export type EntityFilterName = "NAME"|"NAMESPACE"|"SEMANTIC_TYPE_PATH"|"REFERENCED_ENTITY_ID"|string;
|
543 | export type EntityFilterValue = string;
|
544 | export type EntityFilterValues = EntityFilterValue[];
|
545 | export type EntityFilters = EntityFilter[];
|
546 | export type EntityType = "DEVICE"|"SERVICE"|"DEVICE_MODEL"|"CAPABILITY"|"STATE"|"ACTION"|"EVENT"|"PROPERTY"|"MAPPING"|"ENUM"|string;
|
547 | export type EntityTypes = EntityType[];
|
548 | export type FlowExecutionEventType = "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"|string;
|
549 | export type FlowExecutionId = string;
|
550 | export interface FlowExecutionMessage {
|
551 | |
552 |
|
553 |
|
554 | messageId?: FlowExecutionMessageId;
|
555 | |
556 |
|
557 |
|
558 | eventType?: FlowExecutionEventType;
|
559 | |
560 |
|
561 |
|
562 | timestamp?: Timestamp;
|
563 | |
564 |
|
565 |
|
566 | payload?: FlowExecutionMessagePayload;
|
567 | }
|
568 | export type FlowExecutionMessageId = string;
|
569 | export type FlowExecutionMessagePayload = string;
|
570 | export type FlowExecutionMessages = FlowExecutionMessage[];
|
571 | export type FlowExecutionStatus = "RUNNING"|"ABORTED"|"SUCCEEDED"|"FAILED"|string;
|
572 | export type FlowExecutionSummaries = FlowExecutionSummary[];
|
573 | export interface FlowExecutionSummary {
|
574 | |
575 |
|
576 |
|
577 | flowExecutionId?: FlowExecutionId;
|
578 | |
579 |
|
580 |
|
581 | status?: FlowExecutionStatus;
|
582 | |
583 |
|
584 |
|
585 | systemInstanceId?: Urn;
|
586 | |
587 |
|
588 |
|
589 | flowTemplateId?: Urn;
|
590 | |
591 |
|
592 |
|
593 | createdAt?: Timestamp;
|
594 | |
595 |
|
596 |
|
597 | updatedAt?: Timestamp;
|
598 | }
|
599 | export interface FlowTemplateDescription {
|
600 | |
601 |
|
602 |
|
603 | summary?: FlowTemplateSummary;
|
604 | |
605 |
|
606 |
|
607 | definition?: DefinitionDocument;
|
608 | |
609 |
|
610 |
|
611 | validatedNamespaceVersion?: Version;
|
612 | }
|
613 | export interface FlowTemplateFilter {
|
614 | |
615 |
|
616 |
|
617 | name: FlowTemplateFilterName;
|
618 | |
619 |
|
620 |
|
621 | value: FlowTemplateFilterValues;
|
622 | }
|
623 | export type FlowTemplateFilterName = "DEVICE_MODEL_ID"|string;
|
624 | export type FlowTemplateFilterValue = string;
|
625 | export type FlowTemplateFilterValues = FlowTemplateFilterValue[];
|
626 | export type FlowTemplateFilters = FlowTemplateFilter[];
|
627 | export type FlowTemplateSummaries = FlowTemplateSummary[];
|
628 | export interface FlowTemplateSummary {
|
629 | |
630 |
|
631 |
|
632 | id?: Urn;
|
633 | |
634 |
|
635 |
|
636 | arn?: Arn;
|
637 | |
638 |
|
639 |
|
640 | revisionNumber?: Version;
|
641 | |
642 |
|
643 |
|
644 | createdAt?: Timestamp;
|
645 | }
|
646 | export interface GetEntitiesRequest {
|
647 | |
648 |
|
649 |
|
650 | ids: Urns;
|
651 | |
652 |
|
653 |
|
654 | namespaceVersion?: Version;
|
655 | }
|
656 | export interface GetEntitiesResponse {
|
657 | |
658 |
|
659 |
|
660 | descriptions?: EntityDescriptions;
|
661 | }
|
662 | export interface GetFlowTemplateRequest {
|
663 | |
664 |
|
665 |
|
666 | id: Urn;
|
667 | |
668 |
|
669 |
|
670 | revisionNumber?: Version;
|
671 | }
|
672 | export interface GetFlowTemplateResponse {
|
673 | |
674 |
|
675 |
|
676 | description?: FlowTemplateDescription;
|
677 | }
|
678 | export interface GetFlowTemplateRevisionsRequest {
|
679 | |
680 |
|
681 |
|
682 | id: Urn;
|
683 | |
684 |
|
685 |
|
686 | nextToken?: NextToken;
|
687 | |
688 |
|
689 |
|
690 | maxResults?: MaxResults;
|
691 | }
|
692 | export interface GetFlowTemplateRevisionsResponse {
|
693 | |
694 |
|
695 |
|
696 | summaries?: FlowTemplateSummaries;
|
697 | |
698 |
|
699 |
|
700 | nextToken?: NextToken;
|
701 | }
|
702 | export interface GetNamespaceDeletionStatusRequest {
|
703 | }
|
704 | export interface GetNamespaceDeletionStatusResponse {
|
705 | |
706 |
|
707 |
|
708 | namespaceArn?: Arn;
|
709 | |
710 |
|
711 |
|
712 | namespaceName?: NamespaceName;
|
713 | |
714 |
|
715 |
|
716 | status?: NamespaceDeletionStatus;
|
717 | |
718 |
|
719 |
|
720 | errorCode?: NamespaceDeletionStatusErrorCodes;
|
721 | |
722 |
|
723 |
|
724 | errorMessage?: String;
|
725 | }
|
726 | export interface GetSystemInstanceRequest {
|
727 | |
728 |
|
729 |
|
730 | id: Urn;
|
731 | }
|
732 | export interface GetSystemInstanceResponse {
|
733 | |
734 |
|
735 |
|
736 | description?: SystemInstanceDescription;
|
737 | }
|
738 | export interface GetSystemTemplateRequest {
|
739 | |
740 |
|
741 |
|
742 | id: Urn;
|
743 | |
744 |
|
745 |
|
746 | revisionNumber?: Version;
|
747 | }
|
748 | export interface GetSystemTemplateResponse {
|
749 | |
750 |
|
751 |
|
752 | description?: SystemTemplateDescription;
|
753 | }
|
754 | export interface GetSystemTemplateRevisionsRequest {
|
755 | |
756 |
|
757 |
|
758 | id: Urn;
|
759 | |
760 |
|
761 |
|
762 | nextToken?: NextToken;
|
763 | |
764 |
|
765 |
|
766 | maxResults?: MaxResults;
|
767 | }
|
768 | export interface GetSystemTemplateRevisionsResponse {
|
769 | |
770 |
|
771 |
|
772 | summaries?: SystemTemplateSummaries;
|
773 | |
774 |
|
775 |
|
776 | nextToken?: NextToken;
|
777 | }
|
778 | export interface GetUploadStatusRequest {
|
779 | |
780 |
|
781 |
|
782 | uploadId: UploadId;
|
783 | }
|
784 | export interface GetUploadStatusResponse {
|
785 | |
786 |
|
787 |
|
788 | uploadId: UploadId;
|
789 | |
790 |
|
791 |
|
792 | uploadStatus: UploadStatus;
|
793 | |
794 |
|
795 |
|
796 | namespaceArn?: Arn;
|
797 | |
798 |
|
799 |
|
800 | namespaceName?: NamespaceName;
|
801 | |
802 |
|
803 |
|
804 | namespaceVersion?: Version;
|
805 | |
806 |
|
807 |
|
808 | failureReason?: StringList;
|
809 | |
810 |
|
811 |
|
812 | createdDate: Timestamp;
|
813 | }
|
814 | export type GreengrassDeploymentId = string;
|
815 | export type GreengrassGroupId = string;
|
816 | export type GreengrassGroupVersionId = string;
|
817 | export type GroupName = string;
|
818 | export interface ListFlowExecutionMessagesRequest {
|
819 | |
820 |
|
821 |
|
822 | flowExecutionId: FlowExecutionId;
|
823 | |
824 |
|
825 |
|
826 | nextToken?: NextToken;
|
827 | |
828 |
|
829 |
|
830 | maxResults?: MaxResults;
|
831 | }
|
832 | export interface ListFlowExecutionMessagesResponse {
|
833 | |
834 |
|
835 |
|
836 | messages?: FlowExecutionMessages;
|
837 | |
838 |
|
839 |
|
840 | nextToken?: NextToken;
|
841 | }
|
842 | export interface ListTagsForResourceRequest {
|
843 | |
844 |
|
845 |
|
846 | maxResults?: MaxResults;
|
847 | |
848 |
|
849 |
|
850 | resourceArn: ResourceArn;
|
851 | |
852 |
|
853 |
|
854 | nextToken?: NextToken;
|
855 | }
|
856 | export interface ListTagsForResourceResponse {
|
857 | |
858 |
|
859 |
|
860 | tags?: TagList;
|
861 | |
862 |
|
863 |
|
864 | nextToken?: NextToken;
|
865 | }
|
866 | export type MaxResults = number;
|
867 | export interface MetricsConfiguration {
|
868 | |
869 |
|
870 |
|
871 | cloudMetricEnabled?: Enabled;
|
872 | |
873 |
|
874 |
|
875 | metricRuleRoleArn?: RoleArn;
|
876 | }
|
877 | export type NamespaceDeletionStatus = "IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string;
|
878 | export type NamespaceDeletionStatusErrorCodes = "VALIDATION_FAILED"|string;
|
879 | export type NamespaceName = string;
|
880 | export type NextToken = string;
|
881 | export type ResourceArn = string;
|
882 | export type RoleArn = string;
|
883 | export type S3BucketName = string;
|
884 | export interface SearchEntitiesRequest {
|
885 | |
886 |
|
887 |
|
888 | entityTypes: EntityTypes;
|
889 | |
890 |
|
891 |
|
892 | filters?: EntityFilters;
|
893 | |
894 |
|
895 |
|
896 | nextToken?: NextToken;
|
897 | |
898 |
|
899 |
|
900 | maxResults?: MaxResults;
|
901 | |
902 |
|
903 |
|
904 | namespaceVersion?: Version;
|
905 | }
|
906 | export interface SearchEntitiesResponse {
|
907 | |
908 |
|
909 |
|
910 | descriptions?: EntityDescriptions;
|
911 | |
912 |
|
913 |
|
914 | nextToken?: NextToken;
|
915 | }
|
916 | export interface SearchFlowExecutionsRequest {
|
917 | |
918 |
|
919 |
|
920 | systemInstanceId: Urn;
|
921 | |
922 |
|
923 |
|
924 | flowExecutionId?: FlowExecutionId;
|
925 | |
926 |
|
927 |
|
928 | startTime?: Timestamp;
|
929 | |
930 |
|
931 |
|
932 | endTime?: Timestamp;
|
933 | |
934 |
|
935 |
|
936 | nextToken?: NextToken;
|
937 | |
938 |
|
939 |
|
940 | maxResults?: MaxResults;
|
941 | }
|
942 | export interface SearchFlowExecutionsResponse {
|
943 | |
944 |
|
945 |
|
946 | summaries?: FlowExecutionSummaries;
|
947 | |
948 |
|
949 |
|
950 | nextToken?: NextToken;
|
951 | }
|
952 | export interface SearchFlowTemplatesRequest {
|
953 | |
954 |
|
955 |
|
956 | filters?: FlowTemplateFilters;
|
957 | |
958 |
|
959 |
|
960 | nextToken?: NextToken;
|
961 | |
962 |
|
963 |
|
964 | maxResults?: MaxResults;
|
965 | }
|
966 | export interface SearchFlowTemplatesResponse {
|
967 | |
968 |
|
969 |
|
970 | summaries?: FlowTemplateSummaries;
|
971 | |
972 |
|
973 |
|
974 | nextToken?: NextToken;
|
975 | }
|
976 | export interface SearchSystemInstancesRequest {
|
977 | |
978 |
|
979 |
|
980 | filters?: SystemInstanceFilters;
|
981 | |
982 |
|
983 |
|
984 | nextToken?: NextToken;
|
985 | |
986 |
|
987 |
|
988 | maxResults?: MaxResults;
|
989 | }
|
990 | export interface SearchSystemInstancesResponse {
|
991 | |
992 |
|
993 |
|
994 | summaries?: SystemInstanceSummaries;
|
995 | |
996 |
|
997 |
|
998 | nextToken?: NextToken;
|
999 | }
|
1000 | export interface SearchSystemTemplatesRequest {
|
1001 | |
1002 |
|
1003 |
|
1004 | filters?: SystemTemplateFilters;
|
1005 | |
1006 |
|
1007 |
|
1008 | nextToken?: NextToken;
|
1009 | |
1010 |
|
1011 |
|
1012 | maxResults?: MaxResults;
|
1013 | }
|
1014 | export interface SearchSystemTemplatesResponse {
|
1015 | |
1016 |
|
1017 |
|
1018 | summaries?: SystemTemplateSummaries;
|
1019 | |
1020 |
|
1021 |
|
1022 | nextToken?: NextToken;
|
1023 | }
|
1024 | export interface SearchThingsRequest {
|
1025 | |
1026 |
|
1027 |
|
1028 | entityId: Urn;
|
1029 | |
1030 |
|
1031 |
|
1032 | nextToken?: NextToken;
|
1033 | |
1034 |
|
1035 |
|
1036 | maxResults?: MaxResults;
|
1037 | |
1038 |
|
1039 |
|
1040 | namespaceVersion?: Version;
|
1041 | }
|
1042 | export interface SearchThingsResponse {
|
1043 | |
1044 |
|
1045 |
|
1046 | things?: Things;
|
1047 | |
1048 |
|
1049 |
|
1050 | nextToken?: NextToken;
|
1051 | }
|
1052 | export type String = string;
|
1053 | export type StringList = String[];
|
1054 | export type SyncWithPublicNamespace = boolean;
|
1055 | export type SystemInstanceDeploymentStatus = "NOT_DEPLOYED"|"BOOTSTRAP"|"DEPLOY_IN_PROGRESS"|"DEPLOYED_IN_TARGET"|"UNDEPLOY_IN_PROGRESS"|"FAILED"|"PENDING_DELETE"|"DELETED_IN_TARGET"|string;
|
1056 | export interface SystemInstanceDescription {
|
1057 | |
1058 |
|
1059 |
|
1060 | summary?: SystemInstanceSummary;
|
1061 | definition?: DefinitionDocument;
|
1062 | |
1063 |
|
1064 |
|
1065 | s3BucketName?: S3BucketName;
|
1066 | metricsConfiguration?: MetricsConfiguration;
|
1067 | |
1068 |
|
1069 |
|
1070 | validatedNamespaceVersion?: Version;
|
1071 | |
1072 |
|
1073 |
|
1074 | validatedDependencyRevisions?: DependencyRevisions;
|
1075 | |
1076 |
|
1077 |
|
1078 | flowActionsRoleArn?: RoleArn;
|
1079 | }
|
1080 | export interface SystemInstanceFilter {
|
1081 | |
1082 |
|
1083 |
|
1084 | name?: SystemInstanceFilterName;
|
1085 | |
1086 |
|
1087 |
|
1088 | value?: SystemInstanceFilterValues;
|
1089 | }
|
1090 | export type SystemInstanceFilterName = "SYSTEM_TEMPLATE_ID"|"STATUS"|"GREENGRASS_GROUP_NAME"|string;
|
1091 | export type SystemInstanceFilterValue = string;
|
1092 | export type SystemInstanceFilterValues = SystemInstanceFilterValue[];
|
1093 | export type SystemInstanceFilters = SystemInstanceFilter[];
|
1094 | export type SystemInstanceSummaries = SystemInstanceSummary[];
|
1095 | export interface SystemInstanceSummary {
|
1096 | |
1097 |
|
1098 |
|
1099 | id?: Urn;
|
1100 | |
1101 |
|
1102 |
|
1103 | arn?: Arn;
|
1104 | |
1105 |
|
1106 |
|
1107 | status?: SystemInstanceDeploymentStatus;
|
1108 | |
1109 |
|
1110 |
|
1111 | target?: DeploymentTarget;
|
1112 | |
1113 |
|
1114 |
|
1115 | greengrassGroupName?: GroupName;
|
1116 | |
1117 |
|
1118 |
|
1119 | createdAt?: Timestamp;
|
1120 | |
1121 |
|
1122 |
|
1123 | updatedAt?: Timestamp;
|
1124 | |
1125 |
|
1126 |
|
1127 | greengrassGroupId?: GreengrassGroupId;
|
1128 | |
1129 |
|
1130 |
|
1131 | greengrassGroupVersionId?: GreengrassGroupVersionId;
|
1132 | }
|
1133 | export interface SystemTemplateDescription {
|
1134 | |
1135 |
|
1136 |
|
1137 | summary?: SystemTemplateSummary;
|
1138 | |
1139 |
|
1140 |
|
1141 | definition?: DefinitionDocument;
|
1142 | |
1143 |
|
1144 |
|
1145 | validatedNamespaceVersion?: Version;
|
1146 | }
|
1147 | export interface SystemTemplateFilter {
|
1148 | |
1149 |
|
1150 |
|
1151 | name: SystemTemplateFilterName;
|
1152 | |
1153 |
|
1154 |
|
1155 | value: SystemTemplateFilterValues;
|
1156 | }
|
1157 | export type SystemTemplateFilterName = "FLOW_TEMPLATE_ID"|string;
|
1158 | export type SystemTemplateFilterValue = string;
|
1159 | export type SystemTemplateFilterValues = SystemTemplateFilterValue[];
|
1160 | export type SystemTemplateFilters = SystemTemplateFilter[];
|
1161 | export type SystemTemplateSummaries = SystemTemplateSummary[];
|
1162 | export interface SystemTemplateSummary {
|
1163 | |
1164 |
|
1165 |
|
1166 | id?: Urn;
|
1167 | |
1168 |
|
1169 |
|
1170 | arn?: Arn;
|
1171 | |
1172 |
|
1173 |
|
1174 | revisionNumber?: Version;
|
1175 | |
1176 |
|
1177 |
|
1178 | createdAt?: Timestamp;
|
1179 | }
|
1180 | export interface Tag {
|
1181 | |
1182 |
|
1183 |
|
1184 | key: TagKey;
|
1185 | |
1186 |
|
1187 |
|
1188 | value: TagValue;
|
1189 | }
|
1190 | export type TagKey = string;
|
1191 | export type TagKeyList = TagKey[];
|
1192 | export type TagList = Tag[];
|
1193 | export interface TagResourceRequest {
|
1194 | |
1195 |
|
1196 |
|
1197 | resourceArn: ResourceArn;
|
1198 | |
1199 |
|
1200 |
|
1201 | tags: TagList;
|
1202 | }
|
1203 | export interface TagResourceResponse {
|
1204 | }
|
1205 | export type TagValue = string;
|
1206 | export interface Thing {
|
1207 | |
1208 |
|
1209 |
|
1210 | thingArn?: ThingArn;
|
1211 | |
1212 |
|
1213 |
|
1214 | thingName?: ThingName;
|
1215 | }
|
1216 | export type ThingArn = string;
|
1217 | export type ThingName = string;
|
1218 | export type Things = Thing[];
|
1219 | export type Timestamp = Date;
|
1220 | export interface UndeploySystemInstanceRequest {
|
1221 | |
1222 |
|
1223 |
|
1224 | id?: Urn;
|
1225 | }
|
1226 | export interface UndeploySystemInstanceResponse {
|
1227 | |
1228 |
|
1229 |
|
1230 | summary?: SystemInstanceSummary;
|
1231 | }
|
1232 | export interface UntagResourceRequest {
|
1233 | |
1234 |
|
1235 |
|
1236 | resourceArn: ResourceArn;
|
1237 | |
1238 |
|
1239 |
|
1240 | tagKeys: TagKeyList;
|
1241 | }
|
1242 | export interface UntagResourceResponse {
|
1243 | }
|
1244 | export interface UpdateFlowTemplateRequest {
|
1245 | |
1246 |
|
1247 |
|
1248 | id: Urn;
|
1249 | |
1250 |
|
1251 |
|
1252 | definition: DefinitionDocument;
|
1253 | |
1254 |
|
1255 |
|
1256 | compatibleNamespaceVersion?: Version;
|
1257 | }
|
1258 | export interface UpdateFlowTemplateResponse {
|
1259 | |
1260 |
|
1261 |
|
1262 | summary?: FlowTemplateSummary;
|
1263 | }
|
1264 | export interface UpdateSystemTemplateRequest {
|
1265 | |
1266 |
|
1267 |
|
1268 | id: Urn;
|
1269 | |
1270 |
|
1271 |
|
1272 | definition: DefinitionDocument;
|
1273 | |
1274 |
|
1275 |
|
1276 | compatibleNamespaceVersion?: Version;
|
1277 | }
|
1278 | export interface UpdateSystemTemplateResponse {
|
1279 | |
1280 |
|
1281 |
|
1282 | summary?: SystemTemplateSummary;
|
1283 | }
|
1284 | export interface UploadEntityDefinitionsRequest {
|
1285 | |
1286 |
|
1287 |
|
1288 | document?: DefinitionDocument;
|
1289 | |
1290 |
|
1291 |
|
1292 | syncWithPublicNamespace?: SyncWithPublicNamespace;
|
1293 | |
1294 |
|
1295 |
|
1296 | deprecateExistingEntities?: DeprecateExistingEntities;
|
1297 | }
|
1298 | export interface UploadEntityDefinitionsResponse {
|
1299 | |
1300 |
|
1301 |
|
1302 | uploadId: UploadId;
|
1303 | }
|
1304 | export type UploadId = string;
|
1305 | export type UploadStatus = "IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string;
|
1306 | export type Urn = string;
|
1307 | export type Urns = Urn[];
|
1308 | export type Version = number;
|
1309 | |
1310 |
|
1311 |
|
1312 | export type apiVersion = "2018-09-06"|"latest"|string;
|
1313 | export interface ClientApiVersions {
|
1314 | |
1315 |
|
1316 |
|
1317 | apiVersion?: apiVersion;
|
1318 | }
|
1319 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1320 | |
1321 |
|
1322 |
|
1323 | export import Types = IoTThingsGraph;
|
1324 | }
|
1325 | export = IoTThingsGraph;
|