@aws-sdk/client-m2 3.183.0 → 3.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/M2.js +137 -130
  4. package/dist-es/M2Client.js +28 -22
  5. package/dist-es/commands/CancelBatchJobExecutionCommand.js +28 -21
  6. package/dist-es/commands/CreateApplicationCommand.js +28 -21
  7. package/dist-es/commands/CreateDataSetImportTaskCommand.js +28 -21
  8. package/dist-es/commands/CreateDeploymentCommand.js +28 -21
  9. package/dist-es/commands/CreateEnvironmentCommand.js +28 -21
  10. package/dist-es/commands/DeleteApplicationCommand.js +28 -21
  11. package/dist-es/commands/DeleteApplicationFromEnvironmentCommand.js +28 -21
  12. package/dist-es/commands/DeleteEnvironmentCommand.js +28 -21
  13. package/dist-es/commands/GetApplicationCommand.js +28 -21
  14. package/dist-es/commands/GetApplicationVersionCommand.js +28 -21
  15. package/dist-es/commands/GetBatchJobExecutionCommand.js +28 -21
  16. package/dist-es/commands/GetDataSetDetailsCommand.js +28 -21
  17. package/dist-es/commands/GetDataSetImportTaskCommand.js +28 -21
  18. package/dist-es/commands/GetDeploymentCommand.js +28 -21
  19. package/dist-es/commands/GetEnvironmentCommand.js +28 -21
  20. package/dist-es/commands/ListApplicationVersionsCommand.js +28 -21
  21. package/dist-es/commands/ListApplicationsCommand.js +28 -21
  22. package/dist-es/commands/ListBatchJobDefinitionsCommand.js +28 -21
  23. package/dist-es/commands/ListBatchJobExecutionsCommand.js +28 -21
  24. package/dist-es/commands/ListDataSetImportHistoryCommand.js +28 -21
  25. package/dist-es/commands/ListDataSetsCommand.js +28 -21
  26. package/dist-es/commands/ListDeploymentsCommand.js +28 -21
  27. package/dist-es/commands/ListEngineVersionsCommand.js +28 -21
  28. package/dist-es/commands/ListEnvironmentsCommand.js +28 -21
  29. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  30. package/dist-es/commands/StartApplicationCommand.js +28 -21
  31. package/dist-es/commands/StartBatchJobCommand.js +28 -21
  32. package/dist-es/commands/StopApplicationCommand.js +28 -21
  33. package/dist-es/commands/TagResourceCommand.js +28 -21
  34. package/dist-es/commands/UntagResourceCommand.js +28 -21
  35. package/dist-es/commands/UpdateApplicationCommand.js +28 -21
  36. package/dist-es/commands/UpdateEnvironmentCommand.js +28 -21
  37. package/dist-es/endpoints.js +8 -8
  38. package/dist-es/models/M2ServiceException.js +10 -5
  39. package/dist-es/models/models_0.js +227 -417
  40. package/dist-es/pagination/ListApplicationVersionsPaginator.js +68 -25
  41. package/dist-es/pagination/ListApplicationsPaginator.js +68 -25
  42. package/dist-es/pagination/ListBatchJobDefinitionsPaginator.js +68 -25
  43. package/dist-es/pagination/ListBatchJobExecutionsPaginator.js +68 -25
  44. package/dist-es/pagination/ListDataSetImportHistoryPaginator.js +68 -25
  45. package/dist-es/pagination/ListDataSetsPaginator.js +68 -25
  46. package/dist-es/pagination/ListDeploymentsPaginator.js +68 -25
  47. package/dist-es/pagination/ListEngineVersionsPaginator.js +68 -25
  48. package/dist-es/pagination/ListEnvironmentsPaginator.js +68 -25
  49. package/dist-es/protocols/Aws_restJson1.js +3694 -2710
  50. package/dist-es/runtimeConfig.browser.js +12 -26
  51. package/dist-es/runtimeConfig.js +12 -30
  52. package/dist-es/runtimeConfig.native.js +5 -8
  53. package/dist-es/runtimeConfig.shared.js +11 -8
  54. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetApplicationVersionRequestFilterSensitiveLog, GetApplicationVersionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApplicationVersionCommand, serializeAws_restJson1GetApplicationVersionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetApplicationVersionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApplicationVersionCommand = (function (_super) {
7
+ __extends(GetApplicationVersionCommand, _super);
8
+ function GetApplicationVersionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApplicationVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "M2Client";
15
- const commandName = "GetApplicationVersionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "GetApplicationVersionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApplicationVersionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApplicationVersionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetApplicationVersionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetApplicationVersionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApplicationVersionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApplicationVersionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApplicationVersionCommand;
38
+ }($Command));
39
+ export { GetApplicationVersionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetBatchJobExecutionRequestFilterSensitiveLog, GetBatchJobExecutionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetBatchJobExecutionCommand, serializeAws_restJson1GetBatchJobExecutionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetBatchJobExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetBatchJobExecutionCommand = (function (_super) {
7
+ __extends(GetBatchJobExecutionCommand, _super);
8
+ function GetBatchJobExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBatchJobExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "M2Client";
15
- const commandName = "GetBatchJobExecutionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "GetBatchJobExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBatchJobExecutionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBatchJobExecutionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetBatchJobExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetBatchJobExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBatchJobExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetBatchJobExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBatchJobExecutionCommand;
38
+ }($Command));
39
+ export { GetBatchJobExecutionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetDataSetDetailsRequestFilterSensitiveLog, GetDataSetDetailsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDataSetDetailsCommand, serializeAws_restJson1GetDataSetDetailsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDataSetDetailsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDataSetDetailsCommand = (function (_super) {
7
+ __extends(GetDataSetDetailsCommand, _super);
8
+ function GetDataSetDetailsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDataSetDetailsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "M2Client";
15
- const commandName = "GetDataSetDetailsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "GetDataSetDetailsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDataSetDetailsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDataSetDetailsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetDataSetDetailsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDataSetDetailsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDataSetDetailsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDataSetDetailsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDataSetDetailsCommand;
38
+ }($Command));
39
+ export { GetDataSetDetailsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetDataSetImportTaskRequestFilterSensitiveLog, GetDataSetImportTaskResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDataSetImportTaskCommand, serializeAws_restJson1GetDataSetImportTaskCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDataSetImportTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDataSetImportTaskCommand = (function (_super) {
7
+ __extends(GetDataSetImportTaskCommand, _super);
8
+ function GetDataSetImportTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDataSetImportTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "M2Client";
15
- const commandName = "GetDataSetImportTaskCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "GetDataSetImportTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDataSetImportTaskRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDataSetImportTaskResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetDataSetImportTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDataSetImportTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDataSetImportTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDataSetImportTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDataSetImportTaskCommand;
38
+ }($Command));
39
+ export { GetDataSetImportTaskCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetDeploymentRequestFilterSensitiveLog, GetDeploymentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDeploymentCommand, serializeAws_restJson1GetDeploymentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDeploymentCommand = (function (_super) {
7
+ __extends(GetDeploymentCommand, _super);
8
+ function GetDeploymentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "M2Client";
15
- const commandName = "GetDeploymentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "GetDeploymentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDeploymentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDeploymentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetDeploymentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDeploymentCommand;
38
+ }($Command));
39
+ export { GetDeploymentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetEnvironmentRequestFilterSensitiveLog, GetEnvironmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetEnvironmentCommand = (function (_super) {
7
+ __extends(GetEnvironmentCommand, _super);
8
+ function GetEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "M2Client";
15
- const commandName = "GetEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "GetEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetEnvironmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetEnvironmentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetEnvironmentCommand;
38
+ }($Command));
39
+ export { GetEnvironmentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListApplicationVersionsRequestFilterSensitiveLog, ListApplicationVersionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListApplicationVersionsCommand, serializeAws_restJson1ListApplicationVersionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListApplicationVersionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListApplicationVersionsCommand = (function (_super) {
7
+ __extends(ListApplicationVersionsCommand, _super);
8
+ function ListApplicationVersionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "M2Client";
15
- const commandName = "ListApplicationVersionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "ListApplicationVersionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListApplicationVersionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApplicationVersionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListApplicationVersionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListApplicationVersionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationVersionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListApplicationVersionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationVersionsCommand;
38
+ }($Command));
39
+ export { ListApplicationVersionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListApplicationsRequestFilterSensitiveLog, ListApplicationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListApplicationsCommand, serializeAws_restJson1ListApplicationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListApplicationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListApplicationsCommand = (function (_super) {
7
+ __extends(ListApplicationsCommand, _super);
8
+ function ListApplicationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "M2Client";
15
- const commandName = "ListApplicationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "ListApplicationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListApplicationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApplicationsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListApplicationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListApplicationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListApplicationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationsCommand;
38
+ }($Command));
39
+ export { ListApplicationsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListBatchJobDefinitionsRequestFilterSensitiveLog, ListBatchJobDefinitionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBatchJobDefinitionsCommand, serializeAws_restJson1ListBatchJobDefinitionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBatchJobDefinitionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBatchJobDefinitionsCommand = (function (_super) {
7
+ __extends(ListBatchJobDefinitionsCommand, _super);
8
+ function ListBatchJobDefinitionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBatchJobDefinitionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "M2Client";
15
- const commandName = "ListBatchJobDefinitionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "ListBatchJobDefinitionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBatchJobDefinitionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBatchJobDefinitionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListBatchJobDefinitionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBatchJobDefinitionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBatchJobDefinitionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBatchJobDefinitionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBatchJobDefinitionsCommand;
38
+ }($Command));
39
+ export { ListBatchJobDefinitionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListBatchJobExecutionsRequestFilterSensitiveLog, ListBatchJobExecutionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBatchJobExecutionsCommand, serializeAws_restJson1ListBatchJobExecutionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBatchJobExecutionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListBatchJobExecutionsCommand = (function (_super) {
7
+ __extends(ListBatchJobExecutionsCommand, _super);
8
+ function ListBatchJobExecutionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBatchJobExecutionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "M2Client";
15
- const commandName = "ListBatchJobExecutionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "ListBatchJobExecutionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBatchJobExecutionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBatchJobExecutionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListBatchJobExecutionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBatchJobExecutionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBatchJobExecutionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBatchJobExecutionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBatchJobExecutionsCommand;
38
+ }($Command));
39
+ export { ListBatchJobExecutionsCommand };