@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 { DeleteCampaignRequestFilterSensitiveLog, DeleteCampaignResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteCampaignCommand, serializeAws_json1_0DeleteCampaignCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteCampaignCommand = (function (_super) {
7
- __extends(DeleteCampaignCommand, _super);
8
- function DeleteCampaignCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCampaignCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCampaignCommand.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 = "DeleteCampaignCommand";
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 = "DeleteCampaignCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCampaignRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteCampaignResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteCampaignCommand.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_0DeleteCampaignCommand(input, context);
33
- };
34
- DeleteCampaignCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteCampaignCommand(output, context);
36
- };
37
- return DeleteCampaignCommand;
38
- }($Command));
39
- export { DeleteCampaignCommand };
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 { DeleteDecoderManifestRequestFilterSensitiveLog, DeleteDecoderManifestResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteDecoderManifestCommand, serializeAws_json1_0DeleteDecoderManifestCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteDecoderManifestCommand = (function (_super) {
7
- __extends(DeleteDecoderManifestCommand, _super);
8
- function DeleteDecoderManifestCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteDecoderManifestCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDecoderManifestCommand.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 = "DeleteDecoderManifestCommand";
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 = "DeleteDecoderManifestCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDecoderManifestRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteDecoderManifestResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteDecoderManifestCommand.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_0DeleteDecoderManifestCommand(input, context);
33
- };
34
- DeleteDecoderManifestCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteDecoderManifestCommand(output, context);
36
- };
37
- return DeleteDecoderManifestCommand;
38
- }($Command));
39
- export { DeleteDecoderManifestCommand };
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 { DeleteFleetRequestFilterSensitiveLog, DeleteFleetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteFleetCommand, serializeAws_json1_0DeleteFleetCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteFleetCommand = (function (_super) {
7
- __extends(DeleteFleetCommand, _super);
8
- function DeleteFleetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteFleetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFleetCommand.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 = "DeleteFleetCommand";
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 = "DeleteFleetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFleetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFleetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteFleetCommand.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_0DeleteFleetCommand(input, context);
33
- };
34
- DeleteFleetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteFleetCommand(output, context);
36
- };
37
- return DeleteFleetCommand;
38
- }($Command));
39
- export { DeleteFleetCommand };
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 { DeleteModelManifestRequestFilterSensitiveLog, DeleteModelManifestResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteModelManifestCommand, serializeAws_json1_0DeleteModelManifestCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteModelManifestCommand = (function (_super) {
7
- __extends(DeleteModelManifestCommand, _super);
8
- function DeleteModelManifestCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteModelManifestCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteModelManifestCommand.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 = "DeleteModelManifestCommand";
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 = "DeleteModelManifestCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteModelManifestRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteModelManifestResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteModelManifestCommand.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_0DeleteModelManifestCommand(input, context);
33
- };
34
- DeleteModelManifestCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteModelManifestCommand(output, context);
36
- };
37
- return DeleteModelManifestCommand;
38
- }($Command));
39
- export { DeleteModelManifestCommand };
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 { DeleteSignalCatalogRequestFilterSensitiveLog, DeleteSignalCatalogResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteSignalCatalogCommand, serializeAws_json1_0DeleteSignalCatalogCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteSignalCatalogCommand = (function (_super) {
7
- __extends(DeleteSignalCatalogCommand, _super);
8
- function DeleteSignalCatalogCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteSignalCatalogCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteSignalCatalogCommand.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 = "DeleteSignalCatalogCommand";
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 = "DeleteSignalCatalogCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteSignalCatalogRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteSignalCatalogResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteSignalCatalogCommand.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_0DeleteSignalCatalogCommand(input, context);
33
- };
34
- DeleteSignalCatalogCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteSignalCatalogCommand(output, context);
36
- };
37
- return DeleteSignalCatalogCommand;
38
- }($Command));
39
- export { DeleteSignalCatalogCommand };
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 { DeleteVehicleRequestFilterSensitiveLog, DeleteVehicleResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteVehicleCommand, serializeAws_json1_0DeleteVehicleCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteVehicleCommand = (function (_super) {
7
- __extends(DeleteVehicleCommand, _super);
8
- function DeleteVehicleCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteVehicleCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteVehicleCommand.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 = "DeleteVehicleCommand";
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 = "DeleteVehicleCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteVehicleRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteVehicleResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteVehicleCommand.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_0DeleteVehicleCommand(input, context);
33
- };
34
- DeleteVehicleCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteVehicleCommand(output, context);
36
- };
37
- return DeleteVehicleCommand;
38
- }($Command));
39
- export { DeleteVehicleCommand };
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 { DisassociateVehicleFleetRequestFilterSensitiveLog, DisassociateVehicleFleetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DisassociateVehicleFleetCommand, serializeAws_json1_0DisassociateVehicleFleetCommand, } from "../protocols/Aws_json1_0";
6
- var DisassociateVehicleFleetCommand = (function (_super) {
7
- __extends(DisassociateVehicleFleetCommand, _super);
8
- function DisassociateVehicleFleetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateVehicleFleetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateVehicleFleetCommand.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 = "DisassociateVehicleFleetCommand";
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 = "DisassociateVehicleFleetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateVehicleFleetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateVehicleFleetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateVehicleFleetCommand.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_0DisassociateVehicleFleetCommand(input, context);
33
- };
34
- DisassociateVehicleFleetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DisassociateVehicleFleetCommand(output, context);
36
- };
37
- return DisassociateVehicleFleetCommand;
38
- }($Command));
39
- export { DisassociateVehicleFleetCommand };
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 { GetCampaignRequestFilterSensitiveLog, GetCampaignResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetCampaignCommand, serializeAws_json1_0GetCampaignCommand, } from "../protocols/Aws_json1_0";
6
- var GetCampaignCommand = (function (_super) {
7
- __extends(GetCampaignCommand, _super);
8
- function GetCampaignCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetCampaignCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetCampaignCommand.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 = "GetCampaignCommand";
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 = "GetCampaignCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetCampaignRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetCampaignResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetCampaignCommand.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_0GetCampaignCommand(input, context);
33
- };
34
- GetCampaignCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetCampaignCommand(output, context);
36
- };
37
- return GetCampaignCommand;
38
- }($Command));
39
- export { GetCampaignCommand };
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 { GetDecoderManifestRequestFilterSensitiveLog, GetDecoderManifestResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetDecoderManifestCommand, serializeAws_json1_0GetDecoderManifestCommand, } from "../protocols/Aws_json1_0";
6
- var GetDecoderManifestCommand = (function (_super) {
7
- __extends(GetDecoderManifestCommand, _super);
8
- function GetDecoderManifestCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetDecoderManifestCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetDecoderManifestCommand.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 = "GetDecoderManifestCommand";
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 = "GetDecoderManifestCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetDecoderManifestRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetDecoderManifestResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetDecoderManifestCommand.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_0GetDecoderManifestCommand(input, context);
33
- };
34
- GetDecoderManifestCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetDecoderManifestCommand(output, context);
36
- };
37
- return GetDecoderManifestCommand;
38
- }($Command));
39
- export { GetDecoderManifestCommand };
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 { GetFleetRequestFilterSensitiveLog, GetFleetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetFleetCommand, serializeAws_json1_0GetFleetCommand } from "../protocols/Aws_json1_0";
6
- var GetFleetCommand = (function (_super) {
7
- __extends(GetFleetCommand, _super);
8
- function GetFleetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetFleetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFleetCommand.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 = "GetFleetCommand";
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 = "GetFleetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFleetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFleetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetFleetCommand.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_0GetFleetCommand(input, context);
33
- };
34
- GetFleetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetFleetCommand(output, context);
36
- };
37
- return GetFleetCommand;
38
- }($Command));
39
- export { GetFleetCommand };
31
+ }
32
+ }