@aws-sdk/client-codecommit 3.1108.0 → 3.1110.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/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/schemas/schemas_0.d.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { GetBlobDifferencesInput, GetBlobDifferencesOutput } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface GetBlobDifferencesCommandInput extends GetBlobDifferencesInput {}
|
|
5
|
+
export interface GetBlobDifferencesCommandOutput
|
|
6
|
+
extends GetBlobDifferencesOutput, __MetadataBearer {}
|
|
7
|
+
declare const GetBlobDifferencesCommand_base: {
|
|
8
|
+
new (
|
|
9
|
+
input: GetBlobDifferencesCommandInput,
|
|
10
|
+
): import("@smithy/core/client").CommandImpl<
|
|
11
|
+
GetBlobDifferencesCommandInput,
|
|
12
|
+
GetBlobDifferencesCommandOutput,
|
|
13
|
+
import("..").CodeCommitClientResolvedConfig,
|
|
14
|
+
import("..").ServiceInputTypes,
|
|
15
|
+
import("..").ServiceOutputTypes
|
|
16
|
+
>;
|
|
17
|
+
new (
|
|
18
|
+
input: GetBlobDifferencesCommandInput,
|
|
19
|
+
): import("@smithy/core/client").CommandImpl<
|
|
20
|
+
GetBlobDifferencesCommandInput,
|
|
21
|
+
GetBlobDifferencesCommandOutput,
|
|
22
|
+
import("..").CodeCommitClientResolvedConfig,
|
|
23
|
+
import("..").ServiceInputTypes,
|
|
24
|
+
import("..").ServiceOutputTypes
|
|
25
|
+
>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
export declare class GetBlobDifferencesCommand extends GetBlobDifferencesCommand_base {
|
|
29
|
+
protected static __types: {
|
|
30
|
+
api: {
|
|
31
|
+
input: GetBlobDifferencesInput;
|
|
32
|
+
output: GetBlobDifferencesOutput;
|
|
33
|
+
};
|
|
34
|
+
sdk: {
|
|
35
|
+
input: GetBlobDifferencesCommandInput;
|
|
36
|
+
output: GetBlobDifferencesCommandOutput;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -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";
|
|
@@ -82,6 +82,12 @@ export declare const PullRequestEventType: {
|
|
|
82
82
|
readonly PULL_REQUEST_STATUS_CHANGED: "PULL_REQUEST_STATUS_CHANGED";
|
|
83
83
|
};
|
|
84
84
|
export type PullRequestEventType = (typeof PullRequestEventType)[keyof typeof PullRequestEventType];
|
|
85
|
+
export declare const DiffChangeType: {
|
|
86
|
+
readonly ADD: "ADD";
|
|
87
|
+
readonly CONTEXT: "CONTEXT";
|
|
88
|
+
readonly DELETE: "DELETE";
|
|
89
|
+
};
|
|
90
|
+
export type DiffChangeType = (typeof DiffChangeType)[keyof typeof DiffChangeType];
|
|
85
91
|
export declare const RelativeFileVersionEnum: {
|
|
86
92
|
readonly AFTER: "AFTER";
|
|
87
93
|
readonly BEFORE: "BEFORE";
|
|
@@ -731,6 +731,11 @@ export declare class InvalidBlobIdException extends __BaseException {
|
|
|
731
731
|
readonly $fault: "client";
|
|
732
732
|
constructor(opts: __ExceptionOptionType<InvalidBlobIdException, __BaseException>);
|
|
733
733
|
}
|
|
734
|
+
export declare class ValidationException extends __BaseException {
|
|
735
|
+
readonly name: "ValidationException";
|
|
736
|
+
readonly $fault: "client";
|
|
737
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
738
|
+
}
|
|
734
739
|
export declare class InvalidReactionUserArnException extends __BaseException {
|
|
735
740
|
readonly name: "InvalidReactionUserArnException";
|
|
736
741
|
readonly $fault: "client";
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
ChangeTypeEnum,
|
|
5
5
|
ConflictDetailLevelTypeEnum,
|
|
6
6
|
ConflictResolutionStrategyTypeEnum,
|
|
7
|
+
DiffChangeType,
|
|
7
8
|
FileModeTypeEnum,
|
|
8
9
|
MergeOptionTypeEnum,
|
|
9
10
|
ObjectTypeEnum,
|
|
@@ -524,6 +525,35 @@ export interface GetBlobInput {
|
|
|
524
525
|
export interface GetBlobOutput {
|
|
525
526
|
content: Uint8Array | undefined;
|
|
526
527
|
}
|
|
528
|
+
export interface GetBlobDifferencesInput {
|
|
529
|
+
repositoryName: string | undefined;
|
|
530
|
+
afterBlobId: string | undefined;
|
|
531
|
+
beforeBlobId?: string | undefined;
|
|
532
|
+
contextLines?: number | undefined;
|
|
533
|
+
ignoreWhitespace?: boolean | undefined;
|
|
534
|
+
MaxResults?: number | undefined;
|
|
535
|
+
NextToken?: string | undefined;
|
|
536
|
+
}
|
|
537
|
+
export interface DiffChange {
|
|
538
|
+
type?: DiffChangeType | undefined;
|
|
539
|
+
beforeLineNumber?: number | undefined;
|
|
540
|
+
afterLineNumber?: number | undefined;
|
|
541
|
+
content?: string | undefined;
|
|
542
|
+
}
|
|
543
|
+
export interface DiffHunk {
|
|
544
|
+
beforeStartLine?: number | undefined;
|
|
545
|
+
beforeLineCount?: number | undefined;
|
|
546
|
+
afterStartLine?: number | undefined;
|
|
547
|
+
afterLineCount?: number | undefined;
|
|
548
|
+
changes?: DiffChange[] | undefined;
|
|
549
|
+
}
|
|
550
|
+
export interface GetBlobDifferencesOutput {
|
|
551
|
+
hunks: DiffHunk[] | undefined;
|
|
552
|
+
isBinary: boolean | undefined;
|
|
553
|
+
beforeBlobSize?: number | undefined;
|
|
554
|
+
afterBlobSize: number | undefined;
|
|
555
|
+
NextToken?: string | undefined;
|
|
556
|
+
}
|
|
527
557
|
export interface GetBranchInput {
|
|
528
558
|
repositoryName?: string | undefined;
|
|
529
559
|
branchName?: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetBlobDifferencesCommandInput,
|
|
4
|
+
GetBlobDifferencesCommandOutput,
|
|
5
|
+
} from "../commands/GetBlobDifferencesCommand";
|
|
6
|
+
import { CodeCommitPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetBlobDifferences: (
|
|
8
|
+
config: CodeCommitPaginationConfiguration,
|
|
9
|
+
input: GetBlobDifferencesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => 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";
|
|
@@ -190,6 +190,7 @@ export declare var TipOfSourceReferenceIsDifferentException$: StaticErrorSchema;
|
|
|
190
190
|
export declare var TipsDivergenceExceededException$: StaticErrorSchema;
|
|
191
191
|
export declare var TitleRequiredException$: StaticErrorSchema;
|
|
192
192
|
export declare var TooManyTagsException$: StaticErrorSchema;
|
|
193
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
193
194
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
194
195
|
export declare var Approval$: StaticStructureSchema;
|
|
195
196
|
export declare var ApprovalRule$: StaticStructureSchema;
|
|
@@ -252,7 +253,9 @@ export declare var DescribeMergeConflictsInput$: StaticStructureSchema;
|
|
|
252
253
|
export declare var DescribeMergeConflictsOutput$: StaticStructureSchema;
|
|
253
254
|
export declare var DescribePullRequestEventsInput$: StaticStructureSchema;
|
|
254
255
|
export declare var DescribePullRequestEventsOutput$: StaticStructureSchema;
|
|
256
|
+
export declare var DiffChange$: StaticStructureSchema;
|
|
255
257
|
export declare var Difference$: StaticStructureSchema;
|
|
258
|
+
export declare var DiffHunk$: StaticStructureSchema;
|
|
256
259
|
export declare var DisassociateApprovalRuleTemplateFromRepositoryInput$: StaticStructureSchema;
|
|
257
260
|
export declare var EvaluatePullRequestApprovalRulesInput$: StaticStructureSchema;
|
|
258
261
|
export declare var EvaluatePullRequestApprovalRulesOutput$: StaticStructureSchema;
|
|
@@ -265,6 +268,8 @@ export declare var FileVersion$: StaticStructureSchema;
|
|
|
265
268
|
export declare var Folder$: StaticStructureSchema;
|
|
266
269
|
export declare var GetApprovalRuleTemplateInput$: StaticStructureSchema;
|
|
267
270
|
export declare var GetApprovalRuleTemplateOutput$: StaticStructureSchema;
|
|
271
|
+
export declare var GetBlobDifferencesInput$: StaticStructureSchema;
|
|
272
|
+
export declare var GetBlobDifferencesOutput$: StaticStructureSchema;
|
|
268
273
|
export declare var GetBlobInput$: StaticStructureSchema;
|
|
269
274
|
export declare var GetBlobOutput$: StaticStructureSchema;
|
|
270
275
|
export declare var GetBranchInput$: StaticStructureSchema;
|
|
@@ -421,6 +426,7 @@ export declare var DisassociateApprovalRuleTemplateFromRepository$: StaticOperat
|
|
|
421
426
|
export declare var EvaluatePullRequestApprovalRules$: StaticOperationSchema;
|
|
422
427
|
export declare var GetApprovalRuleTemplate$: StaticOperationSchema;
|
|
423
428
|
export declare var GetBlob$: StaticOperationSchema;
|
|
429
|
+
export declare var GetBlobDifferences$: StaticOperationSchema;
|
|
424
430
|
export declare var GetBranch$: StaticOperationSchema;
|
|
425
431
|
export declare var GetComment$: StaticOperationSchema;
|
|
426
432
|
export declare var GetCommentReactions$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codecommit",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1110.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Codecommit Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-codecommit",
|
|
6
6
|
"license": "Apache-2.0",
|