1{
2    "smithy": "1.0",
3    "metadata": {
4        "suppressions": [
5            {
6                "id": "HttpMethodSemantics",
7                "namespace": "*"
8            },
9            {
10                "id": "HttpResponseCodeSemantics",
11                "namespace": "*"
12            },
13            {
14                "id": "PaginatedTrait",
15                "namespace": "*"
16            },
17            {
18                "id": "HttpHeaderTrait",
19                "namespace": "*"
20            },
21            {
22                "id": "HttpUriConflict",
23                "namespace": "*"
24            },
25            {
26                "id": "Service",
27                "namespace": "*"
28            }
29        ]
30    },
31    "shapes": {
32        "com.amazonaws.iotthingsgraph#Arn": {
33            "type": "string"
34        },
35        "com.amazonaws.iotthingsgraph#AssociateEntityToThing": {
36            "type": "operation",
37            "input": {
38                "target": "com.amazonaws.iotthingsgraph#AssociateEntityToThingRequest"
39            },
40            "output": {
41                "target": "com.amazonaws.iotthingsgraph#AssociateEntityToThingResponse"
42            },
43            "errors": [
44                {
45                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
46                },
47                {
48                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
49                },
50                {
51                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
52                },
53                {
54                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
55                }
56            ],
57            "traits": {
58                "smithy.api#documentation": "<p>Associates a device with a concrete thing that is in the user's registry.</p>\n         <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>"
59            }
60        },
61        "com.amazonaws.iotthingsgraph#AssociateEntityToThingRequest": {
62            "type": "structure",
63            "members": {
64                "thingName": {
65                    "target": "com.amazonaws.iotthingsgraph#ThingName",
66                    "traits": {
67                        "smithy.api#documentation": "<p>The name of the thing to which the entity is to be associated.</p>",
68                        "smithy.api#required": {}
69                    }
70                },
71                "entityId": {
72                    "target": "com.amazonaws.iotthingsgraph#Urn",
73                    "traits": {
74                        "smithy.api#documentation": "<p>The ID of the device to be associated with the thing.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME</code>\n         </p>",
75                        "smithy.api#required": {}
76                    }
77                },
78                "namespaceVersion": {
79                    "target": "com.amazonaws.iotthingsgraph#Version",
80                    "traits": {
81                        "smithy.api#documentation": "<p>The version of the user's namespace. Defaults to the latest version of the user's namespace.</p>"
82                    }
83                }
84            }
85        },
86        "com.amazonaws.iotthingsgraph#AssociateEntityToThingResponse": {
87            "type": "structure",
88            "members": {}
89        },
90        "com.amazonaws.iotthingsgraph#CreateFlowTemplate": {
91            "type": "operation",
92            "input": {
93                "target": "com.amazonaws.iotthingsgraph#CreateFlowTemplateRequest"
94            },
95            "output": {
96                "target": "com.amazonaws.iotthingsgraph#CreateFlowTemplateResponse"
97            },
98            "errors": [
99                {
100                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
101                },
102                {
103                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
104                },
105                {
106                    "target": "com.amazonaws.iotthingsgraph#LimitExceededException"
107                },
108                {
109                    "target": "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException"
110                },
111                {
112                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
113                }
114            ],
115            "traits": {
116                "smithy.api#documentation": "<p>Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only \n         entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the \n      latest version of the user's namespace unless another namespace version is specified in the request.</p>"
117            }
118        },
119        "com.amazonaws.iotthingsgraph#CreateFlowTemplateRequest": {
120            "type": "structure",
121            "members": {
122                "definition": {
123                    "target": "com.amazonaws.iotthingsgraph#DefinitionDocument",
124                    "traits": {
125                        "smithy.api#documentation": "<p>The workflow <code>DefinitionDocument</code>.</p>",
126                        "smithy.api#required": {}
127                    }
128                },
129                "compatibleNamespaceVersion": {
130                    "target": "com.amazonaws.iotthingsgraph#Version",
131                    "traits": {
132                        "smithy.api#documentation": "<p>The namespace version in which the workflow is to be created.</p>\n         <p>If no value is specified, the latest version is used by default.</p>"
133                    }
134                }
135            }
136        },
137        "com.amazonaws.iotthingsgraph#CreateFlowTemplateResponse": {
138            "type": "structure",
139            "members": {
140                "summary": {
141                    "target": "com.amazonaws.iotthingsgraph#FlowTemplateSummary",
142                    "traits": {
143                        "smithy.api#documentation": "<p>The summary object that describes the created workflow.</p>"
144                    }
145                }
146            }
147        },
148        "com.amazonaws.iotthingsgraph#CreateSystemInstance": {
149            "type": "operation",
150            "input": {
151                "target": "com.amazonaws.iotthingsgraph#CreateSystemInstanceRequest"
152            },
153            "output": {
154                "target": "com.amazonaws.iotthingsgraph#CreateSystemInstanceResponse"
155            },
156            "errors": [
157                {
158                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
159                },
160                {
161                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
162                },
163                {
164                    "target": "com.amazonaws.iotthingsgraph#LimitExceededException"
165                },
166                {
167                    "target": "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException"
168                },
169                {
170                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
171                }
172            ],
173            "traits": {
174                "smithy.api#documentation": "<p>Creates a system instance. </p>\n         <p>This action validates the system instance, prepares the deployment-related resources. For Greengrass deployments, it updates the Greengrass group that is \n            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 \n            call <code>DeploySystemInstance</code> after running this action.</p>\n         <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 \n         to both the specified Greengrass group and S3 bucket. Otherwise, the call will fail with an authorization error.</p>\n         <p>For cloud deployments, this action requires a <code>flowActionsRoleArn</code> value. This is an IAM role \n      that has permissions to access AWS services, such as AWS Lambda and AWS IoT, that the flow uses when it executes.</p>\n         <p>If the definition document doesn't specify a version of the user's namespace, the latest version will be used by default.</p>"
175            }
176        },
177        "com.amazonaws.iotthingsgraph#CreateSystemInstanceRequest": {
178            "type": "structure",
179            "members": {
180                "tags": {
181                    "target": "com.amazonaws.iotthingsgraph#TagList",
182                    "traits": {
183                        "smithy.api#documentation": "<p>Metadata, consisting of key-value pairs, that can be used to categorize your system instances.</p>"
184                    }
185                },
186                "definition": {
187                    "target": "com.amazonaws.iotthingsgraph#DefinitionDocument",
188                    "traits": {
189                        "smithy.api#required": {}
190                    }
191                },
192                "target": {
193                    "target": "com.amazonaws.iotthingsgraph#DeploymentTarget",
194                    "traits": {
195                        "smithy.api#documentation": "<p>The target type of the deployment. Valid values are <code>GREENGRASS</code> and <code>CLOUD</code>.</p>",
196                        "smithy.api#required": {}
197                    }
198                },
199                "greengrassGroupName": {
200                    "target": "com.amazonaws.iotthingsgraph#GroupName",
201                    "traits": {
202                        "smithy.api#documentation": "<p>The name of the Greengrass group where the system instance will be deployed. This value is required if \n      the value of the <code>target</code> parameter is <code>GREENGRASS</code>.</p>"
203                    }
204                },
205                "s3BucketName": {
206                    "target": "com.amazonaws.iotthingsgraph#S3BucketName",
207                    "traits": {
208                        "smithy.api#documentation": "<p>The name of the Amazon Simple Storage Service bucket that will be used to store and deploy the system instance's resource file. This value is required if \n         the value of the <code>target</code> parameter is <code>GREENGRASS</code>.</p>"
209                    }
210                },
211                "metricsConfiguration": {
212                    "target": "com.amazonaws.iotthingsgraph#MetricsConfiguration"
213                },
214                "flowActionsRoleArn": {
215                    "target": "com.amazonaws.iotthingsgraph#RoleArn",
216                    "traits": {
217                        "smithy.api#documentation": "<p>The ARN of the IAM role that AWS IoT Things Graph will assume when it executes the flow. This role must have \n      read and write access to AWS Lambda and AWS IoT and any other AWS services that the flow uses when it executes.  This \n      value is required if the value of the <code>target</code> parameter is <code>CLOUD</code>.</p>"
218                    }
219                }
220            }
221        },
222        "com.amazonaws.iotthingsgraph#CreateSystemInstanceResponse": {
223            "type": "structure",
224            "members": {
225                "summary": {
226                    "target": "com.amazonaws.iotthingsgraph#SystemInstanceSummary",
227                    "traits": {
228                        "smithy.api#documentation": "<p>The summary object that describes the new system instance.</p>"
229                    }
230                }
231            }
232        },
233        "com.amazonaws.iotthingsgraph#CreateSystemTemplate": {
234            "type": "operation",
235            "input": {
236                "target": "com.amazonaws.iotthingsgraph#CreateSystemTemplateRequest"
237            },
238            "output": {
239                "target": "com.amazonaws.iotthingsgraph#CreateSystemTemplateResponse"
240            },
241            "errors": [
242                {
243                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
244                },
245                {
246                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
247                },
248                {
249                    "target": "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException"
250                },
251                {
252                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
253                }
254            ],
255            "traits": {
256                "smithy.api#documentation": "<p>Creates a system. The system is validated against the entities in the \n         latest version of the user's namespace unless another namespace version is specified in the request.</p>"
257            }
258        },
259        "com.amazonaws.iotthingsgraph#CreateSystemTemplateRequest": {
260            "type": "structure",
261            "members": {
262                "definition": {
263                    "target": "com.amazonaws.iotthingsgraph#DefinitionDocument",
264                    "traits": {
265                        "smithy.api#documentation": "<p>The <code>DefinitionDocument</code> used to create the system.</p>",
266                        "smithy.api#required": {}
267                    }
268                },
269                "compatibleNamespaceVersion": {
270                    "target": "com.amazonaws.iotthingsgraph#Version",
271                    "traits": {
272                        "smithy.api#documentation": "<p>The namespace version in which the system is to be created.</p>\n         <p>If no value is specified, the latest version is used by default.</p>"
273                    }
274                }
275            }
276        },
277        "com.amazonaws.iotthingsgraph#CreateSystemTemplateResponse": {
278            "type": "structure",
279            "members": {
280                "summary": {
281                    "target": "com.amazonaws.iotthingsgraph#SystemTemplateSummary",
282                    "traits": {
283                        "smithy.api#documentation": "<p>The summary object that describes the created system.</p>"
284                    }
285                }
286            }
287        },
288        "com.amazonaws.iotthingsgraph#DefinitionDocument": {
289            "type": "structure",
290            "members": {
291                "language": {
292                    "target": "com.amazonaws.iotthingsgraph#DefinitionLanguage",
293                    "traits": {
294                        "smithy.api#documentation": "<p>The language used to define the entity. <code>GRAPHQL</code> is the only valid value.</p>",
295                        "smithy.api#required": {}
296                    }
297                },
298                "text": {
299                    "target": "com.amazonaws.iotthingsgraph#DefinitionText",
300                    "traits": {
301                        "smithy.api#documentation": "<p>The GraphQL text that defines the entity.</p>",
302                        "smithy.api#required": {}
303                    }
304                }
305            },
306            "traits": {
307                "smithy.api#documentation": "<p>A document that defines an entity. </p>"
308            }
309        },
310        "com.amazonaws.iotthingsgraph#DefinitionLanguage": {
311            "type": "string",
312            "traits": {
313                "smithy.api#enum": [
314                    {
315                        "value": "GRAPHQL",
316                        "name": "GRAPHQL"
317                    }
318                ]
319            }
320        },
321        "com.amazonaws.iotthingsgraph#DefinitionText": {
322            "type": "string",
323            "traits": {
324                "smithy.api#length": {
325                    "min": 0,
326                    "max": 1048576
327                }
328            }
329        },
330        "com.amazonaws.iotthingsgraph#DeleteFlowTemplate": {
331            "type": "operation",
332            "input": {
333                "target": "com.amazonaws.iotthingsgraph#DeleteFlowTemplateRequest"
334            },
335            "output": {
336                "target": "com.amazonaws.iotthingsgraph#DeleteFlowTemplateResponse"
337            },
338            "errors": [
339                {
340                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
341                },
342                {
343                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
344                },
345                {
346                    "target": "com.amazonaws.iotthingsgraph#ResourceInUseException"
347                },
348                {
349                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
350                }
351            ],
352            "traits": {
353                "smithy.api#documentation": "<p>Deletes a workflow. Any new system or deployment that contains this workflow will fail to update or deploy. \n         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>"
354            }
355        },
356        "com.amazonaws.iotthingsgraph#DeleteFlowTemplateRequest": {
357            "type": "structure",
358            "members": {
359                "id": {
360                    "target": "com.amazonaws.iotthingsgraph#Urn",
361                    "traits": {
362                        "smithy.api#documentation": "<p>The ID of the workflow to be deleted.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME</code>\n         </p>",
363                        "smithy.api#required": {}
364                    }
365                }
366            }
367        },
368        "com.amazonaws.iotthingsgraph#DeleteFlowTemplateResponse": {
369            "type": "structure",
370            "members": {}
371        },
372        "com.amazonaws.iotthingsgraph#DeleteNamespace": {
373            "type": "operation",
374            "input": {
375                "target": "com.amazonaws.iotthingsgraph#DeleteNamespaceRequest"
376            },
377            "output": {
378                "target": "com.amazonaws.iotthingsgraph#DeleteNamespaceResponse"
379            },
380            "errors": [
381                {
382                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
383                },
384                {
385                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
386                }
387            ],
388            "traits": {
389                "smithy.api#documentation": "<p>Deletes the specified namespace. This action deletes all of the entities in the namespace. Delete the systems and flows that use entities in the namespace before performing this action.</p>"
390            }
391        },
392        "com.amazonaws.iotthingsgraph#DeleteNamespaceRequest": {
393            "type": "structure",
394            "members": {}
395        },
396        "com.amazonaws.iotthingsgraph#DeleteNamespaceResponse": {
397            "type": "structure",
398            "members": {
399                "namespaceArn": {
400                    "target": "com.amazonaws.iotthingsgraph#Arn",
401                    "traits": {
402                        "smithy.api#documentation": "<p>The ARN of the namespace to be deleted.</p>"
403                    }
404                },
405                "namespaceName": {
406                    "target": "com.amazonaws.iotthingsgraph#NamespaceName",
407                    "traits": {
408                        "smithy.api#documentation": "<p>The name of the namespace to be deleted.</p>"
409                    }
410                }
411            }
412        },
413        "com.amazonaws.iotthingsgraph#DeleteSystemInstance": {
414            "type": "operation",
415            "input": {
416                "target": "com.amazonaws.iotthingsgraph#DeleteSystemInstanceRequest"
417            },
418            "output": {
419                "target": "com.amazonaws.iotthingsgraph#DeleteSystemInstanceResponse"
420            },
421            "errors": [
422                {
423                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
424                },
425                {
426                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
427                },
428                {
429                    "target": "com.amazonaws.iotthingsgraph#ResourceInUseException"
430                },
431                {
432                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
433                }
434            ],
435            "traits": {
436                "smithy.api#documentation": "<p>Deletes a system instance. \n         Only system instances that have never been deployed, or that have been undeployed can be deleted.</p>\n         <p>Users can create a new system instance that has the same ID as a deleted system instance.</p>"
437            }
438        },
439        "com.amazonaws.iotthingsgraph#DeleteSystemInstanceRequest": {
440            "type": "structure",
441            "members": {
442                "id": {
443                    "target": "com.amazonaws.iotthingsgraph#Urn",
444                    "traits": {
445                        "smithy.api#documentation": "<p>The ID of the system instance to be deleted.</p>"
446                    }
447                }
448            }
449        },
450        "com.amazonaws.iotthingsgraph#DeleteSystemInstanceResponse": {
451            "type": "structure",
452            "members": {}
453        },
454        "com.amazonaws.iotthingsgraph#DeleteSystemTemplate": {
455            "type": "operation",
456            "input": {
457                "target": "com.amazonaws.iotthingsgraph#DeleteSystemTemplateRequest"
458            },
459            "output": {
460                "target": "com.amazonaws.iotthingsgraph#DeleteSystemTemplateResponse"
461            },
462            "errors": [
463                {
464                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
465                },
466                {
467                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
468                },
469                {
470                    "target": "com.amazonaws.iotthingsgraph#ResourceInUseException"
471                },
472                {
473                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
474                }
475            ],
476            "traits": {
477                "smithy.api#documentation": "<p>Deletes a system. New deployments can't contain the system after its deletion. \n      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>"
478            }
479        },
480        "com.amazonaws.iotthingsgraph#DeleteSystemTemplateRequest": {
481            "type": "structure",
482            "members": {
483                "id": {
484                    "target": "com.amazonaws.iotthingsgraph#Urn",
485                    "traits": {
486                        "smithy.api#documentation": "<p>The ID of the system to be deleted.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code>\n         </p>",
487                        "smithy.api#required": {}
488                    }
489                }
490            }
491        },
492        "com.amazonaws.iotthingsgraph#DeleteSystemTemplateResponse": {
493            "type": "structure",
494            "members": {}
495        },
496        "com.amazonaws.iotthingsgraph#DependencyRevision": {
497            "type": "structure",
498            "members": {
499                "id": {
500                    "target": "com.amazonaws.iotthingsgraph#Urn",
501                    "traits": {
502                        "smithy.api#documentation": "<p>The ID of the workflow or system.</p>"
503                    }
504                },
505                "revisionNumber": {
506                    "target": "com.amazonaws.iotthingsgraph#Version",
507                    "traits": {
508                        "smithy.api#documentation": "<p>The revision number of the workflow or system.</p>"
509                    }
510                }
511            },
512            "traits": {
513                "smithy.api#documentation": "<p>An object that contains the ID and revision number of a workflow or system that is part of a deployment.</p>"
514            }
515        },
516        "com.amazonaws.iotthingsgraph#DependencyRevisions": {
517            "type": "list",
518            "member": {
519                "target": "com.amazonaws.iotthingsgraph#DependencyRevision"
520            }
521        },
522        "com.amazonaws.iotthingsgraph#DeploySystemInstance": {
523            "type": "operation",
524            "input": {
525                "target": "com.amazonaws.iotthingsgraph#DeploySystemInstanceRequest"
526            },
527            "output": {
528                "target": "com.amazonaws.iotthingsgraph#DeploySystemInstanceResponse"
529            },
530            "errors": [
531                {
532                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
533                },
534                {
535                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
536                },
537                {
538                    "target": "com.amazonaws.iotthingsgraph#ResourceInUseException"
539                },
540                {
541                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
542                },
543                {
544                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
545                }
546            ],
547            "traits": {
548                "smithy.api#documentation": "<p>\n            <b>Greengrass and Cloud Deployments</b>\n         </p>\n         <p>Deploys the system instance to the target specified in <code>CreateSystemInstance</code>. </p>\n         <p>\n            <b>Greengrass Deployments</b>\n         </p>\n         <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 \n         resource file and then deploy it.</p>\n         <p>Since this action creates a Greengrass deployment on the caller's behalf, the calling identity must have write permissions \n         to the specified Greengrass group. Otherwise, the call will fail with an authorization error.</p>\n         <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>"
549            }
550        },
551        "com.amazonaws.iotthingsgraph#DeploySystemInstanceRequest": {
552            "type": "structure",
553            "members": {
554                "id": {
555                    "target": "com.amazonaws.iotthingsgraph#Urn",
556                    "traits": {
557                        "smithy.api#documentation": "<p>The ID of the system instance. This value is returned by the <code>CreateSystemInstance</code> action.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:deployment:DEPLOYMENTNAME</code>\n         </p>"
558                    }
559                }
560            }
561        },
562        "com.amazonaws.iotthingsgraph#DeploySystemInstanceResponse": {
563            "type": "structure",
564            "members": {
565                "summary": {
566                    "target": "com.amazonaws.iotthingsgraph#SystemInstanceSummary",
567                    "traits": {
568                        "smithy.api#documentation": "<p>An object that contains summary information about a system instance that was deployed. </p>",
569                        "smithy.api#required": {}
570                    }
571                },
572                "greengrassDeploymentId": {
573                    "target": "com.amazonaws.iotthingsgraph#GreengrassDeploymentId",
574                    "traits": {
575                        "smithy.api#documentation": "<p>The ID of the Greengrass deployment used to deploy the system instance.</p>"
576                    }
577                }
578            }
579        },
580        "com.amazonaws.iotthingsgraph#DeploymentTarget": {
581            "type": "string",
582            "traits": {
583                "smithy.api#enum": [
584                    {
585                        "value": "GREENGRASS",
586                        "name": "GREENGRASS"
587                    },
588                    {
589                        "value": "CLOUD",
590                        "name": "CLOUD"
591                    }
592                ]
593            }
594        },
595        "com.amazonaws.iotthingsgraph#DeprecateExistingEntities": {
596            "type": "boolean"
597        },
598        "com.amazonaws.iotthingsgraph#DeprecateFlowTemplate": {
599            "type": "operation",
600            "input": {
601                "target": "com.amazonaws.iotthingsgraph#DeprecateFlowTemplateRequest"
602            },
603            "output": {
604                "target": "com.amazonaws.iotthingsgraph#DeprecateFlowTemplateResponse"
605            },
606            "errors": [
607                {
608                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
609                },
610                {
611                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
612                },
613                {
614                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
615                },
616                {
617                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
618                }
619            ],
620            "traits": {
621                "smithy.api#documentation": "<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>"
622            }
623        },
624        "com.amazonaws.iotthingsgraph#DeprecateFlowTemplateRequest": {
625            "type": "structure",
626            "members": {
627                "id": {
628                    "target": "com.amazonaws.iotthingsgraph#Urn",
629                    "traits": {
630                        "smithy.api#documentation": "<p>The ID of the workflow to be deleted.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME</code>\n         </p>",
631                        "smithy.api#required": {}
632                    }
633                }
634            }
635        },
636        "com.amazonaws.iotthingsgraph#DeprecateFlowTemplateResponse": {
637            "type": "structure",
638            "members": {}
639        },
640        "com.amazonaws.iotthingsgraph#DeprecateSystemTemplate": {
641            "type": "operation",
642            "input": {
643                "target": "com.amazonaws.iotthingsgraph#DeprecateSystemTemplateRequest"
644            },
645            "output": {
646                "target": "com.amazonaws.iotthingsgraph#DeprecateSystemTemplateResponse"
647            },
648            "errors": [
649                {
650                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
651                },
652                {
653                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
654                },
655                {
656                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
657                },
658                {
659                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
660                }
661            ],
662            "traits": {
663                "smithy.api#documentation": "<p>Deprecates the specified system.</p>"
664            }
665        },
666        "com.amazonaws.iotthingsgraph#DeprecateSystemTemplateRequest": {
667            "type": "structure",
668            "members": {
669                "id": {
670                    "target": "com.amazonaws.iotthingsgraph#Urn",
671                    "traits": {
672                        "smithy.api#documentation": "<p>The ID of the system to delete.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code>\n         </p>",
673                        "smithy.api#required": {}
674                    }
675                }
676            }
677        },
678        "com.amazonaws.iotthingsgraph#DeprecateSystemTemplateResponse": {
679            "type": "structure",
680            "members": {}
681        },
682        "com.amazonaws.iotthingsgraph#DescribeNamespace": {
683            "type": "operation",
684            "input": {
685                "target": "com.amazonaws.iotthingsgraph#DescribeNamespaceRequest"
686            },
687            "output": {
688                "target": "com.amazonaws.iotthingsgraph#DescribeNamespaceResponse"
689            },
690            "errors": [
691                {
692                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
693                },
694                {
695                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
696                },
697                {
698                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
699                },
700                {
701                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
702                }
703            ],
704            "traits": {
705                "smithy.api#documentation": "<p>Gets the latest version of the user's namespace and the public version that it is tracking.</p>"
706            }
707        },
708        "com.amazonaws.iotthingsgraph#DescribeNamespaceRequest": {
709            "type": "structure",
710            "members": {
711                "namespaceName": {
712                    "target": "com.amazonaws.iotthingsgraph#NamespaceName",
713                    "traits": {
714                        "smithy.api#documentation": "<p>The name of the user's namespace. Set this to <code>aws</code> to get the public namespace.</p>"
715                    }
716                }
717            }
718        },
719        "com.amazonaws.iotthingsgraph#DescribeNamespaceResponse": {
720            "type": "structure",
721            "members": {
722                "namespaceArn": {
723                    "target": "com.amazonaws.iotthingsgraph#Arn",
724                    "traits": {
725                        "smithy.api#documentation": "<p>The ARN of the namespace.</p>"
726                    }
727                },
728                "namespaceName": {
729                    "target": "com.amazonaws.iotthingsgraph#NamespaceName",
730                    "traits": {
731                        "smithy.api#documentation": "<p>The name of the namespace.</p>"
732                    }
733                },
734                "trackingNamespaceName": {
735                    "target": "com.amazonaws.iotthingsgraph#NamespaceName",
736                    "traits": {
737                        "smithy.api#documentation": "<p>The name of the public namespace that the latest namespace version is tracking.</p>"
738                    }
739                },
740                "trackingNamespaceVersion": {
741                    "target": "com.amazonaws.iotthingsgraph#Version",
742                    "traits": {
743                        "smithy.api#documentation": "<p>The version of the public namespace that the latest version is tracking.</p>"
744                    }
745                },
746                "namespaceVersion": {
747                    "target": "com.amazonaws.iotthingsgraph#Version",
748                    "traits": {
749                        "smithy.api#documentation": "<p>The version of the user's namespace to describe.</p>"
750                    }
751                }
752            }
753        },
754        "com.amazonaws.iotthingsgraph#DissociateEntityFromThing": {
755            "type": "operation",
756            "input": {
757                "target": "com.amazonaws.iotthingsgraph#DissociateEntityFromThingRequest"
758            },
759            "output": {
760                "target": "com.amazonaws.iotthingsgraph#DissociateEntityFromThingResponse"
761            },
762            "errors": [
763                {
764                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
765                },
766                {
767                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
768                },
769                {
770                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
771                },
772                {
773                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
774                }
775            ],
776            "traits": {
777                "smithy.api#documentation": "<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 \n         one entity of a particular type can be associated with a thing.</p>"
778            }
779        },
780        "com.amazonaws.iotthingsgraph#DissociateEntityFromThingRequest": {
781            "type": "structure",
782            "members": {
783                "thingName": {
784                    "target": "com.amazonaws.iotthingsgraph#ThingName",
785                    "traits": {
786                        "smithy.api#documentation": "<p>The name of the thing to disassociate.</p>",
787                        "smithy.api#required": {}
788                    }
789                },
790                "entityType": {
791                    "target": "com.amazonaws.iotthingsgraph#EntityType",
792                    "traits": {
793                        "smithy.api#documentation": "<p>The entity type from which to disassociate the thing.</p>",
794                        "smithy.api#required": {}
795                    }
796                }
797            }
798        },
799        "com.amazonaws.iotthingsgraph#DissociateEntityFromThingResponse": {
800            "type": "structure",
801            "members": {}
802        },
803        "com.amazonaws.iotthingsgraph#Enabled": {
804            "type": "boolean"
805        },
806        "com.amazonaws.iotthingsgraph#EntityDescription": {
807            "type": "structure",
808            "members": {
809                "id": {
810                    "target": "com.amazonaws.iotthingsgraph#Urn",
811                    "traits": {
812                        "smithy.api#documentation": "<p>The entity ID.</p>"
813                    }
814                },
815                "arn": {
816                    "target": "com.amazonaws.iotthingsgraph#Arn",
817                    "traits": {
818                        "smithy.api#documentation": "<p>The entity ARN.</p>"
819                    }
820                },
821                "type": {
822                    "target": "com.amazonaws.iotthingsgraph#EntityType",
823                    "traits": {
824                        "smithy.api#documentation": "<p>The entity type.</p>"
825                    }
826                },
827                "createdAt": {
828                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
829                    "traits": {
830                        "smithy.api#documentation": "<p>The time at which the entity was created.</p>"
831                    }
832                },
833                "definition": {
834                    "target": "com.amazonaws.iotthingsgraph#DefinitionDocument",
835                    "traits": {
836                        "smithy.api#documentation": "<p>The definition document of the entity.</p>"
837                    }
838                }
839            },
840            "traits": {
841                "smithy.api#documentation": "<p>Describes the properties of an entity.</p>"
842            }
843        },
844        "com.amazonaws.iotthingsgraph#EntityDescriptions": {
845            "type": "list",
846            "member": {
847                "target": "com.amazonaws.iotthingsgraph#EntityDescription"
848            }
849        },
850        "com.amazonaws.iotthingsgraph#EntityFilter": {
851            "type": "structure",
852            "members": {
853                "name": {
854                    "target": "com.amazonaws.iotthingsgraph#EntityFilterName",
855                    "traits": {
856                        "smithy.api#documentation": "<p>The name of the entity search filter field. <code>REFERENCED_ENTITY_ID</code> filters on entities that are used by the entity in the result set. For example, \n         you can filter on the ID of a property that is used in a state.</p>"
857                    }
858                },
859                "value": {
860                    "target": "com.amazonaws.iotthingsgraph#EntityFilterValues",
861                    "traits": {
862                        "smithy.api#documentation": "<p>An array of string values for the search filter field. Multiple values function as AND criteria in the search.</p>"
863                    }
864                }
865            },
866            "traits": {
867                "smithy.api#documentation": "<p>An object that filters an entity search. Multiple filters function as OR criteria in the search. For example a search that includes \n      a <code>NAMESPACE</code> and a <code>REFERENCED_ENTITY_ID</code> filter searches for entities in the specified namespace that use the entity specified by \n      the value of <code>REFERENCED_ENTITY_ID</code>.</p>"
868            }
869        },
870        "com.amazonaws.iotthingsgraph#EntityFilterName": {
871            "type": "string",
872            "traits": {
873                "smithy.api#enum": [
874                    {
875                        "value": "NAME",
876                        "name": "NAME"
877                    },
878                    {
879                        "value": "NAMESPACE",
880                        "name": "NAMESPACE"
881                    },
882                    {
883                        "value": "SEMANTIC_TYPE_PATH",
884                        "name": "SEMANTIC_TYPE_PATH"
885                    },
886                    {
887                        "value": "REFERENCED_ENTITY_ID",
888                        "name": "REFERENCED_ENTITY_ID"
889                    }
890                ]
891            }
892        },
893        "com.amazonaws.iotthingsgraph#EntityFilterValue": {
894            "type": "string"
895        },
896        "com.amazonaws.iotthingsgraph#EntityFilterValues": {
897            "type": "list",
898            "member": {
899                "target": "com.amazonaws.iotthingsgraph#EntityFilterValue"
900            }
901        },
902        "com.amazonaws.iotthingsgraph#EntityFilters": {
903            "type": "list",
904            "member": {
905                "target": "com.amazonaws.iotthingsgraph#EntityFilter"
906            }
907        },
908        "com.amazonaws.iotthingsgraph#EntityType": {
909            "type": "string",
910            "traits": {
911                "smithy.api#enum": [
912                    {
913                        "value": "DEVICE",
914                        "name": "DEVICE"
915                    },
916                    {
917                        "value": "SERVICE",
918                        "name": "SERVICE"
919                    },
920                    {
921                        "value": "DEVICE_MODEL",
922                        "name": "DEVICE_MODEL"
923                    },
924                    {
925                        "value": "CAPABILITY",
926                        "name": "CAPABILITY"
927                    },
928                    {
929                        "value": "STATE",
930                        "name": "STATE"
931                    },
932                    {
933                        "value": "ACTION",
934                        "name": "ACTION"
935                    },
936                    {
937                        "value": "EVENT",
938                        "name": "EVENT"
939                    },
940                    {
941                        "value": "PROPERTY",
942                        "name": "PROPERTY"
943                    },
944                    {
945                        "value": "MAPPING",
946                        "name": "MAPPING"
947                    },
948                    {
949                        "value": "ENUM",
950                        "name": "ENUM"
951                    }
952                ]
953            }
954        },
955        "com.amazonaws.iotthingsgraph#EntityTypes": {
956            "type": "list",
957            "member": {
958                "target": "com.amazonaws.iotthingsgraph#EntityType"
959            }
960        },
961        "com.amazonaws.iotthingsgraph#ErrorMessage": {
962            "type": "string",
963            "traits": {
964                "smithy.api#length": {
965                    "min": 0,
966                    "max": 2048
967                }
968            }
969        },
970        "com.amazonaws.iotthingsgraph#FlowExecutionEventType": {
971            "type": "string",
972            "traits": {
973                "smithy.api#enum": [
974                    {
975                        "value": "EXECUTION_STARTED",
976                        "name": "EXECUTION_STARTED"
977                    },
978                    {
979                        "value": "EXECUTION_FAILED",
980                        "name": "EXECUTION_FAILED"
981                    },
982                    {
983                        "value": "EXECUTION_ABORTED",
984                        "name": "EXECUTION_ABORTED"
985                    },
986                    {
987                        "value": "EXECUTION_SUCCEEDED",
988                        "name": "EXECUTION_SUCCEEDED"
989                    },
990                    {
991                        "value": "STEP_STARTED",
992                        "name": "STEP_STARTED"
993                    },
994                    {
995                        "value": "STEP_FAILED",
996                        "name": "STEP_FAILED"
997                    },
998                    {
999                        "value": "STEP_SUCCEEDED",
1000                        "name": "STEP_SUCCEEDED"
1001                    },
1002                    {
1003                        "value": "ACTIVITY_SCHEDULED",
1004                        "name": "ACTIVITY_SCHEDULED"
1005                    },
1006                    {
1007                        "value": "ACTIVITY_STARTED",
1008                        "name": "ACTIVITY_STARTED"
1009                    },
1010                    {
1011                        "value": "ACTIVITY_FAILED",
1012                        "name": "ACTIVITY_FAILED"
1013                    },
1014                    {
1015                        "value": "ACTIVITY_SUCCEEDED",
1016                        "name": "ACTIVITY_SUCCEEDED"
1017                    },
1018                    {
1019                        "value": "START_FLOW_EXECUTION_TASK",
1020                        "name": "START_FLOW_EXECUTION_TASK"
1021                    },
1022                    {
1023                        "value": "SCHEDULE_NEXT_READY_STEPS_TASK",
1024                        "name": "SCHEDULE_NEXT_READY_STEPS_TASK"
1025                    },
1026                    {
1027                        "value": "THING_ACTION_TASK",
1028                        "name": "THING_ACTION_TASK"
1029                    },
1030                    {
1031                        "value": "THING_ACTION_TASK_FAILED",
1032                        "name": "THING_ACTION_TASK_FAILED"
1033                    },
1034                    {
1035                        "value": "THING_ACTION_TASK_SUCCEEDED",
1036                        "name": "THING_ACTION_TASK_SUCCEEDED"
1037                    },
1038                    {
1039                        "value": "ACKNOWLEDGE_TASK_MESSAGE",
1040                        "name": "ACKNOWLEDGE_TASK_MESSAGE"
1041                    }
1042                ]
1043            }
1044        },
1045        "com.amazonaws.iotthingsgraph#FlowExecutionId": {
1046            "type": "string"
1047        },
1048        "com.amazonaws.iotthingsgraph#FlowExecutionMessage": {
1049            "type": "structure",
1050            "members": {
1051                "messageId": {
1052                    "target": "com.amazonaws.iotthingsgraph#FlowExecutionMessageId",
1053                    "traits": {
1054                        "smithy.api#documentation": "<p>The unique identifier of the message.</p>"
1055                    }
1056                },
1057                "eventType": {
1058                    "target": "com.amazonaws.iotthingsgraph#FlowExecutionEventType",
1059                    "traits": {
1060                        "smithy.api#documentation": "<p>The type of flow event .</p>"
1061                    }
1062                },
1063                "timestamp": {
1064                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
1065                    "traits": {
1066                        "smithy.api#documentation": "<p>The date and time when the message was last updated.</p>"
1067                    }
1068                },
1069                "payload": {
1070                    "target": "com.amazonaws.iotthingsgraph#FlowExecutionMessagePayload",
1071                    "traits": {
1072                        "smithy.api#documentation": "<p>A string containing information about the flow event.</p>"
1073                    }
1074                }
1075            },
1076            "traits": {
1077                "smithy.api#documentation": "<p>An object that contains information about a flow event.</p>"
1078            }
1079        },
1080        "com.amazonaws.iotthingsgraph#FlowExecutionMessageId": {
1081            "type": "string"
1082        },
1083        "com.amazonaws.iotthingsgraph#FlowExecutionMessagePayload": {
1084            "type": "string"
1085        },
1086        "com.amazonaws.iotthingsgraph#FlowExecutionMessages": {
1087            "type": "list",
1088            "member": {
1089                "target": "com.amazonaws.iotthingsgraph#FlowExecutionMessage"
1090            }
1091        },
1092        "com.amazonaws.iotthingsgraph#FlowExecutionStatus": {
1093            "type": "string",
1094            "traits": {
1095                "smithy.api#enum": [
1096                    {
1097                        "value": "RUNNING",
1098                        "name": "RUNNING"
1099                    },
1100                    {
1101                        "value": "ABORTED",
1102                        "name": "ABORTED"
1103                    },
1104                    {
1105                        "value": "SUCCEEDED",
1106                        "name": "SUCCEEDED"
1107                    },
1108                    {
1109                        "value": "FAILED",
1110                        "name": "FAILED"
1111                    }
1112                ]
1113            }
1114        },
1115        "com.amazonaws.iotthingsgraph#FlowExecutionSummaries": {
1116            "type": "list",
1117            "member": {
1118                "target": "com.amazonaws.iotthingsgraph#FlowExecutionSummary"
1119            }
1120        },
1121        "com.amazonaws.iotthingsgraph#FlowExecutionSummary": {
1122            "type": "structure",
1123            "members": {
1124                "flowExecutionId": {
1125                    "target": "com.amazonaws.iotthingsgraph#FlowExecutionId",
1126                    "traits": {
1127                        "smithy.api#documentation": "<p>The ID of the flow execution.</p>"
1128                    }
1129                },
1130                "status": {
1131                    "target": "com.amazonaws.iotthingsgraph#FlowExecutionStatus",
1132                    "traits": {
1133                        "smithy.api#documentation": "<p>The current status of the flow execution.</p>"
1134                    }
1135                },
1136                "systemInstanceId": {
1137                    "target": "com.amazonaws.iotthingsgraph#Urn",
1138                    "traits": {
1139                        "smithy.api#documentation": "<p>The ID of the system instance that contains the flow.</p>"
1140                    }
1141                },
1142                "flowTemplateId": {
1143                    "target": "com.amazonaws.iotthingsgraph#Urn",
1144                    "traits": {
1145                        "smithy.api#documentation": "<p>The ID of the flow.</p>"
1146                    }
1147                },
1148                "createdAt": {
1149                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
1150                    "traits": {
1151                        "smithy.api#documentation": "<p>The date and time when the flow execution summary was created.</p>"
1152                    }
1153                },
1154                "updatedAt": {
1155                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
1156                    "traits": {
1157                        "smithy.api#documentation": "<p>The date and time when the flow execution summary was last updated.</p>"
1158                    }
1159                }
1160            },
1161            "traits": {
1162                "smithy.api#documentation": "<p>An object that contains summary information about a flow execution.</p>"
1163            }
1164        },
1165        "com.amazonaws.iotthingsgraph#FlowTemplateDescription": {
1166            "type": "structure",
1167            "members": {
1168                "summary": {
1169                    "target": "com.amazonaws.iotthingsgraph#FlowTemplateSummary",
1170                    "traits": {
1171                        "smithy.api#documentation": "<p>An object that contains summary information about a workflow.</p>"
1172                    }
1173                },
1174                "definition": {
1175                    "target": "com.amazonaws.iotthingsgraph#DefinitionDocument",
1176                    "traits": {
1177                        "smithy.api#documentation": "<p>A workflow's definition document.</p>"
1178                    }
1179                },
1180                "validatedNamespaceVersion": {
1181                    "target": "com.amazonaws.iotthingsgraph#Version",
1182                    "traits": {
1183                        "smithy.api#documentation": "<p>The version of the user's namespace against which the workflow was validated. Use this value in your system instance.</p>"
1184                    }
1185                }
1186            },
1187            "traits": {
1188                "smithy.api#documentation": "<p>An object that contains a workflow's definition and summary information.</p>"
1189            }
1190        },
1191        "com.amazonaws.iotthingsgraph#FlowTemplateFilter": {
1192            "type": "structure",
1193            "members": {
1194                "name": {
1195                    "target": "com.amazonaws.iotthingsgraph#FlowTemplateFilterName",
1196                    "traits": {
1197                        "smithy.api#documentation": "<p>The name of the search filter field.</p>",
1198                        "smithy.api#required": {}
1199                    }
1200                },
1201                "value": {
1202                    "target": "com.amazonaws.iotthingsgraph#FlowTemplateFilterValues",
1203                    "traits": {
1204                        "smithy.api#documentation": "<p>An array of string values for the search filter field. Multiple values function as AND criteria in the search.</p>",
1205                        "smithy.api#required": {}
1206                    }
1207                }
1208            },
1209            "traits": {
1210                "smithy.api#documentation": "<p>An object that filters a workflow search.</p>"
1211            }
1212        },
1213        "com.amazonaws.iotthingsgraph#FlowTemplateFilterName": {
1214            "type": "string",
1215            "traits": {
1216                "smithy.api#enum": [
1217                    {
1218                        "value": "DEVICE_MODEL_ID",
1219                        "name": "DEVICE_MODEL_ID"
1220                    }
1221                ]
1222            }
1223        },
1224        "com.amazonaws.iotthingsgraph#FlowTemplateFilterValue": {
1225            "type": "string",
1226            "traits": {
1227                "smithy.api#pattern": "^urn:tdm:(([a-z]{2}-(gov-)?[a-z]{4,9}-[0-9]{1,3}/[0-9]+/)*[\\p{Alnum}_]+(/[\\p{Alnum}_]+)*):([\\p{Alpha}]*):([\\p{Alnum}_]+(/[\\p{Alnum}_]+)*)$"
1228            }
1229        },
1230        "com.amazonaws.iotthingsgraph#FlowTemplateFilterValues": {
1231            "type": "list",
1232            "member": {
1233                "target": "com.amazonaws.iotthingsgraph#FlowTemplateFilterValue"
1234            }
1235        },
1236        "com.amazonaws.iotthingsgraph#FlowTemplateFilters": {
1237            "type": "list",
1238            "member": {
1239                "target": "com.amazonaws.iotthingsgraph#FlowTemplateFilter"
1240            }
1241        },
1242        "com.amazonaws.iotthingsgraph#FlowTemplateSummaries": {
1243            "type": "list",
1244            "member": {
1245                "target": "com.amazonaws.iotthingsgraph#FlowTemplateSummary"
1246            }
1247        },
1248        "com.amazonaws.iotthingsgraph#FlowTemplateSummary": {
1249            "type": "structure",
1250            "members": {
1251                "id": {
1252                    "target": "com.amazonaws.iotthingsgraph#Urn",
1253                    "traits": {
1254                        "smithy.api#documentation": "<p>The ID of the workflow.</p>"
1255                    }
1256                },
1257                "arn": {
1258                    "target": "com.amazonaws.iotthingsgraph#Arn",
1259                    "traits": {
1260                        "smithy.api#documentation": "<p>The ARN of the workflow.</p>"
1261                    }
1262                },
1263                "revisionNumber": {
1264                    "target": "com.amazonaws.iotthingsgraph#Version",
1265                    "traits": {
1266                        "smithy.api#documentation": "<p>The revision number of the workflow.</p>"
1267                    }
1268                },
1269                "createdAt": {
1270                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
1271                    "traits": {
1272                        "smithy.api#documentation": "<p>The date when the workflow was created.</p>"
1273                    }
1274                }
1275            },
1276            "traits": {
1277                "smithy.api#documentation": "<p>An object that contains summary information about a workflow.</p>"
1278            }
1279        },
1280        "com.amazonaws.iotthingsgraph#GetEntities": {
1281            "type": "operation",
1282            "input": {
1283                "target": "com.amazonaws.iotthingsgraph#GetEntitiesRequest"
1284            },
1285            "output": {
1286                "target": "com.amazonaws.iotthingsgraph#GetEntitiesResponse"
1287            },
1288            "errors": [
1289                {
1290                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
1291                },
1292                {
1293                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
1294                },
1295                {
1296                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
1297                },
1298                {
1299                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
1300                }
1301            ],
1302            "traits": {
1303                "smithy.api#documentation": "<p>Gets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the \n      following TDM entities.</p>\n         <ul>\n            <li>\n               <p>Properties</p>\n            </li>\n            <li>\n               <p>States</p>\n            </li>\n            <li>\n               <p>Events</p>\n            </li>\n            <li>\n               <p>Actions</p>\n            </li>\n            <li>\n               <p>Capabilities</p>\n            </li>\n            <li>\n               <p>Mappings</p>\n            </li>\n            <li>\n               <p>Devices</p>\n            </li>\n            <li>\n               <p>Device Models</p>\n            </li>\n            <li>\n               <p>Services</p>\n            </li>\n         </ul>\n         <p>This action doesn't return definitions for systems, flows, and deployments.</p>"
1304            }
1305        },
1306        "com.amazonaws.iotthingsgraph#GetEntitiesRequest": {
1307            "type": "structure",
1308            "members": {
1309                "ids": {
1310                    "target": "com.amazonaws.iotthingsgraph#Urns",
1311                    "traits": {
1312                        "smithy.api#documentation": "<p>An array of entity IDs.</p>\n         <p>The IDs should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME</code>\n         </p>",
1313                        "smithy.api#required": {}
1314                    }
1315                },
1316                "namespaceVersion": {
1317                    "target": "com.amazonaws.iotthingsgraph#Version",
1318                    "traits": {
1319                        "smithy.api#documentation": "<p>The version of the user's namespace. Defaults to the latest version of the user's namespace.</p>"
1320                    }
1321                }
1322            }
1323        },
1324        "com.amazonaws.iotthingsgraph#GetEntitiesResponse": {
1325            "type": "structure",
1326            "members": {
1327                "descriptions": {
1328                    "target": "com.amazonaws.iotthingsgraph#EntityDescriptions",
1329                    "traits": {
1330                        "smithy.api#documentation": "<p>An array of descriptions for the specified entities.</p>"
1331                    }
1332                }
1333            }
1334        },
1335        "com.amazonaws.iotthingsgraph#GetFlowTemplate": {
1336            "type": "operation",
1337            "input": {
1338                "target": "com.amazonaws.iotthingsgraph#GetFlowTemplateRequest"
1339            },
1340            "output": {
1341                "target": "com.amazonaws.iotthingsgraph#GetFlowTemplateResponse"
1342            },
1343            "errors": [
1344                {
1345                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
1346                },
1347                {
1348                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
1349                },
1350                {
1351                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
1352                },
1353                {
1354                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
1355                }
1356            ],
1357            "traits": {
1358                "smithy.api#documentation": "<p>Gets the latest version of the <code>DefinitionDocument</code> and <code>FlowTemplateSummary</code> for the specified workflow.</p>"
1359            }
1360        },
1361        "com.amazonaws.iotthingsgraph#GetFlowTemplateRequest": {
1362            "type": "structure",
1363            "members": {
1364                "id": {
1365                    "target": "com.amazonaws.iotthingsgraph#Urn",
1366                    "traits": {
1367                        "smithy.api#documentation": "<p>The ID of the workflow.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME</code>\n         </p>",
1368                        "smithy.api#required": {}
1369                    }
1370                },
1371                "revisionNumber": {
1372                    "target": "com.amazonaws.iotthingsgraph#Version",
1373                    "traits": {
1374                        "smithy.api#documentation": "<p>The number of the workflow revision to retrieve.</p>"
1375                    }
1376                }
1377            }
1378        },
1379        "com.amazonaws.iotthingsgraph#GetFlowTemplateResponse": {
1380            "type": "structure",
1381            "members": {
1382                "description": {
1383                    "target": "com.amazonaws.iotthingsgraph#FlowTemplateDescription",
1384                    "traits": {
1385                        "smithy.api#documentation": "<p>The object that describes the specified workflow.</p>"
1386                    }
1387                }
1388            }
1389        },
1390        "com.amazonaws.iotthingsgraph#GetFlowTemplateRevisions": {
1391            "type": "operation",
1392            "input": {
1393                "target": "com.amazonaws.iotthingsgraph#GetFlowTemplateRevisionsRequest"
1394            },
1395            "output": {
1396                "target": "com.amazonaws.iotthingsgraph#GetFlowTemplateRevisionsResponse"
1397            },
1398            "errors": [
1399                {
1400                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
1401                },
1402                {
1403                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
1404                },
1405                {
1406                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
1407                },
1408                {
1409                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
1410                }
1411            ],
1412            "traits": {
1413                "smithy.api#documentation": "<p>Gets revisions of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated, \n      this action will return revisions that occurred before the deprecation. This action won't work for workflows that have been deleted.</p>",
1414                "smithy.api#paginated": {
1415                    "inputToken": "nextToken",
1416                    "outputToken": "nextToken",
1417                    "items": "summaries",
1418                    "pageSize": "maxResults"
1419                }
1420            }
1421        },
1422        "com.amazonaws.iotthingsgraph#GetFlowTemplateRevisionsRequest": {
1423            "type": "structure",
1424            "members": {
1425                "id": {
1426                    "target": "com.amazonaws.iotthingsgraph#Urn",
1427                    "traits": {
1428                        "smithy.api#documentation": "<p>The ID of the workflow.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME</code>\n         </p>",
1429                        "smithy.api#required": {}
1430                    }
1431                },
1432                "nextToken": {
1433                    "target": "com.amazonaws.iotthingsgraph#NextToken",
1434                    "traits": {
1435                        "smithy.api#documentation": "<p>The string that specifies the next page of results. Use this when you're paginating results.</p>"
1436                    }
1437                },
1438                "maxResults": {
1439                    "target": "com.amazonaws.iotthingsgraph#MaxResults",
1440                    "traits": {
1441                        "smithy.api#documentation": "<p>The maximum number of results to return in the response.</p>"
1442                    }
1443                }
1444            }
1445        },
1446        "com.amazonaws.iotthingsgraph#GetFlowTemplateRevisionsResponse": {
1447            "type": "structure",
1448            "members": {
1449                "summaries": {
1450                    "target": "com.amazonaws.iotthingsgraph#FlowTemplateSummaries",
1451                    "traits": {
1452                        "smithy.api#documentation": "<p>An array of objects that provide summary data about each revision.</p>"
1453                    }
1454                },
1455                "nextToken": {
1456                    "target": "com.amazonaws.iotthingsgraph#NextToken",
1457                    "traits": {
1458                        "smithy.api#documentation": "<p>The string to specify as <code>nextToken</code> when you request the next page of results.</p>"
1459                    }
1460                }
1461            }
1462        },
1463        "com.amazonaws.iotthingsgraph#GetNamespaceDeletionStatus": {
1464            "type": "operation",
1465            "input": {
1466                "target": "com.amazonaws.iotthingsgraph#GetNamespaceDeletionStatusRequest"
1467            },
1468            "output": {
1469                "target": "com.amazonaws.iotthingsgraph#GetNamespaceDeletionStatusResponse"
1470            },
1471            "errors": [
1472                {
1473                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
1474                },
1475                {
1476                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
1477                },
1478                {
1479                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
1480                }
1481            ],
1482            "traits": {
1483                "smithy.api#documentation": "<p>Gets the status of a namespace deletion task.</p>"
1484            }
1485        },
1486        "com.amazonaws.iotthingsgraph#GetNamespaceDeletionStatusRequest": {
1487            "type": "structure",
1488            "members": {}
1489        },
1490        "com.amazonaws.iotthingsgraph#GetNamespaceDeletionStatusResponse": {
1491            "type": "structure",
1492            "members": {
1493                "namespaceArn": {
1494                    "target": "com.amazonaws.iotthingsgraph#Arn",
1495                    "traits": {
1496                        "smithy.api#documentation": "<p>The ARN of the namespace that is being deleted.</p>"
1497                    }
1498                },
1499                "namespaceName": {
1500                    "target": "com.amazonaws.iotthingsgraph#NamespaceName",
1501                    "traits": {
1502                        "smithy.api#documentation": "<p>The name of the namespace that is being deleted.</p>"
1503                    }
1504                },
1505                "status": {
1506                    "target": "com.amazonaws.iotthingsgraph#NamespaceDeletionStatus",
1507                    "traits": {
1508                        "smithy.api#documentation": "<p>The status of the deletion request.</p>"
1509                    }
1510                },
1511                "errorCode": {
1512                    "target": "com.amazonaws.iotthingsgraph#NamespaceDeletionStatusErrorCodes",
1513                    "traits": {
1514                        "smithy.api#documentation": "<p>An error code returned by the namespace deletion task.</p>"
1515                    }
1516                },
1517                "errorMessage": {
1518                    "target": "com.amazonaws.iotthingsgraph#String",
1519                    "traits": {
1520                        "smithy.api#documentation": "<p>An error code returned by the namespace deletion task.</p>"
1521                    }
1522                }
1523            }
1524        },
1525        "com.amazonaws.iotthingsgraph#GetSystemInstance": {
1526            "type": "operation",
1527            "input": {
1528                "target": "com.amazonaws.iotthingsgraph#GetSystemInstanceRequest"
1529            },
1530            "output": {
1531                "target": "com.amazonaws.iotthingsgraph#GetSystemInstanceResponse"
1532            },
1533            "errors": [
1534                {
1535                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
1536                },
1537                {
1538                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
1539                },
1540                {
1541                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
1542                },
1543                {
1544                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
1545                }
1546            ],
1547            "traits": {
1548                "smithy.api#documentation": "<p>Gets a system instance.</p>"
1549            }
1550        },
1551        "com.amazonaws.iotthingsgraph#GetSystemInstanceRequest": {
1552            "type": "structure",
1553            "members": {
1554                "id": {
1555                    "target": "com.amazonaws.iotthingsgraph#Urn",
1556                    "traits": {
1557                        "smithy.api#documentation": "<p>The ID of the system deployment instance. This value is returned by <code>CreateSystemInstance</code>.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:deployment:DEPLOYMENTNAME</code>\n         </p>",
1558                        "smithy.api#required": {}
1559                    }
1560                }
1561            }
1562        },
1563        "com.amazonaws.iotthingsgraph#GetSystemInstanceResponse": {
1564            "type": "structure",
1565            "members": {
1566                "description": {
1567                    "target": "com.amazonaws.iotthingsgraph#SystemInstanceDescription",
1568                    "traits": {
1569                        "smithy.api#documentation": "<p>An object that describes the system instance.</p>"
1570                    }
1571                }
1572            }
1573        },
1574        "com.amazonaws.iotthingsgraph#GetSystemTemplate": {
1575            "type": "operation",
1576            "input": {
1577                "target": "com.amazonaws.iotthingsgraph#GetSystemTemplateRequest"
1578            },
1579            "output": {
1580                "target": "com.amazonaws.iotthingsgraph#GetSystemTemplateResponse"
1581            },
1582            "errors": [
1583                {
1584                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
1585                },
1586                {
1587                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
1588                },
1589                {
1590                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
1591                },
1592                {
1593                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
1594                }
1595            ],
1596            "traits": {
1597                "smithy.api#documentation": "<p>Gets a system.</p>"
1598            }
1599        },
1600        "com.amazonaws.iotthingsgraph#GetSystemTemplateRequest": {
1601            "type": "structure",
1602            "members": {
1603                "id": {
1604                    "target": "com.amazonaws.iotthingsgraph#Urn",
1605                    "traits": {
1606                        "smithy.api#documentation": "<p>The ID of the system to get. This ID must be in the user's namespace.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code>\n         </p>",
1607                        "smithy.api#required": {}
1608                    }
1609                },
1610                "revisionNumber": {
1611                    "target": "com.amazonaws.iotthingsgraph#Version",
1612                    "traits": {
1613                        "smithy.api#documentation": "<p>The number that specifies the revision of the system to get.</p>"
1614                    }
1615                }
1616            }
1617        },
1618        "com.amazonaws.iotthingsgraph#GetSystemTemplateResponse": {
1619            "type": "structure",
1620            "members": {
1621                "description": {
1622                    "target": "com.amazonaws.iotthingsgraph#SystemTemplateDescription",
1623                    "traits": {
1624                        "smithy.api#documentation": "<p>An object that contains summary data about the system.</p>"
1625                    }
1626                }
1627            }
1628        },
1629        "com.amazonaws.iotthingsgraph#GetSystemTemplateRevisions": {
1630            "type": "operation",
1631            "input": {
1632                "target": "com.amazonaws.iotthingsgraph#GetSystemTemplateRevisionsRequest"
1633            },
1634            "output": {
1635                "target": "com.amazonaws.iotthingsgraph#GetSystemTemplateRevisionsResponse"
1636            },
1637            "errors": [
1638                {
1639                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
1640                },
1641                {
1642                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
1643                },
1644                {
1645                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
1646                },
1647                {
1648                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
1649                }
1650            ],
1651            "traits": {
1652                "smithy.api#documentation": "<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 \n      the revisions that occurred before its deprecation. This action won't work with systems that have been deleted.</p>",
1653                "smithy.api#paginated": {
1654                    "inputToken": "nextToken",
1655                    "outputToken": "nextToken",
1656                    "items": "summaries",
1657                    "pageSize": "maxResults"
1658                }
1659            }
1660        },
1661        "com.amazonaws.iotthingsgraph#GetSystemTemplateRevisionsRequest": {
1662            "type": "structure",
1663            "members": {
1664                "id": {
1665                    "target": "com.amazonaws.iotthingsgraph#Urn",
1666                    "traits": {
1667                        "smithy.api#documentation": "<p>The ID of the system template.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code>\n         </p>",
1668                        "smithy.api#required": {}
1669                    }
1670                },
1671                "nextToken": {
1672                    "target": "com.amazonaws.iotthingsgraph#NextToken",
1673                    "traits": {
1674                        "smithy.api#documentation": "<p>The string that specifies the next page of results. Use this when you're paginating results.</p>"
1675                    }
1676                },
1677                "maxResults": {
1678                    "target": "com.amazonaws.iotthingsgraph#MaxResults",
1679                    "traits": {
1680                        "smithy.api#documentation": "<p>The maximum number of results to return in the response.</p>"
1681                    }
1682                }
1683            }
1684        },
1685        "com.amazonaws.iotthingsgraph#GetSystemTemplateRevisionsResponse": {
1686            "type": "structure",
1687            "members": {
1688                "summaries": {
1689                    "target": "com.amazonaws.iotthingsgraph#SystemTemplateSummaries",
1690                    "traits": {
1691                        "smithy.api#documentation": "<p>An array of objects that contain summary data about the system template revisions.</p>"
1692                    }
1693                },
1694                "nextToken": {
1695                    "target": "com.amazonaws.iotthingsgraph#NextToken",
1696                    "traits": {
1697                        "smithy.api#documentation": "<p>The string to specify as <code>nextToken</code> when you request the next page of results. </p>"
1698                    }
1699                }
1700            }
1701        },
1702        "com.amazonaws.iotthingsgraph#GetUploadStatus": {
1703            "type": "operation",
1704            "input": {
1705                "target": "com.amazonaws.iotthingsgraph#GetUploadStatusRequest"
1706            },
1707            "output": {
1708                "target": "com.amazonaws.iotthingsgraph#GetUploadStatusResponse"
1709            },
1710            "errors": [
1711                {
1712                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
1713                },
1714                {
1715                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
1716                },
1717                {
1718                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
1719                },
1720                {
1721                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
1722                }
1723            ],
1724            "traits": {
1725                "smithy.api#documentation": "<p>Gets the status of the specified upload.</p>"
1726            }
1727        },
1728        "com.amazonaws.iotthingsgraph#GetUploadStatusRequest": {
1729            "type": "structure",
1730            "members": {
1731                "uploadId": {
1732                    "target": "com.amazonaws.iotthingsgraph#UploadId",
1733                    "traits": {
1734                        "smithy.api#documentation": "<p>The ID of the upload. This value is returned by the <code>UploadEntityDefinitions</code> action.</p>",
1735                        "smithy.api#required": {}
1736                    }
1737                }
1738            }
1739        },
1740        "com.amazonaws.iotthingsgraph#GetUploadStatusResponse": {
1741            "type": "structure",
1742            "members": {
1743                "uploadId": {
1744                    "target": "com.amazonaws.iotthingsgraph#UploadId",
1745                    "traits": {
1746                        "smithy.api#documentation": "<p>The ID of the upload.</p>",
1747                        "smithy.api#required": {}
1748                    }
1749                },
1750                "uploadStatus": {
1751                    "target": "com.amazonaws.iotthingsgraph#UploadStatus",
1752                    "traits": {
1753                        "smithy.api#documentation": "<p>The status of the upload. The initial status is <code>IN_PROGRESS</code>. The response show all validation failures if the upload fails.</p>",
1754                        "smithy.api#required": {}
1755                    }
1756                },
1757                "namespaceArn": {
1758                    "target": "com.amazonaws.iotthingsgraph#Arn",
1759                    "traits": {
1760                        "smithy.api#documentation": "<p>The ARN of the upload.</p>"
1761                    }
1762                },
1763                "namespaceName": {
1764                    "target": "com.amazonaws.iotthingsgraph#NamespaceName",
1765                    "traits": {
1766                        "smithy.api#documentation": "<p>The name of the upload's namespace.</p>"
1767                    }
1768                },
1769                "namespaceVersion": {
1770                    "target": "com.amazonaws.iotthingsgraph#Version",
1771                    "traits": {
1772                        "smithy.api#documentation": "<p>The version of the user's namespace. Defaults to the latest version of the user's namespace.</p>"
1773                    }
1774                },
1775                "failureReason": {
1776                    "target": "com.amazonaws.iotthingsgraph#StringList",
1777                    "traits": {
1778                        "smithy.api#documentation": "<p>The reason for an upload failure.</p>"
1779                    }
1780                },
1781                "createdDate": {
1782                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
1783                    "traits": {
1784                        "smithy.api#documentation": "<p>The date at which the upload was created.</p>",
1785                        "smithy.api#required": {}
1786                    }
1787                }
1788            }
1789        },
1790        "com.amazonaws.iotthingsgraph#GreengrassDeploymentId": {
1791            "type": "string"
1792        },
1793        "com.amazonaws.iotthingsgraph#GreengrassGroupId": {
1794            "type": "string"
1795        },
1796        "com.amazonaws.iotthingsgraph#GreengrassGroupVersionId": {
1797            "type": "string"
1798        },
1799        "com.amazonaws.iotthingsgraph#GroupName": {
1800            "type": "string"
1801        },
1802        "com.amazonaws.iotthingsgraph#InternalFailureException": {
1803            "type": "structure",
1804            "members": {
1805                "message": {
1806                    "target": "com.amazonaws.iotthingsgraph#ErrorMessage"
1807                }
1808            },
1809            "traits": {
1810                "smithy.api#documentation": "<p></p>",
1811                "smithy.api#error": "server",
1812                "smithy.api#httpError": 500
1813            }
1814        },
1815        "com.amazonaws.iotthingsgraph#InvalidRequestException": {
1816            "type": "structure",
1817            "members": {
1818                "message": {
1819                    "target": "com.amazonaws.iotthingsgraph#ErrorMessage"
1820                }
1821            },
1822            "traits": {
1823                "smithy.api#documentation": "<p></p>",
1824                "smithy.api#error": "client",
1825                "smithy.api#httpError": 400
1826            }
1827        },
1828        "com.amazonaws.iotthingsgraph#IotThingsGraphFrontEndService": {
1829            "type": "service",
1830            "version": "2018-09-06",
1831            "operations": [
1832                {
1833                    "target": "com.amazonaws.iotthingsgraph#AssociateEntityToThing"
1834                },
1835                {
1836                    "target": "com.amazonaws.iotthingsgraph#CreateFlowTemplate"
1837                },
1838                {
1839                    "target": "com.amazonaws.iotthingsgraph#CreateSystemInstance"
1840                },
1841                {
1842                    "target": "com.amazonaws.iotthingsgraph#CreateSystemTemplate"
1843                },
1844                {
1845                    "target": "com.amazonaws.iotthingsgraph#DeleteFlowTemplate"
1846                },
1847                {
1848                    "target": "com.amazonaws.iotthingsgraph#DeleteNamespace"
1849                },
1850                {
1851                    "target": "com.amazonaws.iotthingsgraph#DeleteSystemInstance"
1852                },
1853                {
1854                    "target": "com.amazonaws.iotthingsgraph#DeleteSystemTemplate"
1855                },
1856                {
1857                    "target": "com.amazonaws.iotthingsgraph#DeploySystemInstance"
1858                },
1859                {
1860                    "target": "com.amazonaws.iotthingsgraph#DeprecateFlowTemplate"
1861                },
1862                {
1863                    "target": "com.amazonaws.iotthingsgraph#DeprecateSystemTemplate"
1864                },
1865                {
1866                    "target": "com.amazonaws.iotthingsgraph#DescribeNamespace"
1867                },
1868                {
1869                    "target": "com.amazonaws.iotthingsgraph#DissociateEntityFromThing"
1870                },
1871                {
1872                    "target": "com.amazonaws.iotthingsgraph#GetEntities"
1873                },
1874                {
1875                    "target": "com.amazonaws.iotthingsgraph#GetFlowTemplate"
1876                },
1877                {
1878                    "target": "com.amazonaws.iotthingsgraph#GetFlowTemplateRevisions"
1879                },
1880                {
1881                    "target": "com.amazonaws.iotthingsgraph#GetNamespaceDeletionStatus"
1882                },
1883                {
1884                    "target": "com.amazonaws.iotthingsgraph#GetSystemInstance"
1885                },
1886                {
1887                    "target": "com.amazonaws.iotthingsgraph#GetSystemTemplate"
1888                },
1889                {
1890                    "target": "com.amazonaws.iotthingsgraph#GetSystemTemplateRevisions"
1891                },
1892                {
1893                    "target": "com.amazonaws.iotthingsgraph#GetUploadStatus"
1894                },
1895                {
1896                    "target": "com.amazonaws.iotthingsgraph#ListFlowExecutionMessages"
1897                },
1898                {
1899                    "target": "com.amazonaws.iotthingsgraph#ListTagsForResource"
1900                },
1901                {
1902                    "target": "com.amazonaws.iotthingsgraph#SearchEntities"
1903                },
1904                {
1905                    "target": "com.amazonaws.iotthingsgraph#SearchFlowExecutions"
1906                },
1907                {
1908                    "target": "com.amazonaws.iotthingsgraph#SearchFlowTemplates"
1909                },
1910                {
1911                    "target": "com.amazonaws.iotthingsgraph#SearchSystemInstances"
1912                },
1913                {
1914                    "target": "com.amazonaws.iotthingsgraph#SearchSystemTemplates"
1915                },
1916                {
1917                    "target": "com.amazonaws.iotthingsgraph#SearchThings"
1918                },
1919                {
1920                    "target": "com.amazonaws.iotthingsgraph#TagResource"
1921                },
1922                {
1923                    "target": "com.amazonaws.iotthingsgraph#UndeploySystemInstance"
1924                },
1925                {
1926                    "target": "com.amazonaws.iotthingsgraph#UntagResource"
1927                },
1928                {
1929                    "target": "com.amazonaws.iotthingsgraph#UpdateFlowTemplate"
1930                },
1931                {
1932                    "target": "com.amazonaws.iotthingsgraph#UpdateSystemTemplate"
1933                },
1934                {
1935                    "target": "com.amazonaws.iotthingsgraph#UploadEntityDefinitions"
1936                }
1937            ],
1938            "traits": {
1939                "aws.api#service": {
1940                    "sdkId": "IoTThingsGraph",
1941                    "arnNamespace": "iotthingsgraph",
1942                    "cloudFormationName": "IoTThingsGraph",
1943                    "cloudTrailEventSource": "iotthingsgraph.amazonaws.com",
1944                    "endpointPrefix": "iotthingsgraph"
1945                },
1946                "aws.auth#sigv4": {
1947                    "name": "iotthingsgraph"
1948                },
1949                "aws.protocols#awsJson1_1": {},
1950                "smithy.api#documentation": "<fullname>AWS IoT Things Graph</fullname>\n         <p>AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards, \n       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 \n       and defining how they interact at an abstract level.</p>\n         <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>",
1951                "smithy.api#title": "AWS IoT Things Graph"
1952            }
1953        },
1954        "com.amazonaws.iotthingsgraph#LimitExceededException": {
1955            "type": "structure",
1956            "members": {
1957                "message": {
1958                    "target": "com.amazonaws.iotthingsgraph#ErrorMessage"
1959                }
1960            },
1961            "traits": {
1962                "smithy.api#documentation": "<p></p>",
1963                "smithy.api#error": "client",
1964                "smithy.api#httpError": 410
1965            }
1966        },
1967        "com.amazonaws.iotthingsgraph#ListFlowExecutionMessages": {
1968            "type": "operation",
1969            "input": {
1970                "target": "com.amazonaws.iotthingsgraph#ListFlowExecutionMessagesRequest"
1971            },
1972            "output": {
1973                "target": "com.amazonaws.iotthingsgraph#ListFlowExecutionMessagesResponse"
1974            },
1975            "errors": [
1976                {
1977                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
1978                },
1979                {
1980                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
1981                },
1982                {
1983                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
1984                },
1985                {
1986                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
1987                }
1988            ],
1989            "traits": {
1990                "smithy.api#documentation": "<p>Returns a list of objects that contain information about events in a flow execution.</p>",
1991                "smithy.api#paginated": {
1992                    "inputToken": "nextToken",
1993                    "outputToken": "nextToken",
1994                    "items": "messages",
1995                    "pageSize": "maxResults"
1996                }
1997            }
1998        },
1999        "com.amazonaws.iotthingsgraph#ListFlowExecutionMessagesRequest": {
2000            "type": "structure",
2001            "members": {
2002                "flowExecutionId": {
2003                    "target": "com.amazonaws.iotthingsgraph#FlowExecutionId",
2004                    "traits": {
2005                        "smithy.api#documentation": "<p>The ID of the flow execution.</p>",
2006                        "smithy.api#required": {}
2007                    }
2008                },
2009                "nextToken": {
2010                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2011                    "traits": {
2012                        "smithy.api#documentation": "<p>The string that specifies the next page of results. Use this when you're paginating results.</p>"
2013                    }
2014                },
2015                "maxResults": {
2016                    "target": "com.amazonaws.iotthingsgraph#MaxResults",
2017                    "traits": {
2018                        "smithy.api#documentation": "<p>The maximum number of results to return in the response.</p>"
2019                    }
2020                }
2021            }
2022        },
2023        "com.amazonaws.iotthingsgraph#ListFlowExecutionMessagesResponse": {
2024            "type": "structure",
2025            "members": {
2026                "messages": {
2027                    "target": "com.amazonaws.iotthingsgraph#FlowExecutionMessages",
2028                    "traits": {
2029                        "smithy.api#documentation": "<p>A list of objects that contain information about events in the specified flow execution.</p>"
2030                    }
2031                },
2032                "nextToken": {
2033                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2034                    "traits": {
2035                        "smithy.api#documentation": "<p>The string to specify as <code>nextToken</code> when you request the next page of results. </p>"
2036                    }
2037                }
2038            }
2039        },
2040        "com.amazonaws.iotthingsgraph#ListTagsForResource": {
2041            "type": "operation",
2042            "input": {
2043                "target": "com.amazonaws.iotthingsgraph#ListTagsForResourceRequest"
2044            },
2045            "output": {
2046                "target": "com.amazonaws.iotthingsgraph#ListTagsForResourceResponse"
2047            },
2048            "errors": [
2049                {
2050                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
2051                },
2052                {
2053                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
2054                },
2055                {
2056                    "target": "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException"
2057                },
2058                {
2059                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
2060                }
2061            ],
2062            "traits": {
2063                "smithy.api#documentation": "<p>Lists all tags on an AWS IoT Things Graph resource.</p>",
2064                "smithy.api#paginated": {
2065                    "inputToken": "nextToken",
2066                    "outputToken": "nextToken",
2067                    "items": "tags",
2068                    "pageSize": "maxResults"
2069                }
2070            }
2071        },
2072        "com.amazonaws.iotthingsgraph#ListTagsForResourceRequest": {
2073            "type": "structure",
2074            "members": {
2075                "maxResults": {
2076                    "target": "com.amazonaws.iotthingsgraph#MaxResults",
2077                    "traits": {
2078                        "smithy.api#documentation": "<p>The maximum number of tags to return.</p>"
2079                    }
2080                },
2081                "resourceArn": {
2082                    "target": "com.amazonaws.iotthingsgraph#ResourceArn",
2083                    "traits": {
2084                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource whose tags are to be returned.</p>",
2085                        "smithy.api#required": {}
2086                    }
2087                },
2088                "nextToken": {
2089                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2090                    "traits": {
2091                        "smithy.api#documentation": "<p>The token that specifies the next page of results to return.</p>"
2092                    }
2093                }
2094            }
2095        },
2096        "com.amazonaws.iotthingsgraph#ListTagsForResourceResponse": {
2097            "type": "structure",
2098            "members": {
2099                "tags": {
2100                    "target": "com.amazonaws.iotthingsgraph#TagList",
2101                    "traits": {
2102                        "smithy.api#documentation": "<p>List of tags returned by the <code>ListTagsForResource</code> operation.</p>"
2103                    }
2104                },
2105                "nextToken": {
2106                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2107                    "traits": {
2108                        "smithy.api#documentation": "<p>The token that specifies the next page of results to return.</p>"
2109                    }
2110                }
2111            }
2112        },
2113        "com.amazonaws.iotthingsgraph#MaxResults": {
2114            "type": "integer",
2115            "traits": {
2116                "smithy.api#box": {},
2117                "smithy.api#range": {
2118                    "min": 1,
2119                    "max": 250
2120                }
2121            }
2122        },
2123        "com.amazonaws.iotthingsgraph#MetricsConfiguration": {
2124            "type": "structure",
2125            "members": {
2126                "cloudMetricEnabled": {
2127                    "target": "com.amazonaws.iotthingsgraph#Enabled",
2128                    "traits": {
2129                        "smithy.api#documentation": "<p>A Boolean that specifies whether cloud metrics are collected.</p>"
2130                    }
2131                },
2132                "metricRuleRoleArn": {
2133                    "target": "com.amazonaws.iotthingsgraph#RoleArn",
2134                    "traits": {
2135                        "smithy.api#documentation": "<p>The ARN of the role that is used to collect cloud metrics.</p>"
2136                    }
2137                }
2138            },
2139            "traits": {
2140                "smithy.api#documentation": "<p>An object that specifies whether cloud metrics are collected in a deployment and, if so, what role is used to collect metrics.</p>"
2141            }
2142        },
2143        "com.amazonaws.iotthingsgraph#NamespaceDeletionStatus": {
2144            "type": "string",
2145            "traits": {
2146                "smithy.api#enum": [
2147                    {
2148                        "value": "IN_PROGRESS",
2149                        "name": "IN_PROGRESS"
2150                    },
2151                    {
2152                        "value": "SUCCEEDED",
2153                        "name": "SUCCEEDED"
2154                    },
2155                    {
2156                        "value": "FAILED",
2157                        "name": "FAILED"
2158                    }
2159                ]
2160            }
2161        },
2162        "com.amazonaws.iotthingsgraph#NamespaceDeletionStatusErrorCodes": {
2163            "type": "string",
2164            "traits": {
2165                "smithy.api#enum": [
2166                    {
2167                        "value": "VALIDATION_FAILED",
2168                        "name": "VALIDATION_FAILED"
2169                    }
2170                ]
2171            }
2172        },
2173        "com.amazonaws.iotthingsgraph#NamespaceName": {
2174            "type": "string",
2175            "traits": {
2176                "smithy.api#length": {
2177                    "min": 0,
2178                    "max": 128
2179                }
2180            }
2181        },
2182        "com.amazonaws.iotthingsgraph#NextToken": {
2183            "type": "string"
2184        },
2185        "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException": {
2186            "type": "structure",
2187            "members": {
2188                "message": {
2189                    "target": "com.amazonaws.iotthingsgraph#ErrorMessage"
2190                }
2191            },
2192            "traits": {
2193                "smithy.api#documentation": "<p></p>",
2194                "smithy.api#error": "client",
2195                "smithy.api#httpError": 409
2196            }
2197        },
2198        "com.amazonaws.iotthingsgraph#ResourceArn": {
2199            "type": "string",
2200            "traits": {
2201                "smithy.api#length": {
2202                    "min": 1,
2203                    "max": 2048
2204                }
2205            }
2206        },
2207        "com.amazonaws.iotthingsgraph#ResourceInUseException": {
2208            "type": "structure",
2209            "members": {
2210                "message": {
2211                    "target": "com.amazonaws.iotthingsgraph#ErrorMessage"
2212                }
2213            },
2214            "traits": {
2215                "smithy.api#documentation": "<p></p>",
2216                "smithy.api#error": "client",
2217                "smithy.api#httpError": 412
2218            }
2219        },
2220        "com.amazonaws.iotthingsgraph#ResourceNotFoundException": {
2221            "type": "structure",
2222            "members": {
2223                "message": {
2224                    "target": "com.amazonaws.iotthingsgraph#ErrorMessage"
2225                }
2226            },
2227            "traits": {
2228                "smithy.api#documentation": "<p></p>",
2229                "smithy.api#error": "client",
2230                "smithy.api#httpError": 404
2231            }
2232        },
2233        "com.amazonaws.iotthingsgraph#RoleArn": {
2234            "type": "string",
2235            "traits": {
2236                "smithy.api#length": {
2237                    "min": 20,
2238                    "max": 2048
2239                }
2240            }
2241        },
2242        "com.amazonaws.iotthingsgraph#S3BucketName": {
2243            "type": "string"
2244        },
2245        "com.amazonaws.iotthingsgraph#SearchEntities": {
2246            "type": "operation",
2247            "input": {
2248                "target": "com.amazonaws.iotthingsgraph#SearchEntitiesRequest"
2249            },
2250            "output": {
2251                "target": "com.amazonaws.iotthingsgraph#SearchEntitiesResponse"
2252            },
2253            "errors": [
2254                {
2255                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
2256                },
2257                {
2258                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
2259                },
2260                {
2261                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
2262                }
2263            ],
2264            "traits": {
2265                "smithy.api#documentation": "<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>",
2266                "smithy.api#paginated": {
2267                    "inputToken": "nextToken",
2268                    "outputToken": "nextToken",
2269                    "items": "descriptions",
2270                    "pageSize": "maxResults"
2271                }
2272            }
2273        },
2274        "com.amazonaws.iotthingsgraph#SearchEntitiesRequest": {
2275            "type": "structure",
2276            "members": {
2277                "entityTypes": {
2278                    "target": "com.amazonaws.iotthingsgraph#EntityTypes",
2279                    "traits": {
2280                        "smithy.api#documentation": "<p>The entity types for which to search.</p>",
2281                        "smithy.api#required": {}
2282                    }
2283                },
2284                "filters": {
2285                    "target": "com.amazonaws.iotthingsgraph#EntityFilters",
2286                    "traits": {
2287                        "smithy.api#documentation": "<p>Optional filter to apply to the search. Valid filters are <code>NAME</code> \n            <code>NAMESPACE</code>, <code>SEMANTIC_TYPE_PATH</code> and <code>REFERENCED_ENTITY_ID</code>. \n         <code>REFERENCED_ENTITY_ID</code> filters on entities that are used by the entity in the result set. For example, \n      you can filter on the ID of a property that is used in a state.</p>\n         <p>Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.</p>"
2288                    }
2289                },
2290                "nextToken": {
2291                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2292                    "traits": {
2293                        "smithy.api#documentation": "<p>The string that specifies the next page of results. Use this when you're paginating results.</p>"
2294                    }
2295                },
2296                "maxResults": {
2297                    "target": "com.amazonaws.iotthingsgraph#MaxResults",
2298                    "traits": {
2299                        "smithy.api#documentation": "<p>The maximum number of results to return in the response.</p>"
2300                    }
2301                },
2302                "namespaceVersion": {
2303                    "target": "com.amazonaws.iotthingsgraph#Version",
2304                    "traits": {
2305                        "smithy.api#documentation": "<p>The version of the user's namespace. Defaults to the latest version of the user's namespace.</p>"
2306                    }
2307                }
2308            }
2309        },
2310        "com.amazonaws.iotthingsgraph#SearchEntitiesResponse": {
2311            "type": "structure",
2312            "members": {
2313                "descriptions": {
2314                    "target": "com.amazonaws.iotthingsgraph#EntityDescriptions",
2315                    "traits": {
2316                        "smithy.api#documentation": "<p>An array of descriptions for each entity returned in the search result.</p>"
2317                    }
2318                },
2319                "nextToken": {
2320                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2321                    "traits": {
2322                        "smithy.api#documentation": "<p>The string to specify as <code>nextToken</code> when you request the next page of results.</p>"
2323                    }
2324                }
2325            }
2326        },
2327        "com.amazonaws.iotthingsgraph#SearchFlowExecutions": {
2328            "type": "operation",
2329            "input": {
2330                "target": "com.amazonaws.iotthingsgraph#SearchFlowExecutionsRequest"
2331            },
2332            "output": {
2333                "target": "com.amazonaws.iotthingsgraph#SearchFlowExecutionsResponse"
2334            },
2335            "errors": [
2336                {
2337                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
2338                },
2339                {
2340                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
2341                },
2342                {
2343                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
2344                },
2345                {
2346                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
2347                }
2348            ],
2349            "traits": {
2350                "smithy.api#documentation": "<p>Searches for AWS IoT Things Graph workflow execution instances.</p>",
2351                "smithy.api#paginated": {
2352                    "inputToken": "nextToken",
2353                    "outputToken": "nextToken",
2354                    "items": "summaries",
2355                    "pageSize": "maxResults"
2356                }
2357            }
2358        },
2359        "com.amazonaws.iotthingsgraph#SearchFlowExecutionsRequest": {
2360            "type": "structure",
2361            "members": {
2362                "systemInstanceId": {
2363                    "target": "com.amazonaws.iotthingsgraph#Urn",
2364                    "traits": {
2365                        "smithy.api#documentation": "<p>The ID of the system instance that contains the flow.</p>",
2366                        "smithy.api#required": {}
2367                    }
2368                },
2369                "flowExecutionId": {
2370                    "target": "com.amazonaws.iotthingsgraph#FlowExecutionId",
2371                    "traits": {
2372                        "smithy.api#documentation": "<p>The ID of a flow execution.</p>"
2373                    }
2374                },
2375                "startTime": {
2376                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
2377                    "traits": {
2378                        "smithy.api#documentation": "<p>The date and time of the earliest flow execution to return.</p>"
2379                    }
2380                },
2381                "endTime": {
2382                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
2383                    "traits": {
2384                        "smithy.api#documentation": "<p>The date and time of the latest flow execution to return.</p>"
2385                    }
2386                },
2387                "nextToken": {
2388                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2389                    "traits": {
2390                        "smithy.api#documentation": "<p>The string that specifies the next page of results. Use this when you're paginating results.</p>"
2391                    }
2392                },
2393                "maxResults": {
2394                    "target": "com.amazonaws.iotthingsgraph#MaxResults",
2395                    "traits": {
2396                        "smithy.api#documentation": "<p>The maximum number of results to return in the response.</p>"
2397                    }
2398                }
2399            }
2400        },
2401        "com.amazonaws.iotthingsgraph#SearchFlowExecutionsResponse": {
2402            "type": "structure",
2403            "members": {
2404                "summaries": {
2405                    "target": "com.amazonaws.iotthingsgraph#FlowExecutionSummaries",
2406                    "traits": {
2407                        "smithy.api#documentation": "<p>An array of objects that contain summary information about each workflow execution in the result set.</p>"
2408                    }
2409                },
2410                "nextToken": {
2411                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2412                    "traits": {
2413                        "smithy.api#documentation": "<p>The string to specify as <code>nextToken</code> when you request the next page of results.</p>"
2414                    }
2415                }
2416            }
2417        },
2418        "com.amazonaws.iotthingsgraph#SearchFlowTemplates": {
2419            "type": "operation",
2420            "input": {
2421                "target": "com.amazonaws.iotthingsgraph#SearchFlowTemplatesRequest"
2422            },
2423            "output": {
2424                "target": "com.amazonaws.iotthingsgraph#SearchFlowTemplatesResponse"
2425            },
2426            "errors": [
2427                {
2428                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
2429                },
2430                {
2431                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
2432                },
2433                {
2434                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
2435                }
2436            ],
2437            "traits": {
2438                "smithy.api#documentation": "<p>Searches for summary information about workflows.</p>",
2439                "smithy.api#paginated": {
2440                    "inputToken": "nextToken",
2441                    "outputToken": "nextToken",
2442                    "items": "summaries",
2443                    "pageSize": "maxResults"
2444                }
2445            }
2446        },
2447        "com.amazonaws.iotthingsgraph#SearchFlowTemplatesRequest": {
2448            "type": "structure",
2449            "members": {
2450                "filters": {
2451                    "target": "com.amazonaws.iotthingsgraph#FlowTemplateFilters",
2452                    "traits": {
2453                        "smithy.api#documentation": "<p>An array of objects that limit the result set. The only valid filter is <code>DEVICE_MODEL_ID</code>.</p>"
2454                    }
2455                },
2456                "nextToken": {
2457                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2458                    "traits": {
2459                        "smithy.api#documentation": "<p>The string that specifies the next page of results. Use this when you're paginating results.</p>"
2460                    }
2461                },
2462                "maxResults": {
2463                    "target": "com.amazonaws.iotthingsgraph#MaxResults",
2464                    "traits": {
2465                        "smithy.api#documentation": "<p>The maximum number of results to return in the response.</p>"
2466                    }
2467                }
2468            }
2469        },
2470        "com.amazonaws.iotthingsgraph#SearchFlowTemplatesResponse": {
2471            "type": "structure",
2472            "members": {
2473                "summaries": {
2474                    "target": "com.amazonaws.iotthingsgraph#FlowTemplateSummaries",
2475                    "traits": {
2476                        "smithy.api#documentation": "<p>An array of objects that contain summary information about each workflow in the result set.</p>"
2477                    }
2478                },
2479                "nextToken": {
2480                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2481                    "traits": {
2482                        "smithy.api#documentation": "<p>The string to specify as <code>nextToken</code> when you request the next page of results.</p>"
2483                    }
2484                }
2485            }
2486        },
2487        "com.amazonaws.iotthingsgraph#SearchSystemInstances": {
2488            "type": "operation",
2489            "input": {
2490                "target": "com.amazonaws.iotthingsgraph#SearchSystemInstancesRequest"
2491            },
2492            "output": {
2493                "target": "com.amazonaws.iotthingsgraph#SearchSystemInstancesResponse"
2494            },
2495            "errors": [
2496                {
2497                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
2498                },
2499                {
2500                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
2501                },
2502                {
2503                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
2504                }
2505            ],
2506            "traits": {
2507                "smithy.api#documentation": "<p>Searches for system instances in the user's account.</p>",
2508                "smithy.api#paginated": {
2509                    "inputToken": "nextToken",
2510                    "outputToken": "nextToken",
2511                    "items": "summaries",
2512                    "pageSize": "maxResults"
2513                }
2514            }
2515        },
2516        "com.amazonaws.iotthingsgraph#SearchSystemInstancesRequest": {
2517            "type": "structure",
2518            "members": {
2519                "filters": {
2520                    "target": "com.amazonaws.iotthingsgraph#SystemInstanceFilters",
2521                    "traits": {
2522                        "smithy.api#documentation": "<p>Optional filter to apply to the search. Valid filters are <code>SYSTEM_TEMPLATE_ID</code>, <code>STATUS</code>, and \n         <code>GREENGRASS_GROUP_NAME</code>.</p>\n         <p>Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.</p>"
2523                    }
2524                },
2525                "nextToken": {
2526                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2527                    "traits": {
2528                        "smithy.api#documentation": "<p>The string that specifies the next page of results. Use this when you're paginating results.</p>"
2529                    }
2530                },
2531                "maxResults": {
2532                    "target": "com.amazonaws.iotthingsgraph#MaxResults",
2533                    "traits": {
2534                        "smithy.api#documentation": "<p>The maximum number of results to return in the response.</p>"
2535                    }
2536                }
2537            }
2538        },
2539        "com.amazonaws.iotthingsgraph#SearchSystemInstancesResponse": {
2540            "type": "structure",
2541            "members": {
2542                "summaries": {
2543                    "target": "com.amazonaws.iotthingsgraph#SystemInstanceSummaries",
2544                    "traits": {
2545                        "smithy.api#documentation": "<p>An array of objects that contain summary data abour the system instances in the result set.</p>"
2546                    }
2547                },
2548                "nextToken": {
2549                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2550                    "traits": {
2551                        "smithy.api#documentation": "<p>The string to specify as <code>nextToken</code> when you request the next page of results. </p>"
2552                    }
2553                }
2554            }
2555        },
2556        "com.amazonaws.iotthingsgraph#SearchSystemTemplates": {
2557            "type": "operation",
2558            "input": {
2559                "target": "com.amazonaws.iotthingsgraph#SearchSystemTemplatesRequest"
2560            },
2561            "output": {
2562                "target": "com.amazonaws.iotthingsgraph#SearchSystemTemplatesResponse"
2563            },
2564            "errors": [
2565                {
2566                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
2567                },
2568                {
2569                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
2570                },
2571                {
2572                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
2573                }
2574            ],
2575            "traits": {
2576                "smithy.api#documentation": "<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>",
2577                "smithy.api#paginated": {
2578                    "inputToken": "nextToken",
2579                    "outputToken": "nextToken",
2580                    "items": "summaries",
2581                    "pageSize": "maxResults"
2582                }
2583            }
2584        },
2585        "com.amazonaws.iotthingsgraph#SearchSystemTemplatesRequest": {
2586            "type": "structure",
2587            "members": {
2588                "filters": {
2589                    "target": "com.amazonaws.iotthingsgraph#SystemTemplateFilters",
2590                    "traits": {
2591                        "smithy.api#documentation": "<p>An array of filters that limit the result set. The only valid filter is <code>FLOW_TEMPLATE_ID</code>.</p>"
2592                    }
2593                },
2594                "nextToken": {
2595                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2596                    "traits": {
2597                        "smithy.api#documentation": "<p>The string that specifies the next page of results. Use this when you're paginating results.</p>"
2598                    }
2599                },
2600                "maxResults": {
2601                    "target": "com.amazonaws.iotthingsgraph#MaxResults",
2602                    "traits": {
2603                        "smithy.api#documentation": "<p>The maximum number of results to return in the response.</p>"
2604                    }
2605                }
2606            }
2607        },
2608        "com.amazonaws.iotthingsgraph#SearchSystemTemplatesResponse": {
2609            "type": "structure",
2610            "members": {
2611                "summaries": {
2612                    "target": "com.amazonaws.iotthingsgraph#SystemTemplateSummaries",
2613                    "traits": {
2614                        "smithy.api#documentation": "<p>An array of objects that contain summary information about each system deployment in the result set.</p>"
2615                    }
2616                },
2617                "nextToken": {
2618                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2619                    "traits": {
2620                        "smithy.api#documentation": "<p>The string to specify as <code>nextToken</code> when you request the next page of results.</p>"
2621                    }
2622                }
2623            }
2624        },
2625        "com.amazonaws.iotthingsgraph#SearchThings": {
2626            "type": "operation",
2627            "input": {
2628                "target": "com.amazonaws.iotthingsgraph#SearchThingsRequest"
2629            },
2630            "output": {
2631                "target": "com.amazonaws.iotthingsgraph#SearchThingsResponse"
2632            },
2633            "errors": [
2634                {
2635                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
2636                },
2637                {
2638                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
2639                },
2640                {
2641                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
2642                },
2643                {
2644                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
2645                }
2646            ],
2647            "traits": {
2648                "smithy.api#documentation": "<p>Searches for things associated with the specified entity. You can search by both device and device model.</p>\n         <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.\n         <code>SearchThings(camera2)</code> will return only thing2, but <code>SearchThings(camera)</code> will return both thing1 and thing2.</p>\n         <p>This action searches for exact matches and doesn't perform partial text matching.</p>",
2649                "smithy.api#paginated": {
2650                    "inputToken": "nextToken",
2651                    "outputToken": "nextToken",
2652                    "items": "things",
2653                    "pageSize": "maxResults"
2654                }
2655            }
2656        },
2657        "com.amazonaws.iotthingsgraph#SearchThingsRequest": {
2658            "type": "structure",
2659            "members": {
2660                "entityId": {
2661                    "target": "com.amazonaws.iotthingsgraph#Urn",
2662                    "traits": {
2663                        "smithy.api#documentation": "<p>The ID of the entity to which the things are associated.</p>\n         <p>The IDs should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME</code>\n         </p>",
2664                        "smithy.api#required": {}
2665                    }
2666                },
2667                "nextToken": {
2668                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2669                    "traits": {
2670                        "smithy.api#documentation": "<p>The string that specifies the next page of results. Use this when you're paginating results.</p>"
2671                    }
2672                },
2673                "maxResults": {
2674                    "target": "com.amazonaws.iotthingsgraph#MaxResults",
2675                    "traits": {
2676                        "smithy.api#documentation": "<p>The maximum number of results to return in the response.</p>"
2677                    }
2678                },
2679                "namespaceVersion": {
2680                    "target": "com.amazonaws.iotthingsgraph#Version",
2681                    "traits": {
2682                        "smithy.api#documentation": "<p>The version of the user's namespace. Defaults to the latest version of the user's namespace.</p>"
2683                    }
2684                }
2685            }
2686        },
2687        "com.amazonaws.iotthingsgraph#SearchThingsResponse": {
2688            "type": "structure",
2689            "members": {
2690                "things": {
2691                    "target": "com.amazonaws.iotthingsgraph#Things",
2692                    "traits": {
2693                        "smithy.api#documentation": "<p>An array of things in the result set.</p>"
2694                    }
2695                },
2696                "nextToken": {
2697                    "target": "com.amazonaws.iotthingsgraph#NextToken",
2698                    "traits": {
2699                        "smithy.api#documentation": "<p>The string to specify as <code>nextToken</code> when you request the next page of results.</p>"
2700                    }
2701                }
2702            }
2703        },
2704        "com.amazonaws.iotthingsgraph#String": {
2705            "type": "string"
2706        },
2707        "com.amazonaws.iotthingsgraph#StringList": {
2708            "type": "list",
2709            "member": {
2710                "target": "com.amazonaws.iotthingsgraph#String"
2711            }
2712        },
2713        "com.amazonaws.iotthingsgraph#SyncWithPublicNamespace": {
2714            "type": "boolean"
2715        },
2716        "com.amazonaws.iotthingsgraph#SystemInstanceDeploymentStatus": {
2717            "type": "string",
2718            "traits": {
2719                "smithy.api#enum": [
2720                    {
2721                        "value": "NOT_DEPLOYED",
2722                        "name": "NOT_DEPLOYED"
2723                    },
2724                    {
2725                        "value": "BOOTSTRAP",
2726                        "name": "BOOTSTRAP"
2727                    },
2728                    {
2729                        "value": "DEPLOY_IN_PROGRESS",
2730                        "name": "DEPLOY_IN_PROGRESS"
2731                    },
2732                    {
2733                        "value": "DEPLOYED_IN_TARGET",
2734                        "name": "DEPLOYED_IN_TARGET"
2735                    },
2736                    {
2737                        "value": "UNDEPLOY_IN_PROGRESS",
2738                        "name": "UNDEPLOY_IN_PROGRESS"
2739                    },
2740                    {
2741                        "value": "FAILED",
2742                        "name": "FAILED"
2743                    },
2744                    {
2745                        "value": "PENDING_DELETE",
2746                        "name": "PENDING_DELETE"
2747                    },
2748                    {
2749                        "value": "DELETED_IN_TARGET",
2750                        "name": "DELETED_IN_TARGET"
2751                    }
2752                ]
2753            }
2754        },
2755        "com.amazonaws.iotthingsgraph#SystemInstanceDescription": {
2756            "type": "structure",
2757            "members": {
2758                "summary": {
2759                    "target": "com.amazonaws.iotthingsgraph#SystemInstanceSummary",
2760                    "traits": {
2761                        "smithy.api#documentation": "<p>An object that contains summary information about a system instance.</p>"
2762                    }
2763                },
2764                "definition": {
2765                    "target": "com.amazonaws.iotthingsgraph#DefinitionDocument"
2766                },
2767                "s3BucketName": {
2768                    "target": "com.amazonaws.iotthingsgraph#S3BucketName",
2769                    "traits": {
2770                        "smithy.api#documentation": "<p>The Amazon Simple Storage Service bucket where information about a system instance is stored.</p>"
2771                    }
2772                },
2773                "metricsConfiguration": {
2774                    "target": "com.amazonaws.iotthingsgraph#MetricsConfiguration"
2775                },
2776                "validatedNamespaceVersion": {
2777                    "target": "com.amazonaws.iotthingsgraph#Version",
2778                    "traits": {
2779                        "smithy.api#documentation": "<p>The version of the user's namespace against which the system instance was validated.</p>"
2780                    }
2781                },
2782                "validatedDependencyRevisions": {
2783                    "target": "com.amazonaws.iotthingsgraph#DependencyRevisions",
2784                    "traits": {
2785                        "smithy.api#documentation": "<p>A list of objects that contain all of the IDs and revision numbers of workflows and systems that are used in a system instance.</p>"
2786                    }
2787                },
2788                "flowActionsRoleArn": {
2789                    "target": "com.amazonaws.iotthingsgraph#RoleArn",
2790                    "traits": {
2791                        "smithy.api#documentation": "<p>The AWS Identity and Access Management (IAM) role that AWS IoT Things Graph assumes during flow execution in a \n      cloud deployment. This role must have read and write permissionss to AWS Lambda and AWS IoT and to any other \n      AWS services that the flow uses.</p>"
2792                    }
2793                }
2794            },
2795            "traits": {
2796                "smithy.api#documentation": "<p>An object that contains a system instance definition and summary information.</p>"
2797            }
2798        },
2799        "com.amazonaws.iotthingsgraph#SystemInstanceFilter": {
2800            "type": "structure",
2801            "members": {
2802                "name": {
2803                    "target": "com.amazonaws.iotthingsgraph#SystemInstanceFilterName",
2804                    "traits": {
2805                        "smithy.api#documentation": "<p>The name of the search filter field.</p>"
2806                    }
2807                },
2808                "value": {
2809                    "target": "com.amazonaws.iotthingsgraph#SystemInstanceFilterValues",
2810                    "traits": {
2811                        "smithy.api#documentation": "<p>An array of string values for the search filter field. Multiple values function as AND criteria in the search. </p>"
2812                    }
2813                }
2814            },
2815            "traits": {
2816                "smithy.api#documentation": "<p>An object that filters a system instance search. \n         Multiple filters function as OR criteria in the search. For example a search that includes a GREENGRASS_GROUP_NAME and a \n         STATUS filter searches for system instances in the specified Greengrass group that have the specified status.</p>"
2817            }
2818        },
2819        "com.amazonaws.iotthingsgraph#SystemInstanceFilterName": {
2820            "type": "string",
2821            "traits": {
2822                "smithy.api#enum": [
2823                    {
2824                        "value": "SYSTEM_TEMPLATE_ID",
2825                        "name": "SYSTEM_TEMPLATE_ID"
2826                    },
2827                    {
2828                        "value": "STATUS",
2829                        "name": "STATUS"
2830                    },
2831                    {
2832                        "value": "GREENGRASS_GROUP_NAME",
2833                        "name": "GREENGRASS_GROUP_NAME"
2834                    }
2835                ]
2836            }
2837        },
2838        "com.amazonaws.iotthingsgraph#SystemInstanceFilterValue": {
2839            "type": "string"
2840        },
2841        "com.amazonaws.iotthingsgraph#SystemInstanceFilterValues": {
2842            "type": "list",
2843            "member": {
2844                "target": "com.amazonaws.iotthingsgraph#SystemInstanceFilterValue"
2845            }
2846        },
2847        "com.amazonaws.iotthingsgraph#SystemInstanceFilters": {
2848            "type": "list",
2849            "member": {
2850                "target": "com.amazonaws.iotthingsgraph#SystemInstanceFilter"
2851            }
2852        },
2853        "com.amazonaws.iotthingsgraph#SystemInstanceSummaries": {
2854            "type": "list",
2855            "member": {
2856                "target": "com.amazonaws.iotthingsgraph#SystemInstanceSummary"
2857            }
2858        },
2859        "com.amazonaws.iotthingsgraph#SystemInstanceSummary": {
2860            "type": "structure",
2861            "members": {
2862                "id": {
2863                    "target": "com.amazonaws.iotthingsgraph#Urn",
2864                    "traits": {
2865                        "smithy.api#documentation": "<p>The ID of the system instance.</p>"
2866                    }
2867                },
2868                "arn": {
2869                    "target": "com.amazonaws.iotthingsgraph#Arn",
2870                    "traits": {
2871                        "smithy.api#documentation": "<p>The ARN of the system instance.</p>"
2872                    }
2873                },
2874                "status": {
2875                    "target": "com.amazonaws.iotthingsgraph#SystemInstanceDeploymentStatus",
2876                    "traits": {
2877                        "smithy.api#documentation": "<p>The status of the system instance.</p>"
2878                    }
2879                },
2880                "target": {
2881                    "target": "com.amazonaws.iotthingsgraph#DeploymentTarget",
2882                    "traits": {
2883                        "smithy.api#documentation": "<p>The target of the system instance.</p>"
2884                    }
2885                },
2886                "greengrassGroupName": {
2887                    "target": "com.amazonaws.iotthingsgraph#GroupName",
2888                    "traits": {
2889                        "smithy.api#documentation": "<p>The ID of the Greengrass group where the system instance is deployed.</p>"
2890                    }
2891                },
2892                "createdAt": {
2893                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
2894                    "traits": {
2895                        "smithy.api#documentation": "<p>The date when the system instance was created.</p>"
2896                    }
2897                },
2898                "updatedAt": {
2899                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
2900                    "traits": {
2901                        "smithy.api#documentation": "<p>\n         \n         The date and time when the system instance was last updated.</p>"
2902                    }
2903                },
2904                "greengrassGroupId": {
2905                    "target": "com.amazonaws.iotthingsgraph#GreengrassGroupId",
2906                    "traits": {
2907                        "smithy.api#documentation": "<p>The ID of the Greengrass group where the system instance is deployed.</p>"
2908                    }
2909                },
2910                "greengrassGroupVersionId": {
2911                    "target": "com.amazonaws.iotthingsgraph#GreengrassGroupVersionId",
2912                    "traits": {
2913                        "smithy.api#documentation": "<p>The version of the Greengrass group where the system instance is deployed.</p>"
2914                    }
2915                }
2916            },
2917            "traits": {
2918                "smithy.api#documentation": "<p>An object that contains summary information about a system instance.</p>"
2919            }
2920        },
2921        "com.amazonaws.iotthingsgraph#SystemTemplateDescription": {
2922            "type": "structure",
2923            "members": {
2924                "summary": {
2925                    "target": "com.amazonaws.iotthingsgraph#SystemTemplateSummary",
2926                    "traits": {
2927                        "smithy.api#documentation": "<p>An object that contains summary information about a system.</p>"
2928                    }
2929                },
2930                "definition": {
2931                    "target": "com.amazonaws.iotthingsgraph#DefinitionDocument",
2932                    "traits": {
2933                        "smithy.api#documentation": "<p>The definition document of a system.</p>"
2934                    }
2935                },
2936                "validatedNamespaceVersion": {
2937                    "target": "com.amazonaws.iotthingsgraph#Version",
2938                    "traits": {
2939                        "smithy.api#documentation": "<p>The namespace version against which the system was validated. Use this value in your system instance.</p>"
2940                    }
2941                }
2942            },
2943            "traits": {
2944                "smithy.api#documentation": "<p>An object that contains a system's definition document and summary information.</p>"
2945            }
2946        },
2947        "com.amazonaws.iotthingsgraph#SystemTemplateFilter": {
2948            "type": "structure",
2949            "members": {
2950                "name": {
2951                    "target": "com.amazonaws.iotthingsgraph#SystemTemplateFilterName",
2952                    "traits": {
2953                        "smithy.api#documentation": "<p>The name of the system search filter field.</p>",
2954                        "smithy.api#required": {}
2955                    }
2956                },
2957                "value": {
2958                    "target": "com.amazonaws.iotthingsgraph#SystemTemplateFilterValues",
2959                    "traits": {
2960                        "smithy.api#documentation": "<p>An array of string values for the search filter field. Multiple values function as AND criteria in the search.</p>",
2961                        "smithy.api#required": {}
2962                    }
2963                }
2964            },
2965            "traits": {
2966                "smithy.api#documentation": "<p>An object that filters a system search.</p>"
2967            }
2968        },
2969        "com.amazonaws.iotthingsgraph#SystemTemplateFilterName": {
2970            "type": "string",
2971            "traits": {
2972                "smithy.api#enum": [
2973                    {
2974                        "value": "FLOW_TEMPLATE_ID",
2975                        "name": "FLOW_TEMPLATE_ID"
2976                    }
2977                ]
2978            }
2979        },
2980        "com.amazonaws.iotthingsgraph#SystemTemplateFilterValue": {
2981            "type": "string",
2982            "traits": {
2983                "smithy.api#pattern": "^urn:tdm:(([a-z]{2}-(gov-)?[a-z]{4,9}-[0-9]{1,3}/[0-9]+/)*[\\p{Alnum}_]+(/[\\p{Alnum}_]+)*):([\\p{Alpha}]*):([\\p{Alnum}_]+(/[\\p{Alnum}_]+)*)$"
2984            }
2985        },
2986        "com.amazonaws.iotthingsgraph#SystemTemplateFilterValues": {
2987            "type": "list",
2988            "member": {
2989                "target": "com.amazonaws.iotthingsgraph#SystemTemplateFilterValue"
2990            }
2991        },
2992        "com.amazonaws.iotthingsgraph#SystemTemplateFilters": {
2993            "type": "list",
2994            "member": {
2995                "target": "com.amazonaws.iotthingsgraph#SystemTemplateFilter"
2996            }
2997        },
2998        "com.amazonaws.iotthingsgraph#SystemTemplateSummaries": {
2999            "type": "list",
3000            "member": {
3001                "target": "com.amazonaws.iotthingsgraph#SystemTemplateSummary"
3002            }
3003        },
3004        "com.amazonaws.iotthingsgraph#SystemTemplateSummary": {
3005            "type": "structure",
3006            "members": {
3007                "id": {
3008                    "target": "com.amazonaws.iotthingsgraph#Urn",
3009                    "traits": {
3010                        "smithy.api#documentation": "<p>The ID of the system.</p>"
3011                    }
3012                },
3013                "arn": {
3014                    "target": "com.amazonaws.iotthingsgraph#Arn",
3015                    "traits": {
3016                        "smithy.api#documentation": "<p>The ARN of the system.</p>"
3017                    }
3018                },
3019                "revisionNumber": {
3020                    "target": "com.amazonaws.iotthingsgraph#Version",
3021                    "traits": {
3022                        "smithy.api#documentation": "<p>The revision number of the system.</p>"
3023                    }
3024                },
3025                "createdAt": {
3026                    "target": "com.amazonaws.iotthingsgraph#Timestamp",
3027                    "traits": {
3028                        "smithy.api#documentation": "<p>The date when the system was created.</p>"
3029                    }
3030                }
3031            },
3032            "traits": {
3033                "smithy.api#documentation": "<p>An object that contains information about a system.</p>"
3034            }
3035        },
3036        "com.amazonaws.iotthingsgraph#Tag": {
3037            "type": "structure",
3038            "members": {
3039                "key": {
3040                    "target": "com.amazonaws.iotthingsgraph#TagKey",
3041                    "traits": {
3042                        "smithy.api#documentation": "<p>The required name of the tag. The string value can be from 1 to 128 Unicode characters in length.</p>",
3043                        "smithy.api#required": {}
3044                    }
3045                },
3046                "value": {
3047                    "target": "com.amazonaws.iotthingsgraph#TagValue",
3048                    "traits": {
3049                        "smithy.api#documentation": "<p>The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length.</p>",
3050                        "smithy.api#required": {}
3051                    }
3052                }
3053            },
3054            "traits": {
3055                "smithy.api#documentation": "<p>Metadata assigned to an AWS IoT Things Graph resource consisting of a key-value pair.</p>"
3056            }
3057        },
3058        "com.amazonaws.iotthingsgraph#TagKey": {
3059            "type": "string",
3060            "traits": {
3061                "smithy.api#length": {
3062                    "min": 1,
3063                    "max": 128
3064                },
3065                "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
3066            }
3067        },
3068        "com.amazonaws.iotthingsgraph#TagKeyList": {
3069            "type": "list",
3070            "member": {
3071                "target": "com.amazonaws.iotthingsgraph#TagKey"
3072            },
3073            "traits": {
3074                "smithy.api#length": {
3075                    "min": 1,
3076                    "max": 50
3077                }
3078            }
3079        },
3080        "com.amazonaws.iotthingsgraph#TagList": {
3081            "type": "list",
3082            "member": {
3083                "target": "com.amazonaws.iotthingsgraph#Tag"
3084            },
3085            "traits": {
3086                "smithy.api#length": {
3087                    "min": 0,
3088                    "max": 50
3089                }
3090            }
3091        },
3092        "com.amazonaws.iotthingsgraph#TagResource": {
3093            "type": "operation",
3094            "input": {
3095                "target": "com.amazonaws.iotthingsgraph#TagResourceRequest"
3096            },
3097            "output": {
3098                "target": "com.amazonaws.iotthingsgraph#TagResourceResponse"
3099            },
3100            "errors": [
3101                {
3102                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
3103                },
3104                {
3105                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
3106                },
3107                {
3108                    "target": "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException"
3109                },
3110                {
3111                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
3112                }
3113            ],
3114            "traits": {
3115                "smithy.api#documentation": "<p>Creates a tag for the specified resource.</p>"
3116            }
3117        },
3118        "com.amazonaws.iotthingsgraph#TagResourceRequest": {
3119            "type": "structure",
3120            "members": {
3121                "resourceArn": {
3122                    "target": "com.amazonaws.iotthingsgraph#ResourceArn",
3123                    "traits": {
3124                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource whose tags are returned.</p>",
3125                        "smithy.api#required": {}
3126                    }
3127                },
3128                "tags": {
3129                    "target": "com.amazonaws.iotthingsgraph#TagList",
3130                    "traits": {
3131                        "smithy.api#documentation": "<p>A list of tags to add to the resource.></p>",
3132                        "smithy.api#required": {}
3133                    }
3134                }
3135            }
3136        },
3137        "com.amazonaws.iotthingsgraph#TagResourceResponse": {
3138            "type": "structure",
3139            "members": {}
3140        },
3141        "com.amazonaws.iotthingsgraph#TagValue": {
3142            "type": "string",
3143            "traits": {
3144                "smithy.api#length": {
3145                    "min": 1,
3146                    "max": 256
3147                }
3148            }
3149        },
3150        "com.amazonaws.iotthingsgraph#Thing": {
3151            "type": "structure",
3152            "members": {
3153                "thingArn": {
3154                    "target": "com.amazonaws.iotthingsgraph#ThingArn",
3155                    "traits": {
3156                        "smithy.api#documentation": "<p>The ARN of the thing.</p>"
3157                    }
3158                },
3159                "thingName": {
3160                    "target": "com.amazonaws.iotthingsgraph#ThingName",
3161                    "traits": {
3162                        "smithy.api#documentation": "<p>The name of the thing.</p>"
3163                    }
3164                }
3165            },
3166            "traits": {
3167                "smithy.api#documentation": "<p>An AWS IoT thing.</p>"
3168            }
3169        },
3170        "com.amazonaws.iotthingsgraph#ThingArn": {
3171            "type": "string"
3172        },
3173        "com.amazonaws.iotthingsgraph#ThingName": {
3174            "type": "string",
3175            "traits": {
3176                "smithy.api#length": {
3177                    "min": 1,
3178                    "max": 128
3179                },
3180                "smithy.api#pattern": "[a-zA-Z0-9:_-]+"
3181            }
3182        },
3183        "com.amazonaws.iotthingsgraph#Things": {
3184            "type": "list",
3185            "member": {
3186                "target": "com.amazonaws.iotthingsgraph#Thing"
3187            }
3188        },
3189        "com.amazonaws.iotthingsgraph#ThrottlingException": {
3190            "type": "structure",
3191            "members": {
3192                "message": {
3193                    "target": "com.amazonaws.iotthingsgraph#ErrorMessage"
3194                }
3195            },
3196            "traits": {
3197                "smithy.api#documentation": "<p></p>",
3198                "smithy.api#error": "client",
3199                "smithy.api#httpError": 429
3200            }
3201        },
3202        "com.amazonaws.iotthingsgraph#Timestamp": {
3203            "type": "timestamp"
3204        },
3205        "com.amazonaws.iotthingsgraph#UndeploySystemInstance": {
3206            "type": "operation",
3207            "input": {
3208                "target": "com.amazonaws.iotthingsgraph#UndeploySystemInstanceRequest"
3209            },
3210            "output": {
3211                "target": "com.amazonaws.iotthingsgraph#UndeploySystemInstanceResponse"
3212            },
3213            "errors": [
3214                {
3215                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
3216                },
3217                {
3218                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
3219                },
3220                {
3221                    "target": "com.amazonaws.iotthingsgraph#ResourceInUseException"
3222                },
3223                {
3224                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
3225                },
3226                {
3227                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
3228                }
3229            ],
3230            "traits": {
3231                "smithy.api#documentation": "<p>Removes a system instance from its target (Cloud or Greengrass).</p>"
3232            }
3233        },
3234        "com.amazonaws.iotthingsgraph#UndeploySystemInstanceRequest": {
3235            "type": "structure",
3236            "members": {
3237                "id": {
3238                    "target": "com.amazonaws.iotthingsgraph#Urn",
3239                    "traits": {
3240                        "smithy.api#documentation": "<p>The ID of the system instance to remove from its target.</p>"
3241                    }
3242                }
3243            }
3244        },
3245        "com.amazonaws.iotthingsgraph#UndeploySystemInstanceResponse": {
3246            "type": "structure",
3247            "members": {
3248                "summary": {
3249                    "target": "com.amazonaws.iotthingsgraph#SystemInstanceSummary",
3250                    "traits": {
3251                        "smithy.api#documentation": "<p>An object that contains summary information about the system instance that was removed from its target.</p>"
3252                    }
3253                }
3254            }
3255        },
3256        "com.amazonaws.iotthingsgraph#UntagResource": {
3257            "type": "operation",
3258            "input": {
3259                "target": "com.amazonaws.iotthingsgraph#UntagResourceRequest"
3260            },
3261            "output": {
3262                "target": "com.amazonaws.iotthingsgraph#UntagResourceResponse"
3263            },
3264            "errors": [
3265                {
3266                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
3267                },
3268                {
3269                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
3270                },
3271                {
3272                    "target": "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException"
3273                },
3274                {
3275                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
3276                }
3277            ],
3278            "traits": {
3279                "smithy.api#documentation": "<p>Removes a tag from the specified resource.</p>"
3280            }
3281        },
3282        "com.amazonaws.iotthingsgraph#UntagResourceRequest": {
3283            "type": "structure",
3284            "members": {
3285                "resourceArn": {
3286                    "target": "com.amazonaws.iotthingsgraph#ResourceArn",
3287                    "traits": {
3288                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the resource whose tags are to be removed.</p>",
3289                        "smithy.api#required": {}
3290                    }
3291                },
3292                "tagKeys": {
3293                    "target": "com.amazonaws.iotthingsgraph#TagKeyList",
3294                    "traits": {
3295                        "smithy.api#documentation": "<p>A list of tag key names to remove from the resource. You don't specify the value. Both the key and its associated value are removed. </p>\n         <p>This parameter to the API requires a JSON text string argument. For information on how to format a JSON parameter for the various command line tool environments, see <a href=\"https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters.html#cli-using-param-json\">Using JSON for Parameters</a> in the <i>AWS CLI User Guide</i>. </p>",
3296                        "smithy.api#required": {}
3297                    }
3298                }
3299            }
3300        },
3301        "com.amazonaws.iotthingsgraph#UntagResourceResponse": {
3302            "type": "structure",
3303            "members": {}
3304        },
3305        "com.amazonaws.iotthingsgraph#UpdateFlowTemplate": {
3306            "type": "operation",
3307            "input": {
3308                "target": "com.amazonaws.iotthingsgraph#UpdateFlowTemplateRequest"
3309            },
3310            "output": {
3311                "target": "com.amazonaws.iotthingsgraph#UpdateFlowTemplateResponse"
3312            },
3313            "errors": [
3314                {
3315                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
3316                },
3317                {
3318                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
3319                },
3320                {
3321                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
3322                },
3323                {
3324                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
3325                }
3326            ],
3327            "traits": {
3328                "smithy.api#documentation": "<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 \n         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>"
3329            }
3330        },
3331        "com.amazonaws.iotthingsgraph#UpdateFlowTemplateRequest": {
3332            "type": "structure",
3333            "members": {
3334                "id": {
3335                    "target": "com.amazonaws.iotthingsgraph#Urn",
3336                    "traits": {
3337                        "smithy.api#documentation": "<p>The ID of the workflow to be updated.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME</code>\n         </p>",
3338                        "smithy.api#required": {}
3339                    }
3340                },
3341                "definition": {
3342                    "target": "com.amazonaws.iotthingsgraph#DefinitionDocument",
3343                    "traits": {
3344                        "smithy.api#documentation": "<p>The <code>DefinitionDocument</code> that contains the updated workflow definition.</p>",
3345                        "smithy.api#required": {}
3346                    }
3347                },
3348                "compatibleNamespaceVersion": {
3349                    "target": "com.amazonaws.iotthingsgraph#Version",
3350                    "traits": {
3351                        "smithy.api#documentation": "<p>The version of the user's namespace.</p>\n         <p>If no value is specified, the latest version is used by default. Use the <code>GetFlowTemplateRevisions</code> if you want to find earlier revisions of the flow \n      to update.</p>"
3352                    }
3353                }
3354            }
3355        },
3356        "com.amazonaws.iotthingsgraph#UpdateFlowTemplateResponse": {
3357            "type": "structure",
3358            "members": {
3359                "summary": {
3360                    "target": "com.amazonaws.iotthingsgraph#FlowTemplateSummary",
3361                    "traits": {
3362                        "smithy.api#documentation": "<p>An object containing summary information about the updated workflow.</p>"
3363                    }
3364                }
3365            }
3366        },
3367        "com.amazonaws.iotthingsgraph#UpdateSystemTemplate": {
3368            "type": "operation",
3369            "input": {
3370                "target": "com.amazonaws.iotthingsgraph#UpdateSystemTemplateRequest"
3371            },
3372            "output": {
3373                "target": "com.amazonaws.iotthingsgraph#UpdateSystemTemplateResponse"
3374            },
3375            "errors": [
3376                {
3377                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
3378                },
3379                {
3380                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
3381                },
3382                {
3383                    "target": "com.amazonaws.iotthingsgraph#ResourceNotFoundException"
3384                },
3385                {
3386                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
3387                }
3388            ],
3389            "traits": {
3390                "smithy.api#documentation": "<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>"
3391            }
3392        },
3393        "com.amazonaws.iotthingsgraph#UpdateSystemTemplateRequest": {
3394            "type": "structure",
3395            "members": {
3396                "id": {
3397                    "target": "com.amazonaws.iotthingsgraph#Urn",
3398                    "traits": {
3399                        "smithy.api#documentation": "<p>The ID of the system to be updated.</p>\n         <p>The ID should be in the following format.</p>\n         <p>\n            <code>urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME</code>\n         </p>",
3400                        "smithy.api#required": {}
3401                    }
3402                },
3403                "definition": {
3404                    "target": "com.amazonaws.iotthingsgraph#DefinitionDocument",
3405                    "traits": {
3406                        "smithy.api#documentation": "<p>The <code>DefinitionDocument</code> that contains the updated system definition.</p>",
3407                        "smithy.api#required": {}
3408                    }
3409                },
3410                "compatibleNamespaceVersion": {
3411                    "target": "com.amazonaws.iotthingsgraph#Version",
3412                    "traits": {
3413                        "smithy.api#documentation": "<p>The version of the user's namespace. Defaults to the latest version of the user's namespace.</p>\n         <p>If no value is specified, the latest version is used by default.</p>"
3414                    }
3415                }
3416            }
3417        },
3418        "com.amazonaws.iotthingsgraph#UpdateSystemTemplateResponse": {
3419            "type": "structure",
3420            "members": {
3421                "summary": {
3422                    "target": "com.amazonaws.iotthingsgraph#SystemTemplateSummary",
3423                    "traits": {
3424                        "smithy.api#documentation": "<p>An object containing summary information about the updated system.</p>"
3425                    }
3426                }
3427            }
3428        },
3429        "com.amazonaws.iotthingsgraph#UploadEntityDefinitions": {
3430            "type": "operation",
3431            "input": {
3432                "target": "com.amazonaws.iotthingsgraph#UploadEntityDefinitionsRequest"
3433            },
3434            "output": {
3435                "target": "com.amazonaws.iotthingsgraph#UploadEntityDefinitionsResponse"
3436            },
3437            "errors": [
3438                {
3439                    "target": "com.amazonaws.iotthingsgraph#InternalFailureException"
3440                },
3441                {
3442                    "target": "com.amazonaws.iotthingsgraph#InvalidRequestException"
3443                },
3444                {
3445                    "target": "com.amazonaws.iotthingsgraph#ThrottlingException"
3446                }
3447            ],
3448            "traits": {
3449                "smithy.api#documentation": "<p>Asynchronously uploads one or more entity definitions to the user's namespace. The <code>document</code> parameter is required if \n      <code>syncWithPublicNamespace</code> and <code>deleteExistingEntites</code> are false. If the <code>syncWithPublicNamespace</code> parameter  is set to \n         <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, \n      all entities in the latest version will be deleted before the new <code>DefinitionDocument</code> is uploaded.</p>\n         <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 \n      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 \n         <code>syncWithPublicNamespace</code> parameter or the <code>deprecateExistingEntities</code> parameter to <code>true</code>.</p>\n         <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>\n         <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>, \n         <code>Mapping</code>, <code>Enum</code>.\n         </p>"
3450            }
3451        },
3452        "com.amazonaws.iotthingsgraph#UploadEntityDefinitionsRequest": {
3453            "type": "structure",
3454            "members": {
3455                "document": {
3456                    "target": "com.amazonaws.iotthingsgraph#DefinitionDocument",
3457                    "traits": {
3458                        "smithy.api#documentation": "<p>The <code>DefinitionDocument</code> that defines the updated entities.</p>"
3459                    }
3460                },
3461                "syncWithPublicNamespace": {
3462                    "target": "com.amazonaws.iotthingsgraph#SyncWithPublicNamespace",
3463                    "traits": {
3464                        "smithy.api#documentation": "<p>A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to <code>true</code>, the upload will create a new namespace version.</p>"
3465                    }
3466                },
3467                "deprecateExistingEntities": {
3468                    "target": "com.amazonaws.iotthingsgraph#DeprecateExistingEntities",
3469                    "traits": {
3470                        "smithy.api#documentation": "<p>A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new <code>DefinitionDocument</code>. \n         If set to <code>true</code>, the upload will create a new namespace version.</p>"
3471                    }
3472                }
3473            }
3474        },
3475        "com.amazonaws.iotthingsgraph#UploadEntityDefinitionsResponse": {
3476            "type": "structure",
3477            "members": {
3478                "uploadId": {
3479                    "target": "com.amazonaws.iotthingsgraph#UploadId",
3480                    "traits": {
3481                        "smithy.api#documentation": "<p>The ID that specifies the upload action. You can use this to track the status of the upload.</p>",
3482                        "smithy.api#required": {}
3483                    }
3484                }
3485            }
3486        },
3487        "com.amazonaws.iotthingsgraph#UploadId": {
3488            "type": "string",
3489            "traits": {
3490                "smithy.api#length": {
3491                    "min": 1,
3492                    "max": 40
3493                }
3494            }
3495        },
3496        "com.amazonaws.iotthingsgraph#UploadStatus": {
3497            "type": "string",
3498            "traits": {
3499                "smithy.api#enum": [
3500                    {
3501                        "value": "IN_PROGRESS",
3502                        "name": "IN_PROGRESS"
3503                    },
3504                    {
3505                        "value": "SUCCEEDED",
3506                        "name": "SUCCEEDED"
3507                    },
3508                    {
3509                        "value": "FAILED",
3510                        "name": "FAILED"
3511                    }
3512                ]
3513            }
3514        },
3515        "com.amazonaws.iotthingsgraph#Urn": {
3516            "type": "string",
3517            "traits": {
3518                "smithy.api#length": {
3519                    "min": 0,
3520                    "max": 160
3521                },
3522                "smithy.api#pattern": "^urn:tdm:(([a-z]{2}-(gov-)?[a-z]{4,9}-[0-9]{1,3}/[0-9]+/)*[\\p{Alnum}_]+(/[\\p{Alnum}_]+)*):([\\p{Alpha}]*):([\\p{Alnum}_]+(/[\\p{Alnum}_]+)*)$"
3523            }
3524        },
3525        "com.amazonaws.iotthingsgraph#Urns": {
3526            "type": "list",
3527            "member": {
3528                "target": "com.amazonaws.iotthingsgraph#Urn"
3529            },
3530            "traits": {
3531                "smithy.api#length": {
3532                    "min": 0,
3533                    "max": 25
3534                }
3535            }
3536        },
3537        "com.amazonaws.iotthingsgraph#Version": {
3538            "type": "long",
3539            "traits": {
3540                "smithy.api#box": {}
3541            }
3542        }
3543    }
3544}
3545