@aws-sdk/client-iotthingsgraph 3.489.0 → 3.495.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/IoTThingsGraph.js +1 -81
- package/dist-cjs/IoTThingsGraphClient.js +1 -43
- package/dist-cjs/commands/AssociateEntityToThingCommand.js +1 -28
- package/dist-cjs/commands/CreateFlowTemplateCommand.js +1 -28
- package/dist-cjs/commands/CreateSystemInstanceCommand.js +1 -28
- package/dist-cjs/commands/CreateSystemTemplateCommand.js +1 -28
- package/dist-cjs/commands/DeleteFlowTemplateCommand.js +1 -28
- package/dist-cjs/commands/DeleteNamespaceCommand.js +1 -28
- package/dist-cjs/commands/DeleteSystemInstanceCommand.js +1 -28
- package/dist-cjs/commands/DeleteSystemTemplateCommand.js +1 -28
- package/dist-cjs/commands/DeploySystemInstanceCommand.js +1 -28
- package/dist-cjs/commands/DeprecateFlowTemplateCommand.js +1 -28
- package/dist-cjs/commands/DeprecateSystemTemplateCommand.js +1 -28
- package/dist-cjs/commands/DescribeNamespaceCommand.js +1 -28
- package/dist-cjs/commands/DissociateEntityFromThingCommand.js +1 -28
- package/dist-cjs/commands/GetEntitiesCommand.js +1 -28
- package/dist-cjs/commands/GetFlowTemplateCommand.js +1 -28
- package/dist-cjs/commands/GetFlowTemplateRevisionsCommand.js +1 -28
- package/dist-cjs/commands/GetNamespaceDeletionStatusCommand.js +1 -28
- package/dist-cjs/commands/GetSystemInstanceCommand.js +1 -28
- package/dist-cjs/commands/GetSystemTemplateCommand.js +1 -28
- package/dist-cjs/commands/GetSystemTemplateRevisionsCommand.js +1 -28
- package/dist-cjs/commands/GetUploadStatusCommand.js +1 -28
- package/dist-cjs/commands/ListFlowExecutionMessagesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/SearchEntitiesCommand.js +1 -28
- package/dist-cjs/commands/SearchFlowExecutionsCommand.js +1 -28
- package/dist-cjs/commands/SearchFlowTemplatesCommand.js +1 -28
- package/dist-cjs/commands/SearchSystemInstancesCommand.js +1 -28
- package/dist-cjs/commands/SearchSystemTemplatesCommand.js +1 -28
- package/dist-cjs/commands/SearchThingsCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UndeploySystemInstanceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateFlowTemplateCommand.js +1 -28
- package/dist-cjs/commands/UpdateSystemTemplateCommand.js +1 -28
- package/dist-cjs/commands/UploadEntityDefinitionsCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -38
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3173 -11
- package/dist-cjs/models/IoTThingsGraphServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -179
- package/dist-cjs/pagination/GetFlowTemplateRevisionsPaginator.js +1 -7
- package/dist-cjs/pagination/GetSystemTemplateRevisionsPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListFlowExecutionMessagesPaginator.js +1 -7
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +1 -7
- package/dist-cjs/pagination/SearchEntitiesPaginator.js +1 -7
- package/dist-cjs/pagination/SearchFlowExecutionsPaginator.js +1 -7
- package/dist-cjs/pagination/SearchFlowTemplatesPaginator.js +1 -7
- package/dist-cjs/pagination/SearchSystemInstancesPaginator.js +1 -7
- package/dist-cjs/pagination/SearchSystemTemplatesPaginator.js +1 -7
- package/dist-cjs/pagination/SearchThingsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -14
- package/dist-cjs/protocols/Aws_json1_1.js +1 -2100
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3174 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AssociateEntityToThingCommand: () => AssociateEntityToThingCommand,
|
|
25
|
+
CreateFlowTemplateCommand: () => CreateFlowTemplateCommand,
|
|
26
|
+
CreateSystemInstanceCommand: () => CreateSystemInstanceCommand,
|
|
27
|
+
CreateSystemTemplateCommand: () => CreateSystemTemplateCommand,
|
|
28
|
+
DefinitionLanguage: () => DefinitionLanguage,
|
|
29
|
+
DeleteFlowTemplateCommand: () => DeleteFlowTemplateCommand,
|
|
30
|
+
DeleteNamespaceCommand: () => DeleteNamespaceCommand,
|
|
31
|
+
DeleteSystemInstanceCommand: () => DeleteSystemInstanceCommand,
|
|
32
|
+
DeleteSystemTemplateCommand: () => DeleteSystemTemplateCommand,
|
|
33
|
+
DeploySystemInstanceCommand: () => DeploySystemInstanceCommand,
|
|
34
|
+
DeploymentTarget: () => DeploymentTarget,
|
|
35
|
+
DeprecateFlowTemplateCommand: () => DeprecateFlowTemplateCommand,
|
|
36
|
+
DeprecateSystemTemplateCommand: () => DeprecateSystemTemplateCommand,
|
|
37
|
+
DescribeNamespaceCommand: () => DescribeNamespaceCommand,
|
|
38
|
+
DissociateEntityFromThingCommand: () => DissociateEntityFromThingCommand,
|
|
39
|
+
EntityFilterName: () => EntityFilterName,
|
|
40
|
+
EntityType: () => EntityType,
|
|
41
|
+
FlowExecutionEventType: () => FlowExecutionEventType,
|
|
42
|
+
FlowExecutionStatus: () => FlowExecutionStatus,
|
|
43
|
+
FlowTemplateFilterName: () => FlowTemplateFilterName,
|
|
44
|
+
GetEntitiesCommand: () => GetEntitiesCommand,
|
|
45
|
+
GetFlowTemplateCommand: () => GetFlowTemplateCommand,
|
|
46
|
+
GetFlowTemplateRevisionsCommand: () => GetFlowTemplateRevisionsCommand,
|
|
47
|
+
GetNamespaceDeletionStatusCommand: () => GetNamespaceDeletionStatusCommand,
|
|
48
|
+
GetSystemInstanceCommand: () => GetSystemInstanceCommand,
|
|
49
|
+
GetSystemTemplateCommand: () => GetSystemTemplateCommand,
|
|
50
|
+
GetSystemTemplateRevisionsCommand: () => GetSystemTemplateRevisionsCommand,
|
|
51
|
+
GetUploadStatusCommand: () => GetUploadStatusCommand,
|
|
52
|
+
InternalFailureException: () => InternalFailureException,
|
|
53
|
+
InvalidRequestException: () => InvalidRequestException,
|
|
54
|
+
IoTThingsGraph: () => IoTThingsGraph,
|
|
55
|
+
IoTThingsGraphClient: () => IoTThingsGraphClient,
|
|
56
|
+
IoTThingsGraphServiceException: () => IoTThingsGraphServiceException,
|
|
57
|
+
LimitExceededException: () => LimitExceededException,
|
|
58
|
+
ListFlowExecutionMessagesCommand: () => ListFlowExecutionMessagesCommand,
|
|
59
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
60
|
+
NamespaceDeletionStatus: () => NamespaceDeletionStatus,
|
|
61
|
+
NamespaceDeletionStatusErrorCodes: () => NamespaceDeletionStatusErrorCodes,
|
|
62
|
+
ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
|
|
63
|
+
ResourceInUseException: () => ResourceInUseException,
|
|
64
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
65
|
+
SearchEntitiesCommand: () => SearchEntitiesCommand,
|
|
66
|
+
SearchFlowExecutionsCommand: () => SearchFlowExecutionsCommand,
|
|
67
|
+
SearchFlowTemplatesCommand: () => SearchFlowTemplatesCommand,
|
|
68
|
+
SearchSystemInstancesCommand: () => SearchSystemInstancesCommand,
|
|
69
|
+
SearchSystemTemplatesCommand: () => SearchSystemTemplatesCommand,
|
|
70
|
+
SearchThingsCommand: () => SearchThingsCommand,
|
|
71
|
+
SystemInstanceDeploymentStatus: () => SystemInstanceDeploymentStatus,
|
|
72
|
+
SystemInstanceFilterName: () => SystemInstanceFilterName,
|
|
73
|
+
SystemTemplateFilterName: () => SystemTemplateFilterName,
|
|
74
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
75
|
+
ThrottlingException: () => ThrottlingException,
|
|
76
|
+
UndeploySystemInstanceCommand: () => UndeploySystemInstanceCommand,
|
|
77
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
78
|
+
UpdateFlowTemplateCommand: () => UpdateFlowTemplateCommand,
|
|
79
|
+
UpdateSystemTemplateCommand: () => UpdateSystemTemplateCommand,
|
|
80
|
+
UploadEntityDefinitionsCommand: () => UploadEntityDefinitionsCommand,
|
|
81
|
+
UploadStatus: () => UploadStatus,
|
|
82
|
+
__Client: () => import_smithy_client.Client,
|
|
83
|
+
paginateGetFlowTemplateRevisions: () => paginateGetFlowTemplateRevisions,
|
|
84
|
+
paginateGetSystemTemplateRevisions: () => paginateGetSystemTemplateRevisions,
|
|
85
|
+
paginateListFlowExecutionMessages: () => paginateListFlowExecutionMessages,
|
|
86
|
+
paginateListTagsForResource: () => paginateListTagsForResource,
|
|
87
|
+
paginateSearchEntities: () => paginateSearchEntities,
|
|
88
|
+
paginateSearchFlowExecutions: () => paginateSearchFlowExecutions,
|
|
89
|
+
paginateSearchFlowTemplates: () => paginateSearchFlowTemplates,
|
|
90
|
+
paginateSearchSystemInstances: () => paginateSearchSystemInstances,
|
|
91
|
+
paginateSearchSystemTemplates: () => paginateSearchSystemTemplates,
|
|
92
|
+
paginateSearchThings: () => paginateSearchThings
|
|
93
|
+
});
|
|
94
|
+
module.exports = __toCommonJS(src_exports);
|
|
95
|
+
|
|
96
|
+
// src/IoTThingsGraphClient.ts
|
|
97
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
98
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
99
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
100
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
101
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
102
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
103
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
104
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
105
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
// src/endpoint/EndpointParameters.ts
|
|
109
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
110
|
+
return {
|
|
111
|
+
...options,
|
|
112
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
113
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
114
|
+
defaultSigningName: "iotthingsgraph"
|
|
115
|
+
};
|
|
116
|
+
}, "resolveClientEndpointParameters");
|
|
117
|
+
var commonParams = {
|
|
118
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
119
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
120
|
+
Region: { type: "builtInParams", name: "region" },
|
|
121
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
// src/IoTThingsGraphClient.ts
|
|
125
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
126
|
+
|
|
127
|
+
// src/runtimeExtensions.ts
|
|
128
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
129
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
130
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
131
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
132
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
133
|
+
const extensionConfiguration = {
|
|
134
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
135
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
136
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
137
|
+
};
|
|
138
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
139
|
+
return {
|
|
140
|
+
...runtimeConfig,
|
|
141
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
142
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
143
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
144
|
+
};
|
|
145
|
+
}, "resolveRuntimeExtensions");
|
|
146
|
+
|
|
147
|
+
// src/IoTThingsGraphClient.ts
|
|
148
|
+
var _IoTThingsGraphClient = class _IoTThingsGraphClient extends import_smithy_client.Client {
|
|
149
|
+
constructor(...[configuration]) {
|
|
150
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
151
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
152
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
153
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
154
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
155
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
156
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
157
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
158
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
159
|
+
super(_config_8);
|
|
160
|
+
this.config = _config_8;
|
|
161
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
162
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
163
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
164
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
165
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
166
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
167
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
171
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
172
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
173
|
+
*/
|
|
174
|
+
destroy() {
|
|
175
|
+
super.destroy();
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
__name(_IoTThingsGraphClient, "IoTThingsGraphClient");
|
|
179
|
+
var IoTThingsGraphClient = _IoTThingsGraphClient;
|
|
180
|
+
|
|
181
|
+
// src/IoTThingsGraph.ts
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
// src/commands/AssociateEntityToThingCommand.ts
|
|
185
|
+
|
|
186
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
187
|
+
|
|
188
|
+
var import_types = require("@smithy/types");
|
|
189
|
+
|
|
190
|
+
// src/protocols/Aws_json1_1.ts
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
// src/models/IoTThingsGraphServiceException.ts
|
|
195
|
+
|
|
196
|
+
var _IoTThingsGraphServiceException = class _IoTThingsGraphServiceException extends import_smithy_client.ServiceException {
|
|
197
|
+
/**
|
|
198
|
+
* @internal
|
|
199
|
+
*/
|
|
200
|
+
constructor(options) {
|
|
201
|
+
super(options);
|
|
202
|
+
Object.setPrototypeOf(this, _IoTThingsGraphServiceException.prototype);
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
__name(_IoTThingsGraphServiceException, "IoTThingsGraphServiceException");
|
|
206
|
+
var IoTThingsGraphServiceException = _IoTThingsGraphServiceException;
|
|
207
|
+
|
|
208
|
+
// src/models/models_0.ts
|
|
209
|
+
var _InternalFailureException = class _InternalFailureException extends IoTThingsGraphServiceException {
|
|
210
|
+
/**
|
|
211
|
+
* @internal
|
|
212
|
+
*/
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "InternalFailureException",
|
|
216
|
+
$fault: "server",
|
|
217
|
+
...opts
|
|
218
|
+
});
|
|
219
|
+
this.name = "InternalFailureException";
|
|
220
|
+
this.$fault = "server";
|
|
221
|
+
Object.setPrototypeOf(this, _InternalFailureException.prototype);
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
__name(_InternalFailureException, "InternalFailureException");
|
|
225
|
+
var InternalFailureException = _InternalFailureException;
|
|
226
|
+
var _InvalidRequestException = class _InvalidRequestException extends IoTThingsGraphServiceException {
|
|
227
|
+
/**
|
|
228
|
+
* @internal
|
|
229
|
+
*/
|
|
230
|
+
constructor(opts) {
|
|
231
|
+
super({
|
|
232
|
+
name: "InvalidRequestException",
|
|
233
|
+
$fault: "client",
|
|
234
|
+
...opts
|
|
235
|
+
});
|
|
236
|
+
this.name = "InvalidRequestException";
|
|
237
|
+
this.$fault = "client";
|
|
238
|
+
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
__name(_InvalidRequestException, "InvalidRequestException");
|
|
242
|
+
var InvalidRequestException = _InvalidRequestException;
|
|
243
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends IoTThingsGraphServiceException {
|
|
244
|
+
/**
|
|
245
|
+
* @internal
|
|
246
|
+
*/
|
|
247
|
+
constructor(opts) {
|
|
248
|
+
super({
|
|
249
|
+
name: "ResourceNotFoundException",
|
|
250
|
+
$fault: "client",
|
|
251
|
+
...opts
|
|
252
|
+
});
|
|
253
|
+
this.name = "ResourceNotFoundException";
|
|
254
|
+
this.$fault = "client";
|
|
255
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
259
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
260
|
+
var _ThrottlingException = class _ThrottlingException extends IoTThingsGraphServiceException {
|
|
261
|
+
/**
|
|
262
|
+
* @internal
|
|
263
|
+
*/
|
|
264
|
+
constructor(opts) {
|
|
265
|
+
super({
|
|
266
|
+
name: "ThrottlingException",
|
|
267
|
+
$fault: "client",
|
|
268
|
+
...opts
|
|
269
|
+
});
|
|
270
|
+
this.name = "ThrottlingException";
|
|
271
|
+
this.$fault = "client";
|
|
272
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
276
|
+
var ThrottlingException = _ThrottlingException;
|
|
277
|
+
var DefinitionLanguage = {
|
|
278
|
+
GRAPHQL: "GRAPHQL"
|
|
279
|
+
};
|
|
280
|
+
var _LimitExceededException = class _LimitExceededException extends IoTThingsGraphServiceException {
|
|
281
|
+
/**
|
|
282
|
+
* @internal
|
|
283
|
+
*/
|
|
284
|
+
constructor(opts) {
|
|
285
|
+
super({
|
|
286
|
+
name: "LimitExceededException",
|
|
287
|
+
$fault: "client",
|
|
288
|
+
...opts
|
|
289
|
+
});
|
|
290
|
+
this.name = "LimitExceededException";
|
|
291
|
+
this.$fault = "client";
|
|
292
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
293
|
+
}
|
|
294
|
+
};
|
|
295
|
+
__name(_LimitExceededException, "LimitExceededException");
|
|
296
|
+
var LimitExceededException = _LimitExceededException;
|
|
297
|
+
var _ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends IoTThingsGraphServiceException {
|
|
298
|
+
/**
|
|
299
|
+
* @internal
|
|
300
|
+
*/
|
|
301
|
+
constructor(opts) {
|
|
302
|
+
super({
|
|
303
|
+
name: "ResourceAlreadyExistsException",
|
|
304
|
+
$fault: "client",
|
|
305
|
+
...opts
|
|
306
|
+
});
|
|
307
|
+
this.name = "ResourceAlreadyExistsException";
|
|
308
|
+
this.$fault = "client";
|
|
309
|
+
Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
__name(_ResourceAlreadyExistsException, "ResourceAlreadyExistsException");
|
|
313
|
+
var ResourceAlreadyExistsException = _ResourceAlreadyExistsException;
|
|
314
|
+
var DeploymentTarget = {
|
|
315
|
+
CLOUD: "CLOUD",
|
|
316
|
+
GREENGRASS: "GREENGRASS"
|
|
317
|
+
};
|
|
318
|
+
var SystemInstanceDeploymentStatus = {
|
|
319
|
+
BOOTSTRAP: "BOOTSTRAP",
|
|
320
|
+
DELETED_IN_TARGET: "DELETED_IN_TARGET",
|
|
321
|
+
DEPLOYED_IN_TARGET: "DEPLOYED_IN_TARGET",
|
|
322
|
+
DEPLOY_IN_PROGRESS: "DEPLOY_IN_PROGRESS",
|
|
323
|
+
FAILED: "FAILED",
|
|
324
|
+
NOT_DEPLOYED: "NOT_DEPLOYED",
|
|
325
|
+
PENDING_DELETE: "PENDING_DELETE",
|
|
326
|
+
UNDEPLOY_IN_PROGRESS: "UNDEPLOY_IN_PROGRESS"
|
|
327
|
+
};
|
|
328
|
+
var _ResourceInUseException = class _ResourceInUseException extends IoTThingsGraphServiceException {
|
|
329
|
+
/**
|
|
330
|
+
* @internal
|
|
331
|
+
*/
|
|
332
|
+
constructor(opts) {
|
|
333
|
+
super({
|
|
334
|
+
name: "ResourceInUseException",
|
|
335
|
+
$fault: "client",
|
|
336
|
+
...opts
|
|
337
|
+
});
|
|
338
|
+
this.name = "ResourceInUseException";
|
|
339
|
+
this.$fault = "client";
|
|
340
|
+
Object.setPrototypeOf(this, _ResourceInUseException.prototype);
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
__name(_ResourceInUseException, "ResourceInUseException");
|
|
344
|
+
var ResourceInUseException = _ResourceInUseException;
|
|
345
|
+
var EntityType = {
|
|
346
|
+
ACTION: "ACTION",
|
|
347
|
+
CAPABILITY: "CAPABILITY",
|
|
348
|
+
DEVICE: "DEVICE",
|
|
349
|
+
DEVICE_MODEL: "DEVICE_MODEL",
|
|
350
|
+
ENUM: "ENUM",
|
|
351
|
+
EVENT: "EVENT",
|
|
352
|
+
MAPPING: "MAPPING",
|
|
353
|
+
PROPERTY: "PROPERTY",
|
|
354
|
+
SERVICE: "SERVICE",
|
|
355
|
+
STATE: "STATE"
|
|
356
|
+
};
|
|
357
|
+
var EntityFilterName = {
|
|
358
|
+
NAME: "NAME",
|
|
359
|
+
NAMESPACE: "NAMESPACE",
|
|
360
|
+
REFERENCED_ENTITY_ID: "REFERENCED_ENTITY_ID",
|
|
361
|
+
SEMANTIC_TYPE_PATH: "SEMANTIC_TYPE_PATH"
|
|
362
|
+
};
|
|
363
|
+
var FlowExecutionEventType = {
|
|
364
|
+
ACKNOWLEDGE_TASK_MESSAGE: "ACKNOWLEDGE_TASK_MESSAGE",
|
|
365
|
+
ACTIVITY_FAILED: "ACTIVITY_FAILED",
|
|
366
|
+
ACTIVITY_SCHEDULED: "ACTIVITY_SCHEDULED",
|
|
367
|
+
ACTIVITY_STARTED: "ACTIVITY_STARTED",
|
|
368
|
+
ACTIVITY_SUCCEEDED: "ACTIVITY_SUCCEEDED",
|
|
369
|
+
EXECUTION_ABORTED: "EXECUTION_ABORTED",
|
|
370
|
+
EXECUTION_FAILED: "EXECUTION_FAILED",
|
|
371
|
+
EXECUTION_STARTED: "EXECUTION_STARTED",
|
|
372
|
+
EXECUTION_SUCCEEDED: "EXECUTION_SUCCEEDED",
|
|
373
|
+
SCHEDULE_NEXT_READY_STEPS_TASK: "SCHEDULE_NEXT_READY_STEPS_TASK",
|
|
374
|
+
START_FLOW_EXECUTION_TASK: "START_FLOW_EXECUTION_TASK",
|
|
375
|
+
STEP_FAILED: "STEP_FAILED",
|
|
376
|
+
STEP_STARTED: "STEP_STARTED",
|
|
377
|
+
STEP_SUCCEEDED: "STEP_SUCCEEDED",
|
|
378
|
+
THING_ACTION_TASK: "THING_ACTION_TASK",
|
|
379
|
+
THING_ACTION_TASK_FAILED: "THING_ACTION_TASK_FAILED",
|
|
380
|
+
THING_ACTION_TASK_SUCCEEDED: "THING_ACTION_TASK_SUCCEEDED"
|
|
381
|
+
};
|
|
382
|
+
var FlowExecutionStatus = {
|
|
383
|
+
ABORTED: "ABORTED",
|
|
384
|
+
FAILED: "FAILED",
|
|
385
|
+
RUNNING: "RUNNING",
|
|
386
|
+
SUCCEEDED: "SUCCEEDED"
|
|
387
|
+
};
|
|
388
|
+
var FlowTemplateFilterName = {
|
|
389
|
+
DEVICE_MODEL_ID: "DEVICE_MODEL_ID"
|
|
390
|
+
};
|
|
391
|
+
var NamespaceDeletionStatusErrorCodes = {
|
|
392
|
+
VALIDATION_FAILED: "VALIDATION_FAILED"
|
|
393
|
+
};
|
|
394
|
+
var NamespaceDeletionStatus = {
|
|
395
|
+
FAILED: "FAILED",
|
|
396
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
397
|
+
SUCCEEDED: "SUCCEEDED"
|
|
398
|
+
};
|
|
399
|
+
var UploadStatus = {
|
|
400
|
+
FAILED: "FAILED",
|
|
401
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
402
|
+
SUCCEEDED: "SUCCEEDED"
|
|
403
|
+
};
|
|
404
|
+
var SystemInstanceFilterName = {
|
|
405
|
+
GREENGRASS_GROUP_NAME: "GREENGRASS_GROUP_NAME",
|
|
406
|
+
STATUS: "STATUS",
|
|
407
|
+
SYSTEM_TEMPLATE_ID: "SYSTEM_TEMPLATE_ID"
|
|
408
|
+
};
|
|
409
|
+
var SystemTemplateFilterName = {
|
|
410
|
+
FLOW_TEMPLATE_ID: "FLOW_TEMPLATE_ID"
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
// src/protocols/Aws_json1_1.ts
|
|
414
|
+
var se_AssociateEntityToThingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
415
|
+
const headers = sharedHeaders("AssociateEntityToThing");
|
|
416
|
+
let body;
|
|
417
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
418
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
419
|
+
}, "se_AssociateEntityToThingCommand");
|
|
420
|
+
var se_CreateFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
421
|
+
const headers = sharedHeaders("CreateFlowTemplate");
|
|
422
|
+
let body;
|
|
423
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
424
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
425
|
+
}, "se_CreateFlowTemplateCommand");
|
|
426
|
+
var se_CreateSystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
427
|
+
const headers = sharedHeaders("CreateSystemInstance");
|
|
428
|
+
let body;
|
|
429
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
430
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
431
|
+
}, "se_CreateSystemInstanceCommand");
|
|
432
|
+
var se_CreateSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
433
|
+
const headers = sharedHeaders("CreateSystemTemplate");
|
|
434
|
+
let body;
|
|
435
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
436
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
437
|
+
}, "se_CreateSystemTemplateCommand");
|
|
438
|
+
var se_DeleteFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
439
|
+
const headers = sharedHeaders("DeleteFlowTemplate");
|
|
440
|
+
let body;
|
|
441
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
442
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
443
|
+
}, "se_DeleteFlowTemplateCommand");
|
|
444
|
+
var se_DeleteNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
445
|
+
const headers = sharedHeaders("DeleteNamespace");
|
|
446
|
+
let body;
|
|
447
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
448
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
449
|
+
}, "se_DeleteNamespaceCommand");
|
|
450
|
+
var se_DeleteSystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
451
|
+
const headers = sharedHeaders("DeleteSystemInstance");
|
|
452
|
+
let body;
|
|
453
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
454
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
455
|
+
}, "se_DeleteSystemInstanceCommand");
|
|
456
|
+
var se_DeleteSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
457
|
+
const headers = sharedHeaders("DeleteSystemTemplate");
|
|
458
|
+
let body;
|
|
459
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
460
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
461
|
+
}, "se_DeleteSystemTemplateCommand");
|
|
462
|
+
var se_DeploySystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
463
|
+
const headers = sharedHeaders("DeploySystemInstance");
|
|
464
|
+
let body;
|
|
465
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
466
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
467
|
+
}, "se_DeploySystemInstanceCommand");
|
|
468
|
+
var se_DeprecateFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
469
|
+
const headers = sharedHeaders("DeprecateFlowTemplate");
|
|
470
|
+
let body;
|
|
471
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
472
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
473
|
+
}, "se_DeprecateFlowTemplateCommand");
|
|
474
|
+
var se_DeprecateSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
475
|
+
const headers = sharedHeaders("DeprecateSystemTemplate");
|
|
476
|
+
let body;
|
|
477
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
478
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
479
|
+
}, "se_DeprecateSystemTemplateCommand");
|
|
480
|
+
var se_DescribeNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
481
|
+
const headers = sharedHeaders("DescribeNamespace");
|
|
482
|
+
let body;
|
|
483
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
484
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
485
|
+
}, "se_DescribeNamespaceCommand");
|
|
486
|
+
var se_DissociateEntityFromThingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
487
|
+
const headers = sharedHeaders("DissociateEntityFromThing");
|
|
488
|
+
let body;
|
|
489
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
490
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
491
|
+
}, "se_DissociateEntityFromThingCommand");
|
|
492
|
+
var se_GetEntitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
493
|
+
const headers = sharedHeaders("GetEntities");
|
|
494
|
+
let body;
|
|
495
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
496
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
497
|
+
}, "se_GetEntitiesCommand");
|
|
498
|
+
var se_GetFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
499
|
+
const headers = sharedHeaders("GetFlowTemplate");
|
|
500
|
+
let body;
|
|
501
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
502
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
503
|
+
}, "se_GetFlowTemplateCommand");
|
|
504
|
+
var se_GetFlowTemplateRevisionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
505
|
+
const headers = sharedHeaders("GetFlowTemplateRevisions");
|
|
506
|
+
let body;
|
|
507
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
508
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
509
|
+
}, "se_GetFlowTemplateRevisionsCommand");
|
|
510
|
+
var se_GetNamespaceDeletionStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
511
|
+
const headers = sharedHeaders("GetNamespaceDeletionStatus");
|
|
512
|
+
let body;
|
|
513
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
514
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
515
|
+
}, "se_GetNamespaceDeletionStatusCommand");
|
|
516
|
+
var se_GetSystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
517
|
+
const headers = sharedHeaders("GetSystemInstance");
|
|
518
|
+
let body;
|
|
519
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
520
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
521
|
+
}, "se_GetSystemInstanceCommand");
|
|
522
|
+
var se_GetSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
523
|
+
const headers = sharedHeaders("GetSystemTemplate");
|
|
524
|
+
let body;
|
|
525
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
526
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
527
|
+
}, "se_GetSystemTemplateCommand");
|
|
528
|
+
var se_GetSystemTemplateRevisionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
529
|
+
const headers = sharedHeaders("GetSystemTemplateRevisions");
|
|
530
|
+
let body;
|
|
531
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
532
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
533
|
+
}, "se_GetSystemTemplateRevisionsCommand");
|
|
534
|
+
var se_GetUploadStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
535
|
+
const headers = sharedHeaders("GetUploadStatus");
|
|
536
|
+
let body;
|
|
537
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
538
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
539
|
+
}, "se_GetUploadStatusCommand");
|
|
540
|
+
var se_ListFlowExecutionMessagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
541
|
+
const headers = sharedHeaders("ListFlowExecutionMessages");
|
|
542
|
+
let body;
|
|
543
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
544
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
545
|
+
}, "se_ListFlowExecutionMessagesCommand");
|
|
546
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
547
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
548
|
+
let body;
|
|
549
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
550
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
551
|
+
}, "se_ListTagsForResourceCommand");
|
|
552
|
+
var se_SearchEntitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
553
|
+
const headers = sharedHeaders("SearchEntities");
|
|
554
|
+
let body;
|
|
555
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
556
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
557
|
+
}, "se_SearchEntitiesCommand");
|
|
558
|
+
var se_SearchFlowExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
559
|
+
const headers = sharedHeaders("SearchFlowExecutions");
|
|
560
|
+
let body;
|
|
561
|
+
body = JSON.stringify(se_SearchFlowExecutionsRequest(input, context));
|
|
562
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
563
|
+
}, "se_SearchFlowExecutionsCommand");
|
|
564
|
+
var se_SearchFlowTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
565
|
+
const headers = sharedHeaders("SearchFlowTemplates");
|
|
566
|
+
let body;
|
|
567
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
568
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
569
|
+
}, "se_SearchFlowTemplatesCommand");
|
|
570
|
+
var se_SearchSystemInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
571
|
+
const headers = sharedHeaders("SearchSystemInstances");
|
|
572
|
+
let body;
|
|
573
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
574
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
575
|
+
}, "se_SearchSystemInstancesCommand");
|
|
576
|
+
var se_SearchSystemTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
577
|
+
const headers = sharedHeaders("SearchSystemTemplates");
|
|
578
|
+
let body;
|
|
579
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
580
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
581
|
+
}, "se_SearchSystemTemplatesCommand");
|
|
582
|
+
var se_SearchThingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
583
|
+
const headers = sharedHeaders("SearchThings");
|
|
584
|
+
let body;
|
|
585
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
586
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
587
|
+
}, "se_SearchThingsCommand");
|
|
588
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
589
|
+
const headers = sharedHeaders("TagResource");
|
|
590
|
+
let body;
|
|
591
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
592
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
593
|
+
}, "se_TagResourceCommand");
|
|
594
|
+
var se_UndeploySystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
595
|
+
const headers = sharedHeaders("UndeploySystemInstance");
|
|
596
|
+
let body;
|
|
597
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
598
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
599
|
+
}, "se_UndeploySystemInstanceCommand");
|
|
600
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
601
|
+
const headers = sharedHeaders("UntagResource");
|
|
602
|
+
let body;
|
|
603
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
604
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
605
|
+
}, "se_UntagResourceCommand");
|
|
606
|
+
var se_UpdateFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
607
|
+
const headers = sharedHeaders("UpdateFlowTemplate");
|
|
608
|
+
let body;
|
|
609
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
610
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
611
|
+
}, "se_UpdateFlowTemplateCommand");
|
|
612
|
+
var se_UpdateSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
613
|
+
const headers = sharedHeaders("UpdateSystemTemplate");
|
|
614
|
+
let body;
|
|
615
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
616
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
617
|
+
}, "se_UpdateSystemTemplateCommand");
|
|
618
|
+
var se_UploadEntityDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
619
|
+
const headers = sharedHeaders("UploadEntityDefinitions");
|
|
620
|
+
let body;
|
|
621
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
622
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
623
|
+
}, "se_UploadEntityDefinitionsCommand");
|
|
624
|
+
var de_AssociateEntityToThingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
625
|
+
if (output.statusCode >= 300) {
|
|
626
|
+
return de_AssociateEntityToThingCommandError(output, context);
|
|
627
|
+
}
|
|
628
|
+
const data = await parseBody(output.body, context);
|
|
629
|
+
let contents = {};
|
|
630
|
+
contents = (0, import_smithy_client._json)(data);
|
|
631
|
+
const response = {
|
|
632
|
+
$metadata: deserializeMetadata(output),
|
|
633
|
+
...contents
|
|
634
|
+
};
|
|
635
|
+
return response;
|
|
636
|
+
}, "de_AssociateEntityToThingCommand");
|
|
637
|
+
var de_AssociateEntityToThingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
638
|
+
const parsedOutput = {
|
|
639
|
+
...output,
|
|
640
|
+
body: await parseErrorBody(output.body, context)
|
|
641
|
+
};
|
|
642
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
643
|
+
switch (errorCode) {
|
|
644
|
+
case "InternalFailureException":
|
|
645
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
646
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
647
|
+
case "InvalidRequestException":
|
|
648
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
649
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
650
|
+
case "ResourceNotFoundException":
|
|
651
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
652
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
653
|
+
case "ThrottlingException":
|
|
654
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
655
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
656
|
+
default:
|
|
657
|
+
const parsedBody = parsedOutput.body;
|
|
658
|
+
return throwDefaultError({
|
|
659
|
+
output,
|
|
660
|
+
parsedBody,
|
|
661
|
+
errorCode
|
|
662
|
+
});
|
|
663
|
+
}
|
|
664
|
+
}, "de_AssociateEntityToThingCommandError");
|
|
665
|
+
var de_CreateFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
666
|
+
if (output.statusCode >= 300) {
|
|
667
|
+
return de_CreateFlowTemplateCommandError(output, context);
|
|
668
|
+
}
|
|
669
|
+
const data = await parseBody(output.body, context);
|
|
670
|
+
let contents = {};
|
|
671
|
+
contents = de_CreateFlowTemplateResponse(data, context);
|
|
672
|
+
const response = {
|
|
673
|
+
$metadata: deserializeMetadata(output),
|
|
674
|
+
...contents
|
|
675
|
+
};
|
|
676
|
+
return response;
|
|
677
|
+
}, "de_CreateFlowTemplateCommand");
|
|
678
|
+
var de_CreateFlowTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
679
|
+
const parsedOutput = {
|
|
680
|
+
...output,
|
|
681
|
+
body: await parseErrorBody(output.body, context)
|
|
682
|
+
};
|
|
683
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
684
|
+
switch (errorCode) {
|
|
685
|
+
case "InternalFailureException":
|
|
686
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
687
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
688
|
+
case "InvalidRequestException":
|
|
689
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
690
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
691
|
+
case "LimitExceededException":
|
|
692
|
+
case "com.amazonaws.iotthingsgraph#LimitExceededException":
|
|
693
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
694
|
+
case "ResourceAlreadyExistsException":
|
|
695
|
+
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
696
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
697
|
+
case "ThrottlingException":
|
|
698
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
699
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
700
|
+
default:
|
|
701
|
+
const parsedBody = parsedOutput.body;
|
|
702
|
+
return throwDefaultError({
|
|
703
|
+
output,
|
|
704
|
+
parsedBody,
|
|
705
|
+
errorCode
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
}, "de_CreateFlowTemplateCommandError");
|
|
709
|
+
var de_CreateSystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
710
|
+
if (output.statusCode >= 300) {
|
|
711
|
+
return de_CreateSystemInstanceCommandError(output, context);
|
|
712
|
+
}
|
|
713
|
+
const data = await parseBody(output.body, context);
|
|
714
|
+
let contents = {};
|
|
715
|
+
contents = de_CreateSystemInstanceResponse(data, context);
|
|
716
|
+
const response = {
|
|
717
|
+
$metadata: deserializeMetadata(output),
|
|
718
|
+
...contents
|
|
719
|
+
};
|
|
720
|
+
return response;
|
|
721
|
+
}, "de_CreateSystemInstanceCommand");
|
|
722
|
+
var de_CreateSystemInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
723
|
+
const parsedOutput = {
|
|
724
|
+
...output,
|
|
725
|
+
body: await parseErrorBody(output.body, context)
|
|
726
|
+
};
|
|
727
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
728
|
+
switch (errorCode) {
|
|
729
|
+
case "InternalFailureException":
|
|
730
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
731
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
732
|
+
case "InvalidRequestException":
|
|
733
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
734
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
735
|
+
case "LimitExceededException":
|
|
736
|
+
case "com.amazonaws.iotthingsgraph#LimitExceededException":
|
|
737
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
738
|
+
case "ResourceAlreadyExistsException":
|
|
739
|
+
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
740
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
741
|
+
case "ThrottlingException":
|
|
742
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
743
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
744
|
+
default:
|
|
745
|
+
const parsedBody = parsedOutput.body;
|
|
746
|
+
return throwDefaultError({
|
|
747
|
+
output,
|
|
748
|
+
parsedBody,
|
|
749
|
+
errorCode
|
|
750
|
+
});
|
|
751
|
+
}
|
|
752
|
+
}, "de_CreateSystemInstanceCommandError");
|
|
753
|
+
var de_CreateSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
754
|
+
if (output.statusCode >= 300) {
|
|
755
|
+
return de_CreateSystemTemplateCommandError(output, context);
|
|
756
|
+
}
|
|
757
|
+
const data = await parseBody(output.body, context);
|
|
758
|
+
let contents = {};
|
|
759
|
+
contents = de_CreateSystemTemplateResponse(data, context);
|
|
760
|
+
const response = {
|
|
761
|
+
$metadata: deserializeMetadata(output),
|
|
762
|
+
...contents
|
|
763
|
+
};
|
|
764
|
+
return response;
|
|
765
|
+
}, "de_CreateSystemTemplateCommand");
|
|
766
|
+
var de_CreateSystemTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
767
|
+
const parsedOutput = {
|
|
768
|
+
...output,
|
|
769
|
+
body: await parseErrorBody(output.body, context)
|
|
770
|
+
};
|
|
771
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
772
|
+
switch (errorCode) {
|
|
773
|
+
case "InternalFailureException":
|
|
774
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
775
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
776
|
+
case "InvalidRequestException":
|
|
777
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
778
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
779
|
+
case "ResourceAlreadyExistsException":
|
|
780
|
+
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
781
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
782
|
+
case "ThrottlingException":
|
|
783
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
784
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
785
|
+
default:
|
|
786
|
+
const parsedBody = parsedOutput.body;
|
|
787
|
+
return throwDefaultError({
|
|
788
|
+
output,
|
|
789
|
+
parsedBody,
|
|
790
|
+
errorCode
|
|
791
|
+
});
|
|
792
|
+
}
|
|
793
|
+
}, "de_CreateSystemTemplateCommandError");
|
|
794
|
+
var de_DeleteFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
795
|
+
if (output.statusCode >= 300) {
|
|
796
|
+
return de_DeleteFlowTemplateCommandError(output, context);
|
|
797
|
+
}
|
|
798
|
+
const data = await parseBody(output.body, context);
|
|
799
|
+
let contents = {};
|
|
800
|
+
contents = (0, import_smithy_client._json)(data);
|
|
801
|
+
const response = {
|
|
802
|
+
$metadata: deserializeMetadata(output),
|
|
803
|
+
...contents
|
|
804
|
+
};
|
|
805
|
+
return response;
|
|
806
|
+
}, "de_DeleteFlowTemplateCommand");
|
|
807
|
+
var de_DeleteFlowTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
808
|
+
const parsedOutput = {
|
|
809
|
+
...output,
|
|
810
|
+
body: await parseErrorBody(output.body, context)
|
|
811
|
+
};
|
|
812
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
813
|
+
switch (errorCode) {
|
|
814
|
+
case "InternalFailureException":
|
|
815
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
816
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
817
|
+
case "InvalidRequestException":
|
|
818
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
819
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
820
|
+
case "ResourceInUseException":
|
|
821
|
+
case "com.amazonaws.iotthingsgraph#ResourceInUseException":
|
|
822
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
823
|
+
case "ThrottlingException":
|
|
824
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
825
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
826
|
+
default:
|
|
827
|
+
const parsedBody = parsedOutput.body;
|
|
828
|
+
return throwDefaultError({
|
|
829
|
+
output,
|
|
830
|
+
parsedBody,
|
|
831
|
+
errorCode
|
|
832
|
+
});
|
|
833
|
+
}
|
|
834
|
+
}, "de_DeleteFlowTemplateCommandError");
|
|
835
|
+
var de_DeleteNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
836
|
+
if (output.statusCode >= 300) {
|
|
837
|
+
return de_DeleteNamespaceCommandError(output, context);
|
|
838
|
+
}
|
|
839
|
+
const data = await parseBody(output.body, context);
|
|
840
|
+
let contents = {};
|
|
841
|
+
contents = (0, import_smithy_client._json)(data);
|
|
842
|
+
const response = {
|
|
843
|
+
$metadata: deserializeMetadata(output),
|
|
844
|
+
...contents
|
|
845
|
+
};
|
|
846
|
+
return response;
|
|
847
|
+
}, "de_DeleteNamespaceCommand");
|
|
848
|
+
var de_DeleteNamespaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
849
|
+
const parsedOutput = {
|
|
850
|
+
...output,
|
|
851
|
+
body: await parseErrorBody(output.body, context)
|
|
852
|
+
};
|
|
853
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
854
|
+
switch (errorCode) {
|
|
855
|
+
case "InternalFailureException":
|
|
856
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
857
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
858
|
+
case "ThrottlingException":
|
|
859
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
860
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
861
|
+
default:
|
|
862
|
+
const parsedBody = parsedOutput.body;
|
|
863
|
+
return throwDefaultError({
|
|
864
|
+
output,
|
|
865
|
+
parsedBody,
|
|
866
|
+
errorCode
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
}, "de_DeleteNamespaceCommandError");
|
|
870
|
+
var de_DeleteSystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
871
|
+
if (output.statusCode >= 300) {
|
|
872
|
+
return de_DeleteSystemInstanceCommandError(output, context);
|
|
873
|
+
}
|
|
874
|
+
const data = await parseBody(output.body, context);
|
|
875
|
+
let contents = {};
|
|
876
|
+
contents = (0, import_smithy_client._json)(data);
|
|
877
|
+
const response = {
|
|
878
|
+
$metadata: deserializeMetadata(output),
|
|
879
|
+
...contents
|
|
880
|
+
};
|
|
881
|
+
return response;
|
|
882
|
+
}, "de_DeleteSystemInstanceCommand");
|
|
883
|
+
var de_DeleteSystemInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
884
|
+
const parsedOutput = {
|
|
885
|
+
...output,
|
|
886
|
+
body: await parseErrorBody(output.body, context)
|
|
887
|
+
};
|
|
888
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
889
|
+
switch (errorCode) {
|
|
890
|
+
case "InternalFailureException":
|
|
891
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
892
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
893
|
+
case "InvalidRequestException":
|
|
894
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
895
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
896
|
+
case "ResourceInUseException":
|
|
897
|
+
case "com.amazonaws.iotthingsgraph#ResourceInUseException":
|
|
898
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
899
|
+
case "ThrottlingException":
|
|
900
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
901
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
902
|
+
default:
|
|
903
|
+
const parsedBody = parsedOutput.body;
|
|
904
|
+
return throwDefaultError({
|
|
905
|
+
output,
|
|
906
|
+
parsedBody,
|
|
907
|
+
errorCode
|
|
908
|
+
});
|
|
909
|
+
}
|
|
910
|
+
}, "de_DeleteSystemInstanceCommandError");
|
|
911
|
+
var de_DeleteSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
912
|
+
if (output.statusCode >= 300) {
|
|
913
|
+
return de_DeleteSystemTemplateCommandError(output, context);
|
|
914
|
+
}
|
|
915
|
+
const data = await parseBody(output.body, context);
|
|
916
|
+
let contents = {};
|
|
917
|
+
contents = (0, import_smithy_client._json)(data);
|
|
918
|
+
const response = {
|
|
919
|
+
$metadata: deserializeMetadata(output),
|
|
920
|
+
...contents
|
|
921
|
+
};
|
|
922
|
+
return response;
|
|
923
|
+
}, "de_DeleteSystemTemplateCommand");
|
|
924
|
+
var de_DeleteSystemTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
925
|
+
const parsedOutput = {
|
|
926
|
+
...output,
|
|
927
|
+
body: await parseErrorBody(output.body, context)
|
|
928
|
+
};
|
|
929
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
930
|
+
switch (errorCode) {
|
|
931
|
+
case "InternalFailureException":
|
|
932
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
933
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
934
|
+
case "InvalidRequestException":
|
|
935
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
936
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
937
|
+
case "ResourceInUseException":
|
|
938
|
+
case "com.amazonaws.iotthingsgraph#ResourceInUseException":
|
|
939
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
940
|
+
case "ThrottlingException":
|
|
941
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
942
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
943
|
+
default:
|
|
944
|
+
const parsedBody = parsedOutput.body;
|
|
945
|
+
return throwDefaultError({
|
|
946
|
+
output,
|
|
947
|
+
parsedBody,
|
|
948
|
+
errorCode
|
|
949
|
+
});
|
|
950
|
+
}
|
|
951
|
+
}, "de_DeleteSystemTemplateCommandError");
|
|
952
|
+
var de_DeploySystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
953
|
+
if (output.statusCode >= 300) {
|
|
954
|
+
return de_DeploySystemInstanceCommandError(output, context);
|
|
955
|
+
}
|
|
956
|
+
const data = await parseBody(output.body, context);
|
|
957
|
+
let contents = {};
|
|
958
|
+
contents = de_DeploySystemInstanceResponse(data, context);
|
|
959
|
+
const response = {
|
|
960
|
+
$metadata: deserializeMetadata(output),
|
|
961
|
+
...contents
|
|
962
|
+
};
|
|
963
|
+
return response;
|
|
964
|
+
}, "de_DeploySystemInstanceCommand");
|
|
965
|
+
var de_DeploySystemInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
966
|
+
const parsedOutput = {
|
|
967
|
+
...output,
|
|
968
|
+
body: await parseErrorBody(output.body, context)
|
|
969
|
+
};
|
|
970
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
971
|
+
switch (errorCode) {
|
|
972
|
+
case "InternalFailureException":
|
|
973
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
974
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
975
|
+
case "InvalidRequestException":
|
|
976
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
977
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
978
|
+
case "ResourceInUseException":
|
|
979
|
+
case "com.amazonaws.iotthingsgraph#ResourceInUseException":
|
|
980
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
981
|
+
case "ResourceNotFoundException":
|
|
982
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
983
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
984
|
+
case "ThrottlingException":
|
|
985
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
986
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
987
|
+
default:
|
|
988
|
+
const parsedBody = parsedOutput.body;
|
|
989
|
+
return throwDefaultError({
|
|
990
|
+
output,
|
|
991
|
+
parsedBody,
|
|
992
|
+
errorCode
|
|
993
|
+
});
|
|
994
|
+
}
|
|
995
|
+
}, "de_DeploySystemInstanceCommandError");
|
|
996
|
+
var de_DeprecateFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
997
|
+
if (output.statusCode >= 300) {
|
|
998
|
+
return de_DeprecateFlowTemplateCommandError(output, context);
|
|
999
|
+
}
|
|
1000
|
+
const data = await parseBody(output.body, context);
|
|
1001
|
+
let contents = {};
|
|
1002
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1003
|
+
const response = {
|
|
1004
|
+
$metadata: deserializeMetadata(output),
|
|
1005
|
+
...contents
|
|
1006
|
+
};
|
|
1007
|
+
return response;
|
|
1008
|
+
}, "de_DeprecateFlowTemplateCommand");
|
|
1009
|
+
var de_DeprecateFlowTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1010
|
+
const parsedOutput = {
|
|
1011
|
+
...output,
|
|
1012
|
+
body: await parseErrorBody(output.body, context)
|
|
1013
|
+
};
|
|
1014
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1015
|
+
switch (errorCode) {
|
|
1016
|
+
case "InternalFailureException":
|
|
1017
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1018
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1019
|
+
case "InvalidRequestException":
|
|
1020
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1021
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1022
|
+
case "ResourceNotFoundException":
|
|
1023
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1024
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1025
|
+
case "ThrottlingException":
|
|
1026
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1027
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1028
|
+
default:
|
|
1029
|
+
const parsedBody = parsedOutput.body;
|
|
1030
|
+
return throwDefaultError({
|
|
1031
|
+
output,
|
|
1032
|
+
parsedBody,
|
|
1033
|
+
errorCode
|
|
1034
|
+
});
|
|
1035
|
+
}
|
|
1036
|
+
}, "de_DeprecateFlowTemplateCommandError");
|
|
1037
|
+
var de_DeprecateSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1038
|
+
if (output.statusCode >= 300) {
|
|
1039
|
+
return de_DeprecateSystemTemplateCommandError(output, context);
|
|
1040
|
+
}
|
|
1041
|
+
const data = await parseBody(output.body, context);
|
|
1042
|
+
let contents = {};
|
|
1043
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1044
|
+
const response = {
|
|
1045
|
+
$metadata: deserializeMetadata(output),
|
|
1046
|
+
...contents
|
|
1047
|
+
};
|
|
1048
|
+
return response;
|
|
1049
|
+
}, "de_DeprecateSystemTemplateCommand");
|
|
1050
|
+
var de_DeprecateSystemTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1051
|
+
const parsedOutput = {
|
|
1052
|
+
...output,
|
|
1053
|
+
body: await parseErrorBody(output.body, context)
|
|
1054
|
+
};
|
|
1055
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1056
|
+
switch (errorCode) {
|
|
1057
|
+
case "InternalFailureException":
|
|
1058
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1059
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1060
|
+
case "InvalidRequestException":
|
|
1061
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1062
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1063
|
+
case "ResourceNotFoundException":
|
|
1064
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1065
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1066
|
+
case "ThrottlingException":
|
|
1067
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1068
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1069
|
+
default:
|
|
1070
|
+
const parsedBody = parsedOutput.body;
|
|
1071
|
+
return throwDefaultError({
|
|
1072
|
+
output,
|
|
1073
|
+
parsedBody,
|
|
1074
|
+
errorCode
|
|
1075
|
+
});
|
|
1076
|
+
}
|
|
1077
|
+
}, "de_DeprecateSystemTemplateCommandError");
|
|
1078
|
+
var de_DescribeNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1079
|
+
if (output.statusCode >= 300) {
|
|
1080
|
+
return de_DescribeNamespaceCommandError(output, context);
|
|
1081
|
+
}
|
|
1082
|
+
const data = await parseBody(output.body, context);
|
|
1083
|
+
let contents = {};
|
|
1084
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1085
|
+
const response = {
|
|
1086
|
+
$metadata: deserializeMetadata(output),
|
|
1087
|
+
...contents
|
|
1088
|
+
};
|
|
1089
|
+
return response;
|
|
1090
|
+
}, "de_DescribeNamespaceCommand");
|
|
1091
|
+
var de_DescribeNamespaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1092
|
+
const parsedOutput = {
|
|
1093
|
+
...output,
|
|
1094
|
+
body: await parseErrorBody(output.body, context)
|
|
1095
|
+
};
|
|
1096
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1097
|
+
switch (errorCode) {
|
|
1098
|
+
case "InternalFailureException":
|
|
1099
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1100
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1101
|
+
case "InvalidRequestException":
|
|
1102
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1103
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1104
|
+
case "ResourceNotFoundException":
|
|
1105
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1106
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1107
|
+
case "ThrottlingException":
|
|
1108
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1109
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1110
|
+
default:
|
|
1111
|
+
const parsedBody = parsedOutput.body;
|
|
1112
|
+
return throwDefaultError({
|
|
1113
|
+
output,
|
|
1114
|
+
parsedBody,
|
|
1115
|
+
errorCode
|
|
1116
|
+
});
|
|
1117
|
+
}
|
|
1118
|
+
}, "de_DescribeNamespaceCommandError");
|
|
1119
|
+
var de_DissociateEntityFromThingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1120
|
+
if (output.statusCode >= 300) {
|
|
1121
|
+
return de_DissociateEntityFromThingCommandError(output, context);
|
|
1122
|
+
}
|
|
1123
|
+
const data = await parseBody(output.body, context);
|
|
1124
|
+
let contents = {};
|
|
1125
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1126
|
+
const response = {
|
|
1127
|
+
$metadata: deserializeMetadata(output),
|
|
1128
|
+
...contents
|
|
1129
|
+
};
|
|
1130
|
+
return response;
|
|
1131
|
+
}, "de_DissociateEntityFromThingCommand");
|
|
1132
|
+
var de_DissociateEntityFromThingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1133
|
+
const parsedOutput = {
|
|
1134
|
+
...output,
|
|
1135
|
+
body: await parseErrorBody(output.body, context)
|
|
1136
|
+
};
|
|
1137
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1138
|
+
switch (errorCode) {
|
|
1139
|
+
case "InternalFailureException":
|
|
1140
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1141
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1142
|
+
case "InvalidRequestException":
|
|
1143
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1144
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1145
|
+
case "ResourceNotFoundException":
|
|
1146
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1147
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1148
|
+
case "ThrottlingException":
|
|
1149
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1150
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1151
|
+
default:
|
|
1152
|
+
const parsedBody = parsedOutput.body;
|
|
1153
|
+
return throwDefaultError({
|
|
1154
|
+
output,
|
|
1155
|
+
parsedBody,
|
|
1156
|
+
errorCode
|
|
1157
|
+
});
|
|
1158
|
+
}
|
|
1159
|
+
}, "de_DissociateEntityFromThingCommandError");
|
|
1160
|
+
var de_GetEntitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1161
|
+
if (output.statusCode >= 300) {
|
|
1162
|
+
return de_GetEntitiesCommandError(output, context);
|
|
1163
|
+
}
|
|
1164
|
+
const data = await parseBody(output.body, context);
|
|
1165
|
+
let contents = {};
|
|
1166
|
+
contents = de_GetEntitiesResponse(data, context);
|
|
1167
|
+
const response = {
|
|
1168
|
+
$metadata: deserializeMetadata(output),
|
|
1169
|
+
...contents
|
|
1170
|
+
};
|
|
1171
|
+
return response;
|
|
1172
|
+
}, "de_GetEntitiesCommand");
|
|
1173
|
+
var de_GetEntitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1174
|
+
const parsedOutput = {
|
|
1175
|
+
...output,
|
|
1176
|
+
body: await parseErrorBody(output.body, context)
|
|
1177
|
+
};
|
|
1178
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1179
|
+
switch (errorCode) {
|
|
1180
|
+
case "InternalFailureException":
|
|
1181
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1182
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1183
|
+
case "InvalidRequestException":
|
|
1184
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1185
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1186
|
+
case "ResourceNotFoundException":
|
|
1187
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1188
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1189
|
+
case "ThrottlingException":
|
|
1190
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1191
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1192
|
+
default:
|
|
1193
|
+
const parsedBody = parsedOutput.body;
|
|
1194
|
+
return throwDefaultError({
|
|
1195
|
+
output,
|
|
1196
|
+
parsedBody,
|
|
1197
|
+
errorCode
|
|
1198
|
+
});
|
|
1199
|
+
}
|
|
1200
|
+
}, "de_GetEntitiesCommandError");
|
|
1201
|
+
var de_GetFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1202
|
+
if (output.statusCode >= 300) {
|
|
1203
|
+
return de_GetFlowTemplateCommandError(output, context);
|
|
1204
|
+
}
|
|
1205
|
+
const data = await parseBody(output.body, context);
|
|
1206
|
+
let contents = {};
|
|
1207
|
+
contents = de_GetFlowTemplateResponse(data, context);
|
|
1208
|
+
const response = {
|
|
1209
|
+
$metadata: deserializeMetadata(output),
|
|
1210
|
+
...contents
|
|
1211
|
+
};
|
|
1212
|
+
return response;
|
|
1213
|
+
}, "de_GetFlowTemplateCommand");
|
|
1214
|
+
var de_GetFlowTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1215
|
+
const parsedOutput = {
|
|
1216
|
+
...output,
|
|
1217
|
+
body: await parseErrorBody(output.body, context)
|
|
1218
|
+
};
|
|
1219
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1220
|
+
switch (errorCode) {
|
|
1221
|
+
case "InternalFailureException":
|
|
1222
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1223
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1224
|
+
case "InvalidRequestException":
|
|
1225
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1226
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1227
|
+
case "ResourceNotFoundException":
|
|
1228
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1229
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1230
|
+
case "ThrottlingException":
|
|
1231
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1232
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1233
|
+
default:
|
|
1234
|
+
const parsedBody = parsedOutput.body;
|
|
1235
|
+
return throwDefaultError({
|
|
1236
|
+
output,
|
|
1237
|
+
parsedBody,
|
|
1238
|
+
errorCode
|
|
1239
|
+
});
|
|
1240
|
+
}
|
|
1241
|
+
}, "de_GetFlowTemplateCommandError");
|
|
1242
|
+
var de_GetFlowTemplateRevisionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1243
|
+
if (output.statusCode >= 300) {
|
|
1244
|
+
return de_GetFlowTemplateRevisionsCommandError(output, context);
|
|
1245
|
+
}
|
|
1246
|
+
const data = await parseBody(output.body, context);
|
|
1247
|
+
let contents = {};
|
|
1248
|
+
contents = de_GetFlowTemplateRevisionsResponse(data, context);
|
|
1249
|
+
const response = {
|
|
1250
|
+
$metadata: deserializeMetadata(output),
|
|
1251
|
+
...contents
|
|
1252
|
+
};
|
|
1253
|
+
return response;
|
|
1254
|
+
}, "de_GetFlowTemplateRevisionsCommand");
|
|
1255
|
+
var de_GetFlowTemplateRevisionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1256
|
+
const parsedOutput = {
|
|
1257
|
+
...output,
|
|
1258
|
+
body: await parseErrorBody(output.body, context)
|
|
1259
|
+
};
|
|
1260
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1261
|
+
switch (errorCode) {
|
|
1262
|
+
case "InternalFailureException":
|
|
1263
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1264
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1265
|
+
case "InvalidRequestException":
|
|
1266
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1267
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1268
|
+
case "ResourceNotFoundException":
|
|
1269
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1270
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1271
|
+
case "ThrottlingException":
|
|
1272
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1273
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1274
|
+
default:
|
|
1275
|
+
const parsedBody = parsedOutput.body;
|
|
1276
|
+
return throwDefaultError({
|
|
1277
|
+
output,
|
|
1278
|
+
parsedBody,
|
|
1279
|
+
errorCode
|
|
1280
|
+
});
|
|
1281
|
+
}
|
|
1282
|
+
}, "de_GetFlowTemplateRevisionsCommandError");
|
|
1283
|
+
var de_GetNamespaceDeletionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1284
|
+
if (output.statusCode >= 300) {
|
|
1285
|
+
return de_GetNamespaceDeletionStatusCommandError(output, context);
|
|
1286
|
+
}
|
|
1287
|
+
const data = await parseBody(output.body, context);
|
|
1288
|
+
let contents = {};
|
|
1289
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1290
|
+
const response = {
|
|
1291
|
+
$metadata: deserializeMetadata(output),
|
|
1292
|
+
...contents
|
|
1293
|
+
};
|
|
1294
|
+
return response;
|
|
1295
|
+
}, "de_GetNamespaceDeletionStatusCommand");
|
|
1296
|
+
var de_GetNamespaceDeletionStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1297
|
+
const parsedOutput = {
|
|
1298
|
+
...output,
|
|
1299
|
+
body: await parseErrorBody(output.body, context)
|
|
1300
|
+
};
|
|
1301
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1302
|
+
switch (errorCode) {
|
|
1303
|
+
case "InternalFailureException":
|
|
1304
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1305
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1306
|
+
case "InvalidRequestException":
|
|
1307
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1308
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1309
|
+
case "ThrottlingException":
|
|
1310
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1311
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1312
|
+
default:
|
|
1313
|
+
const parsedBody = parsedOutput.body;
|
|
1314
|
+
return throwDefaultError({
|
|
1315
|
+
output,
|
|
1316
|
+
parsedBody,
|
|
1317
|
+
errorCode
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
}, "de_GetNamespaceDeletionStatusCommandError");
|
|
1321
|
+
var de_GetSystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1322
|
+
if (output.statusCode >= 300) {
|
|
1323
|
+
return de_GetSystemInstanceCommandError(output, context);
|
|
1324
|
+
}
|
|
1325
|
+
const data = await parseBody(output.body, context);
|
|
1326
|
+
let contents = {};
|
|
1327
|
+
contents = de_GetSystemInstanceResponse(data, context);
|
|
1328
|
+
const response = {
|
|
1329
|
+
$metadata: deserializeMetadata(output),
|
|
1330
|
+
...contents
|
|
1331
|
+
};
|
|
1332
|
+
return response;
|
|
1333
|
+
}, "de_GetSystemInstanceCommand");
|
|
1334
|
+
var de_GetSystemInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1335
|
+
const parsedOutput = {
|
|
1336
|
+
...output,
|
|
1337
|
+
body: await parseErrorBody(output.body, context)
|
|
1338
|
+
};
|
|
1339
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1340
|
+
switch (errorCode) {
|
|
1341
|
+
case "InternalFailureException":
|
|
1342
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1343
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1344
|
+
case "InvalidRequestException":
|
|
1345
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1346
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1347
|
+
case "ResourceNotFoundException":
|
|
1348
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1349
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1350
|
+
case "ThrottlingException":
|
|
1351
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1352
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1353
|
+
default:
|
|
1354
|
+
const parsedBody = parsedOutput.body;
|
|
1355
|
+
return throwDefaultError({
|
|
1356
|
+
output,
|
|
1357
|
+
parsedBody,
|
|
1358
|
+
errorCode
|
|
1359
|
+
});
|
|
1360
|
+
}
|
|
1361
|
+
}, "de_GetSystemInstanceCommandError");
|
|
1362
|
+
var de_GetSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1363
|
+
if (output.statusCode >= 300) {
|
|
1364
|
+
return de_GetSystemTemplateCommandError(output, context);
|
|
1365
|
+
}
|
|
1366
|
+
const data = await parseBody(output.body, context);
|
|
1367
|
+
let contents = {};
|
|
1368
|
+
contents = de_GetSystemTemplateResponse(data, context);
|
|
1369
|
+
const response = {
|
|
1370
|
+
$metadata: deserializeMetadata(output),
|
|
1371
|
+
...contents
|
|
1372
|
+
};
|
|
1373
|
+
return response;
|
|
1374
|
+
}, "de_GetSystemTemplateCommand");
|
|
1375
|
+
var de_GetSystemTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1376
|
+
const parsedOutput = {
|
|
1377
|
+
...output,
|
|
1378
|
+
body: await parseErrorBody(output.body, context)
|
|
1379
|
+
};
|
|
1380
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1381
|
+
switch (errorCode) {
|
|
1382
|
+
case "InternalFailureException":
|
|
1383
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1384
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1385
|
+
case "InvalidRequestException":
|
|
1386
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1387
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1388
|
+
case "ResourceNotFoundException":
|
|
1389
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1390
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1391
|
+
case "ThrottlingException":
|
|
1392
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1393
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1394
|
+
default:
|
|
1395
|
+
const parsedBody = parsedOutput.body;
|
|
1396
|
+
return throwDefaultError({
|
|
1397
|
+
output,
|
|
1398
|
+
parsedBody,
|
|
1399
|
+
errorCode
|
|
1400
|
+
});
|
|
1401
|
+
}
|
|
1402
|
+
}, "de_GetSystemTemplateCommandError");
|
|
1403
|
+
var de_GetSystemTemplateRevisionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1404
|
+
if (output.statusCode >= 300) {
|
|
1405
|
+
return de_GetSystemTemplateRevisionsCommandError(output, context);
|
|
1406
|
+
}
|
|
1407
|
+
const data = await parseBody(output.body, context);
|
|
1408
|
+
let contents = {};
|
|
1409
|
+
contents = de_GetSystemTemplateRevisionsResponse(data, context);
|
|
1410
|
+
const response = {
|
|
1411
|
+
$metadata: deserializeMetadata(output),
|
|
1412
|
+
...contents
|
|
1413
|
+
};
|
|
1414
|
+
return response;
|
|
1415
|
+
}, "de_GetSystemTemplateRevisionsCommand");
|
|
1416
|
+
var de_GetSystemTemplateRevisionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1417
|
+
const parsedOutput = {
|
|
1418
|
+
...output,
|
|
1419
|
+
body: await parseErrorBody(output.body, context)
|
|
1420
|
+
};
|
|
1421
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1422
|
+
switch (errorCode) {
|
|
1423
|
+
case "InternalFailureException":
|
|
1424
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1425
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1426
|
+
case "InvalidRequestException":
|
|
1427
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1428
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1429
|
+
case "ResourceNotFoundException":
|
|
1430
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1431
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1432
|
+
case "ThrottlingException":
|
|
1433
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1434
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1435
|
+
default:
|
|
1436
|
+
const parsedBody = parsedOutput.body;
|
|
1437
|
+
return throwDefaultError({
|
|
1438
|
+
output,
|
|
1439
|
+
parsedBody,
|
|
1440
|
+
errorCode
|
|
1441
|
+
});
|
|
1442
|
+
}
|
|
1443
|
+
}, "de_GetSystemTemplateRevisionsCommandError");
|
|
1444
|
+
var de_GetUploadStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1445
|
+
if (output.statusCode >= 300) {
|
|
1446
|
+
return de_GetUploadStatusCommandError(output, context);
|
|
1447
|
+
}
|
|
1448
|
+
const data = await parseBody(output.body, context);
|
|
1449
|
+
let contents = {};
|
|
1450
|
+
contents = de_GetUploadStatusResponse(data, context);
|
|
1451
|
+
const response = {
|
|
1452
|
+
$metadata: deserializeMetadata(output),
|
|
1453
|
+
...contents
|
|
1454
|
+
};
|
|
1455
|
+
return response;
|
|
1456
|
+
}, "de_GetUploadStatusCommand");
|
|
1457
|
+
var de_GetUploadStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1458
|
+
const parsedOutput = {
|
|
1459
|
+
...output,
|
|
1460
|
+
body: await parseErrorBody(output.body, context)
|
|
1461
|
+
};
|
|
1462
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1463
|
+
switch (errorCode) {
|
|
1464
|
+
case "InternalFailureException":
|
|
1465
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1466
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1467
|
+
case "InvalidRequestException":
|
|
1468
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1469
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1470
|
+
case "ResourceNotFoundException":
|
|
1471
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1472
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1473
|
+
case "ThrottlingException":
|
|
1474
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1475
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1476
|
+
default:
|
|
1477
|
+
const parsedBody = parsedOutput.body;
|
|
1478
|
+
return throwDefaultError({
|
|
1479
|
+
output,
|
|
1480
|
+
parsedBody,
|
|
1481
|
+
errorCode
|
|
1482
|
+
});
|
|
1483
|
+
}
|
|
1484
|
+
}, "de_GetUploadStatusCommandError");
|
|
1485
|
+
var de_ListFlowExecutionMessagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1486
|
+
if (output.statusCode >= 300) {
|
|
1487
|
+
return de_ListFlowExecutionMessagesCommandError(output, context);
|
|
1488
|
+
}
|
|
1489
|
+
const data = await parseBody(output.body, context);
|
|
1490
|
+
let contents = {};
|
|
1491
|
+
contents = de_ListFlowExecutionMessagesResponse(data, context);
|
|
1492
|
+
const response = {
|
|
1493
|
+
$metadata: deserializeMetadata(output),
|
|
1494
|
+
...contents
|
|
1495
|
+
};
|
|
1496
|
+
return response;
|
|
1497
|
+
}, "de_ListFlowExecutionMessagesCommand");
|
|
1498
|
+
var de_ListFlowExecutionMessagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1499
|
+
const parsedOutput = {
|
|
1500
|
+
...output,
|
|
1501
|
+
body: await parseErrorBody(output.body, context)
|
|
1502
|
+
};
|
|
1503
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1504
|
+
switch (errorCode) {
|
|
1505
|
+
case "InternalFailureException":
|
|
1506
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1507
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1508
|
+
case "InvalidRequestException":
|
|
1509
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1510
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1511
|
+
case "ResourceNotFoundException":
|
|
1512
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1513
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1514
|
+
case "ThrottlingException":
|
|
1515
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1516
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1517
|
+
default:
|
|
1518
|
+
const parsedBody = parsedOutput.body;
|
|
1519
|
+
return throwDefaultError({
|
|
1520
|
+
output,
|
|
1521
|
+
parsedBody,
|
|
1522
|
+
errorCode
|
|
1523
|
+
});
|
|
1524
|
+
}
|
|
1525
|
+
}, "de_ListFlowExecutionMessagesCommandError");
|
|
1526
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1527
|
+
if (output.statusCode >= 300) {
|
|
1528
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1529
|
+
}
|
|
1530
|
+
const data = await parseBody(output.body, context);
|
|
1531
|
+
let contents = {};
|
|
1532
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1533
|
+
const response = {
|
|
1534
|
+
$metadata: deserializeMetadata(output),
|
|
1535
|
+
...contents
|
|
1536
|
+
};
|
|
1537
|
+
return response;
|
|
1538
|
+
}, "de_ListTagsForResourceCommand");
|
|
1539
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1540
|
+
const parsedOutput = {
|
|
1541
|
+
...output,
|
|
1542
|
+
body: await parseErrorBody(output.body, context)
|
|
1543
|
+
};
|
|
1544
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1545
|
+
switch (errorCode) {
|
|
1546
|
+
case "InternalFailureException":
|
|
1547
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1548
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1549
|
+
case "InvalidRequestException":
|
|
1550
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1551
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1552
|
+
case "ResourceAlreadyExistsException":
|
|
1553
|
+
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
1554
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1555
|
+
case "ThrottlingException":
|
|
1556
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1557
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1558
|
+
default:
|
|
1559
|
+
const parsedBody = parsedOutput.body;
|
|
1560
|
+
return throwDefaultError({
|
|
1561
|
+
output,
|
|
1562
|
+
parsedBody,
|
|
1563
|
+
errorCode
|
|
1564
|
+
});
|
|
1565
|
+
}
|
|
1566
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1567
|
+
var de_SearchEntitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1568
|
+
if (output.statusCode >= 300) {
|
|
1569
|
+
return de_SearchEntitiesCommandError(output, context);
|
|
1570
|
+
}
|
|
1571
|
+
const data = await parseBody(output.body, context);
|
|
1572
|
+
let contents = {};
|
|
1573
|
+
contents = de_SearchEntitiesResponse(data, context);
|
|
1574
|
+
const response = {
|
|
1575
|
+
$metadata: deserializeMetadata(output),
|
|
1576
|
+
...contents
|
|
1577
|
+
};
|
|
1578
|
+
return response;
|
|
1579
|
+
}, "de_SearchEntitiesCommand");
|
|
1580
|
+
var de_SearchEntitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1581
|
+
const parsedOutput = {
|
|
1582
|
+
...output,
|
|
1583
|
+
body: await parseErrorBody(output.body, context)
|
|
1584
|
+
};
|
|
1585
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1586
|
+
switch (errorCode) {
|
|
1587
|
+
case "InternalFailureException":
|
|
1588
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1589
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1590
|
+
case "InvalidRequestException":
|
|
1591
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1592
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1593
|
+
case "ThrottlingException":
|
|
1594
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1595
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1596
|
+
default:
|
|
1597
|
+
const parsedBody = parsedOutput.body;
|
|
1598
|
+
return throwDefaultError({
|
|
1599
|
+
output,
|
|
1600
|
+
parsedBody,
|
|
1601
|
+
errorCode
|
|
1602
|
+
});
|
|
1603
|
+
}
|
|
1604
|
+
}, "de_SearchEntitiesCommandError");
|
|
1605
|
+
var de_SearchFlowExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1606
|
+
if (output.statusCode >= 300) {
|
|
1607
|
+
return de_SearchFlowExecutionsCommandError(output, context);
|
|
1608
|
+
}
|
|
1609
|
+
const data = await parseBody(output.body, context);
|
|
1610
|
+
let contents = {};
|
|
1611
|
+
contents = de_SearchFlowExecutionsResponse(data, context);
|
|
1612
|
+
const response = {
|
|
1613
|
+
$metadata: deserializeMetadata(output),
|
|
1614
|
+
...contents
|
|
1615
|
+
};
|
|
1616
|
+
return response;
|
|
1617
|
+
}, "de_SearchFlowExecutionsCommand");
|
|
1618
|
+
var de_SearchFlowExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1619
|
+
const parsedOutput = {
|
|
1620
|
+
...output,
|
|
1621
|
+
body: await parseErrorBody(output.body, context)
|
|
1622
|
+
};
|
|
1623
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1624
|
+
switch (errorCode) {
|
|
1625
|
+
case "InternalFailureException":
|
|
1626
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1627
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1628
|
+
case "InvalidRequestException":
|
|
1629
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1630
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1631
|
+
case "ResourceNotFoundException":
|
|
1632
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1633
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1634
|
+
case "ThrottlingException":
|
|
1635
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1636
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1637
|
+
default:
|
|
1638
|
+
const parsedBody = parsedOutput.body;
|
|
1639
|
+
return throwDefaultError({
|
|
1640
|
+
output,
|
|
1641
|
+
parsedBody,
|
|
1642
|
+
errorCode
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
}, "de_SearchFlowExecutionsCommandError");
|
|
1646
|
+
var de_SearchFlowTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1647
|
+
if (output.statusCode >= 300) {
|
|
1648
|
+
return de_SearchFlowTemplatesCommandError(output, context);
|
|
1649
|
+
}
|
|
1650
|
+
const data = await parseBody(output.body, context);
|
|
1651
|
+
let contents = {};
|
|
1652
|
+
contents = de_SearchFlowTemplatesResponse(data, context);
|
|
1653
|
+
const response = {
|
|
1654
|
+
$metadata: deserializeMetadata(output),
|
|
1655
|
+
...contents
|
|
1656
|
+
};
|
|
1657
|
+
return response;
|
|
1658
|
+
}, "de_SearchFlowTemplatesCommand");
|
|
1659
|
+
var de_SearchFlowTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1660
|
+
const parsedOutput = {
|
|
1661
|
+
...output,
|
|
1662
|
+
body: await parseErrorBody(output.body, context)
|
|
1663
|
+
};
|
|
1664
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1665
|
+
switch (errorCode) {
|
|
1666
|
+
case "InternalFailureException":
|
|
1667
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1668
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1669
|
+
case "InvalidRequestException":
|
|
1670
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1671
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1672
|
+
case "ThrottlingException":
|
|
1673
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1674
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1675
|
+
default:
|
|
1676
|
+
const parsedBody = parsedOutput.body;
|
|
1677
|
+
return throwDefaultError({
|
|
1678
|
+
output,
|
|
1679
|
+
parsedBody,
|
|
1680
|
+
errorCode
|
|
1681
|
+
});
|
|
1682
|
+
}
|
|
1683
|
+
}, "de_SearchFlowTemplatesCommandError");
|
|
1684
|
+
var de_SearchSystemInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1685
|
+
if (output.statusCode >= 300) {
|
|
1686
|
+
return de_SearchSystemInstancesCommandError(output, context);
|
|
1687
|
+
}
|
|
1688
|
+
const data = await parseBody(output.body, context);
|
|
1689
|
+
let contents = {};
|
|
1690
|
+
contents = de_SearchSystemInstancesResponse(data, context);
|
|
1691
|
+
const response = {
|
|
1692
|
+
$metadata: deserializeMetadata(output),
|
|
1693
|
+
...contents
|
|
1694
|
+
};
|
|
1695
|
+
return response;
|
|
1696
|
+
}, "de_SearchSystemInstancesCommand");
|
|
1697
|
+
var de_SearchSystemInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1698
|
+
const parsedOutput = {
|
|
1699
|
+
...output,
|
|
1700
|
+
body: await parseErrorBody(output.body, context)
|
|
1701
|
+
};
|
|
1702
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1703
|
+
switch (errorCode) {
|
|
1704
|
+
case "InternalFailureException":
|
|
1705
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1706
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1707
|
+
case "InvalidRequestException":
|
|
1708
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1709
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1710
|
+
case "ThrottlingException":
|
|
1711
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1712
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1713
|
+
default:
|
|
1714
|
+
const parsedBody = parsedOutput.body;
|
|
1715
|
+
return throwDefaultError({
|
|
1716
|
+
output,
|
|
1717
|
+
parsedBody,
|
|
1718
|
+
errorCode
|
|
1719
|
+
});
|
|
1720
|
+
}
|
|
1721
|
+
}, "de_SearchSystemInstancesCommandError");
|
|
1722
|
+
var de_SearchSystemTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1723
|
+
if (output.statusCode >= 300) {
|
|
1724
|
+
return de_SearchSystemTemplatesCommandError(output, context);
|
|
1725
|
+
}
|
|
1726
|
+
const data = await parseBody(output.body, context);
|
|
1727
|
+
let contents = {};
|
|
1728
|
+
contents = de_SearchSystemTemplatesResponse(data, context);
|
|
1729
|
+
const response = {
|
|
1730
|
+
$metadata: deserializeMetadata(output),
|
|
1731
|
+
...contents
|
|
1732
|
+
};
|
|
1733
|
+
return response;
|
|
1734
|
+
}, "de_SearchSystemTemplatesCommand");
|
|
1735
|
+
var de_SearchSystemTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1736
|
+
const parsedOutput = {
|
|
1737
|
+
...output,
|
|
1738
|
+
body: await parseErrorBody(output.body, context)
|
|
1739
|
+
};
|
|
1740
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1741
|
+
switch (errorCode) {
|
|
1742
|
+
case "InternalFailureException":
|
|
1743
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1744
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1745
|
+
case "InvalidRequestException":
|
|
1746
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1747
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1748
|
+
case "ThrottlingException":
|
|
1749
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1750
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1751
|
+
default:
|
|
1752
|
+
const parsedBody = parsedOutput.body;
|
|
1753
|
+
return throwDefaultError({
|
|
1754
|
+
output,
|
|
1755
|
+
parsedBody,
|
|
1756
|
+
errorCode
|
|
1757
|
+
});
|
|
1758
|
+
}
|
|
1759
|
+
}, "de_SearchSystemTemplatesCommandError");
|
|
1760
|
+
var de_SearchThingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1761
|
+
if (output.statusCode >= 300) {
|
|
1762
|
+
return de_SearchThingsCommandError(output, context);
|
|
1763
|
+
}
|
|
1764
|
+
const data = await parseBody(output.body, context);
|
|
1765
|
+
let contents = {};
|
|
1766
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1767
|
+
const response = {
|
|
1768
|
+
$metadata: deserializeMetadata(output),
|
|
1769
|
+
...contents
|
|
1770
|
+
};
|
|
1771
|
+
return response;
|
|
1772
|
+
}, "de_SearchThingsCommand");
|
|
1773
|
+
var de_SearchThingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1774
|
+
const parsedOutput = {
|
|
1775
|
+
...output,
|
|
1776
|
+
body: await parseErrorBody(output.body, context)
|
|
1777
|
+
};
|
|
1778
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1779
|
+
switch (errorCode) {
|
|
1780
|
+
case "InternalFailureException":
|
|
1781
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1782
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1783
|
+
case "InvalidRequestException":
|
|
1784
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1785
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1786
|
+
case "ResourceNotFoundException":
|
|
1787
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1788
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1789
|
+
case "ThrottlingException":
|
|
1790
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1791
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1792
|
+
default:
|
|
1793
|
+
const parsedBody = parsedOutput.body;
|
|
1794
|
+
return throwDefaultError({
|
|
1795
|
+
output,
|
|
1796
|
+
parsedBody,
|
|
1797
|
+
errorCode
|
|
1798
|
+
});
|
|
1799
|
+
}
|
|
1800
|
+
}, "de_SearchThingsCommandError");
|
|
1801
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1802
|
+
if (output.statusCode >= 300) {
|
|
1803
|
+
return de_TagResourceCommandError(output, context);
|
|
1804
|
+
}
|
|
1805
|
+
const data = await parseBody(output.body, context);
|
|
1806
|
+
let contents = {};
|
|
1807
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1808
|
+
const response = {
|
|
1809
|
+
$metadata: deserializeMetadata(output),
|
|
1810
|
+
...contents
|
|
1811
|
+
};
|
|
1812
|
+
return response;
|
|
1813
|
+
}, "de_TagResourceCommand");
|
|
1814
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1815
|
+
const parsedOutput = {
|
|
1816
|
+
...output,
|
|
1817
|
+
body: await parseErrorBody(output.body, context)
|
|
1818
|
+
};
|
|
1819
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1820
|
+
switch (errorCode) {
|
|
1821
|
+
case "InternalFailureException":
|
|
1822
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1823
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1824
|
+
case "InvalidRequestException":
|
|
1825
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1826
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1827
|
+
case "ResourceAlreadyExistsException":
|
|
1828
|
+
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
1829
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1830
|
+
case "ThrottlingException":
|
|
1831
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1832
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1833
|
+
default:
|
|
1834
|
+
const parsedBody = parsedOutput.body;
|
|
1835
|
+
return throwDefaultError({
|
|
1836
|
+
output,
|
|
1837
|
+
parsedBody,
|
|
1838
|
+
errorCode
|
|
1839
|
+
});
|
|
1840
|
+
}
|
|
1841
|
+
}, "de_TagResourceCommandError");
|
|
1842
|
+
var de_UndeploySystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1843
|
+
if (output.statusCode >= 300) {
|
|
1844
|
+
return de_UndeploySystemInstanceCommandError(output, context);
|
|
1845
|
+
}
|
|
1846
|
+
const data = await parseBody(output.body, context);
|
|
1847
|
+
let contents = {};
|
|
1848
|
+
contents = de_UndeploySystemInstanceResponse(data, context);
|
|
1849
|
+
const response = {
|
|
1850
|
+
$metadata: deserializeMetadata(output),
|
|
1851
|
+
...contents
|
|
1852
|
+
};
|
|
1853
|
+
return response;
|
|
1854
|
+
}, "de_UndeploySystemInstanceCommand");
|
|
1855
|
+
var de_UndeploySystemInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1856
|
+
const parsedOutput = {
|
|
1857
|
+
...output,
|
|
1858
|
+
body: await parseErrorBody(output.body, context)
|
|
1859
|
+
};
|
|
1860
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1861
|
+
switch (errorCode) {
|
|
1862
|
+
case "InternalFailureException":
|
|
1863
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1864
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1865
|
+
case "InvalidRequestException":
|
|
1866
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1867
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1868
|
+
case "ResourceInUseException":
|
|
1869
|
+
case "com.amazonaws.iotthingsgraph#ResourceInUseException":
|
|
1870
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1871
|
+
case "ResourceNotFoundException":
|
|
1872
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1873
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1874
|
+
case "ThrottlingException":
|
|
1875
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1876
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1877
|
+
default:
|
|
1878
|
+
const parsedBody = parsedOutput.body;
|
|
1879
|
+
return throwDefaultError({
|
|
1880
|
+
output,
|
|
1881
|
+
parsedBody,
|
|
1882
|
+
errorCode
|
|
1883
|
+
});
|
|
1884
|
+
}
|
|
1885
|
+
}, "de_UndeploySystemInstanceCommandError");
|
|
1886
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1887
|
+
if (output.statusCode >= 300) {
|
|
1888
|
+
return de_UntagResourceCommandError(output, context);
|
|
1889
|
+
}
|
|
1890
|
+
const data = await parseBody(output.body, context);
|
|
1891
|
+
let contents = {};
|
|
1892
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1893
|
+
const response = {
|
|
1894
|
+
$metadata: deserializeMetadata(output),
|
|
1895
|
+
...contents
|
|
1896
|
+
};
|
|
1897
|
+
return response;
|
|
1898
|
+
}, "de_UntagResourceCommand");
|
|
1899
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1900
|
+
const parsedOutput = {
|
|
1901
|
+
...output,
|
|
1902
|
+
body: await parseErrorBody(output.body, context)
|
|
1903
|
+
};
|
|
1904
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1905
|
+
switch (errorCode) {
|
|
1906
|
+
case "InternalFailureException":
|
|
1907
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1908
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1909
|
+
case "InvalidRequestException":
|
|
1910
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1911
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1912
|
+
case "ResourceAlreadyExistsException":
|
|
1913
|
+
case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
|
|
1914
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1915
|
+
case "ThrottlingException":
|
|
1916
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1917
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1918
|
+
default:
|
|
1919
|
+
const parsedBody = parsedOutput.body;
|
|
1920
|
+
return throwDefaultError({
|
|
1921
|
+
output,
|
|
1922
|
+
parsedBody,
|
|
1923
|
+
errorCode
|
|
1924
|
+
});
|
|
1925
|
+
}
|
|
1926
|
+
}, "de_UntagResourceCommandError");
|
|
1927
|
+
var de_UpdateFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1928
|
+
if (output.statusCode >= 300) {
|
|
1929
|
+
return de_UpdateFlowTemplateCommandError(output, context);
|
|
1930
|
+
}
|
|
1931
|
+
const data = await parseBody(output.body, context);
|
|
1932
|
+
let contents = {};
|
|
1933
|
+
contents = de_UpdateFlowTemplateResponse(data, context);
|
|
1934
|
+
const response = {
|
|
1935
|
+
$metadata: deserializeMetadata(output),
|
|
1936
|
+
...contents
|
|
1937
|
+
};
|
|
1938
|
+
return response;
|
|
1939
|
+
}, "de_UpdateFlowTemplateCommand");
|
|
1940
|
+
var de_UpdateFlowTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1941
|
+
const parsedOutput = {
|
|
1942
|
+
...output,
|
|
1943
|
+
body: await parseErrorBody(output.body, context)
|
|
1944
|
+
};
|
|
1945
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1946
|
+
switch (errorCode) {
|
|
1947
|
+
case "InternalFailureException":
|
|
1948
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1949
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1950
|
+
case "InvalidRequestException":
|
|
1951
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1952
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1953
|
+
case "ResourceNotFoundException":
|
|
1954
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1955
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1956
|
+
case "ThrottlingException":
|
|
1957
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1958
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1959
|
+
default:
|
|
1960
|
+
const parsedBody = parsedOutput.body;
|
|
1961
|
+
return throwDefaultError({
|
|
1962
|
+
output,
|
|
1963
|
+
parsedBody,
|
|
1964
|
+
errorCode
|
|
1965
|
+
});
|
|
1966
|
+
}
|
|
1967
|
+
}, "de_UpdateFlowTemplateCommandError");
|
|
1968
|
+
var de_UpdateSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1969
|
+
if (output.statusCode >= 300) {
|
|
1970
|
+
return de_UpdateSystemTemplateCommandError(output, context);
|
|
1971
|
+
}
|
|
1972
|
+
const data = await parseBody(output.body, context);
|
|
1973
|
+
let contents = {};
|
|
1974
|
+
contents = de_UpdateSystemTemplateResponse(data, context);
|
|
1975
|
+
const response = {
|
|
1976
|
+
$metadata: deserializeMetadata(output),
|
|
1977
|
+
...contents
|
|
1978
|
+
};
|
|
1979
|
+
return response;
|
|
1980
|
+
}, "de_UpdateSystemTemplateCommand");
|
|
1981
|
+
var de_UpdateSystemTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1982
|
+
const parsedOutput = {
|
|
1983
|
+
...output,
|
|
1984
|
+
body: await parseErrorBody(output.body, context)
|
|
1985
|
+
};
|
|
1986
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1987
|
+
switch (errorCode) {
|
|
1988
|
+
case "InternalFailureException":
|
|
1989
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
1990
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1991
|
+
case "InvalidRequestException":
|
|
1992
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
1993
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1994
|
+
case "ResourceNotFoundException":
|
|
1995
|
+
case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
|
|
1996
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1997
|
+
case "ThrottlingException":
|
|
1998
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
1999
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2000
|
+
default:
|
|
2001
|
+
const parsedBody = parsedOutput.body;
|
|
2002
|
+
return throwDefaultError({
|
|
2003
|
+
output,
|
|
2004
|
+
parsedBody,
|
|
2005
|
+
errorCode
|
|
2006
|
+
});
|
|
2007
|
+
}
|
|
2008
|
+
}, "de_UpdateSystemTemplateCommandError");
|
|
2009
|
+
var de_UploadEntityDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2010
|
+
if (output.statusCode >= 300) {
|
|
2011
|
+
return de_UploadEntityDefinitionsCommandError(output, context);
|
|
2012
|
+
}
|
|
2013
|
+
const data = await parseBody(output.body, context);
|
|
2014
|
+
let contents = {};
|
|
2015
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2016
|
+
const response = {
|
|
2017
|
+
$metadata: deserializeMetadata(output),
|
|
2018
|
+
...contents
|
|
2019
|
+
};
|
|
2020
|
+
return response;
|
|
2021
|
+
}, "de_UploadEntityDefinitionsCommand");
|
|
2022
|
+
var de_UploadEntityDefinitionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2023
|
+
const parsedOutput = {
|
|
2024
|
+
...output,
|
|
2025
|
+
body: await parseErrorBody(output.body, context)
|
|
2026
|
+
};
|
|
2027
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2028
|
+
switch (errorCode) {
|
|
2029
|
+
case "InternalFailureException":
|
|
2030
|
+
case "com.amazonaws.iotthingsgraph#InternalFailureException":
|
|
2031
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2032
|
+
case "InvalidRequestException":
|
|
2033
|
+
case "com.amazonaws.iotthingsgraph#InvalidRequestException":
|
|
2034
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2035
|
+
case "ThrottlingException":
|
|
2036
|
+
case "com.amazonaws.iotthingsgraph#ThrottlingException":
|
|
2037
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2038
|
+
default:
|
|
2039
|
+
const parsedBody = parsedOutput.body;
|
|
2040
|
+
return throwDefaultError({
|
|
2041
|
+
output,
|
|
2042
|
+
parsedBody,
|
|
2043
|
+
errorCode
|
|
2044
|
+
});
|
|
2045
|
+
}
|
|
2046
|
+
}, "de_UploadEntityDefinitionsCommandError");
|
|
2047
|
+
var de_InternalFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2048
|
+
const body = parsedOutput.body;
|
|
2049
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2050
|
+
const exception = new InternalFailureException({
|
|
2051
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2052
|
+
...deserialized
|
|
2053
|
+
});
|
|
2054
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2055
|
+
}, "de_InternalFailureExceptionRes");
|
|
2056
|
+
var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2057
|
+
const body = parsedOutput.body;
|
|
2058
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2059
|
+
const exception = new InvalidRequestException({
|
|
2060
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2061
|
+
...deserialized
|
|
2062
|
+
});
|
|
2063
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2064
|
+
}, "de_InvalidRequestExceptionRes");
|
|
2065
|
+
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2066
|
+
const body = parsedOutput.body;
|
|
2067
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2068
|
+
const exception = new LimitExceededException({
|
|
2069
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2070
|
+
...deserialized
|
|
2071
|
+
});
|
|
2072
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2073
|
+
}, "de_LimitExceededExceptionRes");
|
|
2074
|
+
var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2075
|
+
const body = parsedOutput.body;
|
|
2076
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2077
|
+
const exception = new ResourceAlreadyExistsException({
|
|
2078
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2079
|
+
...deserialized
|
|
2080
|
+
});
|
|
2081
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2082
|
+
}, "de_ResourceAlreadyExistsExceptionRes");
|
|
2083
|
+
var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2084
|
+
const body = parsedOutput.body;
|
|
2085
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2086
|
+
const exception = new ResourceInUseException({
|
|
2087
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2088
|
+
...deserialized
|
|
2089
|
+
});
|
|
2090
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2091
|
+
}, "de_ResourceInUseExceptionRes");
|
|
2092
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2093
|
+
const body = parsedOutput.body;
|
|
2094
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2095
|
+
const exception = new ResourceNotFoundException({
|
|
2096
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2097
|
+
...deserialized
|
|
2098
|
+
});
|
|
2099
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2100
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2101
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2102
|
+
const body = parsedOutput.body;
|
|
2103
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2104
|
+
const exception = new ThrottlingException({
|
|
2105
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2106
|
+
...deserialized
|
|
2107
|
+
});
|
|
2108
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2109
|
+
}, "de_ThrottlingExceptionRes");
|
|
2110
|
+
var se_SearchFlowExecutionsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2111
|
+
return (0, import_smithy_client.take)(input, {
|
|
2112
|
+
endTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2113
|
+
flowExecutionId: [],
|
|
2114
|
+
maxResults: [],
|
|
2115
|
+
nextToken: [],
|
|
2116
|
+
startTime: (_) => Math.round(_.getTime() / 1e3),
|
|
2117
|
+
systemInstanceId: []
|
|
2118
|
+
});
|
|
2119
|
+
}, "se_SearchFlowExecutionsRequest");
|
|
2120
|
+
var de_CreateFlowTemplateResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2121
|
+
return (0, import_smithy_client.take)(output, {
|
|
2122
|
+
summary: (_) => de_FlowTemplateSummary(_, context)
|
|
2123
|
+
});
|
|
2124
|
+
}, "de_CreateFlowTemplateResponse");
|
|
2125
|
+
var de_CreateSystemInstanceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2126
|
+
return (0, import_smithy_client.take)(output, {
|
|
2127
|
+
summary: (_) => de_SystemInstanceSummary(_, context)
|
|
2128
|
+
});
|
|
2129
|
+
}, "de_CreateSystemInstanceResponse");
|
|
2130
|
+
var de_CreateSystemTemplateResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2131
|
+
return (0, import_smithy_client.take)(output, {
|
|
2132
|
+
summary: (_) => de_SystemTemplateSummary(_, context)
|
|
2133
|
+
});
|
|
2134
|
+
}, "de_CreateSystemTemplateResponse");
|
|
2135
|
+
var de_DeploySystemInstanceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2136
|
+
return (0, import_smithy_client.take)(output, {
|
|
2137
|
+
greengrassDeploymentId: import_smithy_client.expectString,
|
|
2138
|
+
summary: (_) => de_SystemInstanceSummary(_, context)
|
|
2139
|
+
});
|
|
2140
|
+
}, "de_DeploySystemInstanceResponse");
|
|
2141
|
+
var de_EntityDescription = /* @__PURE__ */ __name((output, context) => {
|
|
2142
|
+
return (0, import_smithy_client.take)(output, {
|
|
2143
|
+
arn: import_smithy_client.expectString,
|
|
2144
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2145
|
+
definition: import_smithy_client._json,
|
|
2146
|
+
id: import_smithy_client.expectString,
|
|
2147
|
+
type: import_smithy_client.expectString
|
|
2148
|
+
});
|
|
2149
|
+
}, "de_EntityDescription");
|
|
2150
|
+
var de_EntityDescriptions = /* @__PURE__ */ __name((output, context) => {
|
|
2151
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2152
|
+
return de_EntityDescription(entry, context);
|
|
2153
|
+
});
|
|
2154
|
+
return retVal;
|
|
2155
|
+
}, "de_EntityDescriptions");
|
|
2156
|
+
var de_FlowExecutionMessage = /* @__PURE__ */ __name((output, context) => {
|
|
2157
|
+
return (0, import_smithy_client.take)(output, {
|
|
2158
|
+
eventType: import_smithy_client.expectString,
|
|
2159
|
+
messageId: import_smithy_client.expectString,
|
|
2160
|
+
payload: import_smithy_client.expectString,
|
|
2161
|
+
timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2162
|
+
});
|
|
2163
|
+
}, "de_FlowExecutionMessage");
|
|
2164
|
+
var de_FlowExecutionMessages = /* @__PURE__ */ __name((output, context) => {
|
|
2165
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2166
|
+
return de_FlowExecutionMessage(entry, context);
|
|
2167
|
+
});
|
|
2168
|
+
return retVal;
|
|
2169
|
+
}, "de_FlowExecutionMessages");
|
|
2170
|
+
var de_FlowExecutionSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
2171
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2172
|
+
return de_FlowExecutionSummary(entry, context);
|
|
2173
|
+
});
|
|
2174
|
+
return retVal;
|
|
2175
|
+
}, "de_FlowExecutionSummaries");
|
|
2176
|
+
var de_FlowExecutionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2177
|
+
return (0, import_smithy_client.take)(output, {
|
|
2178
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2179
|
+
flowExecutionId: import_smithy_client.expectString,
|
|
2180
|
+
flowTemplateId: import_smithy_client.expectString,
|
|
2181
|
+
status: import_smithy_client.expectString,
|
|
2182
|
+
systemInstanceId: import_smithy_client.expectString,
|
|
2183
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2184
|
+
});
|
|
2185
|
+
}, "de_FlowExecutionSummary");
|
|
2186
|
+
var de_FlowTemplateDescription = /* @__PURE__ */ __name((output, context) => {
|
|
2187
|
+
return (0, import_smithy_client.take)(output, {
|
|
2188
|
+
definition: import_smithy_client._json,
|
|
2189
|
+
summary: (_) => de_FlowTemplateSummary(_, context),
|
|
2190
|
+
validatedNamespaceVersion: import_smithy_client.expectLong
|
|
2191
|
+
});
|
|
2192
|
+
}, "de_FlowTemplateDescription");
|
|
2193
|
+
var de_FlowTemplateSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
2194
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2195
|
+
return de_FlowTemplateSummary(entry, context);
|
|
2196
|
+
});
|
|
2197
|
+
return retVal;
|
|
2198
|
+
}, "de_FlowTemplateSummaries");
|
|
2199
|
+
var de_FlowTemplateSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2200
|
+
return (0, import_smithy_client.take)(output, {
|
|
2201
|
+
arn: import_smithy_client.expectString,
|
|
2202
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2203
|
+
id: import_smithy_client.expectString,
|
|
2204
|
+
revisionNumber: import_smithy_client.expectLong
|
|
2205
|
+
});
|
|
2206
|
+
}, "de_FlowTemplateSummary");
|
|
2207
|
+
var de_GetEntitiesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2208
|
+
return (0, import_smithy_client.take)(output, {
|
|
2209
|
+
descriptions: (_) => de_EntityDescriptions(_, context)
|
|
2210
|
+
});
|
|
2211
|
+
}, "de_GetEntitiesResponse");
|
|
2212
|
+
var de_GetFlowTemplateResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2213
|
+
return (0, import_smithy_client.take)(output, {
|
|
2214
|
+
description: (_) => de_FlowTemplateDescription(_, context)
|
|
2215
|
+
});
|
|
2216
|
+
}, "de_GetFlowTemplateResponse");
|
|
2217
|
+
var de_GetFlowTemplateRevisionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2218
|
+
return (0, import_smithy_client.take)(output, {
|
|
2219
|
+
nextToken: import_smithy_client.expectString,
|
|
2220
|
+
summaries: (_) => de_FlowTemplateSummaries(_, context)
|
|
2221
|
+
});
|
|
2222
|
+
}, "de_GetFlowTemplateRevisionsResponse");
|
|
2223
|
+
var de_GetSystemInstanceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2224
|
+
return (0, import_smithy_client.take)(output, {
|
|
2225
|
+
description: (_) => de_SystemInstanceDescription(_, context)
|
|
2226
|
+
});
|
|
2227
|
+
}, "de_GetSystemInstanceResponse");
|
|
2228
|
+
var de_GetSystemTemplateResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2229
|
+
return (0, import_smithy_client.take)(output, {
|
|
2230
|
+
description: (_) => de_SystemTemplateDescription(_, context)
|
|
2231
|
+
});
|
|
2232
|
+
}, "de_GetSystemTemplateResponse");
|
|
2233
|
+
var de_GetSystemTemplateRevisionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2234
|
+
return (0, import_smithy_client.take)(output, {
|
|
2235
|
+
nextToken: import_smithy_client.expectString,
|
|
2236
|
+
summaries: (_) => de_SystemTemplateSummaries(_, context)
|
|
2237
|
+
});
|
|
2238
|
+
}, "de_GetSystemTemplateRevisionsResponse");
|
|
2239
|
+
var de_GetUploadStatusResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2240
|
+
return (0, import_smithy_client.take)(output, {
|
|
2241
|
+
createdDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2242
|
+
failureReason: import_smithy_client._json,
|
|
2243
|
+
namespaceArn: import_smithy_client.expectString,
|
|
2244
|
+
namespaceName: import_smithy_client.expectString,
|
|
2245
|
+
namespaceVersion: import_smithy_client.expectLong,
|
|
2246
|
+
uploadId: import_smithy_client.expectString,
|
|
2247
|
+
uploadStatus: import_smithy_client.expectString
|
|
2248
|
+
});
|
|
2249
|
+
}, "de_GetUploadStatusResponse");
|
|
2250
|
+
var de_ListFlowExecutionMessagesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2251
|
+
return (0, import_smithy_client.take)(output, {
|
|
2252
|
+
messages: (_) => de_FlowExecutionMessages(_, context),
|
|
2253
|
+
nextToken: import_smithy_client.expectString
|
|
2254
|
+
});
|
|
2255
|
+
}, "de_ListFlowExecutionMessagesResponse");
|
|
2256
|
+
var de_SearchEntitiesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2257
|
+
return (0, import_smithy_client.take)(output, {
|
|
2258
|
+
descriptions: (_) => de_EntityDescriptions(_, context),
|
|
2259
|
+
nextToken: import_smithy_client.expectString
|
|
2260
|
+
});
|
|
2261
|
+
}, "de_SearchEntitiesResponse");
|
|
2262
|
+
var de_SearchFlowExecutionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2263
|
+
return (0, import_smithy_client.take)(output, {
|
|
2264
|
+
nextToken: import_smithy_client.expectString,
|
|
2265
|
+
summaries: (_) => de_FlowExecutionSummaries(_, context)
|
|
2266
|
+
});
|
|
2267
|
+
}, "de_SearchFlowExecutionsResponse");
|
|
2268
|
+
var de_SearchFlowTemplatesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2269
|
+
return (0, import_smithy_client.take)(output, {
|
|
2270
|
+
nextToken: import_smithy_client.expectString,
|
|
2271
|
+
summaries: (_) => de_FlowTemplateSummaries(_, context)
|
|
2272
|
+
});
|
|
2273
|
+
}, "de_SearchFlowTemplatesResponse");
|
|
2274
|
+
var de_SearchSystemInstancesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2275
|
+
return (0, import_smithy_client.take)(output, {
|
|
2276
|
+
nextToken: import_smithy_client.expectString,
|
|
2277
|
+
summaries: (_) => de_SystemInstanceSummaries(_, context)
|
|
2278
|
+
});
|
|
2279
|
+
}, "de_SearchSystemInstancesResponse");
|
|
2280
|
+
var de_SearchSystemTemplatesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2281
|
+
return (0, import_smithy_client.take)(output, {
|
|
2282
|
+
nextToken: import_smithy_client.expectString,
|
|
2283
|
+
summaries: (_) => de_SystemTemplateSummaries(_, context)
|
|
2284
|
+
});
|
|
2285
|
+
}, "de_SearchSystemTemplatesResponse");
|
|
2286
|
+
var de_SystemInstanceDescription = /* @__PURE__ */ __name((output, context) => {
|
|
2287
|
+
return (0, import_smithy_client.take)(output, {
|
|
2288
|
+
definition: import_smithy_client._json,
|
|
2289
|
+
flowActionsRoleArn: import_smithy_client.expectString,
|
|
2290
|
+
metricsConfiguration: import_smithy_client._json,
|
|
2291
|
+
s3BucketName: import_smithy_client.expectString,
|
|
2292
|
+
summary: (_) => de_SystemInstanceSummary(_, context),
|
|
2293
|
+
validatedDependencyRevisions: import_smithy_client._json,
|
|
2294
|
+
validatedNamespaceVersion: import_smithy_client.expectLong
|
|
2295
|
+
});
|
|
2296
|
+
}, "de_SystemInstanceDescription");
|
|
2297
|
+
var de_SystemInstanceSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
2298
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2299
|
+
return de_SystemInstanceSummary(entry, context);
|
|
2300
|
+
});
|
|
2301
|
+
return retVal;
|
|
2302
|
+
}, "de_SystemInstanceSummaries");
|
|
2303
|
+
var de_SystemInstanceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2304
|
+
return (0, import_smithy_client.take)(output, {
|
|
2305
|
+
arn: import_smithy_client.expectString,
|
|
2306
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2307
|
+
greengrassGroupId: import_smithy_client.expectString,
|
|
2308
|
+
greengrassGroupName: import_smithy_client.expectString,
|
|
2309
|
+
greengrassGroupVersionId: import_smithy_client.expectString,
|
|
2310
|
+
id: import_smithy_client.expectString,
|
|
2311
|
+
status: import_smithy_client.expectString,
|
|
2312
|
+
target: import_smithy_client.expectString,
|
|
2313
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2314
|
+
});
|
|
2315
|
+
}, "de_SystemInstanceSummary");
|
|
2316
|
+
var de_SystemTemplateDescription = /* @__PURE__ */ __name((output, context) => {
|
|
2317
|
+
return (0, import_smithy_client.take)(output, {
|
|
2318
|
+
definition: import_smithy_client._json,
|
|
2319
|
+
summary: (_) => de_SystemTemplateSummary(_, context),
|
|
2320
|
+
validatedNamespaceVersion: import_smithy_client.expectLong
|
|
2321
|
+
});
|
|
2322
|
+
}, "de_SystemTemplateDescription");
|
|
2323
|
+
var de_SystemTemplateSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
2324
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2325
|
+
return de_SystemTemplateSummary(entry, context);
|
|
2326
|
+
});
|
|
2327
|
+
return retVal;
|
|
2328
|
+
}, "de_SystemTemplateSummaries");
|
|
2329
|
+
var de_SystemTemplateSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2330
|
+
return (0, import_smithy_client.take)(output, {
|
|
2331
|
+
arn: import_smithy_client.expectString,
|
|
2332
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2333
|
+
id: import_smithy_client.expectString,
|
|
2334
|
+
revisionNumber: import_smithy_client.expectLong
|
|
2335
|
+
});
|
|
2336
|
+
}, "de_SystemTemplateSummary");
|
|
2337
|
+
var de_UndeploySystemInstanceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2338
|
+
return (0, import_smithy_client.take)(output, {
|
|
2339
|
+
summary: (_) => de_SystemInstanceSummary(_, context)
|
|
2340
|
+
});
|
|
2341
|
+
}, "de_UndeploySystemInstanceResponse");
|
|
2342
|
+
var de_UpdateFlowTemplateResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2343
|
+
return (0, import_smithy_client.take)(output, {
|
|
2344
|
+
summary: (_) => de_FlowTemplateSummary(_, context)
|
|
2345
|
+
});
|
|
2346
|
+
}, "de_UpdateFlowTemplateResponse");
|
|
2347
|
+
var de_UpdateSystemTemplateResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2348
|
+
return (0, import_smithy_client.take)(output, {
|
|
2349
|
+
summary: (_) => de_SystemTemplateSummary(_, context)
|
|
2350
|
+
});
|
|
2351
|
+
}, "de_UpdateSystemTemplateResponse");
|
|
2352
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2353
|
+
httpStatusCode: output.statusCode,
|
|
2354
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2355
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2356
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2357
|
+
}), "deserializeMetadata");
|
|
2358
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2359
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(IoTThingsGraphServiceException);
|
|
2360
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
2361
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2362
|
+
const contents = {
|
|
2363
|
+
protocol,
|
|
2364
|
+
hostname,
|
|
2365
|
+
port,
|
|
2366
|
+
method: "POST",
|
|
2367
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2368
|
+
headers
|
|
2369
|
+
};
|
|
2370
|
+
if (resolvedHostname !== void 0) {
|
|
2371
|
+
contents.hostname = resolvedHostname;
|
|
2372
|
+
}
|
|
2373
|
+
if (body !== void 0) {
|
|
2374
|
+
contents.body = body;
|
|
2375
|
+
}
|
|
2376
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
2377
|
+
}, "buildHttpRpcRequest");
|
|
2378
|
+
function sharedHeaders(operation) {
|
|
2379
|
+
return {
|
|
2380
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2381
|
+
"x-amz-target": `IotThingsGraphFrontEndService.${operation}`
|
|
2382
|
+
};
|
|
2383
|
+
}
|
|
2384
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
2385
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2386
|
+
if (encoded.length) {
|
|
2387
|
+
return JSON.parse(encoded);
|
|
2388
|
+
}
|
|
2389
|
+
return {};
|
|
2390
|
+
}), "parseBody");
|
|
2391
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2392
|
+
const value = await parseBody(errorBody, context);
|
|
2393
|
+
value.message = value.message ?? value.Message;
|
|
2394
|
+
return value;
|
|
2395
|
+
}, "parseErrorBody");
|
|
2396
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2397
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2398
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2399
|
+
let cleanValue = rawValue;
|
|
2400
|
+
if (typeof cleanValue === "number") {
|
|
2401
|
+
cleanValue = cleanValue.toString();
|
|
2402
|
+
}
|
|
2403
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2404
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2405
|
+
}
|
|
2406
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2407
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2408
|
+
}
|
|
2409
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2410
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2411
|
+
}
|
|
2412
|
+
return cleanValue;
|
|
2413
|
+
}, "sanitizeErrorCode");
|
|
2414
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2415
|
+
if (headerKey !== void 0) {
|
|
2416
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2417
|
+
}
|
|
2418
|
+
if (data.code !== void 0) {
|
|
2419
|
+
return sanitizeErrorCode(data.code);
|
|
2420
|
+
}
|
|
2421
|
+
if (data["__type"] !== void 0) {
|
|
2422
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2423
|
+
}
|
|
2424
|
+
}, "loadRestJsonErrorCode");
|
|
2425
|
+
|
|
2426
|
+
// src/commands/AssociateEntityToThingCommand.ts
|
|
2427
|
+
var _AssociateEntityToThingCommand = class _AssociateEntityToThingCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2428
|
+
...commonParams
|
|
2429
|
+
}).m(function(Command, cs, config, o) {
|
|
2430
|
+
return [
|
|
2431
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2432
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2433
|
+
];
|
|
2434
|
+
}).s("IotThingsGraphFrontEndService", "AssociateEntityToThing", {}).n("IoTThingsGraphClient", "AssociateEntityToThingCommand").f(void 0, void 0).ser(se_AssociateEntityToThingCommand).de(de_AssociateEntityToThingCommand).build() {
|
|
2435
|
+
};
|
|
2436
|
+
__name(_AssociateEntityToThingCommand, "AssociateEntityToThingCommand");
|
|
2437
|
+
var AssociateEntityToThingCommand = _AssociateEntityToThingCommand;
|
|
2438
|
+
|
|
2439
|
+
// src/commands/CreateFlowTemplateCommand.ts
|
|
2440
|
+
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
var _CreateFlowTemplateCommand = class _CreateFlowTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2445
|
+
...commonParams
|
|
2446
|
+
}).m(function(Command, cs, config, o) {
|
|
2447
|
+
return [
|
|
2448
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2449
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2450
|
+
];
|
|
2451
|
+
}).s("IotThingsGraphFrontEndService", "CreateFlowTemplate", {}).n("IoTThingsGraphClient", "CreateFlowTemplateCommand").f(void 0, void 0).ser(se_CreateFlowTemplateCommand).de(de_CreateFlowTemplateCommand).build() {
|
|
2452
|
+
};
|
|
2453
|
+
__name(_CreateFlowTemplateCommand, "CreateFlowTemplateCommand");
|
|
2454
|
+
var CreateFlowTemplateCommand = _CreateFlowTemplateCommand;
|
|
2455
|
+
|
|
2456
|
+
// src/commands/CreateSystemInstanceCommand.ts
|
|
2457
|
+
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
var _CreateSystemInstanceCommand = class _CreateSystemInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2462
|
+
...commonParams
|
|
2463
|
+
}).m(function(Command, cs, config, o) {
|
|
2464
|
+
return [
|
|
2465
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2466
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2467
|
+
];
|
|
2468
|
+
}).s("IotThingsGraphFrontEndService", "CreateSystemInstance", {}).n("IoTThingsGraphClient", "CreateSystemInstanceCommand").f(void 0, void 0).ser(se_CreateSystemInstanceCommand).de(de_CreateSystemInstanceCommand).build() {
|
|
2469
|
+
};
|
|
2470
|
+
__name(_CreateSystemInstanceCommand, "CreateSystemInstanceCommand");
|
|
2471
|
+
var CreateSystemInstanceCommand = _CreateSystemInstanceCommand;
|
|
2472
|
+
|
|
2473
|
+
// src/commands/CreateSystemTemplateCommand.ts
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
|
|
2477
|
+
|
|
2478
|
+
var _CreateSystemTemplateCommand = class _CreateSystemTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2479
|
+
...commonParams
|
|
2480
|
+
}).m(function(Command, cs, config, o) {
|
|
2481
|
+
return [
|
|
2482
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2483
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2484
|
+
];
|
|
2485
|
+
}).s("IotThingsGraphFrontEndService", "CreateSystemTemplate", {}).n("IoTThingsGraphClient", "CreateSystemTemplateCommand").f(void 0, void 0).ser(se_CreateSystemTemplateCommand).de(de_CreateSystemTemplateCommand).build() {
|
|
2486
|
+
};
|
|
2487
|
+
__name(_CreateSystemTemplateCommand, "CreateSystemTemplateCommand");
|
|
2488
|
+
var CreateSystemTemplateCommand = _CreateSystemTemplateCommand;
|
|
2489
|
+
|
|
2490
|
+
// src/commands/DeleteFlowTemplateCommand.ts
|
|
2491
|
+
|
|
2492
|
+
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
var _DeleteFlowTemplateCommand = class _DeleteFlowTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2496
|
+
...commonParams
|
|
2497
|
+
}).m(function(Command, cs, config, o) {
|
|
2498
|
+
return [
|
|
2499
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2500
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2501
|
+
];
|
|
2502
|
+
}).s("IotThingsGraphFrontEndService", "DeleteFlowTemplate", {}).n("IoTThingsGraphClient", "DeleteFlowTemplateCommand").f(void 0, void 0).ser(se_DeleteFlowTemplateCommand).de(de_DeleteFlowTemplateCommand).build() {
|
|
2503
|
+
};
|
|
2504
|
+
__name(_DeleteFlowTemplateCommand, "DeleteFlowTemplateCommand");
|
|
2505
|
+
var DeleteFlowTemplateCommand = _DeleteFlowTemplateCommand;
|
|
2506
|
+
|
|
2507
|
+
// src/commands/DeleteNamespaceCommand.ts
|
|
2508
|
+
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
var _DeleteNamespaceCommand = class _DeleteNamespaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2513
|
+
...commonParams
|
|
2514
|
+
}).m(function(Command, cs, config, o) {
|
|
2515
|
+
return [
|
|
2516
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2517
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2518
|
+
];
|
|
2519
|
+
}).s("IotThingsGraphFrontEndService", "DeleteNamespace", {}).n("IoTThingsGraphClient", "DeleteNamespaceCommand").f(void 0, void 0).ser(se_DeleteNamespaceCommand).de(de_DeleteNamespaceCommand).build() {
|
|
2520
|
+
};
|
|
2521
|
+
__name(_DeleteNamespaceCommand, "DeleteNamespaceCommand");
|
|
2522
|
+
var DeleteNamespaceCommand = _DeleteNamespaceCommand;
|
|
2523
|
+
|
|
2524
|
+
// src/commands/DeleteSystemInstanceCommand.ts
|
|
2525
|
+
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
var _DeleteSystemInstanceCommand = class _DeleteSystemInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2530
|
+
...commonParams
|
|
2531
|
+
}).m(function(Command, cs, config, o) {
|
|
2532
|
+
return [
|
|
2533
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2534
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2535
|
+
];
|
|
2536
|
+
}).s("IotThingsGraphFrontEndService", "DeleteSystemInstance", {}).n("IoTThingsGraphClient", "DeleteSystemInstanceCommand").f(void 0, void 0).ser(se_DeleteSystemInstanceCommand).de(de_DeleteSystemInstanceCommand).build() {
|
|
2537
|
+
};
|
|
2538
|
+
__name(_DeleteSystemInstanceCommand, "DeleteSystemInstanceCommand");
|
|
2539
|
+
var DeleteSystemInstanceCommand = _DeleteSystemInstanceCommand;
|
|
2540
|
+
|
|
2541
|
+
// src/commands/DeleteSystemTemplateCommand.ts
|
|
2542
|
+
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
var _DeleteSystemTemplateCommand = class _DeleteSystemTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2547
|
+
...commonParams
|
|
2548
|
+
}).m(function(Command, cs, config, o) {
|
|
2549
|
+
return [
|
|
2550
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2551
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2552
|
+
];
|
|
2553
|
+
}).s("IotThingsGraphFrontEndService", "DeleteSystemTemplate", {}).n("IoTThingsGraphClient", "DeleteSystemTemplateCommand").f(void 0, void 0).ser(se_DeleteSystemTemplateCommand).de(de_DeleteSystemTemplateCommand).build() {
|
|
2554
|
+
};
|
|
2555
|
+
__name(_DeleteSystemTemplateCommand, "DeleteSystemTemplateCommand");
|
|
2556
|
+
var DeleteSystemTemplateCommand = _DeleteSystemTemplateCommand;
|
|
2557
|
+
|
|
2558
|
+
// src/commands/DeploySystemInstanceCommand.ts
|
|
2559
|
+
|
|
2560
|
+
|
|
2561
|
+
|
|
2562
|
+
|
|
2563
|
+
var _DeploySystemInstanceCommand = class _DeploySystemInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2564
|
+
...commonParams
|
|
2565
|
+
}).m(function(Command, cs, config, o) {
|
|
2566
|
+
return [
|
|
2567
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2568
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2569
|
+
];
|
|
2570
|
+
}).s("IotThingsGraphFrontEndService", "DeploySystemInstance", {}).n("IoTThingsGraphClient", "DeploySystemInstanceCommand").f(void 0, void 0).ser(se_DeploySystemInstanceCommand).de(de_DeploySystemInstanceCommand).build() {
|
|
2571
|
+
};
|
|
2572
|
+
__name(_DeploySystemInstanceCommand, "DeploySystemInstanceCommand");
|
|
2573
|
+
var DeploySystemInstanceCommand = _DeploySystemInstanceCommand;
|
|
2574
|
+
|
|
2575
|
+
// src/commands/DeprecateFlowTemplateCommand.ts
|
|
2576
|
+
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
var _DeprecateFlowTemplateCommand = class _DeprecateFlowTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2581
|
+
...commonParams
|
|
2582
|
+
}).m(function(Command, cs, config, o) {
|
|
2583
|
+
return [
|
|
2584
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2585
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2586
|
+
];
|
|
2587
|
+
}).s("IotThingsGraphFrontEndService", "DeprecateFlowTemplate", {}).n("IoTThingsGraphClient", "DeprecateFlowTemplateCommand").f(void 0, void 0).ser(se_DeprecateFlowTemplateCommand).de(de_DeprecateFlowTemplateCommand).build() {
|
|
2588
|
+
};
|
|
2589
|
+
__name(_DeprecateFlowTemplateCommand, "DeprecateFlowTemplateCommand");
|
|
2590
|
+
var DeprecateFlowTemplateCommand = _DeprecateFlowTemplateCommand;
|
|
2591
|
+
|
|
2592
|
+
// src/commands/DeprecateSystemTemplateCommand.ts
|
|
2593
|
+
|
|
2594
|
+
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
var _DeprecateSystemTemplateCommand = class _DeprecateSystemTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2598
|
+
...commonParams
|
|
2599
|
+
}).m(function(Command, cs, config, o) {
|
|
2600
|
+
return [
|
|
2601
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2602
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2603
|
+
];
|
|
2604
|
+
}).s("IotThingsGraphFrontEndService", "DeprecateSystemTemplate", {}).n("IoTThingsGraphClient", "DeprecateSystemTemplateCommand").f(void 0, void 0).ser(se_DeprecateSystemTemplateCommand).de(de_DeprecateSystemTemplateCommand).build() {
|
|
2605
|
+
};
|
|
2606
|
+
__name(_DeprecateSystemTemplateCommand, "DeprecateSystemTemplateCommand");
|
|
2607
|
+
var DeprecateSystemTemplateCommand = _DeprecateSystemTemplateCommand;
|
|
2608
|
+
|
|
2609
|
+
// src/commands/DescribeNamespaceCommand.ts
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
|
|
2613
|
+
|
|
2614
|
+
var _DescribeNamespaceCommand = class _DescribeNamespaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2615
|
+
...commonParams
|
|
2616
|
+
}).m(function(Command, cs, config, o) {
|
|
2617
|
+
return [
|
|
2618
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2619
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2620
|
+
];
|
|
2621
|
+
}).s("IotThingsGraphFrontEndService", "DescribeNamespace", {}).n("IoTThingsGraphClient", "DescribeNamespaceCommand").f(void 0, void 0).ser(se_DescribeNamespaceCommand).de(de_DescribeNamespaceCommand).build() {
|
|
2622
|
+
};
|
|
2623
|
+
__name(_DescribeNamespaceCommand, "DescribeNamespaceCommand");
|
|
2624
|
+
var DescribeNamespaceCommand = _DescribeNamespaceCommand;
|
|
2625
|
+
|
|
2626
|
+
// src/commands/DissociateEntityFromThingCommand.ts
|
|
2627
|
+
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
|
|
2631
|
+
var _DissociateEntityFromThingCommand = class _DissociateEntityFromThingCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2632
|
+
...commonParams
|
|
2633
|
+
}).m(function(Command, cs, config, o) {
|
|
2634
|
+
return [
|
|
2635
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2636
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2637
|
+
];
|
|
2638
|
+
}).s("IotThingsGraphFrontEndService", "DissociateEntityFromThing", {}).n("IoTThingsGraphClient", "DissociateEntityFromThingCommand").f(void 0, void 0).ser(se_DissociateEntityFromThingCommand).de(de_DissociateEntityFromThingCommand).build() {
|
|
2639
|
+
};
|
|
2640
|
+
__name(_DissociateEntityFromThingCommand, "DissociateEntityFromThingCommand");
|
|
2641
|
+
var DissociateEntityFromThingCommand = _DissociateEntityFromThingCommand;
|
|
2642
|
+
|
|
2643
|
+
// src/commands/GetEntitiesCommand.ts
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
var _GetEntitiesCommand = class _GetEntitiesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2649
|
+
...commonParams
|
|
2650
|
+
}).m(function(Command, cs, config, o) {
|
|
2651
|
+
return [
|
|
2652
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2653
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2654
|
+
];
|
|
2655
|
+
}).s("IotThingsGraphFrontEndService", "GetEntities", {}).n("IoTThingsGraphClient", "GetEntitiesCommand").f(void 0, void 0).ser(se_GetEntitiesCommand).de(de_GetEntitiesCommand).build() {
|
|
2656
|
+
};
|
|
2657
|
+
__name(_GetEntitiesCommand, "GetEntitiesCommand");
|
|
2658
|
+
var GetEntitiesCommand = _GetEntitiesCommand;
|
|
2659
|
+
|
|
2660
|
+
// src/commands/GetFlowTemplateCommand.ts
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
|
|
2664
|
+
|
|
2665
|
+
var _GetFlowTemplateCommand = class _GetFlowTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2666
|
+
...commonParams
|
|
2667
|
+
}).m(function(Command, cs, config, o) {
|
|
2668
|
+
return [
|
|
2669
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2670
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2671
|
+
];
|
|
2672
|
+
}).s("IotThingsGraphFrontEndService", "GetFlowTemplate", {}).n("IoTThingsGraphClient", "GetFlowTemplateCommand").f(void 0, void 0).ser(se_GetFlowTemplateCommand).de(de_GetFlowTemplateCommand).build() {
|
|
2673
|
+
};
|
|
2674
|
+
__name(_GetFlowTemplateCommand, "GetFlowTemplateCommand");
|
|
2675
|
+
var GetFlowTemplateCommand = _GetFlowTemplateCommand;
|
|
2676
|
+
|
|
2677
|
+
// src/commands/GetFlowTemplateRevisionsCommand.ts
|
|
2678
|
+
|
|
2679
|
+
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
var _GetFlowTemplateRevisionsCommand = class _GetFlowTemplateRevisionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2683
|
+
...commonParams
|
|
2684
|
+
}).m(function(Command, cs, config, o) {
|
|
2685
|
+
return [
|
|
2686
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2687
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2688
|
+
];
|
|
2689
|
+
}).s("IotThingsGraphFrontEndService", "GetFlowTemplateRevisions", {}).n("IoTThingsGraphClient", "GetFlowTemplateRevisionsCommand").f(void 0, void 0).ser(se_GetFlowTemplateRevisionsCommand).de(de_GetFlowTemplateRevisionsCommand).build() {
|
|
2690
|
+
};
|
|
2691
|
+
__name(_GetFlowTemplateRevisionsCommand, "GetFlowTemplateRevisionsCommand");
|
|
2692
|
+
var GetFlowTemplateRevisionsCommand = _GetFlowTemplateRevisionsCommand;
|
|
2693
|
+
|
|
2694
|
+
// src/commands/GetNamespaceDeletionStatusCommand.ts
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
var _GetNamespaceDeletionStatusCommand = class _GetNamespaceDeletionStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2700
|
+
...commonParams
|
|
2701
|
+
}).m(function(Command, cs, config, o) {
|
|
2702
|
+
return [
|
|
2703
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2704
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2705
|
+
];
|
|
2706
|
+
}).s("IotThingsGraphFrontEndService", "GetNamespaceDeletionStatus", {}).n("IoTThingsGraphClient", "GetNamespaceDeletionStatusCommand").f(void 0, void 0).ser(se_GetNamespaceDeletionStatusCommand).de(de_GetNamespaceDeletionStatusCommand).build() {
|
|
2707
|
+
};
|
|
2708
|
+
__name(_GetNamespaceDeletionStatusCommand, "GetNamespaceDeletionStatusCommand");
|
|
2709
|
+
var GetNamespaceDeletionStatusCommand = _GetNamespaceDeletionStatusCommand;
|
|
2710
|
+
|
|
2711
|
+
// src/commands/GetSystemInstanceCommand.ts
|
|
2712
|
+
|
|
2713
|
+
|
|
2714
|
+
|
|
2715
|
+
|
|
2716
|
+
var _GetSystemInstanceCommand = class _GetSystemInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2717
|
+
...commonParams
|
|
2718
|
+
}).m(function(Command, cs, config, o) {
|
|
2719
|
+
return [
|
|
2720
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2721
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2722
|
+
];
|
|
2723
|
+
}).s("IotThingsGraphFrontEndService", "GetSystemInstance", {}).n("IoTThingsGraphClient", "GetSystemInstanceCommand").f(void 0, void 0).ser(se_GetSystemInstanceCommand).de(de_GetSystemInstanceCommand).build() {
|
|
2724
|
+
};
|
|
2725
|
+
__name(_GetSystemInstanceCommand, "GetSystemInstanceCommand");
|
|
2726
|
+
var GetSystemInstanceCommand = _GetSystemInstanceCommand;
|
|
2727
|
+
|
|
2728
|
+
// src/commands/GetSystemTemplateCommand.ts
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
var _GetSystemTemplateCommand = class _GetSystemTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2734
|
+
...commonParams
|
|
2735
|
+
}).m(function(Command, cs, config, o) {
|
|
2736
|
+
return [
|
|
2737
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2738
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2739
|
+
];
|
|
2740
|
+
}).s("IotThingsGraphFrontEndService", "GetSystemTemplate", {}).n("IoTThingsGraphClient", "GetSystemTemplateCommand").f(void 0, void 0).ser(se_GetSystemTemplateCommand).de(de_GetSystemTemplateCommand).build() {
|
|
2741
|
+
};
|
|
2742
|
+
__name(_GetSystemTemplateCommand, "GetSystemTemplateCommand");
|
|
2743
|
+
var GetSystemTemplateCommand = _GetSystemTemplateCommand;
|
|
2744
|
+
|
|
2745
|
+
// src/commands/GetSystemTemplateRevisionsCommand.ts
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
|
|
2750
|
+
var _GetSystemTemplateRevisionsCommand = class _GetSystemTemplateRevisionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2751
|
+
...commonParams
|
|
2752
|
+
}).m(function(Command, cs, config, o) {
|
|
2753
|
+
return [
|
|
2754
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2755
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2756
|
+
];
|
|
2757
|
+
}).s("IotThingsGraphFrontEndService", "GetSystemTemplateRevisions", {}).n("IoTThingsGraphClient", "GetSystemTemplateRevisionsCommand").f(void 0, void 0).ser(se_GetSystemTemplateRevisionsCommand).de(de_GetSystemTemplateRevisionsCommand).build() {
|
|
2758
|
+
};
|
|
2759
|
+
__name(_GetSystemTemplateRevisionsCommand, "GetSystemTemplateRevisionsCommand");
|
|
2760
|
+
var GetSystemTemplateRevisionsCommand = _GetSystemTemplateRevisionsCommand;
|
|
2761
|
+
|
|
2762
|
+
// src/commands/GetUploadStatusCommand.ts
|
|
2763
|
+
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
var _GetUploadStatusCommand = class _GetUploadStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2768
|
+
...commonParams
|
|
2769
|
+
}).m(function(Command, cs, config, o) {
|
|
2770
|
+
return [
|
|
2771
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2772
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2773
|
+
];
|
|
2774
|
+
}).s("IotThingsGraphFrontEndService", "GetUploadStatus", {}).n("IoTThingsGraphClient", "GetUploadStatusCommand").f(void 0, void 0).ser(se_GetUploadStatusCommand).de(de_GetUploadStatusCommand).build() {
|
|
2775
|
+
};
|
|
2776
|
+
__name(_GetUploadStatusCommand, "GetUploadStatusCommand");
|
|
2777
|
+
var GetUploadStatusCommand = _GetUploadStatusCommand;
|
|
2778
|
+
|
|
2779
|
+
// src/commands/ListFlowExecutionMessagesCommand.ts
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
var _ListFlowExecutionMessagesCommand = class _ListFlowExecutionMessagesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2785
|
+
...commonParams
|
|
2786
|
+
}).m(function(Command, cs, config, o) {
|
|
2787
|
+
return [
|
|
2788
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2789
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2790
|
+
];
|
|
2791
|
+
}).s("IotThingsGraphFrontEndService", "ListFlowExecutionMessages", {}).n("IoTThingsGraphClient", "ListFlowExecutionMessagesCommand").f(void 0, void 0).ser(se_ListFlowExecutionMessagesCommand).de(de_ListFlowExecutionMessagesCommand).build() {
|
|
2792
|
+
};
|
|
2793
|
+
__name(_ListFlowExecutionMessagesCommand, "ListFlowExecutionMessagesCommand");
|
|
2794
|
+
var ListFlowExecutionMessagesCommand = _ListFlowExecutionMessagesCommand;
|
|
2795
|
+
|
|
2796
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2802
|
+
...commonParams
|
|
2803
|
+
}).m(function(Command, cs, config, o) {
|
|
2804
|
+
return [
|
|
2805
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2806
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2807
|
+
];
|
|
2808
|
+
}).s("IotThingsGraphFrontEndService", "ListTagsForResource", {}).n("IoTThingsGraphClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2809
|
+
};
|
|
2810
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
2811
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
2812
|
+
|
|
2813
|
+
// src/commands/SearchEntitiesCommand.ts
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
|
|
2818
|
+
var _SearchEntitiesCommand = class _SearchEntitiesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2819
|
+
...commonParams
|
|
2820
|
+
}).m(function(Command, cs, config, o) {
|
|
2821
|
+
return [
|
|
2822
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2823
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2824
|
+
];
|
|
2825
|
+
}).s("IotThingsGraphFrontEndService", "SearchEntities", {}).n("IoTThingsGraphClient", "SearchEntitiesCommand").f(void 0, void 0).ser(se_SearchEntitiesCommand).de(de_SearchEntitiesCommand).build() {
|
|
2826
|
+
};
|
|
2827
|
+
__name(_SearchEntitiesCommand, "SearchEntitiesCommand");
|
|
2828
|
+
var SearchEntitiesCommand = _SearchEntitiesCommand;
|
|
2829
|
+
|
|
2830
|
+
// src/commands/SearchFlowExecutionsCommand.ts
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
var _SearchFlowExecutionsCommand = class _SearchFlowExecutionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2836
|
+
...commonParams
|
|
2837
|
+
}).m(function(Command, cs, config, o) {
|
|
2838
|
+
return [
|
|
2839
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2840
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2841
|
+
];
|
|
2842
|
+
}).s("IotThingsGraphFrontEndService", "SearchFlowExecutions", {}).n("IoTThingsGraphClient", "SearchFlowExecutionsCommand").f(void 0, void 0).ser(se_SearchFlowExecutionsCommand).de(de_SearchFlowExecutionsCommand).build() {
|
|
2843
|
+
};
|
|
2844
|
+
__name(_SearchFlowExecutionsCommand, "SearchFlowExecutionsCommand");
|
|
2845
|
+
var SearchFlowExecutionsCommand = _SearchFlowExecutionsCommand;
|
|
2846
|
+
|
|
2847
|
+
// src/commands/SearchFlowTemplatesCommand.ts
|
|
2848
|
+
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
var _SearchFlowTemplatesCommand = class _SearchFlowTemplatesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2853
|
+
...commonParams
|
|
2854
|
+
}).m(function(Command, cs, config, o) {
|
|
2855
|
+
return [
|
|
2856
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2857
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2858
|
+
];
|
|
2859
|
+
}).s("IotThingsGraphFrontEndService", "SearchFlowTemplates", {}).n("IoTThingsGraphClient", "SearchFlowTemplatesCommand").f(void 0, void 0).ser(se_SearchFlowTemplatesCommand).de(de_SearchFlowTemplatesCommand).build() {
|
|
2860
|
+
};
|
|
2861
|
+
__name(_SearchFlowTemplatesCommand, "SearchFlowTemplatesCommand");
|
|
2862
|
+
var SearchFlowTemplatesCommand = _SearchFlowTemplatesCommand;
|
|
2863
|
+
|
|
2864
|
+
// src/commands/SearchSystemInstancesCommand.ts
|
|
2865
|
+
|
|
2866
|
+
|
|
2867
|
+
|
|
2868
|
+
|
|
2869
|
+
var _SearchSystemInstancesCommand = class _SearchSystemInstancesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2870
|
+
...commonParams
|
|
2871
|
+
}).m(function(Command, cs, config, o) {
|
|
2872
|
+
return [
|
|
2873
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2874
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2875
|
+
];
|
|
2876
|
+
}).s("IotThingsGraphFrontEndService", "SearchSystemInstances", {}).n("IoTThingsGraphClient", "SearchSystemInstancesCommand").f(void 0, void 0).ser(se_SearchSystemInstancesCommand).de(de_SearchSystemInstancesCommand).build() {
|
|
2877
|
+
};
|
|
2878
|
+
__name(_SearchSystemInstancesCommand, "SearchSystemInstancesCommand");
|
|
2879
|
+
var SearchSystemInstancesCommand = _SearchSystemInstancesCommand;
|
|
2880
|
+
|
|
2881
|
+
// src/commands/SearchSystemTemplatesCommand.ts
|
|
2882
|
+
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
|
|
2886
|
+
var _SearchSystemTemplatesCommand = class _SearchSystemTemplatesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2887
|
+
...commonParams
|
|
2888
|
+
}).m(function(Command, cs, config, o) {
|
|
2889
|
+
return [
|
|
2890
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2891
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2892
|
+
];
|
|
2893
|
+
}).s("IotThingsGraphFrontEndService", "SearchSystemTemplates", {}).n("IoTThingsGraphClient", "SearchSystemTemplatesCommand").f(void 0, void 0).ser(se_SearchSystemTemplatesCommand).de(de_SearchSystemTemplatesCommand).build() {
|
|
2894
|
+
};
|
|
2895
|
+
__name(_SearchSystemTemplatesCommand, "SearchSystemTemplatesCommand");
|
|
2896
|
+
var SearchSystemTemplatesCommand = _SearchSystemTemplatesCommand;
|
|
2897
|
+
|
|
2898
|
+
// src/commands/SearchThingsCommand.ts
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
var _SearchThingsCommand = class _SearchThingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2904
|
+
...commonParams
|
|
2905
|
+
}).m(function(Command, cs, config, o) {
|
|
2906
|
+
return [
|
|
2907
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2908
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2909
|
+
];
|
|
2910
|
+
}).s("IotThingsGraphFrontEndService", "SearchThings", {}).n("IoTThingsGraphClient", "SearchThingsCommand").f(void 0, void 0).ser(se_SearchThingsCommand).de(de_SearchThingsCommand).build() {
|
|
2911
|
+
};
|
|
2912
|
+
__name(_SearchThingsCommand, "SearchThingsCommand");
|
|
2913
|
+
var SearchThingsCommand = _SearchThingsCommand;
|
|
2914
|
+
|
|
2915
|
+
// src/commands/TagResourceCommand.ts
|
|
2916
|
+
|
|
2917
|
+
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2921
|
+
...commonParams
|
|
2922
|
+
}).m(function(Command, cs, config, o) {
|
|
2923
|
+
return [
|
|
2924
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2925
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2926
|
+
];
|
|
2927
|
+
}).s("IotThingsGraphFrontEndService", "TagResource", {}).n("IoTThingsGraphClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2928
|
+
};
|
|
2929
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
2930
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
2931
|
+
|
|
2932
|
+
// src/commands/UndeploySystemInstanceCommand.ts
|
|
2933
|
+
|
|
2934
|
+
|
|
2935
|
+
|
|
2936
|
+
|
|
2937
|
+
var _UndeploySystemInstanceCommand = class _UndeploySystemInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2938
|
+
...commonParams
|
|
2939
|
+
}).m(function(Command, cs, config, o) {
|
|
2940
|
+
return [
|
|
2941
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2942
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2943
|
+
];
|
|
2944
|
+
}).s("IotThingsGraphFrontEndService", "UndeploySystemInstance", {}).n("IoTThingsGraphClient", "UndeploySystemInstanceCommand").f(void 0, void 0).ser(se_UndeploySystemInstanceCommand).de(de_UndeploySystemInstanceCommand).build() {
|
|
2945
|
+
};
|
|
2946
|
+
__name(_UndeploySystemInstanceCommand, "UndeploySystemInstanceCommand");
|
|
2947
|
+
var UndeploySystemInstanceCommand = _UndeploySystemInstanceCommand;
|
|
2948
|
+
|
|
2949
|
+
// src/commands/UntagResourceCommand.ts
|
|
2950
|
+
|
|
2951
|
+
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2955
|
+
...commonParams
|
|
2956
|
+
}).m(function(Command, cs, config, o) {
|
|
2957
|
+
return [
|
|
2958
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2959
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2960
|
+
];
|
|
2961
|
+
}).s("IotThingsGraphFrontEndService", "UntagResource", {}).n("IoTThingsGraphClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2962
|
+
};
|
|
2963
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2964
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
2965
|
+
|
|
2966
|
+
// src/commands/UpdateFlowTemplateCommand.ts
|
|
2967
|
+
|
|
2968
|
+
|
|
2969
|
+
|
|
2970
|
+
|
|
2971
|
+
var _UpdateFlowTemplateCommand = class _UpdateFlowTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2972
|
+
...commonParams
|
|
2973
|
+
}).m(function(Command, cs, config, o) {
|
|
2974
|
+
return [
|
|
2975
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2976
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2977
|
+
];
|
|
2978
|
+
}).s("IotThingsGraphFrontEndService", "UpdateFlowTemplate", {}).n("IoTThingsGraphClient", "UpdateFlowTemplateCommand").f(void 0, void 0).ser(se_UpdateFlowTemplateCommand).de(de_UpdateFlowTemplateCommand).build() {
|
|
2979
|
+
};
|
|
2980
|
+
__name(_UpdateFlowTemplateCommand, "UpdateFlowTemplateCommand");
|
|
2981
|
+
var UpdateFlowTemplateCommand = _UpdateFlowTemplateCommand;
|
|
2982
|
+
|
|
2983
|
+
// src/commands/UpdateSystemTemplateCommand.ts
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
|
|
2987
|
+
|
|
2988
|
+
var _UpdateSystemTemplateCommand = class _UpdateSystemTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2989
|
+
...commonParams
|
|
2990
|
+
}).m(function(Command, cs, config, o) {
|
|
2991
|
+
return [
|
|
2992
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2993
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2994
|
+
];
|
|
2995
|
+
}).s("IotThingsGraphFrontEndService", "UpdateSystemTemplate", {}).n("IoTThingsGraphClient", "UpdateSystemTemplateCommand").f(void 0, void 0).ser(se_UpdateSystemTemplateCommand).de(de_UpdateSystemTemplateCommand).build() {
|
|
2996
|
+
};
|
|
2997
|
+
__name(_UpdateSystemTemplateCommand, "UpdateSystemTemplateCommand");
|
|
2998
|
+
var UpdateSystemTemplateCommand = _UpdateSystemTemplateCommand;
|
|
2999
|
+
|
|
3000
|
+
// src/commands/UploadEntityDefinitionsCommand.ts
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
var _UploadEntityDefinitionsCommand = class _UploadEntityDefinitionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3006
|
+
...commonParams
|
|
3007
|
+
}).m(function(Command, cs, config, o) {
|
|
3008
|
+
return [
|
|
3009
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3010
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3011
|
+
];
|
|
3012
|
+
}).s("IotThingsGraphFrontEndService", "UploadEntityDefinitions", {}).n("IoTThingsGraphClient", "UploadEntityDefinitionsCommand").f(void 0, void 0).ser(se_UploadEntityDefinitionsCommand).de(de_UploadEntityDefinitionsCommand).build() {
|
|
3013
|
+
};
|
|
3014
|
+
__name(_UploadEntityDefinitionsCommand, "UploadEntityDefinitionsCommand");
|
|
3015
|
+
var UploadEntityDefinitionsCommand = _UploadEntityDefinitionsCommand;
|
|
3016
|
+
|
|
3017
|
+
// src/IoTThingsGraph.ts
|
|
3018
|
+
var commands = {
|
|
3019
|
+
AssociateEntityToThingCommand,
|
|
3020
|
+
CreateFlowTemplateCommand,
|
|
3021
|
+
CreateSystemInstanceCommand,
|
|
3022
|
+
CreateSystemTemplateCommand,
|
|
3023
|
+
DeleteFlowTemplateCommand,
|
|
3024
|
+
DeleteNamespaceCommand,
|
|
3025
|
+
DeleteSystemInstanceCommand,
|
|
3026
|
+
DeleteSystemTemplateCommand,
|
|
3027
|
+
DeploySystemInstanceCommand,
|
|
3028
|
+
DeprecateFlowTemplateCommand,
|
|
3029
|
+
DeprecateSystemTemplateCommand,
|
|
3030
|
+
DescribeNamespaceCommand,
|
|
3031
|
+
DissociateEntityFromThingCommand,
|
|
3032
|
+
GetEntitiesCommand,
|
|
3033
|
+
GetFlowTemplateCommand,
|
|
3034
|
+
GetFlowTemplateRevisionsCommand,
|
|
3035
|
+
GetNamespaceDeletionStatusCommand,
|
|
3036
|
+
GetSystemInstanceCommand,
|
|
3037
|
+
GetSystemTemplateCommand,
|
|
3038
|
+
GetSystemTemplateRevisionsCommand,
|
|
3039
|
+
GetUploadStatusCommand,
|
|
3040
|
+
ListFlowExecutionMessagesCommand,
|
|
3041
|
+
ListTagsForResourceCommand,
|
|
3042
|
+
SearchEntitiesCommand,
|
|
3043
|
+
SearchFlowExecutionsCommand,
|
|
3044
|
+
SearchFlowTemplatesCommand,
|
|
3045
|
+
SearchSystemInstancesCommand,
|
|
3046
|
+
SearchSystemTemplatesCommand,
|
|
3047
|
+
SearchThingsCommand,
|
|
3048
|
+
TagResourceCommand,
|
|
3049
|
+
UndeploySystemInstanceCommand,
|
|
3050
|
+
UntagResourceCommand,
|
|
3051
|
+
UpdateFlowTemplateCommand,
|
|
3052
|
+
UpdateSystemTemplateCommand,
|
|
3053
|
+
UploadEntityDefinitionsCommand
|
|
3054
|
+
};
|
|
3055
|
+
var _IoTThingsGraph = class _IoTThingsGraph extends IoTThingsGraphClient {
|
|
3056
|
+
};
|
|
3057
|
+
__name(_IoTThingsGraph, "IoTThingsGraph");
|
|
3058
|
+
var IoTThingsGraph = _IoTThingsGraph;
|
|
3059
|
+
(0, import_smithy_client.createAggregatedClient)(commands, IoTThingsGraph);
|
|
3060
|
+
|
|
3061
|
+
// src/pagination/GetFlowTemplateRevisionsPaginator.ts
|
|
3062
|
+
var import_core = require("@smithy/core");
|
|
3063
|
+
var paginateGetFlowTemplateRevisions = (0, import_core.createPaginator)(IoTThingsGraphClient, GetFlowTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3064
|
+
|
|
3065
|
+
// src/pagination/GetSystemTemplateRevisionsPaginator.ts
|
|
3066
|
+
|
|
3067
|
+
var paginateGetSystemTemplateRevisions = (0, import_core.createPaginator)(IoTThingsGraphClient, GetSystemTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3068
|
+
|
|
3069
|
+
// src/pagination/ListFlowExecutionMessagesPaginator.ts
|
|
3070
|
+
|
|
3071
|
+
var paginateListFlowExecutionMessages = (0, import_core.createPaginator)(IoTThingsGraphClient, ListFlowExecutionMessagesCommand, "nextToken", "nextToken", "maxResults");
|
|
3072
|
+
|
|
3073
|
+
// src/pagination/ListTagsForResourcePaginator.ts
|
|
3074
|
+
|
|
3075
|
+
var paginateListTagsForResource = (0, import_core.createPaginator)(IoTThingsGraphClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
|
|
3076
|
+
|
|
3077
|
+
// src/pagination/SearchEntitiesPaginator.ts
|
|
3078
|
+
|
|
3079
|
+
var paginateSearchEntities = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchEntitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
3080
|
+
|
|
3081
|
+
// src/pagination/SearchFlowExecutionsPaginator.ts
|
|
3082
|
+
|
|
3083
|
+
var paginateSearchFlowExecutions = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchFlowExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3084
|
+
|
|
3085
|
+
// src/pagination/SearchFlowTemplatesPaginator.ts
|
|
3086
|
+
|
|
3087
|
+
var paginateSearchFlowTemplates = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchFlowTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
3088
|
+
|
|
3089
|
+
// src/pagination/SearchSystemInstancesPaginator.ts
|
|
3090
|
+
|
|
3091
|
+
var paginateSearchSystemInstances = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchSystemInstancesCommand, "nextToken", "nextToken", "maxResults");
|
|
3092
|
+
|
|
3093
|
+
// src/pagination/SearchSystemTemplatesPaginator.ts
|
|
3094
|
+
|
|
3095
|
+
var paginateSearchSystemTemplates = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchSystemTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
3096
|
+
|
|
3097
|
+
// src/pagination/SearchThingsPaginator.ts
|
|
3098
|
+
|
|
3099
|
+
var paginateSearchThings = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchThingsCommand, "nextToken", "nextToken", "maxResults");
|
|
3100
|
+
|
|
3101
|
+
// src/index.ts
|
|
3102
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3103
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3104
|
+
0 && (module.exports = {
|
|
3105
|
+
AssociateEntityToThingCommand,
|
|
3106
|
+
CreateFlowTemplateCommand,
|
|
3107
|
+
CreateSystemInstanceCommand,
|
|
3108
|
+
CreateSystemTemplateCommand,
|
|
3109
|
+
DefinitionLanguage,
|
|
3110
|
+
DeleteFlowTemplateCommand,
|
|
3111
|
+
DeleteNamespaceCommand,
|
|
3112
|
+
DeleteSystemInstanceCommand,
|
|
3113
|
+
DeleteSystemTemplateCommand,
|
|
3114
|
+
DeploySystemInstanceCommand,
|
|
3115
|
+
DeploymentTarget,
|
|
3116
|
+
DeprecateFlowTemplateCommand,
|
|
3117
|
+
DeprecateSystemTemplateCommand,
|
|
3118
|
+
DescribeNamespaceCommand,
|
|
3119
|
+
DissociateEntityFromThingCommand,
|
|
3120
|
+
EntityFilterName,
|
|
3121
|
+
EntityType,
|
|
3122
|
+
FlowExecutionEventType,
|
|
3123
|
+
FlowExecutionStatus,
|
|
3124
|
+
FlowTemplateFilterName,
|
|
3125
|
+
GetEntitiesCommand,
|
|
3126
|
+
GetFlowTemplateCommand,
|
|
3127
|
+
GetFlowTemplateRevisionsCommand,
|
|
3128
|
+
GetNamespaceDeletionStatusCommand,
|
|
3129
|
+
GetSystemInstanceCommand,
|
|
3130
|
+
GetSystemTemplateCommand,
|
|
3131
|
+
GetSystemTemplateRevisionsCommand,
|
|
3132
|
+
GetUploadStatusCommand,
|
|
3133
|
+
InternalFailureException,
|
|
3134
|
+
InvalidRequestException,
|
|
3135
|
+
IoTThingsGraph,
|
|
3136
|
+
IoTThingsGraphClient,
|
|
3137
|
+
IoTThingsGraphServiceException,
|
|
3138
|
+
LimitExceededException,
|
|
3139
|
+
ListFlowExecutionMessagesCommand,
|
|
3140
|
+
ListTagsForResourceCommand,
|
|
3141
|
+
NamespaceDeletionStatus,
|
|
3142
|
+
NamespaceDeletionStatusErrorCodes,
|
|
3143
|
+
ResourceAlreadyExistsException,
|
|
3144
|
+
ResourceInUseException,
|
|
3145
|
+
ResourceNotFoundException,
|
|
3146
|
+
SearchEntitiesCommand,
|
|
3147
|
+
SearchFlowExecutionsCommand,
|
|
3148
|
+
SearchFlowTemplatesCommand,
|
|
3149
|
+
SearchSystemInstancesCommand,
|
|
3150
|
+
SearchSystemTemplatesCommand,
|
|
3151
|
+
SearchThingsCommand,
|
|
3152
|
+
SystemInstanceDeploymentStatus,
|
|
3153
|
+
SystemInstanceFilterName,
|
|
3154
|
+
SystemTemplateFilterName,
|
|
3155
|
+
TagResourceCommand,
|
|
3156
|
+
ThrottlingException,
|
|
3157
|
+
UndeploySystemInstanceCommand,
|
|
3158
|
+
UntagResourceCommand,
|
|
3159
|
+
UpdateFlowTemplateCommand,
|
|
3160
|
+
UpdateSystemTemplateCommand,
|
|
3161
|
+
UploadEntityDefinitionsCommand,
|
|
3162
|
+
UploadStatus,
|
|
3163
|
+
__Client,
|
|
3164
|
+
paginateGetFlowTemplateRevisions,
|
|
3165
|
+
paginateGetSystemTemplateRevisions,
|
|
3166
|
+
paginateListFlowExecutionMessages,
|
|
3167
|
+
paginateListTagsForResource,
|
|
3168
|
+
paginateSearchEntities,
|
|
3169
|
+
paginateSearchFlowExecutions,
|
|
3170
|
+
paginateSearchFlowTemplates,
|
|
3171
|
+
paginateSearchSystemInstances,
|
|
3172
|
+
paginateSearchSystemTemplates,
|
|
3173
|
+
paginateSearchThings
|
|
3174
|
+
});
|