@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_UpdateApprovalRuleTemplateNameCommand, se_UpdateApprovalRuleTemplateNameCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateApprovalRuleTemplateName } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApprovalRuleTemplateNameCommand 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", "UpdateApprovalRuleTemplateName", {})
17
13
  .n("CodeCommitClient", "UpdateApprovalRuleTemplateNameCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApprovalRuleTemplateNameCommand)
20
- .de(de_UpdateApprovalRuleTemplateNameCommand)
14
+ .sc(UpdateApprovalRuleTemplateName)
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_UpdateCommentCommand, se_UpdateCommentCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateComment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateCommentCommand 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", "UpdateComment", {})
17
13
  .n("CodeCommitClient", "UpdateCommentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateCommentCommand)
20
- .de(de_UpdateCommentCommand)
14
+ .sc(UpdateComment)
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_UpdateDefaultBranchCommand, se_UpdateDefaultBranchCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateDefaultBranch } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDefaultBranchCommand 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", "UpdateDefaultBranch", {})
17
13
  .n("CodeCommitClient", "UpdateDefaultBranchCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDefaultBranchCommand)
20
- .de(de_UpdateDefaultBranchCommand)
14
+ .sc(UpdateDefaultBranch)
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_UpdatePullRequestApprovalRuleContentCommand, se_UpdatePullRequestApprovalRuleContentCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdatePullRequestApprovalRuleContent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePullRequestApprovalRuleContentCommand 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", "UpdatePullRequestApprovalRuleContent", {})
17
13
  .n("CodeCommitClient", "UpdatePullRequestApprovalRuleContentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePullRequestApprovalRuleContentCommand)
20
- .de(de_UpdatePullRequestApprovalRuleContentCommand)
14
+ .sc(UpdatePullRequestApprovalRuleContent)
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_UpdatePullRequestApprovalStateCommand, se_UpdatePullRequestApprovalStateCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdatePullRequestApprovalState } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePullRequestApprovalStateCommand 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", "UpdatePullRequestApprovalState", {})
17
13
  .n("CodeCommitClient", "UpdatePullRequestApprovalStateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePullRequestApprovalStateCommand)
20
- .de(de_UpdatePullRequestApprovalStateCommand)
14
+ .sc(UpdatePullRequestApprovalState)
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_UpdatePullRequestDescriptionCommand, se_UpdatePullRequestDescriptionCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdatePullRequestDescription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePullRequestDescriptionCommand 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", "UpdatePullRequestDescription", {})
17
13
  .n("CodeCommitClient", "UpdatePullRequestDescriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePullRequestDescriptionCommand)
20
- .de(de_UpdatePullRequestDescriptionCommand)
14
+ .sc(UpdatePullRequestDescription)
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_UpdatePullRequestStatusCommand, se_UpdatePullRequestStatusCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdatePullRequestStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePullRequestStatusCommand 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", "UpdatePullRequestStatus", {})
17
13
  .n("CodeCommitClient", "UpdatePullRequestStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePullRequestStatusCommand)
20
- .de(de_UpdatePullRequestStatusCommand)
14
+ .sc(UpdatePullRequestStatus)
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_UpdatePullRequestTitleCommand, se_UpdatePullRequestTitleCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdatePullRequestTitle } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePullRequestTitleCommand 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", "UpdatePullRequestTitle", {})
17
13
  .n("CodeCommitClient", "UpdatePullRequestTitleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePullRequestTitleCommand)
20
- .de(de_UpdatePullRequestTitleCommand)
14
+ .sc(UpdatePullRequestTitle)
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_UpdateRepositoryDescriptionCommand, se_UpdateRepositoryDescriptionCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateRepositoryDescription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRepositoryDescriptionCommand 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", "UpdateRepositoryDescription", {})
17
13
  .n("CodeCommitClient", "UpdateRepositoryDescriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRepositoryDescriptionCommand)
20
- .de(de_UpdateRepositoryDescriptionCommand)
14
+ .sc(UpdateRepositoryDescription)
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_UpdateRepositoryEncryptionKeyCommand, se_UpdateRepositoryEncryptionKeyCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateRepositoryEncryptionKey } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRepositoryEncryptionKeyCommand 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", "UpdateRepositoryEncryptionKey", {})
17
13
  .n("CodeCommitClient", "UpdateRepositoryEncryptionKeyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRepositoryEncryptionKeyCommand)
20
- .de(de_UpdateRepositoryEncryptionKeyCommand)
14
+ .sc(UpdateRepositoryEncryptionKey)
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_UpdateRepositoryNameCommand, se_UpdateRepositoryNameCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateRepositoryName } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRepositoryNameCommand 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", "UpdateRepositoryName", {})
17
13
  .n("CodeCommitClient", "UpdateRepositoryNameCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRepositoryNameCommand)
20
- .de(de_UpdateRepositoryNameCommand)
14
+ .sc(UpdateRepositoryName)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } 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,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.codecommit",
29
+ serviceTarget: "CodeCommit_20150413",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "CodeCommit",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,