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