@aws-sdk/client-codecommit 3.300.0 → 3.303.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/models/models_0.js +70 -83
- package/dist-cjs/models/models_1.js +8 -10
- package/dist-es/models/models_0.js +70 -83
- package/dist-es/models/models_1.js +8 -10
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +2 -2
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +2 -2
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateBranchCommand.d.ts +1 -1
- package/dist-types/commands/CreateCommitCommand.d.ts +8 -8
- package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreatePullRequestCommand.d.ts +3 -3
- package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -2
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +8 -8
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBranchCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCommentContentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFileCommand.d.ts +1 -1
- package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +1 -1
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +1 -1
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetBlobCommand.d.ts +1 -1
- package/dist-types/commands/GetBranchCommand.d.ts +1 -1
- package/dist-types/commands/GetCommentCommand.d.ts +1 -1
- package/dist-types/commands/GetCommentReactionsCommand.d.ts +1 -1
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +1 -1
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +1 -1
- package/dist-types/commands/GetCommitCommand.d.ts +1 -1
- package/dist-types/commands/GetDifferencesCommand.d.ts +1 -1
- package/dist-types/commands/GetFileCommand.d.ts +1 -1
- package/dist-types/commands/GetFolderCommand.d.ts +1 -1
- package/dist-types/commands/GetMergeCommitCommand.d.ts +1 -1
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +1 -1
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +1 -1
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +1 -1
- package/dist-types/commands/GetPullRequestCommand.d.ts +1 -1
- package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +1 -1
- package/dist-types/commands/GetRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +1 -1
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/ListBranchesCommand.d.ts +1 -1
- package/dist-types/commands/ListPullRequestsCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +8 -8
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +8 -8
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +8 -8
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +8 -8
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +2 -2
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +2 -2
- package/dist-types/commands/PostCommentReplyCommand.d.ts +1 -1
- package/dist-types/commands/PutCommentReactionCommand.d.ts +1 -1
- package/dist-types/commands/PutFileCommand.d.ts +1 -1
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +5 -5
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +5 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +135 -70
- package/dist-types/models/models_1.d.ts +18 -8
- package/dist-types/ts3.4/models/models_0.d.ts +95 -70
- package/dist-types/ts3.4/models/models_1.d.ts +10 -8
- package/package.json +34 -34
|
@@ -27,7 +27,7 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
|
|
|
27
27
|
* import { CodeCommitClient, MergePullRequestByThreeWayCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
28
28
|
* // const { CodeCommitClient, MergePullRequestByThreeWayCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
29
29
|
* const client = new CodeCommitClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // MergePullRequestByThreeWayInput
|
|
31
31
|
* pullRequestId: "STRING_VALUE", // required
|
|
32
32
|
* repositoryName: "STRING_VALUE", // required
|
|
33
33
|
* sourceCommitId: "STRING_VALUE",
|
|
@@ -37,22 +37,22 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
|
|
|
37
37
|
* authorName: "STRING_VALUE",
|
|
38
38
|
* email: "STRING_VALUE",
|
|
39
39
|
* keepEmptyFolders: true || false,
|
|
40
|
-
* conflictResolution: {
|
|
41
|
-
* replaceContents: [
|
|
42
|
-
* {
|
|
40
|
+
* conflictResolution: { // ConflictResolution
|
|
41
|
+
* replaceContents: [ // ReplaceContentEntries
|
|
42
|
+
* { // ReplaceContentEntry
|
|
43
43
|
* filePath: "STRING_VALUE", // required
|
|
44
44
|
* replacementType: "STRING_VALUE", // required
|
|
45
45
|
* content: "BLOB_VALUE",
|
|
46
46
|
* fileMode: "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
48
|
* ],
|
|
49
|
-
* deleteFiles: [
|
|
50
|
-
* {
|
|
49
|
+
* deleteFiles: [ // DeleteFileEntries
|
|
50
|
+
* { // DeleteFileEntry
|
|
51
51
|
* filePath: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
53
|
* ],
|
|
54
|
-
* setFileModes: [
|
|
55
|
-
* {
|
|
54
|
+
* setFileModes: [ // SetFileModeEntries
|
|
55
|
+
* { // SetFileModeEntry
|
|
56
56
|
* filePath: "STRING_VALUE", // required
|
|
57
57
|
* fileMode: "STRING_VALUE", // required
|
|
58
58
|
* },
|
|
@@ -26,7 +26,7 @@ export interface OverridePullRequestApprovalRulesCommandOutput extends __Metadat
|
|
|
26
26
|
* import { CodeCommitClient, OverridePullRequestApprovalRulesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, OverridePullRequestApprovalRulesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // OverridePullRequestApprovalRulesInput
|
|
30
30
|
* pullRequestId: "STRING_VALUE", // required
|
|
31
31
|
* revisionId: "STRING_VALUE", // required
|
|
32
32
|
* overrideStatus: "STRING_VALUE", // required
|
|
@@ -26,11 +26,11 @@ export interface PostCommentForComparedCommitCommandOutput extends PostCommentFo
|
|
|
26
26
|
* import { CodeCommitClient, PostCommentForComparedCommitCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, PostCommentForComparedCommitCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // PostCommentForComparedCommitInput
|
|
30
30
|
* repositoryName: "STRING_VALUE", // required
|
|
31
31
|
* beforeCommitId: "STRING_VALUE",
|
|
32
32
|
* afterCommitId: "STRING_VALUE", // required
|
|
33
|
-
* location: {
|
|
33
|
+
* location: { // Location
|
|
34
34
|
* filePath: "STRING_VALUE",
|
|
35
35
|
* filePosition: Number("long"),
|
|
36
36
|
* relativeFileVersion: "STRING_VALUE",
|
|
@@ -26,12 +26,12 @@ export interface PostCommentForPullRequestCommandOutput extends PostCommentForPu
|
|
|
26
26
|
* import { CodeCommitClient, PostCommentForPullRequestCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, PostCommentForPullRequestCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // PostCommentForPullRequestInput
|
|
30
30
|
* pullRequestId: "STRING_VALUE", // required
|
|
31
31
|
* repositoryName: "STRING_VALUE", // required
|
|
32
32
|
* beforeCommitId: "STRING_VALUE", // required
|
|
33
33
|
* afterCommitId: "STRING_VALUE", // required
|
|
34
|
-
* location: {
|
|
34
|
+
* location: { // Location
|
|
35
35
|
* filePath: "STRING_VALUE",
|
|
36
36
|
* filePosition: Number("long"),
|
|
37
37
|
* relativeFileVersion: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface PostCommentReplyCommandOutput extends PostCommentReplyOutput, _
|
|
|
26
26
|
* import { CodeCommitClient, PostCommentReplyCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, PostCommentReplyCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // PostCommentReplyInput
|
|
30
30
|
* inReplyTo: "STRING_VALUE", // required
|
|
31
31
|
* clientRequestToken: "STRING_VALUE",
|
|
32
32
|
* content: "STRING_VALUE", // required
|
|
@@ -27,7 +27,7 @@ export interface PutCommentReactionCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { CodeCommitClient, PutCommentReactionCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
28
28
|
* // const { CodeCommitClient, PutCommentReactionCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
29
29
|
* const client = new CodeCommitClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // PutCommentReactionInput
|
|
31
31
|
* commentId: "STRING_VALUE", // required
|
|
32
32
|
* reactionValue: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -26,7 +26,7 @@ export interface PutFileCommandOutput extends PutFileOutput, __MetadataBearer {
|
|
|
26
26
|
* import { CodeCommitClient, PutFileCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, PutFileCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // PutFileInput
|
|
30
30
|
* repositoryName: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* fileContent: "BLOB_VALUE", // required
|
|
@@ -26,17 +26,17 @@ export interface PutRepositoryTriggersCommandOutput extends PutRepositoryTrigger
|
|
|
26
26
|
* import { CodeCommitClient, PutRepositoryTriggersCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, PutRepositoryTriggersCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // PutRepositoryTriggersInput
|
|
30
30
|
* repositoryName: "STRING_VALUE", // required
|
|
31
|
-
* triggers: [ // required
|
|
32
|
-
* {
|
|
31
|
+
* triggers: [ // RepositoryTriggersList // required
|
|
32
|
+
* { // RepositoryTrigger
|
|
33
33
|
* name: "STRING_VALUE", // required
|
|
34
34
|
* destinationArn: "STRING_VALUE", // required
|
|
35
35
|
* customData: "STRING_VALUE",
|
|
36
|
-
* branches: [
|
|
36
|
+
* branches: [ // BranchNameList
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
|
-
* events: [ // required
|
|
39
|
+
* events: [ // RepositoryTriggerEventList // required
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* },
|
|
@@ -28,9 +28,9 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { CodeCommitClient, TagResourceCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
29
29
|
* // const { CodeCommitClient, TagResourceCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
30
30
|
* const client = new CodeCommitClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // TagResourceInput
|
|
32
32
|
* resourceArn: "STRING_VALUE", // required
|
|
33
|
-
* tags: { // required
|
|
33
|
+
* tags: { // TagsMap // required
|
|
34
34
|
* "<keys>": "STRING_VALUE",
|
|
35
35
|
* },
|
|
36
36
|
* };
|
|
@@ -28,17 +28,17 @@ export interface TestRepositoryTriggersCommandOutput extends TestRepositoryTrigg
|
|
|
28
28
|
* import { CodeCommitClient, TestRepositoryTriggersCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
29
29
|
* // const { CodeCommitClient, TestRepositoryTriggersCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
30
30
|
* const client = new CodeCommitClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // TestRepositoryTriggersInput
|
|
32
32
|
* repositoryName: "STRING_VALUE", // required
|
|
33
|
-
* triggers: [ // required
|
|
34
|
-
* {
|
|
33
|
+
* triggers: [ // RepositoryTriggersList // required
|
|
34
|
+
* { // RepositoryTrigger
|
|
35
35
|
* name: "STRING_VALUE", // required
|
|
36
36
|
* destinationArn: "STRING_VALUE", // required
|
|
37
37
|
* customData: "STRING_VALUE",
|
|
38
|
-
* branches: [
|
|
38
|
+
* branches: [ // BranchNameList
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
|
-
* events: [ // required
|
|
41
|
+
* events: [ // RepositoryTriggerEventList // required
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* },
|
|
@@ -28,9 +28,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { CodeCommitClient, UntagResourceCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
29
29
|
* // const { CodeCommitClient, UntagResourceCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
30
30
|
* const client = new CodeCommitClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // UntagResourceInput
|
|
32
32
|
* resourceArn: "STRING_VALUE", // required
|
|
33
|
-
* tagKeys: [ // required
|
|
33
|
+
* tagKeys: [ // TagKeysList // required
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* };
|
|
@@ -28,7 +28,7 @@ export interface UpdateApprovalRuleTemplateContentCommandOutput extends UpdateAp
|
|
|
28
28
|
* import { CodeCommitClient, UpdateApprovalRuleTemplateContentCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
29
29
|
* // const { CodeCommitClient, UpdateApprovalRuleTemplateContentCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
30
30
|
* const client = new CodeCommitClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // UpdateApprovalRuleTemplateContentInput
|
|
32
32
|
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
33
33
|
* newRuleContent: "STRING_VALUE", // required
|
|
34
34
|
* existingRuleContentSha256: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface UpdateApprovalRuleTemplateDescriptionCommandOutput extends Upda
|
|
|
26
26
|
* import { CodeCommitClient, UpdateApprovalRuleTemplateDescriptionCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, UpdateApprovalRuleTemplateDescriptionCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateApprovalRuleTemplateDescriptionInput
|
|
30
30
|
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
31
31
|
* approvalRuleTemplateDescription: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface UpdateApprovalRuleTemplateNameCommandOutput extends UpdateAppro
|
|
|
26
26
|
* import { CodeCommitClient, UpdateApprovalRuleTemplateNameCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, UpdateApprovalRuleTemplateNameCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateApprovalRuleTemplateNameInput
|
|
30
30
|
* oldApprovalRuleTemplateName: "STRING_VALUE", // required
|
|
31
31
|
* newApprovalRuleTemplateName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface UpdateCommentCommandOutput extends UpdateCommentOutput, __Metad
|
|
|
26
26
|
* import { CodeCommitClient, UpdateCommentCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, UpdateCommentCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateCommentInput
|
|
30
30
|
* commentId: "STRING_VALUE", // required
|
|
31
31
|
* content: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -29,7 +29,7 @@ export interface UpdateDefaultBranchCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { CodeCommitClient, UpdateDefaultBranchCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
30
30
|
* // const { CodeCommitClient, UpdateDefaultBranchCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
31
31
|
* const client = new CodeCommitClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // UpdateDefaultBranchInput
|
|
33
33
|
* repositoryName: "STRING_VALUE", // required
|
|
34
34
|
* defaultBranchName: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
@@ -27,7 +27,7 @@ export interface UpdatePullRequestApprovalRuleContentCommandOutput extends Updat
|
|
|
27
27
|
* import { CodeCommitClient, UpdatePullRequestApprovalRuleContentCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
28
28
|
* // const { CodeCommitClient, UpdatePullRequestApprovalRuleContentCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
29
29
|
* const client = new CodeCommitClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UpdatePullRequestApprovalRuleContentInput
|
|
31
31
|
* pullRequestId: "STRING_VALUE", // required
|
|
32
32
|
* approvalRuleName: "STRING_VALUE", // required
|
|
33
33
|
* existingRuleContentSha256: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface UpdatePullRequestApprovalStateCommandOutput extends __MetadataB
|
|
|
26
26
|
* import { CodeCommitClient, UpdatePullRequestApprovalStateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, UpdatePullRequestApprovalStateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdatePullRequestApprovalStateInput
|
|
30
30
|
* pullRequestId: "STRING_VALUE", // required
|
|
31
31
|
* revisionId: "STRING_VALUE", // required
|
|
32
32
|
* approvalState: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface UpdatePullRequestDescriptionCommandOutput extends UpdatePullReq
|
|
|
26
26
|
* import { CodeCommitClient, UpdatePullRequestDescriptionCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, UpdatePullRequestDescriptionCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdatePullRequestDescriptionInput
|
|
30
30
|
* pullRequestId: "STRING_VALUE", // required
|
|
31
31
|
* description: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface UpdatePullRequestStatusCommandOutput extends UpdatePullRequestS
|
|
|
26
26
|
* import { CodeCommitClient, UpdatePullRequestStatusCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, UpdatePullRequestStatusCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdatePullRequestStatusInput
|
|
30
30
|
* pullRequestId: "STRING_VALUE", // required
|
|
31
31
|
* pullRequestStatus: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface UpdatePullRequestTitleCommandOutput extends UpdatePullRequestTi
|
|
|
26
26
|
* import { CodeCommitClient, UpdatePullRequestTitleCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, UpdatePullRequestTitleCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdatePullRequestTitleInput
|
|
30
30
|
* pullRequestId: "STRING_VALUE", // required
|
|
31
31
|
* title: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -33,7 +33,7 @@ export interface UpdateRepositoryDescriptionCommandOutput extends __MetadataBear
|
|
|
33
33
|
* import { CodeCommitClient, UpdateRepositoryDescriptionCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
34
34
|
* // const { CodeCommitClient, UpdateRepositoryDescriptionCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
35
35
|
* const client = new CodeCommitClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // UpdateRepositoryDescriptionInput
|
|
37
37
|
* repositoryName: "STRING_VALUE", // required
|
|
38
38
|
* repositoryDescription: "STRING_VALUE",
|
|
39
39
|
* };
|
|
@@ -30,7 +30,7 @@ export interface UpdateRepositoryNameCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* import { CodeCommitClient, UpdateRepositoryNameCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
31
31
|
* // const { CodeCommitClient, UpdateRepositoryNameCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
32
32
|
* const client = new CodeCommitClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // UpdateRepositoryNameInput
|
|
34
34
|
* oldName: "STRING_VALUE", // required
|
|
35
35
|
* newName: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
@@ -14,11 +14,16 @@ export declare class ActorDoesNotExistException extends __BaseException {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* @public
|
|
17
|
+
* @enum
|
|
17
18
|
*/
|
|
18
|
-
export declare
|
|
19
|
-
APPROVE
|
|
20
|
-
REVOKE
|
|
21
|
-
}
|
|
19
|
+
export declare const ApprovalState: {
|
|
20
|
+
readonly APPROVE: "APPROVE";
|
|
21
|
+
readonly REVOKE: "REVOKE";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type ApprovalState = (typeof ApprovalState)[keyof typeof ApprovalState];
|
|
22
27
|
/**
|
|
23
28
|
* @public
|
|
24
29
|
* <p>Returns information about a specific approval on a pull request.</p>
|
|
@@ -154,11 +159,16 @@ export declare class ApprovalRuleNameRequiredException extends __BaseException {
|
|
|
154
159
|
}
|
|
155
160
|
/**
|
|
156
161
|
* @public
|
|
162
|
+
* @enum
|
|
157
163
|
*/
|
|
158
|
-
export declare
|
|
159
|
-
OVERRIDE
|
|
160
|
-
REVOKE
|
|
161
|
-
}
|
|
164
|
+
export declare const OverrideStatus: {
|
|
165
|
+
readonly OVERRIDE: "OVERRIDE";
|
|
166
|
+
readonly REVOKE: "REVOKE";
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export type OverrideStatus = (typeof OverrideStatus)[keyof typeof OverrideStatus];
|
|
162
172
|
/**
|
|
163
173
|
* @public
|
|
164
174
|
* <p>Returns information about an override event for approval rules for a pull request.</p>
|
|
@@ -529,28 +539,43 @@ export declare class RepositoryNamesRequiredException extends __BaseException {
|
|
|
529
539
|
}
|
|
530
540
|
/**
|
|
531
541
|
* @public
|
|
542
|
+
* @enum
|
|
532
543
|
*/
|
|
533
|
-
export declare
|
|
534
|
-
FILE_LEVEL
|
|
535
|
-
LINE_LEVEL
|
|
536
|
-
}
|
|
544
|
+
export declare const ConflictDetailLevelTypeEnum: {
|
|
545
|
+
readonly FILE_LEVEL: "FILE_LEVEL";
|
|
546
|
+
readonly LINE_LEVEL: "LINE_LEVEL";
|
|
547
|
+
};
|
|
537
548
|
/**
|
|
538
549
|
* @public
|
|
539
550
|
*/
|
|
540
|
-
export
|
|
541
|
-
ACCEPT_DESTINATION = "ACCEPT_DESTINATION",
|
|
542
|
-
ACCEPT_SOURCE = "ACCEPT_SOURCE",
|
|
543
|
-
AUTOMERGE = "AUTOMERGE",
|
|
544
|
-
NONE = "NONE"
|
|
545
|
-
}
|
|
551
|
+
export type ConflictDetailLevelTypeEnum = (typeof ConflictDetailLevelTypeEnum)[keyof typeof ConflictDetailLevelTypeEnum];
|
|
546
552
|
/**
|
|
547
553
|
* @public
|
|
554
|
+
* @enum
|
|
548
555
|
*/
|
|
549
|
-
export declare
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
556
|
+
export declare const ConflictResolutionStrategyTypeEnum: {
|
|
557
|
+
readonly ACCEPT_DESTINATION: "ACCEPT_DESTINATION";
|
|
558
|
+
readonly ACCEPT_SOURCE: "ACCEPT_SOURCE";
|
|
559
|
+
readonly AUTOMERGE: "AUTOMERGE";
|
|
560
|
+
readonly NONE: "NONE";
|
|
561
|
+
};
|
|
562
|
+
/**
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
export type ConflictResolutionStrategyTypeEnum = (typeof ConflictResolutionStrategyTypeEnum)[keyof typeof ConflictResolutionStrategyTypeEnum];
|
|
566
|
+
/**
|
|
567
|
+
* @public
|
|
568
|
+
* @enum
|
|
569
|
+
*/
|
|
570
|
+
export declare const MergeOptionTypeEnum: {
|
|
571
|
+
readonly FAST_FORWARD_MERGE: "FAST_FORWARD_MERGE";
|
|
572
|
+
readonly SQUASH_MERGE: "SQUASH_MERGE";
|
|
573
|
+
readonly THREE_WAY_MERGE: "THREE_WAY_MERGE";
|
|
574
|
+
};
|
|
575
|
+
/**
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
export type MergeOptionTypeEnum = (typeof MergeOptionTypeEnum)[keyof typeof MergeOptionTypeEnum];
|
|
554
579
|
/**
|
|
555
580
|
* @public
|
|
556
581
|
*/
|
|
@@ -606,12 +631,17 @@ export interface BatchDescribeMergeConflictsInput {
|
|
|
606
631
|
}
|
|
607
632
|
/**
|
|
608
633
|
* @public
|
|
634
|
+
* @enum
|
|
609
635
|
*/
|
|
610
|
-
export declare
|
|
611
|
-
EXECUTABLE
|
|
612
|
-
NORMAL
|
|
613
|
-
SYMLINK
|
|
614
|
-
}
|
|
636
|
+
export declare const FileModeTypeEnum: {
|
|
637
|
+
readonly EXECUTABLE: "EXECUTABLE";
|
|
638
|
+
readonly NORMAL: "NORMAL";
|
|
639
|
+
readonly SYMLINK: "SYMLINK";
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* @public
|
|
643
|
+
*/
|
|
644
|
+
export type FileModeTypeEnum = (typeof FileModeTypeEnum)[keyof typeof FileModeTypeEnum];
|
|
615
645
|
/**
|
|
616
646
|
* @public
|
|
617
647
|
* <p>Information about file modes in a merge or pull request.</p>
|
|
@@ -668,12 +698,17 @@ export interface IsBinaryFile {
|
|
|
668
698
|
}
|
|
669
699
|
/**
|
|
670
700
|
* @public
|
|
701
|
+
* @enum
|
|
671
702
|
*/
|
|
672
|
-
export declare
|
|
673
|
-
ADDED
|
|
674
|
-
DELETED
|
|
675
|
-
MODIFIED
|
|
676
|
-
}
|
|
703
|
+
export declare const ChangeTypeEnum: {
|
|
704
|
+
readonly ADDED: "A";
|
|
705
|
+
readonly DELETED: "D";
|
|
706
|
+
readonly MODIFIED: "M";
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
export type ChangeTypeEnum = (typeof ChangeTypeEnum)[keyof typeof ChangeTypeEnum];
|
|
677
712
|
/**
|
|
678
713
|
* @public
|
|
679
714
|
* <p>Information about the file operation conflicts in a merge operation.</p>
|
|
@@ -691,13 +726,18 @@ export interface MergeOperations {
|
|
|
691
726
|
}
|
|
692
727
|
/**
|
|
693
728
|
* @public
|
|
729
|
+
* @enum
|
|
694
730
|
*/
|
|
695
|
-
export declare
|
|
696
|
-
DIRECTORY
|
|
697
|
-
FILE
|
|
698
|
-
GIT_LINK
|
|
699
|
-
SYMBOLIC_LINK
|
|
700
|
-
}
|
|
731
|
+
export declare const ObjectTypeEnum: {
|
|
732
|
+
readonly DIRECTORY: "DIRECTORY";
|
|
733
|
+
readonly FILE: "FILE";
|
|
734
|
+
readonly GIT_LINK: "GIT_LINK";
|
|
735
|
+
readonly SYMBOLIC_LINK: "SYMBOLIC_LINK";
|
|
736
|
+
};
|
|
737
|
+
/**
|
|
738
|
+
* @public
|
|
739
|
+
*/
|
|
740
|
+
export type ObjectTypeEnum = (typeof ObjectTypeEnum)[keyof typeof ObjectTypeEnum];
|
|
701
741
|
/**
|
|
702
742
|
* @public
|
|
703
743
|
* <p>Information about the type of an object in a merge operation.</p>
|
|
@@ -2162,11 +2202,16 @@ export interface CreatePullRequestInput {
|
|
|
2162
2202
|
}
|
|
2163
2203
|
/**
|
|
2164
2204
|
* @public
|
|
2205
|
+
* @enum
|
|
2165
2206
|
*/
|
|
2166
|
-
export declare
|
|
2167
|
-
CLOSED
|
|
2168
|
-
OPEN
|
|
2169
|
-
}
|
|
2207
|
+
export declare const PullRequestStatusEnum: {
|
|
2208
|
+
readonly CLOSED: "CLOSED";
|
|
2209
|
+
readonly OPEN: "OPEN";
|
|
2210
|
+
};
|
|
2211
|
+
/**
|
|
2212
|
+
* @public
|
|
2213
|
+
*/
|
|
2214
|
+
export type PullRequestStatusEnum = (typeof PullRequestStatusEnum)[keyof typeof PullRequestStatusEnum];
|
|
2170
2215
|
/**
|
|
2171
2216
|
* @public
|
|
2172
2217
|
* <p>Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.</p>
|
|
@@ -2780,13 +2825,18 @@ export declare class ConcurrentReferenceUpdateException extends __BaseException
|
|
|
2780
2825
|
}
|
|
2781
2826
|
/**
|
|
2782
2827
|
* @public
|
|
2828
|
+
* @enum
|
|
2783
2829
|
*/
|
|
2784
|
-
export declare
|
|
2785
|
-
KEEP_BASE
|
|
2786
|
-
KEEP_DESTINATION
|
|
2787
|
-
KEEP_SOURCE
|
|
2788
|
-
USE_NEW_CONTENT
|
|
2789
|
-
}
|
|
2830
|
+
export declare const ReplacementTypeEnum: {
|
|
2831
|
+
readonly KEEP_BASE: "KEEP_BASE";
|
|
2832
|
+
readonly KEEP_DESTINATION: "KEEP_DESTINATION";
|
|
2833
|
+
readonly KEEP_SOURCE: "KEEP_SOURCE";
|
|
2834
|
+
readonly USE_NEW_CONTENT: "USE_NEW_CONTENT";
|
|
2835
|
+
};
|
|
2836
|
+
/**
|
|
2837
|
+
* @public
|
|
2838
|
+
*/
|
|
2839
|
+
export type ReplacementTypeEnum = (typeof ReplacementTypeEnum)[keyof typeof ReplacementTypeEnum];
|
|
2790
2840
|
/**
|
|
2791
2841
|
* @public
|
|
2792
2842
|
* <p>Information about a replacement content entry in the conflict of a merge or pull request operation.</p>
|
|
@@ -3365,18 +3415,23 @@ export interface DescribeMergeConflictsOutput {
|
|
|
3365
3415
|
}
|
|
3366
3416
|
/**
|
|
3367
3417
|
* @public
|
|
3418
|
+
* @enum
|
|
3368
3419
|
*/
|
|
3369
|
-
export declare
|
|
3370
|
-
PULL_REQUEST_APPROVAL_RULE_CREATED
|
|
3371
|
-
PULL_REQUEST_APPROVAL_RULE_DELETED
|
|
3372
|
-
PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN
|
|
3373
|
-
PULL_REQUEST_APPROVAL_RULE_UPDATED
|
|
3374
|
-
PULL_REQUEST_APPROVAL_STATE_CHANGED
|
|
3375
|
-
PULL_REQUEST_CREATED
|
|
3376
|
-
PULL_REQUEST_MERGE_STATE_CHANGED
|
|
3377
|
-
PULL_REQUEST_SOURCE_REFERENCE_UPDATED
|
|
3378
|
-
PULL_REQUEST_STATUS_CHANGED
|
|
3379
|
-
}
|
|
3420
|
+
export declare const PullRequestEventType: {
|
|
3421
|
+
readonly PULL_REQUEST_APPROVAL_RULE_CREATED: "PULL_REQUEST_APPROVAL_RULE_CREATED";
|
|
3422
|
+
readonly PULL_REQUEST_APPROVAL_RULE_DELETED: "PULL_REQUEST_APPROVAL_RULE_DELETED";
|
|
3423
|
+
readonly PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN: "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN";
|
|
3424
|
+
readonly PULL_REQUEST_APPROVAL_RULE_UPDATED: "PULL_REQUEST_APPROVAL_RULE_UPDATED";
|
|
3425
|
+
readonly PULL_REQUEST_APPROVAL_STATE_CHANGED: "PULL_REQUEST_APPROVAL_STATE_CHANGED";
|
|
3426
|
+
readonly PULL_REQUEST_CREATED: "PULL_REQUEST_CREATED";
|
|
3427
|
+
readonly PULL_REQUEST_MERGE_STATE_CHANGED: "PULL_REQUEST_MERGE_STATE_CHANGED";
|
|
3428
|
+
readonly PULL_REQUEST_SOURCE_REFERENCE_UPDATED: "PULL_REQUEST_SOURCE_REFERENCE_UPDATED";
|
|
3429
|
+
readonly PULL_REQUEST_STATUS_CHANGED: "PULL_REQUEST_STATUS_CHANGED";
|
|
3430
|
+
};
|
|
3431
|
+
/**
|
|
3432
|
+
* @public
|
|
3433
|
+
*/
|
|
3434
|
+
export type PullRequestEventType = (typeof PullRequestEventType)[keyof typeof PullRequestEventType];
|
|
3380
3435
|
/**
|
|
3381
3436
|
* @public
|
|
3382
3437
|
*/
|
|
@@ -3901,11 +3956,16 @@ export interface GetCommentsForComparedCommitInput {
|
|
|
3901
3956
|
}
|
|
3902
3957
|
/**
|
|
3903
3958
|
* @public
|
|
3959
|
+
* @enum
|
|
3904
3960
|
*/
|
|
3905
|
-
export declare
|
|
3906
|
-
AFTER
|
|
3907
|
-
BEFORE
|
|
3908
|
-
}
|
|
3961
|
+
export declare const RelativeFileVersionEnum: {
|
|
3962
|
+
readonly AFTER: "AFTER";
|
|
3963
|
+
readonly BEFORE: "BEFORE";
|
|
3964
|
+
};
|
|
3965
|
+
/**
|
|
3966
|
+
* @public
|
|
3967
|
+
*/
|
|
3968
|
+
export type RelativeFileVersionEnum = (typeof RelativeFileVersionEnum)[keyof typeof RelativeFileVersionEnum];
|
|
3909
3969
|
/**
|
|
3910
3970
|
* @public
|
|
3911
3971
|
* <p>Returns information about the location of a change or comment in the comparison between two commits or a pull request.</p>
|
|
@@ -4713,13 +4773,18 @@ export interface GetRepositoryTriggersInput {
|
|
|
4713
4773
|
}
|
|
4714
4774
|
/**
|
|
4715
4775
|
* @public
|
|
4776
|
+
* @enum
|
|
4716
4777
|
*/
|
|
4717
|
-
export declare
|
|
4718
|
-
ALL
|
|
4719
|
-
CREATE_REFERENCE
|
|
4720
|
-
DELETE_REFERENCE
|
|
4721
|
-
UPDATE_REFERENCE
|
|
4722
|
-
}
|
|
4778
|
+
export declare const RepositoryTriggerEventEnum: {
|
|
4779
|
+
readonly ALL: "all";
|
|
4780
|
+
readonly CREATE_REFERENCE: "createReference";
|
|
4781
|
+
readonly DELETE_REFERENCE: "deleteReference";
|
|
4782
|
+
readonly UPDATE_REFERENCE: "updateReference";
|
|
4783
|
+
};
|
|
4784
|
+
/**
|
|
4785
|
+
* @public
|
|
4786
|
+
*/
|
|
4787
|
+
export type RepositoryTriggerEventEnum = (typeof RepositoryTriggerEventEnum)[keyof typeof RepositoryTriggerEventEnum];
|
|
4723
4788
|
/**
|
|
4724
4789
|
* @public
|
|
4725
4790
|
* <p>Information about a trigger for a repository.</p>
|