@aws-sdk/client-codecommit 3.299.0 → 3.300.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 +6 -0
  3. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +14 -0
  4. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +6 -0
  5. package/dist-types/commands/BatchGetCommitsCommand.d.ts +6 -0
  6. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +5 -0
  7. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +5 -0
  8. package/dist-types/commands/CreateBranchCommand.d.ts +5 -0
  9. package/dist-types/commands/CreateCommitCommand.d.ts +31 -0
  10. package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +5 -0
  11. package/dist-types/commands/CreatePullRequestCommand.d.ts +12 -0
  12. package/dist-types/commands/CreateRepositoryCommand.d.ts +7 -0
  13. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +33 -0
  14. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +3 -0
  15. package/dist-types/commands/DeleteBranchCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteCommentContentCommand.d.ts +3 -0
  17. package/dist-types/commands/DeleteFileCommand.d.ts +10 -0
  18. package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +4 -0
  19. package/dist-types/commands/DeleteRepositoryCommand.d.ts +3 -0
  20. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +11 -0
  21. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +7 -0
  22. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +4 -0
  23. package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +4 -0
  24. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +3 -0
  25. package/dist-types/commands/GetBlobCommand.d.ts +4 -0
  26. package/dist-types/commands/GetBranchCommand.d.ts +4 -0
  27. package/dist-types/commands/GetCommentCommand.d.ts +3 -0
  28. package/dist-types/commands/GetCommentReactionsCommand.d.ts +6 -0
  29. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +7 -0
  30. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +8 -0
  31. package/dist-types/commands/GetCommitCommand.d.ts +4 -0
  32. package/dist-types/commands/GetDifferencesCommand.d.ts +9 -0
  33. package/dist-types/commands/GetFileCommand.d.ts +5 -0
  34. package/dist-types/commands/GetFolderCommand.d.ts +5 -0
  35. package/dist-types/commands/GetMergeCommitCommand.d.ts +7 -0
  36. package/dist-types/commands/GetMergeConflictsCommand.d.ts +10 -0
  37. package/dist-types/commands/GetMergeOptionsCommand.d.ts +7 -0
  38. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +4 -0
  39. package/dist-types/commands/GetPullRequestCommand.d.ts +3 -0
  40. package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +4 -0
  41. package/dist-types/commands/GetRepositoryCommand.d.ts +3 -0
  42. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +3 -0
  43. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +4 -0
  44. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +5 -0
  45. package/dist-types/commands/ListBranchesCommand.d.ts +4 -0
  46. package/dist-types/commands/ListPullRequestsCommand.d.ts +7 -0
  47. package/dist-types/commands/ListRepositoriesCommand.d.ts +5 -0
  48. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +5 -0
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  50. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +6 -0
  51. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +33 -0
  52. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +33 -0
  53. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +5 -0
  54. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +32 -0
  55. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +32 -0
  56. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +5 -0
  57. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +12 -0
  58. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +13 -0
  59. package/dist-types/commands/PostCommentReplyCommand.d.ts +5 -0
  60. package/dist-types/commands/PutCommentReactionCommand.d.ts +4 -0
  61. package/dist-types/commands/PutFileCommand.d.ts +11 -0
  62. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +16 -0
  63. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  64. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +16 -0
  65. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  66. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +5 -0
  67. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +4 -0
  68. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +4 -0
  69. package/dist-types/commands/UpdateCommentCommand.d.ts +4 -0
  70. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +4 -0
  71. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +6 -0
  72. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +5 -0
  73. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +4 -0
  74. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +4 -0
  75. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +4 -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 +8 -8
