@aws-sdk/client-codecommit 3.1109.0 → 3.1111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist-cjs/index.js +92 -1
- package/dist-es/CodeCommit.js +4 -0
- package/dist-es/commands/GetBlobDifferencesCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/pagination/GetBlobDifferencesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +58 -1
- package/dist-types/CodeCommit.d.ts +20 -0
- package/dist-types/CodeCommitClient.d.ts +9 -2
- package/dist-types/commands/GetBlobDifferencesCommand.d.ts +152 -0
- package/dist-types/commands/GetDifferencesCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/errors.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +176 -1
- package/dist-types/pagination/GetBlobDifferencesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +38 -38
- package/dist-types/runtimeConfig.d.ts +36 -36
- package/dist-types/runtimeConfig.native.d.ts +37 -37
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/CodeCommit.d.ts +24 -0
- package/dist-types/ts3.4/CodeCommitClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetBlobDifferencesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/errors.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -0
- package/dist-types/ts3.4/pagination/GetBlobDifferencesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
- package/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +5 -5
|
@@ -25,6 +25,7 @@ import { type DisassociateApprovalRuleTemplateFromRepositoryCommandInput, type D
|
|
|
25
25
|
import { type EvaluatePullRequestApprovalRulesCommandInput, type EvaluatePullRequestApprovalRulesCommandOutput } from "./commands/EvaluatePullRequestApprovalRulesCommand";
|
|
26
26
|
import { type GetApprovalRuleTemplateCommandInput, type GetApprovalRuleTemplateCommandOutput } from "./commands/GetApprovalRuleTemplateCommand";
|
|
27
27
|
import { type GetBlobCommandInput, type GetBlobCommandOutput } from "./commands/GetBlobCommand";
|
|
28
|
+
import { type GetBlobDifferencesCommandInput, type GetBlobDifferencesCommandOutput } from "./commands/GetBlobDifferencesCommand";
|
|
28
29
|
import { type GetBranchCommandInput, type GetBranchCommandOutput } from "./commands/GetBranchCommand";
|
|
29
30
|
import { type GetCommentCommandInput, type GetCommentCommandOutput } from "./commands/GetCommentCommand";
|
|
30
31
|
import { type GetCommentReactionsCommandInput, type GetCommentReactionsCommandOutput } from "./commands/GetCommentReactionsCommand";
|
|
@@ -230,6 +231,12 @@ export interface CodeCommit {
|
|
|
230
231
|
getBlob(args: GetBlobCommandInput, options?: __HttpHandlerOptions): Promise<GetBlobCommandOutput>;
|
|
231
232
|
getBlob(args: GetBlobCommandInput, cb: (err: any, data?: GetBlobCommandOutput) => void): void;
|
|
232
233
|
getBlob(args: GetBlobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBlobCommandOutput) => void): void;
|
|
234
|
+
/**
|
|
235
|
+
* @see {@link GetBlobDifferencesCommand}
|
|
236
|
+
*/
|
|
237
|
+
getBlobDifferences(args: GetBlobDifferencesCommandInput, options?: __HttpHandlerOptions): Promise<GetBlobDifferencesCommandOutput>;
|
|
238
|
+
getBlobDifferences(args: GetBlobDifferencesCommandInput, cb: (err: any, data?: GetBlobDifferencesCommandOutput) => void): void;
|
|
239
|
+
getBlobDifferences(args: GetBlobDifferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBlobDifferencesCommandOutput) => void): void;
|
|
233
240
|
/**
|
|
234
241
|
* @see {@link GetBranchCommand}
|
|
235
242
|
*/
|
|
@@ -571,6 +578,13 @@ export interface CodeCommit {
|
|
|
571
578
|
* @returns AsyncIterable of {@link DescribePullRequestEventsCommandOutput}.
|
|
572
579
|
*/
|
|
573
580
|
paginateDescribePullRequestEvents(args: DescribePullRequestEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribePullRequestEventsCommandOutput>;
|
|
581
|
+
/**
|
|
582
|
+
* @see {@link GetBlobDifferencesCommand}
|
|
583
|
+
* @param args - command input.
|
|
584
|
+
* @param paginationConfig - optional pagination config.
|
|
585
|
+
* @returns AsyncIterable of {@link GetBlobDifferencesCommandOutput}.
|
|
586
|
+
*/
|
|
587
|
+
paginateGetBlobDifferences(args: GetBlobDifferencesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetBlobDifferencesCommandOutput>;
|
|
574
588
|
/**
|
|
575
589
|
* @see {@link GetCommentReactionsCommand}
|
|
576
590
|
* @param args - command input.
|
|
@@ -737,6 +751,12 @@ export interface CodeCommit {
|
|
|
737
751
|
* </li>
|
|
738
752
|
* <li>
|
|
739
753
|
* <p>
|
|
754
|
+
* <a>GetBlobDifferences</a>, which returns a structured, line-level
|
|
755
|
+
* diff between two blob versions in a repository, with optional surrounding
|
|
756
|
+
* context lines.</p>
|
|
757
|
+
* </li>
|
|
758
|
+
* <li>
|
|
759
|
+
* <p>
|
|
740
760
|
* <a>GetFile</a>, which returns the base-64 encoded content of a specified file.</p>
|
|
741
761
|
* </li>
|
|
742
762
|
* <li>
|
|
@@ -31,6 +31,7 @@ import type { DisassociateApprovalRuleTemplateFromRepositoryCommandInput, Disass
|
|
|
31
31
|
import type { EvaluatePullRequestApprovalRulesCommandInput, EvaluatePullRequestApprovalRulesCommandOutput } from "./commands/EvaluatePullRequestApprovalRulesCommand";
|
|
32
32
|
import type { GetApprovalRuleTemplateCommandInput, GetApprovalRuleTemplateCommandOutput } from "./commands/GetApprovalRuleTemplateCommand";
|
|
33
33
|
import type { GetBlobCommandInput, GetBlobCommandOutput } from "./commands/GetBlobCommand";
|
|
34
|
+
import type { GetBlobDifferencesCommandInput, GetBlobDifferencesCommandOutput } from "./commands/GetBlobDifferencesCommand";
|
|
34
35
|
import type { GetBranchCommandInput, GetBranchCommandOutput } from "./commands/GetBranchCommand";
|
|
35
36
|
import type { GetCommentCommandInput, GetCommentCommandOutput } from "./commands/GetCommentCommand";
|
|
36
37
|
import type { GetCommentReactionsCommandInput, GetCommentReactionsCommandOutput } from "./commands/GetCommentReactionsCommand";
|
|
@@ -91,11 +92,11 @@ export { __Client };
|
|
|
91
92
|
/**
|
|
92
93
|
* @public
|
|
93
94
|
*/
|
|
94
|
-
export type ServiceInputTypes = AssociateApprovalRuleTemplateWithRepositoryCommandInput | BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput | BatchDescribeMergeConflictsCommandInput | BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput | BatchGetCommitsCommandInput | BatchGetRepositoriesCommandInput | CreateApprovalRuleTemplateCommandInput | CreateBranchCommandInput | CreateCommitCommandInput | CreatePullRequestApprovalRuleCommandInput | CreatePullRequestCommandInput | CreateRepositoryCommandInput | CreateUnreferencedMergeCommitCommandInput | DeleteApprovalRuleTemplateCommandInput | DeleteBranchCommandInput | DeleteCommentContentCommandInput | DeleteFileCommandInput | DeletePullRequestApprovalRuleCommandInput | DeleteRepositoryCommandInput | DescribeMergeConflictsCommandInput | DescribePullRequestEventsCommandInput | DisassociateApprovalRuleTemplateFromRepositoryCommandInput | EvaluatePullRequestApprovalRulesCommandInput | GetApprovalRuleTemplateCommandInput | GetBlobCommandInput | GetBranchCommandInput | GetCommentCommandInput | GetCommentReactionsCommandInput | GetCommentsForComparedCommitCommandInput | GetCommentsForPullRequestCommandInput | GetCommitCommandInput | GetDifferencesCommandInput | GetFileCommandInput | GetFolderCommandInput | GetMergeCommitCommandInput | GetMergeConflictsCommandInput | GetMergeOptionsCommandInput | GetPullRequestApprovalStatesCommandInput | GetPullRequestCommandInput | GetPullRequestOverrideStateCommandInput | GetRepositoryCommandInput | GetRepositoryTriggersCommandInput | ListApprovalRuleTemplatesCommandInput | ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput | ListBranchesCommandInput | ListFileCommitHistoryCommandInput | ListPullRequestsCommandInput | ListRepositoriesCommandInput | ListRepositoriesForApprovalRuleTemplateCommandInput | ListTagsForResourceCommandInput | MergeBranchesByFastForwardCommandInput | MergeBranchesBySquashCommandInput | MergeBranchesByThreeWayCommandInput | MergePullRequestByFastForwardCommandInput | MergePullRequestBySquashCommandInput | MergePullRequestByThreeWayCommandInput | OverridePullRequestApprovalRulesCommandInput | PostCommentForComparedCommitCommandInput | PostCommentForPullRequestCommandInput | PostCommentReplyCommandInput | PutCommentReactionCommandInput | PutFileCommandInput | PutRepositoryTriggersCommandInput | TagResourceCommandInput | TestRepositoryTriggersCommandInput | UntagResourceCommandInput | UpdateApprovalRuleTemplateContentCommandInput | UpdateApprovalRuleTemplateDescriptionCommandInput | UpdateApprovalRuleTemplateNameCommandInput | UpdateCommentCommandInput | UpdateDefaultBranchCommandInput | UpdatePullRequestApprovalRuleContentCommandInput | UpdatePullRequestApprovalStateCommandInput | UpdatePullRequestDescriptionCommandInput | UpdatePullRequestStatusCommandInput | UpdatePullRequestTitleCommandInput | UpdateRepositoryDescriptionCommandInput | UpdateRepositoryEncryptionKeyCommandInput | UpdateRepositoryNameCommandInput;
|
|
95
|
+
export type ServiceInputTypes = AssociateApprovalRuleTemplateWithRepositoryCommandInput | BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput | BatchDescribeMergeConflictsCommandInput | BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput | BatchGetCommitsCommandInput | BatchGetRepositoriesCommandInput | CreateApprovalRuleTemplateCommandInput | CreateBranchCommandInput | CreateCommitCommandInput | CreatePullRequestApprovalRuleCommandInput | CreatePullRequestCommandInput | CreateRepositoryCommandInput | CreateUnreferencedMergeCommitCommandInput | DeleteApprovalRuleTemplateCommandInput | DeleteBranchCommandInput | DeleteCommentContentCommandInput | DeleteFileCommandInput | DeletePullRequestApprovalRuleCommandInput | DeleteRepositoryCommandInput | DescribeMergeConflictsCommandInput | DescribePullRequestEventsCommandInput | DisassociateApprovalRuleTemplateFromRepositoryCommandInput | EvaluatePullRequestApprovalRulesCommandInput | GetApprovalRuleTemplateCommandInput | GetBlobCommandInput | GetBlobDifferencesCommandInput | GetBranchCommandInput | GetCommentCommandInput | GetCommentReactionsCommandInput | GetCommentsForComparedCommitCommandInput | GetCommentsForPullRequestCommandInput | GetCommitCommandInput | GetDifferencesCommandInput | GetFileCommandInput | GetFolderCommandInput | GetMergeCommitCommandInput | GetMergeConflictsCommandInput | GetMergeOptionsCommandInput | GetPullRequestApprovalStatesCommandInput | GetPullRequestCommandInput | GetPullRequestOverrideStateCommandInput | GetRepositoryCommandInput | GetRepositoryTriggersCommandInput | ListApprovalRuleTemplatesCommandInput | ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput | ListBranchesCommandInput | ListFileCommitHistoryCommandInput | ListPullRequestsCommandInput | ListRepositoriesCommandInput | ListRepositoriesForApprovalRuleTemplateCommandInput | ListTagsForResourceCommandInput | MergeBranchesByFastForwardCommandInput | MergeBranchesBySquashCommandInput | MergeBranchesByThreeWayCommandInput | MergePullRequestByFastForwardCommandInput | MergePullRequestBySquashCommandInput | MergePullRequestByThreeWayCommandInput | OverridePullRequestApprovalRulesCommandInput | PostCommentForComparedCommitCommandInput | PostCommentForPullRequestCommandInput | PostCommentReplyCommandInput | PutCommentReactionCommandInput | PutFileCommandInput | PutRepositoryTriggersCommandInput | TagResourceCommandInput | TestRepositoryTriggersCommandInput | UntagResourceCommandInput | UpdateApprovalRuleTemplateContentCommandInput | UpdateApprovalRuleTemplateDescriptionCommandInput | UpdateApprovalRuleTemplateNameCommandInput | UpdateCommentCommandInput | UpdateDefaultBranchCommandInput | UpdatePullRequestApprovalRuleContentCommandInput | UpdatePullRequestApprovalStateCommandInput | UpdatePullRequestDescriptionCommandInput | UpdatePullRequestStatusCommandInput | UpdatePullRequestTitleCommandInput | UpdateRepositoryDescriptionCommandInput | UpdateRepositoryEncryptionKeyCommandInput | UpdateRepositoryNameCommandInput;
|
|
95
96
|
/**
|
|
96
97
|
* @public
|
|
97
98
|
*/
|
|
98
|
-
export type ServiceOutputTypes = AssociateApprovalRuleTemplateWithRepositoryCommandOutput | BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput | BatchDescribeMergeConflictsCommandOutput | BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput | BatchGetCommitsCommandOutput | BatchGetRepositoriesCommandOutput | CreateApprovalRuleTemplateCommandOutput | CreateBranchCommandOutput | CreateCommitCommandOutput | CreatePullRequestApprovalRuleCommandOutput | CreatePullRequestCommandOutput | CreateRepositoryCommandOutput | CreateUnreferencedMergeCommitCommandOutput | DeleteApprovalRuleTemplateCommandOutput | DeleteBranchCommandOutput | DeleteCommentContentCommandOutput | DeleteFileCommandOutput | DeletePullRequestApprovalRuleCommandOutput | DeleteRepositoryCommandOutput | DescribeMergeConflictsCommandOutput | DescribePullRequestEventsCommandOutput | DisassociateApprovalRuleTemplateFromRepositoryCommandOutput | EvaluatePullRequestApprovalRulesCommandOutput | GetApprovalRuleTemplateCommandOutput | GetBlobCommandOutput | GetBranchCommandOutput | GetCommentCommandOutput | GetCommentReactionsCommandOutput | GetCommentsForComparedCommitCommandOutput | GetCommentsForPullRequestCommandOutput | GetCommitCommandOutput | GetDifferencesCommandOutput | GetFileCommandOutput | GetFolderCommandOutput | GetMergeCommitCommandOutput | GetMergeConflictsCommandOutput | GetMergeOptionsCommandOutput | GetPullRequestApprovalStatesCommandOutput | GetPullRequestCommandOutput | GetPullRequestOverrideStateCommandOutput | GetRepositoryCommandOutput | GetRepositoryTriggersCommandOutput | ListApprovalRuleTemplatesCommandOutput | ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput | ListBranchesCommandOutput | ListFileCommitHistoryCommandOutput | ListPullRequestsCommandOutput | ListRepositoriesCommandOutput | ListRepositoriesForApprovalRuleTemplateCommandOutput | ListTagsForResourceCommandOutput | MergeBranchesByFastForwardCommandOutput | MergeBranchesBySquashCommandOutput | MergeBranchesByThreeWayCommandOutput | MergePullRequestByFastForwardCommandOutput | MergePullRequestBySquashCommandOutput | MergePullRequestByThreeWayCommandOutput | OverridePullRequestApprovalRulesCommandOutput | PostCommentForComparedCommitCommandOutput | PostCommentForPullRequestCommandOutput | PostCommentReplyCommandOutput | PutCommentReactionCommandOutput | PutFileCommandOutput | PutRepositoryTriggersCommandOutput | TagResourceCommandOutput | TestRepositoryTriggersCommandOutput | UntagResourceCommandOutput | UpdateApprovalRuleTemplateContentCommandOutput | UpdateApprovalRuleTemplateDescriptionCommandOutput | UpdateApprovalRuleTemplateNameCommandOutput | UpdateCommentCommandOutput | UpdateDefaultBranchCommandOutput | UpdatePullRequestApprovalRuleContentCommandOutput | UpdatePullRequestApprovalStateCommandOutput | UpdatePullRequestDescriptionCommandOutput | UpdatePullRequestStatusCommandOutput | UpdatePullRequestTitleCommandOutput | UpdateRepositoryDescriptionCommandOutput | UpdateRepositoryEncryptionKeyCommandOutput | UpdateRepositoryNameCommandOutput;
|
|
99
|
+
export type ServiceOutputTypes = AssociateApprovalRuleTemplateWithRepositoryCommandOutput | BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput | BatchDescribeMergeConflictsCommandOutput | BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput | BatchGetCommitsCommandOutput | BatchGetRepositoriesCommandOutput | CreateApprovalRuleTemplateCommandOutput | CreateBranchCommandOutput | CreateCommitCommandOutput | CreatePullRequestApprovalRuleCommandOutput | CreatePullRequestCommandOutput | CreateRepositoryCommandOutput | CreateUnreferencedMergeCommitCommandOutput | DeleteApprovalRuleTemplateCommandOutput | DeleteBranchCommandOutput | DeleteCommentContentCommandOutput | DeleteFileCommandOutput | DeletePullRequestApprovalRuleCommandOutput | DeleteRepositoryCommandOutput | DescribeMergeConflictsCommandOutput | DescribePullRequestEventsCommandOutput | DisassociateApprovalRuleTemplateFromRepositoryCommandOutput | EvaluatePullRequestApprovalRulesCommandOutput | GetApprovalRuleTemplateCommandOutput | GetBlobCommandOutput | GetBlobDifferencesCommandOutput | GetBranchCommandOutput | GetCommentCommandOutput | GetCommentReactionsCommandOutput | GetCommentsForComparedCommitCommandOutput | GetCommentsForPullRequestCommandOutput | GetCommitCommandOutput | GetDifferencesCommandOutput | GetFileCommandOutput | GetFolderCommandOutput | GetMergeCommitCommandOutput | GetMergeConflictsCommandOutput | GetMergeOptionsCommandOutput | GetPullRequestApprovalStatesCommandOutput | GetPullRequestCommandOutput | GetPullRequestOverrideStateCommandOutput | GetRepositoryCommandOutput | GetRepositoryTriggersCommandOutput | ListApprovalRuleTemplatesCommandOutput | ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput | ListBranchesCommandOutput | ListFileCommitHistoryCommandOutput | ListPullRequestsCommandOutput | ListRepositoriesCommandOutput | ListRepositoriesForApprovalRuleTemplateCommandOutput | ListTagsForResourceCommandOutput | MergeBranchesByFastForwardCommandOutput | MergeBranchesBySquashCommandOutput | MergeBranchesByThreeWayCommandOutput | MergePullRequestByFastForwardCommandOutput | MergePullRequestBySquashCommandOutput | MergePullRequestByThreeWayCommandOutput | OverridePullRequestApprovalRulesCommandOutput | PostCommentForComparedCommitCommandOutput | PostCommentForPullRequestCommandOutput | PostCommentReplyCommandOutput | PutCommentReactionCommandOutput | PutFileCommandOutput | PutRepositoryTriggersCommandOutput | TagResourceCommandOutput | TestRepositoryTriggersCommandOutput | UntagResourceCommandOutput | UpdateApprovalRuleTemplateContentCommandOutput | UpdateApprovalRuleTemplateDescriptionCommandOutput | UpdateApprovalRuleTemplateNameCommandOutput | UpdateCommentCommandOutput | UpdateDefaultBranchCommandOutput | UpdatePullRequestApprovalRuleContentCommandOutput | UpdatePullRequestApprovalStateCommandOutput | UpdatePullRequestDescriptionCommandOutput | UpdatePullRequestStatusCommandOutput | UpdatePullRequestTitleCommandOutput | UpdateRepositoryDescriptionCommandOutput | UpdateRepositoryEncryptionKeyCommandOutput | UpdateRepositoryNameCommandOutput;
|
|
99
100
|
/**
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
@@ -327,6 +328,12 @@ export interface CodeCommitClientResolvedConfig extends CodeCommitClientResolved
|
|
|
327
328
|
* </li>
|
|
328
329
|
* <li>
|
|
329
330
|
* <p>
|
|
331
|
+
* <a>GetBlobDifferences</a>, which returns a structured, line-level
|
|
332
|
+
* diff between two blob versions in a repository, with optional surrounding
|
|
333
|
+
* context lines.</p>
|
|
334
|
+
* </li>
|
|
335
|
+
* <li>
|
|
336
|
+
* <p>
|
|
330
337
|
* <a>GetFile</a>, which returns the base-64 encoded content of a specified file.</p>
|
|
331
338
|
* </li>
|
|
332
339
|
* <li>
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetBlobDifferencesInput, GetBlobDifferencesOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetBlobDifferencesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetBlobDifferencesCommandInput extends GetBlobDifferencesInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetBlobDifferencesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetBlobDifferencesCommandOutput extends GetBlobDifferencesOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetBlobDifferencesCommand_base: {
|
|
22
|
+
new (input: GetBlobDifferencesCommandInput): import("@smithy/core/client").CommandImpl<GetBlobDifferencesCommandInput, GetBlobDifferencesCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetBlobDifferencesCommandInput): import("@smithy/core/client").CommandImpl<GetBlobDifferencesCommandInput, GetBlobDifferencesCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns a structured, line-level diff between two blob versions in a repository. The
|
|
28
|
+
* diff is returned as an ordered list of hunks, where each hunk represents a contiguous
|
|
29
|
+
* run of changed lines together with any surrounding unchanged context lines.</p>
|
|
30
|
+
* <p>Results are paginated. Use <code>MaxResults</code> and <code>NextToken</code> to
|
|
31
|
+
* retrieve additional pages.</p>
|
|
32
|
+
* <p>For the typical usage workflow, see <a>GetDifferences</a>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { CodeCommitClient, GetBlobDifferencesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
37
|
+
* // const { CodeCommitClient, GetBlobDifferencesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
38
|
+
* // import type { CodeCommitClientConfig } from "@aws-sdk/client-codecommit";
|
|
39
|
+
* const config = {}; // type is CodeCommitClientConfig
|
|
40
|
+
* const client = new CodeCommitClient(config);
|
|
41
|
+
* const input = { // GetBlobDifferencesInput
|
|
42
|
+
* repositoryName: "STRING_VALUE", // required
|
|
43
|
+
* afterBlobId: "STRING_VALUE", // required
|
|
44
|
+
* beforeBlobId: "STRING_VALUE",
|
|
45
|
+
* contextLines: Number("int"),
|
|
46
|
+
* ignoreWhitespace: true || false,
|
|
47
|
+
* MaxResults: Number("int"),
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new GetBlobDifferencesCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // GetBlobDifferencesOutput
|
|
53
|
+
* // hunks: [ // DiffHunkList // required
|
|
54
|
+
* // { // DiffHunk
|
|
55
|
+
* // beforeStartLine: Number("int"),
|
|
56
|
+
* // beforeLineCount: Number("int"),
|
|
57
|
+
* // afterStartLine: Number("int"),
|
|
58
|
+
* // afterLineCount: Number("int"),
|
|
59
|
+
* // changes: [ // DiffChangeList
|
|
60
|
+
* // { // DiffChange
|
|
61
|
+
* // type: "CONTEXT" || "ADD" || "DELETE",
|
|
62
|
+
* // beforeLineNumber: Number("int"),
|
|
63
|
+
* // afterLineNumber: Number("int"),
|
|
64
|
+
* // content: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // isBinary: true || false, // required
|
|
70
|
+
* // beforeBlobSize: Number("long"),
|
|
71
|
+
* // afterBlobSize: Number("long"), // required
|
|
72
|
+
* // NextToken: "STRING_VALUE",
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param GetBlobDifferencesCommandInput - {@link GetBlobDifferencesCommandInput}
|
|
78
|
+
* @returns {@link GetBlobDifferencesCommandOutput}
|
|
79
|
+
* @see {@link GetBlobDifferencesCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link GetBlobDifferencesCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link BlobIdDoesNotExistException} (client fault)
|
|
84
|
+
* <p>The specified blob does not exist.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link BlobIdRequiredException} (client fault)
|
|
87
|
+
* <p>A blob ID is required, but was not specified.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
|
|
90
|
+
* <p>An encryption integrity check failed.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link EncryptionKeyAccessDeniedException} (client fault)
|
|
93
|
+
* <p>An encryption key could not be accessed.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link EncryptionKeyDisabledException} (client fault)
|
|
96
|
+
* <p>The encryption key is disabled.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link EncryptionKeyNotFoundException} (client fault)
|
|
99
|
+
* <p>No encryption key was found.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link EncryptionKeyUnavailableException} (client fault)
|
|
102
|
+
* <p>The encryption key is not available.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link FileTooLargeException} (client fault)
|
|
105
|
+
* <p>The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see
|
|
106
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link InvalidBlobIdException} (client fault)
|
|
109
|
+
* <p>The specified blob is not valid.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link InvalidContinuationTokenException} (client fault)
|
|
112
|
+
* <p>The specified continuation token is not valid.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link InvalidMaxResultsException} (client fault)
|
|
115
|
+
* <p>The specified number of maximum results is not valid.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
118
|
+
* <p>A specified repository name is not valid.</p>
|
|
119
|
+
* <note>
|
|
120
|
+
* <p>This exception occurs only when a specified repository name is not valid. Other
|
|
121
|
+
* exceptions occur when a required repository parameter is missing, or when a
|
|
122
|
+
* specified repository does not exist.</p>
|
|
123
|
+
* </note>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link RepositoryDoesNotExistException} (client fault)
|
|
126
|
+
* <p>The specified repository does not exist.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link RepositoryNameRequiredException} (client fault)
|
|
129
|
+
* <p>A repository name is required, but was not specified.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link ValidationException} (client fault)
|
|
132
|
+
* <p>The specified input is either not valid, or it could not be validated.</p>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link CodeCommitServiceException}
|
|
135
|
+
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
136
|
+
*
|
|
137
|
+
*
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export declare class GetBlobDifferencesCommand extends GetBlobDifferencesCommand_base {
|
|
141
|
+
/** @internal type navigation helper, not in runtime. */
|
|
142
|
+
protected static __types: {
|
|
143
|
+
api: {
|
|
144
|
+
input: GetBlobDifferencesInput;
|
|
145
|
+
output: GetBlobDifferencesOutput;
|
|
146
|
+
};
|
|
147
|
+
sdk: {
|
|
148
|
+
input: GetBlobDifferencesCommandInput;
|
|
149
|
+
output: GetBlobDifferencesCommandOutput;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}
|
|
@@ -27,6 +27,8 @@ declare const GetDifferencesCommand_base: {
|
|
|
27
27
|
* <p>Returns information about the differences in a valid commit specifier (such as a
|
|
28
28
|
* branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be
|
|
29
29
|
* limited to a specified path.</p>
|
|
30
|
+
* <p>For line-level diff details, pass the <code>beforeBlob.blobId</code> and
|
|
31
|
+
* <code>afterBlob.blobId</code> values from a <code>Difference</code> object to <a>GetBlobDifferences</a>.</p>
|
|
30
32
|
* @example
|
|
31
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
34
|
* ```javascript
|
|
@@ -23,6 +23,7 @@ export * from "./DisassociateApprovalRuleTemplateFromRepositoryCommand";
|
|
|
23
23
|
export * from "./EvaluatePullRequestApprovalRulesCommand";
|
|
24
24
|
export * from "./GetApprovalRuleTemplateCommand";
|
|
25
25
|
export * from "./GetBlobCommand";
|
|
26
|
+
export * from "./GetBlobDifferencesCommand";
|
|
26
27
|
export * from "./GetBranchCommand";
|
|
27
28
|
export * from "./GetCommentCommand";
|
|
28
29
|
export * from "./GetCommentReactionsCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -79,6 +79,12 @@
|
|
|
79
79
|
* </li>
|
|
80
80
|
* <li>
|
|
81
81
|
* <p>
|
|
82
|
+
* <a>GetBlobDifferences</a>, which returns a structured, line-level
|
|
83
|
+
* diff between two blob versions in a repository, with optional surrounding
|
|
84
|
+
* context lines.</p>
|
|
85
|
+
* </li>
|
|
86
|
+
* <li>
|
|
87
|
+
* <p>
|
|
82
88
|
* <a>GetFile</a>, which returns the base-64 encoded content of a specified file.</p>
|
|
83
89
|
* </li>
|
|
84
90
|
* <li>
|
|
@@ -162,6 +162,19 @@ export declare const PullRequestEventType: {
|
|
|
162
162
|
* @public
|
|
163
163
|
*/
|
|
164
164
|
export type PullRequestEventType = (typeof PullRequestEventType)[keyof typeof PullRequestEventType];
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
* @enum
|
|
168
|
+
*/
|
|
169
|
+
export declare const DiffChangeType: {
|
|
170
|
+
readonly ADD: "ADD";
|
|
171
|
+
readonly CONTEXT: "CONTEXT";
|
|
172
|
+
readonly DELETE: "DELETE";
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export type DiffChangeType = (typeof DiffChangeType)[keyof typeof DiffChangeType];
|
|
165
178
|
/**
|
|
166
179
|
* @public
|
|
167
180
|
* @enum
|
|
@@ -1686,6 +1686,18 @@ export declare class InvalidBlobIdException extends __BaseException {
|
|
|
1686
1686
|
*/
|
|
1687
1687
|
constructor(opts: __ExceptionOptionType<InvalidBlobIdException, __BaseException>);
|
|
1688
1688
|
}
|
|
1689
|
+
/**
|
|
1690
|
+
* <p>The specified input is either not valid, or it could not be validated.</p>
|
|
1691
|
+
* @public
|
|
1692
|
+
*/
|
|
1693
|
+
export declare class ValidationException extends __BaseException {
|
|
1694
|
+
readonly name: "ValidationException";
|
|
1695
|
+
readonly $fault: "client";
|
|
1696
|
+
/**
|
|
1697
|
+
* @internal
|
|
1698
|
+
*/
|
|
1699
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1700
|
+
}
|
|
1689
1701
|
/**
|
|
1690
1702
|
* <p>The Amazon Resource Name (ARN) of the user or identity is not valid.</p>
|
|
1691
1703
|
* @public
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ApprovalState, BatchGetRepositoriesErrorCodeEnum, ChangeTypeEnum, ConflictDetailLevelTypeEnum, ConflictResolutionStrategyTypeEnum, FileModeTypeEnum, MergeOptionTypeEnum, ObjectTypeEnum, OrderEnum, OverrideStatus, PullRequestEventType, PullRequestStatusEnum, RelativeFileVersionEnum, ReplacementTypeEnum, RepositoryTriggerEventEnum, SortByEnum } from "./enums";
|
|
1
|
+
import type { ApprovalState, BatchGetRepositoriesErrorCodeEnum, ChangeTypeEnum, ConflictDetailLevelTypeEnum, ConflictResolutionStrategyTypeEnum, DiffChangeType, FileModeTypeEnum, MergeOptionTypeEnum, ObjectTypeEnum, OrderEnum, OverrideStatus, PullRequestEventType, PullRequestStatusEnum, RelativeFileVersionEnum, ReplacementTypeEnum, RepositoryTriggerEventEnum, SortByEnum } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Returns information about a specific approval on a pull request.</p>
|
|
4
4
|
* @public
|
|
@@ -2358,6 +2358,181 @@ export interface GetBlobOutput {
|
|
|
2358
2358
|
*/
|
|
2359
2359
|
content: Uint8Array | undefined;
|
|
2360
2360
|
}
|
|
2361
|
+
/**
|
|
2362
|
+
* @public
|
|
2363
|
+
*/
|
|
2364
|
+
export interface GetBlobDifferencesInput {
|
|
2365
|
+
/**
|
|
2366
|
+
* <p>The name of the repository that contains the blobs to compare.</p>
|
|
2367
|
+
* @public
|
|
2368
|
+
*/
|
|
2369
|
+
repositoryName: string | undefined;
|
|
2370
|
+
/**
|
|
2371
|
+
* <p>The ID of the "after" (destination) blob in the diff. Typically the value of
|
|
2372
|
+
* <code>afterBlob.blobId</code> from a <code>Difference</code> object returned by
|
|
2373
|
+
* <a>GetDifferences</a>.</p>
|
|
2374
|
+
* @public
|
|
2375
|
+
*/
|
|
2376
|
+
afterBlobId: string | undefined;
|
|
2377
|
+
/**
|
|
2378
|
+
* <p>The ID of the "before" (source) blob in the diff. Typically the value of
|
|
2379
|
+
* <code>beforeBlob.blobId</code> from a <code>Difference</code> object returned by
|
|
2380
|
+
* <a>GetDifferences</a>.</p>
|
|
2381
|
+
* <p>If you do not specify a value, the operation returns a diff against an empty
|
|
2382
|
+
* before-state. This is equivalent to treating the file as newly added.</p>
|
|
2383
|
+
* @public
|
|
2384
|
+
*/
|
|
2385
|
+
beforeBlobId?: string | undefined;
|
|
2386
|
+
/**
|
|
2387
|
+
* <p>The number of unchanged lines of context to include before and after each block of
|
|
2388
|
+
* changes in a hunk. Valid values are 0 through 20. Defaults to <code>3</code>.</p>
|
|
2389
|
+
* @public
|
|
2390
|
+
*/
|
|
2391
|
+
contextLines?: number | undefined;
|
|
2392
|
+
/**
|
|
2393
|
+
* <p>Specifies whether to ignore whitespace-only changes when computing the diff. When
|
|
2394
|
+
* <code>true</code>, the operation treats lines that differ only in whitespace as
|
|
2395
|
+
* unchanged. Defaults to <code>false</code>.</p>
|
|
2396
|
+
* @public
|
|
2397
|
+
*/
|
|
2398
|
+
ignoreWhitespace?: boolean | undefined;
|
|
2399
|
+
/**
|
|
2400
|
+
* <p>The maximum number of <code>DiffHunk</code> entries to return in a single response
|
|
2401
|
+
* page. Defaults to <code>100</code>.</p>
|
|
2402
|
+
* @public
|
|
2403
|
+
*/
|
|
2404
|
+
MaxResults?: number | undefined;
|
|
2405
|
+
/**
|
|
2406
|
+
* <p>An enumeration token that returns the next batch of results when present in a
|
|
2407
|
+
* request.</p>
|
|
2408
|
+
* @public
|
|
2409
|
+
*/
|
|
2410
|
+
NextToken?: string | undefined;
|
|
2411
|
+
}
|
|
2412
|
+
/**
|
|
2413
|
+
* <p>A single line-level entry in a diff hunk. Each <code>DiffChange</code> describes one
|
|
2414
|
+
* line and its change type: unchanged context, an addition in the after blob, or a
|
|
2415
|
+
* deletion from the before blob.</p>
|
|
2416
|
+
* @public
|
|
2417
|
+
*/
|
|
2418
|
+
export interface DiffChange {
|
|
2419
|
+
/**
|
|
2420
|
+
* <p>The type of change for this line. Possible values:</p>
|
|
2421
|
+
* <ul>
|
|
2422
|
+
* <li>
|
|
2423
|
+
* <p>
|
|
2424
|
+
* <code>CONTEXT</code> – Unchanged line included for surrounding
|
|
2425
|
+
* context.</p>
|
|
2426
|
+
* </li>
|
|
2427
|
+
* <li>
|
|
2428
|
+
* <p>
|
|
2429
|
+
* <code>ADD</code> – Line added in the after blob.</p>
|
|
2430
|
+
* </li>
|
|
2431
|
+
* <li>
|
|
2432
|
+
* <p>
|
|
2433
|
+
* <code>DELETE</code> – Line removed from the before blob.</p>
|
|
2434
|
+
* </li>
|
|
2435
|
+
* </ul>
|
|
2436
|
+
* @public
|
|
2437
|
+
*/
|
|
2438
|
+
type?: DiffChangeType | undefined;
|
|
2439
|
+
/**
|
|
2440
|
+
* <p>The 1-based line number in the before blob. This field is omitted for
|
|
2441
|
+
* <code>ADD</code> lines.</p>
|
|
2442
|
+
* @public
|
|
2443
|
+
*/
|
|
2444
|
+
beforeLineNumber?: number | undefined;
|
|
2445
|
+
/**
|
|
2446
|
+
* <p>The 1-based line number in the after blob. This field is omitted for
|
|
2447
|
+
* <code>DELETE</code> lines.</p>
|
|
2448
|
+
* @public
|
|
2449
|
+
*/
|
|
2450
|
+
afterLineNumber?: number | undefined;
|
|
2451
|
+
/**
|
|
2452
|
+
* <p>The text content of the line, without the trailing newline.</p>
|
|
2453
|
+
* @public
|
|
2454
|
+
*/
|
|
2455
|
+
content?: string | undefined;
|
|
2456
|
+
}
|
|
2457
|
+
/**
|
|
2458
|
+
* <p>A contiguous run of changed lines from a blob diff, together with any surrounding
|
|
2459
|
+
* unchanged context lines. Hunks are returned in order from the start of the file to the
|
|
2460
|
+
* end. Adjacent or overlapping hunks are merged into a single hunk in the response.</p>
|
|
2461
|
+
* @public
|
|
2462
|
+
*/
|
|
2463
|
+
export interface DiffHunk {
|
|
2464
|
+
/**
|
|
2465
|
+
* <p>The 1-based line number in the before blob where this hunk begins. When the hunk
|
|
2466
|
+
* consists entirely of additions, <code>beforeLineCount</code> is
|
|
2467
|
+
* <code>0</code>.</p>
|
|
2468
|
+
* @public
|
|
2469
|
+
*/
|
|
2470
|
+
beforeStartLine?: number | undefined;
|
|
2471
|
+
/**
|
|
2472
|
+
* <p>The number of lines from the before blob covered by this hunk, including any
|
|
2473
|
+
* context lines.</p>
|
|
2474
|
+
* @public
|
|
2475
|
+
*/
|
|
2476
|
+
beforeLineCount?: number | undefined;
|
|
2477
|
+
/**
|
|
2478
|
+
* <p>The 1-based line number in the after blob where this hunk begins. When the hunk
|
|
2479
|
+
* consists entirely of deletions, <code>afterLineCount</code> is
|
|
2480
|
+
* <code>0</code>.</p>
|
|
2481
|
+
* @public
|
|
2482
|
+
*/
|
|
2483
|
+
afterStartLine?: number | undefined;
|
|
2484
|
+
/**
|
|
2485
|
+
* <p>The number of lines from the after blob covered by this hunk, including any context
|
|
2486
|
+
* lines.</p>
|
|
2487
|
+
* @public
|
|
2488
|
+
*/
|
|
2489
|
+
afterLineCount?: number | undefined;
|
|
2490
|
+
/**
|
|
2491
|
+
* <p>An ordered list of line-level changes that make up this hunk. Each entry indicates
|
|
2492
|
+
* whether the line is unchanged context, an addition, or a deletion.</p>
|
|
2493
|
+
* @public
|
|
2494
|
+
*/
|
|
2495
|
+
changes?: DiffChange[] | undefined;
|
|
2496
|
+
}
|
|
2497
|
+
/**
|
|
2498
|
+
* @public
|
|
2499
|
+
*/
|
|
2500
|
+
export interface GetBlobDifferencesOutput {
|
|
2501
|
+
/**
|
|
2502
|
+
* <p>An ordered list of diff hunks. Each hunk represents a contiguous run of changed and
|
|
2503
|
+
* adjacent context lines. The list is empty when the blobs are identical or when the
|
|
2504
|
+
* content is binary. The list is also empty when a paginated request has already returned
|
|
2505
|
+
* all hunks in earlier pages, in which case <code>NextToken</code> is also
|
|
2506
|
+
* <code>null</code>.</p>
|
|
2507
|
+
* @public
|
|
2508
|
+
*/
|
|
2509
|
+
hunks: DiffHunk[] | undefined;
|
|
2510
|
+
/**
|
|
2511
|
+
* <p>Specifies whether the operation treated the diff content as binary. When
|
|
2512
|
+
* <code>true</code>, the operation does not compute a line-level diff and
|
|
2513
|
+
* <code>hunks</code> is empty.</p>
|
|
2514
|
+
* @public
|
|
2515
|
+
*/
|
|
2516
|
+
isBinary: boolean | undefined;
|
|
2517
|
+
/**
|
|
2518
|
+
* <p>The size, in bytes, of the blob identified by <code>beforeBlobId</code>. Returns
|
|
2519
|
+
* <code>0</code> when you do not specify <code>beforeBlobId</code>.</p>
|
|
2520
|
+
* @public
|
|
2521
|
+
*/
|
|
2522
|
+
beforeBlobSize?: number | undefined;
|
|
2523
|
+
/**
|
|
2524
|
+
* <p>The size, in bytes, of the blob identified by <code>afterBlobId</code>.</p>
|
|
2525
|
+
* @public
|
|
2526
|
+
*/
|
|
2527
|
+
afterBlobSize: number | undefined;
|
|
2528
|
+
/**
|
|
2529
|
+
* <p>An enumeration token that can be used in a request to return the next batch of
|
|
2530
|
+
* <code>DiffHunk</code> entries. <code>null</code> when the response contains the final
|
|
2531
|
+
* page of the diff.</p>
|
|
2532
|
+
* @public
|
|
2533
|
+
*/
|
|
2534
|
+
NextToken?: string | undefined;
|
|
2535
|
+
}
|
|
2361
2536
|
/**
|
|
2362
2537
|
* <p>Represents the input of a get branch operation.</p>
|
|
2363
2538
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { GetBlobDifferencesCommandInput, GetBlobDifferencesCommandOutput } from "../commands/GetBlobDifferencesCommand";
|
|
3
|
+
import type { CodeCommitPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateGetBlobDifferences: (config: CodeCommitPaginationConfiguration, input: GetBlobDifferencesCommandInput, ...rest: any[]) => Paginator<GetBlobDifferencesCommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./DescribeMergeConflictsPaginator";
|
|
3
3
|
export * from "./DescribePullRequestEventsPaginator";
|
|
4
|
+
export * from "./GetBlobDifferencesPaginator";
|
|
4
5
|
export * from "./GetCommentReactionsPaginator";
|
|
5
6
|
export * from "./GetCommentsForComparedCommitPaginator";
|
|
6
7
|
export * from "./GetCommentsForPullRequestPaginator";
|
|
@@ -4,49 +4,14 @@ import type { CodeCommitClientConfig } from "./CodeCommitClient";
|
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
|
|
7
|
-
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
|
-
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
|
-
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
|
-
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
-
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
17
|
-
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
18
|
-
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
|
-
cacheMiddleware?: boolean | undefined;
|
|
20
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
21
|
-
protocolSettings: {
|
|
22
|
-
defaultNamespace?: string;
|
|
23
|
-
[setting: string]: unknown;
|
|
24
|
-
};
|
|
25
|
-
apiVersion: string;
|
|
26
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
27
|
-
urlParser: import("@smithy/types").UrlParser;
|
|
28
|
-
base64Decoder: import("@smithy/types").Decoder;
|
|
29
|
-
base64Encoder: (_input: Uint8Array | string) => string;
|
|
30
|
-
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
|
-
utf8Encoder: (input: Uint8Array | string) => string;
|
|
32
|
-
disableHostPrefix: boolean;
|
|
33
|
-
serviceId: string;
|
|
34
|
-
profile?: string;
|
|
35
|
-
logger: import("@smithy/types").Logger;
|
|
36
|
-
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
7
|
+
cacheMiddleware?: boolean;
|
|
37
8
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
38
9
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
39
|
-
|
|
40
|
-
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
41
|
-
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
42
|
-
logger?: import("@smithy/types").Logger;
|
|
43
|
-
}) => import("@smithy/types").EndpointV2;
|
|
10
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
44
11
|
tls?: boolean;
|
|
45
12
|
ignoreConfiguredEndpointUrls?: boolean;
|
|
46
13
|
serviceConfiguredEndpoint?: never;
|
|
47
|
-
|
|
48
|
-
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
49
|
-
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCommitHttpAuthSchemeProvider;
|
|
14
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
50
15
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
51
16
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
52
17
|
signingEscapePath?: boolean;
|
|
@@ -54,4 +19,39 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
|
|
|
54
19
|
signingRegion?: string;
|
|
55
20
|
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
56
21
|
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
23
|
+
apiVersion: string;
|
|
24
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
26
|
+
disableHostPrefix: boolean;
|
|
27
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
28
|
+
logger?: import("@smithy/types").Logger;
|
|
29
|
+
}) => import("@smithy/types").EndpointV2;
|
|
30
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCommitHttpAuthSchemeProvider;
|
|
32
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
33
|
+
logger: import("@smithy/types").Logger;
|
|
34
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
35
|
+
protocolSettings: {
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
};
|
|
39
|
+
serviceId: string;
|
|
40
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
41
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
42
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
43
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
44
|
+
profile?: string;
|
|
45
|
+
runtime: string;
|
|
46
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
47
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
48
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
49
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
50
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
52
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
53
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
55
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
56
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
57
57
|
};
|