@aws-sdk/client-codecommit 3.325.0 → 3.327.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +4 -0
  2. package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +15 -0
  3. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +71 -0
  4. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +15 -0
  5. package/dist-types/commands/BatchGetCommitsCommand.d.ts +33 -0
  6. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +22 -0
  7. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +15 -0
  8. package/dist-types/commands/CreateBranchCommand.d.ts +4 -0
  9. package/dist-types/commands/CreateCommitCommand.d.ts +28 -0
  10. package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +18 -0
  11. package/dist-types/commands/CreatePullRequestCommand.d.ts +47 -0
  12. package/dist-types/commands/CreateRepositoryCommand.d.ts +17 -0
  13. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +7 -0
  14. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +6 -0
  15. package/dist-types/commands/DeleteBranchCommand.d.ts +9 -0
  16. package/dist-types/commands/DeleteCommentContentCommand.d.ts +21 -0
  17. package/dist-types/commands/DeleteFileCommand.d.ts +9 -0
  18. package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +6 -0
  19. package/dist-types/commands/DeleteRepositoryCommand.d.ts +6 -0
  20. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +60 -0
  21. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +52 -0
  22. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +4 -0
  23. package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +15 -0
  24. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +15 -0
  25. package/dist-types/commands/GetBlobCommand.d.ts +6 -0
  26. package/dist-types/commands/GetBranchCommand.d.ts +9 -0
  27. package/dist-types/commands/GetCommentCommand.d.ts +21 -0
  28. package/dist-types/commands/GetCommentReactionsCommand.d.ts +19 -0
  29. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +38 -0
  30. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +39 -0
  31. package/dist-types/commands/GetCommitCommand.d.ts +24 -0
  32. package/dist-types/commands/GetDifferencesCommand.d.ts +21 -0
  33. package/dist-types/commands/GetFileCommand.d.ts +11 -0
  34. package/dist-types/commands/GetFolderCommand.d.ts +38 -0
  35. package/dist-types/commands/GetMergeCommitCommand.d.ts +9 -0
  36. package/dist-types/commands/GetMergeConflictsCommand.d.ts +43 -0
  37. package/dist-types/commands/GetMergeOptionsCommand.d.ts +11 -0
  38. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +11 -0
  39. package/dist-types/commands/GetPullRequestCommand.d.ts +47 -0
  40. package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +7 -0
  41. package/dist-types/commands/GetRepositoryCommand.d.ts +17 -0
  42. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +19 -0
  43. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +9 -0
  44. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +9 -0
  45. package/dist-types/commands/ListBranchesCommand.d.ts +9 -0
  46. package/dist-types/commands/ListPullRequestsCommand.d.ts +9 -0
  47. package/dist-types/commands/ListRepositoriesCommand.d.ts +12 -0
  48. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +9 -0
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -0
  50. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +7 -0
  51. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +7 -0
  52. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +7 -0
  53. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +47 -0
  54. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +47 -0
  55. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +47 -0
  56. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +4 -0
  57. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +31 -0
  58. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +32 -0
  59. package/dist-types/commands/PostCommentReplyCommand.d.ts +21 -0
  60. package/dist-types/commands/PutCommentReactionCommand.d.ts +4 -0
  61. package/dist-types/commands/PutFileCommand.d.ts +8 -0
  62. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +6 -0
  63. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  64. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +14 -0
  65. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  66. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +15 -0
  67. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +15 -0
  68. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +15 -0
  69. package/dist-types/commands/UpdateCommentCommand.d.ts +21 -0
  70. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +4 -0
  71. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +18 -0
  72. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +4 -0
  73. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +47 -0
  74. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +47 -0
  75. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +47 -0
  76. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +4 -0
  77. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +4 -0
  78. package/package.json +7 -7
@@ -38,6 +38,8 @@ export interface AssociateApprovalRuleTemplateWithRepositoryCommandOutput extend
38
38
  * };
39
39
  * const command = new AssociateApprovalRuleTemplateWithRepositoryCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // {};
