@aws-sdk/client-codecommit 3.391.0 → 3.398.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/README.md +30 -32
- package/dist-cjs/CodeCommit.js +2 -0
- package/dist-cjs/CodeCommitClient.js +4 -2
- package/dist-cjs/commands/ListFileCommitHistoryCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/models/models_0.js +1 -27
- package/dist-cjs/models/models_1.js +27 -1
- package/dist-cjs/pagination/ListFileCommitHistoryPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +85 -6
- package/dist-cjs/runtimeConfig.shared.js +1 -0
- package/dist-cjs/runtimeExtensions.js +16 -0
- package/dist-es/CodeCommit.js +2 -0
- package/dist-es/CodeCommitClient.js +4 -2
- package/dist-es/commands/ListFileCommitHistoryCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/models/models_0.js +0 -24
- package/dist-es/models/models_1.js +24 -0
- package/dist-es/pagination/ListFileCommitHistoryPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +79 -2
- package/dist-es/runtimeConfig.shared.js +1 -0
- package/dist-es/runtimeExtensions.js +12 -0
- package/dist-types/CodeCommit.d.ts +100 -109
- package/dist-types/CodeCommitClient.d.ts +102 -112
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +4 -6
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +3 -4
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +12 -13
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +3 -4
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +1 -2
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +2 -3
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +7 -9
- package/dist-types/commands/CreateBranchCommand.d.ts +3 -3
- package/dist-types/commands/CreateCommitCommand.d.ts +6 -7
- package/dist-types/commands/CreatePullRequestCommand.d.ts +4 -5
- package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -3
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +8 -9
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +2 -3
- package/dist-types/commands/DeleteBranchCommand.d.ts +1 -2
- package/dist-types/commands/DeleteFileCommand.d.ts +1 -2
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -3
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +12 -13
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +7 -7
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +4 -6
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +3 -4
- package/dist-types/commands/GetBlobCommand.d.ts +3 -4
- package/dist-types/commands/GetBranchCommand.d.ts +1 -2
- package/dist-types/commands/GetCommentCommand.d.ts +1 -1
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +3 -4
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +3 -4
- package/dist-types/commands/GetCommitCommand.d.ts +1 -2
- package/dist-types/commands/GetDifferencesCommand.d.ts +2 -3
- package/dist-types/commands/GetFileCommand.d.ts +4 -5
- package/dist-types/commands/GetFolderCommand.d.ts +3 -4
- package/dist-types/commands/GetMergeCommitCommand.d.ts +3 -4
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +12 -13
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +4 -5
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +1 -1
- package/dist-types/commands/GetPullRequestCommand.d.ts +2 -2
- package/dist-types/commands/GetRepositoryCommand.d.ts +2 -4
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +2 -3
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +2 -2
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +1 -2
- package/dist-types/commands/ListBranchesCommand.d.ts +1 -2
- package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +153 -0
- package/dist-types/commands/ListPullRequestsCommand.d.ts +5 -5
- package/dist-types/commands/ListRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +3 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -8
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -2
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +6 -7
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +6 -7
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +3 -4
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +8 -9
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +8 -9
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +4 -5
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +4 -5
- 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 +3 -4
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +4 -5
- package/dist-types/commands/TagResourceCommand.d.ts +8 -9
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +4 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +7 -9
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +3 -4
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +5 -7
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +4 -5
- package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +2 -3
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +3 -3
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +2 -3
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +4 -5
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/index.d.ts +93 -109
- package/dist-types/models/models_0.d.ts +153 -114
- package/dist-types/models/models_1.d.ts +68 -30
- package/dist-types/pagination/ListFileCommitHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- 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/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/CodeCommit.d.ts +17 -0
- package/dist-types/ts3.4/CodeCommitClient.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -18
- package/dist-types/ts3.4/models/models_1.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListFileCommitHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +29 -29
|
@@ -35,8 +35,8 @@ export interface MergeBranchesByThreeWayCommandOutput extends MergeBranchesByThr
|
|
|
35
35
|
* sourceCommitSpecifier: "STRING_VALUE", // required
|
|
36
36
|
* destinationCommitSpecifier: "STRING_VALUE", // required
|
|
37
37
|
* targetBranch: "STRING_VALUE",
|
|
38
|
-
* conflictDetailLevel: "
|
|
39
|
-
* conflictResolutionStrategy: "
|
|
38
|
+
* conflictDetailLevel: "FILE_LEVEL" || "LINE_LEVEL",
|
|
39
|
+
* conflictResolutionStrategy: "NONE" || "ACCEPT_SOURCE" || "ACCEPT_DESTINATION" || "AUTOMERGE",
|
|
40
40
|
* authorName: "STRING_VALUE",
|
|
41
41
|
* email: "STRING_VALUE",
|
|
42
42
|
* commitMessage: "STRING_VALUE",
|
|
@@ -45,9 +45,9 @@ export interface MergeBranchesByThreeWayCommandOutput extends MergeBranchesByThr
|
|
|
45
45
|
* replaceContents: [ // ReplaceContentEntries
|
|
46
46
|
* { // ReplaceContentEntry
|
|
47
47
|
* filePath: "STRING_VALUE", // required
|
|
48
|
-
* replacementType: "
|
|
48
|
+
* replacementType: "KEEP_BASE" || "KEEP_SOURCE" || "KEEP_DESTINATION" || "USE_NEW_CONTENT", // required
|
|
49
49
|
* content: "BLOB_VALUE",
|
|
50
|
-
* fileMode: "
|
|
50
|
+
* fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK",
|
|
51
51
|
* },
|
|
52
52
|
* ],
|
|
53
53
|
* deleteFiles: [ // DeleteFileEntries
|
|
@@ -58,7 +58,7 @@ export interface MergeBranchesByThreeWayCommandOutput extends MergeBranchesByThr
|
|
|
58
58
|
* setFileModes: [ // SetFileModeEntries
|
|
59
59
|
* { // SetFileModeEntry
|
|
60
60
|
* filePath: "STRING_VALUE", // required
|
|
61
|
-
* fileMode: "
|
|
61
|
+
* fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK", // required
|
|
62
62
|
* },
|
|
63
63
|
* ],
|
|
64
64
|
* },
|
|
@@ -162,8 +162,7 @@ export interface MergeBranchesByThreeWayCommandOutput extends MergeBranchesByThr
|
|
|
162
162
|
*
|
|
163
163
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
164
164
|
* <p>A specified repository name is not valid.</p>
|
|
165
|
-
*
|
|
166
|
-
* <note>
|
|
165
|
+
* <note>
|
|
167
166
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
168
167
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
169
168
|
* specified repository does not exist.</p>
|
|
@@ -45,7 +45,7 @@ export interface MergePullRequestByFastForwardCommandOutput extends MergePullReq
|
|
|
45
45
|
* // description: "STRING_VALUE",
|
|
46
46
|
* // lastActivityDate: new Date("TIMESTAMP"),
|
|
47
47
|
* // creationDate: new Date("TIMESTAMP"),
|
|
48
|
-
* // pullRequestStatus: "
|
|
48
|
+
* // pullRequestStatus: "OPEN" || "CLOSED",
|
|
49
49
|
* // authorArn: "STRING_VALUE",
|
|
50
50
|
* // pullRequestTargets: [ // PullRequestTargetList
|
|
51
51
|
* // { // PullRequestTarget
|
|
@@ -59,7 +59,7 @@ export interface MergePullRequestByFastForwardCommandOutput extends MergePullReq
|
|
|
59
59
|
* // isMerged: true || false,
|
|
60
60
|
* // mergedBy: "STRING_VALUE",
|
|
61
61
|
* // mergeCommitId: "STRING_VALUE",
|
|
62
|
-
* // mergeOption: "
|
|
62
|
+
* // mergeOption: "FAST_FORWARD_MERGE" || "SQUASH_MERGE" || "THREE_WAY_MERGE",
|
|
63
63
|
* // },
|
|
64
64
|
* // },
|
|
65
65
|
* // ],
|
|
@@ -117,8 +117,7 @@ export interface MergePullRequestByFastForwardCommandOutput extends MergePullReq
|
|
|
117
117
|
*
|
|
118
118
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
119
119
|
* <p>A specified repository name is not valid.</p>
|
|
120
|
-
*
|
|
121
|
-
* <note>
|
|
120
|
+
* <note>
|
|
122
121
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
123
122
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
124
123
|
* specified repository does not exist.</p>
|
|
@@ -35,8 +35,8 @@ export interface MergePullRequestBySquashCommandOutput extends MergePullRequestB
|
|
|
35
35
|
* pullRequestId: "STRING_VALUE", // required
|
|
36
36
|
* repositoryName: "STRING_VALUE", // required
|
|
37
37
|
* sourceCommitId: "STRING_VALUE",
|
|
38
|
-
* conflictDetailLevel: "
|
|
39
|
-
* conflictResolutionStrategy: "
|
|
38
|
+
* conflictDetailLevel: "FILE_LEVEL" || "LINE_LEVEL",
|
|
39
|
+
* conflictResolutionStrategy: "NONE" || "ACCEPT_SOURCE" || "ACCEPT_DESTINATION" || "AUTOMERGE",
|
|
40
40
|
* commitMessage: "STRING_VALUE",
|
|
41
41
|
* authorName: "STRING_VALUE",
|
|
42
42
|
* email: "STRING_VALUE",
|
|
@@ -45,9 +45,9 @@ export interface MergePullRequestBySquashCommandOutput extends MergePullRequestB
|
|
|
45
45
|
* replaceContents: [ // ReplaceContentEntries
|
|
46
46
|
* { // ReplaceContentEntry
|
|
47
47
|
* filePath: "STRING_VALUE", // required
|
|
48
|
-
* replacementType: "
|
|
48
|
+
* replacementType: "KEEP_BASE" || "KEEP_SOURCE" || "KEEP_DESTINATION" || "USE_NEW_CONTENT", // required
|
|
49
49
|
* content: "BLOB_VALUE",
|
|
50
|
-
* fileMode: "
|
|
50
|
+
* fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK",
|
|
51
51
|
* },
|
|
52
52
|
* ],
|
|
53
53
|
* deleteFiles: [ // DeleteFileEntries
|
|
@@ -58,7 +58,7 @@ export interface MergePullRequestBySquashCommandOutput extends MergePullRequestB
|
|
|
58
58
|
* setFileModes: [ // SetFileModeEntries
|
|
59
59
|
* { // SetFileModeEntry
|
|
60
60
|
* filePath: "STRING_VALUE", // required
|
|
61
|
-
* fileMode: "
|
|
61
|
+
* fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK", // required
|
|
62
62
|
* },
|
|
63
63
|
* ],
|
|
64
64
|
* },
|
|
@@ -72,7 +72,7 @@ export interface MergePullRequestBySquashCommandOutput extends MergePullRequestB
|
|
|
72
72
|
* // description: "STRING_VALUE",
|
|
73
73
|
* // lastActivityDate: new Date("TIMESTAMP"),
|
|
74
74
|
* // creationDate: new Date("TIMESTAMP"),
|
|
75
|
-
* // pullRequestStatus: "
|
|
75
|
+
* // pullRequestStatus: "OPEN" || "CLOSED",
|
|
76
76
|
* // authorArn: "STRING_VALUE",
|
|
77
77
|
* // pullRequestTargets: [ // PullRequestTargetList
|
|
78
78
|
* // { // PullRequestTarget
|
|
@@ -86,7 +86,7 @@ export interface MergePullRequestBySquashCommandOutput extends MergePullRequestB
|
|
|
86
86
|
* // isMerged: true || false,
|
|
87
87
|
* // mergedBy: "STRING_VALUE",
|
|
88
88
|
* // mergeCommitId: "STRING_VALUE",
|
|
89
|
-
* // mergeOption: "
|
|
89
|
+
* // mergeOption: "FAST_FORWARD_MERGE" || "SQUASH_MERGE" || "THREE_WAY_MERGE",
|
|
90
90
|
* // },
|
|
91
91
|
* // },
|
|
92
92
|
* // ],
|
|
@@ -182,8 +182,7 @@ export interface MergePullRequestBySquashCommandOutput extends MergePullRequestB
|
|
|
182
182
|
*
|
|
183
183
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
184
184
|
* <p>A specified repository name is not valid.</p>
|
|
185
|
-
*
|
|
186
|
-
* <note>
|
|
185
|
+
* <note>
|
|
187
186
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
188
187
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
189
188
|
* specified repository does not exist.</p>
|
|
@@ -35,8 +35,8 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
|
|
|
35
35
|
* pullRequestId: "STRING_VALUE", // required
|
|
36
36
|
* repositoryName: "STRING_VALUE", // required
|
|
37
37
|
* sourceCommitId: "STRING_VALUE",
|
|
38
|
-
* conflictDetailLevel: "
|
|
39
|
-
* conflictResolutionStrategy: "
|
|
38
|
+
* conflictDetailLevel: "FILE_LEVEL" || "LINE_LEVEL",
|
|
39
|
+
* conflictResolutionStrategy: "NONE" || "ACCEPT_SOURCE" || "ACCEPT_DESTINATION" || "AUTOMERGE",
|
|
40
40
|
* commitMessage: "STRING_VALUE",
|
|
41
41
|
* authorName: "STRING_VALUE",
|
|
42
42
|
* email: "STRING_VALUE",
|
|
@@ -45,9 +45,9 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
|
|
|
45
45
|
* replaceContents: [ // ReplaceContentEntries
|
|
46
46
|
* { // ReplaceContentEntry
|
|
47
47
|
* filePath: "STRING_VALUE", // required
|
|
48
|
-
* replacementType: "
|
|
48
|
+
* replacementType: "KEEP_BASE" || "KEEP_SOURCE" || "KEEP_DESTINATION" || "USE_NEW_CONTENT", // required
|
|
49
49
|
* content: "BLOB_VALUE",
|
|
50
|
-
* fileMode: "
|
|
50
|
+
* fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK",
|
|
51
51
|
* },
|
|
52
52
|
* ],
|
|
53
53
|
* deleteFiles: [ // DeleteFileEntries
|
|
@@ -58,7 +58,7 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
|
|
|
58
58
|
* setFileModes: [ // SetFileModeEntries
|
|
59
59
|
* { // SetFileModeEntry
|
|
60
60
|
* filePath: "STRING_VALUE", // required
|
|
61
|
-
* fileMode: "
|
|
61
|
+
* fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK", // required
|
|
62
62
|
* },
|
|
63
63
|
* ],
|
|
64
64
|
* },
|
|
@@ -72,7 +72,7 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
|
|
|
72
72
|
* // description: "STRING_VALUE",
|
|
73
73
|
* // lastActivityDate: new Date("TIMESTAMP"),
|
|
74
74
|
* // creationDate: new Date("TIMESTAMP"),
|
|
75
|
-
* // pullRequestStatus: "
|
|
75
|
+
* // pullRequestStatus: "OPEN" || "CLOSED",
|
|
76
76
|
* // authorArn: "STRING_VALUE",
|
|
77
77
|
* // pullRequestTargets: [ // PullRequestTargetList
|
|
78
78
|
* // { // PullRequestTarget
|
|
@@ -86,7 +86,7 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
|
|
|
86
86
|
* // isMerged: true || false,
|
|
87
87
|
* // mergedBy: "STRING_VALUE",
|
|
88
88
|
* // mergeCommitId: "STRING_VALUE",
|
|
89
|
-
* // mergeOption: "
|
|
89
|
+
* // mergeOption: "FAST_FORWARD_MERGE" || "SQUASH_MERGE" || "THREE_WAY_MERGE",
|
|
90
90
|
* // },
|
|
91
91
|
* // },
|
|
92
92
|
* // ],
|
|
@@ -182,8 +182,7 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
|
|
|
182
182
|
*
|
|
183
183
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
184
184
|
* <p>A specified repository name is not valid.</p>
|
|
185
|
-
*
|
|
186
|
-
* <note>
|
|
185
|
+
* <note>
|
|
187
186
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
188
187
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
189
188
|
* specified repository does not exist.</p>
|
|
@@ -33,7 +33,7 @@ export interface OverridePullRequestApprovalRulesCommandOutput extends __Metadat
|
|
|
33
33
|
* const input = { // OverridePullRequestApprovalRulesInput
|
|
34
34
|
* pullRequestId: "STRING_VALUE", // required
|
|
35
35
|
* revisionId: "STRING_VALUE", // required
|
|
36
|
-
* overrideStatus: "
|
|
36
|
+
* overrideStatus: "OVERRIDE" || "REVOKE", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new OverridePullRequestApprovalRulesCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
@@ -37,7 +37,7 @@ export interface PostCommentForComparedCommitCommandOutput extends PostCommentFo
|
|
|
37
37
|
* location: { // Location
|
|
38
38
|
* filePath: "STRING_VALUE",
|
|
39
39
|
* filePosition: Number("long"),
|
|
40
|
-
* relativeFileVersion: "
|
|
40
|
+
* relativeFileVersion: "BEFORE" || "AFTER",
|
|
41
41
|
* },
|
|
42
42
|
* content: "STRING_VALUE", // required
|
|
43
43
|
* clientRequestToken: "STRING_VALUE",
|
|
@@ -53,7 +53,7 @@ export interface PostCommentForComparedCommitCommandOutput extends PostCommentFo
|
|
|
53
53
|
* // location: { // Location
|
|
54
54
|
* // filePath: "STRING_VALUE",
|
|
55
55
|
* // filePosition: Number("long"),
|
|
56
|
-
* // relativeFileVersion: "
|
|
56
|
+
* // relativeFileVersion: "BEFORE" || "AFTER",
|
|
57
57
|
* // },
|
|
58
58
|
* // comment: { // Comment
|
|
59
59
|
* // commentId: "STRING_VALUE",
|
|
@@ -95,7 +95,7 @@ export interface PostCommentForComparedCommitCommandOutput extends PostCommentFo
|
|
|
95
95
|
* <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
|
|
96
96
|
*
|
|
97
97
|
* @throws {@link CommentContentSizeLimitExceededException} (client fault)
|
|
98
|
-
* <p>The comment is too large. Comments are limited to
|
|
98
|
+
* <p>The comment is too large. Comments are limited to 10,240 characters.</p>
|
|
99
99
|
*
|
|
100
100
|
* @throws {@link CommitDoesNotExistException} (client fault)
|
|
101
101
|
* <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
|
|
@@ -143,8 +143,7 @@ export interface PostCommentForComparedCommitCommandOutput extends PostCommentFo
|
|
|
143
143
|
*
|
|
144
144
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
145
145
|
* <p>A specified repository name is not valid.</p>
|
|
146
|
-
*
|
|
147
|
-
* <note>
|
|
146
|
+
* <note>
|
|
148
147
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
149
148
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
150
149
|
* specified repository does not exist.</p>
|
|
@@ -38,7 +38,7 @@ export interface PostCommentForPullRequestCommandOutput extends PostCommentForPu
|
|
|
38
38
|
* location: { // Location
|
|
39
39
|
* filePath: "STRING_VALUE",
|
|
40
40
|
* filePosition: Number("long"),
|
|
41
|
-
* relativeFileVersion: "
|
|
41
|
+
* relativeFileVersion: "BEFORE" || "AFTER",
|
|
42
42
|
* },
|
|
43
43
|
* content: "STRING_VALUE", // required
|
|
44
44
|
* clientRequestToken: "STRING_VALUE",
|
|
@@ -55,7 +55,7 @@ export interface PostCommentForPullRequestCommandOutput extends PostCommentForPu
|
|
|
55
55
|
* // location: { // Location
|
|
56
56
|
* // filePath: "STRING_VALUE",
|
|
57
57
|
* // filePosition: Number("long"),
|
|
58
|
-
* // relativeFileVersion: "
|
|
58
|
+
* // relativeFileVersion: "BEFORE" || "AFTER",
|
|
59
59
|
* // },
|
|
60
60
|
* // comment: { // Comment
|
|
61
61
|
* // commentId: "STRING_VALUE",
|
|
@@ -97,7 +97,7 @@ export interface PostCommentForPullRequestCommandOutput extends PostCommentForPu
|
|
|
97
97
|
* <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
|
|
98
98
|
*
|
|
99
99
|
* @throws {@link CommentContentSizeLimitExceededException} (client fault)
|
|
100
|
-
* <p>The comment is too large. Comments are limited to
|
|
100
|
+
* <p>The comment is too large. Comments are limited to 10,240 characters.</p>
|
|
101
101
|
*
|
|
102
102
|
* @throws {@link CommitDoesNotExistException} (client fault)
|
|
103
103
|
* <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
|
|
@@ -148,8 +148,7 @@ export interface PostCommentForPullRequestCommandOutput extends PostCommentForPu
|
|
|
148
148
|
*
|
|
149
149
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
150
150
|
* <p>A specified repository name is not valid.</p>
|
|
151
|
-
*
|
|
152
|
-
* <note>
|
|
151
|
+
* <note>
|
|
153
152
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
154
153
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
155
154
|
* specified repository does not exist.</p>
|
|
@@ -75,7 +75,7 @@ export interface PostCommentReplyCommandOutput extends PostCommentReplyOutput, _
|
|
|
75
75
|
* <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link CommentContentSizeLimitExceededException} (client fault)
|
|
78
|
-
* <p>The comment is too large. Comments are limited to
|
|
78
|
+
* <p>The comment is too large. Comments are limited to 10,240 characters.</p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link CommentDoesNotExistException} (client fault)
|
|
81
81
|
* <p>No comment exists with the provided ID. Verify that you have used the correct ID, and
|
|
@@ -61,7 +61,7 @@ export interface PutCommentReactionCommandOutput extends __MetadataBearer {
|
|
|
61
61
|
* <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link InvalidReactionValueException} (client fault)
|
|
64
|
-
* <p>The value of the reaction is not valid. For more information, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
64
|
+
* <p>The value of the reaction is not valid. For more information, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">CodeCommit User Guide</a>.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ReactionLimitExceededException} (client fault)
|
|
67
67
|
* <p>The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.</p>
|
|
@@ -23,7 +23,7 @@ export interface PutFileCommandOutput extends PutFileOutput, __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Adds or updates a file in a branch in an
|
|
26
|
+
* <p>Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -35,7 +35,7 @@ export interface PutFileCommandOutput extends PutFileOutput, __MetadataBearer {
|
|
|
35
35
|
* branchName: "STRING_VALUE", // required
|
|
36
36
|
* fileContent: "BLOB_VALUE", // required
|
|
37
37
|
* filePath: "STRING_VALUE", // required
|
|
38
|
-
* fileMode: "
|
|
38
|
+
* fileMode: "EXECUTABLE" || "NORMAL" || "SYMLINK",
|
|
39
39
|
* parentCommitId: "STRING_VALUE",
|
|
40
40
|
* commitMessage: "STRING_VALUE",
|
|
41
41
|
* name: "STRING_VALUE",
|
|
@@ -132,8 +132,7 @@ export interface PutFileCommandOutput extends PutFileOutput, __MetadataBearer {
|
|
|
132
132
|
*
|
|
133
133
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
134
134
|
* <p>A specified repository name is not valid.</p>
|
|
135
|
-
*
|
|
136
|
-
* <note>
|
|
135
|
+
* <note>
|
|
137
136
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
138
137
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
139
138
|
* specified repository does not exist.</p>
|
|
@@ -41,7 +41,7 @@ export interface PutRepositoryTriggersCommandOutput extends PutRepositoryTrigger
|
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* events: [ // RepositoryTriggerEventList // required
|
|
44
|
-
* "
|
|
44
|
+
* "all" || "updateReference" || "createReference" || "deleteReference",
|
|
45
45
|
* ],
|
|
46
46
|
* },
|
|
47
47
|
* ],
|
|
@@ -77,8 +77,7 @@ export interface PutRepositoryTriggersCommandOutput extends PutRepositoryTrigger
|
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
79
79
|
* <p>A specified repository name is not valid.</p>
|
|
80
|
-
*
|
|
81
|
-
* <note>
|
|
80
|
+
* <note>
|
|
82
81
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
83
82
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
84
83
|
* specified repository does not exist.</p>
|
|
@@ -100,8 +99,8 @@ export interface PutRepositoryTriggersCommandOutput extends PutRepositoryTrigger
|
|
|
100
99
|
* <p>The name of the trigger is not valid.</p>
|
|
101
100
|
*
|
|
102
101
|
* @throws {@link InvalidRepositoryTriggerRegionException} (client fault)
|
|
103
|
-
* <p>The
|
|
104
|
-
* repository. Triggers must be created in the same Region as the target for the
|
|
102
|
+
* <p>The Amazon Web Services Region for the trigger target does not match the Amazon Web Services Region for the
|
|
103
|
+
* repository. Triggers must be created in the same Amazon Web Services Region as the target for the
|
|
105
104
|
* trigger.</p>
|
|
106
105
|
*
|
|
107
106
|
* @throws {@link MaximumBranchesExceededException} (client fault)
|
|
@@ -23,8 +23,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Adds or updates tags for a resource in
|
|
27
|
-
* in
|
|
26
|
+
* <p>Adds or updates tags for a resource in CodeCommit. For a list of valid resources
|
|
27
|
+
* in CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the <i>CodeCommit User
|
|
28
28
|
* Guide</i>.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -52,17 +52,16 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
54
54
|
* <p>A specified repository name is not valid.</p>
|
|
55
|
-
*
|
|
56
|
-
* <note>
|
|
55
|
+
* <note>
|
|
57
56
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
58
57
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
59
58
|
* specified repository does not exist.</p>
|
|
60
59
|
* </note>
|
|
61
60
|
*
|
|
62
61
|
* @throws {@link InvalidResourceArnException} (client fault)
|
|
63
|
-
* <p>The value for the resource ARN is not valid. For more information about resources in
|
|
62
|
+
* <p>The value for the resource ARN is not valid. For more information about resources in CodeCommit, see
|
|
64
63
|
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
|
|
65
|
-
* in the
|
|
64
|
+
* in the CodeCommit User Guide.</p>
|
|
66
65
|
*
|
|
67
66
|
* @throws {@link InvalidSystemTagUsageException} (client fault)
|
|
68
67
|
* <p>The specified tag is not valid. Key names cannot be prefixed with aws:.</p>
|
|
@@ -74,9 +73,9 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
74
73
|
* <p>The specified repository does not exist.</p>
|
|
75
74
|
*
|
|
76
75
|
* @throws {@link ResourceArnRequiredException} (client fault)
|
|
77
|
-
* <p>A valid Amazon Resource Name (ARN) for an
|
|
76
|
+
* <p>A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in CodeCommit, see
|
|
78
77
|
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
|
|
79
|
-
* in the
|
|
78
|
+
* in the CodeCommit User Guide.</p>
|
|
80
79
|
*
|
|
81
80
|
* @throws {@link TagPolicyException} (client fault)
|
|
82
81
|
* <p>The tag policy is not valid.</p>
|
|
@@ -85,7 +84,7 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
85
84
|
* <p>A map of tags is required.</p>
|
|
86
85
|
*
|
|
87
86
|
* @throws {@link TooManyTagsException} (client fault)
|
|
88
|
-
* <p>The maximum number of tags for an
|
|
87
|
+
* <p>The maximum number of tags for an CodeCommit resource has been exceeded.</p>
|
|
89
88
|
*
|
|
90
89
|
* @throws {@link CodeCommitServiceException}
|
|
91
90
|
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
@@ -43,7 +43,7 @@ export interface TestRepositoryTriggersCommandOutput extends TestRepositoryTrigg
|
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
45
|
* events: [ // RepositoryTriggerEventList // required
|
|
46
|
-
* "
|
|
46
|
+
* "all" || "updateReference" || "createReference" || "deleteReference",
|
|
47
47
|
* ],
|
|
48
48
|
* },
|
|
49
49
|
* ],
|
|
@@ -87,8 +87,7 @@ export interface TestRepositoryTriggersCommandOutput extends TestRepositoryTrigg
|
|
|
87
87
|
*
|
|
88
88
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
89
89
|
* <p>A specified repository name is not valid.</p>
|
|
90
|
-
*
|
|
91
|
-
* <note>
|
|
90
|
+
* <note>
|
|
92
91
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
93
92
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
94
93
|
* specified repository does not exist.</p>
|
|
@@ -110,8 +109,8 @@ export interface TestRepositoryTriggersCommandOutput extends TestRepositoryTrigg
|
|
|
110
109
|
* <p>The name of the trigger is not valid.</p>
|
|
111
110
|
*
|
|
112
111
|
* @throws {@link InvalidRepositoryTriggerRegionException} (client fault)
|
|
113
|
-
* <p>The
|
|
114
|
-
* repository. Triggers must be created in the same Region as the target for the
|
|
112
|
+
* <p>The Amazon Web Services Region for the trigger target does not match the Amazon Web Services Region for the
|
|
113
|
+
* repository. Triggers must be created in the same Amazon Web Services Region as the target for the
|
|
115
114
|
* trigger.</p>
|
|
116
115
|
*
|
|
117
116
|
* @throws {@link MaximumBranchesExceededException} (client fault)
|
|
@@ -23,8 +23,7 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Removes tags for a resource in
|
|
27
|
-
* CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the <i>AWS CodeCommit User
|
|
26
|
+
* <p>Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the <i>CodeCommit User
|
|
28
27
|
* Guide</i>.</p>
|
|
29
28
|
* @example
|
|
30
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -52,17 +51,16 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
52
51
|
*
|
|
53
52
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
54
53
|
* <p>A specified repository name is not valid.</p>
|
|
55
|
-
*
|
|
56
|
-
* <note>
|
|
54
|
+
* <note>
|
|
57
55
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
58
56
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
59
57
|
* specified repository does not exist.</p>
|
|
60
58
|
* </note>
|
|
61
59
|
*
|
|
62
60
|
* @throws {@link InvalidResourceArnException} (client fault)
|
|
63
|
-
* <p>The value for the resource ARN is not valid. For more information about resources in
|
|
61
|
+
* <p>The value for the resource ARN is not valid. For more information about resources in CodeCommit, see
|
|
64
62
|
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
|
|
65
|
-
* in the
|
|
63
|
+
* in the CodeCommit User Guide.</p>
|
|
66
64
|
*
|
|
67
65
|
* @throws {@link InvalidSystemTagUsageException} (client fault)
|
|
68
66
|
* <p>The specified tag is not valid. Key names cannot be prefixed with aws:.</p>
|
|
@@ -74,9 +72,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
74
72
|
* <p>The specified repository does not exist.</p>
|
|
75
73
|
*
|
|
76
74
|
* @throws {@link ResourceArnRequiredException} (client fault)
|
|
77
|
-
* <p>A valid Amazon Resource Name (ARN) for an
|
|
75
|
+
* <p>A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in CodeCommit, see
|
|
78
76
|
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
|
|
79
|
-
* in the
|
|
77
|
+
* in the CodeCommit User Guide.</p>
|
|
80
78
|
*
|
|
81
79
|
* @throws {@link TagKeysListRequiredException} (client fault)
|
|
82
80
|
* <p>A list of tag keys is required. The list cannot be empty or null.</p>
|
|
@@ -85,7 +83,7 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
85
83
|
* <p>The tag policy is not valid.</p>
|
|
86
84
|
*
|
|
87
85
|
* @throws {@link TooManyTagsException} (client fault)
|
|
88
|
-
* <p>The maximum number of tags for an
|
|
86
|
+
* <p>The maximum number of tags for an CodeCommit resource has been exceeded.</p>
|
|
89
87
|
*
|
|
90
88
|
* @throws {@link CodeCommitServiceException}
|
|
91
89
|
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
@@ -64,7 +64,7 @@ export interface UpdateApprovalRuleTemplateContentCommandOutput extends UpdateAp
|
|
|
64
64
|
* <p>The content for the approval rule template is empty. You must provide some content for an approval rule template. The content cannot be null.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link ApprovalRuleTemplateDoesNotExistException} (client fault)
|
|
67
|
-
* <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the
|
|
67
|
+
* <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the Amazon Web Services Region where the template
|
|
68
68
|
* was created, and then try again.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
|
|
@@ -75,9 +75,8 @@ export interface UpdateApprovalRuleTemplateContentCommandOutput extends UpdateAp
|
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
77
77
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
78
|
-
* and 100 valid characters in length. For more information about limits in
|
|
79
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">
|
|
80
|
-
* CodeCommit User Guide</a>.</p>
|
|
78
|
+
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
79
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
|
|
81
80
|
*
|
|
82
81
|
* @throws {@link InvalidRuleContentSha256Exception} (client fault)
|
|
83
82
|
* <p>The SHA-256 hash signature for the rule content is not valid.</p>
|
|
@@ -58,7 +58,7 @@ export interface UpdateApprovalRuleTemplateDescriptionCommandOutput extends Upda
|
|
|
58
58
|
* @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ApprovalRuleTemplateDoesNotExistException} (client fault)
|
|
61
|
-
* <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the
|
|
61
|
+
* <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the Amazon Web Services Region where the template
|
|
62
62
|
* was created, and then try again.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
|
|
@@ -66,15 +66,13 @@ export interface UpdateApprovalRuleTemplateDescriptionCommandOutput extends Upda
|
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link InvalidApprovalRuleTemplateDescriptionException} (client fault)
|
|
68
68
|
* <p>The description for the approval rule template is not valid because it exceeds the
|
|
69
|
-
* maximum characters allowed for a description. For more information about limits in
|
|
70
|
-
*
|
|
71
|
-
* Guide</a>.</p>
|
|
69
|
+
* maximum characters allowed for a description. For more information about limits in CodeCommit,
|
|
70
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
|
|
72
71
|
*
|
|
73
72
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
74
73
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
75
|
-
* and 100 valid characters in length. For more information about limits in
|
|
76
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">
|
|
77
|
-
* CodeCommit User Guide</a>.</p>
|
|
74
|
+
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
75
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
|
|
78
76
|
*
|
|
79
77
|
* @throws {@link CodeCommitServiceException}
|
|
80
78
|
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
@@ -58,12 +58,12 @@ export interface UpdateApprovalRuleTemplateNameCommandOutput extends UpdateAppro
|
|
|
58
58
|
* @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ApprovalRuleTemplateDoesNotExistException} (client fault)
|
|
61
|
-
* <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the
|
|
61
|
+
* <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the Amazon Web Services Region where the template
|
|
62
62
|
* was created, and then try again.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ApprovalRuleTemplateNameAlreadyExistsException} (client fault)
|
|
65
65
|
* <p>You cannot create an approval rule template with that name because a template with
|
|
66
|
-
* that name already exists in this
|
|
66
|
+
* that name already exists in this Amazon Web Services Region for your Amazon Web Services account. Approval rule template
|
|
67
67
|
* names must be unique.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
|
|
@@ -71,9 +71,8 @@ export interface UpdateApprovalRuleTemplateNameCommandOutput extends UpdateAppro
|
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
73
73
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
74
|
-
* and 100 valid characters in length. For more information about limits in
|
|
75
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">
|
|
76
|
-
* CodeCommit User Guide</a>.</p>
|
|
74
|
+
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
75
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
|
|
77
76
|
*
|
|
78
77
|
* @throws {@link CodeCommitServiceException}
|
|
79
78
|
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
@@ -67,7 +67,7 @@ export interface UpdateCommentCommandOutput extends UpdateCommentOutput, __Metad
|
|
|
67
67
|
* <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link CommentContentSizeLimitExceededException} (client fault)
|
|
70
|
-
* <p>The comment is too large. Comments are limited to
|
|
70
|
+
* <p>The comment is too large. Comments are limited to 10,240 characters.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link CommentDeletedException} (client fault)
|
|
73
73
|
* <p>This comment has already been deleted. You cannot edit or delete a deleted comment.</p>
|
|
@@ -24,7 +24,7 @@ export interface UpdateDefaultBranchCommandOutput extends __MetadataBearer {
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Sets or changes the default branch name for the specified repository.</p>
|
|
27
|
-
*
|
|
27
|
+
* <note>
|
|
28
28
|
* <p>If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.</p>
|
|
29
29
|
* </note>
|
|
30
30
|
* @example
|
|
@@ -75,8 +75,7 @@ export interface UpdateDefaultBranchCommandOutput extends __MetadataBearer {
|
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
77
77
|
* <p>A specified repository name is not valid.</p>
|
|
78
|
-
*
|
|
79
|
-
* <note>
|
|
78
|
+
* <note>
|
|
80
79
|
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
81
80
|
* exceptions occur when a required repository parameter is missing, or when a
|
|
82
81
|
* specified repository does not exist.</p>
|
|
@@ -33,7 +33,7 @@ export interface UpdatePullRequestApprovalStateCommandOutput extends __MetadataB
|
|
|
33
33
|
* const input = { // UpdatePullRequestApprovalStateInput
|
|
34
34
|
* pullRequestId: "STRING_VALUE", // required
|
|
35
35
|
* revisionId: "STRING_VALUE", // required
|
|
36
|
-
* approvalState: "
|
|
36
|
+
* approvalState: "APPROVE" || "REVOKE", // required
|
|
37
37
|
* };
|
|
38
38
|
* const command = new UpdatePullRequestApprovalStateCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|