@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
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.codecommit",
32
+ serviceTarget: "CodeCommit_20150413",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "CodeCommit",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class CodeCommitClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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_AssociateApprovalRuleTemplateWithRepositoryCommand, se_AssociateApprovalRuleTemplateWithRepositoryCommand, } from "../protocols/Aws_json1_1";
4
+ import { AssociateApprovalRuleTemplateWithRepository } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateApprovalRuleTemplateWithRepositoryCommand 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", "AssociateApprovalRuleTemplateWithRepository", {})
17
13
  .n("CodeCommitClient", "AssociateApprovalRuleTemplateWithRepositoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateApprovalRuleTemplateWithRepositoryCommand)
20
- .de(de_AssociateApprovalRuleTemplateWithRepositoryCommand)
14
+ .sc(AssociateApprovalRuleTemplateWithRepository)
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_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand, se_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand, } from "../protocols/Aws_json1_1";
4
+ import { BatchAssociateApprovalRuleTemplateWithRepositories } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchAssociateApprovalRuleTemplateWithRepositoriesCommand 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", "BatchAssociateApprovalRuleTemplateWithRepositories", {})
17
13
  .n("CodeCommitClient", "BatchAssociateApprovalRuleTemplateWithRepositoriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand)
20
- .de(de_BatchAssociateApprovalRuleTemplateWithRepositoriesCommand)
14
+ .sc(BatchAssociateApprovalRuleTemplateWithRepositories)
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_BatchDescribeMergeConflictsCommand, se_BatchDescribeMergeConflictsCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchDescribeMergeConflicts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchDescribeMergeConflictsCommand 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", "BatchDescribeMergeConflicts", {})
17
13
  .n("CodeCommitClient", "BatchDescribeMergeConflictsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchDescribeMergeConflictsCommand)
20
- .de(de_BatchDescribeMergeConflictsCommand)
14
+ .sc(BatchDescribeMergeConflicts)
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_BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand, se_BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand, } from "../protocols/Aws_json1_1";
4
+ import { BatchDisassociateApprovalRuleTemplateFromRepositories } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand 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", "BatchDisassociateApprovalRuleTemplateFromRepositories", {})
17
13
  .n("CodeCommitClient", "BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand)
20
- .de(de_BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand)
14
+ .sc(BatchDisassociateApprovalRuleTemplateFromRepositories)
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_BatchGetCommitsCommand, se_BatchGetCommitsCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetCommits } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetCommitsCommand 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", "BatchGetCommits", {})
17
13
  .n("CodeCommitClient", "BatchGetCommitsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetCommitsCommand)
20
- .de(de_BatchGetCommitsCommand)
14
+ .sc(BatchGetCommits)
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_BatchGetRepositoriesCommand, se_BatchGetRepositoriesCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetRepositories } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetRepositoriesCommand 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", "BatchGetRepositories", {})
17
13
  .n("CodeCommitClient", "BatchGetRepositoriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetRepositoriesCommand)
20
- .de(de_BatchGetRepositoriesCommand)
14
+ .sc(BatchGetRepositories)
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_CreateApprovalRuleTemplateCommand, se_CreateApprovalRuleTemplateCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateApprovalRuleTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateApprovalRuleTemplateCommand 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", "CreateApprovalRuleTemplate", {})
17
13
  .n("CodeCommitClient", "CreateApprovalRuleTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateApprovalRuleTemplateCommand)
20
- .de(de_CreateApprovalRuleTemplateCommand)
14
+ .sc(CreateApprovalRuleTemplate)
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_CreateBranchCommand, se_CreateBranchCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateBranch } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBranchCommand 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", "CreateBranch", {})
17
13
  .n("CodeCommitClient", "CreateBranchCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBranchCommand)
20
- .de(de_CreateBranchCommand)
14
+ .sc(CreateBranch)
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_CreateCommitCommand, se_CreateCommitCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateCommit } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCommitCommand 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", "CreateCommit", {})
17
13
  .n("CodeCommitClient", "CreateCommitCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCommitCommand)
20
- .de(de_CreateCommitCommand)
14
+ .sc(CreateCommit)
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_CreatePullRequestApprovalRuleCommand, se_CreatePullRequestApprovalRuleCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreatePullRequestApprovalRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePullRequestApprovalRuleCommand 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", "CreatePullRequestApprovalRule", {})
17
13
  .n("CodeCommitClient", "CreatePullRequestApprovalRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePullRequestApprovalRuleCommand)
20
- .de(de_CreatePullRequestApprovalRuleCommand)
14
+ .sc(CreatePullRequestApprovalRule)
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_CreatePullRequestCommand, se_CreatePullRequestCommand } from "../protocols/Aws_json1_1";
4
+ import { CreatePullRequest } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePullRequestCommand 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", "CreatePullRequest", {})
17
13
  .n("CodeCommitClient", "CreatePullRequestCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePullRequestCommand)
20
- .de(de_CreatePullRequestCommand)
14
+ .sc(CreatePullRequest)
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_CreateRepositoryCommand, se_CreateRepositoryCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateRepository } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRepositoryCommand 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", "CreateRepository", {})
17
13
  .n("CodeCommitClient", "CreateRepositoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRepositoryCommand)
20
- .de(de_CreateRepositoryCommand)
14
+ .sc(CreateRepository)
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_CreateUnreferencedMergeCommitCommand, se_CreateUnreferencedMergeCommitCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateUnreferencedMergeCommit } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateUnreferencedMergeCommitCommand 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", "CreateUnreferencedMergeCommit", {})
17
13
  .n("CodeCommitClient", "CreateUnreferencedMergeCommitCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateUnreferencedMergeCommitCommand)
20
- .de(de_CreateUnreferencedMergeCommitCommand)
14
+ .sc(CreateUnreferencedMergeCommit)
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_DeleteApprovalRuleTemplateCommand, se_DeleteApprovalRuleTemplateCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteApprovalRuleTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApprovalRuleTemplateCommand 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", "DeleteApprovalRuleTemplate", {})
17
13
  .n("CodeCommitClient", "DeleteApprovalRuleTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApprovalRuleTemplateCommand)
20
- .de(de_DeleteApprovalRuleTemplateCommand)
14
+ .sc(DeleteApprovalRuleTemplate)
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_DeleteBranchCommand, se_DeleteBranchCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteBranch } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBranchCommand 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", "DeleteBranch", {})
17
13
  .n("CodeCommitClient", "DeleteBranchCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBranchCommand)
20
- .de(de_DeleteBranchCommand)
14
+ .sc(DeleteBranch)
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_DeleteCommentContentCommand, se_DeleteCommentContentCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteCommentContent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCommentContentCommand 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", "DeleteCommentContent", {})
17
13
  .n("CodeCommitClient", "DeleteCommentContentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCommentContentCommand)
20
- .de(de_DeleteCommentContentCommand)
14
+ .sc(DeleteCommentContent)
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_DeleteFileCommand, se_DeleteFileCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteFile } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteFileCommand 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", "DeleteFile", {})
17
13
  .n("CodeCommitClient", "DeleteFileCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteFileCommand)
20
- .de(de_DeleteFileCommand)
14
+ .sc(DeleteFile)
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_DeletePullRequestApprovalRuleCommand, se_DeletePullRequestApprovalRuleCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeletePullRequestApprovalRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePullRequestApprovalRuleCommand 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", "DeletePullRequestApprovalRule", {})
17
13
  .n("CodeCommitClient", "DeletePullRequestApprovalRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePullRequestApprovalRuleCommand)
20
- .de(de_DeletePullRequestApprovalRuleCommand)
14
+ .sc(DeletePullRequestApprovalRule)
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_DeleteRepositoryCommand, se_DeleteRepositoryCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteRepository } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRepositoryCommand 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", "DeleteRepository", {})
17
13
  .n("CodeCommitClient", "DeleteRepositoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRepositoryCommand)
20
- .de(de_DeleteRepositoryCommand)
14
+ .sc(DeleteRepository)
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_DescribeMergeConflictsCommand, se_DescribeMergeConflictsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeMergeConflicts } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeMergeConflictsCommand 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", "DescribeMergeConflicts", {})
17
13
  .n("CodeCommitClient", "DescribeMergeConflictsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeMergeConflictsCommand)
20
- .de(de_DescribeMergeConflictsCommand)
14
+ .sc(DescribeMergeConflicts)
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_DescribePullRequestEventsCommand, se_DescribePullRequestEventsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribePullRequestEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribePullRequestEventsCommand 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", "DescribePullRequestEvents", {})
17
13
  .n("CodeCommitClient", "DescribePullRequestEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribePullRequestEventsCommand)
20
- .de(de_DescribePullRequestEventsCommand)
14
+ .sc(DescribePullRequestEvents)
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_DisassociateApprovalRuleTemplateFromRepositoryCommand, se_DisassociateApprovalRuleTemplateFromRepositoryCommand, } from "../protocols/Aws_json1_1";
4
+ import { DisassociateApprovalRuleTemplateFromRepository } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateApprovalRuleTemplateFromRepositoryCommand 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", "DisassociateApprovalRuleTemplateFromRepository", {})
17
13
  .n("CodeCommitClient", "DisassociateApprovalRuleTemplateFromRepositoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateApprovalRuleTemplateFromRepositoryCommand)
20
- .de(de_DisassociateApprovalRuleTemplateFromRepositoryCommand)
14
+ .sc(DisassociateApprovalRuleTemplateFromRepository)
21
15
  .build() {
22
16
  }