@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 { GetPropertyValueRequestFilterSensitiveLog, GetPropertyValueResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPropertyValueCommand, serializeAws_restJson1GetPropertyValueCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPropertyValueCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPropertyValueCommand = (function (_super) {
7
+ __extends(GetPropertyValueCommand, _super);
8
+ function GetPropertyValueCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPropertyValueCommand.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 = "GetPropertyValueCommand";
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 = "GetPropertyValueCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPropertyValueRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPropertyValueResponseFilterSensitiveLog,
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
+ GetPropertyValueCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPropertyValueCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPropertyValueCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPropertyValueCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPropertyValueCommand;
38
+ }($Command));
39
+ export { GetPropertyValueCommand };
@@ -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 { GetPropertyValueHistoryRequestFilterSensitiveLog, GetPropertyValueHistoryResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPropertyValueHistoryCommand, serializeAws_restJson1GetPropertyValueHistoryCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPropertyValueHistoryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPropertyValueHistoryCommand = (function (_super) {
7
+ __extends(GetPropertyValueHistoryCommand, _super);
8
+ function GetPropertyValueHistoryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPropertyValueHistoryCommand.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 = "GetPropertyValueHistoryCommand";
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 = "GetPropertyValueHistoryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPropertyValueHistoryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPropertyValueHistoryResponseFilterSensitiveLog,
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
+ GetPropertyValueHistoryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPropertyValueHistoryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPropertyValueHistoryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPropertyValueHistoryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPropertyValueHistoryCommand;
38
+ }($Command));
39
+ export { GetPropertyValueHistoryCommand };
@@ -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 { GetSceneRequestFilterSensitiveLog, GetSceneResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetSceneCommand, serializeAws_restJson1GetSceneCommand, } from "../protocols/Aws_restJson1";
5
- export class GetSceneCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetSceneCommand = (function (_super) {
7
+ __extends(GetSceneCommand, _super);
8
+ function GetSceneCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSceneCommand.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 = "GetSceneCommand";
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 = "GetSceneCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetSceneRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetSceneResponseFilterSensitiveLog,
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
+ GetSceneCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetSceneCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSceneCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetSceneCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSceneCommand;
38
+ }($Command));
39
+ export { GetSceneCommand };
@@ -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 { GetWorkspaceRequestFilterSensitiveLog, GetWorkspaceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetWorkspaceCommand, serializeAws_restJson1GetWorkspaceCommand, } from "../protocols/Aws_restJson1";
5
- export class GetWorkspaceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetWorkspaceCommand = (function (_super) {
7
+ __extends(GetWorkspaceCommand, _super);
8
+ function GetWorkspaceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetWorkspaceCommand.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 = "GetWorkspaceCommand";
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 = "GetWorkspaceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetWorkspaceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetWorkspaceResponseFilterSensitiveLog,
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
+ GetWorkspaceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetWorkspaceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetWorkspaceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetWorkspaceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetWorkspaceCommand;
38
+ }($Command));
39
+ export { GetWorkspaceCommand };
@@ -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 { ListComponentTypesRequestFilterSensitiveLog, ListComponentTypesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListComponentTypesCommand, serializeAws_restJson1ListComponentTypesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListComponentTypesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListComponentTypesCommand = (function (_super) {
7
+ __extends(ListComponentTypesCommand, _super);
8
+ function ListComponentTypesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListComponentTypesCommand.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 = "ListComponentTypesCommand";
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 = "ListComponentTypesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListComponentTypesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListComponentTypesResponseFilterSensitiveLog,
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
+ ListComponentTypesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListComponentTypesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListComponentTypesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListComponentTypesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListComponentTypesCommand;
38
+ }($Command));
39
+ export { ListComponentTypesCommand };
@@ -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 { ListEntitiesRequestFilterSensitiveLog, ListEntitiesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListEntitiesCommand, serializeAws_restJson1ListEntitiesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListEntitiesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEntitiesCommand = (function (_super) {
7
+ __extends(ListEntitiesCommand, _super);
8
+ function ListEntitiesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEntitiesCommand.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 = "ListEntitiesCommand";
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 = "ListEntitiesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEntitiesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListEntitiesResponseFilterSensitiveLog,
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
+ ListEntitiesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListEntitiesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEntitiesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListEntitiesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEntitiesCommand;
38
+ }($Command));
39
+ export { ListEntitiesCommand };
@@ -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 { ListScenesRequestFilterSensitiveLog, ListScenesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListScenesCommand, serializeAws_restJson1ListScenesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListScenesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListScenesCommand = (function (_super) {
7
+ __extends(ListScenesCommand, _super);
8
+ function ListScenesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListScenesCommand.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 = "ListScenesCommand";
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 = "ListScenesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListScenesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListScenesResponseFilterSensitiveLog,
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
+ ListScenesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListScenesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListScenesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListScenesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListScenesCommand;
38
+ }($Command));
39
+ export { ListScenesCommand };
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { ListWorkspacesRequestFilterSensitiveLog, ListWorkspacesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListWorkspacesCommand, serializeAws_restJson1ListWorkspacesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListWorkspacesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListWorkspacesCommand = (function (_super) {
7
+ __extends(ListWorkspacesCommand, _super);
8
+ function ListWorkspacesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListWorkspacesCommand.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 = "ListWorkspacesCommand";
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 = "ListWorkspacesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListWorkspacesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListWorkspacesResponseFilterSensitiveLog,
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
+ ListWorkspacesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListWorkspacesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListWorkspacesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListWorkspacesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListWorkspacesCommand;
38
+ }($Command));
39
+ export { ListWorkspacesCommand };
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
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
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };