@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
|
@@ -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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
19
|
-
.ser(se_DisassociateApprovalRuleTemplateFromRepositoryCommand)
|
|
20
|
-
.de(de_DisassociateApprovalRuleTemplateFromRepositoryCommand)
|
|
14
|
+
.sc(DisassociateApprovalRuleTemplateFromRepository)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|