@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,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 { DeprecateFlowTemplateRequestFilterSensitiveLog, DeprecateFlowTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeprecateFlowTemplateCommand, serializeAws_json1_1DeprecateFlowTemplateCommand, } from "../protocols/Aws_json1_1";
5
- export class DeprecateFlowTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeprecateFlowTemplateCommand = (function (_super) {
7
+ __extends(DeprecateFlowTemplateCommand, _super);
8
+ function DeprecateFlowTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeprecateFlowTemplateCommand.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 = "DeprecateFlowTemplateCommand";
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 = "DeprecateFlowTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeprecateFlowTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeprecateFlowTemplateResponseFilterSensitiveLog,
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
+ DeprecateFlowTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeprecateFlowTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeprecateFlowTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeprecateFlowTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeprecateFlowTemplateCommand;
38
+ }($Command));
39
+ export { DeprecateFlowTemplateCommand };
@@ -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 { DeprecateSystemTemplateRequestFilterSensitiveLog, DeprecateSystemTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeprecateSystemTemplateCommand, serializeAws_json1_1DeprecateSystemTemplateCommand, } from "../protocols/Aws_json1_1";
5
- export class DeprecateSystemTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeprecateSystemTemplateCommand = (function (_super) {
7
+ __extends(DeprecateSystemTemplateCommand, _super);
8
+ function DeprecateSystemTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeprecateSystemTemplateCommand.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 = "DeprecateSystemTemplateCommand";
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 = "DeprecateSystemTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeprecateSystemTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeprecateSystemTemplateResponseFilterSensitiveLog,
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
+ DeprecateSystemTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeprecateSystemTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeprecateSystemTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeprecateSystemTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeprecateSystemTemplateCommand;
38
+ }($Command));
39
+ export { DeprecateSystemTemplateCommand };
@@ -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 { DescribeNamespaceRequestFilterSensitiveLog, DescribeNamespaceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeNamespaceCommand, serializeAws_json1_1DescribeNamespaceCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeNamespaceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeNamespaceCommand = (function (_super) {
7
+ __extends(DescribeNamespaceCommand, _super);
8
+ function DescribeNamespaceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeNamespaceCommand.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 = "DescribeNamespaceCommand";
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 = "DescribeNamespaceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeNamespaceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeNamespaceResponseFilterSensitiveLog,
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
+ DescribeNamespaceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeNamespaceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeNamespaceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeNamespaceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeNamespaceCommand;
38
+ }($Command));
39
+ export { DescribeNamespaceCommand };
@@ -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 { DissociateEntityFromThingRequestFilterSensitiveLog, DissociateEntityFromThingResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DissociateEntityFromThingCommand, serializeAws_json1_1DissociateEntityFromThingCommand, } from "../protocols/Aws_json1_1";
5
- export class DissociateEntityFromThingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DissociateEntityFromThingCommand = (function (_super) {
7
+ __extends(DissociateEntityFromThingCommand, _super);
8
+ function DissociateEntityFromThingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DissociateEntityFromThingCommand.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 = "DissociateEntityFromThingCommand";
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 = "DissociateEntityFromThingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DissociateEntityFromThingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DissociateEntityFromThingResponseFilterSensitiveLog,
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
+ DissociateEntityFromThingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DissociateEntityFromThingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DissociateEntityFromThingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DissociateEntityFromThingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DissociateEntityFromThingCommand;
38
+ }($Command));
39
+ export { DissociateEntityFromThingCommand };
@@ -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 { GetEntitiesRequestFilterSensitiveLog, GetEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetEntitiesCommand, serializeAws_json1_1GetEntitiesCommand, } from "../protocols/Aws_json1_1";
5
- export class GetEntitiesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetEntitiesCommand = (function (_super) {
7
+ __extends(GetEntitiesCommand, _super);
8
+ function GetEntitiesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetEntitiesCommand.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 = "GetEntitiesCommand";
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 = "GetEntitiesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetEntitiesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetEntitiesResponseFilterSensitiveLog,
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
+ GetEntitiesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetEntitiesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetEntitiesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetEntitiesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetEntitiesCommand;
38
+ }($Command));
39
+ export { GetEntitiesCommand };
@@ -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 { GetFlowTemplateRequestFilterSensitiveLog, GetFlowTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetFlowTemplateCommand, serializeAws_json1_1GetFlowTemplateCommand, } from "../protocols/Aws_json1_1";
5
- export class GetFlowTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetFlowTemplateCommand = (function (_super) {
7
+ __extends(GetFlowTemplateCommand, _super);
8
+ function GetFlowTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetFlowTemplateCommand.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 = "GetFlowTemplateCommand";
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 = "GetFlowTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetFlowTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetFlowTemplateResponseFilterSensitiveLog,
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
+ GetFlowTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetFlowTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetFlowTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetFlowTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetFlowTemplateCommand;
38
+ }($Command));
39
+ export { GetFlowTemplateCommand };
@@ -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 { GetFlowTemplateRevisionsRequestFilterSensitiveLog, GetFlowTemplateRevisionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetFlowTemplateRevisionsCommand, serializeAws_json1_1GetFlowTemplateRevisionsCommand, } from "../protocols/Aws_json1_1";
5
- export class GetFlowTemplateRevisionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetFlowTemplateRevisionsCommand = (function (_super) {
7
+ __extends(GetFlowTemplateRevisionsCommand, _super);
8
+ function GetFlowTemplateRevisionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetFlowTemplateRevisionsCommand.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 = "GetFlowTemplateRevisionsCommand";
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 = "GetFlowTemplateRevisionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetFlowTemplateRevisionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetFlowTemplateRevisionsResponseFilterSensitiveLog,
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
+ GetFlowTemplateRevisionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetFlowTemplateRevisionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetFlowTemplateRevisionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetFlowTemplateRevisionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetFlowTemplateRevisionsCommand;
38
+ }($Command));
39
+ export { GetFlowTemplateRevisionsCommand };
@@ -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 { GetNamespaceDeletionStatusRequestFilterSensitiveLog, GetNamespaceDeletionStatusResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetNamespaceDeletionStatusCommand, serializeAws_json1_1GetNamespaceDeletionStatusCommand, } from "../protocols/Aws_json1_1";
5
- export class GetNamespaceDeletionStatusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetNamespaceDeletionStatusCommand = (function (_super) {
7
+ __extends(GetNamespaceDeletionStatusCommand, _super);
8
+ function GetNamespaceDeletionStatusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetNamespaceDeletionStatusCommand.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 = "GetNamespaceDeletionStatusCommand";
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 = "GetNamespaceDeletionStatusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetNamespaceDeletionStatusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetNamespaceDeletionStatusResponseFilterSensitiveLog,
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
+ GetNamespaceDeletionStatusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetNamespaceDeletionStatusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetNamespaceDeletionStatusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetNamespaceDeletionStatusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetNamespaceDeletionStatusCommand;
38
+ }($Command));
39
+ export { GetNamespaceDeletionStatusCommand };
@@ -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 { GetSystemInstanceRequestFilterSensitiveLog, GetSystemInstanceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetSystemInstanceCommand, serializeAws_json1_1GetSystemInstanceCommand, } from "../protocols/Aws_json1_1";
5
- export class GetSystemInstanceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetSystemInstanceCommand = (function (_super) {
7
+ __extends(GetSystemInstanceCommand, _super);
8
+ function GetSystemInstanceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSystemInstanceCommand.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 = "GetSystemInstanceCommand";
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 = "GetSystemInstanceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetSystemInstanceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetSystemInstanceResponseFilterSensitiveLog,
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
+ GetSystemInstanceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetSystemInstanceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSystemInstanceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetSystemInstanceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSystemInstanceCommand;
38
+ }($Command));
39
+ export { GetSystemInstanceCommand };
@@ -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 { GetSystemTemplateRequestFilterSensitiveLog, GetSystemTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1GetSystemTemplateCommand, serializeAws_json1_1GetSystemTemplateCommand, } from "../protocols/Aws_json1_1";
5
- export class GetSystemTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetSystemTemplateCommand = (function (_super) {
7
+ __extends(GetSystemTemplateCommand, _super);
8
+ function GetSystemTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSystemTemplateCommand.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 = "GetSystemTemplateCommand";
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 = "GetSystemTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetSystemTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetSystemTemplateResponseFilterSensitiveLog,
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
+ GetSystemTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetSystemTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSystemTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetSystemTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSystemTemplateCommand;
38
+ }($Command));
39
+ export { GetSystemTemplateCommand };