@aws-sdk/client-iotthingsgraph 3.901.0 → 3.906.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist-cjs/index.js +1974 -2104
  2. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -1,2198 +1,2068 @@
1
- "use strict";
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 index_exports = {};
23
- __export(index_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(index_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_user_agent = require("@aws-sdk/middleware-user-agent");
101
- var import_config_resolver = require("@smithy/config-resolver");
102
- var import_core = require("@smithy/core");
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
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
108
-
109
- // src/endpoint/EndpointParameters.ts
110
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
111
- return Object.assign(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" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+
20
+ const resolveClientEndpointParameters = (options) => {
21
+ return Object.assign(options, {
22
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
23
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
24
+ defaultSigningName: "iotthingsgraph",
25
+ });
26
+ };
27
+ const commonParams = {
28
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
29
+ Endpoint: { type: "builtInParams", name: "endpoint" },
30
+ Region: { type: "builtInParams", name: "region" },
31
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
122
32
  };
123
33
 
124
- // src/IoTThingsGraphClient.ts
125
- var import_runtimeConfig = require("././runtimeConfig");
34
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
37
+ let _credentials = runtimeConfig.credentials;
38
+ return {
39
+ setHttpAuthScheme(httpAuthScheme) {
40
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
41
+ if (index === -1) {
42
+ _httpAuthSchemes.push(httpAuthScheme);
43
+ }
44
+ else {
45
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
46
+ }
47
+ },
48
+ httpAuthSchemes() {
49
+ return _httpAuthSchemes;
50
+ },
51
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
52
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
53
+ },
54
+ httpAuthSchemeProvider() {
55
+ return _httpAuthSchemeProvider;
56
+ },
57
+ setCredentials(credentials) {
58
+ _credentials = credentials;
59
+ },
60
+ credentials() {
61
+ return _credentials;
62
+ },
63
+ };
64
+ };
65
+ const resolveHttpAuthRuntimeConfig = (config) => {
66
+ return {
67
+ httpAuthSchemes: config.httpAuthSchemes(),
68
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
69
+ credentials: config.credentials(),
70
+ };
71
+ };
126
72
 
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");
73
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ };
131
78
 
132
- // src/auth/httpAuthExtensionConfiguration.ts
133
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
134
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
135
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
136
- let _credentials = runtimeConfig.credentials;
137
- return {
138
- setHttpAuthScheme(httpAuthScheme) {
139
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
140
- if (index === -1) {
141
- _httpAuthSchemes.push(httpAuthScheme);
142
- } else {
143
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
144
- }
145
- },
146
- httpAuthSchemes() {
147
- return _httpAuthSchemes;
148
- },
149
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
150
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
151
- },
152
- httpAuthSchemeProvider() {
153
- return _httpAuthSchemeProvider;
154
- },
155
- setCredentials(credentials) {
156
- _credentials = credentials;
157
- },
158
- credentials() {
159
- return _credentials;
79
+ class IoTThingsGraphClient extends smithyClient.Client {
80
+ config;
81
+ constructor(...[configuration]) {
82
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
83
+ super(_config_0);
84
+ this.initConfig = _config_0;
85
+ const _config_1 = resolveClientEndpointParameters(_config_0);
86
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
+ this.config = _config_8;
94
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
98
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
99
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
100
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
101
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultIoTThingsGraphHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
107
+ }
108
+ destroy() {
109
+ super.destroy();
160
110
  }
161
- };
162
- }, "getHttpAuthExtensionConfiguration");
163
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
164
- return {
165
- httpAuthSchemes: config.httpAuthSchemes(),
166
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
167
- credentials: config.credentials()
168
- };
169
- }, "resolveHttpAuthRuntimeConfig");
111
+ }
170
112
 
171
- // src/runtimeExtensions.ts
172
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
173
- const extensionConfiguration = Object.assign(
174
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
175
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
176
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
177
- getHttpAuthExtensionConfiguration(runtimeConfig)
178
- );
179
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
180
- return Object.assign(
181
- runtimeConfig,
182
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
183
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
184
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
185
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
186
- );
187
- }, "resolveRuntimeExtensions");
113
+ class IoTThingsGraphServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, IoTThingsGraphServiceException.prototype);
117
+ }
118
+ }
188
119
 
