@aws-sdk/client-codecommit 3.927.0 → 3.929.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 (100) hide show
  1. package/dist-cjs/index.js +4997 -5401
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CodeCommitClient.js +2 -0
  4. package/dist-es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +3 -9
  5. package/dist-es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +3 -9
  6. package/dist-es/commands/BatchDescribeMergeConflictsCommand.js +3 -9
  7. package/dist-es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +3 -9
  8. package/dist-es/commands/BatchGetCommitsCommand.js +3 -9
  9. package/dist-es/commands/BatchGetRepositoriesCommand.js +3 -9
  10. package/dist-es/commands/CreateApprovalRuleTemplateCommand.js +3 -9
  11. package/dist-es/commands/CreateBranchCommand.js +3 -9
  12. package/dist-es/commands/CreateCommitCommand.js +3 -9
  13. package/dist-es/commands/CreatePullRequestApprovalRuleCommand.js +3 -9
  14. package/dist-es/commands/CreatePullRequestCommand.js +3 -9
  15. package/dist-es/commands/CreateRepositoryCommand.js +3 -9
  16. package/dist-es/commands/CreateUnreferencedMergeCommitCommand.js +3 -9
  17. package/dist-es/commands/DeleteApprovalRuleTemplateCommand.js +3 -9
  18. package/dist-es/commands/DeleteBranchCommand.js +3 -9
  19. package/dist-es/commands/DeleteCommentContentCommand.js +3 -9
  20. package/dist-es/commands/DeleteFileCommand.js +3 -9
  21. package/dist-es/commands/DeletePullRequestApprovalRuleCommand.js +3 -9
  22. package/dist-es/commands/DeleteRepositoryCommand.js +3 -9
  23. package/dist-es/commands/DescribeMergeConflictsCommand.js +3 -9
  24. package/dist-es/commands/DescribePullRequestEventsCommand.js +3 -9
  25. package/dist-es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +3 -9
  26. package/dist-es/commands/EvaluatePullRequestApprovalRulesCommand.js +3 -9
  27. package/dist-es/commands/GetApprovalRuleTemplateCommand.js +3 -9
  28. package/dist-es/commands/GetBlobCommand.js +3 -9
  29. package/dist-es/commands/GetBranchCommand.js +3 -9
  30. package/dist-es/commands/GetCommentCommand.js +3 -9
  31. package/dist-es/commands/GetCommentReactionsCommand.js +3 -9
  32. package/dist-es/commands/GetCommentsForComparedCommitCommand.js +3 -9
  33. package/dist-es/commands/GetCommentsForPullRequestCommand.js +3 -9
  34. package/dist-es/commands/GetCommitCommand.js +3 -9
  35. package/dist-es/commands/GetDifferencesCommand.js +3 -9
  36. package/dist-es/commands/GetFileCommand.js +3 -9
  37. package/dist-es/commands/GetFolderCommand.js +3 -9
  38. package/dist-es/commands/GetMergeCommitCommand.js +3 -9
  39. package/dist-es/commands/GetMergeConflictsCommand.js +3 -9
  40. package/dist-es/commands/GetMergeOptionsCommand.js +3 -9
  41. package/dist-es/commands/GetPullRequestApprovalStatesCommand.js +3 -9
  42. package/dist-es/commands/GetPullRequestCommand.js +3 -9
  43. package/dist-es/commands/GetPullRequestOverrideStateCommand.js +3 -9
  44. package/dist-es/commands/GetRepositoryCommand.js +3 -9
  45. package/dist-es/commands/GetRepositoryTriggersCommand.js +3 -9
  46. package/dist-es/commands/ListApprovalRuleTemplatesCommand.js +3 -9
  47. package/dist-es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +3 -9
  48. package/dist-es/commands/ListBranchesCommand.js +3 -9
  49. package/dist-es/commands/ListFileCommitHistoryCommand.js +3 -9
  50. package/dist-es/commands/ListPullRequestsCommand.js +3 -9
  51. package/dist-es/commands/ListRepositoriesCommand.js +3 -9
  52. package/dist-es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +3 -9
  53. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  54. package/dist-es/commands/MergeBranchesByFastForwardCommand.js +3 -9
  55. package/dist-es/commands/MergeBranchesBySquashCommand.js +3 -9
  56. package/dist-es/commands/MergeBranchesByThreeWayCommand.js +3 -9
  57. package/dist-es/commands/MergePullRequestByFastForwardCommand.js +3 -9
  58. package/dist-es/commands/MergePullRequestBySquashCommand.js +3 -9
  59. package/dist-es/commands/MergePullRequestByThreeWayCommand.js +3 -9
  60. package/dist-es/commands/OverridePullRequestApprovalRulesCommand.js +3 -9
  61. package/dist-es/commands/PostCommentForComparedCommitCommand.js +3 -9
  62. package/dist-es/commands/PostCommentForPullRequestCommand.js +3 -9
  63. package/dist-es/commands/PostCommentReplyCommand.js +3 -9
  64. package/dist-es/commands/PutCommentReactionCommand.js +3 -9
  65. package/dist-es/commands/PutFileCommand.js +3 -9
  66. package/dist-es/commands/PutRepositoryTriggersCommand.js +3 -9
  67. package/dist-es/commands/TagResourceCommand.js +3 -9
  68. package/dist-es/commands/TestRepositoryTriggersCommand.js +3 -9
  69. package/dist-es/commands/UntagResourceCommand.js +3 -9
  70. package/dist-es/commands/UpdateApprovalRuleTemplateContentCommand.js +3 -9
  71. package/dist-es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +3 -9
  72. package/dist-es/commands/UpdateApprovalRuleTemplateNameCommand.js +3 -9
  73. package/dist-es/commands/UpdateCommentCommand.js +3 -9
  74. package/dist-es/commands/UpdateDefaultBranchCommand.js +3 -9
  75. package/dist-es/commands/UpdatePullRequestApprovalRuleContentCommand.js +3 -9
  76. package/dist-es/commands/UpdatePullRequestApprovalStateCommand.js +3 -9
  77. package/dist-es/commands/UpdatePullRequestDescriptionCommand.js +3 -9
  78. package/dist-es/commands/UpdatePullRequestStatusCommand.js +3 -9
  79. package/dist-es/commands/UpdatePullRequestTitleCommand.js +3 -9
  80. package/dist-es/commands/UpdateRepositoryDescriptionCommand.js +3 -9
  81. package/dist-es/commands/UpdateRepositoryEncryptionKeyCommand.js +3 -9
  82. package/dist-es/commands/UpdateRepositoryNameCommand.js +3 -9
  83. package/dist-es/runtimeConfig.shared.js +7 -0
  84. package/dist-es/schemas/schemas_0.js +4289 -0
  85. package/dist-types/CodeCommitClient.d.ts +10 -1
  86. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  87. package/dist-types/runtimeConfig.d.ts +1 -0
  88. package/dist-types/runtimeConfig.native.d.ts +1 -0
  89. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  90. package/dist-types/schemas/schemas_0.d.ts +528 -0
  91. package/dist-types/ts3.4/CodeCommitClient.d.ts +4 -0
  92. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  93. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  94. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  95. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  96. package/dist-types/ts3.4/schemas/schemas_0.d.ts +533 -0
  97. package/package.json +5 -6
  98. package/dist-es/protocols/Aws_json1_1.js +0 -4286
  99. package/dist-types/protocols/Aws_json1_1.d.ts +0 -713
  100. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -953