42
+ *
41
43
  * ```
42
44
  *
43
45
  * @param AssociateApprovalRuleTemplateWithRepositoryCommandInput - {@link AssociateApprovalRuleTemplateWithRepositoryCommandInput}
@@ -93,6 +95,8 @@ export interface AssociateApprovalRuleTemplateWithRepositoryCommandOutput extend
93
95
  * @throws {@link RepositoryNameRequiredException} (client fault)
94
96
  * <p>A repository name is required, but was not specified.</p>
95
97
  *
98
+ * @throws {@link CodeCommitServiceException}
99
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
96
100
  *
97
101
  */
98
102
  export declare class AssociateApprovalRuleTemplateWithRepositoryCommand extends $Command<AssociateApprovalRuleTemplateWithRepositoryCommandInput, AssociateApprovalRuleTemplateWithRepositoryCommandOutput, CodeCommitClientResolvedConfig> {
@@ -34,6 +34,19 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput
34
34
  * };
35
35
  * const command = new BatchAssociateApprovalRuleTemplateWithRepositoriesCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // BatchAssociateApprovalRuleTemplateWithRepositoriesOutput
38
+ * // associatedRepositoryNames: [ // RepositoryNameList // required
39
+ * // "STRING_VALUE",
40
+ * // ],
41
+ * // errors: [ // BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList // required
42
+ * // { // BatchAssociateApprovalRuleTemplateWithRepositoriesError
43
+ * // repositoryName: "STRING_VALUE",
44
+ * // errorCode: "STRING_VALUE",
45
+ * // errorMessage: "STRING_VALUE",
46
+ * // },
47
+ * // ],
48
+ * // };
49
+ *
37
50
  * ```
38
51
  *
39
52
  * @param BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput - {@link BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput}
@@ -76,6 +89,8 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput
76
89
  * @throws {@link RepositoryNamesRequiredException} (client fault)
77
90
  * <p>At least one repository name object is required, but was not specified.</p>
78
91
  *
92
+ * @throws {@link CodeCommitServiceException}
93
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
79
94
  *
80
95
  */
81
96
  export declare class BatchAssociateApprovalRuleTemplateWithRepositoriesCommand extends $Command<BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput, CodeCommitClientResolvedConfig> {
@@ -42,6 +42,75 @@ export interface BatchDescribeMergeConflictsCommandOutput extends BatchDescribeM
42
42
  * };
43
43
  * const command = new BatchDescribeMergeConflictsCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // BatchDescribeMergeConflictsOutput
