@aws-sdk/client-iotthingsgraph 3.183.0 → 3.186.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 (58) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/IoTThingsGraph.js +149 -142
  4. package/dist-es/IoTThingsGraphClient.js +28 -22
  5. package/dist-es/commands/AssociateEntityToThingCommand.js +28 -21
  6. package/dist-es/commands/CreateFlowTemplateCommand.js +28 -21
  7. package/dist-es/commands/CreateSystemInstanceCommand.js +28 -21
  8. package/dist-es/commands/CreateSystemTemplateCommand.js +28 -21
  9. package/dist-es/commands/DeleteFlowTemplateCommand.js +28 -21
  10. package/dist-es/commands/DeleteNamespaceCommand.js +28 -21
  11. package/dist-es/commands/DeleteSystemInstanceCommand.js +28 -21
  12. package/dist-es/commands/DeleteSystemTemplateCommand.js +28 -21
  13. package/dist-es/commands/DeploySystemInstanceCommand.js +28 -21
  14. package/dist-es/commands/DeprecateFlowTemplateCommand.js +28 -21
  15. package/dist-es/commands/DeprecateSystemTemplateCommand.js +28 -21
  16. package/dist-es/commands/DescribeNamespaceCommand.js +28 -21
  17. package/dist-es/commands/DissociateEntityFromThingCommand.js +28 -21
  18. package/dist-es/commands/GetEntitiesCommand.js +28 -21
  19. package/dist-es/commands/GetFlowTemplateCommand.js +28 -21
  20. package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +28 -21
  21. package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +28 -21
  22. package/dist-es/commands/GetSystemInstanceCommand.js +28 -21
  23. package/dist-es/commands/GetSystemTemplateCommand.js +28 -21
  24. package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +28 -21
  25. package/dist-es/commands/GetUploadStatusCommand.js +28 -21
  26. package/dist-es/commands/ListFlowExecutionMessagesCommand.js +28 -21
  27. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  28. package/dist-es/commands/SearchEntitiesCommand.js +28 -21
  29. package/dist-es/commands/SearchFlowExecutionsCommand.js +28 -21
  30. package/dist-es/commands/SearchFlowTemplatesCommand.js +28 -21
  31. package/dist-es/commands/SearchSystemInstancesCommand.js +28 -21
  32. package/dist-es/commands/SearchSystemTemplatesCommand.js +28 -21
  33. package/dist-es/commands/SearchThingsCommand.js +28 -21
  34. package/dist-es/commands/TagResourceCommand.js +28 -21
  35. package/dist-es/commands/UndeploySystemInstanceCommand.js +28 -21
  36. package/dist-es/commands/UntagResourceCommand.js +28 -21
  37. package/dist-es/commands/UpdateFlowTemplateCommand.js +28 -21
  38. package/dist-es/commands/UpdateSystemTemplateCommand.js +28 -21
  39. package/dist-es/commands/UploadEntityDefinitionsCommand.js +28 -21
  40. package/dist-es/endpoints.js +8 -8
  41. package/dist-es/models/IoTThingsGraphServiceException.js +10 -5
  42. package/dist-es/models/models_0.js +166 -341
  43. package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js +68 -25
  44. package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js +68 -25
  45. package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js +68 -25
  46. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  47. package/dist-es/pagination/SearchEntitiesPaginator.js +68 -25
  48. package/dist-es/pagination/SearchFlowExecutionsPaginator.js +68 -25
  49. package/dist-es/pagination/SearchFlowTemplatesPaginator.js +68 -25
  50. package/dist-es/pagination/SearchSystemInstancesPaginator.js +68 -25
  51. package/dist-es/pagination/SearchSystemTemplatesPaginator.js +68 -25
  52. package/dist-es/pagination/SearchThingsPaginator.js +68 -25
  53. package/dist-es/protocols/Aws_json1_1.js +2918 -2228
  54. package/dist-es/runtimeConfig.browser.js +12 -26
  55. package/dist-es/runtimeConfig.js +12 -30
  56. package/dist-es/runtimeConfig.native.js +5 -8
  57. package/dist-es/runtimeConfig.shared.js +11 -8
  58. package/package.json +33 -33
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class IoTThingsGraphClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var IoTThingsGraphClient = (function (_super) {
13
+ __extends(IoTThingsGraphClient, _super);
14
+ function IoTThingsGraphClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ IoTThingsGraphClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return IoTThingsGraphClient;
38
+ }(__Client));
39
+ export { IoTThingsGraphClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssociateEntityToThingRequestFilterSensitiveLog, AssociateEntityToThingResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AssociateEntityToThingCommand, serializeAws_json1_1AssociateEntityToThingCommand, } from "../protocols/Aws_json1_1";
5
- export class AssociateEntityToThingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateEntityToThingCommand = (function (_super) {
7
+ __extends(AssociateEntityToThingCommand, _super);
8
+ function AssociateEntityToThingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateEntityToThingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTThingsGraphClient";
15
- const commandName = "AssociateEntityToThingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTThingsGraphClient";
18
+ var commandName = "AssociateEntityToThingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateEntityToThingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateEntityToThingResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociateEntityToThingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AssociateEntityToThingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateEntityToThingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AssociateEntityToThingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateEntityToThingCommand;
38
+ }($Command));
39
+ export { AssociateEntityToThingCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateFlowTemplateRequestFilterSensitiveLog, CreateFlowTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateFlowTemplateCommand, serializeAws_json1_1CreateFlowTemplateCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateFlowTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateFlowTemplateCommand = (function (_super) {
7
+ __extends(CreateFlowTemplateCommand, _super);
8
+ function CreateFlowTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFlowTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTThingsGraphClient";
15
- const commandName = "CreateFlowTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTThingsGraphClient";
18
+ var commandName = "CreateFlowTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFlowTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFlowTemplateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateFlowTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateFlowTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFlowTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateFlowTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFlowTemplateCommand;
38
+ }($Command));
39
+ export { CreateFlowTemplateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateSystemInstanceRequestFilterSensitiveLog, CreateSystemInstanceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateSystemInstanceCommand, serializeAws_json1_1CreateSystemInstanceCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateSystemInstanceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateSystemInstanceCommand = (function (_super) {
7
+ __extends(CreateSystemInstanceCommand, _super);
8
+ function CreateSystemInstanceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateSystemInstanceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTThingsGraphClient";
15
- const commandName = "CreateSystemInstanceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTThingsGraphClient";
18
+ var commandName = "CreateSystemInstanceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateSystemInstanceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateSystemInstanceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateSystemInstanceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateSystemInstanceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateSystemInstanceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateSystemInstanceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateSystemInstanceCommand;
38
+ }($Command));
39
+ export { CreateSystemInstanceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateSystemTemplateRequestFilterSensitiveLog, CreateSystemTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateSystemTemplateCommand, serializeAws_json1_1CreateSystemTemplateCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateSystemTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateSystemTemplateCommand = (function (_super) {
7
+ __extends(CreateSystemTemplateCommand, _super);
8
+ function CreateSystemTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateSystemTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTThingsGraphClient";
15
- const commandName = "CreateSystemTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTThingsGraphClient";
18
+ var commandName = "CreateSystemTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateSystemTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateSystemTemplateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateSystemTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateSystemTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateSystemTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateSystemTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateSystemTemplateCommand;
38
+ }($Command));
39
+ export { CreateSystemTemplateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteFlowTemplateRequestFilterSensitiveLog, DeleteFlowTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteFlowTemplateCommand, serializeAws_json1_1DeleteFlowTemplateCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteFlowTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteFlowTemplateCommand = (function (_super) {
7
+ __extends(DeleteFlowTemplateCommand, _super);
8
+ function DeleteFlowTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteFlowTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTThingsGraphClient";
15
- const commandName = "DeleteFlowTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTThingsGraphClient";
18
+ var commandName = "DeleteFlowTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteFlowTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteFlowTemplateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteFlowTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteFlowTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteFlowTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteFlowTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteFlowTemplateCommand;
38
+ }($Command));
39
+ export { DeleteFlowTemplateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteNamespaceRequestFilterSensitiveLog, DeleteNamespaceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteNamespaceCommand, serializeAws_json1_1DeleteNamespaceCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteNamespaceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteNamespaceCommand = (function (_super) {
7
+ __extends(DeleteNamespaceCommand, _super);
8
+ function DeleteNamespaceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteNamespaceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTThingsGraphClient";
15
- const commandName = "DeleteNamespaceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTThingsGraphClient";
18
+ var commandName = "DeleteNamespaceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteNamespaceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteNamespaceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteNamespaceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteNamespaceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteNamespaceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteNamespaceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteNamespaceCommand;
38
+ }($Command));
39
+ export { DeleteNamespaceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteSystemInstanceRequestFilterSensitiveLog, DeleteSystemInstanceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteSystemInstanceCommand, serializeAws_json1_1DeleteSystemInstanceCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteSystemInstanceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSystemInstanceCommand = (function (_super) {
7
+ __extends(DeleteSystemInstanceCommand, _super);
8
+ function DeleteSystemInstanceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSystemInstanceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTThingsGraphClient";
15
- const commandName = "DeleteSystemInstanceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTThingsGraphClient";
18
+ var commandName = "DeleteSystemInstanceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSystemInstanceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSystemInstanceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteSystemInstanceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteSystemInstanceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSystemInstanceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteSystemInstanceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSystemInstanceCommand;
38
+ }($Command));
39
+ export { DeleteSystemInstanceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteSystemTemplateRequestFilterSensitiveLog, DeleteSystemTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteSystemTemplateCommand, serializeAws_json1_1DeleteSystemTemplateCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteSystemTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSystemTemplateCommand = (function (_super) {
7
+ __extends(DeleteSystemTemplateCommand, _super);
8
+ function DeleteSystemTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSystemTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTThingsGraphClient";
15
- const commandName = "DeleteSystemTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTThingsGraphClient";
18
+ var commandName = "DeleteSystemTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSystemTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSystemTemplateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteSystemTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteSystemTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSystemTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteSystemTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSystemTemplateCommand;
38
+ }($Command));
39
+ export { DeleteSystemTemplateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeploySystemInstanceRequestFilterSensitiveLog, DeploySystemInstanceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeploySystemInstanceCommand, serializeAws_json1_1DeploySystemInstanceCommand, } from "../protocols/Aws_json1_1";
5
- export class DeploySystemInstanceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeploySystemInstanceCommand = (function (_super) {
7
+ __extends(DeploySystemInstanceCommand, _super);
8
+ function DeploySystemInstanceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeploySystemInstanceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTThingsGraphClient";
15
- const commandName = "DeploySystemInstanceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTThingsGraphClient";
18
+ var commandName = "DeploySystemInstanceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeploySystemInstanceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeploySystemInstanceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeploySystemInstanceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeploySystemInstanceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeploySystemInstanceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeploySystemInstanceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeploySystemInstanceCommand;
38
+ }($Command));
39
+ export { DeploySystemInstanceCommand };