@aws-sdk/client-iotthingsgraph 3.181.0 → 3.183.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 (57) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/IoTThingsGraph.js +142 -149
  3. package/dist-es/IoTThingsGraphClient.js +22 -28
  4. package/dist-es/commands/AssociateEntityToThingCommand.js +21 -28
  5. package/dist-es/commands/CreateFlowTemplateCommand.js +21 -28
  6. package/dist-es/commands/CreateSystemInstanceCommand.js +21 -28
  7. package/dist-es/commands/CreateSystemTemplateCommand.js +21 -28
  8. package/dist-es/commands/DeleteFlowTemplateCommand.js +21 -28
  9. package/dist-es/commands/DeleteNamespaceCommand.js +21 -28
  10. package/dist-es/commands/DeleteSystemInstanceCommand.js +21 -28
  11. package/dist-es/commands/DeleteSystemTemplateCommand.js +21 -28
  12. package/dist-es/commands/DeploySystemInstanceCommand.js +21 -28
  13. package/dist-es/commands/DeprecateFlowTemplateCommand.js +21 -28
  14. package/dist-es/commands/DeprecateSystemTemplateCommand.js +21 -28
  15. package/dist-es/commands/DescribeNamespaceCommand.js +21 -28
  16. package/dist-es/commands/DissociateEntityFromThingCommand.js +21 -28
  17. package/dist-es/commands/GetEntitiesCommand.js +21 -28
  18. package/dist-es/commands/GetFlowTemplateCommand.js +21 -28
  19. package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +21 -28
  20. package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +21 -28
  21. package/dist-es/commands/GetSystemInstanceCommand.js +21 -28
  22. package/dist-es/commands/GetSystemTemplateCommand.js +21 -28
  23. package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +21 -28
  24. package/dist-es/commands/GetUploadStatusCommand.js +21 -28
  25. package/dist-es/commands/ListFlowExecutionMessagesCommand.js +21 -28
  26. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  27. package/dist-es/commands/SearchEntitiesCommand.js +21 -28
  28. package/dist-es/commands/SearchFlowExecutionsCommand.js +21 -28
  29. package/dist-es/commands/SearchFlowTemplatesCommand.js +21 -28
  30. package/dist-es/commands/SearchSystemInstancesCommand.js +21 -28
  31. package/dist-es/commands/SearchSystemTemplatesCommand.js +21 -28
  32. package/dist-es/commands/SearchThingsCommand.js +21 -28
  33. package/dist-es/commands/TagResourceCommand.js +21 -28
  34. package/dist-es/commands/UndeploySystemInstanceCommand.js +21 -28
  35. package/dist-es/commands/UntagResourceCommand.js +21 -28
  36. package/dist-es/commands/UpdateFlowTemplateCommand.js +21 -28
  37. package/dist-es/commands/UpdateSystemTemplateCommand.js +21 -28
  38. package/dist-es/commands/UploadEntityDefinitionsCommand.js +21 -28
  39. package/dist-es/endpoints.js +8 -8
  40. package/dist-es/models/IoTThingsGraphServiceException.js +5 -10
  41. package/dist-es/models/models_0.js +341 -166
  42. package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js +25 -68
  43. package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js +25 -68
  44. package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js +25 -68
  45. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  46. package/dist-es/pagination/SearchEntitiesPaginator.js +25 -68
  47. package/dist-es/pagination/SearchFlowExecutionsPaginator.js +25 -68
  48. package/dist-es/pagination/SearchFlowTemplatesPaginator.js +25 -68
  49. package/dist-es/pagination/SearchSystemInstancesPaginator.js +25 -68
  50. package/dist-es/pagination/SearchSystemTemplatesPaginator.js +25 -68
  51. package/dist-es/pagination/SearchThingsPaginator.js +25 -68
  52. package/dist-es/protocols/Aws_json1_1.js +2228 -2918
  53. package/dist-es/runtimeConfig.browser.js +26 -12
  54. package/dist-es/runtimeConfig.js +30 -12
  55. package/dist-es/runtimeConfig.native.js +8 -5
  56. package/dist-es/runtimeConfig.shared.js +8 -11
  57. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetSystemTemplateRevisionsRequestFilterSensitiveLog, GetSystemTemplateRevisionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetSystemTemplateRevisionsCommand, serializeAws_json1_1GetSystemTemplateRevisionsCommand, } from "../protocols/Aws_json1_1";