189
- // src/IoTThingsGraphClient.ts
190
- var IoTThingsGraphClient = class extends import_smithy_client.Client {
191
- static {
192
- __name(this, "IoTThingsGraphClient");
193
- }
194
- /**
195
- * The resolved configuration of IoTThingsGraphClient class. This is resolved and normalized from the {@link IoTThingsGraphClientConfig | constructor configuration interface}.
196
- */
197
- config;
198
- constructor(...[configuration]) {
199
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
200
- super(_config_0);
201
- this.initConfig = _config_0;
202
- const _config_1 = resolveClientEndpointParameters(_config_0);
203
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
204
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
205
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
206
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
207
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
208
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
209
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
210
- this.config = _config_8;
211
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
212
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
213
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
214
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
215
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
216
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
217
- this.middlewareStack.use(
218
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
219
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultIoTThingsGraphHttpAuthSchemeParametersProvider,
220
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
221
- "aws.auth#sigv4": config.credentials
222
- }), "identityProviderConfigProvider")
223
- })
224
- );
225
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
226
- }
227
- /**
228
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
229
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
230
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
231
- */
232
- destroy() {
233
- super.destroy();
234
- }
120
+ class InternalFailureException extends IoTThingsGraphServiceException {
121
+ name = "InternalFailureException";
122
+ $fault = "server";
123
+ constructor(opts) {
124
+ super({
125
+ name: "InternalFailureException",
126
+ $fault: "server",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, InternalFailureException.prototype);
130
+ }
131
+ }
132
+ class InvalidRequestException extends IoTThingsGraphServiceException {
133
+ name = "InvalidRequestException";
134
+ $fault = "client";
135
+ constructor(opts) {
136
+ super({
137
+ name: "InvalidRequestException",
138
+ $fault: "client",
139
+ ...opts,
140
+ });
141
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
142
+ }
143
+ }
144
+ class ResourceNotFoundException extends IoTThingsGraphServiceException {
145
+ name = "ResourceNotFoundException";
146
+ $fault = "client";
147
+ constructor(opts) {
148
+ super({
149
+ name: "ResourceNotFoundException",
150
+ $fault: "client",
151
+ ...opts,
152
+ });
153
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
154
+ }
155
+ }
156
+ class ThrottlingException extends IoTThingsGraphServiceException {
157
+ name = "ThrottlingException";
158
+ $fault = "client";
159
+ constructor(opts) {
160
+ super({
161
+ name: "ThrottlingException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
166
+ }
167
+ }
168
+ const DefinitionLanguage = {
169
+ GRAPHQL: "GRAPHQL",
235
170
  };
236
-
237
- // src/IoTThingsGraph.ts
238
-
239
-
240
- // src/commands/AssociateEntityToThingCommand.ts
241
-
242
- var import_middleware_serde = require("@smithy/middleware-serde");
243
-
244
-
245
- // src/protocols/Aws_json1_1.ts
246
- var import_core2 = require("@aws-sdk/core");
247
-
248
-
249
-
250
- // src/models/IoTThingsGraphServiceException.ts
251
-
252
- var IoTThingsGraphServiceException = class _IoTThingsGraphServiceException extends import_smithy_client.ServiceException {
253
- static {
254
- __name(this, "IoTThingsGraphServiceException");
255
- }
256
- /**
257
- * @internal
258
- */
259
- constructor(options) {
260
- super(options);
261
- Object.setPrototypeOf(this, _IoTThingsGraphServiceException.prototype);
262
- }
171
+ class LimitExceededException extends IoTThingsGraphServiceException {
172
+ name = "LimitExceededException";
173
+ $fault = "client";
174
+ constructor(opts) {
175
+ super({
176
+ name: "LimitExceededException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
181
+ }
182
+ }
183
+ class ResourceAlreadyExistsException extends IoTThingsGraphServiceException {
184
+ name = "ResourceAlreadyExistsException";
185
+ $fault = "client";
186
+ constructor(opts) {
187
+ super({
188
+ name: "ResourceAlreadyExistsException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
193
+ }
194
+ }
195
+ const DeploymentTarget = {
196
+ CLOUD: "CLOUD",
197
+ GREENGRASS: "GREENGRASS",
198
+ };
199
+ const SystemInstanceDeploymentStatus = {
200
+ BOOTSTRAP: "BOOTSTRAP",
201
+ DELETED_IN_TARGET: "DELETED_IN_TARGET",
202
+ DEPLOYED_IN_TARGET: "DEPLOYED_IN_TARGET",
203
+ DEPLOY_IN_PROGRESS: "DEPLOY_IN_PROGRESS",
204
+ FAILED: "FAILED",
205
+ NOT_DEPLOYED: "NOT_DEPLOYED",
206
+ PENDING_DELETE: "PENDING_DELETE",
207
+ UNDEPLOY_IN_PROGRESS: "UNDEPLOY_IN_PROGRESS",
208
+ };
209
+ class ResourceInUseException extends IoTThingsGraphServiceException {
210
+ name = "ResourceInUseException";
211
+ $fault = "client";
212
+ constructor(opts) {
213
+ super({
214
+ name: "ResourceInUseException",
215
+ $fault: "client",
216
+ ...opts,
217
+ });
218
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
219
+ }
220
+ }
221
+ const EntityType = {
222
+ ACTION: "ACTION",
223
+ CAPABILITY: "CAPABILITY",
224
+ DEVICE: "DEVICE",
225
+ DEVICE_MODEL: "DEVICE_MODEL",
226
+ ENUM: "ENUM",
227
+ EVENT: "EVENT",
228
+ MAPPING: "MAPPING",
229
+ PROPERTY: "PROPERTY",
230
+ SERVICE: "SERVICE",
231
+ STATE: "STATE",
232
+ };
233
+ const EntityFilterName = {
234
+ NAME: "NAME",
235
+ NAMESPACE: "NAMESPACE",
236
+ REFERENCED_ENTITY_ID: "REFERENCED_ENTITY_ID",
237
+ SEMANTIC_TYPE_PATH: "SEMANTIC_TYPE_PATH",
238
+ };
239
+ const FlowExecutionEventType = {
240
+ ACKNOWLEDGE_TASK_MESSAGE: "ACKNOWLEDGE_TASK_MESSAGE",
241
+ ACTIVITY_FAILED: "ACTIVITY_FAILED",
242
+ ACTIVITY_SCHEDULED: "ACTIVITY_SCHEDULED",
243
+ ACTIVITY_STARTED: "ACTIVITY_STARTED",
244
+ ACTIVITY_SUCCEEDED: "ACTIVITY_SUCCEEDED",
245
+ EXECUTION_ABORTED: "EXECUTION_ABORTED",
246
+ EXECUTION_FAILED: "EXECUTION_FAILED",
247
+ EXECUTION_STARTED: "EXECUTION_STARTED",
248
+ EXECUTION_SUCCEEDED: "EXECUTION_SUCCEEDED",
249
+ SCHEDULE_NEXT_READY_STEPS_TASK: "SCHEDULE_NEXT_READY_STEPS_TASK",
250
+ START_FLOW_EXECUTION_TASK: "START_FLOW_EXECUTION_TASK",
251
+ STEP_FAILED: "STEP_FAILED",
252
+ STEP_STARTED: "STEP_STARTED",
253
+ STEP_SUCCEEDED: "STEP_SUCCEEDED",
254
+ THING_ACTION_TASK: "THING_ACTION_TASK",
255
+ THING_ACTION_TASK_FAILED: "THING_ACTION_TASK_FAILED",
256
+ THING_ACTION_TASK_SUCCEEDED: "THING_ACTION_TASK_SUCCEEDED",
257
+ };
258
+ const FlowExecutionStatus = {
259
+ ABORTED: "ABORTED",
260
+ FAILED: "FAILED",
261
+ RUNNING: "RUNNING",
262
+ SUCCEEDED: "SUCCEEDED",
263
+ };
264
+ const FlowTemplateFilterName = {
265
+ DEVICE_MODEL_ID: "DEVICE_MODEL_ID",
266
+ };
267
+ const NamespaceDeletionStatusErrorCodes = {
268
+ VALIDATION_FAILED: "VALIDATION_FAILED",
269
+ };
270
+ const NamespaceDeletionStatus = {
271
+ FAILED: "FAILED",
272
+ IN_PROGRESS: "IN_PROGRESS",
273
+ SUCCEEDED: "SUCCEEDED",
274
+ };
275
+ const UploadStatus = {
276
+ FAILED: "FAILED",
277
+ IN_PROGRESS: "IN_PROGRESS",
278
+ SUCCEEDED: "SUCCEEDED",
279
+ };
280
+ const SystemInstanceFilterName = {
281
+ GREENGRASS_GROUP_NAME: "GREENGRASS_GROUP_NAME",
282
+ STATUS: "STATUS",
283
+ SYSTEM_TEMPLATE_ID: "SYSTEM_TEMPLATE_ID",
284
+ };
285
+ const SystemTemplateFilterName = {
286
+ FLOW_TEMPLATE_ID: "FLOW_TEMPLATE_ID",
263
287
  };
264
288
 
265
- // src/models/models_0.ts
266
- var InternalFailureException = class _InternalFailureException extends IoTThingsGraphServiceException {
267
- static {
268
- __name(this, "InternalFailureException");
269
- }
270
- name = "InternalFailureException";
271
- $fault = "server";
272
- /**
273
- * @internal
274
- */
275
- constructor(opts) {
276
- super({
277
- name: "InternalFailureException",
278
- $fault: "server",
279
- ...opts
289
+ const se_AssociateEntityToThingCommand = async (input, context) => {
290
+ const headers = sharedHeaders("AssociateEntityToThing");
291
+ let body;
292
+ body = JSON.stringify(smithyClient._json(input));
293
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
294
+ };
295
+ const se_CreateFlowTemplateCommand = async (input, context) => {
296
+ const headers = sharedHeaders("CreateFlowTemplate");
297
+ let body;
298
+ body = JSON.stringify(smithyClient._json(input));
299
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
300
+ };
301
+ const se_CreateSystemInstanceCommand = async (input, context) => {
302
+ const headers = sharedHeaders("CreateSystemInstance");
303
+ let body;
304
+ body = JSON.stringify(smithyClient._json(input));
305
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
306
+ };
307
+ const se_CreateSystemTemplateCommand = async (input, context) => {
308
+ const headers = sharedHeaders("CreateSystemTemplate");
309
+ let body;
310
+ body = JSON.stringify(smithyClient._json(input));
311
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
312
+ };
313
+ const se_DeleteFlowTemplateCommand = async (input, context) => {
314
+ const headers = sharedHeaders("DeleteFlowTemplate");
315
+ let body;
316
+ body = JSON.stringify(smithyClient._json(input));
317
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
318
+ };
319
+ const se_DeleteNamespaceCommand = async (input, context) => {
320
+ const headers = sharedHeaders("DeleteNamespace");
321
+ let body;
322
+ body = JSON.stringify(smithyClient._json(input));
323
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
324
+ };
325
+ const se_DeleteSystemInstanceCommand = async (input, context) => {
326
+ const headers = sharedHeaders("DeleteSystemInstance");
327
+ let body;
328
+ body = JSON.stringify(smithyClient._json(input));
329
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
330
+ };
331
+ const se_DeleteSystemTemplateCommand = async (input, context) => {
332
+ const headers = sharedHeaders("DeleteSystemTemplate");
333
+ let body;
334
+ body = JSON.stringify(smithyClient._json(input));
335
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
336
+ };
337
+ const se_DeploySystemInstanceCommand = async (input, context) => {
338
+ const headers = sharedHeaders("DeploySystemInstance");
339
+ let body;
340
+ body = JSON.stringify(smithyClient._json(input));
341
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
342
+ };
343
+ const se_DeprecateFlowTemplateCommand = async (input, context) => {
344
+ const headers = sharedHeaders("DeprecateFlowTemplate");
345
+ let body;
346
+ body = JSON.stringify(smithyClient._json(input));
347
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
348
+ };
349
+ const se_DeprecateSystemTemplateCommand = async (input, context) => {
350
+ const headers = sharedHeaders("DeprecateSystemTemplate");
351
+ let body;
352
+ body = JSON.stringify(smithyClient._json(input));
353
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
354
+ };
355
+ const se_DescribeNamespaceCommand = async (input, context) => {
356
+ const headers = sharedHeaders("DescribeNamespace");
357
+ let body;
358
+ body = JSON.stringify(smithyClient._json(input));
359
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
360
+ };
361
+ const se_DissociateEntityFromThingCommand = async (input, context) => {
362
+ const headers = sharedHeaders("DissociateEntityFromThing");
363
+ let body;
364
+ body = JSON.stringify(smithyClient._json(input));
365
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
366
+ };
367
+ const se_GetEntitiesCommand = async (input, context) => {
368
+ const headers = sharedHeaders("GetEntities");
369
+ let body;
370
+ body = JSON.stringify(smithyClient._json(input));
371
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
372
+ };
373
+ const se_GetFlowTemplateCommand = async (input, context) => {
374
+ const headers = sharedHeaders("GetFlowTemplate");
375
+ let body;
376
+ body = JSON.stringify(smithyClient._json(input));
377
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
378
+ };
379
+ const se_GetFlowTemplateRevisionsCommand = async (input, context) => {
380
+ const headers = sharedHeaders("GetFlowTemplateRevisions");
381
+ let body;
382
+ body = JSON.stringify(smithyClient._json(input));
383
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
384
+ };
385
+ const se_GetNamespaceDeletionStatusCommand = async (input, context) => {
386
+ const headers = sharedHeaders("GetNamespaceDeletionStatus");
387
+ let body;
388
+ body = JSON.stringify(smithyClient._json(input));
389
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
390
+ };
391
+ const se_GetSystemInstanceCommand = async (input, context) => {
392
+ const headers = sharedHeaders("GetSystemInstance");
393
+ let body;
394
+ body = JSON.stringify(smithyClient._json(input));
395
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
396
+ };
397
+ const se_GetSystemTemplateCommand = async (input, context) => {
398
+ const headers = sharedHeaders("GetSystemTemplate");
399
+ let body;
400
+ body = JSON.stringify(smithyClient._json(input));
401
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
402
+ };
403
+ const se_GetSystemTemplateRevisionsCommand = async (input, context) => {
404
+ const headers = sharedHeaders("GetSystemTemplateRevisions");
405
+ let body;
406
+ body = JSON.stringify(smithyClient._json(input));
407
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
408
+ };
409
+ const se_GetUploadStatusCommand = async (input, context) => {
410
+ const headers = sharedHeaders("GetUploadStatus");
411
+ let body;
412
+ body = JSON.stringify(smithyClient._json(input));
413
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
414
+ };
415
+ const se_ListFlowExecutionMessagesCommand = async (input, context) => {
416
+ const headers = sharedHeaders("ListFlowExecutionMessages");
417
+ let body;
418
+ body = JSON.stringify(smithyClient._json(input));
419
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
420
+ };
421
+ const se_ListTagsForResourceCommand = async (input, context) => {
422
+ const headers = sharedHeaders("ListTagsForResource");
423
+ let body;
424
+ body = JSON.stringify(smithyClient._json(input));
425
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
426
+ };
427
+ const se_SearchEntitiesCommand = async (input, context) => {
428
+ const headers = sharedHeaders("SearchEntities");
429
+ let body;
430
+ body = JSON.stringify(smithyClient._json(input));
431
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
432
+ };
433
+ const se_SearchFlowExecutionsCommand = async (input, context) => {
434
+ const headers = sharedHeaders("SearchFlowExecutions");
435
+ let body;
436
+ body = JSON.stringify(se_SearchFlowExecutionsRequest(input));
437
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
438
+ };
439
+ const se_SearchFlowTemplatesCommand = async (input, context) => {
440
+ const headers = sharedHeaders("SearchFlowTemplates");
441
+ let body;
442
+ body = JSON.stringify(smithyClient._json(input));
443
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
444
+ };
445
+ const se_SearchSystemInstancesCommand = async (input, context) => {
446
+ const headers = sharedHeaders("SearchSystemInstances");
447
+ let body;
448
+ body = JSON.stringify(smithyClient._json(input));
449
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
450
+ };
451
+ const se_SearchSystemTemplatesCommand = async (input, context) => {
452
+ const headers = sharedHeaders("SearchSystemTemplates");
453
+ let body;
454
+ body = JSON.stringify(smithyClient._json(input));
455
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
456
+ };
457
+ const se_SearchThingsCommand = async (input, context) => {
458
+ const headers = sharedHeaders("SearchThings");
459
+ let body;
460
+ body = JSON.stringify(smithyClient._json(input));
461
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
462
+ };
463
+ const se_TagResourceCommand = async (input, context) => {
464
+ const headers = sharedHeaders("TagResource");
465
+ let body;
466
+ body = JSON.stringify(smithyClient._json(input));
467
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
468
+ };
469
+ const se_UndeploySystemInstanceCommand = async (input, context) => {
470
+ const headers = sharedHeaders("UndeploySystemInstance");
471
+ let body;
472
+ body = JSON.stringify(smithyClient._json(input));
473
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
474
+ };
475
+ const se_UntagResourceCommand = async (input, context) => {
476
+ const headers = sharedHeaders("UntagResource");
477
+ let body;
478
+ body = JSON.stringify(smithyClient._json(input));
479
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
480
+ };
481
+ const se_UpdateFlowTemplateCommand = async (input, context) => {
482
+ const headers = sharedHeaders("UpdateFlowTemplate");
483
+ let body;
484
+ body = JSON.stringify(smithyClient._json(input));
485
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
486
+ };
487
+ const se_UpdateSystemTemplateCommand = async (input, context) => {
488
+ const headers = sharedHeaders("UpdateSystemTemplate");
489
+ let body;
490
+ body = JSON.stringify(smithyClient._json(input));
491
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
492
+ };
493
+ const se_UploadEntityDefinitionsCommand = async (input, context) => {
494
+ const headers = sharedHeaders("UploadEntityDefinitions");
495
+ let body;
496
+ body = JSON.stringify(smithyClient._json(input));
497
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
498
+ };
499
+ const de_AssociateEntityToThingCommand = async (output, context) => {
500
+ if (output.statusCode >= 300) {
501
+ return de_CommandError(output, context);
502
+ }
503
+ const data = await core$1.parseJsonBody(output.body, context);
504
+ let contents = {};
505
+ contents = smithyClient._json(data);
506
+ const response = {
507
+ $metadata: deserializeMetadata(output),
508
+ ...contents,
509
+ };
510
+ return response;
511
+ };
512
+ const de_CreateFlowTemplateCommand = async (output, context) => {
513
+ if (output.statusCode >= 300) {
514
+ return de_CommandError(output, context);
515
+ }
516
+ const data = await core$1.parseJsonBody(output.body, context);
517
+ let contents = {};
518
+ contents = de_CreateFlowTemplateResponse(data);
519
+ const response = {
520
+ $metadata: deserializeMetadata(output),
521
+ ...contents,
522
+ };
523
+ return response;
524
+ };
525
+ const de_CreateSystemInstanceCommand = async (output, context) => {
526
+ if (output.statusCode >= 300) {
527
+ return de_CommandError(output, context);
528
+ }
529
+ const data = await core$1.parseJsonBody(output.body, context);
530
+ let contents = {};
531
+ contents = de_CreateSystemInstanceResponse(data);
532
+ const response = {
533
+ $metadata: deserializeMetadata(output),
534
+ ...contents,
535
+ };
536
+ return response;
537
+ };
538
+ const de_CreateSystemTemplateCommand = async (output, context) => {
539
+ if (output.statusCode >= 300) {
540
+ return de_CommandError(output, context);
541
+ }
542
+ const data = await core$1.parseJsonBody(output.body, context);
543
+ let contents = {};
544
+ contents = de_CreateSystemTemplateResponse(data);
545
+ const response = {
546
+ $metadata: deserializeMetadata(output),
547
+ ...contents,
548
+ };
549
+ return response;
550
+ };
551
+ const de_DeleteFlowTemplateCommand = async (output, context) => {
552
+ if (output.statusCode >= 300) {
553
+ return de_CommandError(output, context);
554
+ }
555
+ const data = await core$1.parseJsonBody(output.body, context);
556
+ let contents = {};
557
+ contents = smithyClient._json(data);
558
+ const response = {
559
+ $metadata: deserializeMetadata(output),
560
+ ...contents,
561
+ };
562
+ return response;
563
+ };
564
+ const de_DeleteNamespaceCommand = async (output, context) => {
565
+ if (output.statusCode >= 300) {
566
+ return de_CommandError(output, context);
567
+ }
568
+ const data = await core$1.parseJsonBody(output.body, context);
569
+ let contents = {};
570
+ contents = smithyClient._json(data);
571
+ const response = {
572
+ $metadata: deserializeMetadata(output),
573
+ ...contents,
574
+ };
575
+ return response;
576
+ };
577
+ const de_DeleteSystemInstanceCommand = async (output, context) => {
578
+ if (output.statusCode >= 300) {
579
+ return de_CommandError(output, context);
580
+ }
581
+ const data = await core$1.parseJsonBody(output.body, context);
582
+ let contents = {};
583
+ contents = smithyClient._json(data);
584
+ const response = {
585
+ $metadata: deserializeMetadata(output),
586
+ ...contents,
587
+ };
588
+ return response;
589
+ };
590
+ const de_DeleteSystemTemplateCommand = async (output, context) => {
591
+ if (output.statusCode >= 300) {
592
+ return de_CommandError(output, context);
593
+ }
594
+ const data = await core$1.parseJsonBody(output.body, context);
595
+ let contents = {};
596
+ contents = smithyClient._json(data);
597
+ const response = {
598
+ $metadata: deserializeMetadata(output),
599
+ ...contents,
600
+ };
601
+ return response;
602
+ };
603
+ const de_DeploySystemInstanceCommand = async (output, context) => {
604
+ if (output.statusCode >= 300) {
605
+ return de_CommandError(output, context);
606
+ }
607
+ const data = await core$1.parseJsonBody(output.body, context);
608
+ let contents = {};
609
+ contents = de_DeploySystemInstanceResponse(data);
610
+ const response = {
611
+ $metadata: deserializeMetadata(output),
612
+ ...contents,
613
+ };
614
+ return response;
615
+ };
616
+ const de_DeprecateFlowTemplateCommand = async (output, context) => {
617
+ if (output.statusCode >= 300) {
618
+ return de_CommandError(output, context);
619
+ }
620
+ const data = await core$1.parseJsonBody(output.body, context);
621
+ let contents = {};
622
+ contents = smithyClient._json(data);
623
+ const response = {
624
+ $metadata: deserializeMetadata(output),
625
+ ...contents,
626
+ };
627
+ return response;
628
+ };
629
+ const de_DeprecateSystemTemplateCommand = async (output, context) => {
630
+ if (output.statusCode >= 300) {
631
+ return de_CommandError(output, context);
632
+ }
633
+ const data = await core$1.parseJsonBody(output.body, context);
634
+ let contents = {};
635
+ contents = smithyClient._json(data);
636
+ const response = {
637
+ $metadata: deserializeMetadata(output),
638
+ ...contents,
639
+ };
640
+ return response;
641
+ };
642
+ const de_DescribeNamespaceCommand = async (output, context) => {
643
+ if (output.statusCode >= 300) {
644
+ return de_CommandError(output, context);
645
+ }
646
+ const data = await core$1.parseJsonBody(output.body, context);
647
+ let contents = {};
648
+ contents = smithyClient._json(data);
649
+ const response = {
650
+ $metadata: deserializeMetadata(output),
651
+ ...contents,
652
+ };
653
+ return response;
654
+ };
655
+ const de_DissociateEntityFromThingCommand = async (output, context) => {
656
+ if (output.statusCode >= 300) {
657
+ return de_CommandError(output, context);
658
+ }
659
+ const data = await core$1.parseJsonBody(output.body, context);
660
+ let contents = {};
661
+ contents = smithyClient._json(data);
662
+ const response = {
663
+ $metadata: deserializeMetadata(output),
664
+ ...contents,
665
+ };
666
+ return response;
667
+ };
668
+ const de_GetEntitiesCommand = async (output, context) => {
669
+ if (output.statusCode >= 300) {
670
+ return de_CommandError(output, context);
671
+ }
672
+ const data = await core$1.parseJsonBody(output.body, context);
673
+ let contents = {};
674
+ contents = de_GetEntitiesResponse(data);
675
+ const response = {
676
+ $metadata: deserializeMetadata(output),
677
+ ...contents,
678
+ };
679
+ return response;
680
+ };
681
+ const de_GetFlowTemplateCommand = async (output, context) => {
682
+ if (output.statusCode >= 300) {
683
+ return de_CommandError(output, context);
684
+ }
685
+ const data = await core$1.parseJsonBody(output.body, context);
686
+ let contents = {};
687
+ contents = de_GetFlowTemplateResponse(data);
688
+ const response = {
689
+ $metadata: deserializeMetadata(output),
690
+ ...contents,
691
+ };
692
+ return response;
693
+ };
694
+ const de_GetFlowTemplateRevisionsCommand = async (output, context) => {
695
+ if (output.statusCode >= 300) {
696
+ return de_CommandError(output, context);
697
+ }
698
+ const data = await core$1.parseJsonBody(output.body, context);
699
+ let contents = {};
700
+ contents = de_GetFlowTemplateRevisionsResponse(data);
701
+ const response = {
702
+ $metadata: deserializeMetadata(output),
703
+ ...contents,
704
+ };
705
+ return response;
706
+ };
707
+ const de_GetNamespaceDeletionStatusCommand = async (output, context) => {
708
+ if (output.statusCode >= 300) {
709
+ return de_CommandError(output, context);
710
+ }
711
+ const data = await core$1.parseJsonBody(output.body, context);
712
+ let contents = {};
713
+ contents = smithyClient._json(data);
714
+ const response = {
715
+ $metadata: deserializeMetadata(output),
716
+ ...contents,
717
+ };
718
+ return response;
719
+ };
720
+ const de_GetSystemInstanceCommand = async (output, context) => {
721
+ if (output.statusCode >= 300) {
722
+ return de_CommandError(output, context);
723
+ }
724
+ const data = await core$1.parseJsonBody(output.body, context);
725
+ let contents = {};
726
+ contents = de_GetSystemInstanceResponse(data);
727
+ const response = {
728
+ $metadata: deserializeMetadata(output),
729
+ ...contents,
730
+ };
731
+ return response;
732
+ };
733
+ const de_GetSystemTemplateCommand = async (output, context) => {
734
+ if (output.statusCode >= 300) {
735
+ return de_CommandError(output, context);
736
+ }
737
+ const data = await core$1.parseJsonBody(output.body, context);
738
+ let contents = {};
739
+ contents = de_GetSystemTemplateResponse(data);
740
+ const response = {
741
+ $metadata: deserializeMetadata(output),
742
+ ...contents,
743
+ };
744
+ return response;
745
+ };
746
+ const de_GetSystemTemplateRevisionsCommand = async (output, context) => {
747
+ if (output.statusCode >= 300) {
748
+ return de_CommandError(output, context);
749
+ }
750
+ const data = await core$1.parseJsonBody(output.body, context);
751
+ let contents = {};
752
+ contents = de_GetSystemTemplateRevisionsResponse(data);
753
+ const response = {
754
+ $metadata: deserializeMetadata(output),
755
+ ...contents,
756
+ };
757
+ return response;
758
+ };
759
+ const de_GetUploadStatusCommand = async (output, context) => {
760
+ if (output.statusCode >= 300) {
761
+ return de_CommandError(output, context);
762
+ }
763
+ const data = await core$1.parseJsonBody(output.body, context);
764
+ let contents = {};
765
+ contents = de_GetUploadStatusResponse(data);
766
+ const response = {
767
+ $metadata: deserializeMetadata(output),
768
+ ...contents,
769
+ };
770
+ return response;
771
+ };
772
+ const de_ListFlowExecutionMessagesCommand = async (output, context) => {
773
+ if (output.statusCode >= 300) {
774
+ return de_CommandError(output, context);
775
+ }
776
+ const data = await core$1.parseJsonBody(output.body, context);
777
+ let contents = {};
778
+ contents = de_ListFlowExecutionMessagesResponse(data);
779
+ const response = {
780
+ $metadata: deserializeMetadata(output),
781
+ ...contents,
782
+ };
783
+ return response;
784
+ };
785
+ const de_ListTagsForResourceCommand = async (output, context) => {
786
+ if (output.statusCode >= 300) {
787
+ return de_CommandError(output, context);
788
+ }
789
+ const data = await core$1.parseJsonBody(output.body, context);
790
+ let contents = {};
791
+ contents = smithyClient._json(data);
792
+ const response = {
793
+ $metadata: deserializeMetadata(output),
794
+ ...contents,
795
+ };
796
+ return response;
797
+ };
798
+ const de_SearchEntitiesCommand = async (output, context) => {
799
+ if (output.statusCode >= 300) {
800
+ return de_CommandError(output, context);
801
+ }
802
+ const data = await core$1.parseJsonBody(output.body, context);
803
+ let contents = {};
804
+ contents = de_SearchEntitiesResponse(data);
805
+ const response = {
806
+ $metadata: deserializeMetadata(output),
807
+ ...contents,
808
+ };
809
+ return response;
810
+ };
811
+ const de_SearchFlowExecutionsCommand = async (output, context) => {
812
+ if (output.statusCode >= 300) {
813
+ return de_CommandError(output, context);
814
+ }
815
+ const data = await core$1.parseJsonBody(output.body, context);
816
+ let contents = {};
817
+ contents = de_SearchFlowExecutionsResponse(data);
818
+ const response = {
819
+ $metadata: deserializeMetadata(output),
820
+ ...contents,
821
+ };
822
+ return response;
823
+ };
824
+ const de_SearchFlowTemplatesCommand = async (output, context) => {
825
+ if (output.statusCode >= 300) {
826
+ return de_CommandError(output, context);
827
+ }
828
+ const data = await core$1.parseJsonBody(output.body, context);
829
+ let contents = {};
830
+ contents = de_SearchFlowTemplatesResponse(data);
831
+ const response = {
832
+ $metadata: deserializeMetadata(output),
833
+ ...contents,
834
+ };
835
+ return response;
836
+ };
837
+ const de_SearchSystemInstancesCommand = async (output, context) => {
838
+ if (output.statusCode >= 300) {
839
+ return de_CommandError(output, context);
840
+ }
841
+ const data = await core$1.parseJsonBody(output.body, context);
842
+ let contents = {};
843
+ contents = de_SearchSystemInstancesResponse(data);
844
+ const response = {
845
+ $metadata: deserializeMetadata(output),
846
+ ...contents,
847
+ };
848
+ return response;
849
+ };
850
+ const de_SearchSystemTemplatesCommand = async (output, context) => {
851
+ if (output.statusCode >= 300) {
852
+ return de_CommandError(output, context);
853
+ }
854
+ const data = await core$1.parseJsonBody(output.body, context);
855
+ let contents = {};
856
+ contents = de_SearchSystemTemplatesResponse(data);
857
+ const response = {
858
+ $metadata: deserializeMetadata(output),
859
+ ...contents,
860
+ };
861
+ return response;
862
+ };
863
+ const de_SearchThingsCommand = async (output, context) => {
864
+ if (output.statusCode >= 300) {
865
+ return de_CommandError(output, context);
866
+ }
867
+ const data = await core$1.parseJsonBody(output.body, context);
868
+ let contents = {};
869
+ contents = smithyClient._json(data);
870
+ const response = {
871
+ $metadata: deserializeMetadata(output),
872
+ ...contents,
873
+ };
874
+ return response;
875
+ };
876
+ const de_TagResourceCommand = async (output, context) => {
877
+ if (output.statusCode >= 300) {
878
+ return de_CommandError(output, context);
879
+ }
880
+ const data = await core$1.parseJsonBody(output.body, context);
881
+ let contents = {};
882
+ contents = smithyClient._json(data);
883
+ const response = {
884
+ $metadata: deserializeMetadata(output),
885
+ ...contents,
886
+ };
887
+ return response;
888
+ };
889
+ const de_UndeploySystemInstanceCommand = async (output, context) => {
890
+ if (output.statusCode >= 300) {
891
+ return de_CommandError(output, context);
892
+ }
893
+ const data = await core$1.parseJsonBody(output.body, context);
894
+ let contents = {};
895
+ contents = de_UndeploySystemInstanceResponse(data);
896
+ const response = {
897
+ $metadata: deserializeMetadata(output),
898
+ ...contents,
899
+ };
900
+ return response;
901
+ };
902
+ const de_UntagResourceCommand = async (output, context) => {
903
+ if (output.statusCode >= 300) {
904
+ return de_CommandError(output, context);
905
+ }
906
+ const data = await core$1.parseJsonBody(output.body, context);
907
+ let contents = {};
908
+ contents = smithyClient._json(data);
909
+ const response = {
910
+ $metadata: deserializeMetadata(output),
911
+ ...contents,
912
+ };
913
+ return response;
914
+ };
915
+ const de_UpdateFlowTemplateCommand = async (output, context) => {
916
+ if (output.statusCode >= 300) {
917
+ return de_CommandError(output, context);
918
+ }
919
+ const data = await core$1.parseJsonBody(output.body, context);
920
+ let contents = {};
921
+ contents = de_UpdateFlowTemplateResponse(data);
922
+ const response = {
923
+ $metadata: deserializeMetadata(output),
924
+ ...contents,
925
+ };
926
+ return response;
927
+ };
928
+ const de_UpdateSystemTemplateCommand = async (output, context) => {
929
+ if (output.statusCode >= 300) {
930
+ return de_CommandError(output, context);
931
+ }
932
+ const data = await core$1.parseJsonBody(output.body, context);
933
+ let contents = {};
934
+ contents = de_UpdateSystemTemplateResponse(data);
935
+ const response = {
936
+ $metadata: deserializeMetadata(output),
937
+ ...contents,
938
+ };
939
+ return response;
940
+ };
941
+ const de_UploadEntityDefinitionsCommand = async (output, context) => {
942
+ if (output.statusCode >= 300) {
943
+ return de_CommandError(output, context);
944
+ }
945
+ const data = await core$1.parseJsonBody(output.body, context);
946
+ let contents = {};
947
+ contents = smithyClient._json(data);
948
+ const response = {
949
+ $metadata: deserializeMetadata(output),
950
+ ...contents,
951
+ };
952
+ return response;
953
+ };
954
+ const de_CommandError = async (output, context) => {
955
+ const parsedOutput = {
956
+ ...output,
957
+ body: await core$1.parseJsonErrorBody(output.body, context),
958
+ };
959
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
960
+ switch (errorCode) {
961
+ case "InternalFailureException":
962
+ case "com.amazonaws.iotthingsgraph#InternalFailureException":
963
+ throw await de_InternalFailureExceptionRes(parsedOutput);
964
+ case "InvalidRequestException":
965
+ case "com.amazonaws.iotthingsgraph#InvalidRequestException":
966
+ throw await de_InvalidRequestExceptionRes(parsedOutput);
967
+ case "ResourceNotFoundException":
968
+ case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
969
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
970
+ case "ThrottlingException":
971
+ case "com.amazonaws.iotthingsgraph#ThrottlingException":
972
+ throw await de_ThrottlingExceptionRes(parsedOutput);
973
+ case "LimitExceededException":
974
+ case "com.amazonaws.iotthingsgraph#LimitExceededException":
975
+ throw await de_LimitExceededExceptionRes(parsedOutput);
976
+ case "ResourceAlreadyExistsException":
977
+ case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
978
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput);
979
+ case "ResourceInUseException":
980
+ case "com.amazonaws.iotthingsgraph#ResourceInUseException":
981
+ throw await de_ResourceInUseExceptionRes(parsedOutput);
982
+ default:
983
+ const parsedBody = parsedOutput.body;
984
+ return throwDefaultError({
985
+ output,
986
+ parsedBody,
987
+ errorCode,
988
+ });
989
+ }
990
+ };
991
+ const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
992
+ const body = parsedOutput.body;
993
+ const deserialized = smithyClient._json(body);
994
+ const exception = new InternalFailureException({
995
+ $metadata: deserializeMetadata(parsedOutput),
996
+ ...deserialized,
280
997
  });
281
- Object.setPrototypeOf(this, _InternalFailureException.prototype);
282
- }
283
- };
284
- var InvalidRequestException = class _InvalidRequestException extends IoTThingsGraphServiceException {
285
- static {
286
- __name(this, "InvalidRequestException");
287
- }
288
- name = "InvalidRequestException";
289
- $fault = "client";
290
- /**
291
- * @internal
292
- */
293
- constructor(opts) {
294
- super({
295
- name: "InvalidRequestException",
296
- $fault: "client",
297
- ...opts
998
+ return smithyClient.decorateServiceException(exception, body);
999
+ };
1000
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1001
+ const body = parsedOutput.body;
1002
+ const deserialized = smithyClient._json(body);
1003
+ const exception = new InvalidRequestException({
1004
+ $metadata: deserializeMetadata(parsedOutput),
1005
+ ...deserialized,
298
1006
  });
299
- Object.setPrototypeOf(this, _InvalidRequestException.prototype);
300
- }
301
- };
302
- var ResourceNotFoundException = class _ResourceNotFoundException extends IoTThingsGraphServiceException {
303
- static {
304
- __name(this, "ResourceNotFoundException");
305
- }
306
- name = "ResourceNotFoundException";
307
- $fault = "client";
308
- /**
309
- * @internal
310
- */
311
- constructor(opts) {
312
- super({
313
- name: "ResourceNotFoundException",
314
- $fault: "client",
315
- ...opts
1007
+ return smithyClient.decorateServiceException(exception, body);
1008
+ };
1009
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1010
+ const body = parsedOutput.body;
1011
+ const deserialized = smithyClient._json(body);
1012
+ const exception = new LimitExceededException({
1013
+ $metadata: deserializeMetadata(parsedOutput),
1014
+ ...deserialized,
316
1015
  });
317
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
318
- }
319
- };
320
- var ThrottlingException = class _ThrottlingException extends IoTThingsGraphServiceException {
321
- static {
322
- __name(this, "ThrottlingException");
323
- }
324
- name = "ThrottlingException";
325
- $fault = "client";
326
- /**
327
- * @internal
328
- */
329
- constructor(opts) {
330
- super({
331
- name: "ThrottlingException",
332
- $fault: "client",
333
- ...opts
1016
+ return smithyClient.decorateServiceException(exception, body);
1017
+ };
1018
+ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1019
+ const body = parsedOutput.body;
1020
+ const deserialized = smithyClient._json(body);
1021
+ const exception = new ResourceAlreadyExistsException({
1022
+ $metadata: deserializeMetadata(parsedOutput),
1023
+ ...deserialized,
334
1024
  });
335
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
336
- }
337
- };
338
- var DefinitionLanguage = {
339
- GRAPHQL: "GRAPHQL"
340
- };
341
- var LimitExceededException = class _LimitExceededException extends IoTThingsGraphServiceException {
342
- static {
343
- __name(this, "LimitExceededException");
344
- }
345
- name = "LimitExceededException";
346
- $fault = "client";
347
- /**
348
- * @internal
349
- */
350
- constructor(opts) {
351
- super({
352
- name: "LimitExceededException",
353
- $fault: "client",
354
- ...opts
1025
+ return smithyClient.decorateServiceException(exception, body);
1026
+ };
1027
+ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
1028
+ const body = parsedOutput.body;
1029
+ const deserialized = smithyClient._json(body);
1030
+ const exception = new ResourceInUseException({
1031
+ $metadata: deserializeMetadata(parsedOutput),
1032
+ ...deserialized,
355
1033
  });
356
- Object.setPrototypeOf(this, _LimitExceededException.prototype);
357
- }
358
- };
359
- var ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends IoTThingsGraphServiceException {
360
- static {
361
- __name(this, "ResourceAlreadyExistsException");
362
- }
363
- name = "ResourceAlreadyExistsException";
364
- $fault = "client";
365
- /**
366
- * @internal
367
- */
368
- constructor(opts) {
369
- super({
370
- name: "ResourceAlreadyExistsException",
371
- $fault: "client",
372
- ...opts
1034
+ return smithyClient.decorateServiceException(exception, body);
1035
+ };
1036
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1037
+ const body = parsedOutput.body;
1038
+ const deserialized = smithyClient._json(body);
1039
+ const exception = new ResourceNotFoundException({
1040
+ $metadata: deserializeMetadata(parsedOutput),
1041
+ ...deserialized,
373
1042
  });
374
- Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
375
- }
376
- };
377
- var DeploymentTarget = {
378
- CLOUD: "CLOUD",
379
- GREENGRASS: "GREENGRASS"
380
- };
381
- var SystemInstanceDeploymentStatus = {
382
- BOOTSTRAP: "BOOTSTRAP",
383
- DELETED_IN_TARGET: "DELETED_IN_TARGET",
384
- DEPLOYED_IN_TARGET: "DEPLOYED_IN_TARGET",
385
- DEPLOY_IN_PROGRESS: "DEPLOY_IN_PROGRESS",
386
- FAILED: "FAILED",
387
- NOT_DEPLOYED: "NOT_DEPLOYED",
388
- PENDING_DELETE: "PENDING_DELETE",
389
- UNDEPLOY_IN_PROGRESS: "UNDEPLOY_IN_PROGRESS"
390
- };
391
- var ResourceInUseException = class _ResourceInUseException extends IoTThingsGraphServiceException {
392
- static {
393
- __name(this, "ResourceInUseException");
394
- }
395
- name = "ResourceInUseException";
396
- $fault = "client";
397
- /**
398
- * @internal
399
- */
400
- constructor(opts) {
401
- super({
402
- name: "ResourceInUseException",
403
- $fault: "client",
404
- ...opts
1043
+ return smithyClient.decorateServiceException(exception, body);
1044
+ };
1045
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1046
+ const body = parsedOutput.body;
1047
+ const deserialized = smithyClient._json(body);
1048
+ const exception = new ThrottlingException({
1049
+ $metadata: deserializeMetadata(parsedOutput),
1050
+ ...deserialized,
405
1051
  });
406
- Object.setPrototypeOf(this, _ResourceInUseException.prototype);
407
- }
408
- };
409
- var EntityType = {
410
- ACTION: "ACTION",
411
- CAPABILITY: "CAPABILITY",
412
- DEVICE: "DEVICE",
413
- DEVICE_MODEL: "DEVICE_MODEL",
414
- ENUM: "ENUM",
415
- EVENT: "EVENT",
416
- MAPPING: "MAPPING",
417
- PROPERTY: "PROPERTY",
418
- SERVICE: "SERVICE",
419
- STATE: "STATE"
420
- };
421
- var EntityFilterName = {
422
- NAME: "NAME",
423
- NAMESPACE: "NAMESPACE",
424
- REFERENCED_ENTITY_ID: "REFERENCED_ENTITY_ID",
425
- SEMANTIC_TYPE_PATH: "SEMANTIC_TYPE_PATH"
426
- };
427
- var FlowExecutionEventType = {
428
- ACKNOWLEDGE_TASK_MESSAGE: "ACKNOWLEDGE_TASK_MESSAGE",
429
- ACTIVITY_FAILED: "ACTIVITY_FAILED",
430
- ACTIVITY_SCHEDULED: "ACTIVITY_SCHEDULED",
431
- ACTIVITY_STARTED: "ACTIVITY_STARTED",
432
- ACTIVITY_SUCCEEDED: "ACTIVITY_SUCCEEDED",
433
- EXECUTION_ABORTED: "EXECUTION_ABORTED",
434
- EXECUTION_FAILED: "EXECUTION_FAILED",
435
- EXECUTION_STARTED: "EXECUTION_STARTED",
436
- EXECUTION_SUCCEEDED: "EXECUTION_SUCCEEDED",
437
- SCHEDULE_NEXT_READY_STEPS_TASK: "SCHEDULE_NEXT_READY_STEPS_TASK",
438
- START_FLOW_EXECUTION_TASK: "START_FLOW_EXECUTION_TASK",
439
- STEP_FAILED: "STEP_FAILED",
440
- STEP_STARTED: "STEP_STARTED",
441
- STEP_SUCCEEDED: "STEP_SUCCEEDED",
442
- THING_ACTION_TASK: "THING_ACTION_TASK",
443
- THING_ACTION_TASK_FAILED: "THING_ACTION_TASK_FAILED",
444
- THING_ACTION_TASK_SUCCEEDED: "THING_ACTION_TASK_SUCCEEDED"
445
- };
446
- var FlowExecutionStatus = {
447
- ABORTED: "ABORTED",
448
- FAILED: "FAILED",
449
- RUNNING: "RUNNING",
450
- SUCCEEDED: "SUCCEEDED"
451
- };
452
- var FlowTemplateFilterName = {
453
- DEVICE_MODEL_ID: "DEVICE_MODEL_ID"
454
- };
455
- var NamespaceDeletionStatusErrorCodes = {
456
- VALIDATION_FAILED: "VALIDATION_FAILED"
457
- };
458
- var NamespaceDeletionStatus = {
459
- FAILED: "FAILED",
460
- IN_PROGRESS: "IN_PROGRESS",
461
- SUCCEEDED: "SUCCEEDED"
462
- };
463
- var UploadStatus = {
464
- FAILED: "FAILED",
465
- IN_PROGRESS: "IN_PROGRESS",
466
- SUCCEEDED: "SUCCEEDED"
467
- };
468
- var SystemInstanceFilterName = {
469
- GREENGRASS_GROUP_NAME: "GREENGRASS_GROUP_NAME",
470
- STATUS: "STATUS",
471
- SYSTEM_TEMPLATE_ID: "SYSTEM_TEMPLATE_ID"
472
- };
473
- var SystemTemplateFilterName = {
474
- FLOW_TEMPLATE_ID: "FLOW_TEMPLATE_ID"
1052
+ return smithyClient.decorateServiceException(exception, body);
475
1053
  };
476
-
477
- // src/protocols/Aws_json1_1.ts
478
- var se_AssociateEntityToThingCommand = /* @__PURE__ */ __name(async (input, context) => {
479
- const headers = sharedHeaders("AssociateEntityToThing");
480
- let body;
481
- body = JSON.stringify((0, import_smithy_client._json)(input));
482
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
483
- }, "se_AssociateEntityToThingCommand");
484
- var se_CreateFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
485
- const headers = sharedHeaders("CreateFlowTemplate");
486
- let body;
487
- body = JSON.stringify((0, import_smithy_client._json)(input));
488
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
489
- }, "se_CreateFlowTemplateCommand");
490
- var se_CreateSystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
491
- const headers = sharedHeaders("CreateSystemInstance");
492
- let body;
493
- body = JSON.stringify((0, import_smithy_client._json)(input));
494
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
495
- }, "se_CreateSystemInstanceCommand");
496
- var se_CreateSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
497
- const headers = sharedHeaders("CreateSystemTemplate");
498
- let body;
499
- body = JSON.stringify((0, import_smithy_client._json)(input));
500
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
501
- }, "se_CreateSystemTemplateCommand");
502
- var se_DeleteFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
503
- const headers = sharedHeaders("DeleteFlowTemplate");
504
- let body;
505
- body = JSON.stringify((0, import_smithy_client._json)(input));
506
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
507
- }, "se_DeleteFlowTemplateCommand");
508
- var se_DeleteNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
509
- const headers = sharedHeaders("DeleteNamespace");
510
- let body;
511
- body = JSON.stringify((0, import_smithy_client._json)(input));
512
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
513
- }, "se_DeleteNamespaceCommand");
514
- var se_DeleteSystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
515
- const headers = sharedHeaders("DeleteSystemInstance");
516
- let body;
517
- body = JSON.stringify((0, import_smithy_client._json)(input));
518
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
519
- }, "se_DeleteSystemInstanceCommand");
520
- var se_DeleteSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
521
- const headers = sharedHeaders("DeleteSystemTemplate");
522
- let body;
523
- body = JSON.stringify((0, import_smithy_client._json)(input));
524
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
525
- }, "se_DeleteSystemTemplateCommand");
526
- var se_DeploySystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
527
- const headers = sharedHeaders("DeploySystemInstance");
528
- let body;
529
- body = JSON.stringify((0, import_smithy_client._json)(input));
530
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
531
- }, "se_DeploySystemInstanceCommand");
532
- var se_DeprecateFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
533
- const headers = sharedHeaders("DeprecateFlowTemplate");
534
- let body;
535
- body = JSON.stringify((0, import_smithy_client._json)(input));
536
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
537
- }, "se_DeprecateFlowTemplateCommand");
538
- var se_DeprecateSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
539
- const headers = sharedHeaders("DeprecateSystemTemplate");
540
- let body;
541
- body = JSON.stringify((0, import_smithy_client._json)(input));
542
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
543
- }, "se_DeprecateSystemTemplateCommand");
544
- var se_DescribeNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
545
- const headers = sharedHeaders("DescribeNamespace");
546
- let body;
547
- body = JSON.stringify((0, import_smithy_client._json)(input));
548
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
549
- }, "se_DescribeNamespaceCommand");
550
- var se_DissociateEntityFromThingCommand = /* @__PURE__ */ __name(async (input, context) => {
551
- const headers = sharedHeaders("DissociateEntityFromThing");
552
- let body;
553
- body = JSON.stringify((0, import_smithy_client._json)(input));
554
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
555
- }, "se_DissociateEntityFromThingCommand");
556
- var se_GetEntitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
557
- const headers = sharedHeaders("GetEntities");
558
- let body;
559
- body = JSON.stringify((0, import_smithy_client._json)(input));
560
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
561
- }, "se_GetEntitiesCommand");
562
- var se_GetFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
563
- const headers = sharedHeaders("GetFlowTemplate");
564
- let body;
565
- body = JSON.stringify((0, import_smithy_client._json)(input));
566
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
567
- }, "se_GetFlowTemplateCommand");
568
- var se_GetFlowTemplateRevisionsCommand = /* @__PURE__ */ __name(async (input, context) => {
569
- const headers = sharedHeaders("GetFlowTemplateRevisions");
570
- let body;
571
- body = JSON.stringify((0, import_smithy_client._json)(input));
572
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
573
- }, "se_GetFlowTemplateRevisionsCommand");
574
- var se_GetNamespaceDeletionStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
575
- const headers = sharedHeaders("GetNamespaceDeletionStatus");
576
- let body;
577
- body = JSON.stringify((0, import_smithy_client._json)(input));
578
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
579
- }, "se_GetNamespaceDeletionStatusCommand");
580
- var se_GetSystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
581
- const headers = sharedHeaders("GetSystemInstance");
582
- let body;
583
- body = JSON.stringify((0, import_smithy_client._json)(input));
584
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
585
- }, "se_GetSystemInstanceCommand");
586
- var se_GetSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
587
- const headers = sharedHeaders("GetSystemTemplate");
588
- let body;
589
- body = JSON.stringify((0, import_smithy_client._json)(input));
590
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
591
- }, "se_GetSystemTemplateCommand");
592
- var se_GetSystemTemplateRevisionsCommand = /* @__PURE__ */ __name(async (input, context) => {
593
- const headers = sharedHeaders("GetSystemTemplateRevisions");
594
- let body;
595
- body = JSON.stringify((0, import_smithy_client._json)(input));
596
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
597
- }, "se_GetSystemTemplateRevisionsCommand");
598
- var se_GetUploadStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
599
- const headers = sharedHeaders("GetUploadStatus");
600
- let body;
601
- body = JSON.stringify((0, import_smithy_client._json)(input));
602
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
603
- }, "se_GetUploadStatusCommand");
604
- var se_ListFlowExecutionMessagesCommand = /* @__PURE__ */ __name(async (input, context) => {
605
- const headers = sharedHeaders("ListFlowExecutionMessages");
606
- let body;
607
- body = JSON.stringify((0, import_smithy_client._json)(input));
608
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
609
- }, "se_ListFlowExecutionMessagesCommand");
610
- var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
611
- const headers = sharedHeaders("ListTagsForResource");
612
- let body;
613
- body = JSON.stringify((0, import_smithy_client._json)(input));
614
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
615
- }, "se_ListTagsForResourceCommand");
616
- var se_SearchEntitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
617
- const headers = sharedHeaders("SearchEntities");
618
- let body;
619
- body = JSON.stringify((0, import_smithy_client._json)(input));
620
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
621
- }, "se_SearchEntitiesCommand");
622
- var se_SearchFlowExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
623
- const headers = sharedHeaders("SearchFlowExecutions");
624
- let body;
625
- body = JSON.stringify(se_SearchFlowExecutionsRequest(input, context));
626
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
627
- }, "se_SearchFlowExecutionsCommand");
628
- var se_SearchFlowTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {
629
- const headers = sharedHeaders("SearchFlowTemplates");
630
- let body;
631
- body = JSON.stringify((0, import_smithy_client._json)(input));
632
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
633
- }, "se_SearchFlowTemplatesCommand");
634
- var se_SearchSystemInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
635
- const headers = sharedHeaders("SearchSystemInstances");
636
- let body;
637
- body = JSON.stringify((0, import_smithy_client._json)(input));
638
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
639
- }, "se_SearchSystemInstancesCommand");
640
- var se_SearchSystemTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {
641
- const headers = sharedHeaders("SearchSystemTemplates");
642
- let body;
643
- body = JSON.stringify((0, import_smithy_client._json)(input));
644
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
645
- }, "se_SearchSystemTemplatesCommand");
646
- var se_SearchThingsCommand = /* @__PURE__ */ __name(async (input, context) => {
647
- const headers = sharedHeaders("SearchThings");
648
- let body;
649
- body = JSON.stringify((0, import_smithy_client._json)(input));
650
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
651
- }, "se_SearchThingsCommand");
652
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
653
- const headers = sharedHeaders("TagResource");
654
- let body;
655
- body = JSON.stringify((0, import_smithy_client._json)(input));
656
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
657
- }, "se_TagResourceCommand");
658
- var se_UndeploySystemInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
659
- const headers = sharedHeaders("UndeploySystemInstance");
660
- let body;
661
- body = JSON.stringify((0, import_smithy_client._json)(input));
662
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
663
- }, "se_UndeploySystemInstanceCommand");
664
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
665
- const headers = sharedHeaders("UntagResource");
666
- let body;
667
- body = JSON.stringify((0, import_smithy_client._json)(input));
668
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
669
- }, "se_UntagResourceCommand");
670
- var se_UpdateFlowTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
671
- const headers = sharedHeaders("UpdateFlowTemplate");
672
- let body;
673
- body = JSON.stringify((0, import_smithy_client._json)(input));
674
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
675
- }, "se_UpdateFlowTemplateCommand");
676
- var se_UpdateSystemTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
677
- const headers = sharedHeaders("UpdateSystemTemplate");
678
- let body;
679
- body = JSON.stringify((0, import_smithy_client._json)(input));
680
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
681
- }, "se_UpdateSystemTemplateCommand");
682
- var se_UploadEntityDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
683
- const headers = sharedHeaders("UploadEntityDefinitions");
684
- let body;
685
- body = JSON.stringify((0, import_smithy_client._json)(input));
686
- return buildHttpRpcRequest(context, headers, "/", void 0, body);
687
- }, "se_UploadEntityDefinitionsCommand");
688
- var de_AssociateEntityToThingCommand = /* @__PURE__ */ __name(async (output, context) => {
689
- if (output.statusCode >= 300) {
690
- return de_CommandError(output, context);
691
- }
692
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
693
- let contents = {};
694
- contents = (0, import_smithy_client._json)(data);
695
- const response = {
696
- $metadata: deserializeMetadata(output),
697
- ...contents
698
- };
699
- return response;
700
- }, "de_AssociateEntityToThingCommand");
701
- var de_CreateFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
702
- if (output.statusCode >= 300) {
703
- return de_CommandError(output, context);
704
- }
705
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
706
- let contents = {};
707
- contents = de_CreateFlowTemplateResponse(data, context);
708
- const response = {
709
- $metadata: deserializeMetadata(output),
710
- ...contents
711
- };
712
- return response;
713
- }, "de_CreateFlowTemplateCommand");
714
- var de_CreateSystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
715
- if (output.statusCode >= 300) {
716
- return de_CommandError(output, context);
717
- }
718
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
719
- let contents = {};
720
- contents = de_CreateSystemInstanceResponse(data, context);
721
- const response = {
722
- $metadata: deserializeMetadata(output),
723
- ...contents
724
- };
725
- return response;
726
- }, "de_CreateSystemInstanceCommand");
727
- var de_CreateSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
728
- if (output.statusCode >= 300) {
729
- return de_CommandError(output, context);
730
- }
731
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
732
- let contents = {};
733
- contents = de_CreateSystemTemplateResponse(data, context);
734
- const response = {
735
- $metadata: deserializeMetadata(output),
736
- ...contents
737
- };
738
- return response;
739
- }, "de_CreateSystemTemplateCommand");
740
- var de_DeleteFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
741
- if (output.statusCode >= 300) {
742
- return de_CommandError(output, context);
743
- }
744
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
745
- let contents = {};
746
- contents = (0, import_smithy_client._json)(data);
747
- const response = {
748
- $metadata: deserializeMetadata(output),
749
- ...contents
750
- };
751
- return response;
752
- }, "de_DeleteFlowTemplateCommand");
753
- var de_DeleteNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
754
- if (output.statusCode >= 300) {
755
- return de_CommandError(output, context);
756
- }
757
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
758
- let contents = {};
759
- contents = (0, import_smithy_client._json)(data);
760
- const response = {
761
- $metadata: deserializeMetadata(output),
762
- ...contents
763
- };
764
- return response;
765
- }, "de_DeleteNamespaceCommand");
766
- var de_DeleteSystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
767
- if (output.statusCode >= 300) {
768
- return de_CommandError(output, context);
769
- }
770
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
771
- let contents = {};
772
- contents = (0, import_smithy_client._json)(data);
773
- const response = {
774
- $metadata: deserializeMetadata(output),
775
- ...contents
776
- };
777
- return response;
778
- }, "de_DeleteSystemInstanceCommand");
779
- var de_DeleteSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
780
- if (output.statusCode >= 300) {
781
- return de_CommandError(output, context);
782
- }
783
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
784
- let contents = {};
785
- contents = (0, import_smithy_client._json)(data);
786
- const response = {
787
- $metadata: deserializeMetadata(output),
788
- ...contents
789
- };
790
- return response;
791
- }, "de_DeleteSystemTemplateCommand");
792
- var de_DeploySystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
793
- if (output.statusCode >= 300) {
794
- return de_CommandError(output, context);
795
- }
796
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
797
- let contents = {};
798
- contents = de_DeploySystemInstanceResponse(data, context);
799
- const response = {
800
- $metadata: deserializeMetadata(output),
801
- ...contents
802
- };
803
- return response;
804
- }, "de_DeploySystemInstanceCommand");
805
- var de_DeprecateFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
806
- if (output.statusCode >= 300) {
807
- return de_CommandError(output, context);
808
- }
809
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
810
- let contents = {};
811
- contents = (0, import_smithy_client._json)(data);
812
- const response = {
813
- $metadata: deserializeMetadata(output),
814
- ...contents
815
- };
816
- return response;
817
- }, "de_DeprecateFlowTemplateCommand");
818
- var de_DeprecateSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
819
- if (output.statusCode >= 300) {
820
- return de_CommandError(output, context);
821
- }
822
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
823
- let contents = {};
824
- contents = (0, import_smithy_client._json)(data);
825
- const response = {
826
- $metadata: deserializeMetadata(output),
827
- ...contents
828
- };
829
- return response;
830
- }, "de_DeprecateSystemTemplateCommand");
831
- var de_DescribeNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
832
- if (output.statusCode >= 300) {
833
- return de_CommandError(output, context);
834
- }
835
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
836
- let contents = {};
837
- contents = (0, import_smithy_client._json)(data);
838
- const response = {
839
- $metadata: deserializeMetadata(output),
840
- ...contents
841
- };
842
- return response;
843
- }, "de_DescribeNamespaceCommand");
844
- var de_DissociateEntityFromThingCommand = /* @__PURE__ */ __name(async (output, context) => {
845
- if (output.statusCode >= 300) {
846
- return de_CommandError(output, context);
847
- }
848
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
849
- let contents = {};
850
- contents = (0, import_smithy_client._json)(data);
851
- const response = {
852
- $metadata: deserializeMetadata(output),
853
- ...contents
854
- };
855
- return response;
856
- }, "de_DissociateEntityFromThingCommand");
857
- var de_GetEntitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
858
- if (output.statusCode >= 300) {
859
- return de_CommandError(output, context);
860
- }
861
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
862
- let contents = {};
863
- contents = de_GetEntitiesResponse(data, context);
864
- const response = {
865
- $metadata: deserializeMetadata(output),
866
- ...contents
867
- };
868
- return response;
869
- }, "de_GetEntitiesCommand");
870
- var de_GetFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
871
- if (output.statusCode >= 300) {
872
- return de_CommandError(output, context);
873
- }
874
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
875
- let contents = {};
876
- contents = de_GetFlowTemplateResponse(data, context);
877
- const response = {
878
- $metadata: deserializeMetadata(output),
879
- ...contents
880
- };
881
- return response;
882
- }, "de_GetFlowTemplateCommand");
883
- var de_GetFlowTemplateRevisionsCommand = /* @__PURE__ */ __name(async (output, context) => {
884
- if (output.statusCode >= 300) {
885
- return de_CommandError(output, context);
886
- }
887
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
888
- let contents = {};
889
- contents = de_GetFlowTemplateRevisionsResponse(data, context);
890
- const response = {
891
- $metadata: deserializeMetadata(output),
892
- ...contents
893
- };
894
- return response;
895
- }, "de_GetFlowTemplateRevisionsCommand");
896
- var de_GetNamespaceDeletionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
897
- if (output.statusCode >= 300) {
898
- return de_CommandError(output, context);
899
- }
900
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
901
- let contents = {};
902
- contents = (0, import_smithy_client._json)(data);
903
- const response = {
904
- $metadata: deserializeMetadata(output),
905
- ...contents
906
- };
907
- return response;
908
- }, "de_GetNamespaceDeletionStatusCommand");
909
- var de_GetSystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
910
- if (output.statusCode >= 300) {
911
- return de_CommandError(output, context);
912
- }
913
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
914
- let contents = {};
915
- contents = de_GetSystemInstanceResponse(data, context);
916
- const response = {
917
- $metadata: deserializeMetadata(output),
918
- ...contents
919
- };
920
- return response;
921
- }, "de_GetSystemInstanceCommand");
922
- var de_GetSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
923
- if (output.statusCode >= 300) {
924
- return de_CommandError(output, context);
925
- }
926
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
927
- let contents = {};
928
- contents = de_GetSystemTemplateResponse(data, context);
929
- const response = {
930
- $metadata: deserializeMetadata(output),
931
- ...contents
932
- };
933
- return response;
934
- }, "de_GetSystemTemplateCommand");
935
- var de_GetSystemTemplateRevisionsCommand = /* @__PURE__ */ __name(async (output, context) => {
936
- if (output.statusCode >= 300) {
937
- return de_CommandError(output, context);
938
- }
939
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
940
- let contents = {};
941
- contents = de_GetSystemTemplateRevisionsResponse(data, context);
942
- const response = {
943
- $metadata: deserializeMetadata(output),
944
- ...contents
945
- };
946
- return response;
947
- }, "de_GetSystemTemplateRevisionsCommand");
948
- var de_GetUploadStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
949
- if (output.statusCode >= 300) {
950
- return de_CommandError(output, context);
951
- }
952
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
953
- let contents = {};
954
- contents = de_GetUploadStatusResponse(data, context);
955
- const response = {
956
- $metadata: deserializeMetadata(output),
957
- ...contents
958
- };
959
- return response;
960
- }, "de_GetUploadStatusCommand");
961
- var de_ListFlowExecutionMessagesCommand = /* @__PURE__ */ __name(async (output, context) => {
962
- if (output.statusCode >= 300) {
963
- return de_CommandError(output, context);
964
- }
965
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
966
- let contents = {};
967
- contents = de_ListFlowExecutionMessagesResponse(data, context);
968
- const response = {
969
- $metadata: deserializeMetadata(output),
970
- ...contents
971
- };
972
- return response;
973
- }, "de_ListFlowExecutionMessagesCommand");
974
- var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
975
- if (output.statusCode >= 300) {
976
- return de_CommandError(output, context);
977
- }
978
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
979
- let contents = {};
980
- contents = (0, import_smithy_client._json)(data);
981
- const response = {
982
- $metadata: deserializeMetadata(output),
983
- ...contents
984
- };
985
- return response;
986
- }, "de_ListTagsForResourceCommand");
987
- var de_SearchEntitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
988
- if (output.statusCode >= 300) {
989
- return de_CommandError(output, context);
990
- }
991
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
992
- let contents = {};
993
- contents = de_SearchEntitiesResponse(data, context);
994
- const response = {
995
- $metadata: deserializeMetadata(output),
996
- ...contents
997
- };
998
- return response;
999
- }, "de_SearchEntitiesCommand");
1000
- var de_SearchFlowExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1001
- if (output.statusCode >= 300) {
1002
- return de_CommandError(output, context);
1003
- }
1004
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1005
- let contents = {};
1006
- contents = de_SearchFlowExecutionsResponse(data, context);
1007
- const response = {
1008
- $metadata: deserializeMetadata(output),
1009
- ...contents
1010
- };
1011
- return response;
1012
- }, "de_SearchFlowExecutionsCommand");
1013
- var de_SearchFlowTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
1014
- if (output.statusCode >= 300) {
1015
- return de_CommandError(output, context);
1016
- }
1017
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1018
- let contents = {};
1019
- contents = de_SearchFlowTemplatesResponse(data, context);
1020
- const response = {
1021
- $metadata: deserializeMetadata(output),
1022
- ...contents
1023
- };
1024
- return response;
1025
- }, "de_SearchFlowTemplatesCommand");
1026
- var de_SearchSystemInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
1027
- if (output.statusCode >= 300) {
1028
- return de_CommandError(output, context);
1029
- }
1030
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1031
- let contents = {};
1032
- contents = de_SearchSystemInstancesResponse(data, context);
1033
- const response = {
1034
- $metadata: deserializeMetadata(output),
1035
- ...contents
1036
- };
1037
- return response;
1038
- }, "de_SearchSystemInstancesCommand");
1039
- var de_SearchSystemTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
1040
- if (output.statusCode >= 300) {
1041
- return de_CommandError(output, context);
1042
- }
1043
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1044
- let contents = {};
1045
- contents = de_SearchSystemTemplatesResponse(data, context);
1046
- const response = {
1047
- $metadata: deserializeMetadata(output),
1048
- ...contents
1049
- };
1050
- return response;
1051
- }, "de_SearchSystemTemplatesCommand");
1052
- var de_SearchThingsCommand = /* @__PURE__ */ __name(async (output, context) => {
1053
- if (output.statusCode >= 300) {
1054
- return de_CommandError(output, context);
1055
- }
1056
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1057
- let contents = {};
1058
- contents = (0, import_smithy_client._json)(data);
1059
- const response = {
1060
- $metadata: deserializeMetadata(output),
1061
- ...contents
1062
- };
1063
- return response;
1064
- }, "de_SearchThingsCommand");
1065
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1066
- if (output.statusCode >= 300) {
1067
- return de_CommandError(output, context);
1068
- }
1069
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1070
- let contents = {};
1071
- contents = (0, import_smithy_client._json)(data);
1072
- const response = {
1073
- $metadata: deserializeMetadata(output),
1074
- ...contents
1075
- };
1076
- return response;
1077
- }, "de_TagResourceCommand");
1078
- var de_UndeploySystemInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
1079
- if (output.statusCode >= 300) {
1080
- return de_CommandError(output, context);
1081
- }
1082
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1083
- let contents = {};
1084
- contents = de_UndeploySystemInstanceResponse(data, context);
1085
- const response = {
1086
- $metadata: deserializeMetadata(output),
1087
- ...contents
1088
- };
1089
- return response;
1090
- }, "de_UndeploySystemInstanceCommand");
1091
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1092
- if (output.statusCode >= 300) {
1093
- return de_CommandError(output, context);
1094
- }
1095
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1096
- let contents = {};
1097
- contents = (0, import_smithy_client._json)(data);
1098
- const response = {
1099
- $metadata: deserializeMetadata(output),
1100
- ...contents
1101
- };
1102
- return response;
1103
- }, "de_UntagResourceCommand");
1104
- var de_UpdateFlowTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
1105
- if (output.statusCode >= 300) {
1106
- return de_CommandError(output, context);
1107
- }
1108
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1109
- let contents = {};
1110
- contents = de_UpdateFlowTemplateResponse(data, context);
1111
- const response = {
1112
- $metadata: deserializeMetadata(output),
1113
- ...contents
1114
- };
1115
- return response;
1116
- }, "de_UpdateFlowTemplateCommand");
1117
- var de_UpdateSystemTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
1118
- if (output.statusCode >= 300) {
1119
- return de_CommandError(output, context);
1120
- }
1121
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1122
- let contents = {};
1123
- contents = de_UpdateSystemTemplateResponse(data, context);
1124
- const response = {
1125
- $metadata: deserializeMetadata(output),
1126
- ...contents
1127
- };
1128
- return response;
1129
- }, "de_UpdateSystemTemplateCommand");
1130
- var de_UploadEntityDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1131
- if (output.statusCode >= 300) {
1132
- return de_CommandError(output, context);
1133
- }
1134
- const data = await (0, import_core2.parseJsonBody)(output.body, context);
1135
- let contents = {};
1136
- contents = (0, import_smithy_client._json)(data);
1137
- const response = {
1138
- $metadata: deserializeMetadata(output),
1139
- ...contents
1140
- };
1141
- return response;
1142
- }, "de_UploadEntityDefinitionsCommand");
1143
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1144
- const parsedOutput = {
1145
- ...output,
1146
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1147
- };
1148
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1149
- switch (errorCode) {
1150
- case "InternalFailureException":
1151
- case "com.amazonaws.iotthingsgraph#InternalFailureException":
1152
- throw await de_InternalFailureExceptionRes(parsedOutput, context);
1153
- case "InvalidRequestException":
1154
- case "com.amazonaws.iotthingsgraph#InvalidRequestException":
1155
- throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1156
- case "ResourceNotFoundException":
1157
- case "com.amazonaws.iotthingsgraph#ResourceNotFoundException":
1158
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1159
- case "ThrottlingException":
1160
- case "com.amazonaws.iotthingsgraph#ThrottlingException":
1161
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1162
- case "LimitExceededException":
1163
- case "com.amazonaws.iotthingsgraph#LimitExceededException":
1164
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
1165
- case "ResourceAlreadyExistsException":
1166
- case "com.amazonaws.iotthingsgraph#ResourceAlreadyExistsException":
1167
- throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1168
- case "ResourceInUseException":
1169
- case "com.amazonaws.iotthingsgraph#ResourceInUseException":
1170
- throw await de_ResourceInUseExceptionRes(parsedOutput, context);
1171
- default:
1172
- const parsedBody = parsedOutput.body;
1173
- return throwDefaultError({
1174
- output,
1175
- parsedBody,
1176
- errorCode
1177
- });
1178
- }
1179
- }, "de_CommandError");
1180
- var de_InternalFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1181
- const body = parsedOutput.body;
1182
- const deserialized = (0, import_smithy_client._json)(body);
1183
- const exception = new InternalFailureException({
1184
- $metadata: deserializeMetadata(parsedOutput),
1185
- ...deserialized
1186
- });
1187
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1188
- }, "de_InternalFailureExceptionRes");
1189
- var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1190
- const body = parsedOutput.body;
1191
- const deserialized = (0, import_smithy_client._json)(body);
1192
- const exception = new InvalidRequestException({
1193
- $metadata: deserializeMetadata(parsedOutput),
1194
- ...deserialized
1195
- });
1196
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1197
- }, "de_InvalidRequestExceptionRes");
1198
- var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1199
- const body = parsedOutput.body;
1200
- const deserialized = (0, import_smithy_client._json)(body);
1201
- const exception = new LimitExceededException({
1202
- $metadata: deserializeMetadata(parsedOutput),
1203
- ...deserialized
1204
- });
1205
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1206
- }, "de_LimitExceededExceptionRes");
1207
- var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1208
- const body = parsedOutput.body;
1209
- const deserialized = (0, import_smithy_client._json)(body);
1210
- const exception = new ResourceAlreadyExistsException({
1211
- $metadata: deserializeMetadata(parsedOutput),
1212
- ...deserialized
1213
- });
1214
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1215
- }, "de_ResourceAlreadyExistsExceptionRes");
1216
- var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1217
- const body = parsedOutput.body;
1218
- const deserialized = (0, import_smithy_client._json)(body);
1219
- const exception = new ResourceInUseException({
1220
- $metadata: deserializeMetadata(parsedOutput),
1221
- ...deserialized
1222
- });
1223
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1224
- }, "de_ResourceInUseExceptionRes");
1225
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1226
- const body = parsedOutput.body;
1227
- const deserialized = (0, import_smithy_client._json)(body);
1228
- const exception = new ResourceNotFoundException({
1229
- $metadata: deserializeMetadata(parsedOutput),
1230
- ...deserialized
1231
- });
1232
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1233
- }, "de_ResourceNotFoundExceptionRes");
1234
- var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1235
- const body = parsedOutput.body;
1236
- const deserialized = (0, import_smithy_client._json)(body);
1237
- const exception = new ThrottlingException({
1238
- $metadata: deserializeMetadata(parsedOutput),
1239
- ...deserialized
1240
- });
1241
- return (0, import_smithy_client.decorateServiceException)(exception, body);
1242
- }, "de_ThrottlingExceptionRes");
1243
- var se_SearchFlowExecutionsRequest = /* @__PURE__ */ __name((input, context) => {
1244
- return (0, import_smithy_client.take)(input, {
1245
- endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"),
1246
- flowExecutionId: [],
1247
- maxResults: [],
1248
- nextToken: [],
1249
- startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime"),
1250
- systemInstanceId: []
1251
- });
1252
- }, "se_SearchFlowExecutionsRequest");
1253
- var de_CreateFlowTemplateResponse = /* @__PURE__ */ __name((output, context) => {
1254
- return (0, import_smithy_client.take)(output, {
1255
- summary: /* @__PURE__ */ __name((_) => de_FlowTemplateSummary(_, context), "summary")
1256
- });
1257
- }, "de_CreateFlowTemplateResponse");
1258
- var de_CreateSystemInstanceResponse = /* @__PURE__ */ __name((output, context) => {
1259
- return (0, import_smithy_client.take)(output, {
1260
- summary: /* @__PURE__ */ __name((_) => de_SystemInstanceSummary(_, context), "summary")
1261
- });
1262
- }, "de_CreateSystemInstanceResponse");
1263
- var de_CreateSystemTemplateResponse = /* @__PURE__ */ __name((output, context) => {
1264
- return (0, import_smithy_client.take)(output, {
1265
- summary: /* @__PURE__ */ __name((_) => de_SystemTemplateSummary(_, context), "summary")
1266
- });
1267
- }, "de_CreateSystemTemplateResponse");
1268
- var de_DeploySystemInstanceResponse = /* @__PURE__ */ __name((output, context) => {
1269
- return (0, import_smithy_client.take)(output, {
1270
- greengrassDeploymentId: import_smithy_client.expectString,
1271
- summary: /* @__PURE__ */ __name((_) => de_SystemInstanceSummary(_, context), "summary")
1272
- });
1273
- }, "de_DeploySystemInstanceResponse");
1274
- var de_EntityDescription = /* @__PURE__ */ __name((output, context) => {
1275
- return (0, import_smithy_client.take)(output, {
1276
- arn: import_smithy_client.expectString,
1277
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
1278
- definition: import_smithy_client._json,
1279
- id: import_smithy_client.expectString,
1280
- type: import_smithy_client.expectString
1281
- });
1282
- }, "de_EntityDescription");
1283
- var de_EntityDescriptions = /* @__PURE__ */ __name((output, context) => {
1284
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1285
- return de_EntityDescription(entry, context);
1286
- });
1287
- return retVal;
1288
- }, "de_EntityDescriptions");
1289
- var de_FlowExecutionMessage = /* @__PURE__ */ __name((output, context) => {
1290
- return (0, import_smithy_client.take)(output, {
1291
- eventType: import_smithy_client.expectString,
1292
- messageId: import_smithy_client.expectString,
1293
- payload: import_smithy_client.expectString,
1294
- timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "timestamp")
1295
- });
1296
- }, "de_FlowExecutionMessage");
1297
- var de_FlowExecutionMessages = /* @__PURE__ */ __name((output, context) => {
1298
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1299
- return de_FlowExecutionMessage(entry, context);
1300
- });
1301
- return retVal;
1302
- }, "de_FlowExecutionMessages");
1303
- var de_FlowExecutionSummaries = /* @__PURE__ */ __name((output, context) => {
1304
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1305
- return de_FlowExecutionSummary(entry, context);
1306
- });
1307
- return retVal;
1308
- }, "de_FlowExecutionSummaries");
1309
- var de_FlowExecutionSummary = /* @__PURE__ */ __name((output, context) => {
1310
- return (0, import_smithy_client.take)(output, {
1311
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
1312
- flowExecutionId: import_smithy_client.expectString,
1313
- flowTemplateId: import_smithy_client.expectString,
1314
- status: import_smithy_client.expectString,
1315
- systemInstanceId: import_smithy_client.expectString,
1316
- updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "updatedAt")
1317
- });
1318
- }, "de_FlowExecutionSummary");
1319
- var de_FlowTemplateDescription = /* @__PURE__ */ __name((output, context) => {
1320
- return (0, import_smithy_client.take)(output, {
1321
- definition: import_smithy_client._json,
1322
- summary: /* @__PURE__ */ __name((_) => de_FlowTemplateSummary(_, context), "summary"),
1323
- validatedNamespaceVersion: import_smithy_client.expectLong
1324
- });
1325
- }, "de_FlowTemplateDescription");
1326
- var de_FlowTemplateSummaries = /* @__PURE__ */ __name((output, context) => {
1327
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1328
- return de_FlowTemplateSummary(entry, context);
1329
- });
1330
- return retVal;
1331
- }, "de_FlowTemplateSummaries");
1332
- var de_FlowTemplateSummary = /* @__PURE__ */ __name((output, context) => {
1333
- return (0, import_smithy_client.take)(output, {
1334
- arn: import_smithy_client.expectString,
1335
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
1336
- id: import_smithy_client.expectString,
1337
- revisionNumber: import_smithy_client.expectLong
1338
- });
1339
- }, "de_FlowTemplateSummary");
1340
- var de_GetEntitiesResponse = /* @__PURE__ */ __name((output, context) => {
1341
- return (0, import_smithy_client.take)(output, {
1342
- descriptions: /* @__PURE__ */ __name((_) => de_EntityDescriptions(_, context), "descriptions")
1343
- });
1344
- }, "de_GetEntitiesResponse");
1345
- var de_GetFlowTemplateResponse = /* @__PURE__ */ __name((output, context) => {
1346
- return (0, import_smithy_client.take)(output, {
1347
- description: /* @__PURE__ */ __name((_) => de_FlowTemplateDescription(_, context), "description")
1348
- });
1349
- }, "de_GetFlowTemplateResponse");
1350
- var de_GetFlowTemplateRevisionsResponse = /* @__PURE__ */ __name((output, context) => {
1351
- return (0, import_smithy_client.take)(output, {
1352
- nextToken: import_smithy_client.expectString,
1353
- summaries: /* @__PURE__ */ __name((_) => de_FlowTemplateSummaries(_, context), "summaries")
1354
- });
1355
- }, "de_GetFlowTemplateRevisionsResponse");
1356
- var de_GetSystemInstanceResponse = /* @__PURE__ */ __name((output, context) => {
1357
- return (0, import_smithy_client.take)(output, {
1358
- description: /* @__PURE__ */ __name((_) => de_SystemInstanceDescription(_, context), "description")
1359
- });
1360
- }, "de_GetSystemInstanceResponse");
1361
- var de_GetSystemTemplateResponse = /* @__PURE__ */ __name((output, context) => {
1362
- return (0, import_smithy_client.take)(output, {
1363
- description: /* @__PURE__ */ __name((_) => de_SystemTemplateDescription(_, context), "description")
1364
- });
1365
- }, "de_GetSystemTemplateResponse");
1366
- var de_GetSystemTemplateRevisionsResponse = /* @__PURE__ */ __name((output, context) => {
1367
- return (0, import_smithy_client.take)(output, {
1368
- nextToken: import_smithy_client.expectString,
1369
- summaries: /* @__PURE__ */ __name((_) => de_SystemTemplateSummaries(_, context), "summaries")
1370
- });
1371
- }, "de_GetSystemTemplateRevisionsResponse");
1372
- var de_GetUploadStatusResponse = /* @__PURE__ */ __name((output, context) => {
1373
- return (0, import_smithy_client.take)(output, {
1374
- createdDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdDate"),
1375
- failureReason: import_smithy_client._json,
1376
- namespaceArn: import_smithy_client.expectString,
1377
- namespaceName: import_smithy_client.expectString,
1378
- namespaceVersion: import_smithy_client.expectLong,
1379
- uploadId: import_smithy_client.expectString,
1380
- uploadStatus: import_smithy_client.expectString
1381
- });
1382
- }, "de_GetUploadStatusResponse");
1383
- var de_ListFlowExecutionMessagesResponse = /* @__PURE__ */ __name((output, context) => {
1384
- return (0, import_smithy_client.take)(output, {
1385
- messages: /* @__PURE__ */ __name((_) => de_FlowExecutionMessages(_, context), "messages"),
1386
- nextToken: import_smithy_client.expectString
1387
- });
1388
- }, "de_ListFlowExecutionMessagesResponse");
1389
- var de_SearchEntitiesResponse = /* @__PURE__ */ __name((output, context) => {
1390
- return (0, import_smithy_client.take)(output, {
1391
- descriptions: /* @__PURE__ */ __name((_) => de_EntityDescriptions(_, context), "descriptions"),
1392
- nextToken: import_smithy_client.expectString
1393
- });
1394
- }, "de_SearchEntitiesResponse");
1395
- var de_SearchFlowExecutionsResponse = /* @__PURE__ */ __name((output, context) => {
1396
- return (0, import_smithy_client.take)(output, {
1397
- nextToken: import_smithy_client.expectString,
1398
- summaries: /* @__PURE__ */ __name((_) => de_FlowExecutionSummaries(_, context), "summaries")
1399
- });
1400
- }, "de_SearchFlowExecutionsResponse");
1401
- var de_SearchFlowTemplatesResponse = /* @__PURE__ */ __name((output, context) => {
1402
- return (0, import_smithy_client.take)(output, {
1403
- nextToken: import_smithy_client.expectString,
1404
- summaries: /* @__PURE__ */ __name((_) => de_FlowTemplateSummaries(_, context), "summaries")
1405
- });
1406
- }, "de_SearchFlowTemplatesResponse");
1407
- var de_SearchSystemInstancesResponse = /* @__PURE__ */ __name((output, context) => {
1408
- return (0, import_smithy_client.take)(output, {
1409
- nextToken: import_smithy_client.expectString,
1410
- summaries: /* @__PURE__ */ __name((_) => de_SystemInstanceSummaries(_, context), "summaries")
1411
- });
1412
- }, "de_SearchSystemInstancesResponse");
1413
- var de_SearchSystemTemplatesResponse = /* @__PURE__ */ __name((output, context) => {
1414
- return (0, import_smithy_client.take)(output, {
1415
- nextToken: import_smithy_client.expectString,
1416
- summaries: /* @__PURE__ */ __name((_) => de_SystemTemplateSummaries(_, context), "summaries")
1417
- });
1418
- }, "de_SearchSystemTemplatesResponse");
1419
- var de_SystemInstanceDescription = /* @__PURE__ */ __name((output, context) => {
1420
- return (0, import_smithy_client.take)(output, {
1421
- definition: import_smithy_client._json,
1422
- flowActionsRoleArn: import_smithy_client.expectString,
1423
- metricsConfiguration: import_smithy_client._json,
1424
- s3BucketName: import_smithy_client.expectString,
1425
- summary: /* @__PURE__ */ __name((_) => de_SystemInstanceSummary(_, context), "summary"),
1426
- validatedDependencyRevisions: import_smithy_client._json,
1427
- validatedNamespaceVersion: import_smithy_client.expectLong
1428
- });
1429
- }, "de_SystemInstanceDescription");
1430
- var de_SystemInstanceSummaries = /* @__PURE__ */ __name((output, context) => {
1431
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1432
- return de_SystemInstanceSummary(entry, context);
1433
- });
1434
- return retVal;
1435
- }, "de_SystemInstanceSummaries");
1436
- var de_SystemInstanceSummary = /* @__PURE__ */ __name((output, context) => {
1437
- return (0, import_smithy_client.take)(output, {
1438
- arn: import_smithy_client.expectString,
1439
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
1440
- greengrassGroupId: import_smithy_client.expectString,
1441
- greengrassGroupName: import_smithy_client.expectString,
1442
- greengrassGroupVersionId: import_smithy_client.expectString,
1443
- id: import_smithy_client.expectString,
1444
- status: import_smithy_client.expectString,
1445
- target: import_smithy_client.expectString,
1446
- updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "updatedAt")
1447
- });
1448
- }, "de_SystemInstanceSummary");
1449
- var de_SystemTemplateDescription = /* @__PURE__ */ __name((output, context) => {
1450
- return (0, import_smithy_client.take)(output, {
1451
- definition: import_smithy_client._json,
1452
- summary: /* @__PURE__ */ __name((_) => de_SystemTemplateSummary(_, context), "summary"),
1453
- validatedNamespaceVersion: import_smithy_client.expectLong
1454
- });
1455
- }, "de_SystemTemplateDescription");
1456
- var de_SystemTemplateSummaries = /* @__PURE__ */ __name((output, context) => {
1457
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1458
- return de_SystemTemplateSummary(entry, context);
1459
- });
1460
- return retVal;
1461
- }, "de_SystemTemplateSummaries");
1462
- var de_SystemTemplateSummary = /* @__PURE__ */ __name((output, context) => {
1463
- return (0, import_smithy_client.take)(output, {
1464
- arn: import_smithy_client.expectString,
1465
- createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
1466
- id: import_smithy_client.expectString,
1467
- revisionNumber: import_smithy_client.expectLong
1468
- });
1469
- }, "de_SystemTemplateSummary");
1470
- var de_UndeploySystemInstanceResponse = /* @__PURE__ */ __name((output, context) => {
1471
- return (0, import_smithy_client.take)(output, {
1472
- summary: /* @__PURE__ */ __name((_) => de_SystemInstanceSummary(_, context), "summary")
1473
- });
1474
- }, "de_UndeploySystemInstanceResponse");
1475
- var de_UpdateFlowTemplateResponse = /* @__PURE__ */ __name((output, context) => {
1476
- return (0, import_smithy_client.take)(output, {
1477
- summary: /* @__PURE__ */ __name((_) => de_FlowTemplateSummary(_, context), "summary")
1478
- });
1479
- }, "de_UpdateFlowTemplateResponse");
1480
- var de_UpdateSystemTemplateResponse = /* @__PURE__ */ __name((output, context) => {
1481
- return (0, import_smithy_client.take)(output, {
1482
- summary: /* @__PURE__ */ __name((_) => de_SystemTemplateSummary(_, context), "summary")
1483
- });
1484
- }, "de_UpdateSystemTemplateResponse");
1485
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1486
- httpStatusCode: output.statusCode,
1487
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1488
- extendedRequestId: output.headers["x-amz-id-2"],
1489
- cfId: output.headers["x-amz-cf-id"]
1490
- }), "deserializeMetadata");
1491
- var throwDefaultError = (0, import_smithy_client.withBaseException)(IoTThingsGraphServiceException);
1492
- var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
1493
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1494
- const contents = {
1495
- protocol,
1496
- hostname,
1497
- port,
1498
- method: "POST",
1499
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1500
- headers
1501
- };
1502
- if (resolvedHostname !== void 0) {
1503
- contents.hostname = resolvedHostname;
1504
- }
1505
- if (body !== void 0) {
1506
- contents.body = body;
1507
- }
1508
- return new import_protocol_http.HttpRequest(contents);
1509
- }, "buildHttpRpcRequest");
1510
- function sharedHeaders(operation) {
1511
- return {
1512
- "content-type": "application/x-amz-json-1.1",
1513
- "x-amz-target": `IotThingsGraphFrontEndService.${operation}`
1514
- };
1515
- }
1516
- __name(sharedHeaders, "sharedHeaders");
1517
-
1518
- // src/commands/AssociateEntityToThingCommand.ts
1519
- var AssociateEntityToThingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1520
- return [
1521
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1522
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1523
- ];
1524
- }).s("IotThingsGraphFrontEndService", "AssociateEntityToThing", {}).n("IoTThingsGraphClient", "AssociateEntityToThingCommand").f(void 0, void 0).ser(se_AssociateEntityToThingCommand).de(de_AssociateEntityToThingCommand).build() {
1525
- static {
1526
- __name(this, "AssociateEntityToThingCommand");
1527
- }
1054
+ const se_SearchFlowExecutionsRequest = (input, context) => {
1055
+ return smithyClient.take(input, {
1056
+ endTime: (_) => _.getTime() / 1_000,
1057
+ flowExecutionId: [],
1058
+ maxResults: [],
1059
+ nextToken: [],
1060
+ startTime: (_) => _.getTime() / 1_000,
1061
+ systemInstanceId: [],
1062
+ });
1528
1063
  };
1529
-
1530
- // src/commands/CreateFlowTemplateCommand.ts
1531
-
1532
-
1533
-
1534
- var CreateFlowTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1535
- return [
1536
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1537
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1538
- ];
1539
- }).s("IotThingsGraphFrontEndService", "CreateFlowTemplate", {}).n("IoTThingsGraphClient", "CreateFlowTemplateCommand").f(void 0, void 0).ser(se_CreateFlowTemplateCommand).de(de_CreateFlowTemplateCommand).build() {
1540
- static {
1541
- __name(this, "CreateFlowTemplateCommand");
1542
- }
1064
+ const de_CreateFlowTemplateResponse = (output, context) => {
1065
+ return smithyClient.take(output, {
1066
+ summary: (_) => de_FlowTemplateSummary(_),
1067
+ });
1543
1068
  };
1544
-
1545
- // src/commands/CreateSystemInstanceCommand.ts
1546
-
1547
-
1548
-
1549
- var CreateSystemInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1550
- return [
1551
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1552
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1553
- ];
1554
- }).s("IotThingsGraphFrontEndService", "CreateSystemInstance", {}).n("IoTThingsGraphClient", "CreateSystemInstanceCommand").f(void 0, void 0).ser(se_CreateSystemInstanceCommand).de(de_CreateSystemInstanceCommand).build() {
1555
- static {
1556
- __name(this, "CreateSystemInstanceCommand");
1557
- }
1069
+ const de_CreateSystemInstanceResponse = (output, context) => {
1070
+ return smithyClient.take(output, {
1071
+ summary: (_) => de_SystemInstanceSummary(_),
1072
+ });
1558
1073
  };
1559
-
1560
- // src/commands/CreateSystemTemplateCommand.ts
1561
-
1562
-
1563
-
1564
- var CreateSystemTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1565
- return [
1566
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1567
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1568
- ];
1569
- }).s("IotThingsGraphFrontEndService", "CreateSystemTemplate", {}).n("IoTThingsGraphClient", "CreateSystemTemplateCommand").f(void 0, void 0).ser(se_CreateSystemTemplateCommand).de(de_CreateSystemTemplateCommand).build() {
1570
- static {
1571
- __name(this, "CreateSystemTemplateCommand");
1572
- }
1074
+ const de_CreateSystemTemplateResponse = (output, context) => {
1075
+ return smithyClient.take(output, {
1076
+ summary: (_) => de_SystemTemplateSummary(_),
1077
+ });
1573
1078
  };
1574
-
1575
- // src/commands/DeleteFlowTemplateCommand.ts
1576
-
1577
-
1578
-
1579
- var DeleteFlowTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1580
- return [
1581
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1582
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1583
- ];
1584
- }).s("IotThingsGraphFrontEndService", "DeleteFlowTemplate", {}).n("IoTThingsGraphClient", "DeleteFlowTemplateCommand").f(void 0, void 0).ser(se_DeleteFlowTemplateCommand).de(de_DeleteFlowTemplateCommand).build() {
1585
- static {
1586
- __name(this, "DeleteFlowTemplateCommand");
1587
- }
1079
+ const de_DeploySystemInstanceResponse = (output, context) => {
1080
+ return smithyClient.take(output, {
1081
+ greengrassDeploymentId: smithyClient.expectString,
1082
+ summary: (_) => de_SystemInstanceSummary(_),
1083
+ });
1588
1084
  };
1589
-
1590
- // src/commands/DeleteNamespaceCommand.ts
1591
-
1592
-
1593
-
1594
- var DeleteNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1595
- return [
1596
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1597
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1598
- ];
1599
- }).s("IotThingsGraphFrontEndService", "DeleteNamespace", {}).n("IoTThingsGraphClient", "DeleteNamespaceCommand").f(void 0, void 0).ser(se_DeleteNamespaceCommand).de(de_DeleteNamespaceCommand).build() {
1600
- static {
1601
- __name(this, "DeleteNamespaceCommand");
1602
- }
1085
+ const de_EntityDescription = (output, context) => {
1086
+ return smithyClient.take(output, {
1087
+ arn: smithyClient.expectString,
1088
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1089
+ definition: smithyClient._json,
1090
+ id: smithyClient.expectString,
1091
+ type: smithyClient.expectString,
1092
+ });
1603
1093
  };
1604
-
1605
- // src/commands/DeleteSystemInstanceCommand.ts
1606
-
1607
-
1608
-
1609
- var DeleteSystemInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1610
- return [
1611
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1612
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1613
- ];
1614
- }).s("IotThingsGraphFrontEndService", "DeleteSystemInstance", {}).n("IoTThingsGraphClient", "DeleteSystemInstanceCommand").f(void 0, void 0).ser(se_DeleteSystemInstanceCommand).de(de_DeleteSystemInstanceCommand).build() {
1615
- static {
1616
- __name(this, "DeleteSystemInstanceCommand");
1617
- }
1094
+ const de_EntityDescriptions = (output, context) => {
1095
+ const retVal = (output || [])
1096
+ .filter((e) => e != null)
1097
+ .map((entry) => {
1098
+ return de_EntityDescription(entry);
1099
+ });
1100
+ return retVal;
1618
1101
  };
1619
-
1620
- // src/commands/DeleteSystemTemplateCommand.ts
1621
-
1622
-
1623
-
1624
- var DeleteSystemTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1625
- return [
1626
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1627
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1628
- ];
1629
- }).s("IotThingsGraphFrontEndService", "DeleteSystemTemplate", {}).n("IoTThingsGraphClient", "DeleteSystemTemplateCommand").f(void 0, void 0).ser(se_DeleteSystemTemplateCommand).de(de_DeleteSystemTemplateCommand).build() {
1630
- static {
1631
- __name(this, "DeleteSystemTemplateCommand");
1632
- }
1102
+ const de_FlowExecutionMessage = (output, context) => {
1103
+ return smithyClient.take(output, {
1104
+ eventType: smithyClient.expectString,
1105
+ messageId: smithyClient.expectString,
1106
+ payload: smithyClient.expectString,
1107
+ timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1108
+ });
1633
1109
  };
1634
-
1635
- // src/commands/DeploySystemInstanceCommand.ts
1636
-
1637
-
1638
-
1639
- var DeploySystemInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1640
- return [
1641
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1642
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1643
- ];
1644
- }).s("IotThingsGraphFrontEndService", "DeploySystemInstance", {}).n("IoTThingsGraphClient", "DeploySystemInstanceCommand").f(void 0, void 0).ser(se_DeploySystemInstanceCommand).de(de_DeploySystemInstanceCommand).build() {
1645
- static {
1646
- __name(this, "DeploySystemInstanceCommand");
1647
- }
1110
+ const de_FlowExecutionMessages = (output, context) => {
1111
+ const retVal = (output || [])
1112
+ .filter((e) => e != null)
1113
+ .map((entry) => {
1114
+ return de_FlowExecutionMessage(entry);
1115
+ });
1116
+ return retVal;
1648
1117
  };
1649
-
1650
- // src/commands/DeprecateFlowTemplateCommand.ts
1651
-
1652
-
1653
-
1654
- var DeprecateFlowTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1655
- return [
1656
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1657
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1658
- ];
1659
- }).s("IotThingsGraphFrontEndService", "DeprecateFlowTemplate", {}).n("IoTThingsGraphClient", "DeprecateFlowTemplateCommand").f(void 0, void 0).ser(se_DeprecateFlowTemplateCommand).de(de_DeprecateFlowTemplateCommand).build() {
1660
- static {
1661
- __name(this, "DeprecateFlowTemplateCommand");
1662
- }
1118
+ const de_FlowExecutionSummaries = (output, context) => {
1119
+ const retVal = (output || [])
1120
+ .filter((e) => e != null)
1121
+ .map((entry) => {
1122
+ return de_FlowExecutionSummary(entry);
1123
+ });
1124
+ return retVal;
1663
1125
  };
1664
-
1665
- // src/commands/DeprecateSystemTemplateCommand.ts
1666
-
1667
-
1668
-
1669
- var DeprecateSystemTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1670
- return [
1671
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1672
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1673
- ];
1674
- }).s("IotThingsGraphFrontEndService", "DeprecateSystemTemplate", {}).n("IoTThingsGraphClient", "DeprecateSystemTemplateCommand").f(void 0, void 0).ser(se_DeprecateSystemTemplateCommand).de(de_DeprecateSystemTemplateCommand).build() {
1675
- static {
1676
- __name(this, "DeprecateSystemTemplateCommand");
1677
- }
1126
+ const de_FlowExecutionSummary = (output, context) => {
1127
+ return smithyClient.take(output, {
1128
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1129
+ flowExecutionId: smithyClient.expectString,
1130
+ flowTemplateId: smithyClient.expectString,
1131
+ status: smithyClient.expectString,
1132
+ systemInstanceId: smithyClient.expectString,
1133
+ updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1134
+ });
1678
1135
  };
1679
-
1680
- // src/commands/DescribeNamespaceCommand.ts
1681
-
1682
-
1683
-
1684
- var DescribeNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1685
- return [
1686
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1687
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1688
- ];
1689
- }).s("IotThingsGraphFrontEndService", "DescribeNamespace", {}).n("IoTThingsGraphClient", "DescribeNamespaceCommand").f(void 0, void 0).ser(se_DescribeNamespaceCommand).de(de_DescribeNamespaceCommand).build() {
1690
- static {
1691
- __name(this, "DescribeNamespaceCommand");
1692
- }
1136
+ const de_FlowTemplateDescription = (output, context) => {
1137
+ return smithyClient.take(output, {
1138
+ definition: smithyClient._json,
1139
+ summary: (_) => de_FlowTemplateSummary(_),
1140
+ validatedNamespaceVersion: smithyClient.expectLong,
1141
+ });
1693
1142
  };
1694
-
1695
- // src/commands/DissociateEntityFromThingCommand.ts
1696
-
1697
-
1698
-
1699
- var DissociateEntityFromThingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1700
- return [
1701
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1702
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1703
- ];
1704
- }).s("IotThingsGraphFrontEndService", "DissociateEntityFromThing", {}).n("IoTThingsGraphClient", "DissociateEntityFromThingCommand").f(void 0, void 0).ser(se_DissociateEntityFromThingCommand).de(de_DissociateEntityFromThingCommand).build() {
1705
- static {
1706
- __name(this, "DissociateEntityFromThingCommand");
1707
- }
1143
+ const de_FlowTemplateSummaries = (output, context) => {
1144
+ const retVal = (output || [])
1145
+ .filter((e) => e != null)
1146
+ .map((entry) => {
1147
+ return de_FlowTemplateSummary(entry);
1148
+ });
1149
+ return retVal;
1708
1150
  };
1709
-
1710
- // src/commands/GetEntitiesCommand.ts
1711
-
1712
-
1713
-
1714
- var GetEntitiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1715
- return [
1716
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1717
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1718
- ];
1719
- }).s("IotThingsGraphFrontEndService", "GetEntities", {}).n("IoTThingsGraphClient", "GetEntitiesCommand").f(void 0, void 0).ser(se_GetEntitiesCommand).de(de_GetEntitiesCommand).build() {
1720
- static {
1721
- __name(this, "GetEntitiesCommand");
1722
- }
1151
+ const de_FlowTemplateSummary = (output, context) => {
1152
+ return smithyClient.take(output, {
1153
+ arn: smithyClient.expectString,
1154
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1155
+ id: smithyClient.expectString,
1156
+ revisionNumber: smithyClient.expectLong,
1157
+ });
1723
1158
  };
1724
-
1725
- // src/commands/GetFlowTemplateCommand.ts
1726
-
1727
-
1728
-
1729
- var GetFlowTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1730
- return [
1731
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1732
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1733
- ];
1734
- }).s("IotThingsGraphFrontEndService", "GetFlowTemplate", {}).n("IoTThingsGraphClient", "GetFlowTemplateCommand").f(void 0, void 0).ser(se_GetFlowTemplateCommand).de(de_GetFlowTemplateCommand).build() {
1735
- static {
1736
- __name(this, "GetFlowTemplateCommand");
1737
- }
1159
+ const de_GetEntitiesResponse = (output, context) => {
1160
+ return smithyClient.take(output, {
1161
+ descriptions: (_) => de_EntityDescriptions(_),
1162
+ });
1738
1163
  };
1739
-
1740
- // src/commands/GetFlowTemplateRevisionsCommand.ts
1741
-
1742
-
1743
-
1744
- var GetFlowTemplateRevisionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1745
- return [
1746
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1747
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1748
- ];
1749
- }).s("IotThingsGraphFrontEndService", "GetFlowTemplateRevisions", {}).n("IoTThingsGraphClient", "GetFlowTemplateRevisionsCommand").f(void 0, void 0).ser(se_GetFlowTemplateRevisionsCommand).de(de_GetFlowTemplateRevisionsCommand).build() {
1750
- static {
1751
- __name(this, "GetFlowTemplateRevisionsCommand");
1752
- }
1164
+ const de_GetFlowTemplateResponse = (output, context) => {
1165
+ return smithyClient.take(output, {
1166
+ description: (_) => de_FlowTemplateDescription(_),
1167
+ });
1753
1168
  };
1754
-
1755
- // src/commands/GetNamespaceDeletionStatusCommand.ts
1756
-
1757
-
1758
-
1759
- var GetNamespaceDeletionStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1760
- return [
1761
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1762
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1763
- ];
1764
- }).s("IotThingsGraphFrontEndService", "GetNamespaceDeletionStatus", {}).n("IoTThingsGraphClient", "GetNamespaceDeletionStatusCommand").f(void 0, void 0).ser(se_GetNamespaceDeletionStatusCommand).de(de_GetNamespaceDeletionStatusCommand).build() {
1765
- static {
1766
- __name(this, "GetNamespaceDeletionStatusCommand");
1767
- }
1169
+ const de_GetFlowTemplateRevisionsResponse = (output, context) => {
1170
+ return smithyClient.take(output, {
1171
+ nextToken: smithyClient.expectString,
1172
+ summaries: (_) => de_FlowTemplateSummaries(_),
1173
+ });
1768
1174
  };
1769
-
1770
- // src/commands/GetSystemInstanceCommand.ts
1771
-
1772
-
1773
-
1774
- var GetSystemInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1775
- return [
1776
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1777
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1778
- ];
1779
- }).s("IotThingsGraphFrontEndService", "GetSystemInstance", {}).n("IoTThingsGraphClient", "GetSystemInstanceCommand").f(void 0, void 0).ser(se_GetSystemInstanceCommand).de(de_GetSystemInstanceCommand).build() {
1780
- static {
1781
- __name(this, "GetSystemInstanceCommand");
1782
- }
1175
+ const de_GetSystemInstanceResponse = (output, context) => {
1176
+ return smithyClient.take(output, {
1177
+ description: (_) => de_SystemInstanceDescription(_),
1178
+ });
1783
1179
  };
1784
-
1785
- // src/commands/GetSystemTemplateCommand.ts
1786
-
1787
-
1788
-
1789
- var GetSystemTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1790
- return [
1791
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1792
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1793
- ];
1794
- }).s("IotThingsGraphFrontEndService", "GetSystemTemplate", {}).n("IoTThingsGraphClient", "GetSystemTemplateCommand").f(void 0, void 0).ser(se_GetSystemTemplateCommand).de(de_GetSystemTemplateCommand).build() {
1795
- static {
1796
- __name(this, "GetSystemTemplateCommand");
1797
- }
1180
+ const de_GetSystemTemplateResponse = (output, context) => {
1181
+ return smithyClient.take(output, {
1182
+ description: (_) => de_SystemTemplateDescription(_),
1183
+ });
1798
1184
  };
1799
-
1800
- // src/commands/GetSystemTemplateRevisionsCommand.ts
1801
-
1802
-
1803
-
1804
- var GetSystemTemplateRevisionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1805
- return [
1806
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1807
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1808
- ];
1809
- }).s("IotThingsGraphFrontEndService", "GetSystemTemplateRevisions", {}).n("IoTThingsGraphClient", "GetSystemTemplateRevisionsCommand").f(void 0, void 0).ser(se_GetSystemTemplateRevisionsCommand).de(de_GetSystemTemplateRevisionsCommand).build() {
1810
- static {
1811
- __name(this, "GetSystemTemplateRevisionsCommand");
1812
- }
1185
+ const de_GetSystemTemplateRevisionsResponse = (output, context) => {
1186
+ return smithyClient.take(output, {
1187
+ nextToken: smithyClient.expectString,
1188
+ summaries: (_) => de_SystemTemplateSummaries(_),
1189
+ });
1813
1190
  };
1814
-
1815
- // src/commands/GetUploadStatusCommand.ts
1816
-
1817
-
1818
-
1819
- var GetUploadStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1820
- return [
1821
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1822
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1823
- ];
1824
- }).s("IotThingsGraphFrontEndService", "GetUploadStatus", {}).n("IoTThingsGraphClient", "GetUploadStatusCommand").f(void 0, void 0).ser(se_GetUploadStatusCommand).de(de_GetUploadStatusCommand).build() {
1825
- static {
1826
- __name(this, "GetUploadStatusCommand");
1827
- }
1191
+ const de_GetUploadStatusResponse = (output, context) => {
1192
+ return smithyClient.take(output, {
1193
+ createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1194
+ failureReason: smithyClient._json,
1195
+ namespaceArn: smithyClient.expectString,
1196
+ namespaceName: smithyClient.expectString,
1197
+ namespaceVersion: smithyClient.expectLong,
1198
+ uploadId: smithyClient.expectString,
1199
+ uploadStatus: smithyClient.expectString,
1200
+ });
1828
1201
  };
1829
-
1830
- // src/commands/ListFlowExecutionMessagesCommand.ts
1831
-
1832
-
1833
-
1834
- var ListFlowExecutionMessagesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1835
- return [
1836
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1837
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1838
- ];
1839
- }).s("IotThingsGraphFrontEndService", "ListFlowExecutionMessages", {}).n("IoTThingsGraphClient", "ListFlowExecutionMessagesCommand").f(void 0, void 0).ser(se_ListFlowExecutionMessagesCommand).de(de_ListFlowExecutionMessagesCommand).build() {
1840
- static {
1841
- __name(this, "ListFlowExecutionMessagesCommand");
1842
- }
1202
+ const de_ListFlowExecutionMessagesResponse = (output, context) => {
1203
+ return smithyClient.take(output, {
1204
+ messages: (_) => de_FlowExecutionMessages(_),
1205
+ nextToken: smithyClient.expectString,
1206
+ });
1843
1207
  };
1844
-
1845
- // src/commands/ListTagsForResourceCommand.ts
1846
-
1847
-
1848
-
1849
- var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1850
- return [
1851
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1852
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1853
- ];
1854
- }).s("IotThingsGraphFrontEndService", "ListTagsForResource", {}).n("IoTThingsGraphClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1855
- static {
1856
- __name(this, "ListTagsForResourceCommand");
1857
- }
1208
+ const de_SearchEntitiesResponse = (output, context) => {
1209
+ return smithyClient.take(output, {
1210
+ descriptions: (_) => de_EntityDescriptions(_),
1211
+ nextToken: smithyClient.expectString,
1212
+ });
1858
1213
  };
1859
-
1860
- // src/commands/SearchEntitiesCommand.ts
1861
-
1862
-
1863
-
1864
- var SearchEntitiesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1865
- return [
1866
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1867
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1868
- ];
1869
- }).s("IotThingsGraphFrontEndService", "SearchEntities", {}).n("IoTThingsGraphClient", "SearchEntitiesCommand").f(void 0, void 0).ser(se_SearchEntitiesCommand).de(de_SearchEntitiesCommand).build() {
1870
- static {
1871
- __name(this, "SearchEntitiesCommand");
1872
- }
1214
+ const de_SearchFlowExecutionsResponse = (output, context) => {
1215
+ return smithyClient.take(output, {
1216
+ nextToken: smithyClient.expectString,
1217
+ summaries: (_) => de_FlowExecutionSummaries(_),
1218
+ });
1873
1219
  };
1874
-
1875
- // src/commands/SearchFlowExecutionsCommand.ts
1876
-
1877
-
1878
-
1879
- var SearchFlowExecutionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1880
- return [
1881
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1882
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1883
- ];
1884
- }).s("IotThingsGraphFrontEndService", "SearchFlowExecutions", {}).n("IoTThingsGraphClient", "SearchFlowExecutionsCommand").f(void 0, void 0).ser(se_SearchFlowExecutionsCommand).de(de_SearchFlowExecutionsCommand).build() {
1885
- static {
1886
- __name(this, "SearchFlowExecutionsCommand");
1887
- }
1220
+ const de_SearchFlowTemplatesResponse = (output, context) => {
1221
+ return smithyClient.take(output, {
1222
+ nextToken: smithyClient.expectString,
1223
+ summaries: (_) => de_FlowTemplateSummaries(_),
1224
+ });
1888
1225
  };
1889
-
1890
- // src/commands/SearchFlowTemplatesCommand.ts
1891
-
1892
-
1893
-
1894
- var SearchFlowTemplatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1895
- return [
1896
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1897
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1898
- ];
1899
- }).s("IotThingsGraphFrontEndService", "SearchFlowTemplates", {}).n("IoTThingsGraphClient", "SearchFlowTemplatesCommand").f(void 0, void 0).ser(se_SearchFlowTemplatesCommand).de(de_SearchFlowTemplatesCommand).build() {
1900
- static {
1901
- __name(this, "SearchFlowTemplatesCommand");
1902
- }
1226
+ const de_SearchSystemInstancesResponse = (output, context) => {
1227
+ return smithyClient.take(output, {
1228
+ nextToken: smithyClient.expectString,
1229
+ summaries: (_) => de_SystemInstanceSummaries(_),
1230
+ });
1903
1231
  };
1904
-
1905
- // src/commands/SearchSystemInstancesCommand.ts
1906
-
1907
-
1908
-
1909
- var SearchSystemInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1910
- return [
1911
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1912
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1913
- ];
1914
- }).s("IotThingsGraphFrontEndService", "SearchSystemInstances", {}).n("IoTThingsGraphClient", "SearchSystemInstancesCommand").f(void 0, void 0).ser(se_SearchSystemInstancesCommand).de(de_SearchSystemInstancesCommand).build() {
1915
- static {
1916
- __name(this, "SearchSystemInstancesCommand");
1917
- }
1232
+ const de_SearchSystemTemplatesResponse = (output, context) => {
1233
+ return smithyClient.take(output, {
1234
+ nextToken: smithyClient.expectString,
1235
+ summaries: (_) => de_SystemTemplateSummaries(_),
1236
+ });
1918
1237
  };
1919
-
1920
- // src/commands/SearchSystemTemplatesCommand.ts
1921
-
1922
-
1923
-
1924
- var SearchSystemTemplatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1925
- return [
1926
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1927
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1928
- ];
1929
- }).s("IotThingsGraphFrontEndService", "SearchSystemTemplates", {}).n("IoTThingsGraphClient", "SearchSystemTemplatesCommand").f(void 0, void 0).ser(se_SearchSystemTemplatesCommand).de(de_SearchSystemTemplatesCommand).build() {
1930
- static {
1931
- __name(this, "SearchSystemTemplatesCommand");
1932
- }
1238
+ const de_SystemInstanceDescription = (output, context) => {
1239
+ return smithyClient.take(output, {
1240
+ definition: smithyClient._json,
1241
+ flowActionsRoleArn: smithyClient.expectString,
1242
+ metricsConfiguration: smithyClient._json,
1243
+ s3BucketName: smithyClient.expectString,
1244
+ summary: (_) => de_SystemInstanceSummary(_),
1245
+ validatedDependencyRevisions: smithyClient._json,
1246
+ validatedNamespaceVersion: smithyClient.expectLong,
1247
+ });
1933
1248
  };
1934
-
1935
- // src/commands/SearchThingsCommand.ts
1936
-
1937
-
1938
-
1939
- var SearchThingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1940
- return [
1941
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1942
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1943
- ];
1944
- }).s("IotThingsGraphFrontEndService", "SearchThings", {}).n("IoTThingsGraphClient", "SearchThingsCommand").f(void 0, void 0).ser(se_SearchThingsCommand).de(de_SearchThingsCommand).build() {
1945
- static {
1946
- __name(this, "SearchThingsCommand");
1947
- }
1249
+ const de_SystemInstanceSummaries = (output, context) => {
1250
+ const retVal = (output || [])
1251
+ .filter((e) => e != null)
1252
+ .map((entry) => {
1253
+ return de_SystemInstanceSummary(entry);
1254
+ });
1255
+ return retVal;
1256
+ };
1257
+ const de_SystemInstanceSummary = (output, context) => {
1258
+ return smithyClient.take(output, {
1259
+ arn: smithyClient.expectString,
1260
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1261
+ greengrassGroupId: smithyClient.expectString,
1262
+ greengrassGroupName: smithyClient.expectString,
1263
+ greengrassGroupVersionId: smithyClient.expectString,
1264
+ id: smithyClient.expectString,
1265
+ status: smithyClient.expectString,
1266
+ target: smithyClient.expectString,
1267
+ updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1268
+ });
1269
+ };
1270
+ const de_SystemTemplateDescription = (output, context) => {
1271
+ return smithyClient.take(output, {
1272
+ definition: smithyClient._json,
1273
+ summary: (_) => de_SystemTemplateSummary(_),
1274
+ validatedNamespaceVersion: smithyClient.expectLong,
1275
+ });
1276
+ };
1277
+ const de_SystemTemplateSummaries = (output, context) => {
1278
+ const retVal = (output || [])
1279
+ .filter((e) => e != null)
1280
+ .map((entry) => {
1281
+ return de_SystemTemplateSummary(entry);
1282
+ });
1283
+ return retVal;
1284
+ };
1285
+ const de_SystemTemplateSummary = (output, context) => {
1286
+ return smithyClient.take(output, {
1287
+ arn: smithyClient.expectString,
1288
+ createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1289
+ id: smithyClient.expectString,
1290
+ revisionNumber: smithyClient.expectLong,
1291
+ });
1948
1292
  };
1293
+ const de_UndeploySystemInstanceResponse = (output, context) => {
1294
+ return smithyClient.take(output, {
1295
+ summary: (_) => de_SystemInstanceSummary(_),
1296
+ });
1297
+ };
1298
+ const de_UpdateFlowTemplateResponse = (output, context) => {
1299
+ return smithyClient.take(output, {
1300
+ summary: (_) => de_FlowTemplateSummary(_),
1301
+ });
1302
+ };
1303
+ const de_UpdateSystemTemplateResponse = (output, context) => {
1304
+ return smithyClient.take(output, {
1305
+ summary: (_) => de_SystemTemplateSummary(_),
1306
+ });
1307
+ };
1308
+ const deserializeMetadata = (output) => ({
1309
+ httpStatusCode: output.statusCode,
1310
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1311
+ extendedRequestId: output.headers["x-amz-id-2"],
1312
+ cfId: output.headers["x-amz-cf-id"],
1313
+ });
1314
+ const throwDefaultError = smithyClient.withBaseException(IoTThingsGraphServiceException);
1315
+ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1316
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1317
+ const contents = {
1318
+ protocol,
1319
+ hostname,
1320
+ port,
1321
+ method: "POST",
1322
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1323
+ headers,
1324
+ };
1325
+ if (body !== undefined) {
1326
+ contents.body = body;
1327
+ }
1328
+ return new protocolHttp.HttpRequest(contents);
1329
+ };
1330
+ function sharedHeaders(operation) {
1331
+ return {
1332
+ "content-type": "application/x-amz-json-1.1",
1333
+ "x-amz-target": `IotThingsGraphFrontEndService.${operation}`,
1334
+ };
1335
+ }
1949
1336
 
