@aws-sdk/client-codecommit 3.926.0 → 3.928.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.
- package/dist-cjs/index.js +4997 -5401
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CodeCommitClient.js +2 -0
- package/dist-es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +3 -9
- package/dist-es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +3 -9
- package/dist-es/commands/BatchDescribeMergeConflictsCommand.js +3 -9
- package/dist-es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +3 -9
- package/dist-es/commands/BatchGetCommitsCommand.js +3 -9
- package/dist-es/commands/BatchGetRepositoriesCommand.js +3 -9
- package/dist-es/commands/CreateApprovalRuleTemplateCommand.js +3 -9
- package/dist-es/commands/CreateBranchCommand.js +3 -9
- package/dist-es/commands/CreateCommitCommand.js +3 -9
- package/dist-es/commands/CreatePullRequestApprovalRuleCommand.js +3 -9
- package/dist-es/commands/CreatePullRequestCommand.js +3 -9
- package/dist-es/commands/CreateRepositoryCommand.js +3 -9
- package/dist-es/commands/CreateUnreferencedMergeCommitCommand.js +3 -9
- package/dist-es/commands/DeleteApprovalRuleTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteBranchCommand.js +3 -9
- package/dist-es/commands/DeleteCommentContentCommand.js +3 -9
- package/dist-es/commands/DeleteFileCommand.js +3 -9
- package/dist-es/commands/DeletePullRequestApprovalRuleCommand.js +3 -9
- package/dist-es/commands/DeleteRepositoryCommand.js +3 -9
- package/dist-es/commands/DescribeMergeConflictsCommand.js +3 -9
- package/dist-es/commands/DescribePullRequestEventsCommand.js +3 -9
- package/dist-es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +3 -9
- package/dist-es/commands/EvaluatePullRequestApprovalRulesCommand.js +3 -9
- package/dist-es/commands/GetApprovalRuleTemplateCommand.js +3 -9
- package/dist-es/commands/GetBlobCommand.js +3 -9
- package/dist-es/commands/GetBranchCommand.js +3 -9
- package/dist-es/commands/GetCommentCommand.js +3 -9
- package/dist-es/commands/GetCommentReactionsCommand.js +3 -9
- package/dist-es/commands/GetCommentsForComparedCommitCommand.js +3 -9
- package/dist-es/commands/GetCommentsForPullRequestCommand.js +3 -9
- package/dist-es/commands/GetCommitCommand.js +3 -9
- package/dist-es/commands/GetDifferencesCommand.js +3 -9
- package/dist-es/commands/GetFileCommand.js +3 -9
- package/dist-es/commands/GetFolderCommand.js +3 -9
- package/dist-es/commands/GetMergeCommitCommand.js +3 -9
- package/dist-es/commands/GetMergeConflictsCommand.js +3 -9
- package/dist-es/commands/GetMergeOptionsCommand.js +3 -9
- package/dist-es/commands/GetPullRequestApprovalStatesCommand.js +3 -9
- package/dist-es/commands/GetPullRequestCommand.js +3 -9
- package/dist-es/commands/GetPullRequestOverrideStateCommand.js +3 -9
- package/dist-es/commands/GetRepositoryCommand.js +3 -9
- package/dist-es/commands/GetRepositoryTriggersCommand.js +3 -9
- package/dist-es/commands/ListApprovalRuleTemplatesCommand.js +3 -9
- package/dist-es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +3 -9
- package/dist-es/commands/ListBranchesCommand.js +3 -9
- package/dist-es/commands/ListFileCommitHistoryCommand.js +3 -9
- package/dist-es/commands/ListPullRequestsCommand.js +3 -9
- package/dist-es/commands/ListRepositoriesCommand.js +3 -9
- package/dist-es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/MergeBranchesByFastForwardCommand.js +3 -9
- package/dist-es/commands/MergeBranchesBySquashCommand.js +3 -9
- package/dist-es/commands/MergeBranchesByThreeWayCommand.js +3 -9
- package/dist-es/commands/MergePullRequestByFastForwardCommand.js +3 -9
- package/dist-es/commands/MergePullRequestBySquashCommand.js +3 -9
- package/dist-es/commands/MergePullRequestByThreeWayCommand.js +3 -9
- package/dist-es/commands/OverridePullRequestApprovalRulesCommand.js +3 -9
- package/dist-es/commands/PostCommentForComparedCommitCommand.js +3 -9
- package/dist-es/commands/PostCommentForPullRequestCommand.js +3 -9
- package/dist-es/commands/PostCommentReplyCommand.js +3 -9
- package/dist-es/commands/PutCommentReactionCommand.js +3 -9
- package/dist-es/commands/PutFileCommand.js +3 -9
- package/dist-es/commands/PutRepositoryTriggersCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TestRepositoryTriggersCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateApprovalRuleTemplateContentCommand.js +3 -9
- package/dist-es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +3 -9
- package/dist-es/commands/UpdateApprovalRuleTemplateNameCommand.js +3 -9
- package/dist-es/commands/UpdateCommentCommand.js +3 -9
- package/dist-es/commands/UpdateDefaultBranchCommand.js +3 -9
- package/dist-es/commands/UpdatePullRequestApprovalRuleContentCommand.js +3 -9
- package/dist-es/commands/UpdatePullRequestApprovalStateCommand.js +3 -9
- package/dist-es/commands/UpdatePullRequestDescriptionCommand.js +3 -9
- package/dist-es/commands/UpdatePullRequestStatusCommand.js +3 -9
- package/dist-es/commands/UpdatePullRequestTitleCommand.js +3 -9
- package/dist-es/commands/UpdateRepositoryDescriptionCommand.js +3 -9
- package/dist-es/commands/UpdateRepositoryEncryptionKeyCommand.js +3 -9
- package/dist-es/commands/UpdateRepositoryNameCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +4289 -0
- package/dist-types/CodeCommitClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +528 -0
- package/dist-types/ts3.4/CodeCommitClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +533 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -4286
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -713
- 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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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,
|