@aws-sdk/client-iotfleetwise 3.185.0 → 3.188.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 (79) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +0 -8
  3. package/dist-es/IoTFleetWise.js +202 -209
  4. package/dist-es/IoTFleetWiseClient.js +22 -28
  5. package/dist-es/commands/AssociateVehicleFleetCommand.js +21 -28
  6. package/dist-es/commands/BatchCreateVehicleCommand.js +21 -28
  7. package/dist-es/commands/BatchUpdateVehicleCommand.js +21 -28
  8. package/dist-es/commands/CreateCampaignCommand.js +21 -28
  9. package/dist-es/commands/CreateDecoderManifestCommand.js +21 -28
  10. package/dist-es/commands/CreateFleetCommand.js +21 -28
  11. package/dist-es/commands/CreateModelManifestCommand.js +21 -28
  12. package/dist-es/commands/CreateSignalCatalogCommand.js +21 -28
  13. package/dist-es/commands/CreateVehicleCommand.js +21 -28
  14. package/dist-es/commands/DeleteCampaignCommand.js +21 -28
  15. package/dist-es/commands/DeleteDecoderManifestCommand.js +21 -28
  16. package/dist-es/commands/DeleteFleetCommand.js +21 -28
  17. package/dist-es/commands/DeleteModelManifestCommand.js +21 -28
  18. package/dist-es/commands/DeleteSignalCatalogCommand.js +21 -28
  19. package/dist-es/commands/DeleteVehicleCommand.js +21 -28
  20. package/dist-es/commands/DisassociateVehicleFleetCommand.js +21 -28
  21. package/dist-es/commands/GetCampaignCommand.js +21 -28
  22. package/dist-es/commands/GetDecoderManifestCommand.js +21 -28
  23. package/dist-es/commands/GetFleetCommand.js +21 -28
  24. package/dist-es/commands/GetLoggingOptionsCommand.js +21 -28
  25. package/dist-es/commands/GetModelManifestCommand.js +21 -28
  26. package/dist-es/commands/GetRegisterAccountStatusCommand.js +21 -28
  27. package/dist-es/commands/GetSignalCatalogCommand.js +21 -28
  28. package/dist-es/commands/GetVehicleCommand.js +21 -28
  29. package/dist-es/commands/GetVehicleStatusCommand.js +21 -28
  30. package/dist-es/commands/ImportDecoderManifestCommand.js +21 -28
  31. package/dist-es/commands/ImportSignalCatalogCommand.js +21 -28
  32. package/dist-es/commands/ListCampaignsCommand.js +21 -28
  33. package/dist-es/commands/ListDecoderManifestNetworkInterfacesCommand.js +21 -28
  34. package/dist-es/commands/ListDecoderManifestSignalsCommand.js +21 -28
  35. package/dist-es/commands/ListDecoderManifestsCommand.js +21 -28
  36. package/dist-es/commands/ListFleetsCommand.js +21 -28
  37. package/dist-es/commands/ListFleetsForVehicleCommand.js +21 -28
  38. package/dist-es/commands/ListModelManifestNodesCommand.js +21 -28
  39. package/dist-es/commands/ListModelManifestsCommand.js +21 -28
  40. package/dist-es/commands/ListSignalCatalogNodesCommand.js +21 -28
  41. package/dist-es/commands/ListSignalCatalogsCommand.js +21 -28
  42. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  43. package/dist-es/commands/ListVehiclesCommand.js +21 -28
  44. package/dist-es/commands/ListVehiclesInFleetCommand.js +21 -28
  45. package/dist-es/commands/PutLoggingOptionsCommand.js +21 -28
  46. package/dist-es/commands/RegisterAccountCommand.js +21 -28
  47. package/dist-es/commands/TagResourceCommand.js +21 -28
  48. package/dist-es/commands/UntagResourceCommand.js +21 -28
  49. package/dist-es/commands/UpdateCampaignCommand.js +21 -28
  50. package/dist-es/commands/UpdateDecoderManifestCommand.js +21 -28
  51. package/dist-es/commands/UpdateFleetCommand.js +21 -28
  52. package/dist-es/commands/UpdateModelManifestCommand.js +21 -28
  53. package/dist-es/commands/UpdateSignalCatalogCommand.js +21 -28
  54. package/dist-es/commands/UpdateVehicleCommand.js +21 -28
  55. package/dist-es/endpoints.js +8 -8
  56. package/dist-es/models/IoTFleetWiseServiceException.js +5 -10
  57. package/dist-es/models/models_0.js +564 -284
  58. package/dist-es/pagination/GetVehicleStatusPaginator.js +25 -68
  59. package/dist-es/pagination/ListCampaignsPaginator.js +25 -68
  60. package/dist-es/pagination/ListDecoderManifestNetworkInterfacesPaginator.js +25 -68
  61. package/dist-es/pagination/ListDecoderManifestSignalsPaginator.js +25 -68
  62. package/dist-es/pagination/ListDecoderManifestsPaginator.js +25 -68
  63. package/dist-es/pagination/ListFleetsForVehiclePaginator.js +25 -68
  64. package/dist-es/pagination/ListFleetsPaginator.js +25 -68
  65. package/dist-es/pagination/ListModelManifestNodesPaginator.js +25 -68
  66. package/dist-es/pagination/ListModelManifestsPaginator.js +25 -68
  67. package/dist-es/pagination/ListSignalCatalogNodesPaginator.js +25 -68
  68. package/dist-es/pagination/ListSignalCatalogsPaginator.js +25 -68
  69. package/dist-es/pagination/ListVehiclesInFleetPaginator.js +25 -68
  70. package/dist-es/pagination/ListVehiclesPaginator.js +25 -68
  71. package/dist-es/protocols/Aws_json1_0.js +3657 -4605
  72. package/dist-es/runtimeConfig.browser.js +26 -12
  73. package/dist-es/runtimeConfig.js +30 -12
  74. package/dist-es/runtimeConfig.native.js +8 -5
  75. package/dist-es/runtimeConfig.shared.js +8 -11
  76. package/dist-types/IoTFleetWise.d.ts +1 -9
  77. package/dist-types/IoTFleetWiseClient.d.ts +1 -9
  78. package/dist-types/models/models_0.d.ts +1 -0
  79. package/package.json +33 -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 { GetLoggingOptionsRequestFilterSensitiveLog, GetLoggingOptionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetLoggingOptionsCommand, serializeAws_json1_0GetLoggingOptionsCommand, } from "../protocols/Aws_json1_0";