@@ -26,6 +26,9 @@ export interface GetRepositoryTriggersCommandOutput extends GetRepositoryTrigger
26
26
  * import { CodeCommitClient, GetRepositoryTriggersCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
27
27
  * // const { CodeCommitClient, GetRepositoryTriggersCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
28
28
  * const client = new CodeCommitClient(config);
29
+ * const input = {
30
+ * repositoryName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetRepositoryTriggersCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,10 @@ export interface ListApprovalRuleTemplatesCommandOutput extends ListApprovalRule
27
27
  * import { CodeCommitClient, ListApprovalRuleTemplatesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
28
28
  * // const { CodeCommitClient, ListApprovalRuleTemplatesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
29
29
  * const client = new CodeCommitClient(config);
30
+ * const input = {
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
30
34
  * const command = new ListApprovalRuleTemplatesCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -26,6 +26,11 @@ export interface ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput e
26
26
  * import { CodeCommitClient, ListAssociatedApprovalRuleTemplatesForRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
27
27
  * // const { CodeCommitClient, ListAssociatedApprovalRuleTemplatesForRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
28
28
  * const client = new CodeCommitClient(config);
29
+ * const input = {
30
+ * repositoryName: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListAssociatedApprovalRuleTemplatesForRepositoryCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface ListBranchesCommandOutput extends ListBranchesOutput, __Metadat
26
26
  * import { CodeCommitClient, ListBranchesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
27
27
  * // const { CodeCommitClient, ListBranchesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
28
28
  * const client = new CodeCommitClient(config);
29
+ * const input = {
30
+ * repositoryName: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListBranchesCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -27,6 +27,13 @@ export interface ListPullRequestsCommandOutput extends ListPullRequestsOutput, _
27
27
  * import { CodeCommitClient, ListPullRequestsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
28
28
  * // const { CodeCommitClient, ListPullRequestsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
29
29
  * const client = new CodeCommitClient(config);
30
+ * const input = {
31
+ * repositoryName: "STRING_VALUE", // required
32
+ * authorArn: "STRING_VALUE",
33
+ * pullRequestStatus: "STRING_VALUE",
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
30
37
  * const command = new ListPullRequestsCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -26,6 +26,11 @@ export interface ListRepositoriesCommandOutput extends ListRepositoriesOutput, _
26
26
  * import { CodeCommitClient, ListRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
27
27
  * // const { CodeCommitClient, ListRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
28
28
  * const client = new CodeCommitClient(config);
29
+ * const input = {
30
+ * nextToken: "STRING_VALUE",
31
+ * sortBy: "STRING_VALUE",
32
+ * order: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListRepositoriesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface ListRepositoriesForApprovalRuleTemplateCommandOutput extends Li
26
26
  * import { CodeCommitClient, ListRepositoriesForApprovalRuleTemplateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
27
27
  * // const { CodeCommitClient, ListRepositoriesForApprovalRuleTemplateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
28
28
  * const client = new CodeCommitClient(config);
29
+ * const input = {
30
+ * approvalRuleTemplateName: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListRepositoriesForApprovalRuleTemplateCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -28,6 +28,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
28
28
  * import { CodeCommitClient, ListTagsForResourceCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
29
29
  * // const { CodeCommitClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
30
30
  * const client = new CodeCommitClient(config);
31
+ * const input = {
32
+ * resourceArn: "STRING_VALUE", // required
33
+ * nextToken: "STRING_VALUE",
34
+ * };
31
35
  * const command = new ListTagsForResourceCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -26,6 +26,12 @@ export interface MergeBranchesByFastForwardCommandOutput extends MergeBranchesBy
26
26
  * import { CodeCommitClient, MergeBranchesByFastForwardCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
27
27
  * // const { CodeCommitClient, MergeBranchesByFastForwardCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
28
28
  * const client = new CodeCommitClient(config);
29
+ * const input = {
30
+ * repositoryName: "STRING_VALUE", // required
31
+ * sourceCommitSpecifier: "STRING_VALUE", // required
32
+ * destinationCommitSpecifier: "STRING_VALUE", // required
33
+ * targetBranch: "STRING_VALUE",
34
+ * };
29
35
  * const command = new MergeBranchesByFastForwardCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,39 @@ export interface MergeBranchesBySquashCommandOutput extends MergeBranchesBySquas
26
26
  * import { CodeCommitClient, MergeBranchesBySquashCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
27
27
  * // const { CodeCommitClient, MergeBranchesBySquashCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
28
28
  * const client = new CodeCommitClient(config);
29
+ * const input = {
30
+ * repositoryName: "STRING_VALUE", // required
31
+ * sourceCommitSpecifier: "STRING_VALUE", // required
32
+ * destinationCommitSpecifier: "STRING_VALUE", // required
33
+ * targetBranch: "STRING_VALUE",
34
+ * conflictDetailLevel: "STRING_VALUE",
35
+ * conflictResolutionStrategy: "STRING_VALUE",
36
+ * authorName: "STRING_VALUE",
37
+ * email: "STRING_VALUE",
38
+ * commitMessage: "STRING_VALUE",
39
+ * keepEmptyFolders: true || false,
40
+ * conflictResolution: {
41
+ * replaceContents: [
42
+ * {
43
+ * filePath: "STRING_VALUE", // required
44
+ * replacementType: "STRING_VALUE", // required
45
+ * content: "BLOB_VALUE",
46
+ * fileMode: "STRING_VALUE",
47
+ * },
48
+ * ],
49
+ * deleteFiles: [
50
+ * {
51
+ * filePath: "STRING_VALUE", // required
52
+ * },
53
+ * ],
54
+ * setFileModes: [
55
+ * {
56
+ * filePath: "STRING_VALUE", // required
57
+ * fileMode: "STRING_VALUE", // required
58
+ * },
59
+ * ],
60
+ * },
61
+ * };
29
62
  * const command = new MergeBranchesBySquashCommand(input);
30
63
  * const response = await client.send(command);
31
64
  * ```
@@ -26,6 +26,39 @@ export interface MergeBranchesByThreeWayCommandOutput extends MergeBranchesByThr
26
26
  * import { CodeCommitClient, MergeBranchesByThreeWayCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
27
27
  * // const { CodeCommitClient, MergeBranchesByThreeWayCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
28
28
  * const client = new CodeCommitClient(config);
29
+ * const input = {
30
+ * repositoryName: "STRING_VALUE", // required
31
+ * sourceCommitSpecifier: "STRING_VALUE", // required
32
+ * destinationCommitSpecifier: "STRING_VALUE", // required
33
+ * targetBranch: "STRING_VALUE",
34
+ * conflictDetailLevel: "STRING_VALUE",
35
+ * conflictResolutionStrategy: "STRING_VALUE",
36
+ * authorName: "STRING_VALUE",
37
+ * email: "STRING_VALUE",
38
+ * commitMessage: "STRING_VALUE",
39
+ * keepEmptyFolders: true || false,
40
+ * conflictResolution: {
41
+ * replaceContents: [
42
+ * {
43
+ * filePath: "STRING_VALUE", // required
44
+ * replacementType: "STRING_VALUE", // required
45
+ * content: "BLOB_VALUE",
46
+ * fileMode: "STRING_VALUE",
47
+ * },
48
+ * ],
49
+ * deleteFiles: [
50
+ * {
51
+ * filePath: "STRING_VALUE", // required
52
+ * },
53
+ * ],
54
+ * setFileModes: [
55
+ * {
56
+ * filePath: "STRING_VALUE", // required
57
+ * fileMode: "STRING_VALUE", // required
58
+ * },
59
+ * ],
60
+ * },
61
+ * };
29
62
  * const command = new MergeBranchesByThreeWayCommand(input);
30
63
  * const response = await client.send(command);
31
64
  * ```
@@ -27,6 +27,11 @@ export interface MergePullRequestByFastForwardCommandOutput extends MergePullReq
27
27
  * import { CodeCommitClient, MergePullRequestByFastForwardCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
28
28
  * // const { CodeCommitClient, MergePullRequestByFastForwardCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
29
29
  * const client = new CodeCommitClient(config);
30
+ * const input = {
31
+ * pullRequestId: "STRING_VALUE", // required
32
+ * repositoryName: "STRING_VALUE", // required
33
+ * sourceCommitId: "STRING_VALUE",
34
+ * };
30
35
  * const command = new MergePullRequestByFastForwardCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,38 @@ export interface MergePullRequestBySquashCommandOutput extends MergePullRequestB
27
27
  * import { CodeCommitClient, MergePullRequestBySquashCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
28
28
  * // const { CodeCommitClient, MergePullRequestBySquashCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
29
29
  * const client = new CodeCommitClient(config);
30
+ * const input = {
31
+ * pullRequestId: "STRING_VALUE", // required
32
+ * repositoryName: "STRING_VALUE", // required
33
+ * sourceCommitId: "STRING_VALUE",
34
+ * conflictDetailLevel: "STRING_VALUE",
35
+ * conflictResolutionStrategy: "STRING_VALUE",
36
+ * commitMessage: "STRING_VALUE",
37
+ * authorName: "STRING_VALUE",
38
+ * email: "STRING_VALUE",
39
+ * keepEmptyFolders: true || false,
40
+ * conflictResolution: {
41
+ * replaceContents: [
42
+ * {
43
+ * filePath: "STRING_VALUE", // required
44
+ * replacementType: "STRING_VALUE", // required
45
+ * content: "BLOB_VALUE",
46
+ * fileMode: "STRING_VALUE",
47
+ * },
48
+ * ],
49
+ * deleteFiles: [
50
+ * {
51
+ * filePath: "STRING_VALUE", // required
52
+ * },
53
+ * ],
54
+ * setFileModes: [
55
+ * {
56
+ * filePath: "STRING_VALUE", // required
57
+ * fileMode: "STRING_VALUE", // required
58
+ * },
59
+ * ],
60
+ * },
61
+ * };
30
62
  * const command = new MergePullRequestBySquashCommand(input);
31
63
  * const response = await client.send(command);
32
64
  * ```
@@ -27,6 +27,38 @@ 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 = {
31
+ * pullRequestId: "STRING_VALUE", // required
32
+ * repositoryName: "STRING_VALUE", // required
33
+ * sourceCommitId: "STRING_VALUE",
34
+ * conflictDetailLevel: "STRING_VALUE",
35
+ * conflictResolutionStrategy: "STRING_VALUE",
36
+ * commitMessage: "STRING_VALUE",
37
+ * authorName: "STRING_VALUE",
38
+ * email: "STRING_VALUE",
39
+ * keepEmptyFolders: true || false,
40
+ * conflictResolution: {
41
+ * replaceContents: [
42
+ * {
43
+ * filePath: "STRING_VALUE", // required
44
+ * replacementType: "STRING_VALUE", // required
45
+ * content: "BLOB_VALUE",
46
+ * fileMode: "STRING_VALUE",
47
+ * },
48
+ * ],
49
+ * deleteFiles: [
50
+ * {
51
+ * filePath: "STRING_VALUE", // required
52
+ * },
53
+ * ],
54
+ * setFileModes: [
55
+ * {
56
+ * filePath: "STRING_VALUE", // required
57
+ * fileMode: "STRING_VALUE", // required
58
+ * },
59
+ * ],
60
+ * },
61
+ * };
30
62
  * const command = new MergePullRequestByThreeWayCommand(input);
31
63
  * const response = await client.send(command);
32
64
  * ```
@@ -26,6 +26,11 @@ 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 = {
30
+ * pullRequestId: "STRING_VALUE", // required
31
+ * revisionId: "STRING_VALUE", // required
32
+ * overrideStatus: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new OverridePullRequestApprovalRulesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,18 @@ 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 = {
30
+ * repositoryName: "STRING_VALUE", // required
31
+ * beforeCommitId: "STRING_VALUE",
32
+ * afterCommitId: "STRING_VALUE", // required
33
+ * location: {
34
+ * filePath: "STRING_VALUE",
35
+ * filePosition: Number("long"),
36
+ * relativeFileVersion: "STRING_VALUE",
37
+ * },
38
+ * content: "STRING_VALUE", // required
39
+ * clientRequestToken: "STRING_VALUE",
40
+ * };
29
41
  * const command = new PostCommentForComparedCommitCommand(input);
30
42
  * const response = await client.send(command);
31
43
  * ```
@@ -26,6 +26,19 @@ 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 = {
30
+ * pullRequestId: "STRING_VALUE", // required
31
+ * repositoryName: "STRING_VALUE", // required
32
+ * beforeCommitId: "STRING_VALUE", // required
33
+ * afterCommitId: "STRING_VALUE", // required
34
+ * location: {
35
+ * filePath: "STRING_VALUE",
36
+ * filePosition: Number("long"),
37
+ * relativeFileVersion: "STRING_VALUE",
38
+ * },
39
+ * content: "STRING_VALUE", // required
40
+ * clientRequestToken: "STRING_VALUE",
41
+ * };
29
42
  * const command = new PostCommentForPullRequestCommand(input);
30
43
  * const response = await client.send(command);
31
44
  * ```
@@ -26,6 +26,11 @@ 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 = {
30
+ * inReplyTo: "STRING_VALUE", // required
31
+ * clientRequestToken: "STRING_VALUE",
32
+ * content: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new PostCommentReplyCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,10 @@ 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 = {
31
+ * commentId: "STRING_VALUE", // required
32
+ * reactionValue: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new PutCommentReactionCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -26,6 +26,17 @@ 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 = {
30
+ * repositoryName: "STRING_VALUE", // required
31
+ * branchName: "STRING_VALUE", // required
32
+ * fileContent: "BLOB_VALUE", // required
33
+ * filePath: "STRING_VALUE", // required
34
+ * fileMode: "STRING_VALUE",
35
+ * parentCommitId: "STRING_VALUE",
36
+ * commitMessage: "STRING_VALUE",
37
+ * name: "STRING_VALUE",
38
+ * email: "STRING_VALUE",
39
+ * };
29
40
  * const command = new PutFileCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -26,6 +26,22 @@ 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 = {
30
+ * repositoryName: "STRING_VALUE", // required
31
+ * triggers: [ // required
32
+ * {
33
+ * name: "STRING_VALUE", // required
34
+ * destinationArn: "STRING_VALUE", // required
35
+ * customData: "STRING_VALUE",
36
+ * branches: [
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * events: [ // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * },
43
+ * ],
44
+ * };
29
45
  * const command = new PutRepositoryTriggersCommand(input);
30
46
  * const response = await client.send(command);
31
47
  * ```
@@ -28,6 +28,12 @@ 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 = {
32
+ * resourceArn: "STRING_VALUE", // required
33
+ * tags: { // required
34
+ * "<keys>": "STRING_VALUE",
35
+ * },
36
+ * };
31
37
  * const command = new TagResourceCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -28,6 +28,22 @@ 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 = {
32
+ * repositoryName: "STRING_VALUE", // required
33
+ * triggers: [ // required
34
+ * {
35
+ * name: "STRING_VALUE", // required
36
+ * destinationArn: "STRING_VALUE", // required
37
+ * customData: "STRING_VALUE",
38
+ * branches: [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * events: [ // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * },
45
+ * ],
46
+ * };
31
47
  * const command = new TestRepositoryTriggersCommand(input);
32
48
  * const response = await client.send(command);
33
49
  * ```
@@ -28,6 +28,12 @@ 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 = {
32
+ * resourceArn: "STRING_VALUE", // required
33
+ * tagKeys: [ // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * };
31
37
  * const command = new UntagResourceCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -28,6 +28,11 @@ 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 = {
32
+ * approvalRuleTemplateName: "STRING_VALUE", // required
33
+ * newRuleContent: "STRING_VALUE", // required
34
+ * existingRuleContentSha256: "STRING_VALUE",
35
+ * };
31
36
  * const command = new UpdateApprovalRuleTemplateContentCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * approvalRuleTemplateName: "STRING_VALUE", // required
31
+ * approvalRuleTemplateDescription: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new UpdateApprovalRuleTemplateDescriptionCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * oldApprovalRuleTemplateName: "STRING_VALUE", // required
31
+ * newApprovalRuleTemplateName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new UpdateApprovalRuleTemplateNameCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * commentId: "STRING_VALUE", // required
31
+ * content: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new UpdateCommentCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -29,6 +29,10 @@ 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 = {
33
+ * repositoryName: "STRING_VALUE", // required
34
+ * defaultBranchName: "STRING_VALUE", // required
35
+ * };
32
36
  * const command = new UpdateDefaultBranchCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -27,6 +27,12 @@ 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 = {
31
+ * pullRequestId: "STRING_VALUE", // required
32
+ * approvalRuleName: "STRING_VALUE", // required
33
+ * existingRuleContentSha256: "STRING_VALUE",
34
+ * newRuleContent: "STRING_VALUE", // required
35
+ * };
30
36
  * const command = new UpdatePullRequestApprovalRuleContentCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,11 @@ 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 = {
30
+ * pullRequestId: "STRING_VALUE", // required
31
+ * revisionId: "STRING_VALUE", // required
32
+ * approvalState: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new UpdatePullRequestApprovalStateCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * pullRequestId: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new UpdatePullRequestDescriptionCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * pullRequestId: "STRING_VALUE", // required
31
+ * pullRequestStatus: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new UpdatePullRequestStatusCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * pullRequestId: "STRING_VALUE", // required
31
+ * title: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new UpdatePullRequestTitleCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -33,6 +33,10 @@ 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 = {
37
+ * repositoryName: "STRING_VALUE", // required
38
+ * repositoryDescription: "STRING_VALUE",
39
+ * };
36
40
  * const command = new UpdateRepositoryDescriptionCommand(input);
37
41
  * const response = await client.send(command);
38
42
  * ```
@@ -30,6 +30,10 @@ 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 = {
34
+ * oldName: "STRING_VALUE", // required
35
+ * newName: "STRING_VALUE", // required
36
+ * };
33
37
  * const command = new UpdateRepositoryNameCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```