@aws-sdk/client-iotdeviceadvisor 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 (29) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/IotDeviceAdvisor.js +65 -58
  4. package/dist-es/IotDeviceAdvisorClient.js +28 -22
  5. package/dist-es/commands/CreateSuiteDefinitionCommand.js +28 -21
  6. package/dist-es/commands/DeleteSuiteDefinitionCommand.js +28 -21
  7. package/dist-es/commands/GetEndpointCommand.js +28 -21
  8. package/dist-es/commands/GetSuiteDefinitionCommand.js +28 -21
  9. package/dist-es/commands/GetSuiteRunCommand.js +28 -21
  10. package/dist-es/commands/GetSuiteRunReportCommand.js +28 -21
  11. package/dist-es/commands/ListSuiteDefinitionsCommand.js +28 -21
  12. package/dist-es/commands/ListSuiteRunsCommand.js +28 -21
  13. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  14. package/dist-es/commands/StartSuiteRunCommand.js +28 -21
  15. package/dist-es/commands/StopSuiteRunCommand.js +28 -21
  16. package/dist-es/commands/TagResourceCommand.js +28 -21
  17. package/dist-es/commands/UntagResourceCommand.js +28 -21
  18. package/dist-es/commands/UpdateSuiteDefinitionCommand.js +28 -21
  19. package/dist-es/endpoints.js +8 -8
  20. package/dist-es/models/IotDeviceAdvisorServiceException.js +10 -5
  21. package/dist-es/models/models_0.js +82 -155
  22. package/dist-es/pagination/ListSuiteDefinitionsPaginator.js +68 -25
  23. package/dist-es/pagination/ListSuiteRunsPaginator.js +68 -25
  24. package/dist-es/protocols/Aws_restJson1.js +1415 -1003
  25. package/dist-es/runtimeConfig.browser.js +12 -26
  26. package/dist-es/runtimeConfig.js +12 -30
  27. package/dist-es/runtimeConfig.native.js +5 -8
  28. package/dist-es/runtimeConfig.shared.js +11 -8
  29. 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 { GetSuiteRunRequestFilterSensitiveLog, GetSuiteRunResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetSuiteRunCommand, serializeAws_restJson1GetSuiteRunCommand, } from "../protocols/Aws_restJson1";
