@aws-sdk/client-iotthingsgraph 3.306.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist-cjs/commands/AssociateEntityToThingCommand.js +2 -2
  2. package/dist-cjs/commands/CreateFlowTemplateCommand.js +2 -2
  3. package/dist-cjs/commands/CreateSystemInstanceCommand.js +2 -2
  4. package/dist-cjs/commands/CreateSystemTemplateCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteFlowTemplateCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteNamespaceCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteSystemInstanceCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteSystemTemplateCommand.js +2 -2
  9. package/dist-cjs/commands/DeploySystemInstanceCommand.js +2 -2
  10. package/dist-cjs/commands/DeprecateFlowTemplateCommand.js +2 -2
  11. package/dist-cjs/commands/DeprecateSystemTemplateCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeNamespaceCommand.js +2 -2
  13. package/dist-cjs/commands/DissociateEntityFromThingCommand.js +2 -2
  14. package/dist-cjs/commands/GetEntitiesCommand.js +2 -2
  15. package/dist-cjs/commands/GetFlowTemplateCommand.js +2 -2
  16. package/dist-cjs/commands/GetFlowTemplateRevisionsCommand.js +2 -2
  17. package/dist-cjs/commands/GetNamespaceDeletionStatusCommand.js +2 -2
  18. package/dist-cjs/commands/GetSystemInstanceCommand.js +2 -2
  19. package/dist-cjs/commands/GetSystemTemplateCommand.js +2 -2
  20. package/dist-cjs/commands/GetSystemTemplateRevisionsCommand.js +2 -2
  21. package/dist-cjs/commands/GetUploadStatusCommand.js +2 -2
  22. package/dist-cjs/commands/ListFlowExecutionMessagesCommand.js +2 -2
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  24. package/dist-cjs/commands/SearchEntitiesCommand.js +2 -2
  25. package/dist-cjs/commands/SearchFlowExecutionsCommand.js +2 -2
  26. package/dist-cjs/commands/SearchFlowTemplatesCommand.js +2 -2
  27. package/dist-cjs/commands/SearchSystemInstancesCommand.js +2 -2
  28. package/dist-cjs/commands/SearchSystemTemplatesCommand.js +2 -2
  29. package/dist-cjs/commands/SearchThingsCommand.js +2 -2
  30. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  31. package/dist-cjs/commands/UndeploySystemInstanceCommand.js +2 -2
  32. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  33. package/dist-cjs/commands/UpdateFlowTemplateCommand.js +2 -2
  34. package/dist-cjs/commands/UpdateSystemTemplateCommand.js +2 -2
  35. package/dist-cjs/commands/UploadEntityDefinitionsCommand.js +2 -2
  36. package/dist-cjs/protocols/Aws_json1_1.js +617 -625
  37. package/dist-es/commands/AssociateEntityToThingCommand.js +3 -3
  38. package/dist-es/commands/CreateFlowTemplateCommand.js +3 -3
  39. package/dist-es/commands/CreateSystemInstanceCommand.js +3 -3
  40. package/dist-es/commands/CreateSystemTemplateCommand.js +3 -3
  41. package/dist-es/commands/DeleteFlowTemplateCommand.js +3 -3
  42. package/dist-es/commands/DeleteNamespaceCommand.js +3 -3
  43. package/dist-es/commands/DeleteSystemInstanceCommand.js +3 -3
  44. package/dist-es/commands/DeleteSystemTemplateCommand.js +3 -3
  45. package/dist-es/commands/DeploySystemInstanceCommand.js +3 -3
  46. package/dist-es/commands/DeprecateFlowTemplateCommand.js +3 -3
  47. package/dist-es/commands/DeprecateSystemTemplateCommand.js +3 -3
  48. package/dist-es/commands/DescribeNamespaceCommand.js +3 -3
  49. package/dist-es/commands/DissociateEntityFromThingCommand.js +3 -3
  50. package/dist-es/commands/GetEntitiesCommand.js +3 -3
  51. package/dist-es/commands/GetFlowTemplateCommand.js +3 -3
  52. package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +3 -3
  53. package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +3 -3
  54. package/dist-es/commands/GetSystemInstanceCommand.js +3 -3
  55. package/dist-es/commands/GetSystemTemplateCommand.js +3 -3
  56. package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +3 -3
  57. package/dist-es/commands/GetUploadStatusCommand.js +3 -3
  58. package/dist-es/commands/ListFlowExecutionMessagesCommand.js +3 -3
  59. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  60. package/dist-es/commands/SearchEntitiesCommand.js +3 -3
  61. package/dist-es/commands/SearchFlowExecutionsCommand.js +3 -3
  62. package/dist-es/commands/SearchFlowTemplatesCommand.js +3 -3
  63. package/dist-es/commands/SearchSystemInstancesCommand.js +3 -3
  64. package/dist-es/commands/SearchSystemTemplatesCommand.js +3 -3
  65. package/dist-es/commands/SearchThingsCommand.js +3 -3
  66. package/dist-es/commands/TagResourceCommand.js +3 -3
  67. package/dist-es/commands/UndeploySystemInstanceCommand.js +3 -3
  68. package/dist-es/commands/UntagResourceCommand.js +3 -3
  69. package/dist-es/commands/UpdateFlowTemplateCommand.js +3 -3
  70. package/dist-es/commands/UpdateSystemTemplateCommand.js +3 -3
  71. package/dist-es/commands/UploadEntityDefinitionsCommand.js +3 -3
  72. package/dist-es/protocols/Aws_json1_1.js +545 -553
  73. package/dist-types/protocols/Aws_json1_1.d.ts +280 -70
  74. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +70 -70
  75. package/package.json +6 -6