46
+ * // conflicts: [ // Conflicts // required
47
+ * // { // Conflict
48
+ * // conflictMetadata: { // ConflictMetadata
49
+ * // filePath: "STRING_VALUE",
50
+ * // fileSizes: { // FileSizes
51
+ * // source: Number("long"),
52
+ * // destination: Number("long"),
53
+ * // base: Number("long"),
54
+ * // },
55
+ * // fileModes: { // FileModes
56
+ * // source: "STRING_VALUE",
57
+ * // destination: "STRING_VALUE",
58
+ * // base: "STRING_VALUE",
59
+ * // },
60
+ * // objectTypes: { // ObjectTypes
61
+ * // source: "STRING_VALUE",
62
+ * // destination: "STRING_VALUE",
63
+ * // base: "STRING_VALUE",
64
+ * // },
65
+ * // numberOfConflicts: Number("int"),
66
+ * // isBinaryFile: { // IsBinaryFile
67
+ * // source: true || false,
68
+ * // destination: true || false,
69
+ * // base: true || false,
70
+ * // },
71
+ * // contentConflict: true || false,
72
+ * // fileModeConflict: true || false,
73
+ * // objectTypeConflict: true || false,
74
+ * // mergeOperations: { // MergeOperations
75
+ * // source: "STRING_VALUE",
76
+ * // destination: "STRING_VALUE",
77
+ * // },
78
+ * // },
79
+ * // mergeHunks: [ // MergeHunks
80
+ * // { // MergeHunk
81
+ * // isConflict: true || false,
82
+ * // source: { // MergeHunkDetail
83
+ * // startLine: Number("int"),
84
+ * // endLine: Number("int"),
85
+ * // hunkContent: "STRING_VALUE",
86
+ * // },
87
+ * // destination: {
88
+ * // startLine: Number("int"),
89
+ * // endLine: Number("int"),
90
+ * // hunkContent: "STRING_VALUE",
91
+ * // },
92
+ * // base: {
93
+ * // startLine: Number("int"),
94
+ * // endLine: Number("int"),
95
+ * // hunkContent: "STRING_VALUE",
96
+ * // },
97
+ * // },
98
+ * // ],
99
+ * // },
100
+ * // ],
101
+ * // nextToken: "STRING_VALUE",
102
+ * // errors: [ // BatchDescribeMergeConflictsErrors
103
+ * // { // BatchDescribeMergeConflictsError
104
+ * // filePath: "STRING_VALUE", // required
105
+ * // exceptionName: "STRING_VALUE", // required
106
+ * // message: "STRING_VALUE", // required
107
+ * // },
108
+ * // ],
109
+ * // destinationCommitId: "STRING_VALUE", // required
110
+ * // sourceCommitId: "STRING_VALUE", // required
111
+ * // baseCommitId: "STRING_VALUE",
112
+ * // };
113
+ *
45
114
  * ```
46
115
  *
47
116
  * @param BatchDescribeMergeConflictsCommandInput - {@link BatchDescribeMergeConflictsCommandInput}
@@ -120,6 +189,8 @@ export interface BatchDescribeMergeConflictsCommandOutput extends BatchDescribeM
120
189
  * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
121
190
  * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
122
191
  *
192
+ * @throws {@link CodeCommitServiceException}
193
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
123
194
  *
124
195
  */
125
196
  export declare class BatchDescribeMergeConflictsCommand extends $Command<BatchDescribeMergeConflictsCommandInput, BatchDescribeMergeConflictsCommandOutput, CodeCommitClientResolvedConfig> {
@@ -34,6 +34,19 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOut
34
34
  * };
35
35
  * const command = new BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput
38
+ * // disassociatedRepositoryNames: [ // RepositoryNameList // required
39
+ * // "STRING_VALUE",
40
+ * // ],
41
+ * // errors: [ // BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList // required
42
+ * // { // BatchDisassociateApprovalRuleTemplateFromRepositoriesError
43
+ * // repositoryName: "STRING_VALUE",
44
+ * // errorCode: "STRING_VALUE",
45
+ * // errorMessage: "STRING_VALUE",
46
+ * // },
47
+ * // ],
48
+ * // };
49
+ *
37
50
  * ```
38
51
  *
39
52
  * @param BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput - {@link BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput}
@@ -76,6 +89,8 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOut
76
89
  * @throws {@link RepositoryNamesRequiredException} (client fault)
77
90
  * <p>At least one repository name object is required, but was not specified.</p>
78
91
  *
92
+ * @throws {@link CodeCommitServiceException}
93
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
79
94
  *
80
95
  */
81
96
  export declare class BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand extends $Command<BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput, CodeCommitClientResolvedConfig> {
@@ -34,6 +34,37 @@ export interface BatchGetCommitsCommandOutput extends BatchGetCommitsOutput, __M
34
34
  * };
35
35
  * const command = new BatchGetCommitsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // BatchGetCommitsOutput
38
+ * // commits: [ // CommitObjectsList
39
+ * // { // Commit
40
+ * // commitId: "STRING_VALUE",
41
+ * // treeId: "STRING_VALUE",
42
+ * // parents: [ // ParentList
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // message: "STRING_VALUE",
46
+ * // author: { // UserInfo
47
+ * // name: "STRING_VALUE",
48
+ * // email: "STRING_VALUE",
49
+ * // date: "STRING_VALUE",
50
+ * // },
51
+ * // committer: {
52
+ * // name: "STRING_VALUE",
53
+ * // email: "STRING_VALUE",
54
+ * // date: "STRING_VALUE",
55
+ * // },
56
+ * // additionalData: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // errors: [ // BatchGetCommitsErrorsList
60
+ * // { // BatchGetCommitsError
61
+ * // commitId: "STRING_VALUE",
62
+ * // errorCode: "STRING_VALUE",
63
+ * // errorMessage: "STRING_VALUE",
64
+ * // },
65
+ * // ],
66
+ * // };
67
+ *
37
68
  * ```
38
69
  *
39
70
  * @param BatchGetCommitsCommandInput - {@link BatchGetCommitsCommandInput}
@@ -78,6 +109,8 @@ export interface BatchGetCommitsCommandOutput extends BatchGetCommitsOutput, __M
78
109
  * @throws {@link RepositoryNameRequiredException} (client fault)
79
110
  * <p>A repository name is required, but was not specified.</p>
80
111
  *
112
+ * @throws {@link CodeCommitServiceException}
113
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
81
114
  *
82
115
  */
83
116
  export declare class BatchGetCommitsCommand extends $Command<BatchGetCommitsCommandInput, BatchGetCommitsCommandOutput, CodeCommitClientResolvedConfig> {
@@ -40,6 +40,26 @@ export interface BatchGetRepositoriesCommandOutput extends BatchGetRepositoriesO
40
40
  * };
41
41
  * const command = new BatchGetRepositoriesCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // BatchGetRepositoriesOutput
44
+ * // repositories: [ // RepositoryMetadataList
45
+ * // { // RepositoryMetadata
46
+ * // accountId: "STRING_VALUE",
47
+ * // repositoryId: "STRING_VALUE",
48
+ * // repositoryName: "STRING_VALUE",
49
+ * // repositoryDescription: "STRING_VALUE",
50
+ * // defaultBranch: "STRING_VALUE",
51
+ * // lastModifiedDate: new Date("TIMESTAMP"),
52
+ * // creationDate: new Date("TIMESTAMP"),
53
+ * // cloneUrlHttp: "STRING_VALUE",
54
+ * // cloneUrlSsh: "STRING_VALUE",
55
+ * // Arn: "STRING_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // repositoriesNotFound: [ // RepositoryNotFoundList
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // };
62
+ *
43
63
  * ```