6
- var GetSystemTemplateRevisionsCommand = (function (_super) {
7
- __extends(GetSystemTemplateRevisionsCommand, _super);
8
- function GetSystemTemplateRevisionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetSystemTemplateRevisionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSystemTemplateRevisionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTThingsGraphClient";
18
- var commandName = "GetSystemTemplateRevisionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTThingsGraphClient";
15
+ const commandName = "GetSystemTemplateRevisionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSystemTemplateRevisionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetSystemTemplateRevisionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetSystemTemplateRevisionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetSystemTemplateRevisionsCommand(input, context);
33
- };
34
- GetSystemTemplateRevisionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetSystemTemplateRevisionsCommand(output, context);
36
- };
37
- return GetSystemTemplateRevisionsCommand;
38
- }($Command));
39
- export { GetSystemTemplateRevisionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetUploadStatusRequestFilterSensitiveLog, GetUploadStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetUploadStatusCommand, serializeAws_json1_1GetUploadStatusCommand, } from "../protocols/Aws_json1_1";
6
- var GetUploadStatusCommand = (function (_super) {
7
- __extends(GetUploadStatusCommand, _super);
8
- function GetUploadStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetUploadStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetUploadStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTThingsGraphClient";
18
- var commandName = "GetUploadStatusCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTThingsGraphClient";
15
+ const commandName = "GetUploadStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetUploadStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetUploadStatusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetUploadStatusCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetUploadStatusCommand(input, context);
33
- };
34
- GetUploadStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetUploadStatusCommand(output, context);
36
- };
37
- return GetUploadStatusCommand;
38
- }($Command));
39
- export { GetUploadStatusCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListFlowExecutionMessagesRequestFilterSensitiveLog, ListFlowExecutionMessagesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListFlowExecutionMessagesCommand, serializeAws_json1_1ListFlowExecutionMessagesCommand, } from "../protocols/Aws_json1_1";
6
- var ListFlowExecutionMessagesCommand = (function (_super) {
7
- __extends(ListFlowExecutionMessagesCommand, _super);
8
- function ListFlowExecutionMessagesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListFlowExecutionMessagesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListFlowExecutionMessagesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTThingsGraphClient";
18
- var commandName = "ListFlowExecutionMessagesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTThingsGraphClient";
15
+ const commandName = "ListFlowExecutionMessagesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListFlowExecutionMessagesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListFlowExecutionMessagesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListFlowExecutionMessagesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListFlowExecutionMessagesCommand(input, context);
33
- };
34
- ListFlowExecutionMessagesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListFlowExecutionMessagesCommand(output, context);
36
- };
37
- return ListFlowExecutionMessagesCommand;
38
- }($Command));
39
- export { ListFlowExecutionMessagesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTThingsGraphClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTThingsGraphClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SearchEntitiesRequestFilterSensitiveLog, SearchEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SearchEntitiesCommand, serializeAws_json1_1SearchEntitiesCommand, } from "../protocols/Aws_json1_1";
6
- var SearchEntitiesCommand = (function (_super) {
7
- __extends(SearchEntitiesCommand, _super);
8
- function SearchEntitiesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SearchEntitiesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SearchEntitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTThingsGraphClient";
18
- var commandName = "SearchEntitiesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTThingsGraphClient";
15
+ const commandName = "SearchEntitiesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SearchEntitiesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SearchEntitiesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SearchEntitiesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1SearchEntitiesCommand(input, context);
33
- };
34
- SearchEntitiesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1SearchEntitiesCommand(output, context);
36
- };
37
- return SearchEntitiesCommand;
38
- }($Command));
39
- export { SearchEntitiesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SearchFlowExecutionsRequestFilterSensitiveLog, SearchFlowExecutionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SearchFlowExecutionsCommand, serializeAws_json1_1SearchFlowExecutionsCommand, } from "../protocols/Aws_json1_1";
6
- var SearchFlowExecutionsCommand = (function (_super) {
7
- __extends(SearchFlowExecutionsCommand, _super);
8
- function SearchFlowExecutionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SearchFlowExecutionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SearchFlowExecutionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTThingsGraphClient";
18
- var commandName = "SearchFlowExecutionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTThingsGraphClient";
15
+ const commandName = "SearchFlowExecutionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SearchFlowExecutionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SearchFlowExecutionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SearchFlowExecutionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1SearchFlowExecutionsCommand(input, context);
33
- };
34
- SearchFlowExecutionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1SearchFlowExecutionsCommand(output, context);
36
- };
37
- return SearchFlowExecutionsCommand;
38
- }($Command));
39
- export { SearchFlowExecutionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SearchFlowTemplatesRequestFilterSensitiveLog, SearchFlowTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SearchFlowTemplatesCommand, serializeAws_json1_1SearchFlowTemplatesCommand, } from "../protocols/Aws_json1_1";
6
- var SearchFlowTemplatesCommand = (function (_super) {
7
- __extends(SearchFlowTemplatesCommand, _super);
8
- function SearchFlowTemplatesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SearchFlowTemplatesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SearchFlowTemplatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTThingsGraphClient";
18
- var commandName = "SearchFlowTemplatesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTThingsGraphClient";
15
+ const commandName = "SearchFlowTemplatesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SearchFlowTemplatesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SearchFlowTemplatesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SearchFlowTemplatesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1SearchFlowTemplatesCommand(input, context);
33
- };
34
- SearchFlowTemplatesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1SearchFlowTemplatesCommand(output, context);
36
- };
37
- return SearchFlowTemplatesCommand;
38
- }($Command));
39
- export { SearchFlowTemplatesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SearchSystemInstancesRequestFilterSensitiveLog, SearchSystemInstancesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SearchSystemInstancesCommand, serializeAws_json1_1SearchSystemInstancesCommand, } from "../protocols/Aws_json1_1";
6
- var SearchSystemInstancesCommand = (function (_super) {
7
- __extends(SearchSystemInstancesCommand, _super);
8
- function SearchSystemInstancesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SearchSystemInstancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SearchSystemInstancesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTThingsGraphClient";
18
- var commandName = "SearchSystemInstancesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTThingsGraphClient";
15
+ const commandName = "SearchSystemInstancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SearchSystemInstancesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SearchSystemInstancesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SearchSystemInstancesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1SearchSystemInstancesCommand(input, context);
33
- };
34
- SearchSystemInstancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1SearchSystemInstancesCommand(output, context);
36
- };
37
- return SearchSystemInstancesCommand;
38
- }($Command));
39
- export { SearchSystemInstancesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SearchSystemTemplatesRequestFilterSensitiveLog, SearchSystemTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SearchSystemTemplatesCommand, serializeAws_json1_1SearchSystemTemplatesCommand, } from "../protocols/Aws_json1_1";
6
- var SearchSystemTemplatesCommand = (function (_super) {
7
- __extends(SearchSystemTemplatesCommand, _super);
8
- function SearchSystemTemplatesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SearchSystemTemplatesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SearchSystemTemplatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTThingsGraphClient";
18
- var commandName = "SearchSystemTemplatesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTThingsGraphClient";
15
+ const commandName = "SearchSystemTemplatesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SearchSystemTemplatesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SearchSystemTemplatesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SearchSystemTemplatesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1SearchSystemTemplatesCommand(input, context);
33
- };
34
- SearchSystemTemplatesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1SearchSystemTemplatesCommand(output, context);
36
- };
37
- return SearchSystemTemplatesCommand;
38
- }($Command));
39
- export { SearchSystemTemplatesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SearchThingsRequestFilterSensitiveLog, SearchThingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SearchThingsCommand, serializeAws_json1_1SearchThingsCommand, } from "../protocols/Aws_json1_1";
6
- var SearchThingsCommand = (function (_super) {
7
- __extends(SearchThingsCommand, _super);
8
- function SearchThingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SearchThingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SearchThingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTThingsGraphClient";
18
- var commandName = "SearchThingsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTThingsGraphClient";
15
+ const commandName = "SearchThingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SearchThingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SearchThingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SearchThingsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1SearchThingsCommand(input, context);
33
- };
34
- SearchThingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1SearchThingsCommand(output, context);
36
- };
37
- return SearchThingsCommand;
38
- }($Command));
39
- export { SearchThingsCommand };
31
+ }
32
+ }