@@ -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_ListFileCommitHistoryCommand, se_ListFileCommitHistoryCommand } from "../protocols/Aws_json1_1";
4
+ import { ListFileCommitHistory } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListFileCommitHistoryCommand 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("CodeCommit_20150413", "ListFileCommitHistory", {})
17
13
  .n("CodeCommitClient", "ListFileCommitHistoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListFileCommitHistoryCommand)
20
- .de(de_ListFileCommitHistoryCommand)
14
+ .sc(ListFileCommitHistory)
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_ListPullRequestsCommand, se_ListPullRequestsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListPullRequests } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPullRequestsCommand 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("CodeCommit_20150413", "ListPullRequests", {})
17
13
  .n("CodeCommitClient", "ListPullRequestsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPullRequestsCommand)
20
- .de(de_ListPullRequestsCommand)
14
+ .sc(ListPullRequests)
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_ListRepositoriesCommand, se_ListRepositoriesCommand } from "../protocols/Aws_json1_1";
4
+ import { ListRepositories } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRepositoriesCommand 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("CodeCommit_20150413", "ListRepositories", {})
17
13
  .n("CodeCommitClient", "ListRepositoriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRepositoriesCommand)
20
- .de(de_ListRepositoriesCommand)
14
+ .sc(ListRepositories)
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_ListRepositoriesForApprovalRuleTemplateCommand, se_ListRepositoriesForApprovalRuleTemplateCommand, } from "../protocols/Aws_json1_1";
4
+ import { ListRepositoriesForApprovalRuleTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRepositoriesForApprovalRuleTemplateCommand 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("CodeCommit_20150413", "ListRepositoriesForApprovalRuleTemplate", {})
17
13
  .n("CodeCommitClient", "ListRepositoriesForApprovalRuleTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRepositoriesForApprovalRuleTemplateCommand)
20
- .de(de_ListRepositoriesForApprovalRuleTemplateCommand)
14
+ .sc(ListRepositoriesForApprovalRuleTemplate)
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_json1_1";
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("CodeCommit_20150413", "ListTagsForResource", {})
17
13
  .n("CodeCommitClient", "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_MergeBranchesByFastForwardCommand, se_MergeBranchesByFastForwardCommand } from "../protocols/Aws_json1_1";
4
+ import { MergeBranchesByFastForward } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class MergeBranchesByFastForwardCommand 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("CodeCommit_20150413", "MergeBranchesByFastForward", {})
17
13
  .n("CodeCommitClient", "MergeBranchesByFastForwardCommand")
18
- .f(void 0, void 0)
19
- .ser(se_MergeBranchesByFastForwardCommand)
20
- .de(de_MergeBranchesByFastForwardCommand)
14
+ .sc(MergeBranchesByFastForward)
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_MergeBranchesBySquashCommand, se_MergeBranchesBySquashCommand } from "../protocols/Aws_json1_1";
4
+ import { MergeBranchesBySquash } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class MergeBranchesBySquashCommand 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("CodeCommit_20150413", "MergeBranchesBySquash", {})
17
13
  .n("CodeCommitClient", "MergeBranchesBySquashCommand")
18
- .f(void 0, void 0)
19
- .ser(se_MergeBranchesBySquashCommand)
20
- .de(de_MergeBranchesBySquashCommand)
14
+ .sc(MergeBranchesBySquash)
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_MergeBranchesByThreeWayCommand, se_MergeBranchesByThreeWayCommand } from "../protocols/Aws_json1_1";
4
+ import { MergeBranchesByThreeWay } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class MergeBranchesByThreeWayCommand 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("CodeCommit_20150413", "MergeBranchesByThreeWay", {})
17
13
  .n("CodeCommitClient", "MergeBranchesByThreeWayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_MergeBranchesByThreeWayCommand)
20
- .de(de_MergeBranchesByThreeWayCommand)
14
+ .sc(MergeBranchesByThreeWay)
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_MergePullRequestByFastForwardCommand, se_MergePullRequestByFastForwardCommand, } from "../protocols/Aws_json1_1";
4
+ import { MergePullRequestByFastForward } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class MergePullRequestByFastForwardCommand 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("CodeCommit_20150413", "MergePullRequestByFastForward", {})
17
13
  .n("CodeCommitClient", "MergePullRequestByFastForwardCommand")
18
- .f(void 0, void 0)
19
- .ser(se_MergePullRequestByFastForwardCommand)
20
- .de(de_MergePullRequestByFastForwardCommand)
14
+ .sc(MergePullRequestByFastForward)
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_MergePullRequestBySquashCommand, se_MergePullRequestBySquashCommand } from "../protocols/Aws_json1_1";
4
+ import { MergePullRequestBySquash } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class MergePullRequestBySquashCommand 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("CodeCommit_20150413", "MergePullRequestBySquash", {})
17
13
  .n("CodeCommitClient", "MergePullRequestBySquashCommand")