44
64
  *
45
65
  * @param BatchGetRepositoriesCommandInput - {@link BatchGetRepositoriesCommandInput}
@@ -78,6 +98,8 @@ export interface BatchGetRepositoriesCommandOutput extends BatchGetRepositoriesO
78
98
  * @throws {@link RepositoryNamesRequiredException} (client fault)
79
99
  * <p>At least one repository name object is required, but was not specified.</p>
80
100
  *
101
+ * @throws {@link CodeCommitServiceException}
102
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
81
103
  *
82
104
  */
83
105
  export declare class BatchGetRepositoriesCommand extends $Command<BatchGetRepositoriesCommandInput, BatchGetRepositoriesCommandOutput, CodeCommitClientResolvedConfig> {
@@ -37,6 +37,19 @@ export interface CreateApprovalRuleTemplateCommandOutput extends CreateApprovalR
37
37
  * };
38
38
  * const command = new CreateApprovalRuleTemplateCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // CreateApprovalRuleTemplateOutput
41
+ * // approvalRuleTemplate: { // ApprovalRuleTemplate
42
+ * // approvalRuleTemplateId: "STRING_VALUE",
43
+ * // approvalRuleTemplateName: "STRING_VALUE",
44
+ * // approvalRuleTemplateDescription: "STRING_VALUE",
45
+ * // approvalRuleTemplateContent: "STRING_VALUE",
46
+ * // ruleContentSha256: "STRING_VALUE",
47
+ * // lastModifiedDate: new Date("TIMESTAMP"),
48
+ * // creationDate: new Date("TIMESTAMP"),
49
+ * // lastModifiedUser: "STRING_VALUE",
50
+ * // },
51
+ * // };
52
+ *
40
53
  * ```
41
54
  *
42
55
  * @param CreateApprovalRuleTemplateCommandInput - {@link CreateApprovalRuleTemplateCommandInput}
@@ -74,6 +87,8 @@ export interface CreateApprovalRuleTemplateCommandOutput extends CreateApprovalR
74
87
  * @throws {@link NumberOfRuleTemplatesExceededException} (client fault)
75
88
  * <p>The maximum number of approval rule templates has been exceeded for this AWS Region. </p>
76
89
  *
90
+ * @throws {@link CodeCommitServiceException}
91
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
77
92
  *
78
93
  */
79
94
  export declare class CreateApprovalRuleTemplateCommand extends $Command<CreateApprovalRuleTemplateCommandInput, CreateApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface CreateBranchCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new CreateBranchCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param CreateBranchCommandInput - {@link CreateBranchCommandInput}
@@ -93,6 +95,8 @@ export interface CreateBranchCommandOutput extends __MetadataBearer {
93
95
  * @throws {@link RepositoryNameRequiredException} (client fault)
94
96
  * <p>A repository name is required, but was not specified.</p>
95
97
  *
98
+ * @throws {@link CodeCommitServiceException}
99
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
96
100
  *
97
101
  */
98
102
  export declare class CreateBranchCommand extends $Command<CreateBranchCommandInput, CreateBranchCommandOutput, CodeCommitClientResolvedConfig> {
@@ -59,6 +59,32 @@ export interface CreateCommitCommandOutput extends CreateCommitOutput, __Metadat
59
59
  * };
60
60
  * const command = new CreateCommitCommand(input);
61
61
  * const response = await client.send(command);
62
+ * // { // CreateCommitOutput
63
+ * // commitId: "STRING_VALUE",
64
+ * // treeId: "STRING_VALUE",
65
+ * // filesAdded: [ // FilesMetadata
66
+ * // { // FileMetadata
67
+ * // absolutePath: "STRING_VALUE",
68
+ * // blobId: "STRING_VALUE",
69
+ * // fileMode: "STRING_VALUE",
70
+ * // },
71
+ * // ],
72
+ * // filesUpdated: [
73
+ * // {
74
+ * // absolutePath: "STRING_VALUE",
75
+ * // blobId: "STRING_VALUE",
76
+ * // fileMode: "STRING_VALUE",
77
+ * // },
78
+ * // ],
79
+ * // filesDeleted: [
80
+ * // {
81
+ * // absolutePath: "STRING_VALUE",
82
+ * // blobId: "STRING_VALUE",
83
+ * // fileMode: "STRING_VALUE",
84
+ * // },
85
+ * // ],
86
+ * // };
87
+ *
62
88
  * ```