1950
- // src/commands/TagResourceCommand.ts
1337
+ class AssociateEntityToThingCommand extends smithyClient.Command
1338
+ .classBuilder()
1339
+ .ep(commonParams)
1340
+ .m(function (Command, cs, config, o) {
1341
+ return [
1342
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1343
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1344
+ ];
1345
+ })
1346
+ .s("IotThingsGraphFrontEndService", "AssociateEntityToThing", {})
1347
+ .n("IoTThingsGraphClient", "AssociateEntityToThingCommand")
1348
+ .f(void 0, void 0)
1349
+ .ser(se_AssociateEntityToThingCommand)
1350
+ .de(de_AssociateEntityToThingCommand)
1351
+ .build() {
1352
+ }
1951
1353
 
1354
+ class CreateFlowTemplateCommand extends smithyClient.Command
1355
+ .classBuilder()
1356
+ .ep(commonParams)
1357
+ .m(function (Command, cs, config, o) {
1358
+ return [
1359
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1360
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1361
+ ];
1362
+ })
1363
+ .s("IotThingsGraphFrontEndService", "CreateFlowTemplate", {})
1364
+ .n("IoTThingsGraphClient", "CreateFlowTemplateCommand")
1365
+ .f(void 0, void 0)
1366
+ .ser(se_CreateFlowTemplateCommand)
1367
+ .de(de_CreateFlowTemplateCommand)
1368
+ .build() {
1369
+ }
1952
1370
 
