@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.
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +4 -0
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +6 -0
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +14 -0
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +6 -0
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +6 -0
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +5 -0
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +5 -0
- package/dist-types/commands/CreateBranchCommand.d.ts +5 -0
- package/dist-types/commands/CreateCommitCommand.d.ts +31 -0
- package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +5 -0
- package/dist-types/commands/CreatePullRequestCommand.d.ts +12 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +7 -0
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +33 -0
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBranchCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCommentContentCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFileCommand.d.ts +10 -0
- package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +3 -0
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +11 -0
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +7 -0
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +4 -0
- package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +4 -0
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetBlobCommand.d.ts +4 -0
- package/dist-types/commands/GetBranchCommand.d.ts +4 -0
- package/dist-types/commands/GetCommentCommand.d.ts +3 -0
- package/dist-types/commands/GetCommentReactionsCommand.d.ts +6 -0
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +7 -0
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +8 -0
- package/dist-types/commands/GetCommitCommand.d.ts +4 -0
- package/dist-types/commands/GetDifferencesCommand.d.ts +9 -0
- package/dist-types/commands/GetFileCommand.d.ts +5 -0
- package/dist-types/commands/GetFolderCommand.d.ts +5 -0
- package/dist-types/commands/GetMergeCommitCommand.d.ts +7 -0
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +10 -0
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +7 -0
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +4 -0
- package/dist-types/commands/GetPullRequestCommand.d.ts +3 -0
- package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +4 -0
- package/dist-types/commands/GetRepositoryCommand.d.ts +3 -0
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +3 -0
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +4 -0
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +5 -0
- package/dist-types/commands/ListBranchesCommand.d.ts +4 -0
- package/dist-types/commands/ListPullRequestsCommand.d.ts +7 -0
- package/dist-types/commands/ListRepositoriesCommand.d.ts +5 -0
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +6 -0
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +33 -0
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +33 -0
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +5 -0
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +32 -0
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +32 -0
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +5 -0
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +12 -0
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +13 -0
- package/dist-types/commands/PostCommentReplyCommand.d.ts +5 -0
- package/dist-types/commands/PutCommentReactionCommand.d.ts +4 -0
- package/dist-types/commands/PutFileCommand.d.ts +11 -0
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +5 -0
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +4 -0
- package/dist-types/commands/UpdateCommentCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +4 -0
- package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +6 -0
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +5 -0
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +4 -0
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +4 -0
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +4 -0
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +4 -0
- package/package.json +8 -8
|
@@ -32,6 +32,10 @@ export interface AssociateApprovalRuleTemplateWithRepositoryCommandOutput extend
|
|
|
32
32
|
* import { CodeCommitClient, AssociateApprovalRuleTemplateWithRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
33
33
|
* // const { CodeCommitClient, AssociateApprovalRuleTemplateWithRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
34
34
|
* const client = new CodeCommitClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
37
|
+
* repositoryName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
35
39
|
* const command = new AssociateApprovalRuleTemplateWithRepositoryCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput
|
|
|
26
26
|
* import { CodeCommitClient, BatchAssociateApprovalRuleTemplateWithRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, BatchAssociateApprovalRuleTemplateWithRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
31
|
+
* repositoryNames: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new BatchAssociateApprovalRuleTemplateWithRepositoriesCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface BatchDescribeMergeConflictsCommandOutput extends BatchDescribeM
|
|
|
26
26
|
* import { CodeCommitClient, BatchDescribeMergeConflictsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, BatchDescribeMergeConflictsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* repositoryName: "STRING_VALUE", // required
|
|
31
|
+
* destinationCommitSpecifier: "STRING_VALUE", // required
|
|
32
|
+
* sourceCommitSpecifier: "STRING_VALUE", // required
|
|
33
|
+
* mergeOption: "STRING_VALUE", // required
|
|
34
|
+
* maxMergeHunks: Number("int"),
|
|
35
|
+
* maxConflictFiles: Number("int"),
|
|
36
|
+
* filePaths: [
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* conflictDetailLevel: "STRING_VALUE",
|
|
40
|
+
* conflictResolutionStrategy: "STRING_VALUE",
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
29
43
|
* const command = new BatchDescribeMergeConflictsCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts
CHANGED
|
@@ -26,6 +26,12 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOut
|
|
|
26
26
|
* import { CodeCommitClient, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
31
|
+
* repositoryNames: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface BatchGetCommitsCommandOutput extends BatchGetCommitsOutput, __M
|
|
|
26
26
|
* import { CodeCommitClient, BatchGetCommitsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, BatchGetCommitsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* commitIds: [ // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* repositoryName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new BatchGetCommitsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -33,6 +33,11 @@ export interface BatchGetRepositoriesCommandOutput extends BatchGetRepositoriesO
|
|
|
33
33
|
* import { CodeCommitClient, BatchGetRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
34
34
|
* // const { CodeCommitClient, BatchGetRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
35
35
|
* const client = new CodeCommitClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* repositoryNames: [ // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
36
41
|
* const command = new BatchGetRepositoriesCommand(input);
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface CreateApprovalRuleTemplateCommandOutput extends CreateApprovalR
|
|
|
30
30
|
* import { CodeCommitClient, CreateApprovalRuleTemplateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
31
31
|
* // const { CodeCommitClient, CreateApprovalRuleTemplateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
32
32
|
* const client = new CodeCommitClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
35
|
+
* approvalRuleTemplateContent: "STRING_VALUE", // required
|
|
36
|
+
* approvalRuleTemplateDescription: "STRING_VALUE",
|
|
37
|
+
* };
|
|
33
38
|
* const command = new CreateApprovalRuleTemplateCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface CreateBranchCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { CodeCommitClient, CreateBranchCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
30
30
|
* // const { CodeCommitClient, CreateBranchCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
31
31
|
* const client = new CodeCommitClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* repositoryName: "STRING_VALUE", // required
|
|
34
|
+
* branchName: "STRING_VALUE", // required
|
|
35
|
+
* commitId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
32
37
|
* const command = new CreateBranchCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -26,6 +26,37 @@ export interface CreateCommitCommandOutput extends CreateCommitOutput, __Metadat
|
|
|
26
26
|
* import { CodeCommitClient, CreateCommitCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, CreateCommitCommand } = 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
|
+
* parentCommitId: "STRING_VALUE",
|
|
33
|
+
* authorName: "STRING_VALUE",
|
|
34
|
+
* email: "STRING_VALUE",
|
|
35
|
+
* commitMessage: "STRING_VALUE",
|
|
36
|
+
* keepEmptyFolders: true || false,
|
|
37
|
+
* putFiles: [
|
|
38
|
+
* {
|
|
39
|
+
* filePath: "STRING_VALUE", // required
|
|
40
|
+
* fileMode: "STRING_VALUE",
|
|
41
|
+
* fileContent: "BLOB_VALUE",
|
|
42
|
+
* sourceFile: {
|
|
43
|
+
* filePath: "STRING_VALUE", // required
|
|
44
|
+
* isMove: true || false,
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* deleteFiles: [
|
|
49
|
+
* {
|
|
50
|
+
* filePath: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* setFileModes: [
|
|
54
|
+
* {
|
|
55
|
+
* filePath: "STRING_VALUE", // required
|
|
56
|
+
* fileMode: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* };
|
|
29
60
|
* const command = new CreateCommitCommand(input);
|
|
30
61
|
* const response = await client.send(command);
|
|
31
62
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface CreatePullRequestApprovalRuleCommandOutput extends CreatePullRe
|
|
|
26
26
|
* import { CodeCommitClient, CreatePullRequestApprovalRuleCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, CreatePullRequestApprovalRuleCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* pullRequestId: "STRING_VALUE", // required
|
|
31
|
+
* approvalRuleName: "STRING_VALUE", // required
|
|
32
|
+
* approvalRuleContent: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new CreatePullRequestApprovalRuleCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface CreatePullRequestCommandOutput extends CreatePullRequestOutput,
|
|
|
26
26
|
* import { CodeCommitClient, CreatePullRequestCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, CreatePullRequestCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* title: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* targets: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* repositoryName: "STRING_VALUE", // required
|
|
35
|
+
* sourceReference: "STRING_VALUE", // required
|
|
36
|
+
* destinationReference: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* clientRequestToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
29
41
|
* const command = new CreatePullRequestCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryOutput, _
|
|
|
26
26
|
* import { CodeCommitClient, CreateRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, CreateRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* repositoryName: "STRING_VALUE", // required
|
|
31
|
+
* repositoryDescription: "STRING_VALUE",
|
|
32
|
+
* tags: {
|
|
33
|
+
* "<keys>": "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
29
36
|
* const command = new CreateRepositoryCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -33,6 +33,39 @@ export interface CreateUnreferencedMergeCommitCommandOutput extends CreateUnrefe
|
|
|
33
33
|
* import { CodeCommitClient, CreateUnreferencedMergeCommitCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
34
34
|
* // const { CodeCommitClient, CreateUnreferencedMergeCommitCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
35
35
|
* const client = new CodeCommitClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* repositoryName: "STRING_VALUE", // required
|
|
38
|
+
* sourceCommitSpecifier: "STRING_VALUE", // required
|
|
39
|
+
* destinationCommitSpecifier: "STRING_VALUE", // required
|
|
40
|
+
* mergeOption: "STRING_VALUE", // required
|
|
41
|
+
* conflictDetailLevel: "STRING_VALUE",
|
|
42
|
+
* conflictResolutionStrategy: "STRING_VALUE",
|
|
43
|
+
* authorName: "STRING_VALUE",
|
|
44
|
+
* email: "STRING_VALUE",
|
|
45
|
+
* commitMessage: "STRING_VALUE",
|
|
46
|
+
* keepEmptyFolders: true || false,
|
|
47
|
+
* conflictResolution: {
|
|
48
|
+
* replaceContents: [
|
|
49
|
+
* {
|
|
50
|
+
* filePath: "STRING_VALUE", // required
|
|
51
|
+
* replacementType: "STRING_VALUE", // required
|
|
52
|
+
* content: "BLOB_VALUE",
|
|
53
|
+
* fileMode: "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* deleteFiles: [
|
|
57
|
+
* {
|
|
58
|
+
* filePath: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* setFileModes: [
|
|
62
|
+
* {
|
|
63
|
+
* filePath: "STRING_VALUE", // required
|
|
64
|
+
* fileMode: "STRING_VALUE", // required
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* };
|
|
36
69
|
* const command = new CreateUnreferencedMergeCommitCommand(input);
|
|
37
70
|
* const response = await client.send(command);
|
|
38
71
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteApprovalRuleTemplateCommandOutput extends DeleteApprovalR
|
|
|
26
26
|
* import { CodeCommitClient, DeleteApprovalRuleTemplateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, DeleteApprovalRuleTemplateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteApprovalRuleTemplateCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteBranchCommandOutput extends DeleteBranchOutput, __Metadat
|
|
|
26
26
|
* import { CodeCommitClient, DeleteBranchCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, DeleteBranchCommand } = 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
|
+
* };
|
|
29
33
|
* const command = new DeleteBranchCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteCommentContentCommandOutput extends DeleteCommentContentO
|
|
|
26
26
|
* import { CodeCommitClient, DeleteCommentContentCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, DeleteCommentContentCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* commentId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteCommentContentCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,16 @@ export interface DeleteFileCommandOutput extends DeleteFileOutput, __MetadataBea
|
|
|
28
28
|
* import { CodeCommitClient, DeleteFileCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
29
29
|
* // const { CodeCommitClient, DeleteFileCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
30
30
|
* const client = new CodeCommitClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* repositoryName: "STRING_VALUE", // required
|
|
33
|
+
* branchName: "STRING_VALUE", // required
|
|
34
|
+
* filePath: "STRING_VALUE", // required
|
|
35
|
+
* parentCommitId: "STRING_VALUE", // required
|
|
36
|
+
* keepEmptyFolders: true || false,
|
|
37
|
+
* commitMessage: "STRING_VALUE",
|
|
38
|
+
* name: "STRING_VALUE",
|
|
39
|
+
* email: "STRING_VALUE",
|
|
40
|
+
* };
|
|
31
41
|
* const command = new DeleteFileCommand(input);
|
|
32
42
|
* const response = await client.send(command);
|
|
33
43
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DeletePullRequestApprovalRuleCommandOutput extends DeletePullRe
|
|
|
28
28
|
* import { CodeCommitClient, DeletePullRequestApprovalRuleCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
29
29
|
* // const { CodeCommitClient, DeletePullRequestApprovalRuleCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
30
30
|
* const client = new CodeCommitClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* pullRequestId: "STRING_VALUE", // required
|
|
33
|
+
* approvalRuleName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DeletePullRequestApprovalRuleCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryOutput, _
|
|
|
31
31
|
* import { CodeCommitClient, DeleteRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
32
32
|
* // const { CodeCommitClient, DeleteRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
33
33
|
* const client = new CodeCommitClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* repositoryName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DeleteRepositoryCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -28,6 +28,17 @@ export interface DescribeMergeConflictsCommandOutput extends DescribeMergeConfli
|
|
|
28
28
|
* import { CodeCommitClient, DescribeMergeConflictsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
29
29
|
* // const { CodeCommitClient, DescribeMergeConflictsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
30
30
|
* const client = new CodeCommitClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* repositoryName: "STRING_VALUE", // required
|
|
33
|
+
* destinationCommitSpecifier: "STRING_VALUE", // required
|
|
34
|
+
* sourceCommitSpecifier: "STRING_VALUE", // required
|
|
35
|
+
* mergeOption: "STRING_VALUE", // required
|
|
36
|
+
* maxMergeHunks: Number("int"),
|
|
37
|
+
* filePath: "STRING_VALUE", // required
|
|
38
|
+
* conflictDetailLevel: "STRING_VALUE",
|
|
39
|
+
* conflictResolutionStrategy: "STRING_VALUE",
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
31
42
|
* const command = new DescribeMergeConflictsCommand(input);
|
|
32
43
|
* const response = await client.send(command);
|
|
33
44
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DescribePullRequestEventsCommandOutput extends DescribePullRequ
|
|
|
26
26
|
* import { CodeCommitClient, DescribePullRequestEventsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, DescribePullRequestEventsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* pullRequestId: "STRING_VALUE", // required
|
|
31
|
+
* pullRequestEventType: "STRING_VALUE",
|
|
32
|
+
* actorArn: "STRING_VALUE",
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DescribePullRequestEventsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DisassociateApprovalRuleTemplateFromRepositoryCommandOutput ext
|
|
|
29
29
|
* import { CodeCommitClient, DisassociateApprovalRuleTemplateFromRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
30
30
|
* // const { CodeCommitClient, DisassociateApprovalRuleTemplateFromRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
31
31
|
* const client = new CodeCommitClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
34
|
+
* repositoryName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DisassociateApprovalRuleTemplateFromRepositoryCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface EvaluatePullRequestApprovalRulesCommandOutput extends EvaluateP
|
|
|
26
26
|
* import { CodeCommitClient, EvaluatePullRequestApprovalRulesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, EvaluatePullRequestApprovalRulesCommand } = 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
|
+
* };
|
|
29
33
|
* const command = new EvaluatePullRequestApprovalRulesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetApprovalRuleTemplateCommandOutput extends GetApprovalRuleTem
|
|
|
26
26
|
* import { CodeCommitClient, GetApprovalRuleTemplateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, GetApprovalRuleTemplateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* approvalRuleTemplateName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetApprovalRuleTemplateCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetBlobCommandOutput extends GetBlobOutput, __MetadataBearer {
|
|
|
26
26
|
* import { CodeCommitClient, GetBlobCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, GetBlobCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* repositoryName: "STRING_VALUE", // required
|
|
31
|
+
* blobId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetBlobCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetBranchCommandOutput extends GetBranchOutput, __MetadataBeare
|
|
|
26
26
|
* import { CodeCommitClient, GetBranchCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, GetBranchCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* repositoryName: "STRING_VALUE",
|
|
31
|
+
* branchName: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetBranchCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetCommentCommandOutput extends GetCommentOutput, __MetadataBea
|
|
|
30
30
|
* import { CodeCommitClient, GetCommentCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
31
31
|
* // const { CodeCommitClient, GetCommentCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
32
32
|
* const client = new CodeCommitClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* commentId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetCommentCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface GetCommentReactionsCommandOutput extends GetCommentReactionsOut
|
|
|
26
26
|
* import { CodeCommitClient, GetCommentReactionsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, GetCommentReactionsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* commentId: "STRING_VALUE", // required
|
|
31
|
+
* reactionUserArn: "STRING_VALUE",
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new GetCommentReactionsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface GetCommentsForComparedCommitCommandOutput extends GetCommentsFo
|
|
|
30
30
|
* import { CodeCommitClient, GetCommentsForComparedCommitCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
31
31
|
* // const { CodeCommitClient, GetCommentsForComparedCommitCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
32
32
|
* const client = new CodeCommitClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* repositoryName: "STRING_VALUE", // required
|
|
35
|
+
* beforeCommitId: "STRING_VALUE",
|
|
36
|
+
* afterCommitId: "STRING_VALUE", // required
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* };
|
|
33
40
|
* const command = new GetCommentsForComparedCommitCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface GetCommentsForPullRequestCommandOutput extends GetCommentsForPu
|
|
|
30
30
|
* import { CodeCommitClient, GetCommentsForPullRequestCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
31
31
|
* // const { CodeCommitClient, GetCommentsForPullRequestCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
32
32
|
* const client = new CodeCommitClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* pullRequestId: "STRING_VALUE", // required
|
|
35
|
+
* repositoryName: "STRING_VALUE",
|
|
36
|
+
* beforeCommitId: "STRING_VALUE",
|
|
37
|
+
* afterCommitId: "STRING_VALUE",
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* };
|
|
33
41
|
* const command = new GetCommentsForPullRequestCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetCommitCommandOutput extends GetCommitOutput, __MetadataBeare
|
|
|
26
26
|
* import { CodeCommitClient, GetCommitCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, GetCommitCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* repositoryName: "STRING_VALUE", // required
|
|
31
|
+
* commitId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetCommitCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface GetDifferencesCommandOutput extends GetDifferencesOutput, __Met
|
|
|
28
28
|
* import { CodeCommitClient, GetDifferencesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
29
29
|
* // const { CodeCommitClient, GetDifferencesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
30
30
|
* const client = new CodeCommitClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* repositoryName: "STRING_VALUE", // required
|
|
33
|
+
* beforeCommitSpecifier: "STRING_VALUE",
|
|
34
|
+
* afterCommitSpecifier: "STRING_VALUE", // required
|
|
35
|
+
* beforePath: "STRING_VALUE",
|
|
36
|
+
* afterPath: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
31
40
|
* const command = new GetDifferencesCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetFileCommandOutput extends GetFileOutput, __MetadataBearer {
|
|
|
26
26
|
* import { CodeCommitClient, GetFileCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, GetFileCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* repositoryName: "STRING_VALUE", // required
|
|
31
|
+
* commitSpecifier: "STRING_VALUE",
|
|
32
|
+
* filePath: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetFileCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetFolderCommandOutput extends GetFolderOutput, __MetadataBeare
|
|
|
26
26
|
* import { CodeCommitClient, GetFolderCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, GetFolderCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* repositoryName: "STRING_VALUE", // required
|
|
31
|
+
* commitSpecifier: "STRING_VALUE",
|
|
32
|
+
* folderPath: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetFolderCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface GetMergeCommitCommandOutput extends GetMergeCommitOutput, __Met
|
|
|
26
26
|
* import { CodeCommitClient, GetMergeCommitCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, GetMergeCommitCommand } = 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
|
+
* conflictDetailLevel: "STRING_VALUE",
|
|
34
|
+
* conflictResolutionStrategy: "STRING_VALUE",
|
|
35
|
+
* };
|
|
29
36
|
* const command = new GetMergeCommitCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface GetMergeConflictsCommandOutput extends GetMergeConflictsOutput,
|
|
|
26
26
|
* import { CodeCommitClient, GetMergeConflictsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, GetMergeConflictsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* repositoryName: "STRING_VALUE", // required
|
|
31
|
+
* destinationCommitSpecifier: "STRING_VALUE", // required
|
|
32
|
+
* sourceCommitSpecifier: "STRING_VALUE", // required
|
|
33
|
+
* mergeOption: "STRING_VALUE", // required
|
|
34
|
+
* conflictDetailLevel: "STRING_VALUE",
|
|
35
|
+
* maxConflictFiles: Number("int"),
|
|
36
|
+
* conflictResolutionStrategy: "STRING_VALUE",
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
29
39
|
* const command = new GetMergeConflictsCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -28,6 +28,13 @@ export interface GetMergeOptionsCommandOutput extends GetMergeOptionsOutput, __M
|
|
|
28
28
|
* import { CodeCommitClient, GetMergeOptionsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
29
29
|
* // const { CodeCommitClient, GetMergeOptionsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
30
30
|
* const client = new CodeCommitClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* repositoryName: "STRING_VALUE", // required
|
|
33
|
+
* sourceCommitSpecifier: "STRING_VALUE", // required
|
|
34
|
+
* destinationCommitSpecifier: "STRING_VALUE", // required
|
|
35
|
+
* conflictDetailLevel: "STRING_VALUE",
|
|
36
|
+
* conflictResolutionStrategy: "STRING_VALUE",
|
|
37
|
+
* };
|
|
31
38
|
* const command = new GetMergeOptionsCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetPullRequestApprovalStatesCommandOutput extends GetPullReques
|
|
|
27
27
|
* import { CodeCommitClient, GetPullRequestApprovalStatesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
28
28
|
* // const { CodeCommitClient, GetPullRequestApprovalStatesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
29
29
|
* const client = new CodeCommitClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* pullRequestId: "STRING_VALUE", // required
|
|
32
|
+
* revisionId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new GetPullRequestApprovalStatesCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetPullRequestCommandOutput extends GetPullRequestOutput, __Met
|
|
|
26
26
|
* import { CodeCommitClient, GetPullRequestCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
27
27
|
* // const { CodeCommitClient, GetPullRequestCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
28
28
|
* const client = new CodeCommitClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* pullRequestId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetPullRequestCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetPullRequestOverrideStateCommandOutput extends GetPullRequest
|
|
|
27
27
|
* import { CodeCommitClient, GetPullRequestOverrideStateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
28
28
|
* // const { CodeCommitClient, GetPullRequestOverrideStateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
29
29
|
* const client = new CodeCommitClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* pullRequestId: "STRING_VALUE", // required
|
|
32
|
+
* revisionId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new GetPullRequestOverrideStateCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetRepositoryCommandOutput extends GetRepositoryOutput, __Metad
|
|
|
34
34
|
* import { CodeCommitClient, GetRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
35
35
|
* // const { CodeCommitClient, GetRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
36
36
|
* const client = new CodeCommitClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* repositoryName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetRepositoryCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|