@@ -1,376 +1,376 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_json1_1GetFlowTemplateCommand = exports.deserializeAws_json1_1GetEntitiesCommand = exports.deserializeAws_json1_1DissociateEntityFromThingCommand = exports.deserializeAws_json1_1DescribeNamespaceCommand = exports.deserializeAws_json1_1DeprecateSystemTemplateCommand = exports.deserializeAws_json1_1DeprecateFlowTemplateCommand = exports.deserializeAws_json1_1DeploySystemInstanceCommand = exports.deserializeAws_json1_1DeleteSystemTemplateCommand = exports.deserializeAws_json1_1DeleteSystemInstanceCommand = exports.deserializeAws_json1_1DeleteNamespaceCommand = exports.deserializeAws_json1_1DeleteFlowTemplateCommand = exports.deserializeAws_json1_1CreateSystemTemplateCommand = exports.deserializeAws_json1_1CreateSystemInstanceCommand = exports.deserializeAws_json1_1CreateFlowTemplateCommand = exports.deserializeAws_json1_1AssociateEntityToThingCommand = exports.serializeAws_json1_1UploadEntityDefinitionsCommand = exports.serializeAws_json1_1UpdateSystemTemplateCommand = exports.serializeAws_json1_1UpdateFlowTemplateCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1UndeploySystemInstanceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1SearchThingsCommand = exports.serializeAws_json1_1SearchSystemTemplatesCommand = exports.serializeAws_json1_1SearchSystemInstancesCommand = exports.serializeAws_json1_1SearchFlowTemplatesCommand = exports.serializeAws_json1_1SearchFlowExecutionsCommand = exports.serializeAws_json1_1SearchEntitiesCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListFlowExecutionMessagesCommand = exports.serializeAws_json1_1GetUploadStatusCommand = exports.serializeAws_json1_1GetSystemTemplateRevisionsCommand = exports.serializeAws_json1_1GetSystemTemplateCommand = exports.serializeAws_json1_1GetSystemInstanceCommand = exports.serializeAws_json1_1GetNamespaceDeletionStatusCommand = exports.serializeAws_json1_1GetFlowTemplateRevisionsCommand = exports.serializeAws_json1_1GetFlowTemplateCommand = exports.serializeAws_json1_1GetEntitiesCommand = exports.serializeAws_json1_1DissociateEntityFromThingCommand = exports.serializeAws_json1_1DescribeNamespaceCommand = exports.serializeAws_json1_1DeprecateSystemTemplateCommand = exports.serializeAws_json1_1DeprecateFlowTemplateCommand = exports.serializeAws_json1_1DeploySystemInstanceCommand = exports.serializeAws_json1_1DeleteSystemTemplateCommand = exports.serializeAws_json1_1DeleteSystemInstanceCommand = exports.serializeAws_json1_1DeleteNamespaceCommand = exports.serializeAws_json1_1DeleteFlowTemplateCommand = exports.serializeAws_json1_1CreateSystemTemplateCommand = exports.serializeAws_json1_1CreateSystemInstanceCommand = exports.serializeAws_json1_1CreateFlowTemplateCommand = exports.serializeAws_json1_1AssociateEntityToThingCommand = void 0;
4
- exports.deserializeAws_json1_1UploadEntityDefinitionsCommand = exports.deserializeAws_json1_1UpdateSystemTemplateCommand = exports.deserializeAws_json1_1UpdateFlowTemplateCommand = exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1UndeploySystemInstanceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1SearchThingsCommand = exports.deserializeAws_json1_1SearchSystemTemplatesCommand = exports.deserializeAws_json1_1SearchSystemInstancesCommand = exports.deserializeAws_json1_1SearchFlowTemplatesCommand = exports.deserializeAws_json1_1SearchFlowExecutionsCommand = exports.deserializeAws_json1_1SearchEntitiesCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListFlowExecutionMessagesCommand = exports.deserializeAws_json1_1GetUploadStatusCommand = exports.deserializeAws_json1_1GetSystemTemplateRevisionsCommand = exports.deserializeAws_json1_1GetSystemTemplateCommand = exports.deserializeAws_json1_1GetSystemInstanceCommand = exports.deserializeAws_json1_1GetNamespaceDeletionStatusCommand = exports.deserializeAws_json1_1GetFlowTemplateRevisionsCommand = void 0;
3
+ exports.de_GetFlowTemplateCommand = exports.de_GetEntitiesCommand = exports.de_DissociateEntityFromThingCommand = exports.de_DescribeNamespaceCommand = exports.de_DeprecateSystemTemplateCommand = exports.de_DeprecateFlowTemplateCommand = exports.de_DeploySystemInstanceCommand = exports.de_DeleteSystemTemplateCommand = exports.de_DeleteSystemInstanceCommand = exports.de_DeleteNamespaceCommand = exports.de_DeleteFlowTemplateCommand = exports.de_CreateSystemTemplateCommand = exports.de_CreateSystemInstanceCommand = exports.de_CreateFlowTemplateCommand = exports.de_AssociateEntityToThingCommand = exports.se_UploadEntityDefinitionsCommand = exports.se_UpdateSystemTemplateCommand = exports.se_UpdateFlowTemplateCommand = exports.se_UntagResourceCommand = exports.se_UndeploySystemInstanceCommand = exports.se_TagResourceCommand = exports.se_SearchThingsCommand = exports.se_SearchSystemTemplatesCommand = exports.se_SearchSystemInstancesCommand = exports.se_SearchFlowTemplatesCommand = exports.se_SearchFlowExecutionsCommand = exports.se_SearchEntitiesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListFlowExecutionMessagesCommand = exports.se_GetUploadStatusCommand = exports.se_GetSystemTemplateRevisionsCommand = exports.se_GetSystemTemplateCommand = exports.se_GetSystemInstanceCommand = exports.se_GetNamespaceDeletionStatusCommand = exports.se_GetFlowTemplateRevisionsCommand = exports.se_GetFlowTemplateCommand = exports.se_GetEntitiesCommand = exports.se_DissociateEntityFromThingCommand = exports.se_DescribeNamespaceCommand = exports.se_DeprecateSystemTemplateCommand = exports.se_DeprecateFlowTemplateCommand = exports.se_DeploySystemInstanceCommand = exports.se_DeleteSystemTemplateCommand = exports.se_DeleteSystemInstanceCommand = exports.se_DeleteNamespaceCommand = exports.se_DeleteFlowTemplateCommand = exports.se_CreateSystemTemplateCommand = exports.se_CreateSystemInstanceCommand = exports.se_CreateFlowTemplateCommand = exports.se_AssociateEntityToThingCommand = void 0;
4
+ exports.de_UploadEntityDefinitionsCommand = exports.de_UpdateSystemTemplateCommand = exports.de_UpdateFlowTemplateCommand = exports.de_UntagResourceCommand = exports.de_UndeploySystemInstanceCommand = exports.de_TagResourceCommand = exports.de_SearchThingsCommand = exports.de_SearchSystemTemplatesCommand = exports.de_SearchSystemInstancesCommand = exports.de_SearchFlowTemplatesCommand = exports.de_SearchFlowExecutionsCommand = exports.de_SearchEntitiesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListFlowExecutionMessagesCommand = exports.de_GetUploadStatusCommand = exports.de_GetSystemTemplateRevisionsCommand = exports.de_GetSystemTemplateCommand = exports.de_GetSystemInstanceCommand = exports.de_GetNamespaceDeletionStatusCommand = exports.de_GetFlowTemplateRevisionsCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const IoTThingsGraphServiceException_1 = require("../models/IoTThingsGraphServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
- const serializeAws_json1_1AssociateEntityToThingCommand = async (input, context) => {
9
+ const se_AssociateEntityToThingCommand = async (input, context) => {
10
10
  const headers = {
11
11
  "content-type": "application/x-amz-json-1.1",
12
12
  "x-amz-target": "IotThingsGraphFrontEndService.AssociateEntityToThing",
13
13
  };
14
14
  let body;
15
- body = JSON.stringify(serializeAws_json1_1AssociateEntityToThingRequest(input, context));
15
+ body = JSON.stringify(se_AssociateEntityToThingRequest(input, context));
16
16
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
17
17
  };
18
- exports.serializeAws_json1_1AssociateEntityToThingCommand = serializeAws_json1_1AssociateEntityToThingCommand;
19
- const serializeAws_json1_1CreateFlowTemplateCommand = async (input, context) => {
18
+ exports.se_AssociateEntityToThingCommand = se_AssociateEntityToThingCommand;
19
+ const se_CreateFlowTemplateCommand = async (input, context) => {
20
20
  const headers = {
21
21
  "content-type": "application/x-amz-json-1.1",
22
22
  "x-amz-target": "IotThingsGraphFrontEndService.CreateFlowTemplate",
23
23
  };
24
24
  let body;
25
- body = JSON.stringify(serializeAws_json1_1CreateFlowTemplateRequest(input, context));
25
+ body = JSON.stringify(se_CreateFlowTemplateRequest(input, context));
26
26
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
27
27
  };
28
- exports.serializeAws_json1_1CreateFlowTemplateCommand = serializeAws_json1_1CreateFlowTemplateCommand;
29
- const serializeAws_json1_1CreateSystemInstanceCommand = async (input, context) => {
28
+ exports.se_CreateFlowTemplateCommand = se_CreateFlowTemplateCommand;
29
+ const se_CreateSystemInstanceCommand = async (input, context) => {
30
30
  const headers = {
31
31
  "content-type": "application/x-amz-json-1.1",
32
32
  "x-amz-target": "IotThingsGraphFrontEndService.CreateSystemInstance",
33
33
  };
34
34
  let body;
35
- body = JSON.stringify(serializeAws_json1_1CreateSystemInstanceRequest(input, context));
35
+ body = JSON.stringify(se_CreateSystemInstanceRequest(input, context));
36
36
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
37
37
  };
38
- exports.serializeAws_json1_1CreateSystemInstanceCommand = serializeAws_json1_1CreateSystemInstanceCommand;
39
- const serializeAws_json1_1CreateSystemTemplateCommand = async (input, context) => {
38
+ exports.se_CreateSystemInstanceCommand = se_CreateSystemInstanceCommand;
39
+ const se_CreateSystemTemplateCommand = async (input, context) => {
40
40
  const headers = {
41
41
  "content-type": "application/x-amz-json-1.1",
42
42
  "x-amz-target": "IotThingsGraphFrontEndService.CreateSystemTemplate",
43
43
  };
44
44
  let body;
45
- body = JSON.stringify(serializeAws_json1_1CreateSystemTemplateRequest(input, context));
45
+ body = JSON.stringify(se_CreateSystemTemplateRequest(input, context));
46
46
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
47
47
  };
48
- exports.serializeAws_json1_1CreateSystemTemplateCommand = serializeAws_json1_1CreateSystemTemplateCommand;
49
- const serializeAws_json1_1DeleteFlowTemplateCommand = async (input, context) => {
48
+ exports.se_CreateSystemTemplateCommand = se_CreateSystemTemplateCommand;
49
+ const se_DeleteFlowTemplateCommand = async (input, context) => {
50
50
  const headers = {
51
51
  "content-type": "application/x-amz-json-1.1",
52
52
  "x-amz-target": "IotThingsGraphFrontEndService.DeleteFlowTemplate",
53
53
  };
54
54
  let body;
55
- body = JSON.stringify(serializeAws_json1_1DeleteFlowTemplateRequest(input, context));
55
+ body = JSON.stringify(se_DeleteFlowTemplateRequest(input, context));
56
56
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
57
57
  };
58
- exports.serializeAws_json1_1DeleteFlowTemplateCommand = serializeAws_json1_1DeleteFlowTemplateCommand;
59
- const serializeAws_json1_1DeleteNamespaceCommand = async (input, context) => {
58
+ exports.se_DeleteFlowTemplateCommand = se_DeleteFlowTemplateCommand;
59
+ const se_DeleteNamespaceCommand = async (input, context) => {
60
60
  const headers = {
61
61
  "content-type": "application/x-amz-json-1.1",
62
62
  "x-amz-target": "IotThingsGraphFrontEndService.DeleteNamespace",
63
63
  };
64
64
  let body;
65
- body = JSON.stringify(serializeAws_json1_1DeleteNamespaceRequest(input, context));
65
+ body = JSON.stringify(se_DeleteNamespaceRequest(input, context));
66
66
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
67
67
  };
68
- exports.serializeAws_json1_1DeleteNamespaceCommand = serializeAws_json1_1DeleteNamespaceCommand;
69
- const serializeAws_json1_1DeleteSystemInstanceCommand = async (input, context) => {
68
+ exports.se_DeleteNamespaceCommand = se_DeleteNamespaceCommand;
69
+ const se_DeleteSystemInstanceCommand = async (input, context) => {
70
70
  const headers = {
71
71
  "content-type": "application/x-amz-json-1.1",
72
72
  "x-amz-target": "IotThingsGraphFrontEndService.DeleteSystemInstance",
73
73
  };
74
74
  let body;
75
- body = JSON.stringify(serializeAws_json1_1DeleteSystemInstanceRequest(input, context));
75
+ body = JSON.stringify(se_DeleteSystemInstanceRequest(input, context));
76
76
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
77
77
  };
78
- exports.serializeAws_json1_1DeleteSystemInstanceCommand = serializeAws_json1_1DeleteSystemInstanceCommand;
79
- const serializeAws_json1_1DeleteSystemTemplateCommand = async (input, context) => {
78
+ exports.se_DeleteSystemInstanceCommand = se_DeleteSystemInstanceCommand;
79
+ const se_DeleteSystemTemplateCommand = async (input, context) => {
80
80
  const headers = {
81
81
  "content-type": "application/x-amz-json-1.1",
82
82
  "x-amz-target": "IotThingsGraphFrontEndService.DeleteSystemTemplate",
83
83
  };
84
84
  let body;
85
- body = JSON.stringify(serializeAws_json1_1DeleteSystemTemplateRequest(input, context));
85
+ body = JSON.stringify(se_DeleteSystemTemplateRequest(input, context));
86
86
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
87
87
  };
88
- exports.serializeAws_json1_1DeleteSystemTemplateCommand = serializeAws_json1_1DeleteSystemTemplateCommand;
89
- const serializeAws_json1_1DeploySystemInstanceCommand = async (input, context) => {
88
+ exports.se_DeleteSystemTemplateCommand = se_DeleteSystemTemplateCommand;
89
+ const se_DeploySystemInstanceCommand = async (input, context) => {
90
90
  const headers = {
91
91
  "content-type": "application/x-amz-json-1.1",
92
92
  "x-amz-target": "IotThingsGraphFrontEndService.DeploySystemInstance",
93
93
  };
94
94
  let body;
95
- body = JSON.stringify(serializeAws_json1_1DeploySystemInstanceRequest(input, context));
95
+ body = JSON.stringify(se_DeploySystemInstanceRequest(input, context));
96
96
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
97
97
  };
98
- exports.serializeAws_json1_1DeploySystemInstanceCommand = serializeAws_json1_1DeploySystemInstanceCommand;
99
- const serializeAws_json1_1DeprecateFlowTemplateCommand = async (input, context) => {
98
+ exports.se_DeploySystemInstanceCommand = se_DeploySystemInstanceCommand;
99
+ const se_DeprecateFlowTemplateCommand = async (input, context) => {
100
100
  const headers = {
101
101
  "content-type": "application/x-amz-json-1.1",
102
102
  "x-amz-target": "IotThingsGraphFrontEndService.DeprecateFlowTemplate",
103
103
  };
104
104
  let body;
105
- body = JSON.stringify(serializeAws_json1_1DeprecateFlowTemplateRequest(input, context));
105
+ body = JSON.stringify(se_DeprecateFlowTemplateRequest(input, context));
106
106
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
107
107
  };
108
- exports.serializeAws_json1_1DeprecateFlowTemplateCommand = serializeAws_json1_1DeprecateFlowTemplateCommand;
109
- const serializeAws_json1_1DeprecateSystemTemplateCommand = async (input, context) => {
108
+ exports.se_DeprecateFlowTemplateCommand = se_DeprecateFlowTemplateCommand;
109
+ const se_DeprecateSystemTemplateCommand = async (input, context) => {
110
110
  const headers = {
111
111
  "content-type": "application/x-amz-json-1.1",
112
112
  "x-amz-target": "IotThingsGraphFrontEndService.DeprecateSystemTemplate",
113
113
  };
114
114
  let body;
115
- body = JSON.stringify(serializeAws_json1_1DeprecateSystemTemplateRequest(input, context));
115
+ body = JSON.stringify(se_DeprecateSystemTemplateRequest(input, context));
116
116
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
117
117
  };
118
- exports.serializeAws_json1_1DeprecateSystemTemplateCommand = serializeAws_json1_1DeprecateSystemTemplateCommand;
119
- const serializeAws_json1_1DescribeNamespaceCommand = async (input, context) => {
118
+ exports.se_DeprecateSystemTemplateCommand = se_DeprecateSystemTemplateCommand;
119
+ const se_DescribeNamespaceCommand = async (input, context) => {
120
120
  const headers = {
121
121
  "content-type": "application/x-amz-json-1.1",
122
122
  "x-amz-target": "IotThingsGraphFrontEndService.DescribeNamespace",
123
123
  };
124
124
  let body;
125
- body = JSON.stringify(serializeAws_json1_1DescribeNamespaceRequest(input, context));
125
+ body = JSON.stringify(se_DescribeNamespaceRequest(input, context));
126
126
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
127
127
  };
128
- exports.serializeAws_json1_1DescribeNamespaceCommand = serializeAws_json1_1DescribeNamespaceCommand;
129
- const serializeAws_json1_1DissociateEntityFromThingCommand = async (input, context) => {
128
+ exports.se_DescribeNamespaceCommand = se_DescribeNamespaceCommand;
129
+ const se_DissociateEntityFromThingCommand = async (input, context) => {
130
130
  const headers = {
131
131
  "content-type": "application/x-amz-json-1.1",
132
132
  "x-amz-target": "IotThingsGraphFrontEndService.DissociateEntityFromThing",
133
133
  };
134
134
  let body;
135
- body = JSON.stringify(serializeAws_json1_1DissociateEntityFromThingRequest(input, context));
135
+ body = JSON.stringify(se_DissociateEntityFromThingRequest(input, context));
136
136
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
137
137
  };
138
- exports.serializeAws_json1_1DissociateEntityFromThingCommand = serializeAws_json1_1DissociateEntityFromThingCommand;
139
- const serializeAws_json1_1GetEntitiesCommand = async (input, context) => {
138
+ exports.se_DissociateEntityFromThingCommand = se_DissociateEntityFromThingCommand;
139
+ const se_GetEntitiesCommand = async (input, context) => {
140
140
  const headers = {
141
141
  "content-type": "application/x-amz-json-1.1",
142
142
  "x-amz-target": "IotThingsGraphFrontEndService.GetEntities",
143
143
  };
144
144
  let body;
145
- body = JSON.stringify(serializeAws_json1_1GetEntitiesRequest(input, context));
145
+ body = JSON.stringify(se_GetEntitiesRequest(input, context));
146
146
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
147
147
  };
148
- exports.serializeAws_json1_1GetEntitiesCommand = serializeAws_json1_1GetEntitiesCommand;
149
- const serializeAws_json1_1GetFlowTemplateCommand = async (input, context) => {
148
+ exports.se_GetEntitiesCommand = se_GetEntitiesCommand;
149
+ const se_GetFlowTemplateCommand = async (input, context) => {
150
150
  const headers = {
151
151
  "content-type": "application/x-amz-json-1.1",
152
152
  "x-amz-target": "IotThingsGraphFrontEndService.GetFlowTemplate",
153
153
  };
154
154
  let body;
155
- body = JSON.stringify(serializeAws_json1_1GetFlowTemplateRequest(input, context));
155
+ body = JSON.stringify(se_GetFlowTemplateRequest(input, context));
156
156
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
157
157
  };
158
- exports.serializeAws_json1_1GetFlowTemplateCommand = serializeAws_json1_1GetFlowTemplateCommand;
159
- const serializeAws_json1_1GetFlowTemplateRevisionsCommand = async (input, context) => {
158
+ exports.se_GetFlowTemplateCommand = se_GetFlowTemplateCommand;
159
+ const se_GetFlowTemplateRevisionsCommand = async (input, context) => {
160
160
  const headers = {
161
161
  "content-type": "application/x-amz-json-1.1",
162
162
  "x-amz-target": "IotThingsGraphFrontEndService.GetFlowTemplateRevisions",
163
163
  };
164
164
  let body;
165
- body = JSON.stringify(serializeAws_json1_1GetFlowTemplateRevisionsRequest(input, context));
165
+ body = JSON.stringify(se_GetFlowTemplateRevisionsRequest(input, context));
166
166
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
167
167
  };
168
- exports.serializeAws_json1_1GetFlowTemplateRevisionsCommand = serializeAws_json1_1GetFlowTemplateRevisionsCommand;
169
- const serializeAws_json1_1GetNamespaceDeletionStatusCommand = async (input, context) => {
168
+ exports.se_GetFlowTemplateRevisionsCommand = se_GetFlowTemplateRevisionsCommand;
169
+ const se_GetNamespaceDeletionStatusCommand = async (input, context) => {
170
170
  const headers = {
171
171
  "content-type": "application/x-amz-json-1.1",
172
172
  "x-amz-target": "IotThingsGraphFrontEndService.GetNamespaceDeletionStatus",
173
173
  };
174
174
  let body;
175
- body = JSON.stringify(serializeAws_json1_1GetNamespaceDeletionStatusRequest(input, context));
175
+ body = JSON.stringify(se_GetNamespaceDeletionStatusRequest(input, context));
176
176
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
177
177
  };
178
- exports.serializeAws_json1_1GetNamespaceDeletionStatusCommand = serializeAws_json1_1GetNamespaceDeletionStatusCommand;
179
- const serializeAws_json1_1GetSystemInstanceCommand = async (input, context) => {
178
+ exports.se_GetNamespaceDeletionStatusCommand = se_GetNamespaceDeletionStatusCommand;
179
+ const se_GetSystemInstanceCommand = async (input, context) => {
180
180
  const headers = {
181
181
  "content-type": "application/x-amz-json-1.1",
182
182
  "x-amz-target": "IotThingsGraphFrontEndService.GetSystemInstance",
183
183
  };
184
184
  let body;
185
- body = JSON.stringify(serializeAws_json1_1GetSystemInstanceRequest(input, context));
185
+ body = JSON.stringify(se_GetSystemInstanceRequest(input, context));
186
186
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
187
187
  };
188
- exports.serializeAws_json1_1GetSystemInstanceCommand = serializeAws_json1_1GetSystemInstanceCommand;
189
- const serializeAws_json1_1GetSystemTemplateCommand = async (input, context) => {
188
+ exports.se_GetSystemInstanceCommand = se_GetSystemInstanceCommand;
189
+ const se_GetSystemTemplateCommand = async (input, context) => {
190
190
  const headers = {
191
191
  "content-type": "application/x-amz-json-1.1",
192
192
  "x-amz-target": "IotThingsGraphFrontEndService.GetSystemTemplate",
193
193
  };
194
194
  let body;
195
- body = JSON.stringify(serializeAws_json1_1GetSystemTemplateRequest(input, context));
195
+ body = JSON.stringify(se_GetSystemTemplateRequest(input, context));
196
196
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
197
197
  };
198
- exports.serializeAws_json1_1GetSystemTemplateCommand = serializeAws_json1_1GetSystemTemplateCommand;
199
- const serializeAws_json1_1GetSystemTemplateRevisionsCommand = async (input, context) => {
198
+ exports.se_GetSystemTemplateCommand = se_GetSystemTemplateCommand;
199
+ const se_GetSystemTemplateRevisionsCommand = async (input, context) => {
200
200
  const headers = {
201
201
  "content-type": "application/x-amz-json-1.1",
202
202
  "x-amz-target": "IotThingsGraphFrontEndService.GetSystemTemplateRevisions",
203
203
  };
204
204
  let body;
205
- body = JSON.stringify(serializeAws_json1_1GetSystemTemplateRevisionsRequest(input, context));
205
+ body = JSON.stringify(se_GetSystemTemplateRevisionsRequest(input, context));
206
206
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
207
207
  };
208
- exports.serializeAws_json1_1GetSystemTemplateRevisionsCommand = serializeAws_json1_1GetSystemTemplateRevisionsCommand;
209
- const serializeAws_json1_1GetUploadStatusCommand = async (input, context) => {
208
+ exports.se_GetSystemTemplateRevisionsCommand = se_GetSystemTemplateRevisionsCommand;
209
+ const se_GetUploadStatusCommand = async (input, context) => {
210
210
  const headers = {
211
211
  "content-type": "application/x-amz-json-1.1",
212
212
  "x-amz-target": "IotThingsGraphFrontEndService.GetUploadStatus",
213
213
  };
214
214
  let body;
215
- body = JSON.stringify(serializeAws_json1_1GetUploadStatusRequest(input, context));
215
+ body = JSON.stringify(se_GetUploadStatusRequest(input, context));
216
216
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
217
217
  };
218
- exports.serializeAws_json1_1GetUploadStatusCommand = serializeAws_json1_1GetUploadStatusCommand;
219
- const serializeAws_json1_1ListFlowExecutionMessagesCommand = async (input, context) => {
218
+ exports.se_GetUploadStatusCommand = se_GetUploadStatusCommand;
219
+ const se_ListFlowExecutionMessagesCommand = async (input, context) => {
220
220
  const headers = {
221
221
  "content-type": "application/x-amz-json-1.1",
222
222
  "x-amz-target": "IotThingsGraphFrontEndService.ListFlowExecutionMessages",
223
223
  };
224
224
  let body;
225
- body = JSON.stringify(serializeAws_json1_1ListFlowExecutionMessagesRequest(input, context));
225
+ body = JSON.stringify(se_ListFlowExecutionMessagesRequest(input, context));
226
226
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
227
227
  };
228
- exports.serializeAws_json1_1ListFlowExecutionMessagesCommand = serializeAws_json1_1ListFlowExecutionMessagesCommand;
229
- const serializeAws_json1_1ListTagsForResourceCommand = async (input, context) => {
228
+ exports.se_ListFlowExecutionMessagesCommand = se_ListFlowExecutionMessagesCommand;
229
+ const se_ListTagsForResourceCommand = async (input, context) => {
230
230
  const headers = {
231
231
  "content-type": "application/x-amz-json-1.1",
232
232
  "x-amz-target": "IotThingsGraphFrontEndService.ListTagsForResource",
233
233
  };
234
234
  let body;
235
- body = JSON.stringify(serializeAws_json1_1ListTagsForResourceRequest(input, context));
235
+ body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
236
236
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
237
237
  };
238
- exports.serializeAws_json1_1ListTagsForResourceCommand = serializeAws_json1_1ListTagsForResourceCommand;
239
- const serializeAws_json1_1SearchEntitiesCommand = async (input, context) => {
238
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
239
+ const se_SearchEntitiesCommand = async (input, context) => {
240
240
  const headers = {
241
241
  "content-type": "application/x-amz-json-1.1",
242
242
  "x-amz-target": "IotThingsGraphFrontEndService.SearchEntities",
243
243
  };
244
244
  let body;
245
- body = JSON.stringify(serializeAws_json1_1SearchEntitiesRequest(input, context));
245
+ body = JSON.stringify(se_SearchEntitiesRequest(input, context));
246
246
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
247
247
  };
248
- exports.serializeAws_json1_1SearchEntitiesCommand = serializeAws_json1_1SearchEntitiesCommand;
249
- const serializeAws_json1_1SearchFlowExecutionsCommand = async (input, context) => {
248
+ exports.se_SearchEntitiesCommand = se_SearchEntitiesCommand;
249
+ const se_SearchFlowExecutionsCommand = async (input, context) => {
250
250
  const headers = {
251
251
  "content-type": "application/x-amz-json-1.1",
252
252
  "x-amz-target": "IotThingsGraphFrontEndService.SearchFlowExecutions",
253
253
  };
254
254
  let body;
255
- body = JSON.stringify(serializeAws_json1_1SearchFlowExecutionsRequest(input, context));
255
+ body = JSON.stringify(se_SearchFlowExecutionsRequest(input, context));
256
256
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
257
257
  };
258
- exports.serializeAws_json1_1SearchFlowExecutionsCommand = serializeAws_json1_1SearchFlowExecutionsCommand;
259
- const serializeAws_json1_1SearchFlowTemplatesCommand = async (input, context) => {
258
+ exports.se_SearchFlowExecutionsCommand = se_SearchFlowExecutionsCommand;
259
+ const se_SearchFlowTemplatesCommand = async (input, context) => {
260
260
  const headers = {
261
261
  "content-type": "application/x-amz-json-1.1",
262
262
  "x-amz-target": "IotThingsGraphFrontEndService.SearchFlowTemplates",
263
263
  };
264
264
  let body;
265
- body = JSON.stringify(serializeAws_json1_1SearchFlowTemplatesRequest(input, context));
265
+ body = JSON.stringify(se_SearchFlowTemplatesRequest(input, context));
266
266
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
267
267
  };
268
- exports.serializeAws_json1_1SearchFlowTemplatesCommand = serializeAws_json1_1SearchFlowTemplatesCommand;
269
- const serializeAws_json1_1SearchSystemInstancesCommand = async (input, context) => {
268
+ exports.se_SearchFlowTemplatesCommand = se_SearchFlowTemplatesCommand;
269
+ const se_SearchSystemInstancesCommand = async (input, context) => {
270
270
  const headers = {
271
271
  "content-type": "application/x-amz-json-1.1",
272
272
  "x-amz-target": "IotThingsGraphFrontEndService.SearchSystemInstances",
273
273
  };
274
274
  let body;
275
- body = JSON.stringify(serializeAws_json1_1SearchSystemInstancesRequest(input, context));
275
+ body = JSON.stringify(se_SearchSystemInstancesRequest(input, context));
276
276
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
277
277
  };
278
- exports.serializeAws_json1_1SearchSystemInstancesCommand = serializeAws_json1_1SearchSystemInstancesCommand;
279
- const serializeAws_json1_1SearchSystemTemplatesCommand = async (input, context) => {
278
+ exports.se_SearchSystemInstancesCommand = se_SearchSystemInstancesCommand;
279
+ const se_SearchSystemTemplatesCommand = async (input, context) => {
280
280
  const headers = {
281
281
  "content-type": "application/x-amz-json-1.1",
282
282
  "x-amz-target": "IotThingsGraphFrontEndService.SearchSystemTemplates",
283
283
  };
284
284
  let body;
285
- body = JSON.stringify(serializeAws_json1_1SearchSystemTemplatesRequest(input, context));
285
+ body = JSON.stringify(se_SearchSystemTemplatesRequest(input, context));
286
286
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
287
287
  };
288
- exports.serializeAws_json1_1SearchSystemTemplatesCommand = serializeAws_json1_1SearchSystemTemplatesCommand;
289
- const serializeAws_json1_1SearchThingsCommand = async (input, context) => {
288
+ exports.se_SearchSystemTemplatesCommand = se_SearchSystemTemplatesCommand;
289
+ const se_SearchThingsCommand = async (input, context) => {
290
290
  const headers = {
291
291
  "content-type": "application/x-amz-json-1.1",
292
292
  "x-amz-target": "IotThingsGraphFrontEndService.SearchThings",
293
293
  };
294
294
  let body;
295
- body = JSON.stringify(serializeAws_json1_1SearchThingsRequest(input, context));
295
+ body = JSON.stringify(se_SearchThingsRequest(input, context));
296
296
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
297
297
  };
298
- exports.serializeAws_json1_1SearchThingsCommand = serializeAws_json1_1SearchThingsCommand;
299
- const serializeAws_json1_1TagResourceCommand = async (input, context) => {
298
+ exports.se_SearchThingsCommand = se_SearchThingsCommand;
299
+ const se_TagResourceCommand = async (input, context) => {
300
300
  const headers = {
301
301
  "content-type": "application/x-amz-json-1.1",
302
302
  "x-amz-target": "IotThingsGraphFrontEndService.TagResource",
303
303
  };
304
304
  let body;
305
- body = JSON.stringify(serializeAws_json1_1TagResourceRequest(input, context));
305
+ body = JSON.stringify(se_TagResourceRequest(input, context));
306
306
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
307
307
  };
308
- exports.serializeAws_json1_1TagResourceCommand = serializeAws_json1_1TagResourceCommand;
309
- const serializeAws_json1_1UndeploySystemInstanceCommand = async (input, context) => {
308
+ exports.se_TagResourceCommand = se_TagResourceCommand;
309
+ const se_UndeploySystemInstanceCommand = async (input, context) => {
310
310
  const headers = {
311
311
  "content-type": "application/x-amz-json-1.1",
312
312
  "x-amz-target": "IotThingsGraphFrontEndService.UndeploySystemInstance",
313
313
  };
314
314
  let body;
315
- body = JSON.stringify(serializeAws_json1_1UndeploySystemInstanceRequest(input, context));
315
+ body = JSON.stringify(se_UndeploySystemInstanceRequest(input, context));
316
316
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
317
317
  };
318
- exports.serializeAws_json1_1UndeploySystemInstanceCommand = serializeAws_json1_1UndeploySystemInstanceCommand;
319
- const serializeAws_json1_1UntagResourceCommand = async (input, context) => {
318
+ exports.se_UndeploySystemInstanceCommand = se_UndeploySystemInstanceCommand;
319
+ const se_UntagResourceCommand = async (input, context) => {
320
320
  const headers = {
321
321
  "content-type": "application/x-amz-json-1.1",
322
322
  "x-amz-target": "IotThingsGraphFrontEndService.UntagResource",
323
323
  };
324
324
  let body;
325
- body = JSON.stringify(serializeAws_json1_1UntagResourceRequest(input, context));
325
+ body = JSON.stringify(se_UntagResourceRequest(input, context));
326
326
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
327
327
  };
328
- exports.serializeAws_json1_1UntagResourceCommand = serializeAws_json1_1UntagResourceCommand;
329
- const serializeAws_json1_1UpdateFlowTemplateCommand = async (input, context) => {
328
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
329
+ const se_UpdateFlowTemplateCommand = async (input, context) => {
330
330
  const headers = {
331
331
  "content-type": "application/x-amz-json-1.1",
332
332
  "x-amz-target": "IotThingsGraphFrontEndService.UpdateFlowTemplate",
333
333
  };
334
334
  let body;
335
- body = JSON.stringify(serializeAws_json1_1UpdateFlowTemplateRequest(input, context));
335
+ body = JSON.stringify(se_UpdateFlowTemplateRequest(input, context));
336
336
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
337
337
  };
338
- exports.serializeAws_json1_1UpdateFlowTemplateCommand = serializeAws_json1_1UpdateFlowTemplateCommand;
339
- const serializeAws_json1_1UpdateSystemTemplateCommand = async (input, context) => {
338
+ exports.se_UpdateFlowTemplateCommand = se_UpdateFlowTemplateCommand;
339
+ const se_UpdateSystemTemplateCommand = async (input, context) => {
340
340
  const headers = {
341
341
  "content-type": "application/x-amz-json-1.1",
342
342
  "x-amz-target": "IotThingsGraphFrontEndService.UpdateSystemTemplate",
343
343
  };
344
344
  let body;
345
- body = JSON.stringify(serializeAws_json1_1UpdateSystemTemplateRequest(input, context));
345
+ body = JSON.stringify(se_UpdateSystemTemplateRequest(input, context));
346
346
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
347
347
  };
348
- exports.serializeAws_json1_1UpdateSystemTemplateCommand = serializeAws_json1_1UpdateSystemTemplateCommand;
349
- const serializeAws_json1_1UploadEntityDefinitionsCommand = async (input, context) => {
348
+ exports.se_UpdateSystemTemplateCommand = se_UpdateSystemTemplateCommand;
349
+ const se_UploadEntityDefinitionsCommand = async (input, context) => {
350
350
  const headers = {
351
351
  "content-type": "application/x-amz-json-1.1",
352
352
  "x-amz-target": "IotThingsGraphFrontEndService.UploadEntityDefinitions",
353
353
  };
354
354
  let body;
355
- body = JSON.stringify(serializeAws_json1_1UploadEntityDefinitionsRequest(input, context));
355
+ body = JSON.stringify(se_UploadEntityDefinitionsRequest(input, context));
356
356
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
357
357
  };
358
- exports.serializeAws_json1_1UploadEntityDefinitionsCommand = serializeAws_json1_1UploadEntityDefinitionsCommand;
359
- const deserializeAws_json1_1AssociateEntityToThingCommand = async (output, context) => {
358
+ exports.se_UploadEntityDefinitionsCommand = se_UploadEntityDefinitionsCommand;
359
+ const de_AssociateEntityToThingCommand = async (output, context) => {
360
360
  if (output.statusCode >= 300) {
361
- return deserializeAws_json1_1AssociateEntityToThingCommandError(output, context);
361
+ return de_AssociateEntityToThingCommandError(output, context);
362
362
  }
363
363
  const data = await parseBody(output.body, context);
364
364
  let contents = {};
365
- contents = deserializeAws_json1_1AssociateEntityToThingResponse(data, context);
365
+ contents = de_AssociateEntityToThingResponse(data, context);
366
366
  const response = {
367
367
  $metadata: deserializeMetadata(output),
368
368
  ...contents,
369
369
  };
370
370
  return Promise.resolve(response);
371
371
  };
372
- exports.deserializeAws_json1_1AssociateEntityToThingCommand = deserializeAws_json1_1AssociateEntityToThingCommand;
373
- const deserializeAws_json1_1AssociateEntityToThingCommandError = async (output, context) => {
372
+ exports.de_AssociateEntityToThingCommand = de_AssociateEntityToThingCommand;
373
+ const de_AssociateEntityToThingCommandError = async (output, context) => {
374
374
  const parsedOutput = {
375
375
  ...output,
376
376
  body: await parseErrorBody(output.body, context),
@@ -379,16 +379,16 @@ const deserializeAws_json1_1AssociateEntityToThingCommandError = async (output,
379
379
  switch (errorCode) {
380
380
  case "InternalFailureException":
381
381
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
382
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
382
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
383
383
  case "InvalidRequestException":
384
384
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
385
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
385
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
386
386
  case "ResourceNotFoundException":
387
387
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
388
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
388
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
389
389
  case "ThrottlingException":
390
390
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
391
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
391
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
392
392
  default:
393
393
  const parsedBody = parsedOutput.body;
394
394
  (0, smithy_client_1.throwDefaultError)({
@@ -399,21 +399,21 @@ const deserializeAws_json1_1AssociateEntityToThingCommandError = async (output,
399
399
  });
400
400
  }
401
401
  };
402
- const deserializeAws_json1_1CreateFlowTemplateCommand = async (output, context) => {
402
+ const de_CreateFlowTemplateCommand = async (output, context) => {
403
403
  if (output.statusCode >= 300) {
404
- return deserializeAws_json1_1CreateFlowTemplateCommandError(output, context);
404
+ return de_CreateFlowTemplateCommandError(output, context);
405
405
  }
406
406
  const data = await parseBody(output.body, context);
407
407
  let contents = {};
408
- contents = deserializeAws_json1_1CreateFlowTemplateResponse(data, context);
408
+ contents = de_CreateFlowTemplateResponse(data, context);
409
409
  const response = {
410
410
  $metadata: deserializeMetadata(output),
411
411
  ...contents,
412
412
  };
413
413
  return Promise.resolve(response);
414
414
  };
415
- exports.deserializeAws_json1_1CreateFlowTemplateCommand = deserializeAws_json1_1CreateFlowTemplateCommand;
416
- const deserializeAws_json1_1CreateFlowTemplateCommandError = async (output, context) => {
415
+ exports.de_CreateFlowTemplateCommand = de_CreateFlowTemplateCommand;
416
+ const de_CreateFlowTemplateCommandError = async (output, context) => {
417
417
  const parsedOutput = {
418
418
  ...output,
419
419
  body: await parseErrorBody(output.body, context),
@@ -422,19 +422,19 @@ const deserializeAws_json1_1CreateFlowTemplateCommandError = async (output, cont
422
422
  switch (errorCode) {
423
423
  case "InternalFailureException":
424
424
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
425
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
425
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
426
426
  case "InvalidRequestException":
427
427
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
428
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
428
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
429
429
  case "LimitExceededException":
430
430
  case "com.amazonaws.iotthingsgraph#LimitExceededException":
431
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
431
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
432
432
  case "ResourceAlreadyExistsException":
433
433
  case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
434
- throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
434
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
435
435
  case "ThrottlingException":
436
436
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
437
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
437
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
438
438
  default:
439
439
  const parsedBody = parsedOutput.body;
440
440
  (0, smithy_client_1.throwDefaultError)({
@@ -445,21 +445,21 @@ const deserializeAws_json1_1CreateFlowTemplateCommandError = async (output, cont
445
445
  });
446
446
  }
447
447
  };
448
- const deserializeAws_json1_1CreateSystemInstanceCommand = async (output, context) => {
448
+ const de_CreateSystemInstanceCommand = async (output, context) => {
449
449
  if (output.statusCode >= 300) {
450
- return deserializeAws_json1_1CreateSystemInstanceCommandError(output, context);
450
+ return de_CreateSystemInstanceCommandError(output, context);
451
451
  }
452
452
  const data = await parseBody(output.body, context);
453
453
  let contents = {};
454
- contents = deserializeAws_json1_1CreateSystemInstanceResponse(data, context);
454
+ contents = de_CreateSystemInstanceResponse(data, context);
455
455
  const response = {
456
456
  $metadata: deserializeMetadata(output),
457
457
  ...contents,
458
458
  };
459
459
  return Promise.resolve(response);
460
460
  };
461
- exports.deserializeAws_json1_1CreateSystemInstanceCommand = deserializeAws_json1_1CreateSystemInstanceCommand;
462
- const deserializeAws_json1_1CreateSystemInstanceCommandError = async (output, context) => {
461
+ exports.de_CreateSystemInstanceCommand = de_CreateSystemInstanceCommand;
462
+ const de_CreateSystemInstanceCommandError = async (output, context) => {
463
463
  const parsedOutput = {
464
464
  ...output,
465
465
  body: await parseErrorBody(output.body, context),
@@ -468,19 +468,19 @@ const deserializeAws_json1_1CreateSystemInstanceCommandError = async (output, co
468
468
  switch (errorCode) {
469
469
  case "InternalFailureException":
470
470
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
471
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
471
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
472
472
  case "InvalidRequestException":
473
473
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
474
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
474
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
475
475
  case "LimitExceededException":
476
476
  case "com.amazonaws.iotthingsgraph#LimitExceededException":
477
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
477
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
478
478
  case "ResourceAlreadyExistsException":
479
479
  case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
480
- throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
480
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
481
481
  case "ThrottlingException":
482
482
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
483
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
483
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
484
484
  default:
485
485
  const parsedBody = parsedOutput.body;
486
486
  (0, smithy_client_1.throwDefaultError)({
@@ -491,21 +491,21 @@ const deserializeAws_json1_1CreateSystemInstanceCommandError = async (output, co
491
491
  });
492
492
  }
493
493
  };
494
- const deserializeAws_json1_1CreateSystemTemplateCommand = async (output, context) => {
494
+ const de_CreateSystemTemplateCommand = async (output, context) => {
495
495
  if (output.statusCode >= 300) {
496
- return deserializeAws_json1_1CreateSystemTemplateCommandError(output, context);
496
+ return de_CreateSystemTemplateCommandError(output, context);
497
497
  }
498
498
  const data = await parseBody(output.body, context);
499
499
  let contents = {};
500
- contents = deserializeAws_json1_1CreateSystemTemplateResponse(data, context);
500
+ contents = de_CreateSystemTemplateResponse(data, context);
501
501
  const response = {
502
502
  $metadata: deserializeMetadata(output),
503
503
  ...contents,
504
504
  };
505
505
  return Promise.resolve(response);
506
506
  };
507
- exports.deserializeAws_json1_1CreateSystemTemplateCommand = deserializeAws_json1_1CreateSystemTemplateCommand;
508
- const deserializeAws_json1_1CreateSystemTemplateCommandError = async (output, context) => {
507
+ exports.de_CreateSystemTemplateCommand = de_CreateSystemTemplateCommand;
508
+ const de_CreateSystemTemplateCommandError = async (output, context) => {
509
509
  const parsedOutput = {
510
510
  ...output,
511
511
  body: await parseErrorBody(output.body, context),
@@ -514,16 +514,16 @@ const deserializeAws_json1_1CreateSystemTemplateCommandError = async (output, co
514
514
  switch (errorCode) {
515
515
  case "InternalFailureException":
516
516
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
517
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
517
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
518
518
  case "InvalidRequestException":
519
519
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
520
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
520
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
521
521
  case "ResourceAlreadyExistsException":
522
522
  case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
523
- throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
523
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
524
524
  case "ThrottlingException":
525
525
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
526
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
526
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
527
527
  default:
528
528
  const parsedBody = parsedOutput.body;
529
529
  (0, smithy_client_1.throwDefaultError)({
@@ -534,21 +534,21 @@ const deserializeAws_json1_1CreateSystemTemplateCommandError = async (output, co
534
534
  });
535
535
  }
536
536
  };
537
- const deserializeAws_json1_1DeleteFlowTemplateCommand = async (output, context) => {
537
+ const de_DeleteFlowTemplateCommand = async (output, context) => {
538
538
  if (output.statusCode >= 300) {
539
- return deserializeAws_json1_1DeleteFlowTemplateCommandError(output, context);
539
+ return de_DeleteFlowTemplateCommandError(output, context);
540
540
  }
541
541
  const data = await parseBody(output.body, context);
542
542
  let contents = {};
543
- contents = deserializeAws_json1_1DeleteFlowTemplateResponse(data, context);
543
+ contents = de_DeleteFlowTemplateResponse(data, context);
544
544
  const response = {
545
545
  $metadata: deserializeMetadata(output),
546
546
  ...contents,
547
547
  };
548
548
  return Promise.resolve(response);
549
549
  };
550
- exports.deserializeAws_json1_1DeleteFlowTemplateCommand = deserializeAws_json1_1DeleteFlowTemplateCommand;
551
- const deserializeAws_json1_1DeleteFlowTemplateCommandError = async (output, context) => {
550
+ exports.de_DeleteFlowTemplateCommand = de_DeleteFlowTemplateCommand;
551
+ const de_DeleteFlowTemplateCommandError = async (output, context) => {
552
552
  const parsedOutput = {
553
553
  ...output,
554
554
  body: await parseErrorBody(output.body, context),
@@ -557,16 +557,16 @@ const deserializeAws_json1_1DeleteFlowTemplateCommandError = async (output, cont
557
557
  switch (errorCode) {
558
558
  case "InternalFailureException":
559
559
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
560
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
560
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
561
561
  case "InvalidRequestException":
562
562
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
563
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
563
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
564
564
  case "ResourceInUseException":
565
565
  case "com.amazonaws.iotthingsgraph#ResourceInUseException":
566
- throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
566
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
567
567
  case "ThrottlingException":
568
568
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
569
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
569
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
570
570
  default:
571
571
  const parsedBody = parsedOutput.body;
572
572
  (0, smithy_client_1.throwDefaultError)({
@@ -577,21 +577,21 @@ const deserializeAws_json1_1DeleteFlowTemplateCommandError = async (output, cont
577
577
  });
578
578
  }
579
579
  };
580
- const deserializeAws_json1_1DeleteNamespaceCommand = async (output, context) => {
580
+ const de_DeleteNamespaceCommand = async (output, context) => {
581
581
  if (output.statusCode >= 300) {
582
- return deserializeAws_json1_1DeleteNamespaceCommandError(output, context);
582
+ return de_DeleteNamespaceCommandError(output, context);
583
583
  }
584
584
  const data = await parseBody(output.body, context);
585
585
  let contents = {};
586
- contents = deserializeAws_json1_1DeleteNamespaceResponse(data, context);
586
+ contents = de_DeleteNamespaceResponse(data, context);
587
587
  const response = {
588
588
  $metadata: deserializeMetadata(output),
589
589
  ...contents,
590
590
  };
591
591
  return Promise.resolve(response);
592
592
  };
593
- exports.deserializeAws_json1_1DeleteNamespaceCommand = deserializeAws_json1_1DeleteNamespaceCommand;
594
- const deserializeAws_json1_1DeleteNamespaceCommandError = async (output, context) => {
593
+ exports.de_DeleteNamespaceCommand = de_DeleteNamespaceCommand;
594
+ const de_DeleteNamespaceCommandError = async (output, context) => {
595
595
  const parsedOutput = {
596
596
  ...output,
597
597
  body: await parseErrorBody(output.body, context),
@@ -600,10 +600,10 @@ const deserializeAws_json1_1DeleteNamespaceCommandError = async (output, context
600
600
  switch (errorCode) {
601
601
  case "InternalFailureException":
602
602
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
603
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
603
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
604
604
  case "ThrottlingException":
605
605
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
606
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
606
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
607
607
  default:
608
608
  const parsedBody = parsedOutput.body;
609
609
  (0, smithy_client_1.throwDefaultError)({
@@ -614,21 +614,21 @@ const deserializeAws_json1_1DeleteNamespaceCommandError = async (output, context
614
614
  });
615
615
  }
616
616
  };
617
- const deserializeAws_json1_1DeleteSystemInstanceCommand = async (output, context) => {
617
+ const de_DeleteSystemInstanceCommand = async (output, context) => {
618
618
  if (output.statusCode >= 300) {
619
- return deserializeAws_json1_1DeleteSystemInstanceCommandError(output, context);
619
+ return de_DeleteSystemInstanceCommandError(output, context);
620
620
  }
621
621
  const data = await parseBody(output.body, context);
622
622
  let contents = {};
623
- contents = deserializeAws_json1_1DeleteSystemInstanceResponse(data, context);
623
+ contents = de_DeleteSystemInstanceResponse(data, context);
624
624
  const response = {
625
625
  $metadata: deserializeMetadata(output),
626
626
  ...contents,
627
627
  };
628
628
  return Promise.resolve(response);
629
629
  };
630
- exports.deserializeAws_json1_1DeleteSystemInstanceCommand = deserializeAws_json1_1DeleteSystemInstanceCommand;
631
- const deserializeAws_json1_1DeleteSystemInstanceCommandError = async (output, context) => {
630
+ exports.de_DeleteSystemInstanceCommand = de_DeleteSystemInstanceCommand;
631
+ const de_DeleteSystemInstanceCommandError = async (output, context) => {
632
632
  const parsedOutput = {
633
633
  ...output,
634
634
  body: await parseErrorBody(output.body, context),
@@ -637,16 +637,16 @@ const deserializeAws_json1_1DeleteSystemInstanceCommandError = async (output, co
637
637
  switch (errorCode) {
638
638
  case "InternalFailureException":
639
639
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
640
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
640
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
641
641
  case "InvalidRequestException":
642
642
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
643
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
643
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
644
644
  case "ResourceInUseException":
645
645
  case "com.amazonaws.iotthingsgraph#ResourceInUseException":
646
- throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
646
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
647
647
  case "ThrottlingException":
648
648
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
649
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
649
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
650
650
  default:
651
651
  const parsedBody = parsedOutput.body;
652
652
  (0, smithy_client_1.throwDefaultError)({
@@ -657,21 +657,21 @@ const deserializeAws_json1_1DeleteSystemInstanceCommandError = async (output, co
657
657
  });
658
658
  }
659
659
  };
660
- const deserializeAws_json1_1DeleteSystemTemplateCommand = async (output, context) => {
660
+ const de_DeleteSystemTemplateCommand = async (output, context) => {
661
661
  if (output.statusCode >= 300) {
662
- return deserializeAws_json1_1DeleteSystemTemplateCommandError(output, context);
662
+ return de_DeleteSystemTemplateCommandError(output, context);
663
663
  }
664
664
  const data = await parseBody(output.body, context);
665
665
  let contents = {};
666
- contents = deserializeAws_json1_1DeleteSystemTemplateResponse(data, context);
666
+ contents = de_DeleteSystemTemplateResponse(data, context);
667
667
  const response = {
668
668
  $metadata: deserializeMetadata(output),
669
669
  ...contents,
670
670
  };
671
671
  return Promise.resolve(response);
672
672
  };
673
- exports.deserializeAws_json1_1DeleteSystemTemplateCommand = deserializeAws_json1_1DeleteSystemTemplateCommand;
674
- const deserializeAws_json1_1DeleteSystemTemplateCommandError = async (output, context) => {
673
+ exports.de_DeleteSystemTemplateCommand = de_DeleteSystemTemplateCommand;
674
+ const de_DeleteSystemTemplateCommandError = async (output, context) => {
675
675
  const parsedOutput = {
676
676
  ...output,
677
677
  body: await parseErrorBody(output.body, context),
@@ -680,16 +680,16 @@ const deserializeAws_json1_1DeleteSystemTemplateCommandError = async (output, co
680
680
  switch (errorCode) {
681
681
  case "InternalFailureException":
682
682
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
683
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
683
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
684
684
  case "InvalidRequestException":
685
685
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
686
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
686
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
687
687
  case "ResourceInUseException":
688
688
  case "com.amazonaws.iotthingsgraph#ResourceInUseException":
689
- throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
689
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
690
690
  case "ThrottlingException":
691
691
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
692
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
692
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
693
693
  default:
694
694
  const parsedBody = parsedOutput.body;
695
695
  (0, smithy_client_1.throwDefaultError)({
@@ -700,21 +700,21 @@ const deserializeAws_json1_1DeleteSystemTemplateCommandError = async (output, co
700
700
  });
701
701
  }
702
702
  };
703
- const deserializeAws_json1_1DeploySystemInstanceCommand = async (output, context) => {
703
+ const de_DeploySystemInstanceCommand = async (output, context) => {
704
704
  if (output.statusCode >= 300) {
705
- return deserializeAws_json1_1DeploySystemInstanceCommandError(output, context);
705
+ return de_DeploySystemInstanceCommandError(output, context);
706
706
  }
707
707
  const data = await parseBody(output.body, context);
708
708
  let contents = {};
709
- contents = deserializeAws_json1_1DeploySystemInstanceResponse(data, context);
709
+ contents = de_DeploySystemInstanceResponse(data, context);
710
710
  const response = {
711
711
  $metadata: deserializeMetadata(output),
712
712
  ...contents,
713
713
  };
714
714
  return Promise.resolve(response);
715
715
  };
716
- exports.deserializeAws_json1_1DeploySystemInstanceCommand = deserializeAws_json1_1DeploySystemInstanceCommand;
717
- const deserializeAws_json1_1DeploySystemInstanceCommandError = async (output, context) => {
716
+ exports.de_DeploySystemInstanceCommand = de_DeploySystemInstanceCommand;
717
+ const de_DeploySystemInstanceCommandError = async (output, context) => {
718
718
  const parsedOutput = {
719
719
  ...output,
720
720
  body: await parseErrorBody(output.body, context),
@@ -723,19 +723,19 @@ const deserializeAws_json1_1DeploySystemInstanceCommandError = async (output, co
723
723
  switch (errorCode) {
724
724
  case "InternalFailureException":
725
725
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
726
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
726
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
727
727
  case "InvalidRequestException":
728
728
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
729
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
729
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
730
730
  case "ResourceInUseException":
731
731
  case "com.amazonaws.iotthingsgraph#ResourceInUseException":
732
- throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
732
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
733
733
  case "ResourceNotFoundException":
734
734
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
735
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
735
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
736
736
  case "ThrottlingException":
737
737
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
738
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
738
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
739
739
  default:
740
740
  const parsedBody = parsedOutput.body;
741
741
  (0, smithy_client_1.throwDefaultError)({
@@ -746,21 +746,21 @@ const deserializeAws_json1_1DeploySystemInstanceCommandError = async (output, co
746
746
  });
747
747
  }
748
748
  };
749
- const deserializeAws_json1_1DeprecateFlowTemplateCommand = async (output, context) => {
749
+ const de_DeprecateFlowTemplateCommand = async (output, context) => {
750
750
  if (output.statusCode >= 300) {
751
- return deserializeAws_json1_1DeprecateFlowTemplateCommandError(output, context);
751
+ return de_DeprecateFlowTemplateCommandError(output, context);
752
752
  }
753
753
  const data = await parseBody(output.body, context);
754
754
  let contents = {};
755
- contents = deserializeAws_json1_1DeprecateFlowTemplateResponse(data, context);
755
+ contents = de_DeprecateFlowTemplateResponse(data, context);
756
756
  const response = {
757
757
  $metadata: deserializeMetadata(output),
758
758
  ...contents,
759
759
  };
760
760
  return Promise.resolve(response);
761
761
  };
762
- exports.deserializeAws_json1_1DeprecateFlowTemplateCommand = deserializeAws_json1_1DeprecateFlowTemplateCommand;
763
- const deserializeAws_json1_1DeprecateFlowTemplateCommandError = async (output, context) => {
762
+ exports.de_DeprecateFlowTemplateCommand = de_DeprecateFlowTemplateCommand;
763
+ const de_DeprecateFlowTemplateCommandError = async (output, context) => {
764
764
  const parsedOutput = {
765
765
  ...output,
766
766
  body: await parseErrorBody(output.body, context),
@@ -769,16 +769,16 @@ const deserializeAws_json1_1DeprecateFlowTemplateCommandError = async (output, c
769
769
  switch (errorCode) {
770
770
  case "InternalFailureException":
771
771
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
772
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
772
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
773
773
  case "InvalidRequestException":
774
774
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
775
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
775
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
776
776
  case "ResourceNotFoundException":
777
777
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
778
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
778
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
779
779
  case "ThrottlingException":
780
780
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
781
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
781
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
782
782
  default:
783
783
  const parsedBody = parsedOutput.body;
784
784
  (0, smithy_client_1.throwDefaultError)({
@@ -789,21 +789,21 @@ const deserializeAws_json1_1DeprecateFlowTemplateCommandError = async (output, c
789
789
  });
790
790
  }
791
791
  };
792
- const deserializeAws_json1_1DeprecateSystemTemplateCommand = async (output, context) => {
792
+ const de_DeprecateSystemTemplateCommand = async (output, context) => {
793
793
  if (output.statusCode >= 300) {
794
- return deserializeAws_json1_1DeprecateSystemTemplateCommandError(output, context);
794
+ return de_DeprecateSystemTemplateCommandError(output, context);
795
795
  }
796
796
  const data = await parseBody(output.body, context);
797
797
  let contents = {};
798
- contents = deserializeAws_json1_1DeprecateSystemTemplateResponse(data, context);
798
+ contents = de_DeprecateSystemTemplateResponse(data, context);
799
799
  const response = {
800
800
  $metadata: deserializeMetadata(output),
801
801
  ...contents,
802
802
  };
803
803
  return Promise.resolve(response);
804
804
  };
805
- exports.deserializeAws_json1_1DeprecateSystemTemplateCommand = deserializeAws_json1_1DeprecateSystemTemplateCommand;
806
- const deserializeAws_json1_1DeprecateSystemTemplateCommandError = async (output, context) => {
805
+ exports.de_DeprecateSystemTemplateCommand = de_DeprecateSystemTemplateCommand;
806
+ const de_DeprecateSystemTemplateCommandError = async (output, context) => {
807
807
  const parsedOutput = {
808
808
  ...output,
809
809
  body: await parseErrorBody(output.body, context),
@@ -812,16 +812,16 @@ const deserializeAws_json1_1DeprecateSystemTemplateCommandError = async (output,
812
812
  switch (errorCode) {
813
813
  case "InternalFailureException":
814
814
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
815
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
815
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
816
816
  case "InvalidRequestException":
817
817
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
818
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
818
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
819
819
  case "ResourceNotFoundException":
820
820
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
821
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
821
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
822
822
  case "ThrottlingException":
823
823
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
824
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
824
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
825
825
  default:
826
826
  const parsedBody = parsedOutput.body;
827
827
  (0, smithy_client_1.throwDefaultError)({
@@ -832,21 +832,21 @@ const deserializeAws_json1_1DeprecateSystemTemplateCommandError = async (output,
832
832
  });
833
833
  }
834
834
  };
835
- const deserializeAws_json1_1DescribeNamespaceCommand = async (output, context) => {
835
+ const de_DescribeNamespaceCommand = async (output, context) => {
836
836
  if (output.statusCode >= 300) {
837
- return deserializeAws_json1_1DescribeNamespaceCommandError(output, context);
837
+ return de_DescribeNamespaceCommandError(output, context);
838
838
  }
839
839
  const data = await parseBody(output.body, context);
840
840
  let contents = {};
841
- contents = deserializeAws_json1_1DescribeNamespaceResponse(data, context);
841
+ contents = de_DescribeNamespaceResponse(data, context);
842
842
  const response = {
843
843
  $metadata: deserializeMetadata(output),
844
844
  ...contents,
845
845
  };
846
846
  return Promise.resolve(response);
847
847
  };
848
- exports.deserializeAws_json1_1DescribeNamespaceCommand = deserializeAws_json1_1DescribeNamespaceCommand;
849
- const deserializeAws_json1_1DescribeNamespaceCommandError = async (output, context) => {
848
+ exports.de_DescribeNamespaceCommand = de_DescribeNamespaceCommand;
849
+ const de_DescribeNamespaceCommandError = async (output, context) => {
850
850
  const parsedOutput = {
851
851
  ...output,
852
852
  body: await parseErrorBody(output.body, context),
@@ -855,16 +855,16 @@ const deserializeAws_json1_1DescribeNamespaceCommandError = async (output, conte
855
855
  switch (errorCode) {
856
856
  case "InternalFailureException":
857
857
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
858
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
858
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
859
859
  case "InvalidRequestException":
860
860
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
861
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
861
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
862
862
  case "ResourceNotFoundException":
863
863
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
864
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
864
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
865
865
  case "ThrottlingException":
866
866
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
867
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
867
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
868
868
  default:
869
869
  const parsedBody = parsedOutput.body;
870
870
  (0, smithy_client_1.throwDefaultError)({
@@ -875,21 +875,21 @@ const deserializeAws_json1_1DescribeNamespaceCommandError = async (output, conte
875
875
  });
876
876
  }
877
877
  };
878
- const deserializeAws_json1_1DissociateEntityFromThingCommand = async (output, context) => {
878
+ const de_DissociateEntityFromThingCommand = async (output, context) => {
879
879
  if (output.statusCode >= 300) {
880
- return deserializeAws_json1_1DissociateEntityFromThingCommandError(output, context);
880
+ return de_DissociateEntityFromThingCommandError(output, context);
881
881
  }
882
882
  const data = await parseBody(output.body, context);
883
883
  let contents = {};
884
- contents = deserializeAws_json1_1DissociateEntityFromThingResponse(data, context);
884
+ contents = de_DissociateEntityFromThingResponse(data, context);
885
885
  const response = {
886
886
  $metadata: deserializeMetadata(output),
887
887
  ...contents,
888
888
  };
889
889
  return Promise.resolve(response);
890
890
  };
891
- exports.deserializeAws_json1_1DissociateEntityFromThingCommand = deserializeAws_json1_1DissociateEntityFromThingCommand;
892
- const deserializeAws_json1_1DissociateEntityFromThingCommandError = async (output, context) => {
891
+ exports.de_DissociateEntityFromThingCommand = de_DissociateEntityFromThingCommand;
892
+ const de_DissociateEntityFromThingCommandError = async (output, context) => {
893
893
  const parsedOutput = {
894
894
  ...output,
895
895
  body: await parseErrorBody(output.body, context),
@@ -898,16 +898,16 @@ const deserializeAws_json1_1DissociateEntityFromThingCommandError = async (outpu
898
898
  switch (errorCode) {
899
899
  case "InternalFailureException":
900
900
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
901
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
901
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
902
902
  case "InvalidRequestException":
903
903
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
904
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
904
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
905
905
  case "ResourceNotFoundException":
906
906
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
907
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
907
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
908
908
  case "ThrottlingException":
909
909
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
910
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
910
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
911
911
  default:
912
912
  const parsedBody = parsedOutput.body;
913
913
  (0, smithy_client_1.throwDefaultError)({
@@ -918,21 +918,21 @@ const deserializeAws_json1_1DissociateEntityFromThingCommandError = async (outpu
918
918
  });
919
919
  }
920
920
  };
921
- const deserializeAws_json1_1GetEntitiesCommand = async (output, context) => {
921
+ const de_GetEntitiesCommand = async (output, context) => {
922
922
  if (output.statusCode >= 300) {
923
- return deserializeAws_json1_1GetEntitiesCommandError(output, context);
923
+ return de_GetEntitiesCommandError(output, context);
924
924
  }
925
925
  const data = await parseBody(output.body, context);
926
926
  let contents = {};
927
- contents = deserializeAws_json1_1GetEntitiesResponse(data, context);
927
+ contents = de_GetEntitiesResponse(data, context);
928
928
  const response = {
929
929
  $metadata: deserializeMetadata(output),
930
930
  ...contents,
931
931
  };
932
932
  return Promise.resolve(response);
933
933
  };
934
- exports.deserializeAws_json1_1GetEntitiesCommand = deserializeAws_json1_1GetEntitiesCommand;
935
- const deserializeAws_json1_1GetEntitiesCommandError = async (output, context) => {
934
+ exports.de_GetEntitiesCommand = de_GetEntitiesCommand;
935
+ const de_GetEntitiesCommandError = async (output, context) => {
936
936
  const parsedOutput = {
937
937
  ...output,
938
938
  body: await parseErrorBody(output.body, context),
@@ -941,16 +941,16 @@ const deserializeAws_json1_1GetEntitiesCommandError = async (output, context) =>
941
941
  switch (errorCode) {
942
942
  case "InternalFailureException":
943
943
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
944
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
944
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
945
945
  case "InvalidRequestException":
946
946
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
947
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
947
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
948
948
  case "ResourceNotFoundException":
949
949
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
950
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
950
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
951
951
  case "ThrottlingException":
952
952
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
953
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
953
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
954
954
  default:
955
955
  const parsedBody = parsedOutput.body;
956
956
  (0, smithy_client_1.throwDefaultError)({
@@ -961,21 +961,21 @@ const deserializeAws_json1_1GetEntitiesCommandError = async (output, context) =>
961
961
  });
962
962
  }
963
963
  };
964
- const deserializeAws_json1_1GetFlowTemplateCommand = async (output, context) => {
964
+ const de_GetFlowTemplateCommand = async (output, context) => {
965
965
  if (output.statusCode >= 300) {
966
- return deserializeAws_json1_1GetFlowTemplateCommandError(output, context);
966
+ return de_GetFlowTemplateCommandError(output, context);
967
967
  }
968
968
  const data = await parseBody(output.body, context);
969
969
  let contents = {};
970
- contents = deserializeAws_json1_1GetFlowTemplateResponse(data, context);
970
+ contents = de_GetFlowTemplateResponse(data, context);
971
971
  const response = {
972
972
  $metadata: deserializeMetadata(output),
973
973
  ...contents,
974
974
  };
975
975
  return Promise.resolve(response);
976
976
  };
977
- exports.deserializeAws_json1_1GetFlowTemplateCommand = deserializeAws_json1_1GetFlowTemplateCommand;
978
- const deserializeAws_json1_1GetFlowTemplateCommandError = async (output, context) => {
977
+ exports.de_GetFlowTemplateCommand = de_GetFlowTemplateCommand;
978
+ const de_GetFlowTemplateCommandError = async (output, context) => {
979
979
  const parsedOutput = {
980
980
  ...output,
981
981
  body: await parseErrorBody(output.body, context),
@@ -984,16 +984,16 @@ const deserializeAws_json1_1GetFlowTemplateCommandError = async (output, context
984
984
  switch (errorCode) {
985
985
  case "InternalFailureException":
986
986
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
987
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
987
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
988
988
  case "InvalidRequestException":
989
989
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
990
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
990
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
991
991
  case "ResourceNotFoundException":
992
992
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
993
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
993
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
994
994
  case "ThrottlingException":
995
995
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
996
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
996
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
997
997
  default:
998
998
  const parsedBody = parsedOutput.body;
999
999
  (0, smithy_client_1.throwDefaultError)({
@@ -1004,21 +1004,21 @@ const deserializeAws_json1_1GetFlowTemplateCommandError = async (output, context
1004
1004
  });
1005
1005
  }
1006
1006
  };
1007
- const deserializeAws_json1_1GetFlowTemplateRevisionsCommand = async (output, context) => {
1007
+ const de_GetFlowTemplateRevisionsCommand = async (output, context) => {
1008
1008
  if (output.statusCode >= 300) {
1009
- return deserializeAws_json1_1GetFlowTemplateRevisionsCommandError(output, context);
1009
+ return de_GetFlowTemplateRevisionsCommandError(output, context);
1010
1010
  }
1011
1011
  const data = await parseBody(output.body, context);
1012
1012
  let contents = {};
1013
- contents = deserializeAws_json1_1GetFlowTemplateRevisionsResponse(data, context);
1013
+ contents = de_GetFlowTemplateRevisionsResponse(data, context);
1014
1014
  const response = {
1015
1015
  $metadata: deserializeMetadata(output),
1016
1016
  ...contents,
1017
1017
  };
1018
1018
  return Promise.resolve(response);
1019
1019
  };
1020
- exports.deserializeAws_json1_1GetFlowTemplateRevisionsCommand = deserializeAws_json1_1GetFlowTemplateRevisionsCommand;
1021
- const deserializeAws_json1_1GetFlowTemplateRevisionsCommandError = async (output, context) => {
1020
+ exports.de_GetFlowTemplateRevisionsCommand = de_GetFlowTemplateRevisionsCommand;
1021
+ const de_GetFlowTemplateRevisionsCommandError = async (output, context) => {
1022
1022
  const parsedOutput = {
1023
1023
  ...output,
1024
1024
  body: await parseErrorBody(output.body, context),
@@ -1027,16 +1027,16 @@ const deserializeAws_json1_1GetFlowTemplateRevisionsCommandError = async (output
1027
1027
  switch (errorCode) {
1028
1028
  case "InternalFailureException":
1029
1029
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1030
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1030
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1031
1031
  case "InvalidRequestException":
1032
1032
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1033
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1033
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1034
1034
  case "ResourceNotFoundException":
1035
1035
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1036
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1036
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1037
1037
  case "ThrottlingException":
1038
1038
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1039
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1039
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1040
1040
  default:
1041
1041
  const parsedBody = parsedOutput.body;
1042
1042
  (0, smithy_client_1.throwDefaultError)({
@@ -1047,21 +1047,21 @@ const deserializeAws_json1_1GetFlowTemplateRevisionsCommandError = async (output
1047
1047
  });
1048
1048
  }
1049
1049
  };
1050
- const deserializeAws_json1_1GetNamespaceDeletionStatusCommand = async (output, context) => {
1050
+ const de_GetNamespaceDeletionStatusCommand = async (output, context) => {
1051
1051
  if (output.statusCode >= 300) {
1052
- return deserializeAws_json1_1GetNamespaceDeletionStatusCommandError(output, context);
1052
+ return de_GetNamespaceDeletionStatusCommandError(output, context);
1053
1053
  }
1054
1054
  const data = await parseBody(output.body, context);
1055
1055
  let contents = {};
1056
- contents = deserializeAws_json1_1GetNamespaceDeletionStatusResponse(data, context);
1056
+ contents = de_GetNamespaceDeletionStatusResponse(data, context);
1057
1057
  const response = {
1058
1058
  $metadata: deserializeMetadata(output),
1059
1059
  ...contents,
1060
1060
  };
1061
1061
  return Promise.resolve(response);
1062
1062
  };
1063
- exports.deserializeAws_json1_1GetNamespaceDeletionStatusCommand = deserializeAws_json1_1GetNamespaceDeletionStatusCommand;
1064
- const deserializeAws_json1_1GetNamespaceDeletionStatusCommandError = async (output, context) => {
1063
+ exports.de_GetNamespaceDeletionStatusCommand = de_GetNamespaceDeletionStatusCommand;
1064
+ const de_GetNamespaceDeletionStatusCommandError = async (output, context) => {
1065
1065
  const parsedOutput = {
1066
1066
  ...output,
1067
1067
  body: await parseErrorBody(output.body, context),
@@ -1070,13 +1070,13 @@ const deserializeAws_json1_1GetNamespaceDeletionStatusCommandError = async (outp
1070
1070
  switch (errorCode) {
1071
1071
  case "InternalFailureException":
1072
1072
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1073
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1073
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1074
1074
  case "InvalidRequestException":
1075
1075
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1076
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1076
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1077
1077
  case "ThrottlingException":
1078
1078
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1079
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1079
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1080
1080
  default:
1081
1081
  const parsedBody = parsedOutput.body;
1082
1082
  (0, smithy_client_1.throwDefaultError)({
@@ -1087,21 +1087,21 @@ const deserializeAws_json1_1GetNamespaceDeletionStatusCommandError = async (outp
1087
1087
  });
1088
1088
  }
1089
1089
  };
1090
- const deserializeAws_json1_1GetSystemInstanceCommand = async (output, context) => {
1090
+ const de_GetSystemInstanceCommand = async (output, context) => {
1091
1091
  if (output.statusCode >= 300) {
1092
- return deserializeAws_json1_1GetSystemInstanceCommandError(output, context);
1092
+ return de_GetSystemInstanceCommandError(output, context);
1093
1093
  }
1094
1094
  const data = await parseBody(output.body, context);
1095
1095
  let contents = {};
1096
- contents = deserializeAws_json1_1GetSystemInstanceResponse(data, context);
1096
+ contents = de_GetSystemInstanceResponse(data, context);
1097
1097
  const response = {
1098
1098
  $metadata: deserializeMetadata(output),
1099
1099
  ...contents,
1100
1100
  };
1101
1101
  return Promise.resolve(response);
1102
1102
  };
1103
- exports.deserializeAws_json1_1GetSystemInstanceCommand = deserializeAws_json1_1GetSystemInstanceCommand;
1104
- const deserializeAws_json1_1GetSystemInstanceCommandError = async (output, context) => {
1103
+ exports.de_GetSystemInstanceCommand = de_GetSystemInstanceCommand;
1104
+ const de_GetSystemInstanceCommandError = async (output, context) => {
1105
1105
  const parsedOutput = {
1106
1106
  ...output,
1107
1107
  body: await parseErrorBody(output.body, context),
@@ -1110,16 +1110,16 @@ const deserializeAws_json1_1GetSystemInstanceCommandError = async (output, conte
1110
1110
  switch (errorCode) {
1111
1111
  case "InternalFailureException":
1112
1112
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1113
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1113
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1114
1114
  case "InvalidRequestException":
1115
1115
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1116
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1116
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1117
1117
  case "ResourceNotFoundException":
1118
1118
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1119
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1119
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1120
1120
  case "ThrottlingException":
1121
1121
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1122
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1122
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1123
1123
  default:
1124
1124
  const parsedBody = parsedOutput.body;
1125
1125
  (0, smithy_client_1.throwDefaultError)({
@@ -1130,21 +1130,21 @@ const deserializeAws_json1_1GetSystemInstanceCommandError = async (output, conte
1130
1130
  });
1131
1131
  }
1132
1132
  };
1133
- const deserializeAws_json1_1GetSystemTemplateCommand = async (output, context) => {
1133
+ const de_GetSystemTemplateCommand = async (output, context) => {
1134
1134
  if (output.statusCode >= 300) {
1135
- return deserializeAws_json1_1GetSystemTemplateCommandError(output, context);
1135
+ return de_GetSystemTemplateCommandError(output, context);
1136
1136
  }
1137
1137
  const data = await parseBody(output.body, context);
1138
1138
  let contents = {};
1139
- contents = deserializeAws_json1_1GetSystemTemplateResponse(data, context);
1139
+ contents = de_GetSystemTemplateResponse(data, context);
1140
1140
  const response = {
1141
1141
  $metadata: deserializeMetadata(output),
1142
1142
  ...contents,
1143
1143
  };
1144
1144
  return Promise.resolve(response);
1145
1145
  };
1146
- exports.deserializeAws_json1_1GetSystemTemplateCommand = deserializeAws_json1_1GetSystemTemplateCommand;
1147
- const deserializeAws_json1_1GetSystemTemplateCommandError = async (output, context) => {
1146
+ exports.de_GetSystemTemplateCommand = de_GetSystemTemplateCommand;
1147
+ const de_GetSystemTemplateCommandError = async (output, context) => {
1148
1148
  const parsedOutput = {
1149
1149
  ...output,
1150
1150
  body: await parseErrorBody(output.body, context),
@@ -1153,16 +1153,16 @@ const deserializeAws_json1_1GetSystemTemplateCommandError = async (output, conte
1153
1153
  switch (errorCode) {
1154
1154
  case "InternalFailureException":
1155
1155
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1156
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1156
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1157
1157
  case "InvalidRequestException":
1158
1158
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1159
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1159
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1160
1160
  case "ResourceNotFoundException":
1161
1161
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1162
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1162
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1163
1163
  case "ThrottlingException":
1164
1164
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1165
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1165
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1166
1166
  default:
1167
1167
  const parsedBody = parsedOutput.body;
1168
1168
  (0, smithy_client_1.throwDefaultError)({
@@ -1173,21 +1173,21 @@ const deserializeAws_json1_1GetSystemTemplateCommandError = async (output, conte
1173
1173
  });
1174
1174
  }
1175
1175
  };
1176
- const deserializeAws_json1_1GetSystemTemplateRevisionsCommand = async (output, context) => {
1176
+ const de_GetSystemTemplateRevisionsCommand = async (output, context) => {
1177
1177
  if (output.statusCode >= 300) {
1178
- return deserializeAws_json1_1GetSystemTemplateRevisionsCommandError(output, context);
1178
+ return de_GetSystemTemplateRevisionsCommandError(output, context);
1179
1179
  }
1180
1180
  const data = await parseBody(output.body, context);
1181
1181
  let contents = {};
1182
- contents = deserializeAws_json1_1GetSystemTemplateRevisionsResponse(data, context);
1182
+ contents = de_GetSystemTemplateRevisionsResponse(data, context);
1183
1183
  const response = {
1184
1184
  $metadata: deserializeMetadata(output),
1185
1185
  ...contents,
1186
1186
  };
1187
1187
  return Promise.resolve(response);
1188
1188
  };
1189
- exports.deserializeAws_json1_1GetSystemTemplateRevisionsCommand = deserializeAws_json1_1GetSystemTemplateRevisionsCommand;
1190
- const deserializeAws_json1_1GetSystemTemplateRevisionsCommandError = async (output, context) => {
1189
+ exports.de_GetSystemTemplateRevisionsCommand = de_GetSystemTemplateRevisionsCommand;
1190
+ const de_GetSystemTemplateRevisionsCommandError = async (output, context) => {
1191
1191
  const parsedOutput = {
1192
1192
  ...output,
1193
1193
  body: await parseErrorBody(output.body, context),
@@ -1196,16 +1196,16 @@ const deserializeAws_json1_1GetSystemTemplateRevisionsCommandError = async (outp
1196
1196
  switch (errorCode) {
1197
1197
  case "InternalFailureException":
1198
1198
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1199
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1199
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1200
1200
  case "InvalidRequestException":
1201
1201
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1202
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1202
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1203
1203
  case "ResourceNotFoundException":
1204
1204
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1205
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1205
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1206
1206
  case "ThrottlingException":
1207
1207
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1208
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1208
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1209
1209
  default:
1210
1210
  const parsedBody = parsedOutput.body;
1211
1211
  (0, smithy_client_1.throwDefaultError)({
@@ -1216,21 +1216,21 @@ const deserializeAws_json1_1GetSystemTemplateRevisionsCommandError = async (outp
1216
1216
  });
1217
1217
  }
1218
1218
  };
1219
- const deserializeAws_json1_1GetUploadStatusCommand = async (output, context) => {
1219
+ const de_GetUploadStatusCommand = async (output, context) => {
1220
1220
  if (output.statusCode >= 300) {
1221
- return deserializeAws_json1_1GetUploadStatusCommandError(output, context);
1221
+ return de_GetUploadStatusCommandError(output, context);
1222
1222
  }
1223
1223
  const data = await parseBody(output.body, context);
1224
1224
  let contents = {};
1225
- contents = deserializeAws_json1_1GetUploadStatusResponse(data, context);
1225
+ contents = de_GetUploadStatusResponse(data, context);
1226
1226
  const response = {
1227
1227
  $metadata: deserializeMetadata(output),
1228
1228
  ...contents,
1229
1229
  };
1230
1230
  return Promise.resolve(response);
1231
1231
  };
1232
- exports.deserializeAws_json1_1GetUploadStatusCommand = deserializeAws_json1_1GetUploadStatusCommand;
1233
- const deserializeAws_json1_1GetUploadStatusCommandError = async (output, context) => {
1232
+ exports.de_GetUploadStatusCommand = de_GetUploadStatusCommand;
1233
+ const de_GetUploadStatusCommandError = async (output, context) => {
1234
1234
  const parsedOutput = {
1235
1235
  ...output,
1236
1236
  body: await parseErrorBody(output.body, context),
@@ -1239,16 +1239,16 @@ const deserializeAws_json1_1GetUploadStatusCommandError = async (output, context
1239
1239
  switch (errorCode) {
1240
1240
  case "InternalFailureException":
1241
1241
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1242
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1242
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1243
1243
  case "InvalidRequestException":
1244
1244
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1245
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1245
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1246
1246
  case "ResourceNotFoundException":
1247
1247
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1248
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1248
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1249
1249
  case "ThrottlingException":
1250
1250
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1251
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1251
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1252
1252
  default:
1253
1253
  const parsedBody = parsedOutput.body;
1254
1254
  (0, smithy_client_1.throwDefaultError)({
@@ -1259,21 +1259,21 @@ const deserializeAws_json1_1GetUploadStatusCommandError = async (output, context
1259
1259
  });
1260
1260
  }
1261
1261
  };
1262
- const deserializeAws_json1_1ListFlowExecutionMessagesCommand = async (output, context) => {
1262
+ const de_ListFlowExecutionMessagesCommand = async (output, context) => {
1263
1263
  if (output.statusCode >= 300) {
1264
- return deserializeAws_json1_1ListFlowExecutionMessagesCommandError(output, context);
1264
+ return de_ListFlowExecutionMessagesCommandError(output, context);
1265
1265
  }
1266
1266
  const data = await parseBody(output.body, context);
1267
1267
  let contents = {};
1268
- contents = deserializeAws_json1_1ListFlowExecutionMessagesResponse(data, context);
1268
+ contents = de_ListFlowExecutionMessagesResponse(data, context);
1269
1269
  const response = {
1270
1270
  $metadata: deserializeMetadata(output),
1271
1271
  ...contents,
1272
1272
  };
1273
1273
  return Promise.resolve(response);
1274
1274
  };
1275
- exports.deserializeAws_json1_1ListFlowExecutionMessagesCommand = deserializeAws_json1_1ListFlowExecutionMessagesCommand;
1276
- const deserializeAws_json1_1ListFlowExecutionMessagesCommandError = async (output, context) => {
1275
+ exports.de_ListFlowExecutionMessagesCommand = de_ListFlowExecutionMessagesCommand;
1276
+ const de_ListFlowExecutionMessagesCommandError = async (output, context) => {
1277
1277
  const parsedOutput = {
1278
1278
  ...output,
1279
1279
  body: await parseErrorBody(output.body, context),
@@ -1282,16 +1282,16 @@ const deserializeAws_json1_1ListFlowExecutionMessagesCommandError = async (outpu
1282
1282
  switch (errorCode) {
1283
1283
  case "InternalFailureException":
1284
1284
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1285
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1285
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1286
1286
  case "InvalidRequestException":
1287
1287
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1288
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1288
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1289
1289
  case "ResourceNotFoundException":
1290
1290
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1291
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1291
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1292
1292
  case "ThrottlingException":
1293
1293
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1294
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1294
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1295
1295
  default:
1296
1296
  const parsedBody = parsedOutput.body;
1297
1297
  (0, smithy_client_1.throwDefaultError)({
@@ -1302,21 +1302,21 @@ const deserializeAws_json1_1ListFlowExecutionMessagesCommandError = async (outpu
1302
1302
  });
1303
1303
  }
1304
1304
  };
1305
- const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
1305
+ const de_ListTagsForResourceCommand = async (output, context) => {
1306
1306
  if (output.statusCode >= 300) {
1307
- return deserializeAws_json1_1ListTagsForResourceCommandError(output, context);
1307
+ return de_ListTagsForResourceCommandError(output, context);
1308
1308
  }
1309
1309
  const data = await parseBody(output.body, context);
1310
1310
  let contents = {};
1311
- contents = deserializeAws_json1_1ListTagsForResourceResponse(data, context);
1311
+ contents = de_ListTagsForResourceResponse(data, context);
1312
1312
  const response = {
1313
1313
  $metadata: deserializeMetadata(output),
1314
1314
  ...contents,
1315
1315
  };
1316
1316
  return Promise.resolve(response);
1317
1317
  };
1318
- exports.deserializeAws_json1_1ListTagsForResourceCommand = deserializeAws_json1_1ListTagsForResourceCommand;
1319
- const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
1318
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1319
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1320
1320
  const parsedOutput = {
1321
1321
  ...output,
1322
1322
  body: await parseErrorBody(output.body, context),
@@ -1325,16 +1325,16 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1325
1325
  switch (errorCode) {
1326
1326
  case "InternalFailureException":
1327
1327
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1328
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1328
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1329
1329
  case "InvalidRequestException":
1330
1330
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1331
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1331
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1332
1332
  case "ResourceAlreadyExistsException":
1333
1333
  case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
1334
- throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
1334
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1335
1335
  case "ThrottlingException":
1336
1336
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1337
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1337
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1338
1338
  default:
1339
1339
  const parsedBody = parsedOutput.body;
1340
1340
  (0, smithy_client_1.throwDefaultError)({
@@ -1345,21 +1345,21 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1345
1345
  });
1346
1346
  }
1347
1347
  };
1348
- const deserializeAws_json1_1SearchEntitiesCommand = async (output, context) => {
1348
+ const de_SearchEntitiesCommand = async (output, context) => {
1349
1349
  if (output.statusCode >= 300) {
1350
- return deserializeAws_json1_1SearchEntitiesCommandError(output, context);
1350
+ return de_SearchEntitiesCommandError(output, context);
1351
1351
  }
1352
1352
  const data = await parseBody(output.body, context);
1353
1353
  let contents = {};
1354
- contents = deserializeAws_json1_1SearchEntitiesResponse(data, context);
1354
+ contents = de_SearchEntitiesResponse(data, context);
1355
1355
  const response = {
1356
1356
  $metadata: deserializeMetadata(output),
1357
1357
  ...contents,
1358
1358
  };
1359
1359
  return Promise.resolve(response);
1360
1360
  };
1361
- exports.deserializeAws_json1_1SearchEntitiesCommand = deserializeAws_json1_1SearchEntitiesCommand;
1362
- const deserializeAws_json1_1SearchEntitiesCommandError = async (output, context) => {
1361
+ exports.de_SearchEntitiesCommand = de_SearchEntitiesCommand;
1362
+ const de_SearchEntitiesCommandError = async (output, context) => {
1363
1363
  const parsedOutput = {
1364
1364
  ...output,
1365
1365
  body: await parseErrorBody(output.body, context),
@@ -1368,13 +1368,13 @@ const deserializeAws_json1_1SearchEntitiesCommandError = async (output, context)
1368
1368
  switch (errorCode) {
1369
1369
  case "InternalFailureException":
1370
1370
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1371
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1371
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1372
1372
  case "InvalidRequestException":
1373
1373
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1374
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1374
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1375
1375
  case "ThrottlingException":
1376
1376
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1377
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1377
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1378
1378
  default:
1379
1379
  const parsedBody = parsedOutput.body;
1380
1380
  (0, smithy_client_1.throwDefaultError)({
@@ -1385,21 +1385,21 @@ const deserializeAws_json1_1SearchEntitiesCommandError = async (output, context)
1385
1385
  });
1386
1386
  }
1387
1387
  };
1388
- const deserializeAws_json1_1SearchFlowExecutionsCommand = async (output, context) => {
1388
+ const de_SearchFlowExecutionsCommand = async (output, context) => {
1389
1389
  if (output.statusCode >= 300) {
1390
- return deserializeAws_json1_1SearchFlowExecutionsCommandError(output, context);
1390
+ return de_SearchFlowExecutionsCommandError(output, context);
1391
1391
  }
1392
1392
  const data = await parseBody(output.body, context);
1393
1393
  let contents = {};
1394
- contents = deserializeAws_json1_1SearchFlowExecutionsResponse(data, context);
1394
+ contents = de_SearchFlowExecutionsResponse(data, context);
1395
1395
  const response = {
1396
1396
  $metadata: deserializeMetadata(output),
1397
1397
  ...contents,
1398
1398
  };
1399
1399
  return Promise.resolve(response);
1400
1400
  };
1401
- exports.deserializeAws_json1_1SearchFlowExecutionsCommand = deserializeAws_json1_1SearchFlowExecutionsCommand;
1402
- const deserializeAws_json1_1SearchFlowExecutionsCommandError = async (output, context) => {
1401
+ exports.de_SearchFlowExecutionsCommand = de_SearchFlowExecutionsCommand;
1402
+ const de_SearchFlowExecutionsCommandError = async (output, context) => {
1403
1403
  const parsedOutput = {
1404
1404
  ...output,
1405
1405
  body: await parseErrorBody(output.body, context),
@@ -1408,16 +1408,16 @@ const deserializeAws_json1_1SearchFlowExecutionsCommandError = async (output, co
1408
1408
  switch (errorCode) {
1409
1409
  case "InternalFailureException":
1410
1410
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1411
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1411
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1412
1412
  case "InvalidRequestException":
1413
1413
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1414
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1414
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1415
1415
  case "ResourceNotFoundException":
1416
1416
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1417
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1417
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1418
1418
  case "ThrottlingException":
1419
1419
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1420
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1420
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1421
1421
  default:
1422
1422
  const parsedBody = parsedOutput.body;
1423
1423
  (0, smithy_client_1.throwDefaultError)({
@@ -1428,21 +1428,21 @@ const deserializeAws_json1_1SearchFlowExecutionsCommandError = async (output, co
1428
1428
  });
1429
1429
  }
1430
1430
  };
1431
- const deserializeAws_json1_1SearchFlowTemplatesCommand = async (output, context) => {
1431
+ const de_SearchFlowTemplatesCommand = async (output, context) => {
1432
1432
  if (output.statusCode >= 300) {
1433
- return deserializeAws_json1_1SearchFlowTemplatesCommandError(output, context);
1433
+ return de_SearchFlowTemplatesCommandError(output, context);
1434
1434
  }
1435
1435
  const data = await parseBody(output.body, context);
1436
1436
  let contents = {};
1437
- contents = deserializeAws_json1_1SearchFlowTemplatesResponse(data, context);
1437
+ contents = de_SearchFlowTemplatesResponse(data, context);
1438
1438
  const response = {
1439
1439
  $metadata: deserializeMetadata(output),
1440
1440
  ...contents,
1441
1441
  };
1442
1442
  return Promise.resolve(response);
1443
1443
  };
1444
- exports.deserializeAws_json1_1SearchFlowTemplatesCommand = deserializeAws_json1_1SearchFlowTemplatesCommand;
1445
- const deserializeAws_json1_1SearchFlowTemplatesCommandError = async (output, context) => {
1444
+ exports.de_SearchFlowTemplatesCommand = de_SearchFlowTemplatesCommand;
1445
+ const de_SearchFlowTemplatesCommandError = async (output, context) => {
1446
1446
  const parsedOutput = {
1447
1447
  ...output,
1448
1448
  body: await parseErrorBody(output.body, context),
@@ -1451,13 +1451,13 @@ const deserializeAws_json1_1SearchFlowTemplatesCommandError = async (output, con
1451
1451
  switch (errorCode) {
1452
1452
  case "InternalFailureException":
1453
1453
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1454
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1454
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1455
1455
  case "InvalidRequestException":
1456
1456
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1457
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1457
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1458
1458
  case "ThrottlingException":
1459
1459
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1460
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1460
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1461
1461
  default:
1462
1462
  const parsedBody = parsedOutput.body;
1463
1463
  (0, smithy_client_1.throwDefaultError)({
@@ -1468,21 +1468,21 @@ const deserializeAws_json1_1SearchFlowTemplatesCommandError = async (output, con
1468
1468
  });
1469
1469
  }
1470
1470
  };
1471
- const deserializeAws_json1_1SearchSystemInstancesCommand = async (output, context) => {
1471
+ const de_SearchSystemInstancesCommand = async (output, context) => {
1472
1472
  if (output.statusCode >= 300) {
1473
- return deserializeAws_json1_1SearchSystemInstancesCommandError(output, context);
1473
+ return de_SearchSystemInstancesCommandError(output, context);
1474
1474
  }
1475
1475
  const data = await parseBody(output.body, context);
1476
1476
  let contents = {};
1477
- contents = deserializeAws_json1_1SearchSystemInstancesResponse(data, context);
1477
+ contents = de_SearchSystemInstancesResponse(data, context);
1478
1478
  const response = {
1479
1479
  $metadata: deserializeMetadata(output),
1480
1480
  ...contents,
1481
1481
  };
1482
1482
  return Promise.resolve(response);
1483
1483
  };
1484
- exports.deserializeAws_json1_1SearchSystemInstancesCommand = deserializeAws_json1_1SearchSystemInstancesCommand;
1485
- const deserializeAws_json1_1SearchSystemInstancesCommandError = async (output, context) => {
1484
+ exports.de_SearchSystemInstancesCommand = de_SearchSystemInstancesCommand;
1485
+ const de_SearchSystemInstancesCommandError = async (output, context) => {
1486
1486
  const parsedOutput = {
1487
1487
  ...output,
1488
1488
  body: await parseErrorBody(output.body, context),
@@ -1491,13 +1491,13 @@ const deserializeAws_json1_1SearchSystemInstancesCommandError = async (output, c
1491
1491
  switch (errorCode) {
1492
1492
  case "InternalFailureException":
1493
1493
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1494
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1494
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1495
1495
  case "InvalidRequestException":
1496
1496
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1497
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1497
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1498
1498
  case "ThrottlingException":
1499
1499
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1500
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1500
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1501
1501
  default:
1502
1502
  const parsedBody = parsedOutput.body;
1503
1503
  (0, smithy_client_1.throwDefaultError)({
@@ -1508,21 +1508,21 @@ const deserializeAws_json1_1SearchSystemInstancesCommandError = async (output, c
1508
1508
  });
1509
1509
  }
1510
1510
  };
1511
- const deserializeAws_json1_1SearchSystemTemplatesCommand = async (output, context) => {
1511
+ const de_SearchSystemTemplatesCommand = async (output, context) => {
1512
1512
  if (output.statusCode >= 300) {
1513
- return deserializeAws_json1_1SearchSystemTemplatesCommandError(output, context);
1513
+ return de_SearchSystemTemplatesCommandError(output, context);
1514
1514
  }
1515
1515
  const data = await parseBody(output.body, context);
1516
1516
  let contents = {};
1517
- contents = deserializeAws_json1_1SearchSystemTemplatesResponse(data, context);
1517
+ contents = de_SearchSystemTemplatesResponse(data, context);
1518
1518
  const response = {
1519
1519
  $metadata: deserializeMetadata(output),
1520
1520
  ...contents,
1521
1521
  };
1522
1522
  return Promise.resolve(response);
1523
1523
  };
1524
- exports.deserializeAws_json1_1SearchSystemTemplatesCommand = deserializeAws_json1_1SearchSystemTemplatesCommand;
1525
- const deserializeAws_json1_1SearchSystemTemplatesCommandError = async (output, context) => {
1524
+ exports.de_SearchSystemTemplatesCommand = de_SearchSystemTemplatesCommand;
1525
+ const de_SearchSystemTemplatesCommandError = async (output, context) => {
1526
1526
  const parsedOutput = {
1527
1527
  ...output,
1528
1528
  body: await parseErrorBody(output.body, context),
@@ -1531,13 +1531,13 @@ const deserializeAws_json1_1SearchSystemTemplatesCommandError = async (output, c
1531
1531
  switch (errorCode) {
1532
1532
  case "InternalFailureException":
1533
1533
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1534
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1534
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1535
1535
  case "InvalidRequestException":
1536
1536
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1537
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1537
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1538
1538
  case "ThrottlingException":
1539
1539
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1540
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1540
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1541
1541
  default:
1542
1542
  const parsedBody = parsedOutput.body;
1543
1543
  (0, smithy_client_1.throwDefaultError)({
@@ -1548,21 +1548,21 @@ const deserializeAws_json1_1SearchSystemTemplatesCommandError = async (output, c
1548
1548
  });
1549
1549
  }
1550
1550
  };
1551
- const deserializeAws_json1_1SearchThingsCommand = async (output, context) => {
1551
+ const de_SearchThingsCommand = async (output, context) => {
1552
1552
  if (output.statusCode >= 300) {
1553
- return deserializeAws_json1_1SearchThingsCommandError(output, context);
1553
+ return de_SearchThingsCommandError(output, context);
1554
1554
  }
1555
1555
  const data = await parseBody(output.body, context);
1556
1556
  let contents = {};
1557
- contents = deserializeAws_json1_1SearchThingsResponse(data, context);
1557
+ contents = de_SearchThingsResponse(data, context);
1558
1558
  const response = {
1559
1559
  $metadata: deserializeMetadata(output),
1560
1560
  ...contents,
1561
1561
  };
1562
1562
  return Promise.resolve(response);
1563
1563
  };
1564
- exports.deserializeAws_json1_1SearchThingsCommand = deserializeAws_json1_1SearchThingsCommand;
1565
- const deserializeAws_json1_1SearchThingsCommandError = async (output, context) => {
1564
+ exports.de_SearchThingsCommand = de_SearchThingsCommand;
1565
+ const de_SearchThingsCommandError = async (output, context) => {
1566
1566
  const parsedOutput = {
1567
1567
  ...output,
1568
1568
  body: await parseErrorBody(output.body, context),
@@ -1571,16 +1571,16 @@ const deserializeAws_json1_1SearchThingsCommandError = async (output, context) =
1571
1571
  switch (errorCode) {
1572
1572
  case "InternalFailureException":
1573
1573
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1574
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1574
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1575
1575
  case "InvalidRequestException":
1576
1576
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1577
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1577
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1578
1578
  case "ResourceNotFoundException":
1579
1579
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1580
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1580
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1581
1581
  case "ThrottlingException":
1582
1582
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1583
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1583
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1584
1584
  default:
1585
1585
  const parsedBody = parsedOutput.body;
1586
1586
  (0, smithy_client_1.throwDefaultError)({
@@ -1591,21 +1591,21 @@ const deserializeAws_json1_1SearchThingsCommandError = async (output, context) =
1591
1591
  });
1592
1592
  }
1593
1593
  };
1594
- const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
1594
+ const de_TagResourceCommand = async (output, context) => {
1595
1595
  if (output.statusCode >= 300) {
1596
- return deserializeAws_json1_1TagResourceCommandError(output, context);
1596
+ return de_TagResourceCommandError(output, context);
1597
1597
  }
1598
1598
  const data = await parseBody(output.body, context);
1599
1599
  let contents = {};
1600
- contents = deserializeAws_json1_1TagResourceResponse(data, context);
1600
+ contents = de_TagResourceResponse(data, context);
1601
1601
  const response = {
1602
1602
  $metadata: deserializeMetadata(output),
1603
1603
  ...contents,
1604
1604
  };
1605
1605
  return Promise.resolve(response);
1606
1606
  };
1607
- exports.deserializeAws_json1_1TagResourceCommand = deserializeAws_json1_1TagResourceCommand;
1608
- const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
1607
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1608
+ const de_TagResourceCommandError = async (output, context) => {
1609
1609
  const parsedOutput = {
1610
1610
  ...output,
1611
1611
  body: await parseErrorBody(output.body, context),
@@ -1614,16 +1614,16 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1614
1614
  switch (errorCode) {
1615
1615
  case "InternalFailureException":
1616
1616
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1617
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1617
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1618
1618
  case "InvalidRequestException":
1619
1619
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1620
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1620
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1621
1621
  case "ResourceAlreadyExistsException":
1622
1622
  case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
1623
- throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
1623
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1624
1624
  case "ThrottlingException":
1625
1625
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1626
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1626
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1627
1627
  default:
1628
1628
  const parsedBody = parsedOutput.body;
1629
1629
  (0, smithy_client_1.throwDefaultError)({
@@ -1634,21 +1634,21 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1634
1634
  });
1635
1635
  }
1636
1636
  };
1637
- const deserializeAws_json1_1UndeploySystemInstanceCommand = async (output, context) => {
1637
+ const de_UndeploySystemInstanceCommand = async (output, context) => {
1638
1638
  if (output.statusCode >= 300) {
1639
- return deserializeAws_json1_1UndeploySystemInstanceCommandError(output, context);
1639
+ return de_UndeploySystemInstanceCommandError(output, context);
1640
1640
  }
1641
1641
  const data = await parseBody(output.body, context);
1642
1642
  let contents = {};
1643
- contents = deserializeAws_json1_1UndeploySystemInstanceResponse(data, context);
1643
+ contents = de_UndeploySystemInstanceResponse(data, context);
1644
1644
  const response = {
1645
1645
  $metadata: deserializeMetadata(output),
1646
1646
  ...contents,
1647
1647
  };
1648
1648
  return Promise.resolve(response);
1649
1649
  };
1650
- exports.deserializeAws_json1_1UndeploySystemInstanceCommand = deserializeAws_json1_1UndeploySystemInstanceCommand;
1651
- const deserializeAws_json1_1UndeploySystemInstanceCommandError = async (output, context) => {
1650
+ exports.de_UndeploySystemInstanceCommand = de_UndeploySystemInstanceCommand;
1651
+ const de_UndeploySystemInstanceCommandError = async (output, context) => {
1652
1652
  const parsedOutput = {
1653
1653
  ...output,
1654
1654
  body: await parseErrorBody(output.body, context),
@@ -1657,19 +1657,19 @@ const deserializeAws_json1_1UndeploySystemInstanceCommandError = async (output,
1657
1657
  switch (errorCode) {
1658
1658
  case "InternalFailureException":
1659
1659
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1660
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1660
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1661
1661
  case "InvalidRequestException":
1662
1662
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1663
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1663
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1664
1664
  case "ResourceInUseException":
1665
1665
  case "com.amazonaws.iotthingsgraph#ResourceInUseException":
1666
- throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
1666
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1667
1667
  case "ResourceNotFoundException":
1668
1668
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1669
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1669
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1670
1670
  case "ThrottlingException":
1671
1671
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1672
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1672
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1673
1673
  default:
1674
1674
  const parsedBody = parsedOutput.body;
1675
1675
  (0, smithy_client_1.throwDefaultError)({
@@ -1680,21 +1680,21 @@ const deserializeAws_json1_1UndeploySystemInstanceCommandError = async (output,
1680
1680
  });
1681
1681
  }
1682
1682
  };
1683
- const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
1683
+ const de_UntagResourceCommand = async (output, context) => {
1684
1684
  if (output.statusCode >= 300) {
1685
- return deserializeAws_json1_1UntagResourceCommandError(output, context);
1685
+ return de_UntagResourceCommandError(output, context);
1686
1686
  }
1687
1687
  const data = await parseBody(output.body, context);
1688
1688
  let contents = {};
1689
- contents = deserializeAws_json1_1UntagResourceResponse(data, context);
1689
+ contents = de_UntagResourceResponse(data, context);
1690
1690
  const response = {
1691
1691
  $metadata: deserializeMetadata(output),
1692
1692
  ...contents,
1693
1693
  };
1694
1694
  return Promise.resolve(response);
1695
1695
  };
1696
- exports.deserializeAws_json1_1UntagResourceCommand = deserializeAws_json1_1UntagResourceCommand;
1697
- const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
1696
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1697
+ const de_UntagResourceCommandError = async (output, context) => {
1698
1698
  const parsedOutput = {
1699
1699
  ...output,
1700
1700
  body: await parseErrorBody(output.body, context),
@@ -1703,16 +1703,16 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1703
1703
  switch (errorCode) {
1704
1704
  case "InternalFailureException":
1705
1705
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1706
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1706
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1707
1707
  case "InvalidRequestException":
1708
1708
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1709
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1709
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1710
1710
  case "ResourceAlreadyExistsException":
1711
1711
  case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
1712
- throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
1712
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1713
1713
  case "ThrottlingException":
1714
1714
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1715
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1715
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1716
1716
  default:
1717
1717
  const parsedBody = parsedOutput.body;
1718
1718
  (0, smithy_client_1.throwDefaultError)({
@@ -1723,21 +1723,21 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1723
1723
  });
1724
1724
  }
1725
1725
  };
1726
- const deserializeAws_json1_1UpdateFlowTemplateCommand = async (output, context) => {
1726
+ const de_UpdateFlowTemplateCommand = async (output, context) => {
1727
1727
  if (output.statusCode >= 300) {
1728
- return deserializeAws_json1_1UpdateFlowTemplateCommandError(output, context);
1728
+ return de_UpdateFlowTemplateCommandError(output, context);
1729
1729
  }
1730
1730
  const data = await parseBody(output.body, context);
1731
1731
  let contents = {};
1732
- contents = deserializeAws_json1_1UpdateFlowTemplateResponse(data, context);
1732
+ contents = de_UpdateFlowTemplateResponse(data, context);
1733
1733
  const response = {
1734
1734
  $metadata: deserializeMetadata(output),
1735
1735
  ...contents,
1736
1736
  };
1737
1737
  return Promise.resolve(response);
1738
1738
  };
1739
- exports.deserializeAws_json1_1UpdateFlowTemplateCommand = deserializeAws_json1_1UpdateFlowTemplateCommand;
1740
- const deserializeAws_json1_1UpdateFlowTemplateCommandError = async (output, context) => {
1739
+ exports.de_UpdateFlowTemplateCommand = de_UpdateFlowTemplateCommand;
1740
+ const de_UpdateFlowTemplateCommandError = async (output, context) => {
1741
1741
  const parsedOutput = {
1742
1742
  ...output,
1743
1743
  body: await parseErrorBody(output.body, context),
@@ -1746,16 +1746,16 @@ const deserializeAws_json1_1UpdateFlowTemplateCommandError = async (output, cont
1746
1746
  switch (errorCode) {
1747
1747
  case "InternalFailureException":
1748
1748
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1749
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1749
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1750
1750
  case "InvalidRequestException":
1751
1751
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1752
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1752
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1753
1753
  case "ResourceNotFoundException":
1754
1754
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1755
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1755
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1756
1756
  case "ThrottlingException":
1757
1757
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1758
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1758
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1759
1759
  default:
1760
1760
  const parsedBody = parsedOutput.body;
1761
1761
  (0, smithy_client_1.throwDefaultError)({
@@ -1766,21 +1766,21 @@ const deserializeAws_json1_1UpdateFlowTemplateCommandError = async (output, cont
1766
1766
  });
1767
1767
  }
1768
1768
  };
1769
- const deserializeAws_json1_1UpdateSystemTemplateCommand = async (output, context) => {
1769
+ const de_UpdateSystemTemplateCommand = async (output, context) => {
1770
1770
  if (output.statusCode >= 300) {
1771
- return deserializeAws_json1_1UpdateSystemTemplateCommandError(output, context);
1771
+ return de_UpdateSystemTemplateCommandError(output, context);
1772
1772
  }
1773
1773
  const data = await parseBody(output.body, context);
1774
1774
  let contents = {};
1775
- contents = deserializeAws_json1_1UpdateSystemTemplateResponse(data, context);
1775
+ contents = de_UpdateSystemTemplateResponse(data, context);
1776
1776
  const response = {
1777
1777
  $metadata: deserializeMetadata(output),
1778
1778
  ...contents,
1779
1779
  };
1780
1780
  return Promise.resolve(response);
1781
1781
  };
1782
- exports.deserializeAws_json1_1UpdateSystemTemplateCommand = deserializeAws_json1_1UpdateSystemTemplateCommand;
1783
- const deserializeAws_json1_1UpdateSystemTemplateCommandError = async (output, context) => {
1782
+ exports.de_UpdateSystemTemplateCommand = de_UpdateSystemTemplateCommand;
1783
+ const de_UpdateSystemTemplateCommandError = async (output, context) => {
1784
1784
  const parsedOutput = {
1785
1785
  ...output,
1786
1786
  body: await parseErrorBody(output.body, context),
@@ -1789,16 +1789,16 @@ const deserializeAws_json1_1UpdateSystemTemplateCommandError = async (output, co
1789
1789
  switch (errorCode) {
1790
1790
  case "InternalFailureException":
1791
1791
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1792
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1792
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1793
1793
  case "InvalidRequestException":
1794
1794
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1795
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1795
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1796
1796
  case "ResourceNotFoundException":
1797
1797
  case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1798
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1798
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1799
1799
  case "ThrottlingException":
1800
1800
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1801
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1801
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1802
1802
  default:
1803
1803
  const parsedBody = parsedOutput.body;
1804
1804
  (0, smithy_client_1.throwDefaultError)({
@@ -1809,21 +1809,21 @@ const deserializeAws_json1_1UpdateSystemTemplateCommandError = async (output, co
1809
1809
  });
1810
1810
  }
1811
1811
  };
1812
- const deserializeAws_json1_1UploadEntityDefinitionsCommand = async (output, context) => {
1812
+ const de_UploadEntityDefinitionsCommand = async (output, context) => {
1813
1813
  if (output.statusCode >= 300) {
1814
- return deserializeAws_json1_1UploadEntityDefinitionsCommandError(output, context);
1814
+ return de_UploadEntityDefinitionsCommandError(output, context);
1815
1815
  }
1816
1816
  const data = await parseBody(output.body, context);
1817
1817
  let contents = {};
1818
- contents = deserializeAws_json1_1UploadEntityDefinitionsResponse(data, context);
1818
+ contents = de_UploadEntityDefinitionsResponse(data, context);
1819
1819
  const response = {
1820
1820
  $metadata: deserializeMetadata(output),
1821
1821
  ...contents,
1822
1822
  };
1823
1823
  return Promise.resolve(response);
1824
1824
  };
1825
- exports.deserializeAws_json1_1UploadEntityDefinitionsCommand = deserializeAws_json1_1UploadEntityDefinitionsCommand;
1826
- const deserializeAws_json1_1UploadEntityDefinitionsCommandError = async (output, context) => {
1825
+ exports.de_UploadEntityDefinitionsCommand = de_UploadEntityDefinitionsCommand;
1826
+ const de_UploadEntityDefinitionsCommandError = async (output, context) => {
1827
1827
  const parsedOutput = {
1828
1828
  ...output,
1829
1829
  body: await parseErrorBody(output.body, context),
@@ -1832,13 +1832,13 @@ const deserializeAws_json1_1UploadEntityDefinitionsCommandError = async (output,
1832
1832
  switch (errorCode) {
1833
1833
  case "InternalFailureException":
1834
1834
  case "com.amazonaws.iotthingsgraph#InternalFailureException":
1835
- throw await deserializeAws_json1_1InternalFailureExceptionResponse(parsedOutput, context);
1835
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1836
1836
  case "InvalidRequestException":
1837
1837
  case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1838
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1838
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1839
1839
  case "ThrottlingException":
1840
1840
  case "com.amazonaws.iotthingsgraph#ThrottlingException":
1841
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1841
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1842
1842
  default:
1843
1843
  const parsedBody = parsedOutput.body;
1844
1844
  (0, smithy_client_1.throwDefaultError)({
@@ -1849,273 +1849,273 @@ const deserializeAws_json1_1UploadEntityDefinitionsCommandError = async (output,
1849
1849
  });
1850
1850
  }
1851
1851
  };
1852
- const deserializeAws_json1_1InternalFailureExceptionResponse = async (parsedOutput, context) => {
1852
+ const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
1853
1853
  const body = parsedOutput.body;
1854
- const deserialized = deserializeAws_json1_1InternalFailureException(body, context);
1854
+ const deserialized = de_InternalFailureException(body, context);
1855
1855
  const exception = new models_0_1.InternalFailureException({
1856
1856
  $metadata: deserializeMetadata(parsedOutput),
1857
1857
  ...deserialized,
1858
1858
  });
1859
1859
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1860
1860
  };
1861
- const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1861
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1862
1862
  const body = parsedOutput.body;
1863
- const deserialized = deserializeAws_json1_1InvalidRequestException(body, context);
1863
+ const deserialized = de_InvalidRequestException(body, context);
1864
1864
  const exception = new models_0_1.InvalidRequestException({
1865
1865
  $metadata: deserializeMetadata(parsedOutput),
1866
1866
  ...deserialized,
1867
1867
  });
1868
1868
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1869
1869
  };
1870
- const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
1870
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1871
1871
  const body = parsedOutput.body;
1872
- const deserialized = deserializeAws_json1_1LimitExceededException(body, context);
1872
+ const deserialized = de_LimitExceededException(body, context);
1873
1873
  const exception = new models_0_1.LimitExceededException({
1874
1874
  $metadata: deserializeMetadata(parsedOutput),
1875
1875
  ...deserialized,
1876
1876
  });
1877
1877
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1878
1878
  };
1879
- const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
1879
+ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1880
1880
  const body = parsedOutput.body;
1881
- const deserialized = deserializeAws_json1_1ResourceAlreadyExistsException(body, context);
1881
+ const deserialized = de_ResourceAlreadyExistsException(body, context);
1882
1882
  const exception = new models_0_1.ResourceAlreadyExistsException({
1883
1883
  $metadata: deserializeMetadata(parsedOutput),
1884
1884
  ...deserialized,
1885
1885
  });
1886
1886
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1887
1887
  };
1888
- const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
1888
+ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
1889
1889
  const body = parsedOutput.body;
1890
- const deserialized = deserializeAws_json1_1ResourceInUseException(body, context);
1890
+ const deserialized = de_ResourceInUseException(body, context);
1891
1891
  const exception = new models_0_1.ResourceInUseException({
1892
1892
  $metadata: deserializeMetadata(parsedOutput),
1893
1893
  ...deserialized,
1894
1894
  });
1895
1895
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1896
1896
  };
1897
- const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1897
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1898
1898
  const body = parsedOutput.body;
1899
- const deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
1899
+ const deserialized = de_ResourceNotFoundException(body, context);
1900
1900
  const exception = new models_0_1.ResourceNotFoundException({
1901
1901
  $metadata: deserializeMetadata(parsedOutput),
1902
1902
  ...deserialized,
1903
1903
  });
1904
1904
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1905
1905
  };
1906
- const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1906
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1907
1907
  const body = parsedOutput.body;
1908
- const deserialized = deserializeAws_json1_1ThrottlingException(body, context);
1908
+ const deserialized = de_ThrottlingException(body, context);
1909
1909
  const exception = new models_0_1.ThrottlingException({
1910
1910
  $metadata: deserializeMetadata(parsedOutput),
1911
1911
  ...deserialized,
1912
1912
  });
1913
1913
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1914
1914
  };
1915
- const serializeAws_json1_1AssociateEntityToThingRequest = (input, context) => {
1915
+ const se_AssociateEntityToThingRequest = (input, context) => {
1916
1916
  return {
1917
1917
  ...(input.entityId != null && { entityId: input.entityId }),
1918
1918
  ...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
1919
1919
  ...(input.thingName != null && { thingName: input.thingName }),
1920
1920
  };
1921
1921
  };
1922
- const serializeAws_json1_1CreateFlowTemplateRequest = (input, context) => {
1922
+ const se_CreateFlowTemplateRequest = (input, context) => {
1923
1923
  return {
1924
1924
  ...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
1925
- ...(input.definition != null && { definition: serializeAws_json1_1DefinitionDocument(input.definition, context) }),
1925
+ ...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
1926
1926
  };
1927
1927
  };
1928
- const serializeAws_json1_1CreateSystemInstanceRequest = (input, context) => {
1928
+ const se_CreateSystemInstanceRequest = (input, context) => {
1929
1929
  return {
1930
- ...(input.definition != null && { definition: serializeAws_json1_1DefinitionDocument(input.definition, context) }),
1930
+ ...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
1931
1931
  ...(input.flowActionsRoleArn != null && { flowActionsRoleArn: input.flowActionsRoleArn }),
1932
1932
  ...(input.greengrassGroupName != null && { greengrassGroupName: input.greengrassGroupName }),
1933
1933
  ...(input.metricsConfiguration != null && {
1934
- metricsConfiguration: serializeAws_json1_1MetricsConfiguration(input.metricsConfiguration, context),
1934
+ metricsConfiguration: se_MetricsConfiguration(input.metricsConfiguration, context),
1935
1935
  }),
1936
1936
  ...(input.s3BucketName != null && { s3BucketName: input.s3BucketName }),
1937
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
1937
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
1938
1938
  ...(input.target != null && { target: input.target }),
1939
1939
  };
1940
1940
  };
1941
- const serializeAws_json1_1CreateSystemTemplateRequest = (input, context) => {
1941
+ const se_CreateSystemTemplateRequest = (input, context) => {
1942
1942
  return {
1943
1943
  ...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
1944
- ...(input.definition != null && { definition: serializeAws_json1_1DefinitionDocument(input.definition, context) }),
1944
+ ...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
1945
1945
  };
1946
1946
  };
1947
- const serializeAws_json1_1DefinitionDocument = (input, context) => {
1947
+ const se_DefinitionDocument = (input, context) => {
1948
1948
  return {
1949
1949
  ...(input.language != null && { language: input.language }),
1950
1950
  ...(input.text != null && { text: input.text }),
1951
1951
  };
1952
1952
  };
1953
- const serializeAws_json1_1DeleteFlowTemplateRequest = (input, context) => {
1953
+ const se_DeleteFlowTemplateRequest = (input, context) => {
1954
1954
  return {
1955
1955
  ...(input.id != null && { id: input.id }),
1956
1956
  };
1957
1957
  };
1958
- const serializeAws_json1_1DeleteNamespaceRequest = (input, context) => {
1958
+ const se_DeleteNamespaceRequest = (input, context) => {
1959
1959
  return {};
1960
1960
  };
1961
- const serializeAws_json1_1DeleteSystemInstanceRequest = (input, context) => {
1961
+ const se_DeleteSystemInstanceRequest = (input, context) => {
1962
1962
  return {
1963
1963
  ...(input.id != null && { id: input.id }),
1964
1964
  };
1965
1965
  };
1966
- const serializeAws_json1_1DeleteSystemTemplateRequest = (input, context) => {
1966
+ const se_DeleteSystemTemplateRequest = (input, context) => {
1967
1967
  return {
1968
1968
  ...(input.id != null && { id: input.id }),
1969
1969
  };
1970
1970
  };
1971
- const serializeAws_json1_1DeploySystemInstanceRequest = (input, context) => {
1971
+ const se_DeploySystemInstanceRequest = (input, context) => {
1972
1972
  return {
1973
1973
  ...(input.id != null && { id: input.id }),
1974
1974
  };
1975
1975
  };
1976
- const serializeAws_json1_1DeprecateFlowTemplateRequest = (input, context) => {
1976
+ const se_DeprecateFlowTemplateRequest = (input, context) => {
1977
1977
  return {
1978
1978
  ...(input.id != null && { id: input.id }),
1979
1979
  };
1980
1980
  };
1981
- const serializeAws_json1_1DeprecateSystemTemplateRequest = (input, context) => {
1981
+ const se_DeprecateSystemTemplateRequest = (input, context) => {
1982
1982
  return {
1983
1983
  ...(input.id != null && { id: input.id }),
1984
1984
  };
1985
1985
  };
1986
- const serializeAws_json1_1DescribeNamespaceRequest = (input, context) => {
1986
+ const se_DescribeNamespaceRequest = (input, context) => {
1987
1987
  return {
1988
1988
  ...(input.namespaceName != null && { namespaceName: input.namespaceName }),
1989
1989
  };
1990
1990
  };
1991
- const serializeAws_json1_1DissociateEntityFromThingRequest = (input, context) => {
1991
+ const se_DissociateEntityFromThingRequest = (input, context) => {
1992
1992
  return {
1993
1993
  ...(input.entityType != null && { entityType: input.entityType }),
1994
1994
  ...(input.thingName != null && { thingName: input.thingName }),
1995
1995
  };
1996
1996
  };
1997
- const serializeAws_json1_1EntityFilter = (input, context) => {
1997
+ const se_EntityFilter = (input, context) => {
1998
1998
  return {
1999
1999
  ...(input.name != null && { name: input.name }),
2000
- ...(input.value != null && { value: serializeAws_json1_1EntityFilterValues(input.value, context) }),
2000
+ ...(input.value != null && { value: se_EntityFilterValues(input.value, context) }),
2001
2001
  };
2002
2002
  };
2003
- const serializeAws_json1_1EntityFilters = (input, context) => {
2003
+ const se_EntityFilters = (input, context) => {
2004
2004
  return input
2005
2005
  .filter((e) => e != null)
2006
2006
  .map((entry) => {
2007
- return serializeAws_json1_1EntityFilter(entry, context);
2007
+ return se_EntityFilter(entry, context);
2008
2008
  });
2009
2009
  };
2010
- const serializeAws_json1_1EntityFilterValues = (input, context) => {
2010
+ const se_EntityFilterValues = (input, context) => {
2011
2011
  return input
2012
2012
  .filter((e) => e != null)
2013
2013
  .map((entry) => {
2014
2014
  return entry;
2015
2015
  });
2016
2016
  };
2017
- const serializeAws_json1_1EntityTypes = (input, context) => {
2017
+ const se_EntityTypes = (input, context) => {
2018
2018
  return input
2019
2019
  .filter((e) => e != null)
2020
2020
  .map((entry) => {
2021
2021
  return entry;
2022
2022
  });
2023
2023
  };
2024
- const serializeAws_json1_1FlowTemplateFilter = (input, context) => {
2024
+ const se_FlowTemplateFilter = (input, context) => {
2025
2025
  return {
2026
2026
  ...(input.name != null && { name: input.name }),
2027
- ...(input.value != null && { value: serializeAws_json1_1FlowTemplateFilterValues(input.value, context) }),
2027
+ ...(input.value != null && { value: se_FlowTemplateFilterValues(input.value, context) }),
2028
2028
  };
2029
2029
  };
2030
- const serializeAws_json1_1FlowTemplateFilters = (input, context) => {
2030
+ const se_FlowTemplateFilters = (input, context) => {
2031
2031
  return input
2032
2032
  .filter((e) => e != null)
2033
2033
  .map((entry) => {
2034
- return serializeAws_json1_1FlowTemplateFilter(entry, context);
2034
+ return se_FlowTemplateFilter(entry, context);
2035
2035
  });
2036
2036
  };
2037
- const serializeAws_json1_1FlowTemplateFilterValues = (input, context) => {
2037
+ const se_FlowTemplateFilterValues = (input, context) => {
2038
2038
  return input
2039
2039
  .filter((e) => e != null)
2040
2040
  .map((entry) => {
2041
2041
  return entry;
2042
2042
  });
2043
2043
  };
2044
- const serializeAws_json1_1GetEntitiesRequest = (input, context) => {
2044
+ const se_GetEntitiesRequest = (input, context) => {
2045
2045
  return {
2046
- ...(input.ids != null && { ids: serializeAws_json1_1Urns(input.ids, context) }),
2046
+ ...(input.ids != null && { ids: se_Urns(input.ids, context) }),
2047
2047
  ...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
2048
2048
  };
2049
2049
  };
2050
- const serializeAws_json1_1GetFlowTemplateRequest = (input, context) => {
2050
+ const se_GetFlowTemplateRequest = (input, context) => {
2051
2051
  return {
2052
2052
  ...(input.id != null && { id: input.id }),
2053
2053
  ...(input.revisionNumber != null && { revisionNumber: input.revisionNumber }),
2054
2054
  };
2055
2055
  };
2056
- const serializeAws_json1_1GetFlowTemplateRevisionsRequest = (input, context) => {
2056
+ const se_GetFlowTemplateRevisionsRequest = (input, context) => {
2057
2057
  return {
2058
2058
  ...(input.id != null && { id: input.id }),
2059
2059
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2060
2060
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2061
2061
  };
2062
2062
  };
2063
- const serializeAws_json1_1GetNamespaceDeletionStatusRequest = (input, context) => {
2063
+ const se_GetNamespaceDeletionStatusRequest = (input, context) => {
2064
2064
  return {};
2065
2065
  };
2066
- const serializeAws_json1_1GetSystemInstanceRequest = (input, context) => {
2066
+ const se_GetSystemInstanceRequest = (input, context) => {
2067
2067
  return {
2068
2068
  ...(input.id != null && { id: input.id }),
2069
2069
  };
2070
2070
  };
2071
- const serializeAws_json1_1GetSystemTemplateRequest = (input, context) => {
2071
+ const se_GetSystemTemplateRequest = (input, context) => {
2072
2072
  return {
2073
2073
  ...(input.id != null && { id: input.id }),
2074
2074
  ...(input.revisionNumber != null && { revisionNumber: input.revisionNumber }),
2075
2075
  };
2076
2076
  };
2077
- const serializeAws_json1_1GetSystemTemplateRevisionsRequest = (input, context) => {
2077
+ const se_GetSystemTemplateRevisionsRequest = (input, context) => {
2078
2078
  return {
2079
2079
  ...(input.id != null && { id: input.id }),
2080
2080
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2081
2081
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2082
2082
  };
2083
2083
  };
2084
- const serializeAws_json1_1GetUploadStatusRequest = (input, context) => {
2084
+ const se_GetUploadStatusRequest = (input, context) => {
2085
2085
  return {
2086
2086
  ...(input.uploadId != null && { uploadId: input.uploadId }),
2087
2087
  };
2088
2088
  };
2089
- const serializeAws_json1_1ListFlowExecutionMessagesRequest = (input, context) => {
2089
+ const se_ListFlowExecutionMessagesRequest = (input, context) => {
2090
2090
  return {
2091
2091
  ...(input.flowExecutionId != null && { flowExecutionId: input.flowExecutionId }),
2092
2092
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2093
2093
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2094
2094
  };
2095
2095
  };
2096
- const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
2096
+ const se_ListTagsForResourceRequest = (input, context) => {
2097
2097
  return {
2098
2098
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2099
2099
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2100
2100
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2101
2101
  };
2102
2102
  };
2103
- const serializeAws_json1_1MetricsConfiguration = (input, context) => {
2103
+ const se_MetricsConfiguration = (input, context) => {
2104
2104
  return {
2105
2105
  ...(input.cloudMetricEnabled != null && { cloudMetricEnabled: input.cloudMetricEnabled }),
2106
2106
  ...(input.metricRuleRoleArn != null && { metricRuleRoleArn: input.metricRuleRoleArn }),
2107
2107
  };
2108
2108
  };
2109
- const serializeAws_json1_1SearchEntitiesRequest = (input, context) => {
2109
+ const se_SearchEntitiesRequest = (input, context) => {
2110
2110
  return {
2111
- ...(input.entityTypes != null && { entityTypes: serializeAws_json1_1EntityTypes(input.entityTypes, context) }),
2112
- ...(input.filters != null && { filters: serializeAws_json1_1EntityFilters(input.filters, context) }),
2111
+ ...(input.entityTypes != null && { entityTypes: se_EntityTypes(input.entityTypes, context) }),
2112
+ ...(input.filters != null && { filters: se_EntityFilters(input.filters, context) }),
2113
2113
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2114
2114
  ...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
2115
2115
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2116
2116
  };
2117
2117
  };
2118
- const serializeAws_json1_1SearchFlowExecutionsRequest = (input, context) => {
2118
+ const se_SearchFlowExecutionsRequest = (input, context) => {
2119
2119
  return {
2120
2120
  ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
2121
2121
  ...(input.flowExecutionId != null && { flowExecutionId: input.flowExecutionId }),
@@ -2125,28 +2125,28 @@ const serializeAws_json1_1SearchFlowExecutionsRequest = (input, context) => {
2125
2125
  ...(input.systemInstanceId != null && { systemInstanceId: input.systemInstanceId }),
2126
2126
  };
2127
2127
  };
2128
- const serializeAws_json1_1SearchFlowTemplatesRequest = (input, context) => {
2128
+ const se_SearchFlowTemplatesRequest = (input, context) => {
2129
2129
  return {
2130
- ...(input.filters != null && { filters: serializeAws_json1_1FlowTemplateFilters(input.filters, context) }),
2130
+ ...(input.filters != null && { filters: se_FlowTemplateFilters(input.filters, context) }),
2131
2131
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2132
2132
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2133
2133
  };
2134
2134
  };
2135
- const serializeAws_json1_1SearchSystemInstancesRequest = (input, context) => {
2135
+ const se_SearchSystemInstancesRequest = (input, context) => {
2136
2136
  return {
2137
- ...(input.filters != null && { filters: serializeAws_json1_1SystemInstanceFilters(input.filters, context) }),
2137
+ ...(input.filters != null && { filters: se_SystemInstanceFilters(input.filters, context) }),
2138
2138
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2139
2139
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2140
2140
  };
2141
2141
  };
2142
- const serializeAws_json1_1SearchSystemTemplatesRequest = (input, context) => {
2142
+ const se_SearchSystemTemplatesRequest = (input, context) => {
2143
2143
  return {
2144
- ...(input.filters != null && { filters: serializeAws_json1_1SystemTemplateFilters(input.filters, context) }),
2144
+ ...(input.filters != null && { filters: se_SystemTemplateFilters(input.filters, context) }),
2145
2145
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2146
2146
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2147
2147
  };
2148
2148
  };
2149
- const serializeAws_json1_1SearchThingsRequest = (input, context) => {
2149
+ const se_SearchThingsRequest = (input, context) => {
2150
2150
  return {
2151
2151
  ...(input.entityId != null && { entityId: input.entityId }),
2152
2152
  ...(input.maxResults != null && { maxResults: input.maxResults }),
@@ -2154,180 +2154,180 @@ const serializeAws_json1_1SearchThingsRequest = (input, context) => {
2154
2154
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2155
2155
  };
2156
2156
  };
2157
- const serializeAws_json1_1SystemInstanceFilter = (input, context) => {
2157
+ const se_SystemInstanceFilter = (input, context) => {
2158
2158
  return {
2159
2159
  ...(input.name != null && { name: input.name }),
2160
- ...(input.value != null && { value: serializeAws_json1_1SystemInstanceFilterValues(input.value, context) }),
2160
+ ...(input.value != null && { value: se_SystemInstanceFilterValues(input.value, context) }),
2161
2161
  };
2162
2162
  };
2163
- const serializeAws_json1_1SystemInstanceFilters = (input, context) => {
2163
+ const se_SystemInstanceFilters = (input, context) => {
2164
2164
  return input
2165
2165
  .filter((e) => e != null)
2166
2166
  .map((entry) => {
2167
- return serializeAws_json1_1SystemInstanceFilter(entry, context);
2167
+ return se_SystemInstanceFilter(entry, context);
2168
2168
  });
2169
2169
  };
2170
- const serializeAws_json1_1SystemInstanceFilterValues = (input, context) => {
2170
+ const se_SystemInstanceFilterValues = (input, context) => {
2171
2171
  return input
2172
2172
  .filter((e) => e != null)
2173
2173
  .map((entry) => {
2174
2174
  return entry;
2175
2175
  });
2176
2176
  };
2177
- const serializeAws_json1_1SystemTemplateFilter = (input, context) => {
2177
+ const se_SystemTemplateFilter = (input, context) => {
2178
2178
  return {
2179
2179
  ...(input.name != null && { name: input.name }),
2180
- ...(input.value != null && { value: serializeAws_json1_1SystemTemplateFilterValues(input.value, context) }),
2180
+ ...(input.value != null && { value: se_SystemTemplateFilterValues(input.value, context) }),
2181
2181
  };
2182
2182
  };
2183
- const serializeAws_json1_1SystemTemplateFilters = (input, context) => {
2183
+ const se_SystemTemplateFilters = (input, context) => {
2184
2184
  return input
2185
2185
  .filter((e) => e != null)
2186
2186
  .map((entry) => {
2187
- return serializeAws_json1_1SystemTemplateFilter(entry, context);
2187
+ return se_SystemTemplateFilter(entry, context);
2188
2188
  });
2189
2189
  };
2190
- const serializeAws_json1_1SystemTemplateFilterValues = (input, context) => {
2190
+ const se_SystemTemplateFilterValues = (input, context) => {
2191
2191
  return input
2192
2192
  .filter((e) => e != null)
2193
2193
  .map((entry) => {
2194
2194
  return entry;
2195
2195
  });
2196
2196
  };
2197
- const serializeAws_json1_1Tag = (input, context) => {
2197
+ const se_Tag = (input, context) => {
2198
2198
  return {
2199
2199
  ...(input.key != null && { key: input.key }),
2200
2200
  ...(input.value != null && { value: input.value }),
2201
2201
  };
2202
2202
  };
2203
- const serializeAws_json1_1TagKeyList = (input, context) => {
2203
+ const se_TagKeyList = (input, context) => {
2204
2204
  return input
2205
2205
  .filter((e) => e != null)
2206
2206
  .map((entry) => {
2207
2207
  return entry;
2208
2208
  });
2209
2209
  };
2210
- const serializeAws_json1_1TagList = (input, context) => {
2210
+ const se_TagList = (input, context) => {
2211
2211
  return input
2212
2212
  .filter((e) => e != null)
2213
2213
  .map((entry) => {
2214
- return serializeAws_json1_1Tag(entry, context);
2214
+ return se_Tag(entry, context);
2215
2215
  });
2216
2216
  };
2217
- const serializeAws_json1_1TagResourceRequest = (input, context) => {
2217
+ const se_TagResourceRequest = (input, context) => {
2218
2218
  return {
2219
2219
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2220
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
2220
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
2221
2221
  };
2222
2222
  };
2223
- const serializeAws_json1_1UndeploySystemInstanceRequest = (input, context) => {
2223
+ const se_UndeploySystemInstanceRequest = (input, context) => {
2224
2224
  return {
2225
2225
  ...(input.id != null && { id: input.id }),
2226
2226
  };
2227
2227
  };
2228
- const serializeAws_json1_1UntagResourceRequest = (input, context) => {
2228
+ const se_UntagResourceRequest = (input, context) => {
2229
2229
  return {
2230
2230
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2231
- ...(input.tagKeys != null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }),
2231
+ ...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
2232
2232
  };
2233
2233
  };
2234
- const serializeAws_json1_1UpdateFlowTemplateRequest = (input, context) => {
2234
+ const se_UpdateFlowTemplateRequest = (input, context) => {
2235
2235
  return {
2236
2236
  ...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
2237
- ...(input.definition != null && { definition: serializeAws_json1_1DefinitionDocument(input.definition, context) }),
2237
+ ...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
2238
2238
  ...(input.id != null && { id: input.id }),
2239
2239
  };
2240
2240
  };
2241
- const serializeAws_json1_1UpdateSystemTemplateRequest = (input, context) => {
2241
+ const se_UpdateSystemTemplateRequest = (input, context) => {
2242
2242
  return {
2243
2243
  ...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
2244
- ...(input.definition != null && { definition: serializeAws_json1_1DefinitionDocument(input.definition, context) }),
2244
+ ...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
2245
2245
  ...(input.id != null && { id: input.id }),
2246
2246
  };
2247
2247
  };
2248
- const serializeAws_json1_1UploadEntityDefinitionsRequest = (input, context) => {
2248
+ const se_UploadEntityDefinitionsRequest = (input, context) => {
2249
2249
  return {
2250
2250
  ...(input.deprecateExistingEntities != null && { deprecateExistingEntities: input.deprecateExistingEntities }),
2251
- ...(input.document != null && { document: serializeAws_json1_1DefinitionDocument(input.document, context) }),
2251
+ ...(input.document != null && { document: se_DefinitionDocument(input.document, context) }),
2252
2252
  ...(input.syncWithPublicNamespace != null && { syncWithPublicNamespace: input.syncWithPublicNamespace }),
2253
2253
  };
2254
2254
  };
2255
- const serializeAws_json1_1Urns = (input, context) => {
2255
+ const se_Urns = (input, context) => {
2256
2256
  return input
2257
2257
  .filter((e) => e != null)
2258
2258
  .map((entry) => {
2259
2259
  return entry;
2260
2260
  });
2261
2261
  };
2262
- const deserializeAws_json1_1AssociateEntityToThingResponse = (output, context) => {
2262
+ const de_AssociateEntityToThingResponse = (output, context) => {
2263
2263
  return {};
2264
2264
  };
2265
- const deserializeAws_json1_1CreateFlowTemplateResponse = (output, context) => {
2265
+ const de_CreateFlowTemplateResponse = (output, context) => {
2266
2266
  return {
2267
- summary: output.summary != null ? deserializeAws_json1_1FlowTemplateSummary(output.summary, context) : undefined,
2267
+ summary: output.summary != null ? de_FlowTemplateSummary(output.summary, context) : undefined,
2268
2268
  };
2269
2269
  };
2270
- const deserializeAws_json1_1CreateSystemInstanceResponse = (output, context) => {
2270
+ const de_CreateSystemInstanceResponse = (output, context) => {
2271
2271
  return {
2272
- summary: output.summary != null ? deserializeAws_json1_1SystemInstanceSummary(output.summary, context) : undefined,
2272
+ summary: output.summary != null ? de_SystemInstanceSummary(output.summary, context) : undefined,
2273
2273
  };
2274
2274
  };
2275
- const deserializeAws_json1_1CreateSystemTemplateResponse = (output, context) => {
2275
+ const de_CreateSystemTemplateResponse = (output, context) => {
2276
2276
  return {
2277
- summary: output.summary != null ? deserializeAws_json1_1SystemTemplateSummary(output.summary, context) : undefined,
2277
+ summary: output.summary != null ? de_SystemTemplateSummary(output.summary, context) : undefined,
2278
2278
  };
2279
2279
  };
2280
- const deserializeAws_json1_1DefinitionDocument = (output, context) => {
2280
+ const de_DefinitionDocument = (output, context) => {
2281
2281
  return {
2282
2282
  language: (0, smithy_client_1.expectString)(output.language),
2283
2283
  text: (0, smithy_client_1.expectString)(output.text),
2284
2284
  };
2285
2285
  };
2286
- const deserializeAws_json1_1DeleteFlowTemplateResponse = (output, context) => {
2286
+ const de_DeleteFlowTemplateResponse = (output, context) => {
2287
2287
  return {};
2288
2288
  };
2289
- const deserializeAws_json1_1DeleteNamespaceResponse = (output, context) => {
2289
+ const de_DeleteNamespaceResponse = (output, context) => {
2290
2290
  return {
2291
2291
  namespaceArn: (0, smithy_client_1.expectString)(output.namespaceArn),
2292
2292
  namespaceName: (0, smithy_client_1.expectString)(output.namespaceName),
2293
2293
  };
2294
2294
  };
2295
- const deserializeAws_json1_1DeleteSystemInstanceResponse = (output, context) => {
2295
+ const de_DeleteSystemInstanceResponse = (output, context) => {
2296
2296
  return {};
2297
2297
  };
2298
- const deserializeAws_json1_1DeleteSystemTemplateResponse = (output, context) => {
2298
+ const de_DeleteSystemTemplateResponse = (output, context) => {
2299
2299
  return {};
2300
2300
  };
2301
- const deserializeAws_json1_1DependencyRevision = (output, context) => {
2301
+ const de_DependencyRevision = (output, context) => {
2302
2302
  return {
2303
2303
  id: (0, smithy_client_1.expectString)(output.id),
2304
2304
  revisionNumber: (0, smithy_client_1.expectLong)(output.revisionNumber),
2305
2305
  };
2306
2306
  };
2307
- const deserializeAws_json1_1DependencyRevisions = (output, context) => {
2307
+ const de_DependencyRevisions = (output, context) => {
2308
2308
  const retVal = (output || [])
2309
2309
  .filter((e) => e != null)
2310
2310
  .map((entry) => {
2311
2311
  if (entry === null) {
2312
2312
  return null;
2313
2313
  }
2314
- return deserializeAws_json1_1DependencyRevision(entry, context);
2314
+ return de_DependencyRevision(entry, context);
2315
2315
  });
2316
2316
  return retVal;
2317
2317
  };
2318
- const deserializeAws_json1_1DeploySystemInstanceResponse = (output, context) => {
2318
+ const de_DeploySystemInstanceResponse = (output, context) => {
2319
2319
  return {
2320
2320
  greengrassDeploymentId: (0, smithy_client_1.expectString)(output.greengrassDeploymentId),
2321
- summary: output.summary != null ? deserializeAws_json1_1SystemInstanceSummary(output.summary, context) : undefined,
2321
+ summary: output.summary != null ? de_SystemInstanceSummary(output.summary, context) : undefined,
2322
2322
  };
2323
2323
  };
2324
- const deserializeAws_json1_1DeprecateFlowTemplateResponse = (output, context) => {
2324
+ const de_DeprecateFlowTemplateResponse = (output, context) => {
2325
2325
  return {};
2326
2326
  };
2327
- const deserializeAws_json1_1DeprecateSystemTemplateResponse = (output, context) => {
2327
+ const de_DeprecateSystemTemplateResponse = (output, context) => {
2328
2328
  return {};
2329
2329
  };
2330
- const deserializeAws_json1_1DescribeNamespaceResponse = (output, context) => {
2330
+ const de_DescribeNamespaceResponse = (output, context) => {
2331
2331
  return {
2332
2332
  namespaceArn: (0, smithy_client_1.expectString)(output.namespaceArn),
2333
2333
  namespaceName: (0, smithy_client_1.expectString)(output.namespaceName),
@@ -2336,30 +2336,30 @@ const deserializeAws_json1_1DescribeNamespaceResponse = (output, context) => {
2336
2336
  trackingNamespaceVersion: (0, smithy_client_1.expectLong)(output.trackingNamespaceVersion),
2337
2337
  };
2338
2338
  };
2339
- const deserializeAws_json1_1DissociateEntityFromThingResponse = (output, context) => {
2339
+ const de_DissociateEntityFromThingResponse = (output, context) => {
2340
2340
  return {};
2341
2341
  };
2342
- const deserializeAws_json1_1EntityDescription = (output, context) => {
2342
+ const de_EntityDescription = (output, context) => {
2343
2343
  return {
2344
2344
  arn: (0, smithy_client_1.expectString)(output.arn),
2345
2345
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
2346
- definition: output.definition != null ? deserializeAws_json1_1DefinitionDocument(output.definition, context) : undefined,
2346
+ definition: output.definition != null ? de_DefinitionDocument(output.definition, context) : undefined,
2347
2347
  id: (0, smithy_client_1.expectString)(output.id),
2348
2348
  type: (0, smithy_client_1.expectString)(output.type),
2349
2349
  };
2350
2350
  };
2351
- const deserializeAws_json1_1EntityDescriptions = (output, context) => {
2351
+ const de_EntityDescriptions = (output, context) => {
2352
2352
  const retVal = (output || [])
2353
2353
  .filter((e) => e != null)
2354
2354
  .map((entry) => {
2355
2355
  if (entry === null) {
2356
2356
  return null;
2357
2357
  }
2358
- return deserializeAws_json1_1EntityDescription(entry, context);
2358
+ return de_EntityDescription(entry, context);
2359
2359
  });
2360
2360
  return retVal;
2361
2361
  };
2362
- const deserializeAws_json1_1FlowExecutionMessage = (output, context) => {
2362
+ const de_FlowExecutionMessage = (output, context) => {
2363
2363
  return {
2364
2364
  eventType: (0, smithy_client_1.expectString)(output.eventType),
2365
2365
  messageId: (0, smithy_client_1.expectString)(output.messageId),
@@ -2367,29 +2367,29 @@ const deserializeAws_json1_1FlowExecutionMessage = (output, context) => {
2367
2367
  timestamp: output.timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.timestamp))) : undefined,
2368
2368
  };
2369
2369
  };
2370
- const deserializeAws_json1_1FlowExecutionMessages = (output, context) => {
2370
+ const de_FlowExecutionMessages = (output, context) => {
2371
2371
  const retVal = (output || [])
2372
2372
  .filter((e) => e != null)
2373
2373
  .map((entry) => {
2374
2374
  if (entry === null) {
2375
2375
  return null;
2376
2376
  }
2377
- return deserializeAws_json1_1FlowExecutionMessage(entry, context);
2377
+ return de_FlowExecutionMessage(entry, context);
2378
2378
  });
2379
2379
  return retVal;
2380
2380
  };
2381
- const deserializeAws_json1_1FlowExecutionSummaries = (output, context) => {
2381
+ const de_FlowExecutionSummaries = (output, context) => {
2382
2382
  const retVal = (output || [])
2383
2383
  .filter((e) => e != null)
2384
2384
  .map((entry) => {
2385
2385
  if (entry === null) {
2386
2386
  return null;
2387
2387
  }
2388
- return deserializeAws_json1_1FlowExecutionSummary(entry, context);
2388
+ return de_FlowExecutionSummary(entry, context);
2389
2389
  });
2390
2390
  return retVal;
2391
2391
  };
2392
- const deserializeAws_json1_1FlowExecutionSummary = (output, context) => {
2392
+ const de_FlowExecutionSummary = (output, context) => {
2393
2393
  return {
2394
2394
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
2395
2395
  flowExecutionId: (0, smithy_client_1.expectString)(output.flowExecutionId),
@@ -2399,25 +2399,25 @@ const deserializeAws_json1_1FlowExecutionSummary = (output, context) => {
2399
2399
  updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt))) : undefined,
2400
2400
  };
2401
2401
  };
2402
- const deserializeAws_json1_1FlowTemplateDescription = (output, context) => {
2402
+ const de_FlowTemplateDescription = (output, context) => {
2403
2403
  return {
2404
- definition: output.definition != null ? deserializeAws_json1_1DefinitionDocument(output.definition, context) : undefined,
2405
- summary: output.summary != null ? deserializeAws_json1_1FlowTemplateSummary(output.summary, context) : undefined,
2404
+ definition: output.definition != null ? de_DefinitionDocument(output.definition, context) : undefined,
2405
+ summary: output.summary != null ? de_FlowTemplateSummary(output.summary, context) : undefined,
2406
2406
  validatedNamespaceVersion: (0, smithy_client_1.expectLong)(output.validatedNamespaceVersion),
2407
2407
  };
2408
2408
  };
2409
- const deserializeAws_json1_1FlowTemplateSummaries = (output, context) => {
2409
+ const de_FlowTemplateSummaries = (output, context) => {
2410
2410
  const retVal = (output || [])
2411
2411
  .filter((e) => e != null)
2412
2412
  .map((entry) => {
2413
2413
  if (entry === null) {
2414
2414
  return null;
2415
2415
  }
2416
- return deserializeAws_json1_1FlowTemplateSummary(entry, context);
2416
+ return de_FlowTemplateSummary(entry, context);
2417
2417
  });
2418
2418
  return retVal;
2419
2419
  };
2420
- const deserializeAws_json1_1FlowTemplateSummary = (output, context) => {
2420
+ const de_FlowTemplateSummary = (output, context) => {
2421
2421
  return {
2422
2422
  arn: (0, smithy_client_1.expectString)(output.arn),
2423
2423
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
@@ -2425,25 +2425,23 @@ const deserializeAws_json1_1FlowTemplateSummary = (output, context) => {
2425
2425
  revisionNumber: (0, smithy_client_1.expectLong)(output.revisionNumber),
2426
2426
  };
2427
2427
  };
2428
- const deserializeAws_json1_1GetEntitiesResponse = (output, context) => {
2428
+ const de_GetEntitiesResponse = (output, context) => {
2429
2429
  return {
2430
- descriptions: output.descriptions != null ? deserializeAws_json1_1EntityDescriptions(output.descriptions, context) : undefined,
2430
+ descriptions: output.descriptions != null ? de_EntityDescriptions(output.descriptions, context) : undefined,
2431
2431
  };
2432
2432
  };
2433
- const deserializeAws_json1_1GetFlowTemplateResponse = (output, context) => {
2433
+ const de_GetFlowTemplateResponse = (output, context) => {
2434
2434
  return {
2435
- description: output.description != null
2436
- ? deserializeAws_json1_1FlowTemplateDescription(output.description, context)
2437
- : undefined,
2435
+ description: output.description != null ? de_FlowTemplateDescription(output.description, context) : undefined,
2438
2436
  };
2439
2437
  };
2440
- const deserializeAws_json1_1GetFlowTemplateRevisionsResponse = (output, context) => {
2438
+ const de_GetFlowTemplateRevisionsResponse = (output, context) => {
2441
2439
  return {
2442
2440
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
2443
- summaries: output.summaries != null ? deserializeAws_json1_1FlowTemplateSummaries(output.summaries, context) : undefined,
2441
+ summaries: output.summaries != null ? de_FlowTemplateSummaries(output.summaries, context) : undefined,
2444
2442
  };
2445
2443
  };
2446
- const deserializeAws_json1_1GetNamespaceDeletionStatusResponse = (output, context) => {
2444
+ const de_GetNamespaceDeletionStatusResponse = (output, context) => {
2447
2445
  return {
2448
2446
  errorCode: (0, smithy_client_1.expectString)(output.errorCode),
2449
2447
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
@@ -2452,32 +2450,28 @@ const deserializeAws_json1_1GetNamespaceDeletionStatusResponse = (output, contex
2452
2450
  status: (0, smithy_client_1.expectString)(output.status),
2453
2451
  };
2454
2452
  };
2455
- const deserializeAws_json1_1GetSystemInstanceResponse = (output, context) => {
2453
+ const de_GetSystemInstanceResponse = (output, context) => {
2456
2454
  return {
2457
- description: output.description != null
2458
- ? deserializeAws_json1_1SystemInstanceDescription(output.description, context)
2459
- : undefined,
2455
+ description: output.description != null ? de_SystemInstanceDescription(output.description, context) : undefined,
2460
2456
  };
2461
2457
  };
2462
- const deserializeAws_json1_1GetSystemTemplateResponse = (output, context) => {
2458
+ const de_GetSystemTemplateResponse = (output, context) => {
2463
2459
  return {
2464
- description: output.description != null
2465
- ? deserializeAws_json1_1SystemTemplateDescription(output.description, context)
2466
- : undefined,
2460
+ description: output.description != null ? de_SystemTemplateDescription(output.description, context) : undefined,
2467
2461
  };
2468
2462
  };
2469
- const deserializeAws_json1_1GetSystemTemplateRevisionsResponse = (output, context) => {
2463
+ const de_GetSystemTemplateRevisionsResponse = (output, context) => {
2470
2464
  return {
2471
2465
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
2472
- summaries: output.summaries != null ? deserializeAws_json1_1SystemTemplateSummaries(output.summaries, context) : undefined,
2466
+ summaries: output.summaries != null ? de_SystemTemplateSummaries(output.summaries, context) : undefined,
2473
2467
  };
2474
2468
  };
2475
- const deserializeAws_json1_1GetUploadStatusResponse = (output, context) => {
2469
+ const de_GetUploadStatusResponse = (output, context) => {
2476
2470
  return {
2477
2471
  createdDate: output.createdDate != null
2478
2472
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdDate)))
2479
2473
  : undefined,
2480
- failureReason: output.failureReason != null ? deserializeAws_json1_1StringList(output.failureReason, context) : undefined,
2474
+ failureReason: output.failureReason != null ? de_StringList(output.failureReason, context) : undefined,
2481
2475
  namespaceArn: (0, smithy_client_1.expectString)(output.namespaceArn),
2482
2476
  namespaceName: (0, smithy_client_1.expectString)(output.namespaceName),
2483
2477
  namespaceVersion: (0, smithy_client_1.expectLong)(output.namespaceVersion),
@@ -2485,91 +2479,91 @@ const deserializeAws_json1_1GetUploadStatusResponse = (output, context) => {
2485
2479
  uploadStatus: (0, smithy_client_1.expectString)(output.uploadStatus),
2486
2480
  };
2487
2481
  };
2488
- const deserializeAws_json1_1InternalFailureException = (output, context) => {
2482
+ const de_InternalFailureException = (output, context) => {
2489
2483
  return {
2490
2484
  message: (0, smithy_client_1.expectString)(output.message),
2491
2485
  };
2492
2486
  };
2493
- const deserializeAws_json1_1InvalidRequestException = (output, context) => {
2487
+ const de_InvalidRequestException = (output, context) => {
2494
2488
  return {
2495
2489
  message: (0, smithy_client_1.expectString)(output.message),
2496
2490
  };
2497
2491
  };
2498
- const deserializeAws_json1_1LimitExceededException = (output, context) => {
2492
+ const de_LimitExceededException = (output, context) => {
2499
2493
  return {
2500
2494
  message: (0, smithy_client_1.expectString)(output.message),
2501
2495
  };
2502
2496
  };
2503
- const deserializeAws_json1_1ListFlowExecutionMessagesResponse = (output, context) => {
2497
+ const de_ListFlowExecutionMessagesResponse = (output, context) => {
2504
2498
  return {
2505
- messages: output.messages != null ? deserializeAws_json1_1FlowExecutionMessages(output.messages, context) : undefined,
2499
+ messages: output.messages != null ? de_FlowExecutionMessages(output.messages, context) : undefined,
2506
2500
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
2507
2501
  };
2508
2502
  };
2509
- const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
2503
+ const de_ListTagsForResourceResponse = (output, context) => {
2510
2504
  return {
2511
2505
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
2512
- tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
2506
+ tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
2513
2507
  };
2514
2508
  };
2515
- const deserializeAws_json1_1MetricsConfiguration = (output, context) => {
2509
+ const de_MetricsConfiguration = (output, context) => {
2516
2510
  return {
2517
2511
  cloudMetricEnabled: (0, smithy_client_1.expectBoolean)(output.cloudMetricEnabled),
2518
2512
  metricRuleRoleArn: (0, smithy_client_1.expectString)(output.metricRuleRoleArn),
2519
2513
  };
2520
2514
  };
2521
- const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
2515
+ const de_ResourceAlreadyExistsException = (output, context) => {
2522
2516
  return {
2523
2517
  message: (0, smithy_client_1.expectString)(output.message),
2524
2518
  };
2525
2519
  };
2526
- const deserializeAws_json1_1ResourceInUseException = (output, context) => {
2520
+ const de_ResourceInUseException = (output, context) => {
2527
2521
  return {
2528
2522
  message: (0, smithy_client_1.expectString)(output.message),
2529
2523
  };
2530
2524
  };
2531
- const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2525
+ const de_ResourceNotFoundException = (output, context) => {
2532
2526
  return {
2533
2527
  message: (0, smithy_client_1.expectString)(output.message),
2534
2528
  };
2535
2529
  };
2536
- const deserializeAws_json1_1SearchEntitiesResponse = (output, context) => {
2530
+ const de_SearchEntitiesResponse = (output, context) => {
2537
2531
  return {
2538
- descriptions: output.descriptions != null ? deserializeAws_json1_1EntityDescriptions(output.descriptions, context) : undefined,
2532
+ descriptions: output.descriptions != null ? de_EntityDescriptions(output.descriptions, context) : undefined,
2539
2533
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
2540
2534
  };
2541
2535
  };
2542
- const deserializeAws_json1_1SearchFlowExecutionsResponse = (output, context) => {
2536
+ const de_SearchFlowExecutionsResponse = (output, context) => {
2543
2537
  return {
2544
2538
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
2545
- summaries: output.summaries != null ? deserializeAws_json1_1FlowExecutionSummaries(output.summaries, context) : undefined,
2539
+ summaries: output.summaries != null ? de_FlowExecutionSummaries(output.summaries, context) : undefined,
2546
2540
  };
2547
2541
  };
2548
- const deserializeAws_json1_1SearchFlowTemplatesResponse = (output, context) => {
2542
+ const de_SearchFlowTemplatesResponse = (output, context) => {
2549
2543
  return {
2550
2544
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
2551
- summaries: output.summaries != null ? deserializeAws_json1_1FlowTemplateSummaries(output.summaries, context) : undefined,
2545
+ summaries: output.summaries != null ? de_FlowTemplateSummaries(output.summaries, context) : undefined,
2552
2546
  };
2553
2547
  };
2554
- const deserializeAws_json1_1SearchSystemInstancesResponse = (output, context) => {
2548
+ const de_SearchSystemInstancesResponse = (output, context) => {
2555
2549
  return {
2556
2550
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
2557
- summaries: output.summaries != null ? deserializeAws_json1_1SystemInstanceSummaries(output.summaries, context) : undefined,
2551
+ summaries: output.summaries != null ? de_SystemInstanceSummaries(output.summaries, context) : undefined,
2558
2552
  };
2559
2553
  };
2560
- const deserializeAws_json1_1SearchSystemTemplatesResponse = (output, context) => {
2554
+ const de_SearchSystemTemplatesResponse = (output, context) => {
2561
2555
  return {
2562
2556
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
2563
- summaries: output.summaries != null ? deserializeAws_json1_1SystemTemplateSummaries(output.summaries, context) : undefined,
2557
+ summaries: output.summaries != null ? de_SystemTemplateSummaries(output.summaries, context) : undefined,
2564
2558
  };
2565
2559
  };
2566
- const deserializeAws_json1_1SearchThingsResponse = (output, context) => {
2560
+ const de_SearchThingsResponse = (output, context) => {
2567
2561
  return {
2568
2562
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
2569
- things: output.things != null ? deserializeAws_json1_1Things(output.things, context) : undefined,
2563
+ things: output.things != null ? de_Things(output.things, context) : undefined,
2570
2564
  };
2571
2565
  };
2572
- const deserializeAws_json1_1StringList = (output, context) => {
2566
+ const de_StringList = (output, context) => {
2573
2567
  const retVal = (output || [])
2574
2568
  .filter((e) => e != null)
2575
2569
  .map((entry) => {
@@ -2580,33 +2574,31 @@ const deserializeAws_json1_1StringList = (output, context) => {
2580
2574
  });
2581
2575
  return retVal;
2582
2576
  };
2583
- const deserializeAws_json1_1SystemInstanceDescription = (output, context) => {
2577
+ const de_SystemInstanceDescription = (output, context) => {
2584
2578
  return {
2585
- definition: output.definition != null ? deserializeAws_json1_1DefinitionDocument(output.definition, context) : undefined,
2579
+ definition: output.definition != null ? de_DefinitionDocument(output.definition, context) : undefined,
2586
2580
  flowActionsRoleArn: (0, smithy_client_1.expectString)(output.flowActionsRoleArn),
2587
- metricsConfiguration: output.metricsConfiguration != null
2588
- ? deserializeAws_json1_1MetricsConfiguration(output.metricsConfiguration, context)
2589
- : undefined,
2581
+ metricsConfiguration: output.metricsConfiguration != null ? de_MetricsConfiguration(output.metricsConfiguration, context) : undefined,
2590
2582
  s3BucketName: (0, smithy_client_1.expectString)(output.s3BucketName),
2591
- summary: output.summary != null ? deserializeAws_json1_1SystemInstanceSummary(output.summary, context) : undefined,
2583
+ summary: output.summary != null ? de_SystemInstanceSummary(output.summary, context) : undefined,
2592
2584
  validatedDependencyRevisions: output.validatedDependencyRevisions != null
2593
- ? deserializeAws_json1_1DependencyRevisions(output.validatedDependencyRevisions, context)
2585
+ ? de_DependencyRevisions(output.validatedDependencyRevisions, context)
2594
2586
  : undefined,
2595
2587
  validatedNamespaceVersion: (0, smithy_client_1.expectLong)(output.validatedNamespaceVersion),
2596
2588
  };
2597
2589
  };
2598
- const deserializeAws_json1_1SystemInstanceSummaries = (output, context) => {
2590
+ const de_SystemInstanceSummaries = (output, context) => {
2599
2591
  const retVal = (output || [])
2600
2592
  .filter((e) => e != null)
2601
2593
  .map((entry) => {
2602
2594
  if (entry === null) {
2603
2595
  return null;
2604
2596
  }
2605
- return deserializeAws_json1_1SystemInstanceSummary(entry, context);
2597
+ return de_SystemInstanceSummary(entry, context);
2606
2598
  });
2607
2599
  return retVal;
2608
2600
  };
2609
- const deserializeAws_json1_1SystemInstanceSummary = (output, context) => {
2601
+ const de_SystemInstanceSummary = (output, context) => {
2610
2602
  return {
2611
2603
  arn: (0, smithy_client_1.expectString)(output.arn),
2612
2604
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
@@ -2619,25 +2611,25 @@ const deserializeAws_json1_1SystemInstanceSummary = (output, context) => {
2619
2611
  updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt))) : undefined,
2620
2612
  };
2621
2613
  };
2622
- const deserializeAws_json1_1SystemTemplateDescription = (output, context) => {
2614
+ const de_SystemTemplateDescription = (output, context) => {
2623
2615
  return {
2624
- definition: output.definition != null ? deserializeAws_json1_1DefinitionDocument(output.definition, context) : undefined,
2625
- summary: output.summary != null ? deserializeAws_json1_1SystemTemplateSummary(output.summary, context) : undefined,
2616
+ definition: output.definition != null ? de_DefinitionDocument(output.definition, context) : undefined,
2617
+ summary: output.summary != null ? de_SystemTemplateSummary(output.summary, context) : undefined,
2626
2618
  validatedNamespaceVersion: (0, smithy_client_1.expectLong)(output.validatedNamespaceVersion),
2627
2619
  };
2628
2620
  };
2629
- const deserializeAws_json1_1SystemTemplateSummaries = (output, context) => {
2621
+ const de_SystemTemplateSummaries = (output, context) => {
2630
2622
  const retVal = (output || [])
2631
2623
  .filter((e) => e != null)
2632
2624
  .map((entry) => {
2633
2625
  if (entry === null) {
2634
2626
  return null;
2635
2627
  }
2636
- return deserializeAws_json1_1SystemTemplateSummary(entry, context);
2628
+ return de_SystemTemplateSummary(entry, context);
2637
2629
  });
2638
2630
  return retVal;
2639
2631
  };
2640
- const deserializeAws_json1_1SystemTemplateSummary = (output, context) => {
2632
+ const de_SystemTemplateSummary = (output, context) => {
2641
2633
  return {
2642
2634
  arn: (0, smithy_client_1.expectString)(output.arn),
2643
2635
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
@@ -2645,67 +2637,67 @@ const deserializeAws_json1_1SystemTemplateSummary = (output, context) => {
2645
2637
  revisionNumber: (0, smithy_client_1.expectLong)(output.revisionNumber),
2646
2638
  };
2647
2639
  };
2648
- const deserializeAws_json1_1Tag = (output, context) => {
2640
+ const de_Tag = (output, context) => {
2649
2641
  return {
2650
2642
  key: (0, smithy_client_1.expectString)(output.key),
2651
2643
  value: (0, smithy_client_1.expectString)(output.value),
2652
2644
  };
2653
2645
  };
2654
- const deserializeAws_json1_1TagList = (output, context) => {
2646
+ const de_TagList = (output, context) => {
2655
2647
  const retVal = (output || [])
2656
2648
  .filter((e) => e != null)
2657
2649
  .map((entry) => {
2658
2650
  if (entry === null) {
2659
2651
  return null;
2660
2652
  }
2661
- return deserializeAws_json1_1Tag(entry, context);
2653
+ return de_Tag(entry, context);
2662
2654
  });
2663
2655
  return retVal;
2664
2656
  };
2665
- const deserializeAws_json1_1TagResourceResponse = (output, context) => {
2657
+ const de_TagResourceResponse = (output, context) => {
2666
2658
  return {};
2667
2659
  };
2668
- const deserializeAws_json1_1Thing = (output, context) => {
2660
+ const de_Thing = (output, context) => {
2669
2661
  return {
2670
2662
  thingArn: (0, smithy_client_1.expectString)(output.thingArn),
2671
2663
  thingName: (0, smithy_client_1.expectString)(output.thingName),
2672
2664
  };
2673
2665
  };
2674
- const deserializeAws_json1_1Things = (output, context) => {
2666
+ const de_Things = (output, context) => {
2675
2667
  const retVal = (output || [])
2676
2668
  .filter((e) => e != null)
2677
2669
  .map((entry) => {
2678
2670
  if (entry === null) {
2679
2671
  return null;
2680
2672
  }
2681
- return deserializeAws_json1_1Thing(entry, context);
2673
+ return de_Thing(entry, context);
2682
2674
  });
2683
2675
  return retVal;
2684
2676
  };
2685
- const deserializeAws_json1_1ThrottlingException = (output, context) => {
2677
+ const de_ThrottlingException = (output, context) => {
2686
2678
  return {
2687
2679
  message: (0, smithy_client_1.expectString)(output.message),
2688
2680
  };
2689
2681
  };
2690
- const deserializeAws_json1_1UndeploySystemInstanceResponse = (output, context) => {
2682
+ const de_UndeploySystemInstanceResponse = (output, context) => {
2691
2683
  return {
2692
- summary: output.summary != null ? deserializeAws_json1_1SystemInstanceSummary(output.summary, context) : undefined,
2684
+ summary: output.summary != null ? de_SystemInstanceSummary(output.summary, context) : undefined,
2693
2685
  };
2694
2686
  };
2695
- const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
2687
+ const de_UntagResourceResponse = (output, context) => {
2696
2688
  return {};
2697
2689
  };
2698
- const deserializeAws_json1_1UpdateFlowTemplateResponse = (output, context) => {
2690
+ const de_UpdateFlowTemplateResponse = (output, context) => {
2699
2691
  return {
2700
- summary: output.summary != null ? deserializeAws_json1_1FlowTemplateSummary(output.summary, context) : undefined,
2692
+ summary: output.summary != null ? de_FlowTemplateSummary(output.summary, context) : undefined,
2701
2693
  };
2702
2694
  };
2703
- const deserializeAws_json1_1UpdateSystemTemplateResponse = (output, context) => {
2695
+ const de_UpdateSystemTemplateResponse = (output, context) => {
2704
2696
  return {
2705
- summary: output.summary != null ? deserializeAws_json1_1SystemTemplateSummary(output.summary, context) : undefined,
2697
+ summary: output.summary != null ? de_SystemTemplateSummary(output.summary, context) : undefined,
2706
2698
  };
2707
2699
  };
2708
- const deserializeAws_json1_1UploadEntityDefinitionsResponse = (output, context) => {
2700
+ const de_UploadEntityDefinitionsResponse = (output, context) => {
2709
2701
  return {
2710
2702
  uploadId: (0, smithy_client_1.expectString)(output.uploadId),
2711
2703
  };