@aws-sdk/client-iotthingsgraph 3.180.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 (58) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +41 -35
  3. package/dist-es/IoTThingsGraph.js +142 -149
  4. package/dist-es/IoTThingsGraphClient.js +22 -28
  5. package/dist-es/commands/AssociateEntityToThingCommand.js +21 -28
  6. package/dist-es/commands/CreateFlowTemplateCommand.js +21 -28
  7. package/dist-es/commands/CreateSystemInstanceCommand.js +21 -28
  8. package/dist-es/commands/CreateSystemTemplateCommand.js +21 -28
  9. package/dist-es/commands/DeleteFlowTemplateCommand.js +21 -28
  10. package/dist-es/commands/DeleteNamespaceCommand.js +21 -28
  11. package/dist-es/commands/DeleteSystemInstanceCommand.js +21 -28
  12. package/dist-es/commands/DeleteSystemTemplateCommand.js +21 -28
  13. package/dist-es/commands/DeploySystemInstanceCommand.js +21 -28
  14. package/dist-es/commands/DeprecateFlowTemplateCommand.js +21 -28
  15. package/dist-es/commands/DeprecateSystemTemplateCommand.js +21 -28
  16. package/dist-es/commands/DescribeNamespaceCommand.js +21 -28
  17. package/dist-es/commands/DissociateEntityFromThingCommand.js +21 -28
  18. package/dist-es/commands/GetEntitiesCommand.js +21 -28
  19. package/dist-es/commands/GetFlowTemplateCommand.js +21 -28
  20. package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +21 -28
  21. package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +21 -28
  22. package/dist-es/commands/GetSystemInstanceCommand.js +21 -28
  23. package/dist-es/commands/GetSystemTemplateCommand.js +21 -28
  24. package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +21 -28
  25. package/dist-es/commands/GetUploadStatusCommand.js +21 -28
  26. package/dist-es/commands/ListFlowExecutionMessagesCommand.js +21 -28
  27. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  28. package/dist-es/commands/SearchEntitiesCommand.js +21 -28
  29. package/dist-es/commands/SearchFlowExecutionsCommand.js +21 -28
  30. package/dist-es/commands/SearchFlowTemplatesCommand.js +21 -28
  31. package/dist-es/commands/SearchSystemInstancesCommand.js +21 -28
  32. package/dist-es/commands/SearchSystemTemplatesCommand.js +21 -28
  33. package/dist-es/commands/SearchThingsCommand.js +21 -28
  34. package/dist-es/commands/TagResourceCommand.js +21 -28
  35. package/dist-es/commands/UndeploySystemInstanceCommand.js +21 -28
  36. package/dist-es/commands/UntagResourceCommand.js +21 -28
  37. package/dist-es/commands/UpdateFlowTemplateCommand.js +21 -28
  38. package/dist-es/commands/UpdateSystemTemplateCommand.js +21 -28
  39. package/dist-es/commands/UploadEntityDefinitionsCommand.js +21 -28
  40. package/dist-es/endpoints.js +8 -8
  41. package/dist-es/models/IoTThingsGraphServiceException.js +5 -10
  42. package/dist-es/models/models_0.js +341 -166
  43. package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js +25 -68
  44. package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js +25 -68
  45. package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js +25 -68
  46. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  47. package/dist-es/pagination/SearchEntitiesPaginator.js +25 -68
  48. package/dist-es/pagination/SearchFlowExecutionsPaginator.js +25 -68
  49. package/dist-es/pagination/SearchFlowTemplatesPaginator.js +25 -68
  50. package/dist-es/pagination/SearchSystemInstancesPaginator.js +25 -68
  51. package/dist-es/pagination/SearchSystemTemplatesPaginator.js +25 -68
  52. package/dist-es/pagination/SearchThingsPaginator.js +25 -68
  53. package/dist-es/protocols/Aws_json1_1.js +2228 -2905
  54. package/dist-es/runtimeConfig.browser.js +26 -12
  55. package/dist-es/runtimeConfig.js +30 -12
  56. package/dist-es/runtimeConfig.native.js +8 -5
  57. package/dist-es/runtimeConfig.shared.js +8 -11
  58. 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 { DeprecateFlowTemplateRequestFilterSensitiveLog, DeprecateFlowTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeprecateFlowTemplateCommand, serializeAws_json1_1DeprecateFlowTemplateCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeprecateFlowTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeprecateFlowTemplateCommand.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 = "DeprecateFlowTemplateCommand";
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 = "DeprecateFlowTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeprecateFlowTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeprecateFlowTemplateResponseFilterSensitiveLog,
25
22
  };
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) {
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_1DeprecateFlowTemplateCommand(input, context);
33
- };
34
- DeprecateFlowTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeprecateFlowTemplateCommand(output, context);
36
- };
37
- return DeprecateFlowTemplateCommand;
38
- }($Command));
39
- export { DeprecateFlowTemplateCommand };
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 { DeprecateSystemTemplateRequestFilterSensitiveLog, DeprecateSystemTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeprecateSystemTemplateCommand, serializeAws_json1_1DeprecateSystemTemplateCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeprecateSystemTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeprecateSystemTemplateCommand.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 = "DeprecateSystemTemplateCommand";
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 = "DeprecateSystemTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeprecateSystemTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeprecateSystemTemplateResponseFilterSensitiveLog,
25
22
  };
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) {
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_1DeprecateSystemTemplateCommand(input, context);
33
- };
34
- DeprecateSystemTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeprecateSystemTemplateCommand(output, context);
36
- };
37
- return DeprecateSystemTemplateCommand;
38
- }($Command));
39
- export { DeprecateSystemTemplateCommand };
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 { DescribeNamespaceRequestFilterSensitiveLog, DescribeNamespaceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeNamespaceCommand, serializeAws_json1_1DescribeNamespaceCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeNamespaceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeNamespaceCommand.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 = "DescribeNamespaceCommand";
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 = "DescribeNamespaceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeNamespaceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeNamespaceResponseFilterSensitiveLog,
25
22
  };
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) {
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_1DescribeNamespaceCommand(input, context);
33
- };
34
- DescribeNamespaceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeNamespaceCommand(output, context);
36
- };
37
- return DescribeNamespaceCommand;
38
- }($Command));
39
- export { DescribeNamespaceCommand };
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 { DissociateEntityFromThingRequestFilterSensitiveLog, DissociateEntityFromThingResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DissociateEntityFromThingCommand, serializeAws_json1_1DissociateEntityFromThingCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DissociateEntityFromThingCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DissociateEntityFromThingCommand.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 = "DissociateEntityFromThingCommand";
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 = "DissociateEntityFromThingCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DissociateEntityFromThingRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DissociateEntityFromThingResponseFilterSensitiveLog,
25
22
  };
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) {
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_1DissociateEntityFromThingCommand(input, context);
33
- };
34
- DissociateEntityFromThingCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DissociateEntityFromThingCommand(output, context);
36
- };
37
- return DissociateEntityFromThingCommand;
38
- }($Command));
39
- export { DissociateEntityFromThingCommand };
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 { GetEntitiesRequestFilterSensitiveLog, GetEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetEntitiesCommand, serializeAws_json1_1GetEntitiesCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class GetEntitiesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetEntitiesCommand.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 = "GetEntitiesCommand";
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 = "GetEntitiesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetEntitiesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetEntitiesResponseFilterSensitiveLog,
25
22
  };
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) {
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_1GetEntitiesCommand(input, context);
33
- };
34
- GetEntitiesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetEntitiesCommand(output, context);
36
- };
37
- return GetEntitiesCommand;
38
- }($Command));
39
- export { GetEntitiesCommand };
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 { GetFlowTemplateRequestFilterSensitiveLog, GetFlowTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetFlowTemplateCommand, serializeAws_json1_1GetFlowTemplateCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class GetFlowTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFlowTemplateCommand.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 = "GetFlowTemplateCommand";
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 = "GetFlowTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFlowTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFlowTemplateResponseFilterSensitiveLog,
25
22
  };
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) {
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_1GetFlowTemplateCommand(input, context);
33
- };
34
- GetFlowTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetFlowTemplateCommand(output, context);
36
- };
37
- return GetFlowTemplateCommand;
38
- }($Command));
39
- export { GetFlowTemplateCommand };
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 { GetFlowTemplateRevisionsRequestFilterSensitiveLog, GetFlowTemplateRevisionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetFlowTemplateRevisionsCommand, serializeAws_json1_1GetFlowTemplateRevisionsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class GetFlowTemplateRevisionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFlowTemplateRevisionsCommand.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 = "GetFlowTemplateRevisionsCommand";
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 = "GetFlowTemplateRevisionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFlowTemplateRevisionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFlowTemplateRevisionsResponseFilterSensitiveLog,
25
22
  };
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) {
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_1GetFlowTemplateRevisionsCommand(input, context);
33
- };
34
- GetFlowTemplateRevisionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetFlowTemplateRevisionsCommand(output, context);
36
- };
37
- return GetFlowTemplateRevisionsCommand;
38
- }($Command));
39
- export { GetFlowTemplateRevisionsCommand };
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 { GetNamespaceDeletionStatusRequestFilterSensitiveLog, GetNamespaceDeletionStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetNamespaceDeletionStatusCommand, serializeAws_json1_1GetNamespaceDeletionStatusCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class GetNamespaceDeletionStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetNamespaceDeletionStatusCommand.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 = "GetNamespaceDeletionStatusCommand";
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 = "GetNamespaceDeletionStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetNamespaceDeletionStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetNamespaceDeletionStatusResponseFilterSensitiveLog,
25
22
  };
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) {
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_1GetNamespaceDeletionStatusCommand(input, context);
33
- };
34
- GetNamespaceDeletionStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetNamespaceDeletionStatusCommand(output, context);
36
- };
37
- return GetNamespaceDeletionStatusCommand;
38
- }($Command));
39
- export { GetNamespaceDeletionStatusCommand };
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 { GetSystemInstanceRequestFilterSensitiveLog, GetSystemInstanceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetSystemInstanceCommand, serializeAws_json1_1GetSystemInstanceCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class GetSystemInstanceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSystemInstanceCommand.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 = "GetSystemInstanceCommand";
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 = "GetSystemInstanceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSystemInstanceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetSystemInstanceResponseFilterSensitiveLog,
25
22
  };
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) {
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_1GetSystemInstanceCommand(input, context);
33
- };
34
- GetSystemInstanceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetSystemInstanceCommand(output, context);
36
- };
37
- return GetSystemInstanceCommand;
38
- }($Command));
39
- export { GetSystemInstanceCommand };
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 { GetSystemTemplateRequestFilterSensitiveLog, GetSystemTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetSystemTemplateCommand, serializeAws_json1_1GetSystemTemplateCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class GetSystemTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSystemTemplateCommand.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 = "GetSystemTemplateCommand";
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 = "GetSystemTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSystemTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetSystemTemplateResponseFilterSensitiveLog,
25
22
  };
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) {
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_1GetSystemTemplateCommand(input, context);
33
- };
34
- GetSystemTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetSystemTemplateCommand(output, context);
36
- };
37
- return GetSystemTemplateCommand;
38
- }($Command));
39
- export { GetSystemTemplateCommand };
31
+ }
32
+ }