@aws-sdk/client-m2 3.107.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 (228) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +209 -0
  4. package/dist-cjs/M2.js +487 -0
  5. package/dist-cjs/M2Client.js +37 -0
  6. package/dist-cjs/commands/CancelBatchJobExecutionCommand.js +36 -0
  7. package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
  8. package/dist-cjs/commands/CreateDataSetImportTaskCommand.js +36 -0
  9. package/dist-cjs/commands/CreateDeploymentCommand.js +36 -0
  10. package/dist-cjs/commands/CreateEnvironmentCommand.js +36 -0
  11. package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
  12. package/dist-cjs/commands/DeleteApplicationFromEnvironmentCommand.js +36 -0
  13. package/dist-cjs/commands/DeleteEnvironmentCommand.js +36 -0
  14. package/dist-cjs/commands/GetApplicationCommand.js +36 -0
  15. package/dist-cjs/commands/GetApplicationVersionCommand.js +36 -0
  16. package/dist-cjs/commands/GetBatchJobExecutionCommand.js +36 -0
  17. package/dist-cjs/commands/GetDataSetDetailsCommand.js +36 -0
  18. package/dist-cjs/commands/GetDataSetImportTaskCommand.js +36 -0
  19. package/dist-cjs/commands/GetDeploymentCommand.js +36 -0
  20. package/dist-cjs/commands/GetEnvironmentCommand.js +36 -0
  21. package/dist-cjs/commands/ListApplicationVersionsCommand.js +36 -0
  22. package/dist-cjs/commands/ListApplicationsCommand.js +36 -0
  23. package/dist-cjs/commands/ListBatchJobDefinitionsCommand.js +36 -0
  24. package/dist-cjs/commands/ListBatchJobExecutionsCommand.js +36 -0
  25. package/dist-cjs/commands/ListDataSetImportHistoryCommand.js +36 -0
  26. package/dist-cjs/commands/ListDataSetsCommand.js +36 -0
  27. package/dist-cjs/commands/ListDeploymentsCommand.js +36 -0
  28. package/dist-cjs/commands/ListEngineVersionsCommand.js +36 -0
  29. package/dist-cjs/commands/ListEnvironmentsCommand.js +36 -0
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  31. package/dist-cjs/commands/StartApplicationCommand.js +36 -0
  32. package/dist-cjs/commands/StartBatchJobCommand.js +36 -0
  33. package/dist-cjs/commands/StopApplicationCommand.js +36 -0
  34. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  35. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  36. package/dist-cjs/commands/UpdateApplicationCommand.js +36 -0
  37. package/dist-cjs/commands/UpdateEnvironmentCommand.js +36 -0
  38. package/dist-cjs/commands/index.js +35 -0
  39. package/dist-cjs/endpoints.js +131 -0
  40. package/dist-cjs/index.js +11 -0
  41. package/dist-cjs/models/M2ServiceException.js +11 -0
  42. package/dist-cjs/models/index.js +4 -0
  43. package/dist-cjs/models/models_0.js +911 -0
  44. package/dist-cjs/pagination/Interfaces.js +2 -0
  45. package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +36 -0
  46. package/dist-cjs/pagination/ListApplicationsPaginator.js +36 -0
  47. package/dist-cjs/pagination/ListBatchJobDefinitionsPaginator.js +36 -0
  48. package/dist-cjs/pagination/ListBatchJobExecutionsPaginator.js +36 -0
  49. package/dist-cjs/pagination/ListDataSetImportHistoryPaginator.js +36 -0
  50. package/dist-cjs/pagination/ListDataSetsPaginator.js +36 -0
  51. package/dist-cjs/pagination/ListDeploymentsPaginator.js +36 -0
  52. package/dist-cjs/pagination/ListEngineVersionsPaginator.js +36 -0
  53. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +36 -0
  54. package/dist-cjs/pagination/index.js +13 -0
  55. package/dist-cjs/protocols/Aws_restJson1.js +3744 -0
  56. package/dist-cjs/runtimeConfig.browser.js +45 -0
  57. package/dist-cjs/runtimeConfig.js +52 -0
  58. package/dist-cjs/runtimeConfig.native.js +16 -0
  59. package/dist-cjs/runtimeConfig.shared.js +17 -0
  60. package/dist-es/M2.js +490 -0
  61. package/dist-es/M2Client.js +39 -0
  62. package/dist-es/commands/CancelBatchJobExecutionCommand.js +39 -0
  63. package/dist-es/commands/CreateApplicationCommand.js +39 -0
  64. package/dist-es/commands/CreateDataSetImportTaskCommand.js +39 -0
  65. package/dist-es/commands/CreateDeploymentCommand.js +39 -0
  66. package/dist-es/commands/CreateEnvironmentCommand.js +39 -0
  67. package/dist-es/commands/DeleteApplicationCommand.js +39 -0
  68. package/dist-es/commands/DeleteApplicationFromEnvironmentCommand.js +39 -0
  69. package/dist-es/commands/DeleteEnvironmentCommand.js +39 -0
  70. package/dist-es/commands/GetApplicationCommand.js +39 -0
  71. package/dist-es/commands/GetApplicationVersionCommand.js +39 -0
  72. package/dist-es/commands/GetBatchJobExecutionCommand.js +39 -0
  73. package/dist-es/commands/GetDataSetDetailsCommand.js +39 -0
  74. package/dist-es/commands/GetDataSetImportTaskCommand.js +39 -0
  75. package/dist-es/commands/GetDeploymentCommand.js +39 -0
  76. package/dist-es/commands/GetEnvironmentCommand.js +39 -0
  77. package/dist-es/commands/ListApplicationVersionsCommand.js +39 -0
  78. package/dist-es/commands/ListApplicationsCommand.js +39 -0
  79. package/dist-es/commands/ListBatchJobDefinitionsCommand.js +39 -0
  80. package/dist-es/commands/ListBatchJobExecutionsCommand.js +39 -0
  81. package/dist-es/commands/ListDataSetImportHistoryCommand.js +39 -0
  82. package/dist-es/commands/ListDataSetsCommand.js +39 -0
  83. package/dist-es/commands/ListDeploymentsCommand.js +39 -0
  84. package/dist-es/commands/ListEngineVersionsCommand.js +39 -0
  85. package/dist-es/commands/ListEnvironmentsCommand.js +39 -0
  86. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  87. package/dist-es/commands/StartApplicationCommand.js +39 -0
  88. package/dist-es/commands/StartBatchJobCommand.js +39 -0
  89. package/dist-es/commands/StopApplicationCommand.js +39 -0
  90. package/dist-es/commands/TagResourceCommand.js +39 -0
  91. package/dist-es/commands/UntagResourceCommand.js +39 -0
  92. package/dist-es/commands/UpdateApplicationCommand.js +39 -0
  93. package/dist-es/commands/UpdateEnvironmentCommand.js +39 -0
  94. package/dist-es/commands/index.js +32 -0
  95. package/dist-es/endpoints.js +127 -0
  96. package/dist-es/index.js +6 -0
  97. package/dist-es/models/M2ServiceException.js +12 -0
  98. package/dist-es/models/index.js +1 -0
  99. package/dist-es/models/models_0.js +709 -0
  100. package/dist-es/pagination/Interfaces.js +1 -0
  101. package/dist-es/pagination/ListApplicationVersionsPaginator.js +75 -0
  102. package/dist-es/pagination/ListApplicationsPaginator.js +75 -0
  103. package/dist-es/pagination/ListBatchJobDefinitionsPaginator.js +75 -0
  104. package/dist-es/pagination/ListBatchJobExecutionsPaginator.js +75 -0
  105. package/dist-es/pagination/ListDataSetImportHistoryPaginator.js +75 -0
  106. package/dist-es/pagination/ListDataSetsPaginator.js +75 -0
  107. package/dist-es/pagination/ListDeploymentsPaginator.js +75 -0
  108. package/dist-es/pagination/ListEngineVersionsPaginator.js +75 -0
  109. package/dist-es/pagination/ListEnvironmentsPaginator.js +75 -0
  110. package/dist-es/pagination/index.js +10 -0
  111. package/dist-es/protocols/Aws_restJson1.js +4508 -0
  112. package/dist-es/runtimeConfig.browser.js +26 -0
  113. package/dist-es/runtimeConfig.js +30 -0
  114. package/dist-es/runtimeConfig.native.js +8 -0
  115. package/dist-es/runtimeConfig.shared.js +13 -0
  116. package/dist-types/M2.d.ts +250 -0
  117. package/dist-types/M2Client.d.ts +180 -0
  118. package/dist-types/commands/CancelBatchJobExecutionCommand.d.ts +35 -0
  119. package/dist-types/commands/CreateApplicationCommand.d.ts +36 -0
  120. package/dist-types/commands/CreateDataSetImportTaskCommand.d.ts +35 -0
  121. package/dist-types/commands/CreateDeploymentCommand.d.ts +35 -0
  122. package/dist-types/commands/CreateEnvironmentCommand.d.ts +35 -0
  123. package/dist-types/commands/DeleteApplicationCommand.d.ts +35 -0
  124. package/dist-types/commands/DeleteApplicationFromEnvironmentCommand.d.ts +38 -0
  125. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +36 -0
  126. package/dist-types/commands/GetApplicationCommand.d.ts +35 -0
  127. package/dist-types/commands/GetApplicationVersionCommand.d.ts +35 -0
  128. package/dist-types/commands/GetBatchJobExecutionCommand.d.ts +35 -0
  129. package/dist-types/commands/GetDataSetDetailsCommand.d.ts +35 -0
  130. package/dist-types/commands/GetDataSetImportTaskCommand.d.ts +35 -0
  131. package/dist-types/commands/GetDeploymentCommand.d.ts +35 -0
  132. package/dist-types/commands/GetEnvironmentCommand.d.ts +35 -0
  133. package/dist-types/commands/ListApplicationVersionsCommand.d.ts +35 -0
  134. package/dist-types/commands/ListApplicationsCommand.d.ts +37 -0
  135. package/dist-types/commands/ListBatchJobDefinitionsCommand.d.ts +37 -0
  136. package/dist-types/commands/ListBatchJobExecutionsCommand.d.ts +36 -0
  137. package/dist-types/commands/ListDataSetImportHistoryCommand.d.ts +35 -0
  138. package/dist-types/commands/ListDataSetsCommand.d.ts +37 -0
  139. package/dist-types/commands/ListDeploymentsCommand.d.ts +37 -0
  140. package/dist-types/commands/ListEngineVersionsCommand.d.ts +35 -0
  141. package/dist-types/commands/ListEnvironmentsCommand.d.ts +35 -0
  142. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  143. package/dist-types/commands/StartApplicationCommand.d.ts +35 -0
  144. package/dist-types/commands/StartBatchJobCommand.d.ts +36 -0
  145. package/dist-types/commands/StopApplicationCommand.d.ts +35 -0
  146. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  147. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  148. package/dist-types/commands/UpdateApplicationCommand.d.ts +35 -0
  149. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +35 -0
  150. package/dist-types/commands/index.d.ts +32 -0
  151. package/dist-types/endpoints.d.ts +2 -0
  152. package/dist-types/index.d.ts +6 -0
  153. package/dist-types/models/M2ServiceException.d.ts +10 -0
  154. package/dist-types/models/index.d.ts +1 -0
  155. package/dist-types/models/models_0.d.ts +2682 -0
  156. package/dist-types/pagination/Interfaces.d.ts +6 -0
  157. package/dist-types/pagination/ListApplicationVersionsPaginator.d.ts +4 -0
  158. package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
  159. package/dist-types/pagination/ListBatchJobDefinitionsPaginator.d.ts +4 -0
  160. package/dist-types/pagination/ListBatchJobExecutionsPaginator.d.ts +4 -0
  161. package/dist-types/pagination/ListDataSetImportHistoryPaginator.d.ts +4 -0
  162. package/dist-types/pagination/ListDataSetsPaginator.d.ts +4 -0
  163. package/dist-types/pagination/ListDeploymentsPaginator.d.ts +4 -0
  164. package/dist-types/pagination/ListEngineVersionsPaginator.d.ts +4 -0
  165. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +4 -0
  166. package/dist-types/pagination/index.d.ts +10 -0
  167. package/dist-types/protocols/Aws_restJson1.d.ts +98 -0
  168. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  169. package/dist-types/runtimeConfig.d.ts +40 -0
  170. package/dist-types/runtimeConfig.native.d.ts +39 -0
  171. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  172. package/dist-types/ts3.4/M2.d.ts +165 -0
  173. package/dist-types/ts3.4/M2Client.d.ts +105 -0
  174. package/dist-types/ts3.4/commands/CancelBatchJobExecutionCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/CreateDataSetImportTaskCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/DeleteApplicationFromEnvironmentCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/GetApplicationVersionCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/GetBatchJobExecutionCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/GetDataSetDetailsCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/GetDataSetImportTaskCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/ListBatchJobDefinitionsCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/ListBatchJobExecutionsCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/ListDataSetImportHistoryCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/ListDataSetsCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/ListEngineVersionsCommand.d.ts +17 -0
  197. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  199. package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +17 -0
  200. package/dist-types/ts3.4/commands/StartBatchJobCommand.d.ts +17 -0
  201. package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +17 -0
  202. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  204. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
  205. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +17 -0
  206. package/dist-types/ts3.4/commands/index.d.ts +32 -0
  207. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  208. package/dist-types/ts3.4/index.d.ts +6 -0
  209. package/dist-types/ts3.4/models/M2ServiceException.d.ts +6 -0
  210. package/dist-types/ts3.4/models/index.d.ts +1 -0
  211. package/dist-types/ts3.4/models/models_0.d.ts +1609 -0
  212. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  213. package/dist-types/ts3.4/pagination/ListApplicationVersionsPaginator.d.ts +4 -0
  214. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +4 -0
  215. package/dist-types/ts3.4/pagination/ListBatchJobDefinitionsPaginator.d.ts +4 -0
  216. package/dist-types/ts3.4/pagination/ListBatchJobExecutionsPaginator.d.ts +4 -0
  217. package/dist-types/ts3.4/pagination/ListDataSetImportHistoryPaginator.d.ts +4 -0
  218. package/dist-types/ts3.4/pagination/ListDataSetsPaginator.d.ts +4 -0
  219. package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +4 -0
  220. package/dist-types/ts3.4/pagination/ListEngineVersionsPaginator.d.ts +4 -0
  221. package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +4 -0
  222. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  223. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +98 -0
  224. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  225. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  226. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  227. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  228. package/package.json +96 -0
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CancelBatchJobExecutionRequest, CancelBatchJobExecutionResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CancelBatchJobExecutionCommand, serializeAws_restJson1CancelBatchJobExecutionCommand, } from "../protocols/Aws_restJson1";
6
+ var CancelBatchJobExecutionCommand = (function (_super) {
7
+ __extends(CancelBatchJobExecutionCommand, _super);
8
+ function CancelBatchJobExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CancelBatchJobExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "CancelBatchJobExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CancelBatchJobExecutionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CancelBatchJobExecutionResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CancelBatchJobExecutionCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CancelBatchJobExecutionCommand(input, context);
33
+ };
34
+ CancelBatchJobExecutionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CancelBatchJobExecutionCommand(output, context);
36
+ };
37
+ return CancelBatchJobExecutionCommand;
38
+ }($Command));
39
+ export { CancelBatchJobExecutionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateApplicationCommand, serializeAws_restJson1CreateApplicationCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateApplicationCommand = (function (_super) {
7
+ __extends(CreateApplicationCommand, _super);
8
+ function CreateApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "CreateApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateApplicationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateApplicationResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateApplicationCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateApplicationCommand(input, context);
33
+ };
34
+ CreateApplicationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateApplicationCommand(output, context);
36
+ };
37
+ return CreateApplicationCommand;
38
+ }($Command));
39
+ export { CreateApplicationCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateDataSetImportTaskRequest, CreateDataSetImportTaskResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateDataSetImportTaskCommand, serializeAws_restJson1CreateDataSetImportTaskCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateDataSetImportTaskCommand = (function (_super) {
7
+ __extends(CreateDataSetImportTaskCommand, _super);
8
+ function CreateDataSetImportTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateDataSetImportTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "CreateDataSetImportTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateDataSetImportTaskRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateDataSetImportTaskResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDataSetImportTaskCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateDataSetImportTaskCommand(input, context);
33
+ };
34
+ CreateDataSetImportTaskCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateDataSetImportTaskCommand(output, context);
36
+ };
37
+ return CreateDataSetImportTaskCommand;
38
+ }($Command));
39
+ export { CreateDataSetImportTaskCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateDeploymentRequest, CreateDeploymentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateDeploymentCommand, serializeAws_restJson1CreateDeploymentCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateDeploymentCommand = (function (_super) {
7
+ __extends(CreateDeploymentCommand, _super);
8
+ function CreateDeploymentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "CreateDeploymentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateDeploymentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateDeploymentResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDeploymentCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateDeploymentCommand(input, context);
33
+ };
34
+ CreateDeploymentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateDeploymentCommand(output, context);
36
+ };
37
+ return CreateDeploymentCommand;
38
+ }($Command));
39
+ export { CreateDeploymentCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateEnvironmentRequest, CreateEnvironmentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateEnvironmentCommand, serializeAws_restJson1CreateEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateEnvironmentCommand = (function (_super) {
7
+ __extends(CreateEnvironmentCommand, _super);
8
+ function CreateEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "CreateEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateEnvironmentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateEnvironmentResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateEnvironmentCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateEnvironmentCommand(input, context);
33
+ };
34
+ CreateEnvironmentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateEnvironmentCommand(output, context);
36
+ };
37
+ return CreateEnvironmentCommand;
38
+ }($Command));
39
+ export { CreateEnvironmentCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteApplicationCommand, serializeAws_restJson1DeleteApplicationCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteApplicationCommand = (function (_super) {
7
+ __extends(DeleteApplicationCommand, _super);
8
+ function DeleteApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "DeleteApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteApplicationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteApplicationResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteApplicationCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteApplicationCommand(input, context);
33
+ };
34
+ DeleteApplicationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteApplicationCommand(output, context);
36
+ };
37
+ return DeleteApplicationCommand;
38
+ }($Command));
39
+ export { DeleteApplicationCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteApplicationFromEnvironmentRequest, DeleteApplicationFromEnvironmentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteApplicationFromEnvironmentCommand, serializeAws_restJson1DeleteApplicationFromEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteApplicationFromEnvironmentCommand = (function (_super) {
7
+ __extends(DeleteApplicationFromEnvironmentCommand, _super);
8
+ function DeleteApplicationFromEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteApplicationFromEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "DeleteApplicationFromEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteApplicationFromEnvironmentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteApplicationFromEnvironmentResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteApplicationFromEnvironmentCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteApplicationFromEnvironmentCommand(input, context);
33
+ };
34
+ DeleteApplicationFromEnvironmentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteApplicationFromEnvironmentCommand(output, context);
36
+ };
37
+ return DeleteApplicationFromEnvironmentCommand;
38
+ }($Command));
39
+ export { DeleteApplicationFromEnvironmentCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteEnvironmentRequest, DeleteEnvironmentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteEnvironmentCommand, serializeAws_restJson1DeleteEnvironmentCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteEnvironmentCommand = (function (_super) {
7
+ __extends(DeleteEnvironmentCommand, _super);
8
+ function DeleteEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "DeleteEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteEnvironmentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteEnvironmentResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteEnvironmentCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteEnvironmentCommand(input, context);
33
+ };
34
+ DeleteEnvironmentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteEnvironmentCommand(output, context);
36
+ };
37
+ return DeleteEnvironmentCommand;
38
+ }($Command));
39
+ export { DeleteEnvironmentCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetApplicationCommand, serializeAws_restJson1GetApplicationCommand, } from "../protocols/Aws_restJson1";
6
+ var GetApplicationCommand = (function (_super) {
7
+ __extends(GetApplicationCommand, _super);
8
+ function GetApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetApplicationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "M2Client";
18
+ var commandName = "GetApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetApplicationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetApplicationResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetApplicationCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetApplicationCommand(input, context);
33
+ };
34
+ GetApplicationCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetApplicationCommand(output, context);
36
+ };
37
+ return GetApplicationCommand;
38
+ }($Command));
39
+ export { GetApplicationCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetApplicationVersionRequest, GetApplicationVersionResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetApplicationVersionCommand, serializeAws_restJson1GetApplicationVersionCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ GetApplicationVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: GetApplicationVersionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetApplicationVersionResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetApplicationVersionCommand(input, context);
33
+ };
34
+ GetApplicationVersionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetApplicationVersionCommand(output, context);
36
+ };
37
+ return GetApplicationVersionCommand;
38
+ }($Command));
39
+ export { GetApplicationVersionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetBatchJobExecutionRequest, GetBatchJobExecutionResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetBatchJobExecutionCommand, serializeAws_restJson1GetBatchJobExecutionCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ GetBatchJobExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: GetBatchJobExecutionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetBatchJobExecutionResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetBatchJobExecutionCommand(input, context);
33
+ };
34
+ GetBatchJobExecutionCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetBatchJobExecutionCommand(output, context);
36
+ };
37
+ return GetBatchJobExecutionCommand;
38
+ }($Command));
39
+ export { GetBatchJobExecutionCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetDataSetDetailsRequest, GetDataSetDetailsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetDataSetDetailsCommand, serializeAws_restJson1GetDataSetDetailsCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ GetDataSetDetailsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: GetDataSetDetailsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetDataSetDetailsResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetDataSetDetailsCommand(input, context);
33
+ };
34
+ GetDataSetDetailsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetDataSetDetailsCommand(output, context);
36
+ };
37
+ return GetDataSetDetailsCommand;
38
+ }($Command));
39
+ export { GetDataSetDetailsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetDataSetImportTaskRequest, GetDataSetImportTaskResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetDataSetImportTaskCommand, serializeAws_restJson1GetDataSetImportTaskCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ GetDataSetImportTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: GetDataSetImportTaskRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetDataSetImportTaskResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetDataSetImportTaskCommand(input, context);
33
+ };
34
+ GetDataSetImportTaskCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetDataSetImportTaskCommand(output, context);
36
+ };
37
+ return GetDataSetImportTaskCommand;
38
+ }($Command));
39
+ export { GetDataSetImportTaskCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetDeploymentRequest, GetDeploymentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetDeploymentCommand, serializeAws_restJson1GetDeploymentCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ GetDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: GetDeploymentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetDeploymentResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetDeploymentCommand(input, context);
33
+ };
34
+ GetDeploymentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetDeploymentCommand(output, context);
36
+ };
37
+ return GetDeploymentCommand;
38
+ }($Command));
39
+ export { GetDeploymentCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetEnvironmentRequest, GetEnvironmentResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetEnvironmentCommand, serializeAws_restJson1GetEnvironmentCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ GetEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: GetEnvironmentRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetEnvironmentResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetEnvironmentCommand(input, context);
33
+ };
34
+ GetEnvironmentCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetEnvironmentCommand(output, context);
36
+ };
37
+ return GetEnvironmentCommand;
38
+ }($Command));
39
+ export { GetEnvironmentCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListApplicationVersionsRequest, ListApplicationVersionsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListApplicationVersionsCommand, serializeAws_restJson1ListApplicationVersionsCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ ListApplicationVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
23
+ inputFilterSensitiveLog: ListApplicationVersionsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListApplicationVersionsResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1ListApplicationVersionsCommand(input, context);
33
+ };
34
+ ListApplicationVersionsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListApplicationVersionsCommand(output, context);
36
+ };
37
+ return ListApplicationVersionsCommand;
38
+ }($Command));
39
+ export { ListApplicationVersionsCommand };