@aws-sdk/client-m2 3.928.0 → 3.930.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 (61) hide show
  1. package/dist-cjs/index.js +1918 -1865
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/M2Client.js +2 -0
  4. package/dist-es/commands/CancelBatchJobExecutionCommand.js +3 -9
  5. package/dist-es/commands/CreateApplicationCommand.js +3 -9
  6. package/dist-es/commands/CreateDataSetExportTaskCommand.js +3 -9
  7. package/dist-es/commands/CreateDataSetImportTaskCommand.js +3 -9
  8. package/dist-es/commands/CreateDeploymentCommand.js +3 -9
  9. package/dist-es/commands/CreateEnvironmentCommand.js +3 -9
  10. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  11. package/dist-es/commands/DeleteApplicationFromEnvironmentCommand.js +3 -9
  12. package/dist-es/commands/DeleteEnvironmentCommand.js +3 -9
  13. package/dist-es/commands/GetApplicationCommand.js +3 -9
  14. package/dist-es/commands/GetApplicationVersionCommand.js +3 -9
  15. package/dist-es/commands/GetBatchJobExecutionCommand.js +3 -9
  16. package/dist-es/commands/GetDataSetDetailsCommand.js +3 -9
  17. package/dist-es/commands/GetDataSetExportTaskCommand.js +3 -9
  18. package/dist-es/commands/GetDataSetImportTaskCommand.js +3 -9
  19. package/dist-es/commands/GetDeploymentCommand.js +3 -9
  20. package/dist-es/commands/GetEnvironmentCommand.js +3 -9
  21. package/dist-es/commands/GetSignedBluinsightsUrlCommand.js +3 -9
  22. package/dist-es/commands/ListApplicationVersionsCommand.js +3 -9
  23. package/dist-es/commands/ListApplicationsCommand.js +3 -9
  24. package/dist-es/commands/ListBatchJobDefinitionsCommand.js +3 -9
  25. package/dist-es/commands/ListBatchJobExecutionsCommand.js +3 -9
  26. package/dist-es/commands/ListBatchJobRestartPointsCommand.js +3 -9
  27. package/dist-es/commands/ListDataSetExportHistoryCommand.js +3 -9
  28. package/dist-es/commands/ListDataSetImportHistoryCommand.js +3 -9
  29. package/dist-es/commands/ListDataSetsCommand.js +3 -9
  30. package/dist-es/commands/ListDeploymentsCommand.js +3 -9
  31. package/dist-es/commands/ListEngineVersionsCommand.js +3 -9
  32. package/dist-es/commands/ListEnvironmentsCommand.js +3 -9
  33. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  34. package/dist-es/commands/StartApplicationCommand.js +3 -9
  35. package/dist-es/commands/StartBatchJobCommand.js +3 -9
  36. package/dist-es/commands/StopApplicationCommand.js +3 -9
  37. package/dist-es/commands/TagResourceCommand.js +3 -9
  38. package/dist-es/commands/UntagResourceCommand.js +3 -9
  39. package/dist-es/commands/UpdateApplicationCommand.js +3 -9
  40. package/dist-es/commands/UpdateEnvironmentCommand.js +3 -9
  41. package/dist-es/models/models_0.js +0 -110
  42. package/dist-es/runtimeConfig.shared.js +2 -0
  43. package/dist-es/schemas/schemas_0.js +1835 -0
  44. package/dist-types/M2Client.d.ts +10 -1
  45. package/dist-types/models/models_0.d.ts +40 -10
  46. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  47. package/dist-types/runtimeConfig.d.ts +1 -0
  48. package/dist-types/runtimeConfig.native.d.ts +1 -0
  49. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  50. package/dist-types/schemas/schemas_0.d.ts +199 -0
  51. package/dist-types/ts3.4/M2Client.d.ts +4 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +0 -10
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  57. package/dist-types/ts3.4/schemas/schemas_0.d.ts +204 -0
  58. package/package.json +33 -34
  59. package/dist-es/protocols/Aws_restJson1.js +0 -1481
  60. package/dist-types/protocols/Aws_restJson1.d.ts +0 -335
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -449
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListBatchJobRestartPointsCommand, se_ListBatchJobRestartPointsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListBatchJobRestartPoints } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListBatchJobRestartPointsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "ListBatchJobRestartPoints", {})
17
13
  .n("M2Client", "ListBatchJobRestartPointsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListBatchJobRestartPointsCommand)
20
- .de(de_ListBatchJobRestartPointsCommand)
14
+ .sc(ListBatchJobRestartPoints)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDataSetExportHistoryCommand, se_ListDataSetExportHistoryCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDataSetExportHistory } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDataSetExportHistoryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "ListDataSetExportHistory", {})
17
13
  .n("M2Client", "ListDataSetExportHistoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDataSetExportHistoryCommand)
20
- .de(de_ListDataSetExportHistoryCommand)
14
+ .sc(ListDataSetExportHistory)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDataSetImportHistoryCommand, se_ListDataSetImportHistoryCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDataSetImportHistory } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDataSetImportHistoryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "ListDataSetImportHistory", {})
17
13
  .n("M2Client", "ListDataSetImportHistoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDataSetImportHistoryCommand)
20
- .de(de_ListDataSetImportHistoryCommand)
14
+ .sc(ListDataSetImportHistory)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDataSetsCommand, se_ListDataSetsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDataSets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDataSetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "ListDataSets", {})
17
13
  .n("M2Client", "ListDataSetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDataSetsCommand)
20
- .de(de_ListDataSetsCommand)
14
+ .sc(ListDataSets)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDeploymentsCommand, se_ListDeploymentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDeployments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDeploymentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "ListDeployments", {})
17
13
  .n("M2Client", "ListDeploymentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDeploymentsCommand)
20
- .de(de_ListDeploymentsCommand)
14
+ .sc(ListDeployments)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListEngineVersionsCommand, se_ListEngineVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListEngineVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEngineVersionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "ListEngineVersions", {})
17
13
  .n("M2Client", "ListEngineVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEngineVersionsCommand)
20
- .de(de_ListEngineVersionsCommand)
14
+ .sc(ListEngineVersions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListEnvironmentsCommand, se_ListEnvironmentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListEnvironments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEnvironmentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "ListEnvironments", {})
17
13
  .n("M2Client", "ListEnvironmentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEnvironmentsCommand)
20
- .de(de_ListEnvironmentsCommand)
14
+ .sc(ListEnvironments)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "ListTagsForResource", {})
17
13
  .n("M2Client", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartApplicationCommand, se_StartApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { StartApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "StartApplication", {})
17
13
  .n("M2Client", "StartApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartApplicationCommand)
20
- .de(de_StartApplicationCommand)
14
+ .sc(StartApplication)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartBatchJobCommand, se_StartBatchJobCommand } from "../protocols/Aws_restJson1";
4
+ import { StartBatchJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartBatchJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "StartBatchJob", {})
17
13
  .n("M2Client", "StartBatchJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartBatchJobCommand)
20
- .de(de_StartBatchJobCommand)
14
+ .sc(StartBatchJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopApplicationCommand, se_StopApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { StopApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "StopApplication", {})
17
13
  .n("M2Client", "StopApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopApplicationCommand)
20
- .de(de_StopApplicationCommand)
14
+ .sc(StopApplication)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "TagResource", {})
17
13
  .n("M2Client", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "UntagResource", {})
17
13
  .n("M2Client", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "UpdateApplication", {})
17
13
  .n("M2Client", "UpdateApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApplicationCommand)
20
- .de(de_UpdateApplicationCommand)
14
+ .sc(UpdateApplication)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateEnvironmentCommand, se_UpdateEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEnvironmentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AwsSupernovaControlPlaneService", "UpdateEnvironment", {})
17
13
  .n("M2Client", "UpdateEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEnvironmentCommand)
20
- .de(de_UpdateEnvironmentCommand)
14
+ .sc(UpdateEnvironment)
21
15
  .build() {
22
16
  }
@@ -103,16 +103,6 @@ export class ValidationException extends __BaseException {
103
103
  this.fieldList = opts.fieldList;
104
104
  }
105
105
  }
106
- export var Definition;
107
- (function (Definition) {
108
- Definition.visit = (value, visitor) => {
109
- if (value.s3Location !== undefined)
110
- return visitor.s3Location(value.s3Location);
111
- if (value.content !== undefined)
112
- return visitor.content(value.content);
113
- return visitor._(value.$unknown[0], value.$unknown[1]);
114
- };
115
- })(Definition || (Definition = {}));
116
106
  export const EngineType = {
117
107
  BLUAGE: "bluage",
118
108
  MICROFOCUS: "microfocus",
@@ -137,48 +127,6 @@ export class ServiceQuotaExceededException extends __BaseException {
137
127
  this.quotaCode = opts.quotaCode;
138
128
  }
139
129
  }
140
- export var ExternalLocation;
141
- (function (ExternalLocation) {
142
- ExternalLocation.visit = (value, visitor) => {
143
- if (value.s3Location !== undefined)
144
- return visitor.s3Location(value.s3Location);
145
- return visitor._(value.$unknown[0], value.$unknown[1]);
146
- };
147
- })(ExternalLocation || (ExternalLocation = {}));
148
- export var DataSetExportConfig;
149
- (function (DataSetExportConfig) {
150
- DataSetExportConfig.visit = (value, visitor) => {
151
- if (value.s3Location !== undefined)
152
- return visitor.s3Location(value.s3Location);
153
- if (value.dataSets !== undefined)
154
- return visitor.dataSets(value.dataSets);
155
- return visitor._(value.$unknown[0], value.$unknown[1]);
156
- };
157
- })(DataSetExportConfig || (DataSetExportConfig = {}));
158
- export var DatasetOrgAttributes;
159
- (function (DatasetOrgAttributes) {
160
- DatasetOrgAttributes.visit = (value, visitor) => {
161
- if (value.vsam !== undefined)
162
- return visitor.vsam(value.vsam);
163
- if (value.gdg !== undefined)
164
- return visitor.gdg(value.gdg);
165
- if (value.po !== undefined)
166
- return visitor.po(value.po);
167
- if (value.ps !== undefined)
168
- return visitor.ps(value.ps);
169
- return visitor._(value.$unknown[0], value.$unknown[1]);
170
- };
171
- })(DatasetOrgAttributes || (DatasetOrgAttributes = {}));
172
- export var DataSetImportConfig;
173
- (function (DataSetImportConfig) {
174
- DataSetImportConfig.visit = (value, visitor) => {
175
- if (value.s3Location !== undefined)
176
- return visitor.s3Location(value.s3Location);
177
- if (value.dataSets !== undefined)
178
- return visitor.dataSets(value.dataSets);
179
- return visitor._(value.$unknown[0], value.$unknown[1]);
180
- };
181
- })(DataSetImportConfig || (DataSetImportConfig = {}));
182
130
  export const DeploymentLifecycle = {
183
131
  DEPLOYING: "Deploying",
184
132
  DEPLOY_UPDATE: "Updating Deployment",
@@ -203,30 +151,6 @@ export const ApplicationLifecycle = {
203
151
  STOPPED: "Stopped",
204
152
  STOPPING: "Stopping",
205
153
  };
206
- export var JobIdentifier;
207
- (function (JobIdentifier) {
208
- JobIdentifier.visit = (value, visitor) => {
209
- if (value.fileName !== undefined)
210
- return visitor.fileName(value.fileName);
211
- if (value.scriptName !== undefined)
212
- return visitor.scriptName(value.scriptName);
213
- return visitor._(value.$unknown[0], value.$unknown[1]);
214
- };
215
- })(JobIdentifier || (JobIdentifier = {}));
216
- export var BatchJobIdentifier;
217
- (function (BatchJobIdentifier) {
218
- BatchJobIdentifier.visit = (value, visitor) => {
219
- if (value.fileBatchJobIdentifier !== undefined)
220
- return visitor.fileBatchJobIdentifier(value.fileBatchJobIdentifier);
221
- if (value.scriptBatchJobIdentifier !== undefined)
222
- return visitor.scriptBatchJobIdentifier(value.scriptBatchJobIdentifier);
223
- if (value.s3BatchJobIdentifier !== undefined)
224
- return visitor.s3BatchJobIdentifier(value.s3BatchJobIdentifier);
225
- if (value.restartBatchJobIdentifier !== undefined)
226
- return visitor.restartBatchJobIdentifier(value.restartBatchJobIdentifier);
227
- return visitor._(value.$unknown[0], value.$unknown[1]);
228
- };
229
- })(BatchJobIdentifier || (BatchJobIdentifier = {}));
230
154
  export const BatchJobType = {
231
155
  JES2: "JES2",
232
156
  JES3: "JES3",
@@ -257,20 +181,6 @@ export class ExecutionTimeoutException extends __BaseException {
257
181
  Object.setPrototypeOf(this, ExecutionTimeoutException.prototype);
258
182
  }
259
183
  }
260
- export var DatasetDetailOrgAttributes;
261
- (function (DatasetDetailOrgAttributes) {
262
- DatasetDetailOrgAttributes.visit = (value, visitor) => {
263
- if (value.vsam !== undefined)
264
- return visitor.vsam(value.vsam);
265
- if (value.gdg !== undefined)
266
- return visitor.gdg(value.gdg);
267
- if (value.po !== undefined)
268
- return visitor.po(value.po);
269
- if (value.ps !== undefined)
270
- return visitor.ps(value.ps);
271
- return visitor._(value.$unknown[0], value.$unknown[1]);
272
- };
273
- })(DatasetDetailOrgAttributes || (DatasetDetailOrgAttributes = {}));
274
184
  export class ServiceUnavailableException extends __BaseException {
275
185
  name = "ServiceUnavailableException";
276
186
  $fault = "server";
@@ -294,30 +204,10 @@ export const ApplicationDeploymentLifecycle = {
294
204
  DEPLOYED: "Deployed",
295
205
  DEPLOYING: "Deploying",
296
206
  };
297
- export var BatchJobDefinition;
298
- (function (BatchJobDefinition) {
299
- BatchJobDefinition.visit = (value, visitor) => {
300
- if (value.fileBatchJobDefinition !== undefined)
301
- return visitor.fileBatchJobDefinition(value.fileBatchJobDefinition);
302
- if (value.scriptBatchJobDefinition !== undefined)
303
- return visitor.scriptBatchJobDefinition(value.scriptBatchJobDefinition);
304
- return visitor._(value.$unknown[0], value.$unknown[1]);
305
- };
306
- })(BatchJobDefinition || (BatchJobDefinition = {}));
307
207
  export const NetworkType = {
308
208
  DUAL: "dual",
309
209
  IPV4: "ipv4",
310
210
  };
311
- export var StorageConfiguration;
312
- (function (StorageConfiguration) {
313
- StorageConfiguration.visit = (value, visitor) => {
314
- if (value.efs !== undefined)
315
- return visitor.efs(value.efs);
316
- if (value.fsx !== undefined)
317
- return visitor.fsx(value.fsx);
318
- return visitor._(value.$unknown[0], value.$unknown[1]);
319
- };
320
- })(StorageConfiguration || (StorageConfiguration = {}));
321
211
  export const EnvironmentLifecycle = {
322
212
  AVAILABLE: "Available",
323
213
  CREATING: "Creating",
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.m2" }),
25
27
  serviceId: config?.serviceId ?? "m2",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,