1371
+ class CreateSystemInstanceCommand extends smithyClient.Command
1372
+ .classBuilder()
1373
+ .ep(commonParams)
1374
+ .m(function (Command, cs, config, o) {
1375
+ return [
1376
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1377
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1378
+ ];
1379
+ })
1380
+ .s("IotThingsGraphFrontEndService", "CreateSystemInstance", {})
1381
+ .n("IoTThingsGraphClient", "CreateSystemInstanceCommand")
1382
+ .f(void 0, void 0)
1383
+ .ser(se_CreateSystemInstanceCommand)
1384
+ .de(de_CreateSystemInstanceCommand)
1385
+ .build() {
1386
+ }
1953
1387
 
1954
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1955
- return [
1956
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1957
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1958
- ];
1959
- }).s("IotThingsGraphFrontEndService", "TagResource", {}).n("IoTThingsGraphClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1960
- static {
1961
- __name(this, "TagResourceCommand");
1962
- }
1963
- };
1388
+ class CreateSystemTemplateCommand extends smithyClient.Command
1389
+ .classBuilder()
1390
+ .ep(commonParams)
1391
+ .m(function (Command, cs, config, o) {
1392
+ return [
1393
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1394
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1395
+ ];
1396
+ })
1397
+ .s("IotThingsGraphFrontEndService", "CreateSystemTemplate", {})
1398
+ .n("IoTThingsGraphClient", "CreateSystemTemplateCommand")
1399
+ .f(void 0, void 0)
1400
+ .ser(se_CreateSystemTemplateCommand)
1401
+ .de(de_CreateSystemTemplateCommand)
1402
+ .build() {
1403
+ }
1964
1404
 