18
- .f(void 0, void 0)
19
- .ser(se_MergePullRequestBySquashCommand)
20
- .de(de_MergePullRequestBySquashCommand)
14
+ .sc(MergePullRequestBySquash)
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_MergePullRequestByThreeWayCommand, se_MergePullRequestByThreeWayCommand } from "../protocols/Aws_json1_1";
4
+ import { MergePullRequestByThreeWay } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class MergePullRequestByThreeWayCommand 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("CodeCommit_20150413", "MergePullRequestByThreeWay", {})
17
13
  .n("CodeCommitClient", "MergePullRequestByThreeWayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_MergePullRequestByThreeWayCommand)
20
- .de(de_MergePullRequestByThreeWayCommand)
14
+ .sc(MergePullRequestByThreeWay)
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_OverridePullRequestApprovalRulesCommand, se_OverridePullRequestApprovalRulesCommand, } from "../protocols/Aws_json1_1";
4
+ import { OverridePullRequestApprovalRules } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class OverridePullRequestApprovalRulesCommand 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("CodeCommit_20150413", "OverridePullRequestApprovalRules", {})
17
13
  .n("CodeCommitClient", "OverridePullRequestApprovalRulesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_OverridePullRequestApprovalRulesCommand)
20
- .de(de_OverridePullRequestApprovalRulesCommand)
14
+ .sc(OverridePullRequestApprovalRules)
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_PostCommentForComparedCommitCommand, se_PostCommentForComparedCommitCommand, } from "../protocols/Aws_json1_1";
4
+ import { PostCommentForComparedCommit } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PostCommentForComparedCommitCommand 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("CodeCommit_20150413", "PostCommentForComparedCommit", {})
17
13
  .n("CodeCommitClient", "PostCommentForComparedCommitCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PostCommentForComparedCommitCommand)
20
- .de(de_PostCommentForComparedCommitCommand)
14
+ .sc(PostCommentForComparedCommit)
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_PostCommentForPullRequestCommand, se_PostCommentForPullRequestCommand } from "../protocols/Aws_json1_1";
4
+ import { PostCommentForPullRequest } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PostCommentForPullRequestCommand 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("CodeCommit_20150413", "PostCommentForPullRequest", {})
17
13
  .n("CodeCommitClient", "PostCommentForPullRequestCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PostCommentForPullRequestCommand)
20
- .de(de_PostCommentForPullRequestCommand)
14
+ .sc(PostCommentForPullRequest)
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_PostCommentReplyCommand, se_PostCommentReplyCommand } from "../protocols/Aws_json1_1";
4
+ import { PostCommentReply } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PostCommentReplyCommand 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("CodeCommit_20150413", "PostCommentReply", {})
17
13
  .n("CodeCommitClient", "PostCommentReplyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PostCommentReplyCommand)
20
- .de(de_PostCommentReplyCommand)
14
+ .sc(PostCommentReply)
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_PutCommentReactionCommand, se_PutCommentReactionCommand } from "../protocols/Aws_json1_1";
4
+ import { PutCommentReaction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutCommentReactionCommand 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("CodeCommit_20150413", "PutCommentReaction", {})
17
13
  .n("CodeCommitClient", "PutCommentReactionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutCommentReactionCommand)
20
- .de(de_PutCommentReactionCommand)
14
+ .sc(PutCommentReaction)
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_PutFileCommand, se_PutFileCommand } from "../protocols/Aws_json1_1";
4
+ import { PutFile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutFileCommand 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("CodeCommit_20150413", "PutFile", {})
17
13
  .n("CodeCommitClient", "PutFileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutFileCommand)
20
- .de(de_PutFileCommand)
14
+ .sc(PutFile)
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_PutRepositoryTriggersCommand, se_PutRepositoryTriggersCommand } from "../protocols/Aws_json1_1";
4
+ import { PutRepositoryTriggers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutRepositoryTriggersCommand 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("CodeCommit_20150413", "PutRepositoryTriggers", {})
17
13
  .n("CodeCommitClient", "PutRepositoryTriggersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutRepositoryTriggersCommand)
20
- .de(de_PutRepositoryTriggersCommand)
14
+ .sc(PutRepositoryTriggers)
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_json1_1";
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("CodeCommit_20150413", "TagResource", {})
17
13
  .n("CodeCommitClient", "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_TestRepositoryTriggersCommand, se_TestRepositoryTriggersCommand } from "../protocols/Aws_json1_1";
4
+ import { TestRepositoryTriggers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TestRepositoryTriggersCommand 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("CodeCommit_20150413", "TestRepositoryTriggers", {})
17
13
  .n("CodeCommitClient", "TestRepositoryTriggersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TestRepositoryTriggersCommand)
20
- .de(de_TestRepositoryTriggersCommand)
14
+ .sc(TestRepositoryTriggers)
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_json1_1";
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("CodeCommit_20150413", "UntagResource", {})
17
13
  .n("CodeCommitClient", "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_UpdateApprovalRuleTemplateContentCommand, se_UpdateApprovalRuleTemplateContentCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateApprovalRuleTemplateContent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApprovalRuleTemplateContentCommand 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("CodeCommit_20150413", "UpdateApprovalRuleTemplateContent", {})
17
13
  .n("CodeCommitClient", "UpdateApprovalRuleTemplateContentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApprovalRuleTemplateContentCommand)
20
- .de(de_UpdateApprovalRuleTemplateContentCommand)
14
+ .sc(UpdateApprovalRuleTemplateContent)
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_UpdateApprovalRuleTemplateDescriptionCommand, se_UpdateApprovalRuleTemplateDescriptionCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateApprovalRuleTemplateDescription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApprovalRuleTemplateDescriptionCommand 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("CodeCommit_20150413", "UpdateApprovalRuleTemplateDescription", {})
17
13
  .n("CodeCommitClient", "UpdateApprovalRuleTemplateDescriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApprovalRuleTemplateDescriptionCommand)
20
- .de(de_UpdateApprovalRuleTemplateDescriptionCommand)
14
+ .sc(UpdateApprovalRuleTemplateDescription)
21
15
  .build() {
22
16
  }