6
- var GetLoggingOptionsCommand = (function (_super) {
7
- __extends(GetLoggingOptionsCommand, _super);
8
- function GetLoggingOptionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetLoggingOptionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetLoggingOptionsCommand.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 = "IoTFleetWiseClient";
18
- var commandName = "GetLoggingOptionsCommand";
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 = "IoTFleetWiseClient";
15
+ const commandName = "GetLoggingOptionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetLoggingOptionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetLoggingOptionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetLoggingOptionsCommand.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_0GetLoggingOptionsCommand(input, context);
33
- };
34
- GetLoggingOptionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetLoggingOptionsCommand(output, context);
36
- };
37
- return GetLoggingOptionsCommand;
38
- }($Command));
39
- export { GetLoggingOptionsCommand };
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 { GetModelManifestRequestFilterSensitiveLog, GetModelManifestResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetModelManifestCommand, serializeAws_json1_0GetModelManifestCommand, } from "../protocols/Aws_json1_0";
6
- var GetModelManifestCommand = (function (_super) {
7
- __extends(GetModelManifestCommand, _super);
8
- function GetModelManifestCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetModelManifestCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetModelManifestCommand.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 = "IoTFleetWiseClient";
18
- var commandName = "GetModelManifestCommand";
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 = "IoTFleetWiseClient";
15
+ const commandName = "GetModelManifestCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetModelManifestRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetModelManifestResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetModelManifestCommand.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_0GetModelManifestCommand(input, context);
33
- };
34
- GetModelManifestCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetModelManifestCommand(output, context);
36
- };
37
- return GetModelManifestCommand;
38
- }($Command));
39
- export { GetModelManifestCommand };
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 { GetRegisterAccountStatusRequestFilterSensitiveLog, GetRegisterAccountStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetRegisterAccountStatusCommand, serializeAws_json1_0GetRegisterAccountStatusCommand, } from "../protocols/Aws_json1_0";
6
- var GetRegisterAccountStatusCommand = (function (_super) {
7
- __extends(GetRegisterAccountStatusCommand, _super);
8
- function GetRegisterAccountStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetRegisterAccountStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetRegisterAccountStatusCommand.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 = "IoTFleetWiseClient";
18
- var commandName = "GetRegisterAccountStatusCommand";
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 = "IoTFleetWiseClient";
15
+ const commandName = "GetRegisterAccountStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetRegisterAccountStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetRegisterAccountStatusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetRegisterAccountStatusCommand.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_0GetRegisterAccountStatusCommand(input, context);
33
- };
34
- GetRegisterAccountStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetRegisterAccountStatusCommand(output, context);
36
- };
37
- return GetRegisterAccountStatusCommand;
38
- }($Command));
39
- export { GetRegisterAccountStatusCommand };
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 { GetSignalCatalogRequestFilterSensitiveLog, GetSignalCatalogResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetSignalCatalogCommand, serializeAws_json1_0GetSignalCatalogCommand, } from "../protocols/Aws_json1_0";
6
- var GetSignalCatalogCommand = (function (_super) {
7
- __extends(GetSignalCatalogCommand, _super);
8
- function GetSignalCatalogCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetSignalCatalogCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSignalCatalogCommand.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 = "IoTFleetWiseClient";
18
- var commandName = "GetSignalCatalogCommand";
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 = "IoTFleetWiseClient";
15
+ const commandName = "GetSignalCatalogCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetSignalCatalogRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetSignalCatalogResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetSignalCatalogCommand.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_0GetSignalCatalogCommand(input, context);
33
- };
34
- GetSignalCatalogCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetSignalCatalogCommand(output, context);
36
- };
37
- return GetSignalCatalogCommand;
38
- }($Command));
39
- export { GetSignalCatalogCommand };
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 { GetVehicleRequestFilterSensitiveLog, GetVehicleResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetVehicleCommand, serializeAws_json1_0GetVehicleCommand, } from "../protocols/Aws_json1_0";
6
- var GetVehicleCommand = (function (_super) {
7
- __extends(GetVehicleCommand, _super);
8
- function GetVehicleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetVehicleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetVehicleCommand.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 = "IoTFleetWiseClient";
18
- var commandName = "GetVehicleCommand";
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 = "IoTFleetWiseClient";
15
+ const commandName = "GetVehicleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetVehicleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetVehicleResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetVehicleCommand.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_0GetVehicleCommand(input, context);
33
- };
34
- GetVehicleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetVehicleCommand(output, context);
36
- };
37
- return GetVehicleCommand;
38
- }($Command));
39
- export { GetVehicleCommand };
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 { GetVehicleStatusRequestFilterSensitiveLog, GetVehicleStatusResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetVehicleStatusCommand, serializeAws_json1_0GetVehicleStatusCommand, } from "../protocols/Aws_json1_0";
6
- var GetVehicleStatusCommand = (function (_super) {
7
- __extends(GetVehicleStatusCommand, _super);
8
- function GetVehicleStatusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetVehicleStatusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetVehicleStatusCommand.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 = "IoTFleetWiseClient";
18
- var commandName = "GetVehicleStatusCommand";
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 = "IoTFleetWiseClient";
15
+ const commandName = "GetVehicleStatusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetVehicleStatusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetVehicleStatusResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetVehicleStatusCommand.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_0GetVehicleStatusCommand(input, context);
33
- };
34
- GetVehicleStatusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetVehicleStatusCommand(output, context);
36
- };
37
- return GetVehicleStatusCommand;
38
- }($Command));
39
- export { GetVehicleStatusCommand };
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 { ImportDecoderManifestRequestFilterSensitiveLog, ImportDecoderManifestResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ImportDecoderManifestCommand, serializeAws_json1_0ImportDecoderManifestCommand, } from "../protocols/Aws_json1_0";
6
- var ImportDecoderManifestCommand = (function (_super) {
7
- __extends(ImportDecoderManifestCommand, _super);
8
- function ImportDecoderManifestCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ImportDecoderManifestCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ImportDecoderManifestCommand.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 = "IoTFleetWiseClient";
18
- var commandName = "ImportDecoderManifestCommand";
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 = "IoTFleetWiseClient";
15
+ const commandName = "ImportDecoderManifestCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ImportDecoderManifestRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ImportDecoderManifestResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ImportDecoderManifestCommand.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_0ImportDecoderManifestCommand(input, context);
33
- };
34
- ImportDecoderManifestCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ImportDecoderManifestCommand(output, context);
36
- };
37
- return ImportDecoderManifestCommand;
38
- }($Command));
39
- export { ImportDecoderManifestCommand };
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 { ImportSignalCatalogRequestFilterSensitiveLog, ImportSignalCatalogResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ImportSignalCatalogCommand, serializeAws_json1_0ImportSignalCatalogCommand, } from "../protocols/Aws_json1_0";
6
- var ImportSignalCatalogCommand = (function (_super) {
7
- __extends(ImportSignalCatalogCommand, _super);
8
- function ImportSignalCatalogCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ImportSignalCatalogCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ImportSignalCatalogCommand.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 = "IoTFleetWiseClient";
18
- var commandName = "ImportSignalCatalogCommand";
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 = "IoTFleetWiseClient";
15
+ const commandName = "ImportSignalCatalogCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ImportSignalCatalogRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ImportSignalCatalogResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ImportSignalCatalogCommand.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_0ImportSignalCatalogCommand(input, context);
33
- };
34
- ImportSignalCatalogCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ImportSignalCatalogCommand(output, context);
36
- };
37
- return ImportSignalCatalogCommand;
38
- }($Command));
39
- export { ImportSignalCatalogCommand };
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 { ListCampaignsRequestFilterSensitiveLog, ListCampaignsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListCampaignsCommand, serializeAws_json1_0ListCampaignsCommand, } from "../protocols/Aws_json1_0";
6
- var ListCampaignsCommand = (function (_super) {
7
- __extends(ListCampaignsCommand, _super);
8
- function ListCampaignsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListCampaignsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListCampaignsCommand.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 = "IoTFleetWiseClient";
18
- var commandName = "ListCampaignsCommand";
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 = "IoTFleetWiseClient";
15
+ const commandName = "ListCampaignsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListCampaignsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListCampaignsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListCampaignsCommand.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_0ListCampaignsCommand(input, context);
33
- };
34
- ListCampaignsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListCampaignsCommand(output, context);
36
- };
37
- return ListCampaignsCommand;
38
- }($Command));
39
- export { ListCampaignsCommand };
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 { ListDecoderManifestNetworkInterfacesRequestFilterSensitiveLog, ListDecoderManifestNetworkInterfacesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListDecoderManifestNetworkInterfacesCommand, serializeAws_json1_0ListDecoderManifestNetworkInterfacesCommand, } from "../protocols/Aws_json1_0";
6
- var ListDecoderManifestNetworkInterfacesCommand = (function (_super) {
7
- __extends(ListDecoderManifestNetworkInterfacesCommand, _super);
8
- function ListDecoderManifestNetworkInterfacesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListDecoderManifestNetworkInterfacesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDecoderManifestNetworkInterfacesCommand.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 = "IoTFleetWiseClient";
18
- var commandName = "ListDecoderManifestNetworkInterfacesCommand";
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 = "IoTFleetWiseClient";
15
+ const commandName = "ListDecoderManifestNetworkInterfacesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDecoderManifestNetworkInterfacesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDecoderManifestNetworkInterfacesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListDecoderManifestNetworkInterfacesCommand.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_0ListDecoderManifestNetworkInterfacesCommand(input, context);
33
- };
34
- ListDecoderManifestNetworkInterfacesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListDecoderManifestNetworkInterfacesCommand(output, context);
36
- };
37
- return ListDecoderManifestNetworkInterfacesCommand;
38
- }($Command));
39
- export { ListDecoderManifestNetworkInterfacesCommand };
31
+ }
32
+ }