1965
- // src/commands/UndeploySystemInstanceCommand.ts
1405
+ class DeleteFlowTemplateCommand extends smithyClient.Command
1406
+ .classBuilder()
1407
+ .ep(commonParams)
1408
+ .m(function (Command, cs, config, o) {
1409
+ return [
1410
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1411
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1412
+ ];
1413
+ })
1414
+ .s("IotThingsGraphFrontEndService", "DeleteFlowTemplate", {})
1415
+ .n("IoTThingsGraphClient", "DeleteFlowTemplateCommand")
1416
+ .f(void 0, void 0)
1417
+ .ser(se_DeleteFlowTemplateCommand)
1418
+ .de(de_DeleteFlowTemplateCommand)
1419
+ .build() {
1420
+ }
1966
1421
 
1422
+ class DeleteNamespaceCommand extends smithyClient.Command
1423
+ .classBuilder()
1424
+ .ep(commonParams)
1425
+ .m(function (Command, cs, config, o) {
1426
+ return [
1427
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1428
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1429
+ ];
1430
+ })
1431
+ .s("IotThingsGraphFrontEndService", "DeleteNamespace", {})
1432
+ .n("IoTThingsGraphClient", "DeleteNamespaceCommand")
1433
+ .f(void 0, void 0)
1434
+ .ser(se_DeleteNamespaceCommand)
1435
+ .de(de_DeleteNamespaceCommand)
1436
+ .build() {
1437
+ }
1967
1438
 
