@aws-sdk/client-iottwinmaker 3.183.0 → 3.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/IoTTwinMaker.js +113 -106
  4. package/dist-es/IoTTwinMakerClient.js +28 -22
  5. package/dist-es/commands/BatchPutPropertyValuesCommand.js +28 -21
  6. package/dist-es/commands/CreateComponentTypeCommand.js +28 -21
  7. package/dist-es/commands/CreateEntityCommand.js +28 -21
  8. package/dist-es/commands/CreateSceneCommand.js +28 -21
  9. package/dist-es/commands/CreateWorkspaceCommand.js +28 -21
  10. package/dist-es/commands/DeleteComponentTypeCommand.js +28 -21
  11. package/dist-es/commands/DeleteEntityCommand.js +28 -21
  12. package/dist-es/commands/DeleteSceneCommand.js +28 -21
  13. package/dist-es/commands/DeleteWorkspaceCommand.js +28 -21
  14. package/dist-es/commands/GetComponentTypeCommand.js +28 -21
  15. package/dist-es/commands/GetEntityCommand.js +28 -21
  16. package/dist-es/commands/GetPropertyValueCommand.js +28 -21
  17. package/dist-es/commands/GetPropertyValueHistoryCommand.js +28 -21
  18. package/dist-es/commands/GetSceneCommand.js +28 -21
  19. package/dist-es/commands/GetWorkspaceCommand.js +28 -21
  20. package/dist-es/commands/ListComponentTypesCommand.js +28 -21
  21. package/dist-es/commands/ListEntitiesCommand.js +28 -21
  22. package/dist-es/commands/ListScenesCommand.js +28 -21
  23. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  24. package/dist-es/commands/ListWorkspacesCommand.js +28 -21
  25. package/dist-es/commands/TagResourceCommand.js +28 -21
  26. package/dist-es/commands/UntagResourceCommand.js +28 -21
  27. package/dist-es/commands/UpdateComponentTypeCommand.js +28 -21
  28. package/dist-es/commands/UpdateEntityCommand.js +28 -21
  29. package/dist-es/commands/UpdateSceneCommand.js +28 -21
  30. package/dist-es/commands/UpdateWorkspaceCommand.js +28 -21
  31. package/dist-es/endpoints.js +8 -8
  32. package/dist-es/models/IoTTwinMakerServiceException.js +10 -5
  33. package/dist-es/models/models_0.js +202 -367
  34. package/dist-es/pagination/GetPropertyValueHistoryPaginator.js +68 -25
  35. package/dist-es/pagination/ListComponentTypesPaginator.js +68 -25
  36. package/dist-es/pagination/ListEntitiesPaginator.js +68 -25
  37. package/dist-es/pagination/ListScenesPaginator.js +68 -25
  38. package/dist-es/pagination/ListWorkspacesPaginator.js +68 -25
  39. package/dist-es/protocols/Aws_restJson1.js +3283 -2541
  40. package/dist-es/runtimeConfig.browser.js +12 -26
  41. package/dist-es/runtimeConfig.js +12 -30
  42. package/dist-es/runtimeConfig.native.js +5 -8
  43. package/dist-es/runtimeConfig.shared.js +11 -8
  44. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateComponentTypeRequestFilterSensitiveLog, CreateComponentTypeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateComponentTypeCommand, serializeAws_restJson1CreateComponentTypeCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateComponentTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateComponentTypeCommand = (function (_super) {
7
+ __extends(CreateComponentTypeCommand, _super);
8
+ function CreateComponentTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateComponentTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTTwinMakerClient";
15
- const commandName = "CreateComponentTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "CreateComponentTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateComponentTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateComponentTypeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateComponentTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateComponentTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateComponentTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateComponentTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateComponentTypeCommand;
38
+ }($Command));
39
+ export { CreateComponentTypeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateEntityRequestFilterSensitiveLog, CreateEntityResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateEntityCommand, serializeAws_restJson1CreateEntityCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateEntityCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateEntityCommand = (function (_super) {
7
+ __extends(CreateEntityCommand, _super);
8
+ function CreateEntityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEntityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTTwinMakerClient";
15
- const commandName = "CreateEntityCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "CreateEntityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateEntityRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEntityResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateEntityCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateEntityCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEntityCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateEntityCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEntityCommand;
38
+ }($Command));
39
+ export { CreateEntityCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateSceneRequestFilterSensitiveLog, CreateSceneResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateSceneCommand, serializeAws_restJson1CreateSceneCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateSceneCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateSceneCommand = (function (_super) {
7
+ __extends(CreateSceneCommand, _super);
8
+ function CreateSceneCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateSceneCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTTwinMakerClient";
15
- const commandName = "CreateSceneCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "CreateSceneCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateSceneRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateSceneResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateSceneCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateSceneCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateSceneCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateSceneCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateSceneCommand;
38
+ }($Command));
39
+ export { CreateSceneCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateWorkspaceRequestFilterSensitiveLog, CreateWorkspaceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateWorkspaceCommand, serializeAws_restJson1CreateWorkspaceCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateWorkspaceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateWorkspaceCommand = (function (_super) {
7
+ __extends(CreateWorkspaceCommand, _super);
8
+ function CreateWorkspaceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateWorkspaceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTTwinMakerClient";
15
- const commandName = "CreateWorkspaceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "CreateWorkspaceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateWorkspaceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateWorkspaceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateWorkspaceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateWorkspaceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateWorkspaceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateWorkspaceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateWorkspaceCommand;
38
+ }($Command));
39
+ export { CreateWorkspaceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteComponentTypeRequestFilterSensitiveLog, DeleteComponentTypeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteComponentTypeCommand, serializeAws_restJson1DeleteComponentTypeCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteComponentTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteComponentTypeCommand = (function (_super) {
7
+ __extends(DeleteComponentTypeCommand, _super);
8
+ function DeleteComponentTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteComponentTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTTwinMakerClient";
15
- const commandName = "DeleteComponentTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "DeleteComponentTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteComponentTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteComponentTypeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteComponentTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteComponentTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteComponentTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteComponentTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteComponentTypeCommand;
38
+ }($Command));
39
+ export { DeleteComponentTypeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteEntityRequestFilterSensitiveLog, DeleteEntityResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteEntityCommand, serializeAws_restJson1DeleteEntityCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteEntityCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEntityCommand = (function (_super) {
7
+ __extends(DeleteEntityCommand, _super);
8
+ function DeleteEntityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEntityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTTwinMakerClient";
15
- const commandName = "DeleteEntityCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "DeleteEntityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEntityRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteEntityResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteEntityCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteEntityCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEntityCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteEntityCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEntityCommand;
38
+ }($Command));
39
+ export { DeleteEntityCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteSceneRequestFilterSensitiveLog, DeleteSceneResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteSceneCommand, serializeAws_restJson1DeleteSceneCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteSceneCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSceneCommand = (function (_super) {
7
+ __extends(DeleteSceneCommand, _super);
8
+ function DeleteSceneCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSceneCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTTwinMakerClient";
15
- const commandName = "DeleteSceneCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "DeleteSceneCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSceneRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSceneResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteSceneCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteSceneCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSceneCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteSceneCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSceneCommand;
38
+ }($Command));
39
+ export { DeleteSceneCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteWorkspaceRequestFilterSensitiveLog, DeleteWorkspaceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteWorkspaceCommand, serializeAws_restJson1DeleteWorkspaceCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteWorkspaceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteWorkspaceCommand = (function (_super) {
7
+ __extends(DeleteWorkspaceCommand, _super);
8
+ function DeleteWorkspaceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteWorkspaceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTTwinMakerClient";
15
- const commandName = "DeleteWorkspaceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "DeleteWorkspaceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteWorkspaceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteWorkspaceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteWorkspaceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteWorkspaceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteWorkspaceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteWorkspaceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteWorkspaceCommand;
38
+ }($Command));
39
+ export { DeleteWorkspaceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetComponentTypeRequestFilterSensitiveLog, GetComponentTypeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetComponentTypeCommand, serializeAws_restJson1GetComponentTypeCommand, } from "../protocols/Aws_restJson1";
5
- export class GetComponentTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetComponentTypeCommand = (function (_super) {
7
+ __extends(GetComponentTypeCommand, _super);
8
+ function GetComponentTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetComponentTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTTwinMakerClient";
15
- const commandName = "GetComponentTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "GetComponentTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetComponentTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetComponentTypeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetComponentTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetComponentTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetComponentTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetComponentTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetComponentTypeCommand;
38
+ }($Command));
39
+ export { GetComponentTypeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetEntityRequestFilterSensitiveLog, GetEntityResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetEntityCommand, serializeAws_restJson1GetEntityCommand, } from "../protocols/Aws_restJson1";
5
- export class GetEntityCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetEntityCommand = (function (_super) {
7
+ __extends(GetEntityCommand, _super);
8
+ function GetEntityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetEntityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "IoTTwinMakerClient";
15
- const commandName = "GetEntityCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "GetEntityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetEntityRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetEntityResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetEntityCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetEntityCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetEntityCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetEntityCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetEntityCommand;
38
+ }($Command));
39
+ export { GetEntityCommand };