5
- export class GetSuiteRunCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetSuiteRunCommand = (function (_super) {
7
+ __extends(GetSuiteRunCommand, _super);
8
+ function GetSuiteRunCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSuiteRunCommand.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 = "IotDeviceAdvisorClient";
15
- const commandName = "GetSuiteRunCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IotDeviceAdvisorClient";
18
+ var commandName = "GetSuiteRunCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetSuiteRunRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetSuiteRunResponseFilterSensitiveLog,
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
+ GetSuiteRunCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetSuiteRunCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSuiteRunCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetSuiteRunCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSuiteRunCommand;
38
+ }($Command));
39
+ export { GetSuiteRunCommand };
@@ -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 { GetSuiteRunReportRequestFilterSensitiveLog, GetSuiteRunReportResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetSuiteRunReportCommand, serializeAws_restJson1GetSuiteRunReportCommand, } from "../protocols/Aws_restJson1";
5
- export class GetSuiteRunReportCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetSuiteRunReportCommand = (function (_super) {
7
+ __extends(GetSuiteRunReportCommand, _super);
8
+ function GetSuiteRunReportCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSuiteRunReportCommand.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 = "IotDeviceAdvisorClient";
15
- const commandName = "GetSuiteRunReportCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IotDeviceAdvisorClient";
18
+ var commandName = "GetSuiteRunReportCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetSuiteRunReportRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetSuiteRunReportResponseFilterSensitiveLog,
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
+ GetSuiteRunReportCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetSuiteRunReportCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSuiteRunReportCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetSuiteRunReportCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSuiteRunReportCommand;
38
+ }($Command));
39
+ export { GetSuiteRunReportCommand };
@@ -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 { ListSuiteDefinitionsRequestFilterSensitiveLog, ListSuiteDefinitionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListSuiteDefinitionsCommand, serializeAws_restJson1ListSuiteDefinitionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListSuiteDefinitionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListSuiteDefinitionsCommand = (function (_super) {
7
+ __extends(ListSuiteDefinitionsCommand, _super);
8
+ function ListSuiteDefinitionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListSuiteDefinitionsCommand.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 = "IotDeviceAdvisorClient";
15
- const commandName = "ListSuiteDefinitionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IotDeviceAdvisorClient";
18
+ var commandName = "ListSuiteDefinitionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListSuiteDefinitionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListSuiteDefinitionsResponseFilterSensitiveLog,
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
+ ListSuiteDefinitionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListSuiteDefinitionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListSuiteDefinitionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListSuiteDefinitionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListSuiteDefinitionsCommand;
38
+ }($Command));
39
+ export { ListSuiteDefinitionsCommand };
@@ -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 { ListSuiteRunsRequestFilterSensitiveLog, ListSuiteRunsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListSuiteRunsCommand, serializeAws_restJson1ListSuiteRunsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListSuiteRunsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListSuiteRunsCommand = (function (_super) {
7
+ __extends(ListSuiteRunsCommand, _super);
8
+ function ListSuiteRunsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListSuiteRunsCommand.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 = "IotDeviceAdvisorClient";
15
- const commandName = "ListSuiteRunsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IotDeviceAdvisorClient";
18
+ var commandName = "ListSuiteRunsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListSuiteRunsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListSuiteRunsResponseFilterSensitiveLog,
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
+ ListSuiteRunsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListSuiteRunsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListSuiteRunsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListSuiteRunsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListSuiteRunsCommand;
38
+ }($Command));
39
+ export { ListSuiteRunsCommand };
@@ -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 = "IotDeviceAdvisorClient";
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 = "IotDeviceAdvisorClient";
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 { StartSuiteRunRequestFilterSensitiveLog, StartSuiteRunResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartSuiteRunCommand, serializeAws_restJson1StartSuiteRunCommand, } from "../protocols/Aws_restJson1";
5
- export class StartSuiteRunCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartSuiteRunCommand = (function (_super) {
7
+ __extends(StartSuiteRunCommand, _super);
8
+ function StartSuiteRunCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartSuiteRunCommand.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 = "IotDeviceAdvisorClient";
15
- const commandName = "StartSuiteRunCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IotDeviceAdvisorClient";
18
+ var commandName = "StartSuiteRunCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartSuiteRunRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartSuiteRunResponseFilterSensitiveLog,
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
+ StartSuiteRunCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartSuiteRunCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartSuiteRunCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartSuiteRunCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartSuiteRunCommand;
38
+ }($Command));
39
+ export { StartSuiteRunCommand };
@@ -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 { StopSuiteRunRequestFilterSensitiveLog, StopSuiteRunResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StopSuiteRunCommand, serializeAws_restJson1StopSuiteRunCommand, } from "../protocols/Aws_restJson1";
5
- export class StopSuiteRunCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopSuiteRunCommand = (function (_super) {
7
+ __extends(StopSuiteRunCommand, _super);
8
+ function StopSuiteRunCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopSuiteRunCommand.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 = "IotDeviceAdvisorClient";
15
- const commandName = "StopSuiteRunCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IotDeviceAdvisorClient";
18
+ var commandName = "StopSuiteRunCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopSuiteRunRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopSuiteRunResponseFilterSensitiveLog,
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
+ StopSuiteRunCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StopSuiteRunCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopSuiteRunCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StopSuiteRunCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopSuiteRunCommand;
38
+ }($Command));
39
+ export { StopSuiteRunCommand };
@@ -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 = "IotDeviceAdvisorClient";
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 = "IotDeviceAdvisorClient";
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 };
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "IotDeviceAdvisorClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IotDeviceAdvisorClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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 { UpdateSuiteDefinitionRequestFilterSensitiveLog, UpdateSuiteDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateSuiteDefinitionCommand, serializeAws_restJson1UpdateSuiteDefinitionCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateSuiteDefinitionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateSuiteDefinitionCommand = (function (_super) {
7
+ __extends(UpdateSuiteDefinitionCommand, _super);
8
+ function UpdateSuiteDefinitionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateSuiteDefinitionCommand.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 = "IotDeviceAdvisorClient";
15
- const commandName = "UpdateSuiteDefinitionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IotDeviceAdvisorClient";
18
+ var commandName = "UpdateSuiteDefinitionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateSuiteDefinitionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateSuiteDefinitionResponseFilterSensitiveLog,
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
+ UpdateSuiteDefinitionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateSuiteDefinitionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateSuiteDefinitionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateSuiteDefinitionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateSuiteDefinitionCommand;
38
+ }($Command));
39
+ export { UpdateSuiteDefinitionCommand };