1439
+ class DeleteSystemInstanceCommand extends smithyClient.Command
1440
+ .classBuilder()
1441
+ .ep(commonParams)
1442
+ .m(function (Command, cs, config, o) {
1443
+ return [
1444
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1445
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1446
+ ];
1447
+ })
1448
+ .s("IotThingsGraphFrontEndService", "DeleteSystemInstance", {})
1449
+ .n("IoTThingsGraphClient", "DeleteSystemInstanceCommand")
1450
+ .f(void 0, void 0)
1451
+ .ser(se_DeleteSystemInstanceCommand)
1452
+ .de(de_DeleteSystemInstanceCommand)
1453
+ .build() {
1454
+ }
1968
1455
 
1969
- var UndeploySystemInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1970
- return [
1971
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1972
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1973
- ];
1974
- }).s("IotThingsGraphFrontEndService", "UndeploySystemInstance", {}).n("IoTThingsGraphClient", "UndeploySystemInstanceCommand").f(void 0, void 0).ser(se_UndeploySystemInstanceCommand).de(de_UndeploySystemInstanceCommand).build() {
1975
- static {
1976
- __name(this, "UndeploySystemInstanceCommand");
1977
- }
1978
- };
1456
+ class DeleteSystemTemplateCommand extends smithyClient.Command
1457
+ .classBuilder()
1458
+ .ep(commonParams)
1459
+ .m(function (Command, cs, config, o) {
1460
+ return [
1461
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1462
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1463
+ ];
1464
+ })
1465
+ .s("IotThingsGraphFrontEndService", "DeleteSystemTemplate", {})
1466
+ .n("IoTThingsGraphClient", "DeleteSystemTemplateCommand")
1467
+ .f(void 0, void 0)
1468
+ .ser(se_DeleteSystemTemplateCommand)
1469
+ .de(de_DeleteSystemTemplateCommand)
1470
+ .build() {
1471
+ }
1979
1472
 