63
89
  *
64
90
  * @param CreateCommitCommandInput - {@link CreateCommitCommandInput}
@@ -206,6 +232,8 @@ export interface CreateCommitCommandOutput extends CreateCommitOutput, __Metadat
206
232
  * @throws {@link SourceFileOrContentRequiredException} (client fault)
207
233
  * <p>The commit cannot be created because no source files or file content have been specified for the commit.</p>
208
234
  *
235
+ * @throws {@link CodeCommitServiceException}
236
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
209
237
  *
210
238
  */
211
239
  export declare class CreateCommitCommand extends $Command<CreateCommitCommandInput, CreateCommitCommandOutput, CodeCommitClientResolvedConfig> {
@@ -33,6 +33,22 @@ export interface CreatePullRequestApprovalRuleCommandOutput extends CreatePullRe
33
33
  * };
34
34
  * const command = new CreatePullRequestApprovalRuleCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // CreatePullRequestApprovalRuleOutput
37
+ * // approvalRule: { // ApprovalRule
38
+ * // approvalRuleId: "STRING_VALUE",
39
+ * // approvalRuleName: "STRING_VALUE",
40
+ * // approvalRuleContent: "STRING_VALUE",
41
+ * // ruleContentSha256: "STRING_VALUE",
42
+ * // lastModifiedDate: new Date("TIMESTAMP"),
43
+ * // creationDate: new Date("TIMESTAMP"),
44
+ * // lastModifiedUser: "STRING_VALUE",
45
+ * // originApprovalRuleTemplate: { // OriginApprovalRuleTemplate
46
+ * // approvalRuleTemplateId: "STRING_VALUE",
47
+ * // approvalRuleTemplateName: "STRING_VALUE",
48
+ * // },
49
+ * // },
50
+ * // };
51
+ *
36
52
  * ```
37
53
  *
38
54
  * @param CreatePullRequestApprovalRuleCommandInput - {@link CreatePullRequestApprovalRuleCommandInput}
@@ -87,6 +103,8 @@ export interface CreatePullRequestApprovalRuleCommandOutput extends CreatePullRe
87
103
  * @throws {@link PullRequestIdRequiredException} (client fault)
88
104
  * <p>A pull request ID is required, but none was provided.</p>
89
105
  *
106
+ * @throws {@link CodeCommitServiceException}
107
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
90
108
  *
91
109
  */
92
110
  export declare class CreatePullRequestApprovalRuleCommand extends $Command<CreatePullRequestApprovalRuleCommandInput, CreatePullRequestApprovalRuleCommandOutput, CodeCommitClientResolvedConfig> {
@@ -40,6 +40,51 @@ export interface CreatePullRequestCommandOutput extends CreatePullRequestOutput,
40
40
  * };
41
41
  * const command = new CreatePullRequestCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // CreatePullRequestOutput
44
+ * // pullRequest: { // PullRequest
45
+ * // pullRequestId: "STRING_VALUE",
46
+ * // title: "STRING_VALUE",
47
+ * // description: "STRING_VALUE",
48
+ * // lastActivityDate: new Date("TIMESTAMP"),
49
+ * // creationDate: new Date("TIMESTAMP"),
50
+ * // pullRequestStatus: "STRING_VALUE",
51
+ * // authorArn: "STRING_VALUE",
52
+ * // pullRequestTargets: [ // PullRequestTargetList
53
+ * // { // PullRequestTarget
54
+ * // repositoryName: "STRING_VALUE",
55
+ * // sourceReference: "STRING_VALUE",
56
+ * // destinationReference: "STRING_VALUE",
57
+ * // destinationCommit: "STRING_VALUE",
58
+ * // sourceCommit: "STRING_VALUE",
59
+ * // mergeBase: "STRING_VALUE",
60
+ * // mergeMetadata: { // MergeMetadata
61
+ * // isMerged: true || false,
62
+ * // mergedBy: "STRING_VALUE",
63
+ * // mergeCommitId: "STRING_VALUE",
64
+ * // mergeOption: "STRING_VALUE",
65
+ * // },
66
+ * // },
67
+ * // ],
68
+ * // clientRequestToken: "STRING_VALUE",
69
+ * // revisionId: "STRING_VALUE",
70
+ * // approvalRules: [ // ApprovalRulesList
71
+ * // { // ApprovalRule
72
+ * // approvalRuleId: "STRING_VALUE",
73
+ * // approvalRuleName: "STRING_VALUE",
74
+ * // approvalRuleContent: "STRING_VALUE",
75
+ * // ruleContentSha256: "STRING_VALUE",
76
+ * // lastModifiedDate: new Date("TIMESTAMP"),
77
+ * // creationDate: new Date("TIMESTAMP"),
78
+ * // lastModifiedUser: "STRING_VALUE",
79
+ * // originApprovalRuleTemplate: { // OriginApprovalRuleTemplate
80
+ * // approvalRuleTemplateId: "STRING_VALUE",
81
+ * // approvalRuleTemplateName: "STRING_VALUE",
82
+ * // },
83
+ * // },
84
+ * // ],
85
+ * // },
86
+ * // };
87
+ *
43
88
  * ```
