@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,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var IoTThingsGraphClient = (function (_super) {
13
- __extends(IoTThingsGraphClient, _super);
14
- function IoTThingsGraphClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class IoTThingsGraphClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- IoTThingsGraphClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return IoTThingsGraphClient;
38
- }(__Client));
39
- export { IoTThingsGraphClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { AssociateEntityToThingRequestFilterSensitiveLog, AssociateEntityToThingResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AssociateEntityToThingCommand, serializeAws_json1_1AssociateEntityToThingCommand, } from "../protocols/Aws_json1_1";
6
- var AssociateEntityToThingCommand = (function (_super) {
7
- __extends(AssociateEntityToThingCommand, _super);
8
- function AssociateEntityToThingCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateEntityToThingCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateEntityToThingCommand.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 = "AssociateEntityToThingCommand";
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 = "AssociateEntityToThingCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateEntityToThingRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateEntityToThingResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateEntityToThingCommand.prototype.serialize = function (input, context) {
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_1AssociateEntityToThingCommand(input, context);
33
- };
34
- AssociateEntityToThingCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AssociateEntityToThingCommand(output, context);
36
- };
37
- return AssociateEntityToThingCommand;
38
- }($Command));
39
- export { AssociateEntityToThingCommand };
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 { CreateFlowTemplateRequestFilterSensitiveLog, CreateFlowTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateFlowTemplateCommand, serializeAws_json1_1CreateFlowTemplateCommand, } from "../protocols/Aws_json1_1";
6
- var CreateFlowTemplateCommand = (function (_super) {
7
- __extends(CreateFlowTemplateCommand, _super);
8
- function CreateFlowTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateFlowTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateFlowTemplateCommand.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 = "CreateFlowTemplateCommand";
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 = "CreateFlowTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateFlowTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateFlowTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateFlowTemplateCommand.prototype.serialize = function (input, context) {
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_1CreateFlowTemplateCommand(input, context);
33
- };
34
- CreateFlowTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateFlowTemplateCommand(output, context);
36
- };
37
- return CreateFlowTemplateCommand;
38
- }($Command));
39
- export { CreateFlowTemplateCommand };
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 { CreateSystemInstanceRequestFilterSensitiveLog, CreateSystemInstanceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateSystemInstanceCommand, serializeAws_json1_1CreateSystemInstanceCommand, } from "../protocols/Aws_json1_1";
6
- var CreateSystemInstanceCommand = (function (_super) {
7
- __extends(CreateSystemInstanceCommand, _super);
8
- function CreateSystemInstanceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateSystemInstanceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateSystemInstanceCommand.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 = "CreateSystemInstanceCommand";
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 = "CreateSystemInstanceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateSystemInstanceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateSystemInstanceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateSystemInstanceCommand.prototype.serialize = function (input, context) {
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_1CreateSystemInstanceCommand(input, context);
33
- };
34
- CreateSystemInstanceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateSystemInstanceCommand(output, context);
36
- };
37
- return CreateSystemInstanceCommand;
38
- }($Command));
39
- export { CreateSystemInstanceCommand };
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 { CreateSystemTemplateRequestFilterSensitiveLog, CreateSystemTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateSystemTemplateCommand, serializeAws_json1_1CreateSystemTemplateCommand, } from "../protocols/Aws_json1_1";
6
- var CreateSystemTemplateCommand = (function (_super) {
7
- __extends(CreateSystemTemplateCommand, _super);
8
- function CreateSystemTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateSystemTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateSystemTemplateCommand.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 = "CreateSystemTemplateCommand";
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 = "CreateSystemTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateSystemTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateSystemTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateSystemTemplateCommand.prototype.serialize = function (input, context) {
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_1CreateSystemTemplateCommand(input, context);
33
- };
34
- CreateSystemTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateSystemTemplateCommand(output, context);
36
- };
37
- return CreateSystemTemplateCommand;
38
- }($Command));
39
- export { CreateSystemTemplateCommand };
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 { DeleteFlowTemplateRequestFilterSensitiveLog, DeleteFlowTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteFlowTemplateCommand, serializeAws_json1_1DeleteFlowTemplateCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteFlowTemplateCommand = (function (_super) {
7
- __extends(DeleteFlowTemplateCommand, _super);
8
- function DeleteFlowTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFlowTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFlowTemplateCommand.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 = "DeleteFlowTemplateCommand";
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 = "DeleteFlowTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFlowTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFlowTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFlowTemplateCommand.prototype.serialize = function (input, context) {
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_1DeleteFlowTemplateCommand(input, context);
33
- };
34
- DeleteFlowTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteFlowTemplateCommand(output, context);
36
- };
37
- return DeleteFlowTemplateCommand;
38
- }($Command));
39
- export { DeleteFlowTemplateCommand };
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 { DeleteNamespaceRequestFilterSensitiveLog, DeleteNamespaceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteNamespaceCommand, serializeAws_json1_1DeleteNamespaceCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteNamespaceCommand = (function (_super) {
7
- __extends(DeleteNamespaceCommand, _super);
8
- function DeleteNamespaceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteNamespaceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteNamespaceCommand.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 = "DeleteNamespaceCommand";
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 = "DeleteNamespaceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteNamespaceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteNamespaceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteNamespaceCommand.prototype.serialize = function (input, context) {
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_1DeleteNamespaceCommand(input, context);
33
- };
34
- DeleteNamespaceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteNamespaceCommand(output, context);
36
- };
37
- return DeleteNamespaceCommand;
38
- }($Command));
39
- export { DeleteNamespaceCommand };
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 { DeleteSystemInstanceRequestFilterSensitiveLog, DeleteSystemInstanceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteSystemInstanceCommand, serializeAws_json1_1DeleteSystemInstanceCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteSystemInstanceCommand = (function (_super) {
7
- __extends(DeleteSystemInstanceCommand, _super);
8
- function DeleteSystemInstanceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteSystemInstanceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteSystemInstanceCommand.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 = "DeleteSystemInstanceCommand";
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 = "DeleteSystemInstanceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteSystemInstanceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteSystemInstanceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteSystemInstanceCommand.prototype.serialize = function (input, context) {
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_1DeleteSystemInstanceCommand(input, context);
33
- };
34
- DeleteSystemInstanceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteSystemInstanceCommand(output, context);
36
- };
37
- return DeleteSystemInstanceCommand;
38
- }($Command));
39
- export { DeleteSystemInstanceCommand };
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 { DeleteSystemTemplateRequestFilterSensitiveLog, DeleteSystemTemplateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteSystemTemplateCommand, serializeAws_json1_1DeleteSystemTemplateCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteSystemTemplateCommand = (function (_super) {
7
- __extends(DeleteSystemTemplateCommand, _super);
8
- function DeleteSystemTemplateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteSystemTemplateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteSystemTemplateCommand.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 = "DeleteSystemTemplateCommand";
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 = "DeleteSystemTemplateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteSystemTemplateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteSystemTemplateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteSystemTemplateCommand.prototype.serialize = function (input, context) {
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_1DeleteSystemTemplateCommand(input, context);
33
- };
34
- DeleteSystemTemplateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteSystemTemplateCommand(output, context);
36
- };
37
- return DeleteSystemTemplateCommand;
38
- }($Command));
39
- export { DeleteSystemTemplateCommand };
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 { DeploySystemInstanceRequestFilterSensitiveLog, DeploySystemInstanceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeploySystemInstanceCommand, serializeAws_json1_1DeploySystemInstanceCommand, } from "../protocols/Aws_json1_1";
6
- var DeploySystemInstanceCommand = (function (_super) {
7
- __extends(DeploySystemInstanceCommand, _super);
8
- function DeploySystemInstanceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeploySystemInstanceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeploySystemInstanceCommand.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 = "DeploySystemInstanceCommand";
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 = "DeploySystemInstanceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeploySystemInstanceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeploySystemInstanceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeploySystemInstanceCommand.prototype.serialize = function (input, context) {
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_1DeploySystemInstanceCommand(input, context);
33
- };
34
- DeploySystemInstanceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeploySystemInstanceCommand(output, context);
36
- };
37
- return DeploySystemInstanceCommand;
38
- }($Command));
39
- export { DeploySystemInstanceCommand };
31
+ }
32
+ }