1980
- // src/commands/UntagResourceCommand.ts
1473
+ class DeploySystemInstanceCommand extends smithyClient.Command
1474
+ .classBuilder()
1475
+ .ep(commonParams)
1476
+ .m(function (Command, cs, config, o) {
1477
+ return [
1478
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1479
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1480
+ ];
1481
+ })
1482
+ .s("IotThingsGraphFrontEndService", "DeploySystemInstance", {})
1483
+ .n("IoTThingsGraphClient", "DeploySystemInstanceCommand")
1484
+ .f(void 0, void 0)
1485
+ .ser(se_DeploySystemInstanceCommand)
1486
+ .de(de_DeploySystemInstanceCommand)
1487
+ .build() {
1488
+ }
1981
1489
 
1490
+ class DeprecateFlowTemplateCommand extends smithyClient.Command
1491
+ .classBuilder()
1492
+ .ep(commonParams)
1493
+ .m(function (Command, cs, config, o) {
1494
+ return [
1495
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1496
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1497
+ ];
1498
+ })
1499
+ .s("IotThingsGraphFrontEndService", "DeprecateFlowTemplate", {})
1500
+ .n("IoTThingsGraphClient", "DeprecateFlowTemplateCommand")
1501
+ .f(void 0, void 0)
1502
+ .ser(se_DeprecateFlowTemplateCommand)
1503
+ .de(de_DeprecateFlowTemplateCommand)
1504
+ .build() {
1505
+ }
1982
1506
 
1507
+ class DeprecateSystemTemplateCommand extends smithyClient.Command
1508
+ .classBuilder()
1509
+ .ep(commonParams)
1510
+ .m(function (Command, cs, config, o) {
1511
+ return [
1512
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1513
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1514
+ ];
1515
+ })
1516
+ .s("IotThingsGraphFrontEndService", "DeprecateSystemTemplate", {})
1517
+ .n("IoTThingsGraphClient", "DeprecateSystemTemplateCommand")
1518
+ .f(void 0, void 0)
1519
+ .ser(se_DeprecateSystemTemplateCommand)
1520
+ .de(de_DeprecateSystemTemplateCommand)
1521
+ .build() {
1522
+ }
1983
1523
 
1984
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1985
- return [
1986
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1987
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1988
- ];
1989
- }).s("IotThingsGraphFrontEndService", "UntagResource", {}).n("IoTThingsGraphClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1990
- static {
1991
- __name(this, "UntagResourceCommand");
1992
- }
1993
- };
1524
+ class DescribeNamespaceCommand extends smithyClient.Command
1525
+ .classBuilder()
1526
+ .ep(commonParams)
1527
+ .m(function (Command, cs, config, o) {
1528
+ return [
1529
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1530
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1531
+ ];
1532
+ })
1533
+ .s("IotThingsGraphFrontEndService", "DescribeNamespace", {})
1534
+ .n("IoTThingsGraphClient", "DescribeNamespaceCommand")
1535
+ .f(void 0, void 0)
1536
+ .ser(se_DescribeNamespaceCommand)
1537
+ .de(de_DescribeNamespaceCommand)
1538
+ .build() {
1539
+ }
1994
1540
 
1995
- // src/commands/UpdateFlowTemplateCommand.ts
1541
+ class DissociateEntityFromThingCommand extends smithyClient.Command
1542
+ .classBuilder()
1543
+ .ep(commonParams)
1544
+ .m(function (Command, cs, config, o) {
1545
+ return [
1546
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1547
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1548
+ ];
1549
+ })
1550
+ .s("IotThingsGraphFrontEndService", "DissociateEntityFromThing", {})
1551
+ .n("IoTThingsGraphClient", "DissociateEntityFromThingCommand")
1552
+ .f(void 0, void 0)
1553
+ .ser(se_DissociateEntityFromThingCommand)
1554
+ .de(de_DissociateEntityFromThingCommand)
1555
+ .build() {
1556
+ }
1996
1557
 
1558
+ class GetEntitiesCommand extends smithyClient.Command
1559
+ .classBuilder()
1560
+ .ep(commonParams)
1561
+ .m(function (Command, cs, config, o) {
1562
+ return [
1563
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1564
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1565
+ ];
1566
+ })
1567
+ .s("IotThingsGraphFrontEndService", "GetEntities", {})
1568
+ .n("IoTThingsGraphClient", "GetEntitiesCommand")
1569
+ .f(void 0, void 0)
1570
+ .ser(se_GetEntitiesCommand)
1571
+ .de(de_GetEntitiesCommand)
1572
+ .build() {
1573
+ }
1997
1574
 
1575
+ class GetFlowTemplateCommand extends smithyClient.Command
1576
+ .classBuilder()
1577
+ .ep(commonParams)
1578
+ .m(function (Command, cs, config, o) {
1579
+ return [
1580
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1581
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1582
+ ];
1583
+ })
1584
+ .s("IotThingsGraphFrontEndService", "GetFlowTemplate", {})
1585
+ .n("IoTThingsGraphClient", "GetFlowTemplateCommand")
1586
+ .f(void 0, void 0)
1587
+ .ser(se_GetFlowTemplateCommand)
1588
+ .de(de_GetFlowTemplateCommand)
1589
+ .build() {
1590
+ }
1998
1591
 
1999
- var UpdateFlowTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2000
- return [
2001
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2002
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2003
- ];
2004
- }).s("IotThingsGraphFrontEndService", "UpdateFlowTemplate", {}).n("IoTThingsGraphClient", "UpdateFlowTemplateCommand").f(void 0, void 0).ser(se_UpdateFlowTemplateCommand).de(de_UpdateFlowTemplateCommand).build() {
2005
- static {
2006
- __name(this, "UpdateFlowTemplateCommand");
2007
- }
2008
- };
1592
+ class GetFlowTemplateRevisionsCommand extends smithyClient.Command
1593
+ .classBuilder()
1594
+ .ep(commonParams)
1595
+ .m(function (Command, cs, config, o) {
1596
+ return [
1597
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1598
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1599
+ ];
1600
+ })
1601
+ .s("IotThingsGraphFrontEndService", "GetFlowTemplateRevisions", {})
1602
+ .n("IoTThingsGraphClient", "GetFlowTemplateRevisionsCommand")
1603
+ .f(void 0, void 0)
1604
+ .ser(se_GetFlowTemplateRevisionsCommand)
1605
+ .de(de_GetFlowTemplateRevisionsCommand)
1606
+ .build() {
1607
+ }
2009
1608
 
2010
- // src/commands/UpdateSystemTemplateCommand.ts
1609
+ class GetNamespaceDeletionStatusCommand extends smithyClient.Command
1610
+ .classBuilder()
1611
+ .ep(commonParams)
1612
+ .m(function (Command, cs, config, o) {
1613
+ return [
1614
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1615
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1616
+ ];
1617
+ })
1618
+ .s("IotThingsGraphFrontEndService", "GetNamespaceDeletionStatus", {})
1619
+ .n("IoTThingsGraphClient", "GetNamespaceDeletionStatusCommand")
1620
+ .f(void 0, void 0)
1621
+ .ser(se_GetNamespaceDeletionStatusCommand)
1622
+ .de(de_GetNamespaceDeletionStatusCommand)
1623
+ .build() {
1624
+ }
1625
+
1626
+ class GetSystemInstanceCommand extends smithyClient.Command
1627
+ .classBuilder()
1628
+ .ep(commonParams)
1629
+ .m(function (Command, cs, config, o) {
1630
+ return [
1631
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1632
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1633
+ ];
1634
+ })
1635
+ .s("IotThingsGraphFrontEndService", "GetSystemInstance", {})
1636
+ .n("IoTThingsGraphClient", "GetSystemInstanceCommand")
1637
+ .f(void 0, void 0)
1638
+ .ser(se_GetSystemInstanceCommand)
1639
+ .de(de_GetSystemInstanceCommand)
1640
+ .build() {
1641
+ }
2011
1642
 
1643
+ class GetSystemTemplateCommand extends smithyClient.Command
1644
+ .classBuilder()
1645
+ .ep(commonParams)
1646
+ .m(function (Command, cs, config, o) {
1647
+ return [
1648
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1649
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1650
+ ];
1651
+ })
1652
+ .s("IotThingsGraphFrontEndService", "GetSystemTemplate", {})
1653
+ .n("IoTThingsGraphClient", "GetSystemTemplateCommand")
1654
+ .f(void 0, void 0)
1655
+ .ser(se_GetSystemTemplateCommand)
1656
+ .de(de_GetSystemTemplateCommand)
1657
+ .build() {
1658
+ }
2012
1659
 
1660
+ class GetSystemTemplateRevisionsCommand extends smithyClient.Command
1661
+ .classBuilder()
1662
+ .ep(commonParams)
1663
+ .m(function (Command, cs, config, o) {
1664
+ return [
1665
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1666
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1667
+ ];
1668
+ })
1669
+ .s("IotThingsGraphFrontEndService", "GetSystemTemplateRevisions", {})
1670
+ .n("IoTThingsGraphClient", "GetSystemTemplateRevisionsCommand")
1671
+ .f(void 0, void 0)
1672
+ .ser(se_GetSystemTemplateRevisionsCommand)
1673
+ .de(de_GetSystemTemplateRevisionsCommand)
1674
+ .build() {
1675
+ }
2013
1676
 
2014
- var UpdateSystemTemplateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2015
- return [
2016
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2017
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2018
- ];
2019
- }).s("IotThingsGraphFrontEndService", "UpdateSystemTemplate", {}).n("IoTThingsGraphClient", "UpdateSystemTemplateCommand").f(void 0, void 0).ser(se_UpdateSystemTemplateCommand).de(de_UpdateSystemTemplateCommand).build() {
2020
- static {
2021
- __name(this, "UpdateSystemTemplateCommand");
2022
- }
2023
- };
1677
+ class GetUploadStatusCommand extends smithyClient.Command
1678
+ .classBuilder()
1679
+ .ep(commonParams)
1680
+ .m(function (Command, cs, config, o) {
1681
+ return [
1682
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1683
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1684
+ ];
1685
+ })
1686
+ .s("IotThingsGraphFrontEndService", "GetUploadStatus", {})
1687
+ .n("IoTThingsGraphClient", "GetUploadStatusCommand")
1688
+ .f(void 0, void 0)
1689
+ .ser(se_GetUploadStatusCommand)
1690
+ .de(de_GetUploadStatusCommand)
1691
+ .build() {
1692
+ }
2024
1693
 
2025
- // src/commands/UploadEntityDefinitionsCommand.ts
1694
+ class ListFlowExecutionMessagesCommand extends smithyClient.Command
1695
+ .classBuilder()
1696
+ .ep(commonParams)
1697
+ .m(function (Command, cs, config, o) {
1698
+ return [
1699
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1700
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1701
+ ];
1702
+ })
1703
+ .s("IotThingsGraphFrontEndService", "ListFlowExecutionMessages", {})
1704
+ .n("IoTThingsGraphClient", "ListFlowExecutionMessagesCommand")
1705
+ .f(void 0, void 0)
1706
+ .ser(se_ListFlowExecutionMessagesCommand)
1707
+ .de(de_ListFlowExecutionMessagesCommand)
1708
+ .build() {
1709
+ }
2026
1710
 
1711
+ class ListTagsForResourceCommand extends smithyClient.Command
1712
+ .classBuilder()
1713
+ .ep(commonParams)
1714
+ .m(function (Command, cs, config, o) {
1715
+ return [
1716
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1717
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1718
+ ];
1719
+ })
1720
+ .s("IotThingsGraphFrontEndService", "ListTagsForResource", {})
1721
+ .n("IoTThingsGraphClient", "ListTagsForResourceCommand")
1722
+ .f(void 0, void 0)
1723
+ .ser(se_ListTagsForResourceCommand)
1724
+ .de(de_ListTagsForResourceCommand)
1725
+ .build() {
1726
+ }
2027
1727
 
1728
+ class SearchEntitiesCommand extends smithyClient.Command
1729
+ .classBuilder()
1730
+ .ep(commonParams)
1731
+ .m(function (Command, cs, config, o) {
1732
+ return [
1733
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1734
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1735
+ ];
1736
+ })
1737
+ .s("IotThingsGraphFrontEndService", "SearchEntities", {})
1738
+ .n("IoTThingsGraphClient", "SearchEntitiesCommand")
1739
+ .f(void 0, void 0)
1740
+ .ser(se_SearchEntitiesCommand)
1741
+ .de(de_SearchEntitiesCommand)
1742
+ .build() {
1743
+ }
2028
1744
 
2029
- var UploadEntityDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2030
- return [
2031
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2032
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2033
- ];
2034
- }).s("IotThingsGraphFrontEndService", "UploadEntityDefinitions", {}).n("IoTThingsGraphClient", "UploadEntityDefinitionsCommand").f(void 0, void 0).ser(se_UploadEntityDefinitionsCommand).de(de_UploadEntityDefinitionsCommand).build() {
2035
- static {
2036
- __name(this, "UploadEntityDefinitionsCommand");
2037
- }
2038
- };
1745
+ class SearchFlowExecutionsCommand extends smithyClient.Command
1746
+ .classBuilder()
1747
+ .ep(commonParams)
1748
+ .m(function (Command, cs, config, o) {
1749
+ return [
1750
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1751
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1752
+ ];
1753
+ })
1754
+ .s("IotThingsGraphFrontEndService", "SearchFlowExecutions", {})
1755
+ .n("IoTThingsGraphClient", "SearchFlowExecutionsCommand")
1756
+ .f(void 0, void 0)
1757
+ .ser(se_SearchFlowExecutionsCommand)
1758
+ .de(de_SearchFlowExecutionsCommand)
1759
+ .build() {
1760
+ }
2039
1761
 
2040
- // src/IoTThingsGraph.ts
2041
- var commands = {
2042
- AssociateEntityToThingCommand,
2043
- CreateFlowTemplateCommand,
2044
- CreateSystemInstanceCommand,
2045
- CreateSystemTemplateCommand,
2046
- DeleteFlowTemplateCommand,
2047
- DeleteNamespaceCommand,
2048
- DeleteSystemInstanceCommand,
2049
- DeleteSystemTemplateCommand,
2050
- DeploySystemInstanceCommand,
2051
- DeprecateFlowTemplateCommand,
2052
- DeprecateSystemTemplateCommand,
2053
- DescribeNamespaceCommand,
2054
- DissociateEntityFromThingCommand,
2055
- GetEntitiesCommand,
2056
- GetFlowTemplateCommand,
2057
- GetFlowTemplateRevisionsCommand,
2058
- GetNamespaceDeletionStatusCommand,
2059
- GetSystemInstanceCommand,
2060
- GetSystemTemplateCommand,
2061
- GetSystemTemplateRevisionsCommand,
2062
- GetUploadStatusCommand,
2063
- ListFlowExecutionMessagesCommand,
2064
- ListTagsForResourceCommand,
2065
- SearchEntitiesCommand,
2066
- SearchFlowExecutionsCommand,
2067
- SearchFlowTemplatesCommand,
2068
- SearchSystemInstancesCommand,
2069
- SearchSystemTemplatesCommand,
2070
- SearchThingsCommand,
2071
- TagResourceCommand,
2072
- UndeploySystemInstanceCommand,
2073
- UntagResourceCommand,
2074
- UpdateFlowTemplateCommand,
2075
- UpdateSystemTemplateCommand,
2076
- UploadEntityDefinitionsCommand
2077
- };
2078
- var IoTThingsGraph = class extends IoTThingsGraphClient {
2079
- static {
2080
- __name(this, "IoTThingsGraph");
2081
- }
2082
- };
2083
- (0, import_smithy_client.createAggregatedClient)(commands, IoTThingsGraph);
1762
+ class SearchFlowTemplatesCommand extends smithyClient.Command
1763
+ .classBuilder()
1764
+ .ep(commonParams)
1765
+ .m(function (Command, cs, config, o) {
1766
+ return [
1767
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1768
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1769
+ ];
1770
+ })
1771
+ .s("IotThingsGraphFrontEndService", "SearchFlowTemplates", {})
1772
+ .n("IoTThingsGraphClient", "SearchFlowTemplatesCommand")
1773
+ .f(void 0, void 0)
1774
+ .ser(se_SearchFlowTemplatesCommand)
1775
+ .de(de_SearchFlowTemplatesCommand)
1776
+ .build() {
1777
+ }
2084
1778
 