44
89
  *
45
90
  * @param CreatePullRequestCommandInput - {@link CreatePullRequestCommandInput}
@@ -140,6 +185,8 @@ export interface CreatePullRequestCommandOutput extends CreatePullRequestOutput,
140
185
  * @throws {@link TitleRequiredException} (client fault)
141
186
  * <p>A pull request title is required. It cannot be empty or null.</p>
142
187
  *
188
+ * @throws {@link CodeCommitServiceException}
189
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
143
190
  *
144
191
  */
145
192
  export declare class CreatePullRequestCommand extends $Command<CreatePullRequestCommandInput, CreatePullRequestCommandOutput, CodeCommitClientResolvedConfig> {
@@ -35,6 +35,21 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryOutput, _
35
35
  * };
36
36
  * const command = new CreateRepositoryCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // CreateRepositoryOutput
39
+ * // repositoryMetadata: { // RepositoryMetadata
40
+ * // accountId: "STRING_VALUE",
41
+ * // repositoryId: "STRING_VALUE",
42
+ * // repositoryName: "STRING_VALUE",
43
+ * // repositoryDescription: "STRING_VALUE",
44
+ * // defaultBranch: "STRING_VALUE",
45
+ * // lastModifiedDate: new Date("TIMESTAMP"),
46
+ * // creationDate: new Date("TIMESTAMP"),
47
+ * // cloneUrlHttp: "STRING_VALUE",
48
+ * // cloneUrlSsh: "STRING_VALUE",
49
+ * // Arn: "STRING_VALUE",
50
+ * // },
51
+ * // };
52
+ *
38
53
  * ```
39
54
  *
40
55
  * @param CreateRepositoryCommandInput - {@link CreateRepositoryCommandInput}
@@ -91,6 +106,8 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryOutput, _
91
106
  * @throws {@link TooManyTagsException} (client fault)
92
107
  * <p>The maximum number of tags for an AWS CodeCommit resource has been exceeded.</p>
93
108
  *
109
+ * @throws {@link CodeCommitServiceException}
110
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
94
111
  *
95
112
  */
96
113
  export declare class CreateRepositoryCommand extends $Command<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, CodeCommitClientResolvedConfig> {
@@ -68,6 +68,11 @@ export interface CreateUnreferencedMergeCommitCommandOutput extends CreateUnrefe
68
68
  * };
69
69
  * const command = new CreateUnreferencedMergeCommitCommand(input);
70
70
  * const response = await client.send(command);
71
+ * // { // CreateUnreferencedMergeCommitOutput
72
+ * // commitId: "STRING_VALUE",
73
+ * // treeId: "STRING_VALUE",
74
+ * // };
75
+ *
71
76
  * ```
