@aws-sdk/client-lookoutequipment 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 (54) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/LookoutEquipment.js +134 -141
  3. package/dist-es/LookoutEquipmentClient.js +22 -28
  4. package/dist-es/commands/CreateDatasetCommand.js +21 -28
  5. package/dist-es/commands/CreateInferenceSchedulerCommand.js +21 -28
  6. package/dist-es/commands/CreateLabelCommand.js +21 -28
  7. package/dist-es/commands/CreateLabelGroupCommand.js +21 -28
  8. package/dist-es/commands/CreateModelCommand.js +21 -28
  9. package/dist-es/commands/DeleteDatasetCommand.js +22 -29
  10. package/dist-es/commands/DeleteInferenceSchedulerCommand.js +22 -29
  11. package/dist-es/commands/DeleteLabelCommand.js +22 -29
  12. package/dist-es/commands/DeleteLabelGroupCommand.js +22 -29
  13. package/dist-es/commands/DeleteModelCommand.js +22 -29
  14. package/dist-es/commands/DescribeDataIngestionJobCommand.js +21 -28
  15. package/dist-es/commands/DescribeDatasetCommand.js +21 -28
  16. package/dist-es/commands/DescribeInferenceSchedulerCommand.js +21 -28
  17. package/dist-es/commands/DescribeLabelCommand.js +21 -28
  18. package/dist-es/commands/DescribeLabelGroupCommand.js +21 -28
  19. package/dist-es/commands/DescribeModelCommand.js +21 -28
  20. package/dist-es/commands/ListDataIngestionJobsCommand.js +21 -28
  21. package/dist-es/commands/ListDatasetsCommand.js +21 -28
  22. package/dist-es/commands/ListInferenceEventsCommand.js +21 -28
  23. package/dist-es/commands/ListInferenceExecutionsCommand.js +21 -28
  24. package/dist-es/commands/ListInferenceSchedulersCommand.js +21 -28
  25. package/dist-es/commands/ListLabelGroupsCommand.js +21 -28
  26. package/dist-es/commands/ListLabelsCommand.js +21 -28
  27. package/dist-es/commands/ListModelsCommand.js +21 -28
  28. package/dist-es/commands/ListSensorStatisticsCommand.js +21 -28
  29. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  30. package/dist-es/commands/StartDataIngestionJobCommand.js +21 -28
  31. package/dist-es/commands/StartInferenceSchedulerCommand.js +21 -28
  32. package/dist-es/commands/StopInferenceSchedulerCommand.js +21 -28
  33. package/dist-es/commands/TagResourceCommand.js +21 -28
  34. package/dist-es/commands/UntagResourceCommand.js +21 -28
  35. package/dist-es/commands/UpdateInferenceSchedulerCommand.js +22 -29
  36. package/dist-es/commands/UpdateLabelGroupCommand.js +22 -29
  37. package/dist-es/endpoints.js +8 -8
  38. package/dist-es/models/LookoutEquipmentServiceException.js +5 -10
  39. package/dist-es/models/models_0.js +369 -180
  40. package/dist-es/pagination/ListDataIngestionJobsPaginator.js +25 -68
  41. package/dist-es/pagination/ListDatasetsPaginator.js +25 -68
  42. package/dist-es/pagination/ListInferenceEventsPaginator.js +25 -68
  43. package/dist-es/pagination/ListInferenceExecutionsPaginator.js +25 -68
  44. package/dist-es/pagination/ListInferenceSchedulersPaginator.js +25 -68
  45. package/dist-es/pagination/ListLabelGroupsPaginator.js +25 -68
  46. package/dist-es/pagination/ListLabelsPaginator.js +25 -68
  47. package/dist-es/pagination/ListModelsPaginator.js +25 -68
  48. package/dist-es/pagination/ListSensorStatisticsPaginator.js +25 -68
  49. package/dist-es/protocols/Aws_json1_0.js +2351 -3022
  50. package/dist-es/runtimeConfig.browser.js +26 -12
  51. package/dist-es/runtimeConfig.js +30 -12
  52. package/dist-es/runtimeConfig.native.js +8 -5
  53. package/dist-es/runtimeConfig.shared.js +8 -11
  54. 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 LookoutEquipmentClient = (function (_super) {
13
- __extends(LookoutEquipmentClient, _super);
14
- function LookoutEquipmentClient(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 LookoutEquipmentClient 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
- LookoutEquipmentClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return LookoutEquipmentClient;
38
- }(__Client));
39
- export { LookoutEquipmentClient };
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 { CreateDatasetRequestFilterSensitiveLog, CreateDatasetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CreateDatasetCommand, serializeAws_json1_0CreateDatasetCommand, } from "../protocols/Aws_json1_0";
6
- var CreateDatasetCommand = (function (_super) {
7
- __extends(CreateDatasetCommand, _super);
8
- function CreateDatasetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateDatasetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDatasetCommand.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 = "LookoutEquipmentClient";
18
- var commandName = "CreateDatasetCommand";
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 = "LookoutEquipmentClient";
15
+ const commandName = "CreateDatasetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDatasetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDatasetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateDatasetCommand.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_0CreateDatasetCommand(input, context);
33
- };
34
- CreateDatasetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CreateDatasetCommand(output, context);
36
- };
37
- return CreateDatasetCommand;
38
- }($Command));
39
- export { CreateDatasetCommand };
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 { CreateInferenceSchedulerRequestFilterSensitiveLog, CreateInferenceSchedulerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CreateInferenceSchedulerCommand, serializeAws_json1_0CreateInferenceSchedulerCommand, } from "../protocols/Aws_json1_0";
6
- var CreateInferenceSchedulerCommand = (function (_super) {
7
- __extends(CreateInferenceSchedulerCommand, _super);
8
- function CreateInferenceSchedulerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateInferenceSchedulerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateInferenceSchedulerCommand.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 = "LookoutEquipmentClient";
18
- var commandName = "CreateInferenceSchedulerCommand";
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 = "LookoutEquipmentClient";
15
+ const commandName = "CreateInferenceSchedulerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateInferenceSchedulerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateInferenceSchedulerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateInferenceSchedulerCommand.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_0CreateInferenceSchedulerCommand(input, context);
33
- };
34
- CreateInferenceSchedulerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CreateInferenceSchedulerCommand(output, context);
36
- };
37
- return CreateInferenceSchedulerCommand;
38
- }($Command));
39
- export { CreateInferenceSchedulerCommand };
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 { CreateLabelRequestFilterSensitiveLog, CreateLabelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CreateLabelCommand, serializeAws_json1_0CreateLabelCommand, } from "../protocols/Aws_json1_0";
6
- var CreateLabelCommand = (function (_super) {
7
- __extends(CreateLabelCommand, _super);
8
- function CreateLabelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateLabelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateLabelCommand.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 = "LookoutEquipmentClient";
18
- var commandName = "CreateLabelCommand";
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 = "LookoutEquipmentClient";
15
+ const commandName = "CreateLabelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateLabelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateLabelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateLabelCommand.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_0CreateLabelCommand(input, context);
33
- };
34
- CreateLabelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CreateLabelCommand(output, context);
36
- };
37
- return CreateLabelCommand;
38
- }($Command));
39
- export { CreateLabelCommand };
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 { CreateLabelGroupRequestFilterSensitiveLog, CreateLabelGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CreateLabelGroupCommand, serializeAws_json1_0CreateLabelGroupCommand, } from "../protocols/Aws_json1_0";
6
- var CreateLabelGroupCommand = (function (_super) {
7
- __extends(CreateLabelGroupCommand, _super);
8
- function CreateLabelGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateLabelGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateLabelGroupCommand.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 = "LookoutEquipmentClient";
18
- var commandName = "CreateLabelGroupCommand";
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 = "LookoutEquipmentClient";
15
+ const commandName = "CreateLabelGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateLabelGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateLabelGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateLabelGroupCommand.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_0CreateLabelGroupCommand(input, context);
33
- };
34
- CreateLabelGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CreateLabelGroupCommand(output, context);
36
- };
37
- return CreateLabelGroupCommand;
38
- }($Command));
39
- export { CreateLabelGroupCommand };
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 { CreateModelRequestFilterSensitiveLog, CreateModelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0CreateModelCommand, serializeAws_json1_0CreateModelCommand, } from "../protocols/Aws_json1_0";
6
- var CreateModelCommand = (function (_super) {
7
- __extends(CreateModelCommand, _super);
8
- function CreateModelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateModelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateModelCommand.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 = "LookoutEquipmentClient";
18
- var commandName = "CreateModelCommand";
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 = "LookoutEquipmentClient";
15
+ const commandName = "CreateModelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateModelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateModelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateModelCommand.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_0CreateModelCommand(input, context);
33
- };
34
- CreateModelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0CreateModelCommand(output, context);
36
- };
37
- return CreateModelCommand;
38
- }($Command));
39
- export { CreateModelCommand };
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 { DeleteDatasetRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteDatasetCommand, serializeAws_json1_0DeleteDatasetCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteDatasetCommand = (function (_super) {
7
- __extends(DeleteDatasetCommand, _super);
8
- function DeleteDatasetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteDatasetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDatasetCommand.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 = "LookoutEquipmentClient";
18
- var commandName = "DeleteDatasetCommand";
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 = "LookoutEquipmentClient";
15
+ const commandName = "DeleteDatasetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDatasetRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteDatasetCommand.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_0DeleteDatasetCommand(input, context);
33
- };
34
- DeleteDatasetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteDatasetCommand(output, context);
36
- };
37
- return DeleteDatasetCommand;
38
- }($Command));
39
- export { DeleteDatasetCommand };
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 { DeleteInferenceSchedulerRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteInferenceSchedulerCommand, serializeAws_json1_0DeleteInferenceSchedulerCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteInferenceSchedulerCommand = (function (_super) {
7
- __extends(DeleteInferenceSchedulerCommand, _super);
8
- function DeleteInferenceSchedulerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteInferenceSchedulerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteInferenceSchedulerCommand.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 = "LookoutEquipmentClient";
18
- var commandName = "DeleteInferenceSchedulerCommand";
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 = "LookoutEquipmentClient";
15
+ const commandName = "DeleteInferenceSchedulerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteInferenceSchedulerRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteInferenceSchedulerCommand.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_0DeleteInferenceSchedulerCommand(input, context);
33
- };
34
- DeleteInferenceSchedulerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteInferenceSchedulerCommand(output, context);
36
- };
37
- return DeleteInferenceSchedulerCommand;
38
- }($Command));
39
- export { DeleteInferenceSchedulerCommand };
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 { DeleteLabelRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteLabelCommand, serializeAws_json1_0DeleteLabelCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteLabelCommand = (function (_super) {
7
- __extends(DeleteLabelCommand, _super);
8
- function DeleteLabelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteLabelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteLabelCommand.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 = "LookoutEquipmentClient";
18
- var commandName = "DeleteLabelCommand";
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 = "LookoutEquipmentClient";
15
+ const commandName = "DeleteLabelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteLabelRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteLabelCommand.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_0DeleteLabelCommand(input, context);
33
- };
34
- DeleteLabelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteLabelCommand(output, context);
36
- };
37
- return DeleteLabelCommand;
38
- }($Command));
39
- export { DeleteLabelCommand };
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 { DeleteLabelGroupRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteLabelGroupCommand, serializeAws_json1_0DeleteLabelGroupCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteLabelGroupCommand = (function (_super) {
7
- __extends(DeleteLabelGroupCommand, _super);
8
- function DeleteLabelGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteLabelGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteLabelGroupCommand.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 = "LookoutEquipmentClient";
18
- var commandName = "DeleteLabelGroupCommand";
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 = "LookoutEquipmentClient";
15
+ const commandName = "DeleteLabelGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteLabelGroupRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteLabelGroupCommand.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_0DeleteLabelGroupCommand(input, context);
33
- };
34
- DeleteLabelGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteLabelGroupCommand(output, context);
36
- };
37
- return DeleteLabelGroupCommand;
38
- }($Command));
39
- export { DeleteLabelGroupCommand };
31
+ }
32
+ }