2085
- // src/pagination/GetFlowTemplateRevisionsPaginator.ts
1779
+ class SearchSystemInstancesCommand extends smithyClient.Command
1780
+ .classBuilder()
1781
+ .ep(commonParams)
1782
+ .m(function (Command, cs, config, o) {
1783
+ return [
1784
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1785
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1786
+ ];
1787
+ })
1788
+ .s("IotThingsGraphFrontEndService", "SearchSystemInstances", {})
1789
+ .n("IoTThingsGraphClient", "SearchSystemInstancesCommand")
1790
+ .f(void 0, void 0)
1791
+ .ser(se_SearchSystemInstancesCommand)
1792
+ .de(de_SearchSystemInstancesCommand)
1793
+ .build() {
1794
+ }
2086
1795
 
2087
- var paginateGetFlowTemplateRevisions = (0, import_core.createPaginator)(IoTThingsGraphClient, GetFlowTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults");
1796
+ class SearchSystemTemplatesCommand extends smithyClient.Command
1797
+ .classBuilder()
1798
+ .ep(commonParams)
1799
+ .m(function (Command, cs, config, o) {
1800
+ return [
1801
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1802
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1803
+ ];
1804
+ })
1805
+ .s("IotThingsGraphFrontEndService", "SearchSystemTemplates", {})
1806
+ .n("IoTThingsGraphClient", "SearchSystemTemplatesCommand")
1807
+ .f(void 0, void 0)
1808
+ .ser(se_SearchSystemTemplatesCommand)
1809
+ .de(de_SearchSystemTemplatesCommand)
1810
+ .build() {
1811
+ }
2088
1812
 
2089
- // src/pagination/GetSystemTemplateRevisionsPaginator.ts
1813
+ class SearchThingsCommand extends smithyClient.Command
1814
+ .classBuilder()
1815
+ .ep(commonParams)
1816
+ .m(function (Command, cs, config, o) {
1817
+ return [
1818
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1819
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1820
+ ];
1821
+ })
1822
+ .s("IotThingsGraphFrontEndService", "SearchThings", {})
1823
+ .n("IoTThingsGraphClient", "SearchThingsCommand")
1824
+ .f(void 0, void 0)
1825
+ .ser(se_SearchThingsCommand)
1826
+ .de(de_SearchThingsCommand)
1827
+ .build() {
1828
+ }
2090
1829
 
2091
- var paginateGetSystemTemplateRevisions = (0, import_core.createPaginator)(IoTThingsGraphClient, GetSystemTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults");
1830
+ class TagResourceCommand extends smithyClient.Command
1831
+ .classBuilder()
1832
+ .ep(commonParams)
1833
+ .m(function (Command, cs, config, o) {
1834
+ return [
1835
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1836
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1837
+ ];
1838
+ })
1839
+ .s("IotThingsGraphFrontEndService", "TagResource", {})
1840
+ .n("IoTThingsGraphClient", "TagResourceCommand")
1841
+ .f(void 0, void 0)
1842
+ .ser(se_TagResourceCommand)
1843
+ .de(de_TagResourceCommand)
1844
+ .build() {
1845
+ }
2092
1846
 
2093
- // src/pagination/ListFlowExecutionMessagesPaginator.ts
1847
+ class UndeploySystemInstanceCommand extends smithyClient.Command
1848
+ .classBuilder()
1849
+ .ep(commonParams)
1850
+ .m(function (Command, cs, config, o) {
1851
+ return [
1852
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1853
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1854
+ ];
1855
+ })
1856
+ .s("IotThingsGraphFrontEndService", "UndeploySystemInstance", {})
1857
+ .n("IoTThingsGraphClient", "UndeploySystemInstanceCommand")
1858
+ .f(void 0, void 0)
1859
+ .ser(se_UndeploySystemInstanceCommand)
1860
+ .de(de_UndeploySystemInstanceCommand)
1861
+ .build() {
1862
+ }
2094
1863
 
2095
- var paginateListFlowExecutionMessages = (0, import_core.createPaginator)(IoTThingsGraphClient, ListFlowExecutionMessagesCommand, "nextToken", "nextToken", "maxResults");
1864
+ class UntagResourceCommand extends smithyClient.Command
1865
+ .classBuilder()
1866
+ .ep(commonParams)
1867
+ .m(function (Command, cs, config, o) {
1868
+ return [
1869
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1870
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1871
+ ];
1872
+ })
1873
+ .s("IotThingsGraphFrontEndService", "UntagResource", {})
1874
+ .n("IoTThingsGraphClient", "UntagResourceCommand")
1875
+ .f(void 0, void 0)
1876
+ .ser(se_UntagResourceCommand)
1877
+ .de(de_UntagResourceCommand)
1878
+ .build() {
1879
+ }
2096
1880
 
2097
- // src/pagination/ListTagsForResourcePaginator.ts
1881
+ class UpdateFlowTemplateCommand extends smithyClient.Command
1882
+ .classBuilder()
1883
+ .ep(commonParams)
1884
+ .m(function (Command, cs, config, o) {
1885
+ return [
1886
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1887
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1888
+ ];
1889
+ })
1890
+ .s("IotThingsGraphFrontEndService", "UpdateFlowTemplate", {})
1891
+ .n("IoTThingsGraphClient", "UpdateFlowTemplateCommand")
1892
+ .f(void 0, void 0)
1893
+ .ser(se_UpdateFlowTemplateCommand)
1894
+ .de(de_UpdateFlowTemplateCommand)
1895
+ .build() {
1896
+ }
2098
1897
 
2099
- var paginateListTagsForResource = (0, import_core.createPaginator)(IoTThingsGraphClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
1898
+ class UpdateSystemTemplateCommand extends smithyClient.Command
1899
+ .classBuilder()
1900
+ .ep(commonParams)
1901
+ .m(function (Command, cs, config, o) {
1902
+ return [
1903
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1904
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1905
+ ];
1906
+ })
1907
+ .s("IotThingsGraphFrontEndService", "UpdateSystemTemplate", {})
1908
+ .n("IoTThingsGraphClient", "UpdateSystemTemplateCommand")
1909
+ .f(void 0, void 0)
1910
+ .ser(se_UpdateSystemTemplateCommand)
1911
+ .de(de_UpdateSystemTemplateCommand)
1912
+ .build() {
1913
+ }
2100
1914
 
2101
- // src/pagination/SearchEntitiesPaginator.ts
1915
+ class UploadEntityDefinitionsCommand extends smithyClient.Command
1916
+ .classBuilder()
1917
+ .ep(commonParams)
1918
+ .m(function (Command, cs, config, o) {
1919
+ return [
1920
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1921
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1922
+ ];
1923
+ })
1924
+ .s("IotThingsGraphFrontEndService", "UploadEntityDefinitions", {})
1925
+ .n("IoTThingsGraphClient", "UploadEntityDefinitionsCommand")
1926
+ .f(void 0, void 0)
1927
+ .ser(se_UploadEntityDefinitionsCommand)
1928
+ .de(de_UploadEntityDefinitionsCommand)
1929
+ .build() {
1930
+ }
2102
1931
 
2103
- var paginateSearchEntities = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchEntitiesCommand, "nextToken", "nextToken", "maxResults");
1932
+ const commands = {
1933
+ AssociateEntityToThingCommand,
1934
+ CreateFlowTemplateCommand,
1935
+ CreateSystemInstanceCommand,
1936
+ CreateSystemTemplateCommand,
1937
+ DeleteFlowTemplateCommand,
1938
+ DeleteNamespaceCommand,
1939
+ DeleteSystemInstanceCommand,
1940
+ DeleteSystemTemplateCommand,
1941
+ DeploySystemInstanceCommand,
1942
+ DeprecateFlowTemplateCommand,
1943
+ DeprecateSystemTemplateCommand,
1944
+ DescribeNamespaceCommand,
1945
+ DissociateEntityFromThingCommand,
1946
+ GetEntitiesCommand,
1947
+ GetFlowTemplateCommand,
1948
+ GetFlowTemplateRevisionsCommand,
1949
+ GetNamespaceDeletionStatusCommand,
1950
+ GetSystemInstanceCommand,
1951
+ GetSystemTemplateCommand,
1952
+ GetSystemTemplateRevisionsCommand,
1953
+ GetUploadStatusCommand,
1954
+ ListFlowExecutionMessagesCommand,
1955
+ ListTagsForResourceCommand,
1956
+ SearchEntitiesCommand,
1957
+ SearchFlowExecutionsCommand,
1958
+ SearchFlowTemplatesCommand,
1959
+ SearchSystemInstancesCommand,
1960
+ SearchSystemTemplatesCommand,
1961
+ SearchThingsCommand,
1962
+ TagResourceCommand,
1963
+ UndeploySystemInstanceCommand,
1964
+ UntagResourceCommand,
1965
+ UpdateFlowTemplateCommand,
1966
+ UpdateSystemTemplateCommand,
1967
+ UploadEntityDefinitionsCommand,
1968
+ };
1969
+ class IoTThingsGraph extends IoTThingsGraphClient {
1970
+ }
1971
+ smithyClient.createAggregatedClient(commands, IoTThingsGraph);
2104
1972
 
2105
- // src/pagination/SearchFlowExecutionsPaginator.ts
1973
+ const paginateGetFlowTemplateRevisions = core.createPaginator(IoTThingsGraphClient, GetFlowTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults");
2106
1974
 
2107
- var paginateSearchFlowExecutions = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchFlowExecutionsCommand, "nextToken", "nextToken", "maxResults");
1975
+ const paginateGetSystemTemplateRevisions = core.createPaginator(IoTThingsGraphClient, GetSystemTemplateRevisionsCommand, "nextToken", "nextToken", "maxResults");
2108
1976
 
2109
- // src/pagination/SearchFlowTemplatesPaginator.ts
1977
+ const paginateListFlowExecutionMessages = core.createPaginator(IoTThingsGraphClient, ListFlowExecutionMessagesCommand, "nextToken", "nextToken", "maxResults");
2110
1978
 
2111
- var paginateSearchFlowTemplates = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchFlowTemplatesCommand, "nextToken", "nextToken", "maxResults");
1979
+ const paginateListTagsForResource = core.createPaginator(IoTThingsGraphClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
2112
1980
 
2113
- // src/pagination/SearchSystemInstancesPaginator.ts
1981
+ const paginateSearchEntities = core.createPaginator(IoTThingsGraphClient, SearchEntitiesCommand, "nextToken", "nextToken", "maxResults");
2114
1982
 
2115
- var paginateSearchSystemInstances = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchSystemInstancesCommand, "nextToken", "nextToken", "maxResults");
1983
+ const paginateSearchFlowExecutions = core.createPaginator(IoTThingsGraphClient, SearchFlowExecutionsCommand, "nextToken", "nextToken", "maxResults");
2116
1984
 
2117
- // src/pagination/SearchSystemTemplatesPaginator.ts
1985
+ const paginateSearchFlowTemplates = core.createPaginator(IoTThingsGraphClient, SearchFlowTemplatesCommand, "nextToken", "nextToken", "maxResults");
2118
1986
 
2119
- var paginateSearchSystemTemplates = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchSystemTemplatesCommand, "nextToken", "nextToken", "maxResults");
1987
+ const paginateSearchSystemInstances = core.createPaginator(IoTThingsGraphClient, SearchSystemInstancesCommand, "nextToken", "nextToken", "maxResults");
2120
1988
 
2121
- // src/pagination/SearchThingsPaginator.ts
1989
+ const paginateSearchSystemTemplates = core.createPaginator(IoTThingsGraphClient, SearchSystemTemplatesCommand, "nextToken", "nextToken", "maxResults");
2122
1990
 
2123
- var paginateSearchThings = (0, import_core.createPaginator)(IoTThingsGraphClient, SearchThingsCommand, "nextToken", "nextToken", "maxResults");
2124
- // Annotate the CommonJS export names for ESM import in node:
1991
+ const paginateSearchThings = core.createPaginator(IoTThingsGraphClient, SearchThingsCommand, "nextToken", "nextToken", "maxResults");
2125
1992
 
2126
- 0 && (module.exports = {
2127
- IoTThingsGraphServiceException,
2128
- __Client,
2129
- IoTThingsGraphClient,
2130
- IoTThingsGraph,
2131
- $Command,
2132
- AssociateEntityToThingCommand,
2133
- CreateFlowTemplateCommand,
2134
- CreateSystemInstanceCommand,
2135
- CreateSystemTemplateCommand,
2136
- DeleteFlowTemplateCommand,
2137
- DeleteNamespaceCommand,
2138
- DeleteSystemInstanceCommand,
2139
- DeleteSystemTemplateCommand,
2140
- DeploySystemInstanceCommand,
2141
- DeprecateFlowTemplateCommand,
2142
- DeprecateSystemTemplateCommand,
2143
- DescribeNamespaceCommand,
2144
- DissociateEntityFromThingCommand,
2145
- GetEntitiesCommand,
2146
- GetFlowTemplateCommand,
2147
- GetFlowTemplateRevisionsCommand,
2148
- GetNamespaceDeletionStatusCommand,
2149
- GetSystemInstanceCommand,
2150
- GetSystemTemplateCommand,
2151
- GetSystemTemplateRevisionsCommand,
2152
- GetUploadStatusCommand,
2153
- ListFlowExecutionMessagesCommand,
2154
- ListTagsForResourceCommand,
2155
- SearchEntitiesCommand,
2156
- SearchFlowExecutionsCommand,
2157
- SearchFlowTemplatesCommand,
2158
- SearchSystemInstancesCommand,
2159
- SearchSystemTemplatesCommand,
2160
- SearchThingsCommand,
2161
- TagResourceCommand,
2162
- UndeploySystemInstanceCommand,
2163
- UntagResourceCommand,
2164
- UpdateFlowTemplateCommand,
2165
- UpdateSystemTemplateCommand,
2166
- UploadEntityDefinitionsCommand,
2167
- paginateGetFlowTemplateRevisions,
2168
- paginateGetSystemTemplateRevisions,
2169
- paginateListFlowExecutionMessages,
2170
- paginateListTagsForResource,
2171
- paginateSearchEntities,
2172
- paginateSearchFlowExecutions,
2173
- paginateSearchFlowTemplates,
2174
- paginateSearchSystemInstances,
2175
- paginateSearchSystemTemplates,
2176
- paginateSearchThings,
2177
- InternalFailureException,
2178
- InvalidRequestException,
2179
- ResourceNotFoundException,
2180
- ThrottlingException,
2181
- DefinitionLanguage,
2182
- LimitExceededException,
2183
- ResourceAlreadyExistsException,
2184
- DeploymentTarget,
2185
- SystemInstanceDeploymentStatus,
2186
- ResourceInUseException,
2187
- EntityType,
2188
- EntityFilterName,
2189
- FlowExecutionEventType,
2190
- FlowExecutionStatus,
2191
- FlowTemplateFilterName,
2192
- NamespaceDeletionStatusErrorCodes,
2193
- NamespaceDeletionStatus,
2194
- UploadStatus,
2195
- SystemInstanceFilterName,
2196
- SystemTemplateFilterName
1993
+ Object.defineProperty(exports, "$Command", {
1994
+ enumerable: true,
1995
+ get: function () { return smithyClient.Command; }
2197
1996
  });
2198
-
1997
+ Object.defineProperty(exports, "__Client", {
1998
+ enumerable: true,
1999
+ get: function () { return smithyClient.Client; }
2000
+ });
2001
+ exports.AssociateEntityToThingCommand = AssociateEntityToThingCommand;
2002
+ exports.CreateFlowTemplateCommand = CreateFlowTemplateCommand;
2003
+ exports.CreateSystemInstanceCommand = CreateSystemInstanceCommand;
2004
+ exports.CreateSystemTemplateCommand = CreateSystemTemplateCommand;
2005
+ exports.DefinitionLanguage = DefinitionLanguage;
2006
+ exports.DeleteFlowTemplateCommand = DeleteFlowTemplateCommand;
2007
+ exports.DeleteNamespaceCommand = DeleteNamespaceCommand;
2008
+ exports.DeleteSystemInstanceCommand = DeleteSystemInstanceCommand;
2009
+ exports.DeleteSystemTemplateCommand = DeleteSystemTemplateCommand;
2010
+ exports.DeploySystemInstanceCommand = DeploySystemInstanceCommand;
2011
+ exports.DeploymentTarget = DeploymentTarget;
2012
+ exports.DeprecateFlowTemplateCommand = DeprecateFlowTemplateCommand;
2013
+ exports.DeprecateSystemTemplateCommand = DeprecateSystemTemplateCommand;
2014
+ exports.DescribeNamespaceCommand = DescribeNamespaceCommand;
2015
+ exports.DissociateEntityFromThingCommand = DissociateEntityFromThingCommand;
2016
+ exports.EntityFilterName = EntityFilterName;
2017
+ exports.EntityType = EntityType;
2018
+ exports.FlowExecutionEventType = FlowExecutionEventType;
2019
+ exports.FlowExecutionStatus = FlowExecutionStatus;
2020
+ exports.FlowTemplateFilterName = FlowTemplateFilterName;
2021
+ exports.GetEntitiesCommand = GetEntitiesCommand;
2022
+ exports.GetFlowTemplateCommand = GetFlowTemplateCommand;
2023
+ exports.GetFlowTemplateRevisionsCommand = GetFlowTemplateRevisionsCommand;
2024
+ exports.GetNamespaceDeletionStatusCommand = GetNamespaceDeletionStatusCommand;
2025
+ exports.GetSystemInstanceCommand = GetSystemInstanceCommand;
2026
+ exports.GetSystemTemplateCommand = GetSystemTemplateCommand;
2027
+ exports.GetSystemTemplateRevisionsCommand = GetSystemTemplateRevisionsCommand;
2028
+ exports.GetUploadStatusCommand = GetUploadStatusCommand;
2029
+ exports.InternalFailureException = InternalFailureException;
2030
+ exports.InvalidRequestException = InvalidRequestException;
2031
+ exports.IoTThingsGraph = IoTThingsGraph;
2032
+ exports.IoTThingsGraphClient = IoTThingsGraphClient;
2033
+ exports.IoTThingsGraphServiceException = IoTThingsGraphServiceException;
2034
+ exports.LimitExceededException = LimitExceededException;
2035
+ exports.ListFlowExecutionMessagesCommand = ListFlowExecutionMessagesCommand;
2036
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2037
+ exports.NamespaceDeletionStatus = NamespaceDeletionStatus;
2038
+ exports.NamespaceDeletionStatusErrorCodes = NamespaceDeletionStatusErrorCodes;
2039
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
2040
+ exports.ResourceInUseException = ResourceInUseException;
2041
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2042
+ exports.SearchEntitiesCommand = SearchEntitiesCommand;
2043
+ exports.SearchFlowExecutionsCommand = SearchFlowExecutionsCommand;
2044
+ exports.SearchFlowTemplatesCommand = SearchFlowTemplatesCommand;
2045
+ exports.SearchSystemInstancesCommand = SearchSystemInstancesCommand;
2046
+ exports.SearchSystemTemplatesCommand = SearchSystemTemplatesCommand;
2047
+ exports.SearchThingsCommand = SearchThingsCommand;
2048
+ exports.SystemInstanceDeploymentStatus = SystemInstanceDeploymentStatus;
2049
+ exports.SystemInstanceFilterName = SystemInstanceFilterName;
2050
+ exports.SystemTemplateFilterName = SystemTemplateFilterName;
2051
+ exports.TagResourceCommand = TagResourceCommand;
2052
+ exports.ThrottlingException = ThrottlingException;
2053
+ exports.UndeploySystemInstanceCommand = UndeploySystemInstanceCommand;
2054
+ exports.UntagResourceCommand = UntagResourceCommand;
2055
+ exports.UpdateFlowTemplateCommand = UpdateFlowTemplateCommand;
2056
+ exports.UpdateSystemTemplateCommand = UpdateSystemTemplateCommand;
2057
+ exports.UploadEntityDefinitionsCommand = UploadEntityDefinitionsCommand;
2058
+ exports.UploadStatus = UploadStatus;
2059
+ exports.paginateGetFlowTemplateRevisions = paginateGetFlowTemplateRevisions;
2060
+ exports.paginateGetSystemTemplateRevisions = paginateGetSystemTemplateRevisions;
2061
+ exports.paginateListFlowExecutionMessages = paginateListFlowExecutionMessages;
2062
+ exports.paginateListTagsForResource = paginateListTagsForResource;
2063
+ exports.paginateSearchEntities = paginateSearchEntities;
2064
+ exports.paginateSearchFlowExecutions = paginateSearchFlowExecutions;
2065
+ exports.paginateSearchFlowTemplates = paginateSearchFlowTemplates;
2066
+ exports.paginateSearchSystemInstances = paginateSearchSystemInstances;
2067
+ exports.paginateSearchSystemTemplates = paginateSearchSystemTemplates;
2068
+ exports.paginateSearchThings = paginateSearchThings;