72
77
  *
73
78
  * @param CreateUnreferencedMergeCommitCommandInput - {@link CreateUnreferencedMergeCommitCommandInput}
@@ -197,6 +202,8 @@ export interface CreateUnreferencedMergeCommitCommandOutput extends CreateUnrefe
197
202
  * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
198
203
  * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
199
204
  *
205
+ * @throws {@link CodeCommitServiceException}
206
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
200
207
  *
201
208
  */
202
209
  export declare class CreateUnreferencedMergeCommitCommand extends $Command<CreateUnreferencedMergeCommitCommandInput, CreateUnreferencedMergeCommitCommandOutput, CodeCommitClientResolvedConfig> {
@@ -31,6 +31,10 @@ export interface DeleteApprovalRuleTemplateCommandOutput extends DeleteApprovalR
31
31
  * };
32
32
  * const command = new DeleteApprovalRuleTemplateCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DeleteApprovalRuleTemplateOutput
35
+ * // approvalRuleTemplateId: "STRING_VALUE", // required
36
+ * // };
37
+ *
34
38
  * ```
35
39
  *
36
40
  * @param DeleteApprovalRuleTemplateCommandInput - {@link DeleteApprovalRuleTemplateCommandInput}
@@ -52,6 +56,8 @@ export interface DeleteApprovalRuleTemplateCommandOutput extends DeleteApprovalR
52
56
  * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
53
57
  * CodeCommit User Guide</a>.</p>
54
58
  *
59
+ * @throws {@link CodeCommitServiceException}
60
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
55
61
  *
56
62
  */
57
63
  export declare class DeleteApprovalRuleTemplateCommand extends $Command<DeleteApprovalRuleTemplateCommandInput, DeleteApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig> {
@@ -32,6 +32,13 @@ export interface DeleteBranchCommandOutput extends DeleteBranchOutput, __Metadat
32
32
  * };
33
33
  * const command = new DeleteBranchCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DeleteBranchOutput
36
+ * // deletedBranch: { // BranchInfo
37
+ * // branchName: "STRING_VALUE",
38
+ * // commitId: "STRING_VALUE",
39
+ * // },
40
+ * // };
41
+ *
35
42
  * ```
36
43
  *
37
44
  * @param DeleteBranchCommandInput - {@link DeleteBranchCommandInput}
@@ -79,6 +86,8 @@ export interface DeleteBranchCommandOutput extends DeleteBranchOutput, __Metadat
79
86
  * @throws {@link RepositoryNameRequiredException} (client fault)
80
87
  * <p>A repository name is required, but was not specified.</p>
81
88
  *
89
+ * @throws {@link CodeCommitServiceException}
90
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
82
91
  *
83
92
  */
84
93
  export declare class DeleteBranchCommand extends $Command<DeleteBranchCommandInput, DeleteBranchCommandOutput, CodeCommitClientResolvedConfig> {
@@ -31,6 +31,25 @@ export interface DeleteCommentContentCommandOutput extends DeleteCommentContentO
31
31
  * };
32
32
  * const command = new DeleteCommentContentCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DeleteCommentContentOutput
