@aws-sdk/client-iotthingsgraph 3.306.0 → 3.310.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AssociateEntityToThingCommand.js +2 -2
- package/dist-cjs/commands/CreateFlowTemplateCommand.js +2 -2
- package/dist-cjs/commands/CreateSystemInstanceCommand.js +2 -2
- package/dist-cjs/commands/CreateSystemTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteFlowTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteNamespaceCommand.js +2 -2
- package/dist-cjs/commands/DeleteSystemInstanceCommand.js +2 -2
- package/dist-cjs/commands/DeleteSystemTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeploySystemInstanceCommand.js +2 -2
- package/dist-cjs/commands/DeprecateFlowTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeprecateSystemTemplateCommand.js +2 -2
- package/dist-cjs/commands/DescribeNamespaceCommand.js +2 -2
- package/dist-cjs/commands/DissociateEntityFromThingCommand.js +2 -2
- package/dist-cjs/commands/GetEntitiesCommand.js +2 -2
- package/dist-cjs/commands/GetFlowTemplateCommand.js +2 -2
- package/dist-cjs/commands/GetFlowTemplateRevisionsCommand.js +2 -2
- package/dist-cjs/commands/GetNamespaceDeletionStatusCommand.js +2 -2
- package/dist-cjs/commands/GetSystemInstanceCommand.js +2 -2
- package/dist-cjs/commands/GetSystemTemplateCommand.js +2 -2
- package/dist-cjs/commands/GetSystemTemplateRevisionsCommand.js +2 -2
- package/dist-cjs/commands/GetUploadStatusCommand.js +2 -2
- package/dist-cjs/commands/ListFlowExecutionMessagesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/SearchEntitiesCommand.js +2 -2
- package/dist-cjs/commands/SearchFlowExecutionsCommand.js +2 -2
- package/dist-cjs/commands/SearchFlowTemplatesCommand.js +2 -2
- package/dist-cjs/commands/SearchSystemInstancesCommand.js +2 -2
- package/dist-cjs/commands/SearchSystemTemplatesCommand.js +2 -2
- package/dist-cjs/commands/SearchThingsCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UndeploySystemInstanceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateFlowTemplateCommand.js +2 -2
- package/dist-cjs/commands/UpdateSystemTemplateCommand.js +2 -2
- package/dist-cjs/commands/UploadEntityDefinitionsCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +617 -625
- package/dist-es/commands/AssociateEntityToThingCommand.js +3 -3
- package/dist-es/commands/CreateFlowTemplateCommand.js +3 -3
- package/dist-es/commands/CreateSystemInstanceCommand.js +3 -3
- package/dist-es/commands/CreateSystemTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteFlowTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteNamespaceCommand.js +3 -3
- package/dist-es/commands/DeleteSystemInstanceCommand.js +3 -3
- package/dist-es/commands/DeleteSystemTemplateCommand.js +3 -3
- package/dist-es/commands/DeploySystemInstanceCommand.js +3 -3
- package/dist-es/commands/DeprecateFlowTemplateCommand.js +3 -3
- package/dist-es/commands/DeprecateSystemTemplateCommand.js +3 -3
- package/dist-es/commands/DescribeNamespaceCommand.js +3 -3
- package/dist-es/commands/DissociateEntityFromThingCommand.js +3 -3
- package/dist-es/commands/GetEntitiesCommand.js +3 -3
- package/dist-es/commands/GetFlowTemplateCommand.js +3 -3
- package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +3 -3
- package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +3 -3
- package/dist-es/commands/GetSystemInstanceCommand.js +3 -3
- package/dist-es/commands/GetSystemTemplateCommand.js +3 -3
- package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +3 -3
- package/dist-es/commands/GetUploadStatusCommand.js +3 -3
- package/dist-es/commands/ListFlowExecutionMessagesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/SearchEntitiesCommand.js +3 -3
- package/dist-es/commands/SearchFlowExecutionsCommand.js +3 -3
- package/dist-es/commands/SearchFlowTemplatesCommand.js +3 -3
- package/dist-es/commands/SearchSystemInstancesCommand.js +3 -3
- package/dist-es/commands/SearchSystemTemplatesCommand.js +3 -3
- package/dist-es/commands/SearchThingsCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UndeploySystemInstanceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateFlowTemplateCommand.js +3 -3
- package/dist-es/commands/UpdateSystemTemplateCommand.js +3 -3
- package/dist-es/commands/UploadEntityDefinitionsCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +545 -553
- package/dist-types/protocols/Aws_json1_1.d.ts +280 -70
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +70 -70
- package/package.json +35 -35
|
@@ -2,335 +2,335 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { IoTThingsGraphServiceException as __BaseException } from "../models/IoTThingsGraphServiceException";
|
|
4
4
|
import { InternalFailureException, InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ResourceInUseException, ResourceNotFoundException, ThrottlingException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_AssociateEntityToThingCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "IotThingsGraphFrontEndService.AssociateEntityToThing",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_AssociateEntityToThingRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_CreateFlowTemplateCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "IotThingsGraphFrontEndService.CreateFlowTemplate",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_CreateFlowTemplateRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_CreateSystemInstanceCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.1",
|
|
26
26
|
"x-amz-target": "IotThingsGraphFrontEndService.CreateSystemInstance",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_CreateSystemInstanceRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_CreateSystemTemplateCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.1",
|
|
35
35
|
"x-amz-target": "IotThingsGraphFrontEndService.CreateSystemTemplate",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_CreateSystemTemplateRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_DeleteFlowTemplateCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.1",
|
|
44
44
|
"x-amz-target": "IotThingsGraphFrontEndService.DeleteFlowTemplate",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_DeleteFlowTemplateRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_DeleteNamespaceCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.1",
|
|
53
53
|
"x-amz-target": "IotThingsGraphFrontEndService.DeleteNamespace",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_DeleteNamespaceRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const se_DeleteSystemInstanceCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "IotThingsGraphFrontEndService.DeleteSystemInstance",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_DeleteSystemInstanceRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_DeleteSystemTemplateCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "IotThingsGraphFrontEndService.DeleteSystemTemplate",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_DeleteSystemTemplateRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
77
|
+
export const se_DeploySystemInstanceCommand = async (input, context) => {
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/x-amz-json-1.1",
|
|
80
80
|
"x-amz-target": "IotThingsGraphFrontEndService.DeploySystemInstance",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify(se_DeploySystemInstanceRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
86
|
+
export const se_DeprecateFlowTemplateCommand = async (input, context) => {
|
|
87
87
|
const headers = {
|
|
88
88
|
"content-type": "application/x-amz-json-1.1",
|
|
89
89
|
"x-amz-target": "IotThingsGraphFrontEndService.DeprecateFlowTemplate",
|
|
90
90
|
};
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(se_DeprecateFlowTemplateRequest(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
95
|
+
export const se_DeprecateSystemTemplateCommand = async (input, context) => {
|
|
96
96
|
const headers = {
|
|
97
97
|
"content-type": "application/x-amz-json-1.1",
|
|
98
98
|
"x-amz-target": "IotThingsGraphFrontEndService.DeprecateSystemTemplate",
|
|
99
99
|
};
|
|
100
100
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
101
|
+
body = JSON.stringify(se_DeprecateSystemTemplateRequest(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
104
|
+
export const se_DescribeNamespaceCommand = async (input, context) => {
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/x-amz-json-1.1",
|
|
107
107
|
"x-amz-target": "IotThingsGraphFrontEndService.DescribeNamespace",
|
|
108
108
|
};
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(se_DescribeNamespaceRequest(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
113
|
+
export const se_DissociateEntityFromThingCommand = async (input, context) => {
|
|
114
114
|
const headers = {
|
|
115
115
|
"content-type": "application/x-amz-json-1.1",
|
|
116
116
|
"x-amz-target": "IotThingsGraphFrontEndService.DissociateEntityFromThing",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify(se_DissociateEntityFromThingRequest(input, context));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
|
-
export const
|
|
122
|
+
export const se_GetEntitiesCommand = async (input, context) => {
|
|
123
123
|
const headers = {
|
|
124
124
|
"content-type": "application/x-amz-json-1.1",
|
|
125
125
|
"x-amz-target": "IotThingsGraphFrontEndService.GetEntities",
|
|
126
126
|
};
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(se_GetEntitiesRequest(input, context));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
-
export const
|
|
131
|
+
export const se_GetFlowTemplateCommand = async (input, context) => {
|
|
132
132
|
const headers = {
|
|
133
133
|
"content-type": "application/x-amz-json-1.1",
|
|
134
134
|
"x-amz-target": "IotThingsGraphFrontEndService.GetFlowTemplate",
|
|
135
135
|
};
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify(se_GetFlowTemplateRequest(input, context));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
140
|
+
export const se_GetFlowTemplateRevisionsCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-amz-json-1.1",
|
|
143
143
|
"x-amz-target": "IotThingsGraphFrontEndService.GetFlowTemplateRevisions",
|
|
144
144
|
};
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_GetFlowTemplateRevisionsRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
149
|
+
export const se_GetNamespaceDeletionStatusCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "IotThingsGraphFrontEndService.GetNamespaceDeletionStatus",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_GetNamespaceDeletionStatusRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
158
|
+
export const se_GetSystemInstanceCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "IotThingsGraphFrontEndService.GetSystemInstance",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_GetSystemInstanceRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
167
|
+
export const se_GetSystemTemplateCommand = async (input, context) => {
|
|
168
168
|
const headers = {
|
|
169
169
|
"content-type": "application/x-amz-json-1.1",
|
|
170
170
|
"x-amz-target": "IotThingsGraphFrontEndService.GetSystemTemplate",
|
|
171
171
|
};
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify(se_GetSystemTemplateRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const se_GetSystemTemplateRevisionsCommand = async (input, context) => {
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/x-amz-json-1.1",
|
|
179
179
|
"x-amz-target": "IotThingsGraphFrontEndService.GetSystemTemplateRevisions",
|
|
180
180
|
};
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(se_GetSystemTemplateRevisionsRequest(input, context));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_GetUploadStatusCommand = async (input, context) => {
|
|
186
186
|
const headers = {
|
|
187
187
|
"content-type": "application/x-amz-json-1.1",
|
|
188
188
|
"x-amz-target": "IotThingsGraphFrontEndService.GetUploadStatus",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
191
|
+
body = JSON.stringify(se_GetUploadStatusRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const se_ListFlowExecutionMessagesCommand = async (input, context) => {
|
|
195
195
|
const headers = {
|
|
196
196
|
"content-type": "application/x-amz-json-1.1",
|
|
197
197
|
"x-amz-target": "IotThingsGraphFrontEndService.ListFlowExecutionMessages",
|
|
198
198
|
};
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(se_ListFlowExecutionMessagesRequest(input, context));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
|
-
export const
|
|
203
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
204
204
|
const headers = {
|
|
205
205
|
"content-type": "application/x-amz-json-1.1",
|
|
206
206
|
"x-amz-target": "IotThingsGraphFrontEndService.ListTagsForResource",
|
|
207
207
|
};
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
|
-
export const
|
|
212
|
+
export const se_SearchEntitiesCommand = async (input, context) => {
|
|
213
213
|
const headers = {
|
|
214
214
|
"content-type": "application/x-amz-json-1.1",
|
|
215
215
|
"x-amz-target": "IotThingsGraphFrontEndService.SearchEntities",
|
|
216
216
|
};
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(se_SearchEntitiesRequest(input, context));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
|
-
export const
|
|
221
|
+
export const se_SearchFlowExecutionsCommand = async (input, context) => {
|
|
222
222
|
const headers = {
|
|
223
223
|
"content-type": "application/x-amz-json-1.1",
|
|
224
224
|
"x-amz-target": "IotThingsGraphFrontEndService.SearchFlowExecutions",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
227
|
+
body = JSON.stringify(se_SearchFlowExecutionsRequest(input, context));
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
export const
|
|
230
|
+
export const se_SearchFlowTemplatesCommand = async (input, context) => {
|
|
231
231
|
const headers = {
|
|
232
232
|
"content-type": "application/x-amz-json-1.1",
|
|
233
233
|
"x-amz-target": "IotThingsGraphFrontEndService.SearchFlowTemplates",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(se_SearchFlowTemplatesRequest(input, context));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
|
-
export const
|
|
239
|
+
export const se_SearchSystemInstancesCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.1",
|
|
242
242
|
"x-amz-target": "IotThingsGraphFrontEndService.SearchSystemInstances",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_SearchSystemInstancesRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
export const
|
|
248
|
+
export const se_SearchSystemTemplatesCommand = async (input, context) => {
|
|
249
249
|
const headers = {
|
|
250
250
|
"content-type": "application/x-amz-json-1.1",
|
|
251
251
|
"x-amz-target": "IotThingsGraphFrontEndService.SearchSystemTemplates",
|
|
252
252
|
};
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(se_SearchSystemTemplatesRequest(input, context));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
|
-
export const
|
|
257
|
+
export const se_SearchThingsCommand = async (input, context) => {
|
|
258
258
|
const headers = {
|
|
259
259
|
"content-type": "application/x-amz-json-1.1",
|
|
260
260
|
"x-amz-target": "IotThingsGraphFrontEndService.SearchThings",
|
|
261
261
|
};
|
|
262
262
|
let body;
|
|
263
|
-
body = JSON.stringify(
|
|
263
|
+
body = JSON.stringify(se_SearchThingsRequest(input, context));
|
|
264
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
265
|
};
|
|
266
|
-
export const
|
|
266
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
267
267
|
const headers = {
|
|
268
268
|
"content-type": "application/x-amz-json-1.1",
|
|
269
269
|
"x-amz-target": "IotThingsGraphFrontEndService.TagResource",
|
|
270
270
|
};
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
|
-
export const
|
|
275
|
+
export const se_UndeploySystemInstanceCommand = async (input, context) => {
|
|
276
276
|
const headers = {
|
|
277
277
|
"content-type": "application/x-amz-json-1.1",
|
|
278
278
|
"x-amz-target": "IotThingsGraphFrontEndService.UndeploySystemInstance",
|
|
279
279
|
};
|
|
280
280
|
let body;
|
|
281
|
-
body = JSON.stringify(
|
|
281
|
+
body = JSON.stringify(se_UndeploySystemInstanceRequest(input, context));
|
|
282
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
283
|
};
|
|
284
|
-
export const
|
|
284
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
285
285
|
const headers = {
|
|
286
286
|
"content-type": "application/x-amz-json-1.1",
|
|
287
287
|
"x-amz-target": "IotThingsGraphFrontEndService.UntagResource",
|
|
288
288
|
};
|
|
289
289
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
|
-
export const
|
|
293
|
+
export const se_UpdateFlowTemplateCommand = async (input, context) => {
|
|
294
294
|
const headers = {
|
|
295
295
|
"content-type": "application/x-amz-json-1.1",
|
|
296
296
|
"x-amz-target": "IotThingsGraphFrontEndService.UpdateFlowTemplate",
|
|
297
297
|
};
|
|
298
298
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify(se_UpdateFlowTemplateRequest(input, context));
|
|
300
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
301
|
};
|
|
302
|
-
export const
|
|
302
|
+
export const se_UpdateSystemTemplateCommand = async (input, context) => {
|
|
303
303
|
const headers = {
|
|
304
304
|
"content-type": "application/x-amz-json-1.1",
|
|
305
305
|
"x-amz-target": "IotThingsGraphFrontEndService.UpdateSystemTemplate",
|
|
306
306
|
};
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify(se_UpdateSystemTemplateRequest(input, context));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
|
-
export const
|
|
311
|
+
export const se_UploadEntityDefinitionsCommand = async (input, context) => {
|
|
312
312
|
const headers = {
|
|
313
313
|
"content-type": "application/x-amz-json-1.1",
|
|
314
314
|
"x-amz-target": "IotThingsGraphFrontEndService.UploadEntityDefinitions",
|
|
315
315
|
};
|
|
316
316
|
let body;
|
|
317
|
-
body = JSON.stringify(
|
|
317
|
+
body = JSON.stringify(se_UploadEntityDefinitionsRequest(input, context));
|
|
318
318
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
319
|
};
|
|
320
|
-
export const
|
|
320
|
+
export const de_AssociateEntityToThingCommand = async (output, context) => {
|
|
321
321
|
if (output.statusCode >= 300) {
|
|
322
|
-
return
|
|
322
|
+
return de_AssociateEntityToThingCommandError(output, context);
|
|
323
323
|
}
|
|
324
324
|
const data = await parseBody(output.body, context);
|
|
325
325
|
let contents = {};
|
|
326
|
-
contents =
|
|
326
|
+
contents = de_AssociateEntityToThingResponse(data, context);
|
|
327
327
|
const response = {
|
|
328
328
|
$metadata: deserializeMetadata(output),
|
|
329
329
|
...contents,
|
|
330
330
|
};
|
|
331
331
|
return Promise.resolve(response);
|
|
332
332
|
};
|
|
333
|
-
const
|
|
333
|
+
const de_AssociateEntityToThingCommandError = async (output, context) => {
|
|
334
334
|
const parsedOutput = {
|
|
335
335
|
...output,
|
|
336
336
|
body: await parseErrorBody(output.body, context),
|
|
@@ -339,16 +339,16 @@ const deserializeAws_json1_1AssociateEntityToThingCommandError = async (output,
|
|
|
339
339
|
switch (errorCode) {
|
|
340
340
|
case "InternalFailureException":
|
|
341
341
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
342
|
-
throw await
|
|
342
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
343
343
|
case "InvalidRequestException":
|
|
344
344
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
345
|
-
throw await
|
|
345
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
346
346
|
case "ResourceNotFoundException":
|
|
347
347
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
348
|
-
throw await
|
|
348
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
349
349
|
case "ThrottlingException":
|
|
350
350
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
351
|
-
throw await
|
|
351
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
352
352
|
default:
|
|
353
353
|
const parsedBody = parsedOutput.body;
|
|
354
354
|
throwDefaultError({
|
|
@@ -359,20 +359,20 @@ const deserializeAws_json1_1AssociateEntityToThingCommandError = async (output,
|
|
|
359
359
|
});
|
|
360
360
|
}
|
|
361
361
|
};
|
|
362
|
-
export const
|
|
362
|
+
export const de_CreateFlowTemplateCommand = async (output, context) => {
|
|
363
363
|
if (output.statusCode >= 300) {
|
|
364
|
-
return
|
|
364
|
+
return de_CreateFlowTemplateCommandError(output, context);
|
|
365
365
|
}
|
|
366
366
|
const data = await parseBody(output.body, context);
|
|
367
367
|
let contents = {};
|
|
368
|
-
contents =
|
|
368
|
+
contents = de_CreateFlowTemplateResponse(data, context);
|
|
369
369
|
const response = {
|
|
370
370
|
$metadata: deserializeMetadata(output),
|
|
371
371
|
...contents,
|
|
372
372
|
};
|
|
373
373
|
return Promise.resolve(response);
|
|
374
374
|
};
|
|
375
|
-
const
|
|
375
|
+
const de_CreateFlowTemplateCommandError = async (output, context) => {
|
|
376
376
|
const parsedOutput = {
|
|
377
377
|
...output,
|
|
378
378
|
body: await parseErrorBody(output.body, context),
|
|
@@ -381,19 +381,19 @@ const deserializeAws_json1_1CreateFlowTemplateCommandError = async (output, cont
|
|
|
381
381
|
switch (errorCode) {
|
|
382
382
|
case "InternalFailureException":
|
|
383
383
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
384
|
-
throw await
|
|
384
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
385
385
|
case "InvalidRequestException":
|
|
386
386
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
387
|
-
throw await
|
|
387
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
388
388
|
case "LimitExceededException":
|
|
389
389
|
case "com.amazonaws.iotthingsgraph#LimitExceededException":
|
|
390
|
-
throw await
|
|
390
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
391
391
|
case "ResourceAlreadyExistsException":
|
|
392
392
|
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
393
|
-
throw await
|
|
393
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
394
394
|
case "ThrottlingException":
|
|
395
395
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
396
|
-
throw await
|
|
396
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
397
397
|
default:
|
|
398
398
|
const parsedBody = parsedOutput.body;
|
|
399
399
|
throwDefaultError({
|
|
@@ -404,20 +404,20 @@ const deserializeAws_json1_1CreateFlowTemplateCommandError = async (output, cont
|
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
|
-
export const
|
|
407
|
+
export const de_CreateSystemInstanceCommand = async (output, context) => {
|
|
408
408
|
if (output.statusCode >= 300) {
|
|
409
|
-
return
|
|
409
|
+
return de_CreateSystemInstanceCommandError(output, context);
|
|
410
410
|
}
|
|
411
411
|
const data = await parseBody(output.body, context);
|
|
412
412
|
let contents = {};
|
|
413
|
-
contents =
|
|
413
|
+
contents = de_CreateSystemInstanceResponse(data, context);
|
|
414
414
|
const response = {
|
|
415
415
|
$metadata: deserializeMetadata(output),
|
|
416
416
|
...contents,
|
|
417
417
|
};
|
|
418
418
|
return Promise.resolve(response);
|
|
419
419
|
};
|
|
420
|
-
const
|
|
420
|
+
const de_CreateSystemInstanceCommandError = async (output, context) => {
|
|
421
421
|
const parsedOutput = {
|
|
422
422
|
...output,
|
|
423
423
|
body: await parseErrorBody(output.body, context),
|
|
@@ -426,19 +426,19 @@ const deserializeAws_json1_1CreateSystemInstanceCommandError = async (output, co
|
|
|
426
426
|
switch (errorCode) {
|
|
427
427
|
case "InternalFailureException":
|
|
428
428
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
429
|
-
throw await
|
|
429
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
430
430
|
case "InvalidRequestException":
|
|
431
431
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
432
|
-
throw await
|
|
432
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
433
433
|
case "LimitExceededException":
|
|
434
434
|
case "com.amazonaws.iotthingsgraph#LimitExceededException":
|
|
435
|
-
throw await
|
|
435
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
436
436
|
case "ResourceAlreadyExistsException":
|
|
437
437
|
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
438
|
-
throw await
|
|
438
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
439
439
|
case "ThrottlingException":
|
|
440
440
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
441
|
-
throw await
|
|
441
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
442
442
|
default:
|
|
443
443
|
const parsedBody = parsedOutput.body;
|
|
444
444
|
throwDefaultError({
|
|
@@ -449,20 +449,20 @@ const deserializeAws_json1_1CreateSystemInstanceCommandError = async (output, co
|
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
451
|
};
|
|
452
|
-
export const
|
|
452
|
+
export const de_CreateSystemTemplateCommand = async (output, context) => {
|
|
453
453
|
if (output.statusCode >= 300) {
|
|
454
|
-
return
|
|
454
|
+
return de_CreateSystemTemplateCommandError(output, context);
|
|
455
455
|
}
|
|
456
456
|
const data = await parseBody(output.body, context);
|
|
457
457
|
let contents = {};
|
|
458
|
-
contents =
|
|
458
|
+
contents = de_CreateSystemTemplateResponse(data, context);
|
|
459
459
|
const response = {
|
|
460
460
|
$metadata: deserializeMetadata(output),
|
|
461
461
|
...contents,
|
|
462
462
|
};
|
|
463
463
|
return Promise.resolve(response);
|
|
464
464
|
};
|
|
465
|
-
const
|
|
465
|
+
const de_CreateSystemTemplateCommandError = async (output, context) => {
|
|
466
466
|
const parsedOutput = {
|
|
467
467
|
...output,
|
|
468
468
|
body: await parseErrorBody(output.body, context),
|
|
@@ -471,16 +471,16 @@ const deserializeAws_json1_1CreateSystemTemplateCommandError = async (output, co
|
|
|
471
471
|
switch (errorCode) {
|
|
472
472
|
case "InternalFailureException":
|
|
473
473
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
474
|
-
throw await
|
|
474
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
475
475
|
case "InvalidRequestException":
|
|
476
476
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
477
|
-
throw await
|
|
477
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
478
478
|
case "ResourceAlreadyExistsException":
|
|
479
479
|
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
480
|
-
throw await
|
|
480
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
481
481
|
case "ThrottlingException":
|
|
482
482
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
483
|
-
throw await
|
|
483
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
484
484
|
default:
|
|
485
485
|
const parsedBody = parsedOutput.body;
|
|
486
486
|
throwDefaultError({
|
|
@@ -491,20 +491,20 @@ const deserializeAws_json1_1CreateSystemTemplateCommandError = async (output, co
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
};
|
|
494
|
-
export const
|
|
494
|
+
export const de_DeleteFlowTemplateCommand = async (output, context) => {
|
|
495
495
|
if (output.statusCode >= 300) {
|
|
496
|
-
return
|
|
496
|
+
return de_DeleteFlowTemplateCommandError(output, context);
|
|
497
497
|
}
|
|
498
498
|
const data = await parseBody(output.body, context);
|
|
499
499
|
let contents = {};
|
|
500
|
-
contents =
|
|
500
|
+
contents = de_DeleteFlowTemplateResponse(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
|
-
const
|
|
507
|
+
const de_DeleteFlowTemplateCommandError = async (output, context) => {
|
|
508
508
|
const parsedOutput = {
|
|
509
509
|
...output,
|
|
510
510
|
body: await parseErrorBody(output.body, context),
|
|
@@ -513,16 +513,16 @@ const deserializeAws_json1_1DeleteFlowTemplateCommandError = async (output, cont
|
|
|
513
513
|
switch (errorCode) {
|
|
514
514
|
case "InternalFailureException":
|
|
515
515
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
516
|
-
throw await
|
|
516
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
517
517
|
case "InvalidRequestException":
|
|
518
518
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
519
|
-
throw await
|
|
519
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
520
520
|
case "ResourceInUseException":
|
|
521
521
|
case "com.amazonaws.iotthingsgraph#ResourceInUseException":
|
|
522
|
-
throw await
|
|
522
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
523
523
|
case "ThrottlingException":
|
|
524
524
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
525
|
-
throw await
|
|
525
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
526
526
|
default:
|
|
527
527
|
const parsedBody = parsedOutput.body;
|
|
528
528
|
throwDefaultError({
|
|
@@ -533,20 +533,20 @@ const deserializeAws_json1_1DeleteFlowTemplateCommandError = async (output, cont
|
|
|
533
533
|
});
|
|
534
534
|
}
|
|
535
535
|
};
|
|
536
|
-
export const
|
|
536
|
+
export const de_DeleteNamespaceCommand = async (output, context) => {
|
|
537
537
|
if (output.statusCode >= 300) {
|
|
538
|
-
return
|
|
538
|
+
return de_DeleteNamespaceCommandError(output, context);
|
|
539
539
|
}
|
|
540
540
|
const data = await parseBody(output.body, context);
|
|
541
541
|
let contents = {};
|
|
542
|
-
contents =
|
|
542
|
+
contents = de_DeleteNamespaceResponse(data, context);
|
|
543
543
|
const response = {
|
|
544
544
|
$metadata: deserializeMetadata(output),
|
|
545
545
|
...contents,
|
|
546
546
|
};
|
|
547
547
|
return Promise.resolve(response);
|
|
548
548
|
};
|
|
549
|
-
const
|
|
549
|
+
const de_DeleteNamespaceCommandError = async (output, context) => {
|
|
550
550
|
const parsedOutput = {
|
|
551
551
|
...output,
|
|
552
552
|
body: await parseErrorBody(output.body, context),
|
|
@@ -555,10 +555,10 @@ const deserializeAws_json1_1DeleteNamespaceCommandError = async (output, context
|
|
|
555
555
|
switch (errorCode) {
|
|
556
556
|
case "InternalFailureException":
|
|
557
557
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
558
|
-
throw await
|
|
558
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
559
559
|
case "ThrottlingException":
|
|
560
560
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
561
|
-
throw await
|
|
561
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
562
562
|
default:
|
|
563
563
|
const parsedBody = parsedOutput.body;
|
|
564
564
|
throwDefaultError({
|
|
@@ -569,20 +569,20 @@ const deserializeAws_json1_1DeleteNamespaceCommandError = async (output, context
|
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
571
|
};
|
|
572
|
-
export const
|
|
572
|
+
export const de_DeleteSystemInstanceCommand = async (output, context) => {
|
|
573
573
|
if (output.statusCode >= 300) {
|
|
574
|
-
return
|
|
574
|
+
return de_DeleteSystemInstanceCommandError(output, context);
|
|
575
575
|
}
|
|
576
576
|
const data = await parseBody(output.body, context);
|
|
577
577
|
let contents = {};
|
|
578
|
-
contents =
|
|
578
|
+
contents = de_DeleteSystemInstanceResponse(data, context);
|
|
579
579
|
const response = {
|
|
580
580
|
$metadata: deserializeMetadata(output),
|
|
581
581
|
...contents,
|
|
582
582
|
};
|
|
583
583
|
return Promise.resolve(response);
|
|
584
584
|
};
|
|
585
|
-
const
|
|
585
|
+
const de_DeleteSystemInstanceCommandError = async (output, context) => {
|
|
586
586
|
const parsedOutput = {
|
|
587
587
|
...output,
|
|
588
588
|
body: await parseErrorBody(output.body, context),
|
|
@@ -591,16 +591,16 @@ const deserializeAws_json1_1DeleteSystemInstanceCommandError = async (output, co
|
|
|
591
591
|
switch (errorCode) {
|
|
592
592
|
case "InternalFailureException":
|
|
593
593
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
594
|
-
throw await
|
|
594
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
595
595
|
case "InvalidRequestException":
|
|
596
596
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
597
|
-
throw await
|
|
597
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
598
598
|
case "ResourceInUseException":
|
|
599
599
|
case "com.amazonaws.iotthingsgraph#ResourceInUseException":
|
|
600
|
-
throw await
|
|
600
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
601
601
|
case "ThrottlingException":
|
|
602
602
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
603
|
-
throw await
|
|
603
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
604
604
|
default:
|
|
605
605
|
const parsedBody = parsedOutput.body;
|
|
606
606
|
throwDefaultError({
|
|
@@ -611,20 +611,20 @@ const deserializeAws_json1_1DeleteSystemInstanceCommandError = async (output, co
|
|
|
611
611
|
});
|
|
612
612
|
}
|
|
613
613
|
};
|
|
614
|
-
export const
|
|
614
|
+
export const de_DeleteSystemTemplateCommand = async (output, context) => {
|
|
615
615
|
if (output.statusCode >= 300) {
|
|
616
|
-
return
|
|
616
|
+
return de_DeleteSystemTemplateCommandError(output, context);
|
|
617
617
|
}
|
|
618
618
|
const data = await parseBody(output.body, context);
|
|
619
619
|
let contents = {};
|
|
620
|
-
contents =
|
|
620
|
+
contents = de_DeleteSystemTemplateResponse(data, context);
|
|
621
621
|
const response = {
|
|
622
622
|
$metadata: deserializeMetadata(output),
|
|
623
623
|
...contents,
|
|
624
624
|
};
|
|
625
625
|
return Promise.resolve(response);
|
|
626
626
|
};
|
|
627
|
-
const
|
|
627
|
+
const de_DeleteSystemTemplateCommandError = async (output, context) => {
|
|
628
628
|
const parsedOutput = {
|
|
629
629
|
...output,
|
|
630
630
|
body: await parseErrorBody(output.body, context),
|
|
@@ -633,16 +633,16 @@ const deserializeAws_json1_1DeleteSystemTemplateCommandError = async (output, co
|
|
|
633
633
|
switch (errorCode) {
|
|
634
634
|
case "InternalFailureException":
|
|
635
635
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
636
|
-
throw await
|
|
636
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
637
637
|
case "InvalidRequestException":
|
|
638
638
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
639
|
-
throw await
|
|
639
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
640
640
|
case "ResourceInUseException":
|
|
641
641
|
case "com.amazonaws.iotthingsgraph#ResourceInUseException":
|
|
642
|
-
throw await
|
|
642
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
643
643
|
case "ThrottlingException":
|
|
644
644
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
645
|
-
throw await
|
|
645
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
646
646
|
default:
|
|
647
647
|
const parsedBody = parsedOutput.body;
|
|
648
648
|
throwDefaultError({
|
|
@@ -653,20 +653,20 @@ const deserializeAws_json1_1DeleteSystemTemplateCommandError = async (output, co
|
|
|
653
653
|
});
|
|
654
654
|
}
|
|
655
655
|
};
|
|
656
|
-
export const
|
|
656
|
+
export const de_DeploySystemInstanceCommand = async (output, context) => {
|
|
657
657
|
if (output.statusCode >= 300) {
|
|
658
|
-
return
|
|
658
|
+
return de_DeploySystemInstanceCommandError(output, context);
|
|
659
659
|
}
|
|
660
660
|
const data = await parseBody(output.body, context);
|
|
661
661
|
let contents = {};
|
|
662
|
-
contents =
|
|
662
|
+
contents = de_DeploySystemInstanceResponse(data, context);
|
|
663
663
|
const response = {
|
|
664
664
|
$metadata: deserializeMetadata(output),
|
|
665
665
|
...contents,
|
|
666
666
|
};
|
|
667
667
|
return Promise.resolve(response);
|
|
668
668
|
};
|
|
669
|
-
const
|
|
669
|
+
const de_DeploySystemInstanceCommandError = async (output, context) => {
|
|
670
670
|
const parsedOutput = {
|
|
671
671
|
...output,
|
|
672
672
|
body: await parseErrorBody(output.body, context),
|
|
@@ -675,19 +675,19 @@ const deserializeAws_json1_1DeploySystemInstanceCommandError = async (output, co
|
|
|
675
675
|
switch (errorCode) {
|
|
676
676
|
case "InternalFailureException":
|
|
677
677
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
678
|
-
throw await
|
|
678
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
679
679
|
case "InvalidRequestException":
|
|
680
680
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
681
|
-
throw await
|
|
681
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
682
682
|
case "ResourceInUseException":
|
|
683
683
|
case "com.amazonaws.iotthingsgraph#ResourceInUseException":
|
|
684
|
-
throw await
|
|
684
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
685
685
|
case "ResourceNotFoundException":
|
|
686
686
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
687
|
-
throw await
|
|
687
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
688
688
|
case "ThrottlingException":
|
|
689
689
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
690
|
-
throw await
|
|
690
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
691
691
|
default:
|
|
692
692
|
const parsedBody = parsedOutput.body;
|
|
693
693
|
throwDefaultError({
|
|
@@ -698,20 +698,20 @@ const deserializeAws_json1_1DeploySystemInstanceCommandError = async (output, co
|
|
|
698
698
|
});
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
|
-
export const
|
|
701
|
+
export const de_DeprecateFlowTemplateCommand = async (output, context) => {
|
|
702
702
|
if (output.statusCode >= 300) {
|
|
703
|
-
return
|
|
703
|
+
return de_DeprecateFlowTemplateCommandError(output, context);
|
|
704
704
|
}
|
|
705
705
|
const data = await parseBody(output.body, context);
|
|
706
706
|
let contents = {};
|
|
707
|
-
contents =
|
|
707
|
+
contents = de_DeprecateFlowTemplateResponse(data, context);
|
|
708
708
|
const response = {
|
|
709
709
|
$metadata: deserializeMetadata(output),
|
|
710
710
|
...contents,
|
|
711
711
|
};
|
|
712
712
|
return Promise.resolve(response);
|
|
713
713
|
};
|
|
714
|
-
const
|
|
714
|
+
const de_DeprecateFlowTemplateCommandError = async (output, context) => {
|
|
715
715
|
const parsedOutput = {
|
|
716
716
|
...output,
|
|
717
717
|
body: await parseErrorBody(output.body, context),
|
|
@@ -720,16 +720,16 @@ const deserializeAws_json1_1DeprecateFlowTemplateCommandError = async (output, c
|
|
|
720
720
|
switch (errorCode) {
|
|
721
721
|
case "InternalFailureException":
|
|
722
722
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
723
|
-
throw await
|
|
723
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
724
724
|
case "InvalidRequestException":
|
|
725
725
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
726
|
-
throw await
|
|
726
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
727
727
|
case "ResourceNotFoundException":
|
|
728
728
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
729
|
-
throw await
|
|
729
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
730
730
|
case "ThrottlingException":
|
|
731
731
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
732
|
-
throw await
|
|
732
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
733
733
|
default:
|
|
734
734
|
const parsedBody = parsedOutput.body;
|
|
735
735
|
throwDefaultError({
|
|
@@ -740,20 +740,20 @@ const deserializeAws_json1_1DeprecateFlowTemplateCommandError = async (output, c
|
|
|
740
740
|
});
|
|
741
741
|
}
|
|
742
742
|
};
|
|
743
|
-
export const
|
|
743
|
+
export const de_DeprecateSystemTemplateCommand = async (output, context) => {
|
|
744
744
|
if (output.statusCode >= 300) {
|
|
745
|
-
return
|
|
745
|
+
return de_DeprecateSystemTemplateCommandError(output, context);
|
|
746
746
|
}
|
|
747
747
|
const data = await parseBody(output.body, context);
|
|
748
748
|
let contents = {};
|
|
749
|
-
contents =
|
|
749
|
+
contents = de_DeprecateSystemTemplateResponse(data, context);
|
|
750
750
|
const response = {
|
|
751
751
|
$metadata: deserializeMetadata(output),
|
|
752
752
|
...contents,
|
|
753
753
|
};
|
|
754
754
|
return Promise.resolve(response);
|
|
755
755
|
};
|
|
756
|
-
const
|
|
756
|
+
const de_DeprecateSystemTemplateCommandError = async (output, context) => {
|
|
757
757
|
const parsedOutput = {
|
|
758
758
|
...output,
|
|
759
759
|
body: await parseErrorBody(output.body, context),
|
|
@@ -762,16 +762,16 @@ const deserializeAws_json1_1DeprecateSystemTemplateCommandError = async (output,
|
|
|
762
762
|
switch (errorCode) {
|
|
763
763
|
case "InternalFailureException":
|
|
764
764
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
765
|
-
throw await
|
|
765
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
766
766
|
case "InvalidRequestException":
|
|
767
767
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
768
|
-
throw await
|
|
768
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
769
769
|
case "ResourceNotFoundException":
|
|
770
770
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
771
|
-
throw await
|
|
771
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
772
772
|
case "ThrottlingException":
|
|
773
773
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
774
|
-
throw await
|
|
774
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
775
775
|
default:
|
|
776
776
|
const parsedBody = parsedOutput.body;
|
|
777
777
|
throwDefaultError({
|
|
@@ -782,20 +782,20 @@ const deserializeAws_json1_1DeprecateSystemTemplateCommandError = async (output,
|
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
784
|
};
|
|
785
|
-
export const
|
|
785
|
+
export const de_DescribeNamespaceCommand = async (output, context) => {
|
|
786
786
|
if (output.statusCode >= 300) {
|
|
787
|
-
return
|
|
787
|
+
return de_DescribeNamespaceCommandError(output, context);
|
|
788
788
|
}
|
|
789
789
|
const data = await parseBody(output.body, context);
|
|
790
790
|
let contents = {};
|
|
791
|
-
contents =
|
|
791
|
+
contents = de_DescribeNamespaceResponse(data, context);
|
|
792
792
|
const response = {
|
|
793
793
|
$metadata: deserializeMetadata(output),
|
|
794
794
|
...contents,
|
|
795
795
|
};
|
|
796
796
|
return Promise.resolve(response);
|
|
797
797
|
};
|
|
798
|
-
const
|
|
798
|
+
const de_DescribeNamespaceCommandError = async (output, context) => {
|
|
799
799
|
const parsedOutput = {
|
|
800
800
|
...output,
|
|
801
801
|
body: await parseErrorBody(output.body, context),
|
|
@@ -804,16 +804,16 @@ const deserializeAws_json1_1DescribeNamespaceCommandError = async (output, conte
|
|
|
804
804
|
switch (errorCode) {
|
|
805
805
|
case "InternalFailureException":
|
|
806
806
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
807
|
-
throw await
|
|
807
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
808
808
|
case "InvalidRequestException":
|
|
809
809
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
810
|
-
throw await
|
|
810
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
811
811
|
case "ResourceNotFoundException":
|
|
812
812
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
813
|
-
throw await
|
|
813
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
814
814
|
case "ThrottlingException":
|
|
815
815
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
816
|
-
throw await
|
|
816
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
817
817
|
default:
|
|
818
818
|
const parsedBody = parsedOutput.body;
|
|
819
819
|
throwDefaultError({
|
|
@@ -824,20 +824,20 @@ const deserializeAws_json1_1DescribeNamespaceCommandError = async (output, conte
|
|
|
824
824
|
});
|
|
825
825
|
}
|
|
826
826
|
};
|
|
827
|
-
export const
|
|
827
|
+
export const de_DissociateEntityFromThingCommand = async (output, context) => {
|
|
828
828
|
if (output.statusCode >= 300) {
|
|
829
|
-
return
|
|
829
|
+
return de_DissociateEntityFromThingCommandError(output, context);
|
|
830
830
|
}
|
|
831
831
|
const data = await parseBody(output.body, context);
|
|
832
832
|
let contents = {};
|
|
833
|
-
contents =
|
|
833
|
+
contents = de_DissociateEntityFromThingResponse(data, context);
|
|
834
834
|
const response = {
|
|
835
835
|
$metadata: deserializeMetadata(output),
|
|
836
836
|
...contents,
|
|
837
837
|
};
|
|
838
838
|
return Promise.resolve(response);
|
|
839
839
|
};
|
|
840
|
-
const
|
|
840
|
+
const de_DissociateEntityFromThingCommandError = async (output, context) => {
|
|
841
841
|
const parsedOutput = {
|
|
842
842
|
...output,
|
|
843
843
|
body: await parseErrorBody(output.body, context),
|
|
@@ -846,16 +846,16 @@ const deserializeAws_json1_1DissociateEntityFromThingCommandError = async (outpu
|
|
|
846
846
|
switch (errorCode) {
|
|
847
847
|
case "InternalFailureException":
|
|
848
848
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
849
|
-
throw await
|
|
849
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
850
850
|
case "InvalidRequestException":
|
|
851
851
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
852
|
-
throw await
|
|
852
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
853
853
|
case "ResourceNotFoundException":
|
|
854
854
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
855
|
-
throw await
|
|
855
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
856
856
|
case "ThrottlingException":
|
|
857
857
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
858
|
-
throw await
|
|
858
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
859
859
|
default:
|
|
860
860
|
const parsedBody = parsedOutput.body;
|
|
861
861
|
throwDefaultError({
|
|
@@ -866,20 +866,20 @@ const deserializeAws_json1_1DissociateEntityFromThingCommandError = async (outpu
|
|
|
866
866
|
});
|
|
867
867
|
}
|
|
868
868
|
};
|
|
869
|
-
export const
|
|
869
|
+
export const de_GetEntitiesCommand = async (output, context) => {
|
|
870
870
|
if (output.statusCode >= 300) {
|
|
871
|
-
return
|
|
871
|
+
return de_GetEntitiesCommandError(output, context);
|
|
872
872
|
}
|
|
873
873
|
const data = await parseBody(output.body, context);
|
|
874
874
|
let contents = {};
|
|
875
|
-
contents =
|
|
875
|
+
contents = de_GetEntitiesResponse(data, context);
|
|
876
876
|
const response = {
|
|
877
877
|
$metadata: deserializeMetadata(output),
|
|
878
878
|
...contents,
|
|
879
879
|
};
|
|
880
880
|
return Promise.resolve(response);
|
|
881
881
|
};
|
|
882
|
-
const
|
|
882
|
+
const de_GetEntitiesCommandError = async (output, context) => {
|
|
883
883
|
const parsedOutput = {
|
|
884
884
|
...output,
|
|
885
885
|
body: await parseErrorBody(output.body, context),
|
|
@@ -888,16 +888,16 @@ const deserializeAws_json1_1GetEntitiesCommandError = async (output, context) =>
|
|
|
888
888
|
switch (errorCode) {
|
|
889
889
|
case "InternalFailureException":
|
|
890
890
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
891
|
-
throw await
|
|
891
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
892
892
|
case "InvalidRequestException":
|
|
893
893
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
894
|
-
throw await
|
|
894
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
895
895
|
case "ResourceNotFoundException":
|
|
896
896
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
897
|
-
throw await
|
|
897
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
898
898
|
case "ThrottlingException":
|
|
899
899
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
900
|
-
throw await
|
|
900
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
901
901
|
default:
|
|
902
902
|
const parsedBody = parsedOutput.body;
|
|
903
903
|
throwDefaultError({
|
|
@@ -908,20 +908,20 @@ const deserializeAws_json1_1GetEntitiesCommandError = async (output, context) =>
|
|
|
908
908
|
});
|
|
909
909
|
}
|
|
910
910
|
};
|
|
911
|
-
export const
|
|
911
|
+
export const de_GetFlowTemplateCommand = async (output, context) => {
|
|
912
912
|
if (output.statusCode >= 300) {
|
|
913
|
-
return
|
|
913
|
+
return de_GetFlowTemplateCommandError(output, context);
|
|
914
914
|
}
|
|
915
915
|
const data = await parseBody(output.body, context);
|
|
916
916
|
let contents = {};
|
|
917
|
-
contents =
|
|
917
|
+
contents = de_GetFlowTemplateResponse(data, context);
|
|
918
918
|
const response = {
|
|
919
919
|
$metadata: deserializeMetadata(output),
|
|
920
920
|
...contents,
|
|
921
921
|
};
|
|
922
922
|
return Promise.resolve(response);
|
|
923
923
|
};
|
|
924
|
-
const
|
|
924
|
+
const de_GetFlowTemplateCommandError = async (output, context) => {
|
|
925
925
|
const parsedOutput = {
|
|
926
926
|
...output,
|
|
927
927
|
body: await parseErrorBody(output.body, context),
|
|
@@ -930,16 +930,16 @@ const deserializeAws_json1_1GetFlowTemplateCommandError = async (output, context
|
|
|
930
930
|
switch (errorCode) {
|
|
931
931
|
case "InternalFailureException":
|
|
932
932
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
933
|
-
throw await
|
|
933
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
934
934
|
case "InvalidRequestException":
|
|
935
935
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
936
|
-
throw await
|
|
936
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
937
937
|
case "ResourceNotFoundException":
|
|
938
938
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
939
|
-
throw await
|
|
939
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
940
940
|
case "ThrottlingException":
|
|
941
941
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
942
|
-
throw await
|
|
942
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
943
943
|
default:
|
|
944
944
|
const parsedBody = parsedOutput.body;
|
|
945
945
|
throwDefaultError({
|
|
@@ -950,20 +950,20 @@ const deserializeAws_json1_1GetFlowTemplateCommandError = async (output, context
|
|
|
950
950
|
});
|
|
951
951
|
}
|
|
952
952
|
};
|
|
953
|
-
export const
|
|
953
|
+
export const de_GetFlowTemplateRevisionsCommand = async (output, context) => {
|
|
954
954
|
if (output.statusCode >= 300) {
|
|
955
|
-
return
|
|
955
|
+
return de_GetFlowTemplateRevisionsCommandError(output, context);
|
|
956
956
|
}
|
|
957
957
|
const data = await parseBody(output.body, context);
|
|
958
958
|
let contents = {};
|
|
959
|
-
contents =
|
|
959
|
+
contents = de_GetFlowTemplateRevisionsResponse(data, context);
|
|
960
960
|
const response = {
|
|
961
961
|
$metadata: deserializeMetadata(output),
|
|
962
962
|
...contents,
|
|
963
963
|
};
|
|
964
964
|
return Promise.resolve(response);
|
|
965
965
|
};
|
|
966
|
-
const
|
|
966
|
+
const de_GetFlowTemplateRevisionsCommandError = async (output, context) => {
|
|
967
967
|
const parsedOutput = {
|
|
968
968
|
...output,
|
|
969
969
|
body: await parseErrorBody(output.body, context),
|
|
@@ -972,16 +972,16 @@ const deserializeAws_json1_1GetFlowTemplateRevisionsCommandError = async (output
|
|
|
972
972
|
switch (errorCode) {
|
|
973
973
|
case "InternalFailureException":
|
|
974
974
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
975
|
-
throw await
|
|
975
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
976
976
|
case "InvalidRequestException":
|
|
977
977
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
978
|
-
throw await
|
|
978
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
979
979
|
case "ResourceNotFoundException":
|
|
980
980
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
981
|
-
throw await
|
|
981
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
982
982
|
case "ThrottlingException":
|
|
983
983
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
984
|
-
throw await
|
|
984
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
985
985
|
default:
|
|
986
986
|
const parsedBody = parsedOutput.body;
|
|
987
987
|
throwDefaultError({
|
|
@@ -992,20 +992,20 @@ const deserializeAws_json1_1GetFlowTemplateRevisionsCommandError = async (output
|
|
|
992
992
|
});
|
|
993
993
|
}
|
|
994
994
|
};
|
|
995
|
-
export const
|
|
995
|
+
export const de_GetNamespaceDeletionStatusCommand = async (output, context) => {
|
|
996
996
|
if (output.statusCode >= 300) {
|
|
997
|
-
return
|
|
997
|
+
return de_GetNamespaceDeletionStatusCommandError(output, context);
|
|
998
998
|
}
|
|
999
999
|
const data = await parseBody(output.body, context);
|
|
1000
1000
|
let contents = {};
|
|
1001
|
-
contents =
|
|
1001
|
+
contents = de_GetNamespaceDeletionStatusResponse(data, context);
|
|
1002
1002
|
const response = {
|
|
1003
1003
|
$metadata: deserializeMetadata(output),
|
|
1004
1004
|
...contents,
|
|
1005
1005
|
};
|
|
1006
1006
|
return Promise.resolve(response);
|
|
1007
1007
|
};
|
|
1008
|
-
const
|
|
1008
|
+
const de_GetNamespaceDeletionStatusCommandError = async (output, context) => {
|
|
1009
1009
|
const parsedOutput = {
|
|
1010
1010
|
...output,
|
|
1011
1011
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1014,13 +1014,13 @@ const deserializeAws_json1_1GetNamespaceDeletionStatusCommandError = async (outp
|
|
|
1014
1014
|
switch (errorCode) {
|
|
1015
1015
|
case "InternalFailureException":
|
|
1016
1016
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1017
|
-
throw await
|
|
1017
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1018
1018
|
case "InvalidRequestException":
|
|
1019
1019
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1020
|
-
throw await
|
|
1020
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1021
1021
|
case "ThrottlingException":
|
|
1022
1022
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1023
|
-
throw await
|
|
1023
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1024
1024
|
default:
|
|
1025
1025
|
const parsedBody = parsedOutput.body;
|
|
1026
1026
|
throwDefaultError({
|
|
@@ -1031,20 +1031,20 @@ const deserializeAws_json1_1GetNamespaceDeletionStatusCommandError = async (outp
|
|
|
1031
1031
|
});
|
|
1032
1032
|
}
|
|
1033
1033
|
};
|
|
1034
|
-
export const
|
|
1034
|
+
export const de_GetSystemInstanceCommand = async (output, context) => {
|
|
1035
1035
|
if (output.statusCode >= 300) {
|
|
1036
|
-
return
|
|
1036
|
+
return de_GetSystemInstanceCommandError(output, context);
|
|
1037
1037
|
}
|
|
1038
1038
|
const data = await parseBody(output.body, context);
|
|
1039
1039
|
let contents = {};
|
|
1040
|
-
contents =
|
|
1040
|
+
contents = de_GetSystemInstanceResponse(data, context);
|
|
1041
1041
|
const response = {
|
|
1042
1042
|
$metadata: deserializeMetadata(output),
|
|
1043
1043
|
...contents,
|
|
1044
1044
|
};
|
|
1045
1045
|
return Promise.resolve(response);
|
|
1046
1046
|
};
|
|
1047
|
-
const
|
|
1047
|
+
const de_GetSystemInstanceCommandError = async (output, context) => {
|
|
1048
1048
|
const parsedOutput = {
|
|
1049
1049
|
...output,
|
|
1050
1050
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1053,16 +1053,16 @@ const deserializeAws_json1_1GetSystemInstanceCommandError = async (output, conte
|
|
|
1053
1053
|
switch (errorCode) {
|
|
1054
1054
|
case "InternalFailureException":
|
|
1055
1055
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1056
|
-
throw await
|
|
1056
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1057
1057
|
case "InvalidRequestException":
|
|
1058
1058
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1059
|
-
throw await
|
|
1059
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1060
1060
|
case "ResourceNotFoundException":
|
|
1061
1061
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1062
|
-
throw await
|
|
1062
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1063
1063
|
case "ThrottlingException":
|
|
1064
1064
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1065
|
-
throw await
|
|
1065
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1066
1066
|
default:
|
|
1067
1067
|
const parsedBody = parsedOutput.body;
|
|
1068
1068
|
throwDefaultError({
|
|
@@ -1073,20 +1073,20 @@ const deserializeAws_json1_1GetSystemInstanceCommandError = async (output, conte
|
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
1075
|
};
|
|
1076
|
-
export const
|
|
1076
|
+
export const de_GetSystemTemplateCommand = async (output, context) => {
|
|
1077
1077
|
if (output.statusCode >= 300) {
|
|
1078
|
-
return
|
|
1078
|
+
return de_GetSystemTemplateCommandError(output, context);
|
|
1079
1079
|
}
|
|
1080
1080
|
const data = await parseBody(output.body, context);
|
|
1081
1081
|
let contents = {};
|
|
1082
|
-
contents =
|
|
1082
|
+
contents = de_GetSystemTemplateResponse(data, context);
|
|
1083
1083
|
const response = {
|
|
1084
1084
|
$metadata: deserializeMetadata(output),
|
|
1085
1085
|
...contents,
|
|
1086
1086
|
};
|
|
1087
1087
|
return Promise.resolve(response);
|
|
1088
1088
|
};
|
|
1089
|
-
const
|
|
1089
|
+
const de_GetSystemTemplateCommandError = async (output, context) => {
|
|
1090
1090
|
const parsedOutput = {
|
|
1091
1091
|
...output,
|
|
1092
1092
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1095,16 +1095,16 @@ const deserializeAws_json1_1GetSystemTemplateCommandError = async (output, conte
|
|
|
1095
1095
|
switch (errorCode) {
|
|
1096
1096
|
case "InternalFailureException":
|
|
1097
1097
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1098
|
-
throw await
|
|
1098
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1099
1099
|
case "InvalidRequestException":
|
|
1100
1100
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1101
|
-
throw await
|
|
1101
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1102
1102
|
case "ResourceNotFoundException":
|
|
1103
1103
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1104
|
-
throw await
|
|
1104
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1105
1105
|
case "ThrottlingException":
|
|
1106
1106
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1107
|
-
throw await
|
|
1107
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1108
1108
|
default:
|
|
1109
1109
|
const parsedBody = parsedOutput.body;
|
|
1110
1110
|
throwDefaultError({
|
|
@@ -1115,20 +1115,20 @@ const deserializeAws_json1_1GetSystemTemplateCommandError = async (output, conte
|
|
|
1115
1115
|
});
|
|
1116
1116
|
}
|
|
1117
1117
|
};
|
|
1118
|
-
export const
|
|
1118
|
+
export const de_GetSystemTemplateRevisionsCommand = async (output, context) => {
|
|
1119
1119
|
if (output.statusCode >= 300) {
|
|
1120
|
-
return
|
|
1120
|
+
return de_GetSystemTemplateRevisionsCommandError(output, context);
|
|
1121
1121
|
}
|
|
1122
1122
|
const data = await parseBody(output.body, context);
|
|
1123
1123
|
let contents = {};
|
|
1124
|
-
contents =
|
|
1124
|
+
contents = de_GetSystemTemplateRevisionsResponse(data, context);
|
|
1125
1125
|
const response = {
|
|
1126
1126
|
$metadata: deserializeMetadata(output),
|
|
1127
1127
|
...contents,
|
|
1128
1128
|
};
|
|
1129
1129
|
return Promise.resolve(response);
|
|
1130
1130
|
};
|
|
1131
|
-
const
|
|
1131
|
+
const de_GetSystemTemplateRevisionsCommandError = async (output, context) => {
|
|
1132
1132
|
const parsedOutput = {
|
|
1133
1133
|
...output,
|
|
1134
1134
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1137,16 +1137,16 @@ const deserializeAws_json1_1GetSystemTemplateRevisionsCommandError = async (outp
|
|
|
1137
1137
|
switch (errorCode) {
|
|
1138
1138
|
case "InternalFailureException":
|
|
1139
1139
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1140
|
-
throw await
|
|
1140
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1141
1141
|
case "InvalidRequestException":
|
|
1142
1142
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1143
|
-
throw await
|
|
1143
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1144
1144
|
case "ResourceNotFoundException":
|
|
1145
1145
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1146
|
-
throw await
|
|
1146
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1147
1147
|
case "ThrottlingException":
|
|
1148
1148
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1149
|
-
throw await
|
|
1149
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1150
1150
|
default:
|
|
1151
1151
|
const parsedBody = parsedOutput.body;
|
|
1152
1152
|
throwDefaultError({
|
|
@@ -1157,20 +1157,20 @@ const deserializeAws_json1_1GetSystemTemplateRevisionsCommandError = async (outp
|
|
|
1157
1157
|
});
|
|
1158
1158
|
}
|
|
1159
1159
|
};
|
|
1160
|
-
export const
|
|
1160
|
+
export const de_GetUploadStatusCommand = async (output, context) => {
|
|
1161
1161
|
if (output.statusCode >= 300) {
|
|
1162
|
-
return
|
|
1162
|
+
return de_GetUploadStatusCommandError(output, context);
|
|
1163
1163
|
}
|
|
1164
1164
|
const data = await parseBody(output.body, context);
|
|
1165
1165
|
let contents = {};
|
|
1166
|
-
contents =
|
|
1166
|
+
contents = de_GetUploadStatusResponse(data, context);
|
|
1167
1167
|
const response = {
|
|
1168
1168
|
$metadata: deserializeMetadata(output),
|
|
1169
1169
|
...contents,
|
|
1170
1170
|
};
|
|
1171
1171
|
return Promise.resolve(response);
|
|
1172
1172
|
};
|
|
1173
|
-
const
|
|
1173
|
+
const de_GetUploadStatusCommandError = async (output, context) => {
|
|
1174
1174
|
const parsedOutput = {
|
|
1175
1175
|
...output,
|
|
1176
1176
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1179,16 +1179,16 @@ const deserializeAws_json1_1GetUploadStatusCommandError = async (output, context
|
|
|
1179
1179
|
switch (errorCode) {
|
|
1180
1180
|
case "InternalFailureException":
|
|
1181
1181
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1182
|
-
throw await
|
|
1182
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1183
1183
|
case "InvalidRequestException":
|
|
1184
1184
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1185
|
-
throw await
|
|
1185
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1186
1186
|
case "ResourceNotFoundException":
|
|
1187
1187
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1188
|
-
throw await
|
|
1188
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1189
1189
|
case "ThrottlingException":
|
|
1190
1190
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1191
|
-
throw await
|
|
1191
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1192
1192
|
default:
|
|
1193
1193
|
const parsedBody = parsedOutput.body;
|
|
1194
1194
|
throwDefaultError({
|
|
@@ -1199,20 +1199,20 @@ const deserializeAws_json1_1GetUploadStatusCommandError = async (output, context
|
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
};
|
|
1202
|
-
export const
|
|
1202
|
+
export const de_ListFlowExecutionMessagesCommand = async (output, context) => {
|
|
1203
1203
|
if (output.statusCode >= 300) {
|
|
1204
|
-
return
|
|
1204
|
+
return de_ListFlowExecutionMessagesCommandError(output, context);
|
|
1205
1205
|
}
|
|
1206
1206
|
const data = await parseBody(output.body, context);
|
|
1207
1207
|
let contents = {};
|
|
1208
|
-
contents =
|
|
1208
|
+
contents = de_ListFlowExecutionMessagesResponse(data, context);
|
|
1209
1209
|
const response = {
|
|
1210
1210
|
$metadata: deserializeMetadata(output),
|
|
1211
1211
|
...contents,
|
|
1212
1212
|
};
|
|
1213
1213
|
return Promise.resolve(response);
|
|
1214
1214
|
};
|
|
1215
|
-
const
|
|
1215
|
+
const de_ListFlowExecutionMessagesCommandError = async (output, context) => {
|
|
1216
1216
|
const parsedOutput = {
|
|
1217
1217
|
...output,
|
|
1218
1218
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1221,16 +1221,16 @@ const deserializeAws_json1_1ListFlowExecutionMessagesCommandError = async (outpu
|
|
|
1221
1221
|
switch (errorCode) {
|
|
1222
1222
|
case "InternalFailureException":
|
|
1223
1223
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1224
|
-
throw await
|
|
1224
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1225
1225
|
case "InvalidRequestException":
|
|
1226
1226
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1227
|
-
throw await
|
|
1227
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1228
1228
|
case "ResourceNotFoundException":
|
|
1229
1229
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1230
|
-
throw await
|
|
1230
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1231
1231
|
case "ThrottlingException":
|
|
1232
1232
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1233
|
-
throw await
|
|
1233
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1234
1234
|
default:
|
|
1235
1235
|
const parsedBody = parsedOutput.body;
|
|
1236
1236
|
throwDefaultError({
|
|
@@ -1241,20 +1241,20 @@ const deserializeAws_json1_1ListFlowExecutionMessagesCommandError = async (outpu
|
|
|
1241
1241
|
});
|
|
1242
1242
|
}
|
|
1243
1243
|
};
|
|
1244
|
-
export const
|
|
1244
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1245
1245
|
if (output.statusCode >= 300) {
|
|
1246
|
-
return
|
|
1246
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1247
1247
|
}
|
|
1248
1248
|
const data = await parseBody(output.body, context);
|
|
1249
1249
|
let contents = {};
|
|
1250
|
-
contents =
|
|
1250
|
+
contents = de_ListTagsForResourceResponse(data, context);
|
|
1251
1251
|
const response = {
|
|
1252
1252
|
$metadata: deserializeMetadata(output),
|
|
1253
1253
|
...contents,
|
|
1254
1254
|
};
|
|
1255
1255
|
return Promise.resolve(response);
|
|
1256
1256
|
};
|
|
1257
|
-
const
|
|
1257
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1258
1258
|
const parsedOutput = {
|
|
1259
1259
|
...output,
|
|
1260
1260
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1263,16 +1263,16 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1263
1263
|
switch (errorCode) {
|
|
1264
1264
|
case "InternalFailureException":
|
|
1265
1265
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1266
|
-
throw await
|
|
1266
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1267
1267
|
case "InvalidRequestException":
|
|
1268
1268
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1269
|
-
throw await
|
|
1269
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1270
1270
|
case "ResourceAlreadyExistsException":
|
|
1271
1271
|
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
1272
|
-
throw await
|
|
1272
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1273
1273
|
case "ThrottlingException":
|
|
1274
1274
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1275
|
-
throw await
|
|
1275
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1276
1276
|
default:
|
|
1277
1277
|
const parsedBody = parsedOutput.body;
|
|
1278
1278
|
throwDefaultError({
|
|
@@ -1283,20 +1283,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1283
1283
|
});
|
|
1284
1284
|
}
|
|
1285
1285
|
};
|
|
1286
|
-
export const
|
|
1286
|
+
export const de_SearchEntitiesCommand = async (output, context) => {
|
|
1287
1287
|
if (output.statusCode >= 300) {
|
|
1288
|
-
return
|
|
1288
|
+
return de_SearchEntitiesCommandError(output, context);
|
|
1289
1289
|
}
|
|
1290
1290
|
const data = await parseBody(output.body, context);
|
|
1291
1291
|
let contents = {};
|
|
1292
|
-
contents =
|
|
1292
|
+
contents = de_SearchEntitiesResponse(data, context);
|
|
1293
1293
|
const response = {
|
|
1294
1294
|
$metadata: deserializeMetadata(output),
|
|
1295
1295
|
...contents,
|
|
1296
1296
|
};
|
|
1297
1297
|
return Promise.resolve(response);
|
|
1298
1298
|
};
|
|
1299
|
-
const
|
|
1299
|
+
const de_SearchEntitiesCommandError = async (output, context) => {
|
|
1300
1300
|
const parsedOutput = {
|
|
1301
1301
|
...output,
|
|
1302
1302
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1305,13 +1305,13 @@ const deserializeAws_json1_1SearchEntitiesCommandError = async (output, context)
|
|
|
1305
1305
|
switch (errorCode) {
|
|
1306
1306
|
case "InternalFailureException":
|
|
1307
1307
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1308
|
-
throw await
|
|
1308
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1309
1309
|
case "InvalidRequestException":
|
|
1310
1310
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1311
|
-
throw await
|
|
1311
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1312
1312
|
case "ThrottlingException":
|
|
1313
1313
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1314
|
-
throw await
|
|
1314
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1315
1315
|
default:
|
|
1316
1316
|
const parsedBody = parsedOutput.body;
|
|
1317
1317
|
throwDefaultError({
|
|
@@ -1322,20 +1322,20 @@ const deserializeAws_json1_1SearchEntitiesCommandError = async (output, context)
|
|
|
1322
1322
|
});
|
|
1323
1323
|
}
|
|
1324
1324
|
};
|
|
1325
|
-
export const
|
|
1325
|
+
export const de_SearchFlowExecutionsCommand = async (output, context) => {
|
|
1326
1326
|
if (output.statusCode >= 300) {
|
|
1327
|
-
return
|
|
1327
|
+
return de_SearchFlowExecutionsCommandError(output, context);
|
|
1328
1328
|
}
|
|
1329
1329
|
const data = await parseBody(output.body, context);
|
|
1330
1330
|
let contents = {};
|
|
1331
|
-
contents =
|
|
1331
|
+
contents = de_SearchFlowExecutionsResponse(data, context);
|
|
1332
1332
|
const response = {
|
|
1333
1333
|
$metadata: deserializeMetadata(output),
|
|
1334
1334
|
...contents,
|
|
1335
1335
|
};
|
|
1336
1336
|
return Promise.resolve(response);
|
|
1337
1337
|
};
|
|
1338
|
-
const
|
|
1338
|
+
const de_SearchFlowExecutionsCommandError = async (output, context) => {
|
|
1339
1339
|
const parsedOutput = {
|
|
1340
1340
|
...output,
|
|
1341
1341
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1344,16 +1344,16 @@ const deserializeAws_json1_1SearchFlowExecutionsCommandError = async (output, co
|
|
|
1344
1344
|
switch (errorCode) {
|
|
1345
1345
|
case "InternalFailureException":
|
|
1346
1346
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1347
|
-
throw await
|
|
1347
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1348
1348
|
case "InvalidRequestException":
|
|
1349
1349
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1350
|
-
throw await
|
|
1350
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1351
1351
|
case "ResourceNotFoundException":
|
|
1352
1352
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1353
|
-
throw await
|
|
1353
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1354
1354
|
case "ThrottlingException":
|
|
1355
1355
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1356
|
-
throw await
|
|
1356
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1357
1357
|
default:
|
|
1358
1358
|
const parsedBody = parsedOutput.body;
|
|
1359
1359
|
throwDefaultError({
|
|
@@ -1364,20 +1364,20 @@ const deserializeAws_json1_1SearchFlowExecutionsCommandError = async (output, co
|
|
|
1364
1364
|
});
|
|
1365
1365
|
}
|
|
1366
1366
|
};
|
|
1367
|
-
export const
|
|
1367
|
+
export const de_SearchFlowTemplatesCommand = async (output, context) => {
|
|
1368
1368
|
if (output.statusCode >= 300) {
|
|
1369
|
-
return
|
|
1369
|
+
return de_SearchFlowTemplatesCommandError(output, context);
|
|
1370
1370
|
}
|
|
1371
1371
|
const data = await parseBody(output.body, context);
|
|
1372
1372
|
let contents = {};
|
|
1373
|
-
contents =
|
|
1373
|
+
contents = de_SearchFlowTemplatesResponse(data, context);
|
|
1374
1374
|
const response = {
|
|
1375
1375
|
$metadata: deserializeMetadata(output),
|
|
1376
1376
|
...contents,
|
|
1377
1377
|
};
|
|
1378
1378
|
return Promise.resolve(response);
|
|
1379
1379
|
};
|
|
1380
|
-
const
|
|
1380
|
+
const de_SearchFlowTemplatesCommandError = async (output, context) => {
|
|
1381
1381
|
const parsedOutput = {
|
|
1382
1382
|
...output,
|
|
1383
1383
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1386,13 +1386,13 @@ const deserializeAws_json1_1SearchFlowTemplatesCommandError = async (output, con
|
|
|
1386
1386
|
switch (errorCode) {
|
|
1387
1387
|
case "InternalFailureException":
|
|
1388
1388
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1389
|
-
throw await
|
|
1389
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1390
1390
|
case "InvalidRequestException":
|
|
1391
1391
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1392
|
-
throw await
|
|
1392
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1393
1393
|
case "ThrottlingException":
|
|
1394
1394
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1395
|
-
throw await
|
|
1395
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1396
1396
|
default:
|
|
1397
1397
|
const parsedBody = parsedOutput.body;
|
|
1398
1398
|
throwDefaultError({
|
|
@@ -1403,20 +1403,20 @@ const deserializeAws_json1_1SearchFlowTemplatesCommandError = async (output, con
|
|
|
1403
1403
|
});
|
|
1404
1404
|
}
|
|
1405
1405
|
};
|
|
1406
|
-
export const
|
|
1406
|
+
export const de_SearchSystemInstancesCommand = async (output, context) => {
|
|
1407
1407
|
if (output.statusCode >= 300) {
|
|
1408
|
-
return
|
|
1408
|
+
return de_SearchSystemInstancesCommandError(output, context);
|
|
1409
1409
|
}
|
|
1410
1410
|
const data = await parseBody(output.body, context);
|
|
1411
1411
|
let contents = {};
|
|
1412
|
-
contents =
|
|
1412
|
+
contents = de_SearchSystemInstancesResponse(data, context);
|
|
1413
1413
|
const response = {
|
|
1414
1414
|
$metadata: deserializeMetadata(output),
|
|
1415
1415
|
...contents,
|
|
1416
1416
|
};
|
|
1417
1417
|
return Promise.resolve(response);
|
|
1418
1418
|
};
|
|
1419
|
-
const
|
|
1419
|
+
const de_SearchSystemInstancesCommandError = async (output, context) => {
|
|
1420
1420
|
const parsedOutput = {
|
|
1421
1421
|
...output,
|
|
1422
1422
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1425,13 +1425,13 @@ const deserializeAws_json1_1SearchSystemInstancesCommandError = async (output, c
|
|
|
1425
1425
|
switch (errorCode) {
|
|
1426
1426
|
case "InternalFailureException":
|
|
1427
1427
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1428
|
-
throw await
|
|
1428
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1429
1429
|
case "InvalidRequestException":
|
|
1430
1430
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1431
|
-
throw await
|
|
1431
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1432
1432
|
case "ThrottlingException":
|
|
1433
1433
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1434
|
-
throw await
|
|
1434
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1435
1435
|
default:
|
|
1436
1436
|
const parsedBody = parsedOutput.body;
|
|
1437
1437
|
throwDefaultError({
|
|
@@ -1442,20 +1442,20 @@ const deserializeAws_json1_1SearchSystemInstancesCommandError = async (output, c
|
|
|
1442
1442
|
});
|
|
1443
1443
|
}
|
|
1444
1444
|
};
|
|
1445
|
-
export const
|
|
1445
|
+
export const de_SearchSystemTemplatesCommand = async (output, context) => {
|
|
1446
1446
|
if (output.statusCode >= 300) {
|
|
1447
|
-
return
|
|
1447
|
+
return de_SearchSystemTemplatesCommandError(output, context);
|
|
1448
1448
|
}
|
|
1449
1449
|
const data = await parseBody(output.body, context);
|
|
1450
1450
|
let contents = {};
|
|
1451
|
-
contents =
|
|
1451
|
+
contents = de_SearchSystemTemplatesResponse(data, context);
|
|
1452
1452
|
const response = {
|
|
1453
1453
|
$metadata: deserializeMetadata(output),
|
|
1454
1454
|
...contents,
|
|
1455
1455
|
};
|
|
1456
1456
|
return Promise.resolve(response);
|
|
1457
1457
|
};
|
|
1458
|
-
const
|
|
1458
|
+
const de_SearchSystemTemplatesCommandError = async (output, context) => {
|
|
1459
1459
|
const parsedOutput = {
|
|
1460
1460
|
...output,
|
|
1461
1461
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1464,13 +1464,13 @@ const deserializeAws_json1_1SearchSystemTemplatesCommandError = async (output, c
|
|
|
1464
1464
|
switch (errorCode) {
|
|
1465
1465
|
case "InternalFailureException":
|
|
1466
1466
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1467
|
-
throw await
|
|
1467
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1468
1468
|
case "InvalidRequestException":
|
|
1469
1469
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1470
|
-
throw await
|
|
1470
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1471
1471
|
case "ThrottlingException":
|
|
1472
1472
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1473
|
-
throw await
|
|
1473
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1474
1474
|
default:
|
|
1475
1475
|
const parsedBody = parsedOutput.body;
|
|
1476
1476
|
throwDefaultError({
|
|
@@ -1481,20 +1481,20 @@ const deserializeAws_json1_1SearchSystemTemplatesCommandError = async (output, c
|
|
|
1481
1481
|
});
|
|
1482
1482
|
}
|
|
1483
1483
|
};
|
|
1484
|
-
export const
|
|
1484
|
+
export const de_SearchThingsCommand = async (output, context) => {
|
|
1485
1485
|
if (output.statusCode >= 300) {
|
|
1486
|
-
return
|
|
1486
|
+
return de_SearchThingsCommandError(output, context);
|
|
1487
1487
|
}
|
|
1488
1488
|
const data = await parseBody(output.body, context);
|
|
1489
1489
|
let contents = {};
|
|
1490
|
-
contents =
|
|
1490
|
+
contents = de_SearchThingsResponse(data, context);
|
|
1491
1491
|
const response = {
|
|
1492
1492
|
$metadata: deserializeMetadata(output),
|
|
1493
1493
|
...contents,
|
|
1494
1494
|
};
|
|
1495
1495
|
return Promise.resolve(response);
|
|
1496
1496
|
};
|
|
1497
|
-
const
|
|
1497
|
+
const de_SearchThingsCommandError = async (output, context) => {
|
|
1498
1498
|
const parsedOutput = {
|
|
1499
1499
|
...output,
|
|
1500
1500
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1503,16 +1503,16 @@ const deserializeAws_json1_1SearchThingsCommandError = async (output, context) =
|
|
|
1503
1503
|
switch (errorCode) {
|
|
1504
1504
|
case "InternalFailureException":
|
|
1505
1505
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1506
|
-
throw await
|
|
1506
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1507
1507
|
case "InvalidRequestException":
|
|
1508
1508
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1509
|
-
throw await
|
|
1509
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1510
1510
|
case "ResourceNotFoundException":
|
|
1511
1511
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1512
|
-
throw await
|
|
1512
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1513
1513
|
case "ThrottlingException":
|
|
1514
1514
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1515
|
-
throw await
|
|
1515
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1516
1516
|
default:
|
|
1517
1517
|
const parsedBody = parsedOutput.body;
|
|
1518
1518
|
throwDefaultError({
|
|
@@ -1523,20 +1523,20 @@ const deserializeAws_json1_1SearchThingsCommandError = async (output, context) =
|
|
|
1523
1523
|
});
|
|
1524
1524
|
}
|
|
1525
1525
|
};
|
|
1526
|
-
export const
|
|
1526
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1527
1527
|
if (output.statusCode >= 300) {
|
|
1528
|
-
return
|
|
1528
|
+
return de_TagResourceCommandError(output, context);
|
|
1529
1529
|
}
|
|
1530
1530
|
const data = await parseBody(output.body, context);
|
|
1531
1531
|
let contents = {};
|
|
1532
|
-
contents =
|
|
1532
|
+
contents = de_TagResourceResponse(data, context);
|
|
1533
1533
|
const response = {
|
|
1534
1534
|
$metadata: deserializeMetadata(output),
|
|
1535
1535
|
...contents,
|
|
1536
1536
|
};
|
|
1537
1537
|
return Promise.resolve(response);
|
|
1538
1538
|
};
|
|
1539
|
-
const
|
|
1539
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1540
1540
|
const parsedOutput = {
|
|
1541
1541
|
...output,
|
|
1542
1542
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1545,16 +1545,16 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1545
1545
|
switch (errorCode) {
|
|
1546
1546
|
case "InternalFailureException":
|
|
1547
1547
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1548
|
-
throw await
|
|
1548
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1549
1549
|
case "InvalidRequestException":
|
|
1550
1550
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1551
|
-
throw await
|
|
1551
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1552
1552
|
case "ResourceAlreadyExistsException":
|
|
1553
1553
|
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
1554
|
-
throw await
|
|
1554
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1555
1555
|
case "ThrottlingException":
|
|
1556
1556
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1557
|
-
throw await
|
|
1557
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1558
1558
|
default:
|
|
1559
1559
|
const parsedBody = parsedOutput.body;
|
|
1560
1560
|
throwDefaultError({
|
|
@@ -1565,20 +1565,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1565
1565
|
});
|
|
1566
1566
|
}
|
|
1567
1567
|
};
|
|
1568
|
-
export const
|
|
1568
|
+
export const de_UndeploySystemInstanceCommand = async (output, context) => {
|
|
1569
1569
|
if (output.statusCode >= 300) {
|
|
1570
|
-
return
|
|
1570
|
+
return de_UndeploySystemInstanceCommandError(output, context);
|
|
1571
1571
|
}
|
|
1572
1572
|
const data = await parseBody(output.body, context);
|
|
1573
1573
|
let contents = {};
|
|
1574
|
-
contents =
|
|
1574
|
+
contents = de_UndeploySystemInstanceResponse(data, context);
|
|
1575
1575
|
const response = {
|
|
1576
1576
|
$metadata: deserializeMetadata(output),
|
|
1577
1577
|
...contents,
|
|
1578
1578
|
};
|
|
1579
1579
|
return Promise.resolve(response);
|
|
1580
1580
|
};
|
|
1581
|
-
const
|
|
1581
|
+
const de_UndeploySystemInstanceCommandError = async (output, context) => {
|
|
1582
1582
|
const parsedOutput = {
|
|
1583
1583
|
...output,
|
|
1584
1584
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1587,19 +1587,19 @@ const deserializeAws_json1_1UndeploySystemInstanceCommandError = async (output,
|
|
|
1587
1587
|
switch (errorCode) {
|
|
1588
1588
|
case "InternalFailureException":
|
|
1589
1589
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1590
|
-
throw await
|
|
1590
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1591
1591
|
case "InvalidRequestException":
|
|
1592
1592
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1593
|
-
throw await
|
|
1593
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1594
1594
|
case "ResourceInUseException":
|
|
1595
1595
|
case "com.amazonaws.iotthingsgraph#ResourceInUseException":
|
|
1596
|
-
throw await
|
|
1596
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1597
1597
|
case "ResourceNotFoundException":
|
|
1598
1598
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1599
|
-
throw await
|
|
1599
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1600
1600
|
case "ThrottlingException":
|
|
1601
1601
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1602
|
-
throw await
|
|
1602
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1603
1603
|
default:
|
|
1604
1604
|
const parsedBody = parsedOutput.body;
|
|
1605
1605
|
throwDefaultError({
|
|
@@ -1610,20 +1610,20 @@ const deserializeAws_json1_1UndeploySystemInstanceCommandError = async (output,
|
|
|
1610
1610
|
});
|
|
1611
1611
|
}
|
|
1612
1612
|
};
|
|
1613
|
-
export const
|
|
1613
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1614
1614
|
if (output.statusCode >= 300) {
|
|
1615
|
-
return
|
|
1615
|
+
return de_UntagResourceCommandError(output, context);
|
|
1616
1616
|
}
|
|
1617
1617
|
const data = await parseBody(output.body, context);
|
|
1618
1618
|
let contents = {};
|
|
1619
|
-
contents =
|
|
1619
|
+
contents = de_UntagResourceResponse(data, context);
|
|
1620
1620
|
const response = {
|
|
1621
1621
|
$metadata: deserializeMetadata(output),
|
|
1622
1622
|
...contents,
|
|
1623
1623
|
};
|
|
1624
1624
|
return Promise.resolve(response);
|
|
1625
1625
|
};
|
|
1626
|
-
const
|
|
1626
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
1627
1627
|
const parsedOutput = {
|
|
1628
1628
|
...output,
|
|
1629
1629
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1632,16 +1632,16 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1632
1632
|
switch (errorCode) {
|
|
1633
1633
|
case "InternalFailureException":
|
|
1634
1634
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1635
|
-
throw await
|
|
1635
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1636
1636
|
case "InvalidRequestException":
|
|
1637
1637
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1638
|
-
throw await
|
|
1638
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1639
1639
|
case "ResourceAlreadyExistsException":
|
|
1640
1640
|
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
1641
|
-
throw await
|
|
1641
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1642
1642
|
case "ThrottlingException":
|
|
1643
1643
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1644
|
-
throw await
|
|
1644
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1645
1645
|
default:
|
|
1646
1646
|
const parsedBody = parsedOutput.body;
|
|
1647
1647
|
throwDefaultError({
|
|
@@ -1652,20 +1652,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1652
1652
|
});
|
|
1653
1653
|
}
|
|
1654
1654
|
};
|
|
1655
|
-
export const
|
|
1655
|
+
export const de_UpdateFlowTemplateCommand = async (output, context) => {
|
|
1656
1656
|
if (output.statusCode >= 300) {
|
|
1657
|
-
return
|
|
1657
|
+
return de_UpdateFlowTemplateCommandError(output, context);
|
|
1658
1658
|
}
|
|
1659
1659
|
const data = await parseBody(output.body, context);
|
|
1660
1660
|
let contents = {};
|
|
1661
|
-
contents =
|
|
1661
|
+
contents = de_UpdateFlowTemplateResponse(data, context);
|
|
1662
1662
|
const response = {
|
|
1663
1663
|
$metadata: deserializeMetadata(output),
|
|
1664
1664
|
...contents,
|
|
1665
1665
|
};
|
|
1666
1666
|
return Promise.resolve(response);
|
|
1667
1667
|
};
|
|
1668
|
-
const
|
|
1668
|
+
const de_UpdateFlowTemplateCommandError = async (output, context) => {
|
|
1669
1669
|
const parsedOutput = {
|
|
1670
1670
|
...output,
|
|
1671
1671
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1674,16 +1674,16 @@ const deserializeAws_json1_1UpdateFlowTemplateCommandError = async (output, cont
|
|
|
1674
1674
|
switch (errorCode) {
|
|
1675
1675
|
case "InternalFailureException":
|
|
1676
1676
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1677
|
-
throw await
|
|
1677
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1678
1678
|
case "InvalidRequestException":
|
|
1679
1679
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1680
|
-
throw await
|
|
1680
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1681
1681
|
case "ResourceNotFoundException":
|
|
1682
1682
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1683
|
-
throw await
|
|
1683
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1684
1684
|
case "ThrottlingException":
|
|
1685
1685
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1686
|
-
throw await
|
|
1686
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1687
1687
|
default:
|
|
1688
1688
|
const parsedBody = parsedOutput.body;
|
|
1689
1689
|
throwDefaultError({
|
|
@@ -1694,20 +1694,20 @@ const deserializeAws_json1_1UpdateFlowTemplateCommandError = async (output, cont
|
|
|
1694
1694
|
});
|
|
1695
1695
|
}
|
|
1696
1696
|
};
|
|
1697
|
-
export const
|
|
1697
|
+
export const de_UpdateSystemTemplateCommand = async (output, context) => {
|
|
1698
1698
|
if (output.statusCode >= 300) {
|
|
1699
|
-
return
|
|
1699
|
+
return de_UpdateSystemTemplateCommandError(output, context);
|
|
1700
1700
|
}
|
|
1701
1701
|
const data = await parseBody(output.body, context);
|
|
1702
1702
|
let contents = {};
|
|
1703
|
-
contents =
|
|
1703
|
+
contents = de_UpdateSystemTemplateResponse(data, context);
|
|
1704
1704
|
const response = {
|
|
1705
1705
|
$metadata: deserializeMetadata(output),
|
|
1706
1706
|
...contents,
|
|
1707
1707
|
};
|
|
1708
1708
|
return Promise.resolve(response);
|
|
1709
1709
|
};
|
|
1710
|
-
const
|
|
1710
|
+
const de_UpdateSystemTemplateCommandError = async (output, context) => {
|
|
1711
1711
|
const parsedOutput = {
|
|
1712
1712
|
...output,
|
|
1713
1713
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1716,16 +1716,16 @@ const deserializeAws_json1_1UpdateSystemTemplateCommandError = async (output, co
|
|
|
1716
1716
|
switch (errorCode) {
|
|
1717
1717
|
case "InternalFailureException":
|
|
1718
1718
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1719
|
-
throw await
|
|
1719
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1720
1720
|
case "InvalidRequestException":
|
|
1721
1721
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1722
|
-
throw await
|
|
1722
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1723
1723
|
case "ResourceNotFoundException":
|
|
1724
1724
|
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1725
|
-
throw await
|
|
1725
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1726
1726
|
case "ThrottlingException":
|
|
1727
1727
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1728
|
-
throw await
|
|
1728
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1729
1729
|
default:
|
|
1730
1730
|
const parsedBody = parsedOutput.body;
|
|
1731
1731
|
throwDefaultError({
|
|
@@ -1736,20 +1736,20 @@ const deserializeAws_json1_1UpdateSystemTemplateCommandError = async (output, co
|
|
|
1736
1736
|
});
|
|
1737
1737
|
}
|
|
1738
1738
|
};
|
|
1739
|
-
export const
|
|
1739
|
+
export const de_UploadEntityDefinitionsCommand = async (output, context) => {
|
|
1740
1740
|
if (output.statusCode >= 300) {
|
|
1741
|
-
return
|
|
1741
|
+
return de_UploadEntityDefinitionsCommandError(output, context);
|
|
1742
1742
|
}
|
|
1743
1743
|
const data = await parseBody(output.body, context);
|
|
1744
1744
|
let contents = {};
|
|
1745
|
-
contents =
|
|
1745
|
+
contents = de_UploadEntityDefinitionsResponse(data, context);
|
|
1746
1746
|
const response = {
|
|
1747
1747
|
$metadata: deserializeMetadata(output),
|
|
1748
1748
|
...contents,
|
|
1749
1749
|
};
|
|
1750
1750
|
return Promise.resolve(response);
|
|
1751
1751
|
};
|
|
1752
|
-
const
|
|
1752
|
+
const de_UploadEntityDefinitionsCommandError = async (output, context) => {
|
|
1753
1753
|
const parsedOutput = {
|
|
1754
1754
|
...output,
|
|
1755
1755
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1758,13 +1758,13 @@ const deserializeAws_json1_1UploadEntityDefinitionsCommandError = async (output,
|
|
|
1758
1758
|
switch (errorCode) {
|
|
1759
1759
|
case "InternalFailureException":
|
|
1760
1760
|
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1761
|
-
throw await
|
|
1761
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1762
1762
|
case "InvalidRequestException":
|
|
1763
1763
|
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1764
|
-
throw await
|
|
1764
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1765
1765
|
case "ThrottlingException":
|
|
1766
1766
|
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1767
|
-
throw await
|
|
1767
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1768
1768
|
default:
|
|
1769
1769
|
const parsedBody = parsedOutput.body;
|
|
1770
1770
|
throwDefaultError({
|
|
@@ -1775,273 +1775,273 @@ const deserializeAws_json1_1UploadEntityDefinitionsCommandError = async (output,
|
|
|
1775
1775
|
});
|
|
1776
1776
|
}
|
|
1777
1777
|
};
|
|
1778
|
-
const
|
|
1778
|
+
const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
1779
1779
|
const body = parsedOutput.body;
|
|
1780
|
-
const deserialized =
|
|
1780
|
+
const deserialized = de_InternalFailureException(body, context);
|
|
1781
1781
|
const exception = new InternalFailureException({
|
|
1782
1782
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1783
1783
|
...deserialized,
|
|
1784
1784
|
});
|
|
1785
1785
|
return __decorateServiceException(exception, body);
|
|
1786
1786
|
};
|
|
1787
|
-
const
|
|
1787
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
1788
1788
|
const body = parsedOutput.body;
|
|
1789
|
-
const deserialized =
|
|
1789
|
+
const deserialized = de_InvalidRequestException(body, context);
|
|
1790
1790
|
const exception = new InvalidRequestException({
|
|
1791
1791
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1792
1792
|
...deserialized,
|
|
1793
1793
|
});
|
|
1794
1794
|
return __decorateServiceException(exception, body);
|
|
1795
1795
|
};
|
|
1796
|
-
const
|
|
1796
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1797
1797
|
const body = parsedOutput.body;
|
|
1798
|
-
const deserialized =
|
|
1798
|
+
const deserialized = de_LimitExceededException(body, context);
|
|
1799
1799
|
const exception = new LimitExceededException({
|
|
1800
1800
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1801
1801
|
...deserialized,
|
|
1802
1802
|
});
|
|
1803
1803
|
return __decorateServiceException(exception, body);
|
|
1804
1804
|
};
|
|
1805
|
-
const
|
|
1805
|
+
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1806
1806
|
const body = parsedOutput.body;
|
|
1807
|
-
const deserialized =
|
|
1807
|
+
const deserialized = de_ResourceAlreadyExistsException(body, context);
|
|
1808
1808
|
const exception = new ResourceAlreadyExistsException({
|
|
1809
1809
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1810
1810
|
...deserialized,
|
|
1811
1811
|
});
|
|
1812
1812
|
return __decorateServiceException(exception, body);
|
|
1813
1813
|
};
|
|
1814
|
-
const
|
|
1814
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1815
1815
|
const body = parsedOutput.body;
|
|
1816
|
-
const deserialized =
|
|
1816
|
+
const deserialized = de_ResourceInUseException(body, context);
|
|
1817
1817
|
const exception = new ResourceInUseException({
|
|
1818
1818
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1819
1819
|
...deserialized,
|
|
1820
1820
|
});
|
|
1821
1821
|
return __decorateServiceException(exception, body);
|
|
1822
1822
|
};
|
|
1823
|
-
const
|
|
1823
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1824
1824
|
const body = parsedOutput.body;
|
|
1825
|
-
const deserialized =
|
|
1825
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
1826
1826
|
const exception = new ResourceNotFoundException({
|
|
1827
1827
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1828
1828
|
...deserialized,
|
|
1829
1829
|
});
|
|
1830
1830
|
return __decorateServiceException(exception, body);
|
|
1831
1831
|
};
|
|
1832
|
-
const
|
|
1832
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1833
1833
|
const body = parsedOutput.body;
|
|
1834
|
-
const deserialized =
|
|
1834
|
+
const deserialized = de_ThrottlingException(body, context);
|
|
1835
1835
|
const exception = new ThrottlingException({
|
|
1836
1836
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1837
1837
|
...deserialized,
|
|
1838
1838
|
});
|
|
1839
1839
|
return __decorateServiceException(exception, body);
|
|
1840
1840
|
};
|
|
1841
|
-
const
|
|
1841
|
+
const se_AssociateEntityToThingRequest = (input, context) => {
|
|
1842
1842
|
return {
|
|
1843
1843
|
...(input.entityId != null && { entityId: input.entityId }),
|
|
1844
1844
|
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
1845
1845
|
...(input.thingName != null && { thingName: input.thingName }),
|
|
1846
1846
|
};
|
|
1847
1847
|
};
|
|
1848
|
-
const
|
|
1848
|
+
const se_CreateFlowTemplateRequest = (input, context) => {
|
|
1849
1849
|
return {
|
|
1850
1850
|
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
1851
|
-
...(input.definition != null && { definition:
|
|
1851
|
+
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
1852
1852
|
};
|
|
1853
1853
|
};
|
|
1854
|
-
const
|
|
1854
|
+
const se_CreateSystemInstanceRequest = (input, context) => {
|
|
1855
1855
|
return {
|
|
1856
|
-
...(input.definition != null && { definition:
|
|
1856
|
+
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
1857
1857
|
...(input.flowActionsRoleArn != null && { flowActionsRoleArn: input.flowActionsRoleArn }),
|
|
1858
1858
|
...(input.greengrassGroupName != null && { greengrassGroupName: input.greengrassGroupName }),
|
|
1859
1859
|
...(input.metricsConfiguration != null && {
|
|
1860
|
-
metricsConfiguration:
|
|
1860
|
+
metricsConfiguration: se_MetricsConfiguration(input.metricsConfiguration, context),
|
|
1861
1861
|
}),
|
|
1862
1862
|
...(input.s3BucketName != null && { s3BucketName: input.s3BucketName }),
|
|
1863
|
-
...(input.tags != null && { tags:
|
|
1863
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
1864
1864
|
...(input.target != null && { target: input.target }),
|
|
1865
1865
|
};
|
|
1866
1866
|
};
|
|
1867
|
-
const
|
|
1867
|
+
const se_CreateSystemTemplateRequest = (input, context) => {
|
|
1868
1868
|
return {
|
|
1869
1869
|
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
1870
|
-
...(input.definition != null && { definition:
|
|
1870
|
+
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
1871
1871
|
};
|
|
1872
1872
|
};
|
|
1873
|
-
const
|
|
1873
|
+
const se_DefinitionDocument = (input, context) => {
|
|
1874
1874
|
return {
|
|
1875
1875
|
...(input.language != null && { language: input.language }),
|
|
1876
1876
|
...(input.text != null && { text: input.text }),
|
|
1877
1877
|
};
|
|
1878
1878
|
};
|
|
1879
|
-
const
|
|
1879
|
+
const se_DeleteFlowTemplateRequest = (input, context) => {
|
|
1880
1880
|
return {
|
|
1881
1881
|
...(input.id != null && { id: input.id }),
|
|
1882
1882
|
};
|
|
1883
1883
|
};
|
|
1884
|
-
const
|
|
1884
|
+
const se_DeleteNamespaceRequest = (input, context) => {
|
|
1885
1885
|
return {};
|
|
1886
1886
|
};
|
|
1887
|
-
const
|
|
1887
|
+
const se_DeleteSystemInstanceRequest = (input, context) => {
|
|
1888
1888
|
return {
|
|
1889
1889
|
...(input.id != null && { id: input.id }),
|
|
1890
1890
|
};
|
|
1891
1891
|
};
|
|
1892
|
-
const
|
|
1892
|
+
const se_DeleteSystemTemplateRequest = (input, context) => {
|
|
1893
1893
|
return {
|
|
1894
1894
|
...(input.id != null && { id: input.id }),
|
|
1895
1895
|
};
|
|
1896
1896
|
};
|
|
1897
|
-
const
|
|
1897
|
+
const se_DeploySystemInstanceRequest = (input, context) => {
|
|
1898
1898
|
return {
|
|
1899
1899
|
...(input.id != null && { id: input.id }),
|
|
1900
1900
|
};
|
|
1901
1901
|
};
|
|
1902
|
-
const
|
|
1902
|
+
const se_DeprecateFlowTemplateRequest = (input, context) => {
|
|
1903
1903
|
return {
|
|
1904
1904
|
...(input.id != null && { id: input.id }),
|
|
1905
1905
|
};
|
|
1906
1906
|
};
|
|
1907
|
-
const
|
|
1907
|
+
const se_DeprecateSystemTemplateRequest = (input, context) => {
|
|
1908
1908
|
return {
|
|
1909
1909
|
...(input.id != null && { id: input.id }),
|
|
1910
1910
|
};
|
|
1911
1911
|
};
|
|
1912
|
-
const
|
|
1912
|
+
const se_DescribeNamespaceRequest = (input, context) => {
|
|
1913
1913
|
return {
|
|
1914
1914
|
...(input.namespaceName != null && { namespaceName: input.namespaceName }),
|
|
1915
1915
|
};
|
|
1916
1916
|
};
|
|
1917
|
-
const
|
|
1917
|
+
const se_DissociateEntityFromThingRequest = (input, context) => {
|
|
1918
1918
|
return {
|
|
1919
1919
|
...(input.entityType != null && { entityType: input.entityType }),
|
|
1920
1920
|
...(input.thingName != null && { thingName: input.thingName }),
|
|
1921
1921
|
};
|
|
1922
1922
|
};
|
|
1923
|
-
const
|
|
1923
|
+
const se_EntityFilter = (input, context) => {
|
|
1924
1924
|
return {
|
|
1925
1925
|
...(input.name != null && { name: input.name }),
|
|
1926
|
-
...(input.value != null && { value:
|
|
1926
|
+
...(input.value != null && { value: se_EntityFilterValues(input.value, context) }),
|
|
1927
1927
|
};
|
|
1928
1928
|
};
|
|
1929
|
-
const
|
|
1929
|
+
const se_EntityFilters = (input, context) => {
|
|
1930
1930
|
return input
|
|
1931
1931
|
.filter((e) => e != null)
|
|
1932
1932
|
.map((entry) => {
|
|
1933
|
-
return
|
|
1933
|
+
return se_EntityFilter(entry, context);
|
|
1934
1934
|
});
|
|
1935
1935
|
};
|
|
1936
|
-
const
|
|
1936
|
+
const se_EntityFilterValues = (input, context) => {
|
|
1937
1937
|
return input
|
|
1938
1938
|
.filter((e) => e != null)
|
|
1939
1939
|
.map((entry) => {
|
|
1940
1940
|
return entry;
|
|
1941
1941
|
});
|
|
1942
1942
|
};
|
|
1943
|
-
const
|
|
1943
|
+
const se_EntityTypes = (input, context) => {
|
|
1944
1944
|
return input
|
|
1945
1945
|
.filter((e) => e != null)
|
|
1946
1946
|
.map((entry) => {
|
|
1947
1947
|
return entry;
|
|
1948
1948
|
});
|
|
1949
1949
|
};
|
|
1950
|
-
const
|
|
1950
|
+
const se_FlowTemplateFilter = (input, context) => {
|
|
1951
1951
|
return {
|
|
1952
1952
|
...(input.name != null && { name: input.name }),
|
|
1953
|
-
...(input.value != null && { value:
|
|
1953
|
+
...(input.value != null && { value: se_FlowTemplateFilterValues(input.value, context) }),
|
|
1954
1954
|
};
|
|
1955
1955
|
};
|
|
1956
|
-
const
|
|
1956
|
+
const se_FlowTemplateFilters = (input, context) => {
|
|
1957
1957
|
return input
|
|
1958
1958
|
.filter((e) => e != null)
|
|
1959
1959
|
.map((entry) => {
|
|
1960
|
-
return
|
|
1960
|
+
return se_FlowTemplateFilter(entry, context);
|
|
1961
1961
|
});
|
|
1962
1962
|
};
|
|
1963
|
-
const
|
|
1963
|
+
const se_FlowTemplateFilterValues = (input, context) => {
|
|
1964
1964
|
return input
|
|
1965
1965
|
.filter((e) => e != null)
|
|
1966
1966
|
.map((entry) => {
|
|
1967
1967
|
return entry;
|
|
1968
1968
|
});
|
|
1969
1969
|
};
|
|
1970
|
-
const
|
|
1970
|
+
const se_GetEntitiesRequest = (input, context) => {
|
|
1971
1971
|
return {
|
|
1972
|
-
...(input.ids != null && { ids:
|
|
1972
|
+
...(input.ids != null && { ids: se_Urns(input.ids, context) }),
|
|
1973
1973
|
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
1974
1974
|
};
|
|
1975
1975
|
};
|
|
1976
|
-
const
|
|
1976
|
+
const se_GetFlowTemplateRequest = (input, context) => {
|
|
1977
1977
|
return {
|
|
1978
1978
|
...(input.id != null && { id: input.id }),
|
|
1979
1979
|
...(input.revisionNumber != null && { revisionNumber: input.revisionNumber }),
|
|
1980
1980
|
};
|
|
1981
1981
|
};
|
|
1982
|
-
const
|
|
1982
|
+
const se_GetFlowTemplateRevisionsRequest = (input, context) => {
|
|
1983
1983
|
return {
|
|
1984
1984
|
...(input.id != null && { id: input.id }),
|
|
1985
1985
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
1986
1986
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
1987
1987
|
};
|
|
1988
1988
|
};
|
|
1989
|
-
const
|
|
1989
|
+
const se_GetNamespaceDeletionStatusRequest = (input, context) => {
|
|
1990
1990
|
return {};
|
|
1991
1991
|
};
|
|
1992
|
-
const
|
|
1992
|
+
const se_GetSystemInstanceRequest = (input, context) => {
|
|
1993
1993
|
return {
|
|
1994
1994
|
...(input.id != null && { id: input.id }),
|
|
1995
1995
|
};
|
|
1996
1996
|
};
|
|
1997
|
-
const
|
|
1997
|
+
const se_GetSystemTemplateRequest = (input, context) => {
|
|
1998
1998
|
return {
|
|
1999
1999
|
...(input.id != null && { id: input.id }),
|
|
2000
2000
|
...(input.revisionNumber != null && { revisionNumber: input.revisionNumber }),
|
|
2001
2001
|
};
|
|
2002
2002
|
};
|
|
2003
|
-
const
|
|
2003
|
+
const se_GetSystemTemplateRevisionsRequest = (input, context) => {
|
|
2004
2004
|
return {
|
|
2005
2005
|
...(input.id != null && { id: input.id }),
|
|
2006
2006
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2007
2007
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2008
2008
|
};
|
|
2009
2009
|
};
|
|
2010
|
-
const
|
|
2010
|
+
const se_GetUploadStatusRequest = (input, context) => {
|
|
2011
2011
|
return {
|
|
2012
2012
|
...(input.uploadId != null && { uploadId: input.uploadId }),
|
|
2013
2013
|
};
|
|
2014
2014
|
};
|
|
2015
|
-
const
|
|
2015
|
+
const se_ListFlowExecutionMessagesRequest = (input, context) => {
|
|
2016
2016
|
return {
|
|
2017
2017
|
...(input.flowExecutionId != null && { flowExecutionId: input.flowExecutionId }),
|
|
2018
2018
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2019
2019
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2020
2020
|
};
|
|
2021
2021
|
};
|
|
2022
|
-
const
|
|
2022
|
+
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2023
2023
|
return {
|
|
2024
2024
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2025
2025
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2026
2026
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2027
2027
|
};
|
|
2028
2028
|
};
|
|
2029
|
-
const
|
|
2029
|
+
const se_MetricsConfiguration = (input, context) => {
|
|
2030
2030
|
return {
|
|
2031
2031
|
...(input.cloudMetricEnabled != null && { cloudMetricEnabled: input.cloudMetricEnabled }),
|
|
2032
2032
|
...(input.metricRuleRoleArn != null && { metricRuleRoleArn: input.metricRuleRoleArn }),
|
|
2033
2033
|
};
|
|
2034
2034
|
};
|
|
2035
|
-
const
|
|
2035
|
+
const se_SearchEntitiesRequest = (input, context) => {
|
|
2036
2036
|
return {
|
|
2037
|
-
...(input.entityTypes != null && { entityTypes:
|
|
2038
|
-
...(input.filters != null && { filters:
|
|
2037
|
+
...(input.entityTypes != null && { entityTypes: se_EntityTypes(input.entityTypes, context) }),
|
|
2038
|
+
...(input.filters != null && { filters: se_EntityFilters(input.filters, context) }),
|
|
2039
2039
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2040
2040
|
...(input.namespaceVersion != null && { namespaceVersion: input.namespaceVersion }),
|
|
2041
2041
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2042
2042
|
};
|
|
2043
2043
|
};
|
|
2044
|
-
const
|
|
2044
|
+
const se_SearchFlowExecutionsRequest = (input, context) => {
|
|
2045
2045
|
return {
|
|
2046
2046
|
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
|
|
2047
2047
|
...(input.flowExecutionId != null && { flowExecutionId: input.flowExecutionId }),
|
|
@@ -2051,28 +2051,28 @@ const serializeAws_json1_1SearchFlowExecutionsRequest = (input, context) => {
|
|
|
2051
2051
|
...(input.systemInstanceId != null && { systemInstanceId: input.systemInstanceId }),
|
|
2052
2052
|
};
|
|
2053
2053
|
};
|
|
2054
|
-
const
|
|
2054
|
+
const se_SearchFlowTemplatesRequest = (input, context) => {
|
|
2055
2055
|
return {
|
|
2056
|
-
...(input.filters != null && { filters:
|
|
2056
|
+
...(input.filters != null && { filters: se_FlowTemplateFilters(input.filters, context) }),
|
|
2057
2057
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2058
2058
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2059
2059
|
};
|
|
2060
2060
|
};
|
|
2061
|
-
const
|
|
2061
|
+
const se_SearchSystemInstancesRequest = (input, context) => {
|
|
2062
2062
|
return {
|
|
2063
|
-
...(input.filters != null && { filters:
|
|
2063
|
+
...(input.filters != null && { filters: se_SystemInstanceFilters(input.filters, context) }),
|
|
2064
2064
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2065
2065
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2066
2066
|
};
|
|
2067
2067
|
};
|
|
2068
|
-
const
|
|
2068
|
+
const se_SearchSystemTemplatesRequest = (input, context) => {
|
|
2069
2069
|
return {
|
|
2070
|
-
...(input.filters != null && { filters:
|
|
2070
|
+
...(input.filters != null && { filters: se_SystemTemplateFilters(input.filters, context) }),
|
|
2071
2071
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
2072
2072
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2073
2073
|
};
|
|
2074
2074
|
};
|
|
2075
|
-
const
|
|
2075
|
+
const se_SearchThingsRequest = (input, context) => {
|
|
2076
2076
|
return {
|
|
2077
2077
|
...(input.entityId != null && { entityId: input.entityId }),
|
|
2078
2078
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
@@ -2080,180 +2080,180 @@ const serializeAws_json1_1SearchThingsRequest = (input, context) => {
|
|
|
2080
2080
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
2081
2081
|
};
|
|
2082
2082
|
};
|
|
2083
|
-
const
|
|
2083
|
+
const se_SystemInstanceFilter = (input, context) => {
|
|
2084
2084
|
return {
|
|
2085
2085
|
...(input.name != null && { name: input.name }),
|
|
2086
|
-
...(input.value != null && { value:
|
|
2086
|
+
...(input.value != null && { value: se_SystemInstanceFilterValues(input.value, context) }),
|
|
2087
2087
|
};
|
|
2088
2088
|
};
|
|
2089
|
-
const
|
|
2089
|
+
const se_SystemInstanceFilters = (input, context) => {
|
|
2090
2090
|
return input
|
|
2091
2091
|
.filter((e) => e != null)
|
|
2092
2092
|
.map((entry) => {
|
|
2093
|
-
return
|
|
2093
|
+
return se_SystemInstanceFilter(entry, context);
|
|
2094
2094
|
});
|
|
2095
2095
|
};
|
|
2096
|
-
const
|
|
2096
|
+
const se_SystemInstanceFilterValues = (input, context) => {
|
|
2097
2097
|
return input
|
|
2098
2098
|
.filter((e) => e != null)
|
|
2099
2099
|
.map((entry) => {
|
|
2100
2100
|
return entry;
|
|
2101
2101
|
});
|
|
2102
2102
|
};
|
|
2103
|
-
const
|
|
2103
|
+
const se_SystemTemplateFilter = (input, context) => {
|
|
2104
2104
|
return {
|
|
2105
2105
|
...(input.name != null && { name: input.name }),
|
|
2106
|
-
...(input.value != null && { value:
|
|
2106
|
+
...(input.value != null && { value: se_SystemTemplateFilterValues(input.value, context) }),
|
|
2107
2107
|
};
|
|
2108
2108
|
};
|
|
2109
|
-
const
|
|
2109
|
+
const se_SystemTemplateFilters = (input, context) => {
|
|
2110
2110
|
return input
|
|
2111
2111
|
.filter((e) => e != null)
|
|
2112
2112
|
.map((entry) => {
|
|
2113
|
-
return
|
|
2113
|
+
return se_SystemTemplateFilter(entry, context);
|
|
2114
2114
|
});
|
|
2115
2115
|
};
|
|
2116
|
-
const
|
|
2116
|
+
const se_SystemTemplateFilterValues = (input, context) => {
|
|
2117
2117
|
return input
|
|
2118
2118
|
.filter((e) => e != null)
|
|
2119
2119
|
.map((entry) => {
|
|
2120
2120
|
return entry;
|
|
2121
2121
|
});
|
|
2122
2122
|
};
|
|
2123
|
-
const
|
|
2123
|
+
const se_Tag = (input, context) => {
|
|
2124
2124
|
return {
|
|
2125
2125
|
...(input.key != null && { key: input.key }),
|
|
2126
2126
|
...(input.value != null && { value: input.value }),
|
|
2127
2127
|
};
|
|
2128
2128
|
};
|
|
2129
|
-
const
|
|
2129
|
+
const se_TagKeyList = (input, context) => {
|
|
2130
2130
|
return input
|
|
2131
2131
|
.filter((e) => e != null)
|
|
2132
2132
|
.map((entry) => {
|
|
2133
2133
|
return entry;
|
|
2134
2134
|
});
|
|
2135
2135
|
};
|
|
2136
|
-
const
|
|
2136
|
+
const se_TagList = (input, context) => {
|
|
2137
2137
|
return input
|
|
2138
2138
|
.filter((e) => e != null)
|
|
2139
2139
|
.map((entry) => {
|
|
2140
|
-
return
|
|
2140
|
+
return se_Tag(entry, context);
|
|
2141
2141
|
});
|
|
2142
2142
|
};
|
|
2143
|
-
const
|
|
2143
|
+
const se_TagResourceRequest = (input, context) => {
|
|
2144
2144
|
return {
|
|
2145
2145
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2146
|
-
...(input.tags != null && { tags:
|
|
2146
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2147
2147
|
};
|
|
2148
2148
|
};
|
|
2149
|
-
const
|
|
2149
|
+
const se_UndeploySystemInstanceRequest = (input, context) => {
|
|
2150
2150
|
return {
|
|
2151
2151
|
...(input.id != null && { id: input.id }),
|
|
2152
2152
|
};
|
|
2153
2153
|
};
|
|
2154
|
-
const
|
|
2154
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
2155
2155
|
return {
|
|
2156
2156
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2157
|
-
...(input.tagKeys != null && { tagKeys:
|
|
2157
|
+
...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
|
|
2158
2158
|
};
|
|
2159
2159
|
};
|
|
2160
|
-
const
|
|
2160
|
+
const se_UpdateFlowTemplateRequest = (input, context) => {
|
|
2161
2161
|
return {
|
|
2162
2162
|
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
2163
|
-
...(input.definition != null && { definition:
|
|
2163
|
+
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
2164
2164
|
...(input.id != null && { id: input.id }),
|
|
2165
2165
|
};
|
|
2166
2166
|
};
|
|
2167
|
-
const
|
|
2167
|
+
const se_UpdateSystemTemplateRequest = (input, context) => {
|
|
2168
2168
|
return {
|
|
2169
2169
|
...(input.compatibleNamespaceVersion != null && { compatibleNamespaceVersion: input.compatibleNamespaceVersion }),
|
|
2170
|
-
...(input.definition != null && { definition:
|
|
2170
|
+
...(input.definition != null && { definition: se_DefinitionDocument(input.definition, context) }),
|
|
2171
2171
|
...(input.id != null && { id: input.id }),
|
|
2172
2172
|
};
|
|
2173
2173
|
};
|
|
2174
|
-
const
|
|
2174
|
+
const se_UploadEntityDefinitionsRequest = (input, context) => {
|
|
2175
2175
|
return {
|
|
2176
2176
|
...(input.deprecateExistingEntities != null && { deprecateExistingEntities: input.deprecateExistingEntities }),
|
|
2177
|
-
...(input.document != null && { document:
|
|
2177
|
+
...(input.document != null && { document: se_DefinitionDocument(input.document, context) }),
|
|
2178
2178
|
...(input.syncWithPublicNamespace != null && { syncWithPublicNamespace: input.syncWithPublicNamespace }),
|
|
2179
2179
|
};
|
|
2180
2180
|
};
|
|
2181
|
-
const
|
|
2181
|
+
const se_Urns = (input, context) => {
|
|
2182
2182
|
return input
|
|
2183
2183
|
.filter((e) => e != null)
|
|
2184
2184
|
.map((entry) => {
|
|
2185
2185
|
return entry;
|
|
2186
2186
|
});
|
|
2187
2187
|
};
|
|
2188
|
-
const
|
|
2188
|
+
const de_AssociateEntityToThingResponse = (output, context) => {
|
|
2189
2189
|
return {};
|
|
2190
2190
|
};
|
|
2191
|
-
const
|
|
2191
|
+
const de_CreateFlowTemplateResponse = (output, context) => {
|
|
2192
2192
|
return {
|
|
2193
|
-
summary: output.summary != null ?
|
|
2193
|
+
summary: output.summary != null ? de_FlowTemplateSummary(output.summary, context) : undefined,
|
|
2194
2194
|
};
|
|
2195
2195
|
};
|
|
2196
|
-
const
|
|
2196
|
+
const de_CreateSystemInstanceResponse = (output, context) => {
|
|
2197
2197
|
return {
|
|
2198
|
-
summary: output.summary != null ?
|
|
2198
|
+
summary: output.summary != null ? de_SystemInstanceSummary(output.summary, context) : undefined,
|
|
2199
2199
|
};
|
|
2200
2200
|
};
|
|
2201
|
-
const
|
|
2201
|
+
const de_CreateSystemTemplateResponse = (output, context) => {
|
|
2202
2202
|
return {
|
|
2203
|
-
summary: output.summary != null ?
|
|
2203
|
+
summary: output.summary != null ? de_SystemTemplateSummary(output.summary, context) : undefined,
|
|
2204
2204
|
};
|
|
2205
2205
|
};
|
|
2206
|
-
const
|
|
2206
|
+
const de_DefinitionDocument = (output, context) => {
|
|
2207
2207
|
return {
|
|
2208
2208
|
language: __expectString(output.language),
|
|
2209
2209
|
text: __expectString(output.text),
|
|
2210
2210
|
};
|
|
2211
2211
|
};
|
|
2212
|
-
const
|
|
2212
|
+
const de_DeleteFlowTemplateResponse = (output, context) => {
|
|
2213
2213
|
return {};
|
|
2214
2214
|
};
|
|
2215
|
-
const
|
|
2215
|
+
const de_DeleteNamespaceResponse = (output, context) => {
|
|
2216
2216
|
return {
|
|
2217
2217
|
namespaceArn: __expectString(output.namespaceArn),
|
|
2218
2218
|
namespaceName: __expectString(output.namespaceName),
|
|
2219
2219
|
};
|
|
2220
2220
|
};
|
|
2221
|
-
const
|
|
2221
|
+
const de_DeleteSystemInstanceResponse = (output, context) => {
|
|
2222
2222
|
return {};
|
|
2223
2223
|
};
|
|
2224
|
-
const
|
|
2224
|
+
const de_DeleteSystemTemplateResponse = (output, context) => {
|
|
2225
2225
|
return {};
|
|
2226
2226
|
};
|
|
2227
|
-
const
|
|
2227
|
+
const de_DependencyRevision = (output, context) => {
|
|
2228
2228
|
return {
|
|
2229
2229
|
id: __expectString(output.id),
|
|
2230
2230
|
revisionNumber: __expectLong(output.revisionNumber),
|
|
2231
2231
|
};
|
|
2232
2232
|
};
|
|
2233
|
-
const
|
|
2233
|
+
const de_DependencyRevisions = (output, context) => {
|
|
2234
2234
|
const retVal = (output || [])
|
|
2235
2235
|
.filter((e) => e != null)
|
|
2236
2236
|
.map((entry) => {
|
|
2237
2237
|
if (entry === null) {
|
|
2238
2238
|
return null;
|
|
2239
2239
|
}
|
|
2240
|
-
return
|
|
2240
|
+
return de_DependencyRevision(entry, context);
|
|
2241
2241
|
});
|
|
2242
2242
|
return retVal;
|
|
2243
2243
|
};
|
|
2244
|
-
const
|
|
2244
|
+
const de_DeploySystemInstanceResponse = (output, context) => {
|
|
2245
2245
|
return {
|
|
2246
2246
|
greengrassDeploymentId: __expectString(output.greengrassDeploymentId),
|
|
2247
|
-
summary: output.summary != null ?
|
|
2247
|
+
summary: output.summary != null ? de_SystemInstanceSummary(output.summary, context) : undefined,
|
|
2248
2248
|
};
|
|
2249
2249
|
};
|
|
2250
|
-
const
|
|
2250
|
+
const de_DeprecateFlowTemplateResponse = (output, context) => {
|
|
2251
2251
|
return {};
|
|
2252
2252
|
};
|
|
2253
|
-
const
|
|
2253
|
+
const de_DeprecateSystemTemplateResponse = (output, context) => {
|
|
2254
2254
|
return {};
|
|
2255
2255
|
};
|
|
2256
|
-
const
|
|
2256
|
+
const de_DescribeNamespaceResponse = (output, context) => {
|
|
2257
2257
|
return {
|
|
2258
2258
|
namespaceArn: __expectString(output.namespaceArn),
|
|
2259
2259
|
namespaceName: __expectString(output.namespaceName),
|
|
@@ -2262,30 +2262,30 @@ const deserializeAws_json1_1DescribeNamespaceResponse = (output, context) => {
|
|
|
2262
2262
|
trackingNamespaceVersion: __expectLong(output.trackingNamespaceVersion),
|
|
2263
2263
|
};
|
|
2264
2264
|
};
|
|
2265
|
-
const
|
|
2265
|
+
const de_DissociateEntityFromThingResponse = (output, context) => {
|
|
2266
2266
|
return {};
|
|
2267
2267
|
};
|
|
2268
|
-
const
|
|
2268
|
+
const de_EntityDescription = (output, context) => {
|
|
2269
2269
|
return {
|
|
2270
2270
|
arn: __expectString(output.arn),
|
|
2271
2271
|
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
2272
|
-
definition: output.definition != null ?
|
|
2272
|
+
definition: output.definition != null ? de_DefinitionDocument(output.definition, context) : undefined,
|
|
2273
2273
|
id: __expectString(output.id),
|
|
2274
2274
|
type: __expectString(output.type),
|
|
2275
2275
|
};
|
|
2276
2276
|
};
|
|
2277
|
-
const
|
|
2277
|
+
const de_EntityDescriptions = (output, context) => {
|
|
2278
2278
|
const retVal = (output || [])
|
|
2279
2279
|
.filter((e) => e != null)
|
|
2280
2280
|
.map((entry) => {
|
|
2281
2281
|
if (entry === null) {
|
|
2282
2282
|
return null;
|
|
2283
2283
|
}
|
|
2284
|
-
return
|
|
2284
|
+
return de_EntityDescription(entry, context);
|
|
2285
2285
|
});
|
|
2286
2286
|
return retVal;
|
|
2287
2287
|
};
|
|
2288
|
-
const
|
|
2288
|
+
const de_FlowExecutionMessage = (output, context) => {
|
|
2289
2289
|
return {
|
|
2290
2290
|
eventType: __expectString(output.eventType),
|
|
2291
2291
|
messageId: __expectString(output.messageId),
|
|
@@ -2293,29 +2293,29 @@ const deserializeAws_json1_1FlowExecutionMessage = (output, context) => {
|
|
|
2293
2293
|
timestamp: output.timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp))) : undefined,
|
|
2294
2294
|
};
|
|
2295
2295
|
};
|
|
2296
|
-
const
|
|
2296
|
+
const de_FlowExecutionMessages = (output, context) => {
|
|
2297
2297
|
const retVal = (output || [])
|
|
2298
2298
|
.filter((e) => e != null)
|
|
2299
2299
|
.map((entry) => {
|
|
2300
2300
|
if (entry === null) {
|
|
2301
2301
|
return null;
|
|
2302
2302
|
}
|
|
2303
|
-
return
|
|
2303
|
+
return de_FlowExecutionMessage(entry, context);
|
|
2304
2304
|
});
|
|
2305
2305
|
return retVal;
|
|
2306
2306
|
};
|
|
2307
|
-
const
|
|
2307
|
+
const de_FlowExecutionSummaries = (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
|
|
2314
|
+
return de_FlowExecutionSummary(entry, context);
|
|
2315
2315
|
});
|
|
2316
2316
|
return retVal;
|
|
2317
2317
|
};
|
|
2318
|
-
const
|
|
2318
|
+
const de_FlowExecutionSummary = (output, context) => {
|
|
2319
2319
|
return {
|
|
2320
2320
|
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
2321
2321
|
flowExecutionId: __expectString(output.flowExecutionId),
|
|
@@ -2325,25 +2325,25 @@ const deserializeAws_json1_1FlowExecutionSummary = (output, context) => {
|
|
|
2325
2325
|
updatedAt: output.updatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updatedAt))) : undefined,
|
|
2326
2326
|
};
|
|
2327
2327
|
};
|
|
2328
|
-
const
|
|
2328
|
+
const de_FlowTemplateDescription = (output, context) => {
|
|
2329
2329
|
return {
|
|
2330
|
-
definition: output.definition != null ?
|
|
2331
|
-
summary: output.summary != null ?
|
|
2330
|
+
definition: output.definition != null ? de_DefinitionDocument(output.definition, context) : undefined,
|
|
2331
|
+
summary: output.summary != null ? de_FlowTemplateSummary(output.summary, context) : undefined,
|
|
2332
2332
|
validatedNamespaceVersion: __expectLong(output.validatedNamespaceVersion),
|
|
2333
2333
|
};
|
|
2334
2334
|
};
|
|
2335
|
-
const
|
|
2335
|
+
const de_FlowTemplateSummaries = (output, context) => {
|
|
2336
2336
|
const retVal = (output || [])
|
|
2337
2337
|
.filter((e) => e != null)
|
|
2338
2338
|
.map((entry) => {
|
|
2339
2339
|
if (entry === null) {
|
|
2340
2340
|
return null;
|
|
2341
2341
|
}
|
|
2342
|
-
return
|
|
2342
|
+
return de_FlowTemplateSummary(entry, context);
|
|
2343
2343
|
});
|
|
2344
2344
|
return retVal;
|
|
2345
2345
|
};
|
|
2346
|
-
const
|
|
2346
|
+
const de_FlowTemplateSummary = (output, context) => {
|
|
2347
2347
|
return {
|
|
2348
2348
|
arn: __expectString(output.arn),
|
|
2349
2349
|
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
@@ -2351,25 +2351,23 @@ const deserializeAws_json1_1FlowTemplateSummary = (output, context) => {
|
|
|
2351
2351
|
revisionNumber: __expectLong(output.revisionNumber),
|
|
2352
2352
|
};
|
|
2353
2353
|
};
|
|
2354
|
-
const
|
|
2354
|
+
const de_GetEntitiesResponse = (output, context) => {
|
|
2355
2355
|
return {
|
|
2356
|
-
descriptions: output.descriptions != null ?
|
|
2356
|
+
descriptions: output.descriptions != null ? de_EntityDescriptions(output.descriptions, context) : undefined,
|
|
2357
2357
|
};
|
|
2358
2358
|
};
|
|
2359
|
-
const
|
|
2359
|
+
const de_GetFlowTemplateResponse = (output, context) => {
|
|
2360
2360
|
return {
|
|
2361
|
-
description: output.description != null
|
|
2362
|
-
? deserializeAws_json1_1FlowTemplateDescription(output.description, context)
|
|
2363
|
-
: undefined,
|
|
2361
|
+
description: output.description != null ? de_FlowTemplateDescription(output.description, context) : undefined,
|
|
2364
2362
|
};
|
|
2365
2363
|
};
|
|
2366
|
-
const
|
|
2364
|
+
const de_GetFlowTemplateRevisionsResponse = (output, context) => {
|
|
2367
2365
|
return {
|
|
2368
2366
|
nextToken: __expectString(output.nextToken),
|
|
2369
|
-
summaries: output.summaries != null ?
|
|
2367
|
+
summaries: output.summaries != null ? de_FlowTemplateSummaries(output.summaries, context) : undefined,
|
|
2370
2368
|
};
|
|
2371
2369
|
};
|
|
2372
|
-
const
|
|
2370
|
+
const de_GetNamespaceDeletionStatusResponse = (output, context) => {
|
|
2373
2371
|
return {
|
|
2374
2372
|
errorCode: __expectString(output.errorCode),
|
|
2375
2373
|
errorMessage: __expectString(output.errorMessage),
|
|
@@ -2378,32 +2376,28 @@ const deserializeAws_json1_1GetNamespaceDeletionStatusResponse = (output, contex
|
|
|
2378
2376
|
status: __expectString(output.status),
|
|
2379
2377
|
};
|
|
2380
2378
|
};
|
|
2381
|
-
const
|
|
2379
|
+
const de_GetSystemInstanceResponse = (output, context) => {
|
|
2382
2380
|
return {
|
|
2383
|
-
description: output.description != null
|
|
2384
|
-
? deserializeAws_json1_1SystemInstanceDescription(output.description, context)
|
|
2385
|
-
: undefined,
|
|
2381
|
+
description: output.description != null ? de_SystemInstanceDescription(output.description, context) : undefined,
|
|
2386
2382
|
};
|
|
2387
2383
|
};
|
|
2388
|
-
const
|
|
2384
|
+
const de_GetSystemTemplateResponse = (output, context) => {
|
|
2389
2385
|
return {
|
|
2390
|
-
description: output.description != null
|
|
2391
|
-
? deserializeAws_json1_1SystemTemplateDescription(output.description, context)
|
|
2392
|
-
: undefined,
|
|
2386
|
+
description: output.description != null ? de_SystemTemplateDescription(output.description, context) : undefined,
|
|
2393
2387
|
};
|
|
2394
2388
|
};
|
|
2395
|
-
const
|
|
2389
|
+
const de_GetSystemTemplateRevisionsResponse = (output, context) => {
|
|
2396
2390
|
return {
|
|
2397
2391
|
nextToken: __expectString(output.nextToken),
|
|
2398
|
-
summaries: output.summaries != null ?
|
|
2392
|
+
summaries: output.summaries != null ? de_SystemTemplateSummaries(output.summaries, context) : undefined,
|
|
2399
2393
|
};
|
|
2400
2394
|
};
|
|
2401
|
-
const
|
|
2395
|
+
const de_GetUploadStatusResponse = (output, context) => {
|
|
2402
2396
|
return {
|
|
2403
2397
|
createdDate: output.createdDate != null
|
|
2404
2398
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdDate)))
|
|
2405
2399
|
: undefined,
|
|
2406
|
-
failureReason: output.failureReason != null ?
|
|
2400
|
+
failureReason: output.failureReason != null ? de_StringList(output.failureReason, context) : undefined,
|
|
2407
2401
|
namespaceArn: __expectString(output.namespaceArn),
|
|
2408
2402
|
namespaceName: __expectString(output.namespaceName),
|
|
2409
2403
|
namespaceVersion: __expectLong(output.namespaceVersion),
|
|
@@ -2411,91 +2405,91 @@ const deserializeAws_json1_1GetUploadStatusResponse = (output, context) => {
|
|
|
2411
2405
|
uploadStatus: __expectString(output.uploadStatus),
|
|
2412
2406
|
};
|
|
2413
2407
|
};
|
|
2414
|
-
const
|
|
2408
|
+
const de_InternalFailureException = (output, context) => {
|
|
2415
2409
|
return {
|
|
2416
2410
|
message: __expectString(output.message),
|
|
2417
2411
|
};
|
|
2418
2412
|
};
|
|
2419
|
-
const
|
|
2413
|
+
const de_InvalidRequestException = (output, context) => {
|
|
2420
2414
|
return {
|
|
2421
2415
|
message: __expectString(output.message),
|
|
2422
2416
|
};
|
|
2423
2417
|
};
|
|
2424
|
-
const
|
|
2418
|
+
const de_LimitExceededException = (output, context) => {
|
|
2425
2419
|
return {
|
|
2426
2420
|
message: __expectString(output.message),
|
|
2427
2421
|
};
|
|
2428
2422
|
};
|
|
2429
|
-
const
|
|
2423
|
+
const de_ListFlowExecutionMessagesResponse = (output, context) => {
|
|
2430
2424
|
return {
|
|
2431
|
-
messages: output.messages != null ?
|
|
2425
|
+
messages: output.messages != null ? de_FlowExecutionMessages(output.messages, context) : undefined,
|
|
2432
2426
|
nextToken: __expectString(output.nextToken),
|
|
2433
2427
|
};
|
|
2434
2428
|
};
|
|
2435
|
-
const
|
|
2429
|
+
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2436
2430
|
return {
|
|
2437
2431
|
nextToken: __expectString(output.nextToken),
|
|
2438
|
-
tags: output.tags != null ?
|
|
2432
|
+
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
2439
2433
|
};
|
|
2440
2434
|
};
|
|
2441
|
-
const
|
|
2435
|
+
const de_MetricsConfiguration = (output, context) => {
|
|
2442
2436
|
return {
|
|
2443
2437
|
cloudMetricEnabled: __expectBoolean(output.cloudMetricEnabled),
|
|
2444
2438
|
metricRuleRoleArn: __expectString(output.metricRuleRoleArn),
|
|
2445
2439
|
};
|
|
2446
2440
|
};
|
|
2447
|
-
const
|
|
2441
|
+
const de_ResourceAlreadyExistsException = (output, context) => {
|
|
2448
2442
|
return {
|
|
2449
2443
|
message: __expectString(output.message),
|
|
2450
2444
|
};
|
|
2451
2445
|
};
|
|
2452
|
-
const
|
|
2446
|
+
const de_ResourceInUseException = (output, context) => {
|
|
2453
2447
|
return {
|
|
2454
2448
|
message: __expectString(output.message),
|
|
2455
2449
|
};
|
|
2456
2450
|
};
|
|
2457
|
-
const
|
|
2451
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
2458
2452
|
return {
|
|
2459
2453
|
message: __expectString(output.message),
|
|
2460
2454
|
};
|
|
2461
2455
|
};
|
|
2462
|
-
const
|
|
2456
|
+
const de_SearchEntitiesResponse = (output, context) => {
|
|
2463
2457
|
return {
|
|
2464
|
-
descriptions: output.descriptions != null ?
|
|
2458
|
+
descriptions: output.descriptions != null ? de_EntityDescriptions(output.descriptions, context) : undefined,
|
|
2465
2459
|
nextToken: __expectString(output.nextToken),
|
|
2466
2460
|
};
|
|
2467
2461
|
};
|
|
2468
|
-
const
|
|
2462
|
+
const de_SearchFlowExecutionsResponse = (output, context) => {
|
|
2469
2463
|
return {
|
|
2470
2464
|
nextToken: __expectString(output.nextToken),
|
|
2471
|
-
summaries: output.summaries != null ?
|
|
2465
|
+
summaries: output.summaries != null ? de_FlowExecutionSummaries(output.summaries, context) : undefined,
|
|
2472
2466
|
};
|
|
2473
2467
|
};
|
|
2474
|
-
const
|
|
2468
|
+
const de_SearchFlowTemplatesResponse = (output, context) => {
|
|
2475
2469
|
return {
|
|
2476
2470
|
nextToken: __expectString(output.nextToken),
|
|
2477
|
-
summaries: output.summaries != null ?
|
|
2471
|
+
summaries: output.summaries != null ? de_FlowTemplateSummaries(output.summaries, context) : undefined,
|
|
2478
2472
|
};
|
|
2479
2473
|
};
|
|
2480
|
-
const
|
|
2474
|
+
const de_SearchSystemInstancesResponse = (output, context) => {
|
|
2481
2475
|
return {
|
|
2482
2476
|
nextToken: __expectString(output.nextToken),
|
|
2483
|
-
summaries: output.summaries != null ?
|
|
2477
|
+
summaries: output.summaries != null ? de_SystemInstanceSummaries(output.summaries, context) : undefined,
|
|
2484
2478
|
};
|
|
2485
2479
|
};
|
|
2486
|
-
const
|
|
2480
|
+
const de_SearchSystemTemplatesResponse = (output, context) => {
|
|
2487
2481
|
return {
|
|
2488
2482
|
nextToken: __expectString(output.nextToken),
|
|
2489
|
-
summaries: output.summaries != null ?
|
|
2483
|
+
summaries: output.summaries != null ? de_SystemTemplateSummaries(output.summaries, context) : undefined,
|
|
2490
2484
|
};
|
|
2491
2485
|
};
|
|
2492
|
-
const
|
|
2486
|
+
const de_SearchThingsResponse = (output, context) => {
|
|
2493
2487
|
return {
|
|
2494
2488
|
nextToken: __expectString(output.nextToken),
|
|
2495
|
-
things: output.things != null ?
|
|
2489
|
+
things: output.things != null ? de_Things(output.things, context) : undefined,
|
|
2496
2490
|
};
|
|
2497
2491
|
};
|
|
2498
|
-
const
|
|
2492
|
+
const de_StringList = (output, context) => {
|
|
2499
2493
|
const retVal = (output || [])
|
|
2500
2494
|
.filter((e) => e != null)
|
|
2501
2495
|
.map((entry) => {
|
|
@@ -2506,33 +2500,31 @@ const deserializeAws_json1_1StringList = (output, context) => {
|
|
|
2506
2500
|
});
|
|
2507
2501
|
return retVal;
|
|
2508
2502
|
};
|
|
2509
|
-
const
|
|
2503
|
+
const de_SystemInstanceDescription = (output, context) => {
|
|
2510
2504
|
return {
|
|
2511
|
-
definition: output.definition != null ?
|
|
2505
|
+
definition: output.definition != null ? de_DefinitionDocument(output.definition, context) : undefined,
|
|
2512
2506
|
flowActionsRoleArn: __expectString(output.flowActionsRoleArn),
|
|
2513
|
-
metricsConfiguration: output.metricsConfiguration != null
|
|
2514
|
-
? deserializeAws_json1_1MetricsConfiguration(output.metricsConfiguration, context)
|
|
2515
|
-
: undefined,
|
|
2507
|
+
metricsConfiguration: output.metricsConfiguration != null ? de_MetricsConfiguration(output.metricsConfiguration, context) : undefined,
|
|
2516
2508
|
s3BucketName: __expectString(output.s3BucketName),
|
|
2517
|
-
summary: output.summary != null ?
|
|
2509
|
+
summary: output.summary != null ? de_SystemInstanceSummary(output.summary, context) : undefined,
|
|
2518
2510
|
validatedDependencyRevisions: output.validatedDependencyRevisions != null
|
|
2519
|
-
?
|
|
2511
|
+
? de_DependencyRevisions(output.validatedDependencyRevisions, context)
|
|
2520
2512
|
: undefined,
|
|
2521
2513
|
validatedNamespaceVersion: __expectLong(output.validatedNamespaceVersion),
|
|
2522
2514
|
};
|
|
2523
2515
|
};
|
|
2524
|
-
const
|
|
2516
|
+
const de_SystemInstanceSummaries = (output, context) => {
|
|
2525
2517
|
const retVal = (output || [])
|
|
2526
2518
|
.filter((e) => e != null)
|
|
2527
2519
|
.map((entry) => {
|
|
2528
2520
|
if (entry === null) {
|
|
2529
2521
|
return null;
|
|
2530
2522
|
}
|
|
2531
|
-
return
|
|
2523
|
+
return de_SystemInstanceSummary(entry, context);
|
|
2532
2524
|
});
|
|
2533
2525
|
return retVal;
|
|
2534
2526
|
};
|
|
2535
|
-
const
|
|
2527
|
+
const de_SystemInstanceSummary = (output, context) => {
|
|
2536
2528
|
return {
|
|
2537
2529
|
arn: __expectString(output.arn),
|
|
2538
2530
|
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
@@ -2545,25 +2537,25 @@ const deserializeAws_json1_1SystemInstanceSummary = (output, context) => {
|
|
|
2545
2537
|
updatedAt: output.updatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updatedAt))) : undefined,
|
|
2546
2538
|
};
|
|
2547
2539
|
};
|
|
2548
|
-
const
|
|
2540
|
+
const de_SystemTemplateDescription = (output, context) => {
|
|
2549
2541
|
return {
|
|
2550
|
-
definition: output.definition != null ?
|
|
2551
|
-
summary: output.summary != null ?
|
|
2542
|
+
definition: output.definition != null ? de_DefinitionDocument(output.definition, context) : undefined,
|
|
2543
|
+
summary: output.summary != null ? de_SystemTemplateSummary(output.summary, context) : undefined,
|
|
2552
2544
|
validatedNamespaceVersion: __expectLong(output.validatedNamespaceVersion),
|
|
2553
2545
|
};
|
|
2554
2546
|
};
|
|
2555
|
-
const
|
|
2547
|
+
const de_SystemTemplateSummaries = (output, context) => {
|
|
2556
2548
|
const retVal = (output || [])
|
|
2557
2549
|
.filter((e) => e != null)
|
|
2558
2550
|
.map((entry) => {
|
|
2559
2551
|
if (entry === null) {
|
|
2560
2552
|
return null;
|
|
2561
2553
|
}
|
|
2562
|
-
return
|
|
2554
|
+
return de_SystemTemplateSummary(entry, context);
|
|
2563
2555
|
});
|
|
2564
2556
|
return retVal;
|
|
2565
2557
|
};
|
|
2566
|
-
const
|
|
2558
|
+
const de_SystemTemplateSummary = (output, context) => {
|
|
2567
2559
|
return {
|
|
2568
2560
|
arn: __expectString(output.arn),
|
|
2569
2561
|
createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
|
|
@@ -2571,67 +2563,67 @@ const deserializeAws_json1_1SystemTemplateSummary = (output, context) => {
|
|
|
2571
2563
|
revisionNumber: __expectLong(output.revisionNumber),
|
|
2572
2564
|
};
|
|
2573
2565
|
};
|
|
2574
|
-
const
|
|
2566
|
+
const de_Tag = (output, context) => {
|
|
2575
2567
|
return {
|
|
2576
2568
|
key: __expectString(output.key),
|
|
2577
2569
|
value: __expectString(output.value),
|
|
2578
2570
|
};
|
|
2579
2571
|
};
|
|
2580
|
-
const
|
|
2572
|
+
const de_TagList = (output, context) => {
|
|
2581
2573
|
const retVal = (output || [])
|
|
2582
2574
|
.filter((e) => e != null)
|
|
2583
2575
|
.map((entry) => {
|
|
2584
2576
|
if (entry === null) {
|
|
2585
2577
|
return null;
|
|
2586
2578
|
}
|
|
2587
|
-
return
|
|
2579
|
+
return de_Tag(entry, context);
|
|
2588
2580
|
});
|
|
2589
2581
|
return retVal;
|
|
2590
2582
|
};
|
|
2591
|
-
const
|
|
2583
|
+
const de_TagResourceResponse = (output, context) => {
|
|
2592
2584
|
return {};
|
|
2593
2585
|
};
|
|
2594
|
-
const
|
|
2586
|
+
const de_Thing = (output, context) => {
|
|
2595
2587
|
return {
|
|
2596
2588
|
thingArn: __expectString(output.thingArn),
|
|
2597
2589
|
thingName: __expectString(output.thingName),
|
|
2598
2590
|
};
|
|
2599
2591
|
};
|
|
2600
|
-
const
|
|
2592
|
+
const de_Things = (output, context) => {
|
|
2601
2593
|
const retVal = (output || [])
|
|
2602
2594
|
.filter((e) => e != null)
|
|
2603
2595
|
.map((entry) => {
|
|
2604
2596
|
if (entry === null) {
|
|
2605
2597
|
return null;
|
|
2606
2598
|
}
|
|
2607
|
-
return
|
|
2599
|
+
return de_Thing(entry, context);
|
|
2608
2600
|
});
|
|
2609
2601
|
return retVal;
|
|
2610
2602
|
};
|
|
2611
|
-
const
|
|
2603
|
+
const de_ThrottlingException = (output, context) => {
|
|
2612
2604
|
return {
|
|
2613
2605
|
message: __expectString(output.message),
|
|
2614
2606
|
};
|
|
2615
2607
|
};
|
|
2616
|
-
const
|
|
2608
|
+
const de_UndeploySystemInstanceResponse = (output, context) => {
|
|
2617
2609
|
return {
|
|
2618
|
-
summary: output.summary != null ?
|
|
2610
|
+
summary: output.summary != null ? de_SystemInstanceSummary(output.summary, context) : undefined,
|
|
2619
2611
|
};
|
|
2620
2612
|
};
|
|
2621
|
-
const
|
|
2613
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
2622
2614
|
return {};
|
|
2623
2615
|
};
|
|
2624
|
-
const
|
|
2616
|
+
const de_UpdateFlowTemplateResponse = (output, context) => {
|
|
2625
2617
|
return {
|
|
2626
|
-
summary: output.summary != null ?
|
|
2618
|
+
summary: output.summary != null ? de_FlowTemplateSummary(output.summary, context) : undefined,
|
|
2627
2619
|
};
|
|
2628
2620
|
};
|
|
2629
|
-
const
|
|
2621
|
+
const de_UpdateSystemTemplateResponse = (output, context) => {
|
|
2630
2622
|
return {
|
|
2631
|
-
summary: output.summary != null ?
|
|
2623
|
+
summary: output.summary != null ? de_SystemTemplateSummary(output.summary, context) : undefined,
|
|
2632
2624
|
};
|
|
2633
2625
|
};
|
|
2634
|
-
const
|
|
2626
|
+
const de_UploadEntityDefinitionsResponse = (output, context) => {
|
|
2635
2627
|
return {
|
|
2636
2628
|
uploadId: __expectString(output.uploadId),
|
|
2637
2629
|
};
|