35
+ * // comment: { // Comment
36
+ * // commentId: "STRING_VALUE",
37
+ * // content: "STRING_VALUE",
38
+ * // inReplyTo: "STRING_VALUE",
39
+ * // creationDate: new Date("TIMESTAMP"),
40
+ * // lastModifiedDate: new Date("TIMESTAMP"),
41
+ * // authorArn: "STRING_VALUE",
42
+ * // deleted: true || false,
43
+ * // clientRequestToken: "STRING_VALUE",
44
+ * // callerReactions: [ // CallerReactions
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // reactionCounts: { // ReactionCountsMap
48
+ * // "<keys>": Number("int"),
49
+ * // },
50
+ * // },
51
+ * // };
52
+ *
34
53
  * ```
35
54
  *
36
55
  * @param DeleteCommentContentCommandInput - {@link DeleteCommentContentCommandInput}
@@ -52,6 +71,8 @@ export interface DeleteCommentContentCommandOutput extends DeleteCommentContentO
52
71
  * @throws {@link InvalidCommentIdException} (client fault)
53
72
  * <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
54
73
  *
74
+ * @throws {@link CodeCommitServiceException}
75
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
55
76
  *
56
77
  */
57
78
  export declare class DeleteCommentContentCommand extends $Command<DeleteCommentContentCommandInput, DeleteCommentContentCommandOutput, CodeCommitClientResolvedConfig> {
@@ -40,6 +40,13 @@ export interface DeleteFileCommandOutput extends DeleteFileOutput, __MetadataBea
40
40
  * };
41
41
  * const command = new DeleteFileCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // DeleteFileOutput
44
+ * // commitId: "STRING_VALUE", // required
45
+ * // blobId: "STRING_VALUE", // required
46
+ * // treeId: "STRING_VALUE", // required
47
+ * // filePath: "STRING_VALUE", // required
48
+ * // };
49
+ *
43
50
  * ```
44
51
  *
45
52
  * @param DeleteFileCommandInput - {@link DeleteFileCommandInput}
@@ -126,6 +133,8 @@ export interface DeleteFileCommandOutput extends DeleteFileOutput, __MetadataBea
126
133
  * @throws {@link RepositoryNameRequiredException} (client fault)
127
134
  * <p>A repository name is required, but was not specified.</p>
128
135
  *
136
+ * @throws {@link CodeCommitServiceException}
137
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
129
138
  *
130
139
  */
131
140
  export declare class DeleteFileCommand extends $Command<DeleteFileCommandInput, DeleteFileCommandOutput, CodeCommitClientResolvedConfig> {
@@ -34,6 +34,10 @@ export interface DeletePullRequestApprovalRuleCommandOutput extends DeletePullRe
34
34
  * };
35
35
  * const command = new DeletePullRequestApprovalRuleCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // DeletePullRequestApprovalRuleOutput
38
+ * // approvalRuleId: "STRING_VALUE", // required
39
+ * // };
40
+ *
37
41
  * ```
38
42
  *
39
43
  * @param DeletePullRequestApprovalRuleCommandInput - {@link DeletePullRequestApprovalRuleCommandInput}
@@ -79,6 +83,8 @@ export interface DeletePullRequestApprovalRuleCommandOutput extends DeletePullRe
79
83
  * @throws {@link PullRequestIdRequiredException} (client fault)
80
84
  * <p>A pull request ID is required, but none was provided.</p>
81
85
  *
86
+ * @throws {@link CodeCommitServiceException}
87
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
82
88
  *
83
89
  */
84
90
  export declare class DeletePullRequestApprovalRuleCommand extends $Command<DeletePullRequestApprovalRuleCommandInput, DeletePullRequestApprovalRuleCommandOutput, CodeCommitClientResolvedConfig> {
@@ -36,6 +36,10 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryOutput, _
36
36
  * };
37
37
  * const command = new DeleteRepositoryCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // DeleteRepositoryOutput
40
+ * // repositoryId: "STRING_VALUE",
41
+ * // };
42
+ *
39
43
  * ```
40
44
  *
41
45
  * @param DeleteRepositoryCommandInput - {@link DeleteRepositoryCommandInput}
@@ -71,6 +75,8 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryOutput, _
71
75
  * @throws {@link RepositoryNameRequiredException} (client fault)
72
76
  * <p>A repository name is required, but was not specified.</p>
73
77
  *
78
+ * @throws {@link CodeCommitServiceException}
79
+ * <p>Base exception class for all service exceptions from CodeCommit service.</p>
74
80
  *
75
81
  */
76
82
  export declare class DeleteRepositoryCommand extends $Command<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput, CodeCommitClientResolvedConfig> {