@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.
Files changed (41) hide show
  1. package/README.md +13 -0
  2. package/dist-cjs/index.js +92 -1
  3. package/dist-es/CodeCommit.js +4 -0
  4. package/dist-es/commands/GetBlobDifferencesCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +5 -0
  7. package/dist-es/models/errors.js +12 -0
  8. package/dist-es/pagination/GetBlobDifferencesPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/schemas/schemas_0.js +58 -1
  11. package/dist-types/CodeCommit.d.ts +20 -0
  12. package/dist-types/CodeCommitClient.d.ts +9 -2
  13. package/dist-types/commands/GetBlobDifferencesCommand.d.ts +152 -0
  14. package/dist-types/commands/GetDifferencesCommand.d.ts +2 -0
  15. package/dist-types/commands/index.d.ts +1 -0
  16. package/dist-types/index.d.ts +6 -0
  17. package/dist-types/models/enums.d.ts +13 -0
  18. package/dist-types/models/errors.d.ts +12 -0
  19. package/dist-types/models/models_0.d.ts +176 -1
  20. package/dist-types/pagination/GetBlobDifferencesPaginator.d.ts +7 -0
  21. package/dist-types/pagination/index.d.ts +1 -0
  22. package/dist-types/runtimeConfig.browser.d.ts +38 -38
  23. package/dist-types/runtimeConfig.d.ts +36 -36
  24. package/dist-types/runtimeConfig.native.d.ts +37 -37
  25. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  26. package/dist-types/schemas/schemas_0.d.ts +6 -0
  27. package/dist-types/ts3.4/CodeCommit.d.ts +24 -0
  28. package/dist-types/ts3.4/CodeCommitClient.d.ts +6 -0
  29. package/dist-types/ts3.4/commands/GetBlobDifferencesCommand.d.ts +39 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  32. package/dist-types/ts3.4/models/errors.d.ts +5 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +30 -0
  34. package/dist-types/ts3.4/pagination/GetBlobDifferencesPaginator.d.ts +11 -0
  35. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  41. package/package.json +5 -5
@@ -4,11 +4,46 @@ import type { CodeCommitClientConfig } from "./CodeCommitClient";
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
7
+ cacheMiddleware?: boolean;
8
+ customUserAgent?: string | import("@smithy/types").UserAgent;
9
+ 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;
10
+ tls?: boolean;
11
+ ignoreConfiguredEndpointUrls?: boolean;
12
+ serviceConfiguredEndpoint?: never;
13
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
14
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
15
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
16
+ signingEscapePath?: boolean;
17
+ systemClockOffset?: number;
18
+ signingRegion?: string;
19
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
20
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
21
+ apiVersion: string;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: (_input: Uint8Array | string) => string;
24
+ disableHostPrefix: boolean;
25
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
26
+ logger?: import("@smithy/types").Logger;
27
+ }) => import("@smithy/types").EndpointV2;
28
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCommitHttpAuthSchemeProvider;
30
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
31
+ logger: import("@smithy/types").Logger;
32
+ protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
33
+ protocolSettings: {
34
+ [setting: string]: unknown;
35
+ defaultNamespace?: string;
36
+ };
37
+ serviceId: string;
38
+ sha256: import("@smithy/types").HashConstructor;
39
+ urlParser: import("@smithy/types").UrlParser;
40
+ utf8Decoder: import("@smithy/types").Decoder;
41
+ utf8Encoder: (input: Uint8Array | string) => string;
7
42
  runtime: string;
8
43
  defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
44
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
45
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
46
+ credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
12
47
  defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
48
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
49
  region: string | import("@smithy/types").Provider<string>;
@@ -18,40 +53,5 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
18
53
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
54
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
55
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
21
- cacheMiddleware?: boolean | undefined;
22
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
23
- protocolSettings: {
24
- defaultNamespace?: string;
25
- [setting: string]: unknown;
26
- };
27
- apiVersion: string;
28
- sha256: import("@smithy/types").HashConstructor;
29
- urlParser: import("@smithy/types").UrlParser;
30
- base64Decoder: import("@smithy/types").Decoder;
31
- base64Encoder: (_input: Uint8Array | string) => string;
32
- utf8Decoder: import("@smithy/types").Decoder;
33
- utf8Encoder: (input: Uint8Array | string) => string;
34
- disableHostPrefix: boolean;
35
- serviceId: string;
36
56
  profile?: string;
37
- logger: import("@smithy/types").Logger;
38
- extensions: import("./runtimeExtensions").RuntimeExtension[];
39
- customUserAgent?: string | import("@smithy/types").UserAgent;
40
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
41
- 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;
42
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
43
- logger?: import("@smithy/types").Logger;
44
- }) => import("@smithy/types").EndpointV2;
45
- tls?: boolean;
46
- ignoreConfiguredEndpointUrls?: boolean;
47
- serviceConfiguredEndpoint?: never;
48
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
49
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCommitHttpAuthSchemeProvider;
50
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
51
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
52
- signingEscapePath?: boolean;
53
- systemClockOffset?: number;
54
- signingRegion?: string;
55
- signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
56
- disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
57
57
  };
@@ -3,49 +3,14 @@ import type { CodeCommitClientConfig } from "./CodeCommitClient";
3
3
  * @internal
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
6
- runtime: string;
7
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
6
  cacheMiddleware?: boolean;
9
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
10
- protocolSettings: {
11
- defaultNamespace?: string;
12
- [setting: string]: unknown;
13
- };
14
- apiVersion: string;
15
- sha256: import("@smithy/types").HashConstructor;
16
- urlParser: import("@smithy/types").UrlParser;
17
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
- streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
- base64Decoder: import("@smithy/types").Decoder;
20
- base64Encoder: (_input: Uint8Array | string) => string;
21
- utf8Decoder: import("@smithy/types").Decoder;
22
- utf8Encoder: (input: Uint8Array | string) => string;
23
- disableHostPrefix: boolean;
24
- serviceId: string;
25
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
- region: string | import("@smithy/types").Provider<any>;
28
- profile?: string;
29
- defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
30
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
31
- maxAttempts: number | import("@smithy/types").Provider<number>;
32
- retryMode: string | import("@smithy/types").Provider<string>;
33
- logger: import("@smithy/types").Logger;
34
- extensions: import("./runtimeExtensions").RuntimeExtension[];
35
- defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
36
7
  customUserAgent?: string | import("@smithy/types").UserAgent;
37
8
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
38
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
39
- 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;
40
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
41
- logger?: import("@smithy/types").Logger;
42
- }) => import("@smithy/types").EndpointV2;
9
+ 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;
43
10
  tls?: boolean;
44
11
  ignoreConfiguredEndpointUrls?: boolean;
45
12
  serviceConfiguredEndpoint?: never;
46
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
47
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
48
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCommitHttpAuthSchemeProvider;
13
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
49
14
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
50
15
  signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
51
16
  signingEscapePath?: boolean;
@@ -53,4 +18,39 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
53
18
  signingRegion?: string;
54
19
  signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
55
20
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
21
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
22
+ apiVersion: string;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: Uint8Array | string) => string;
25
+ disableHostPrefix: boolean;
26
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
27
+ logger?: import("@smithy/types").Logger;
28
+ }) => import("@smithy/types").EndpointV2;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCommitHttpAuthSchemeProvider;
31
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
32
+ logger: import("@smithy/types").Logger;
33
+ protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
34
+ protocolSettings: {
35
+ [setting: string]: unknown;
36
+ defaultNamespace?: string;
37
+ };
38
+ serviceId: string;
39
+ sha256: import("@smithy/types").HashConstructor;
40
+ urlParser: import("@smithy/types").UrlParser;
41
+ utf8Decoder: import("@smithy/types").Decoder;
42
+ utf8Encoder: (input: Uint8Array | string) => string;
43
+ profile?: string;
44
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode> | import("@smithy/core/client").DefaultsMode;
45
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
46
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
47
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
48
+ maxAttempts: number | import("@smithy/types").Provider<number>;
49
+ region: string | import("@smithy/types").Provider<any>;
50
+ requestHandler: import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/types").FetchHttpHandlerOptions | import("@smithy/types").NodeHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any>;
51
+ retryMode: string | import("@smithy/types").Provider<string>;
52
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
53
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
54
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
55
+ runtime: string;
56
56
  };
@@ -8,14 +8,14 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
8
8
  base64Decoder: import("@smithy/types").Decoder;
9
9
  base64Encoder: (_input: Uint8Array | string) => string;
10
10
  disableHostPrefix: boolean;
11
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
12
12
  logger?: import("@smithy/types").Logger;
13
13
  }) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCommitHttpAuthSchemeProvider;
16
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
17
  logger: import("@smithy/types").Logger;
18
- protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_1Protocol;
18
+ protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof AwsJson1_1Protocol;
19
19
  protocolSettings: {
20
20
  [setting: string]: unknown;
21
21
  defaultNamespace?: string;
@@ -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
  /**
194
195
  * TypeRegistry instances containing modeled errors.
195
196
  * @internal
@@ -257,7 +258,9 @@ export declare var DescribeMergeConflictsInput$: StaticStructureSchema;
257
258
  export declare var DescribeMergeConflictsOutput$: StaticStructureSchema;
258
259
  export declare var DescribePullRequestEventsInput$: StaticStructureSchema;
259
260
  export declare var DescribePullRequestEventsOutput$: StaticStructureSchema;
261
+ export declare var DiffChange$: StaticStructureSchema;
260
262
  export declare var Difference$: StaticStructureSchema;
263
+ export declare var DiffHunk$: StaticStructureSchema;
261
264
  export declare var DisassociateApprovalRuleTemplateFromRepositoryInput$: StaticStructureSchema;
262
265
  export declare var EvaluatePullRequestApprovalRulesInput$: StaticStructureSchema;
263
266
  export declare var EvaluatePullRequestApprovalRulesOutput$: StaticStructureSchema;
@@ -270,6 +273,8 @@ export declare var FileVersion$: StaticStructureSchema;
270
273
  export declare var Folder$: StaticStructureSchema;
271
274
  export declare var GetApprovalRuleTemplateInput$: StaticStructureSchema;
272
275
  export declare var GetApprovalRuleTemplateOutput$: StaticStructureSchema;
276
+ export declare var GetBlobDifferencesInput$: StaticStructureSchema;
277
+ export declare var GetBlobDifferencesOutput$: StaticStructureSchema;
273
278
  export declare var GetBlobInput$: StaticStructureSchema;
274
279
  export declare var GetBlobOutput$: StaticStructureSchema;
275
280
  export declare var GetBranchInput$: StaticStructureSchema;
@@ -426,6 +431,7 @@ export declare var DisassociateApprovalRuleTemplateFromRepository$: StaticOperat
426
431
  export declare var EvaluatePullRequestApprovalRules$: StaticOperationSchema;
427
432
  export declare var GetApprovalRuleTemplate$: StaticOperationSchema;
428
433
  export declare var GetBlob$: StaticOperationSchema;
434
+ export declare var GetBlobDifferences$: StaticOperationSchema;
429
435
  export declare var GetBranch$: StaticOperationSchema;
430
436
  export declare var GetComment$: StaticOperationSchema;
431
437
  export declare var GetCommentReactions$: StaticOperationSchema;
@@ -98,6 +98,10 @@ import {
98
98
  GetApprovalRuleTemplateCommandOutput,
99
99
  } from "./commands/GetApprovalRuleTemplateCommand";
100
100
  import { GetBlobCommandInput, GetBlobCommandOutput } from "./commands/GetBlobCommand";
101
+ import {
102
+ GetBlobDifferencesCommandInput,
103
+ GetBlobDifferencesCommandOutput,
104
+ } from "./commands/GetBlobDifferencesCommand";
101
105
  import { GetBranchCommandInput, GetBranchCommandOutput } from "./commands/GetBranchCommand";
102
106
  import { GetCommentCommandInput, GetCommentCommandOutput } from "./commands/GetCommentCommand";
103
107
  import {
@@ -619,6 +623,19 @@ export interface CodeCommit {
619
623
  options: __HttpHandlerOptions,
620
624
  cb: (err: any, data?: GetBlobCommandOutput) => void,
621
625
  ): void;
626
+ getBlobDifferences(
627
+ args: GetBlobDifferencesCommandInput,
628
+ options?: __HttpHandlerOptions,
629
+ ): Promise<GetBlobDifferencesCommandOutput>;
630
+ getBlobDifferences(
631
+ args: GetBlobDifferencesCommandInput,
632
+ cb: (err: any, data?: GetBlobDifferencesCommandOutput) => void,
633
+ ): void;
634
+ getBlobDifferences(
635
+ args: GetBlobDifferencesCommandInput,
636
+ options: __HttpHandlerOptions,
637
+ cb: (err: any, data?: GetBlobDifferencesCommandOutput) => void,
638
+ ): void;
622
639
  getBranch(): Promise<GetBranchCommandOutput>;
623
640
  getBranch(
624
641
  args: GetBranchCommandInput,
@@ -1326,6 +1343,13 @@ export interface CodeCommit {
1326
1343
  Exclude<keyof PaginationConfiguration, "client">
1327
1344
  >,
1328
1345
  ): Paginator<DescribePullRequestEventsCommandOutput>;
1346
+ paginateGetBlobDifferences(
1347
+ args: GetBlobDifferencesCommandInput,
1348
+ paginationConfig?: Pick<
1349
+ PaginationConfiguration,
1350
+ Exclude<keyof PaginationConfiguration, "client">
1351
+ >,
1352
+ ): Paginator<GetBlobDifferencesCommandOutput>;
1329
1353
  paginateGetCommentReactions(
1330
1354
  args: GetCommentReactionsCommandInput,
1331
1355
  paginationConfig?: Pick<
@@ -127,6 +127,10 @@ import {
127
127
  GetApprovalRuleTemplateCommandOutput,
128
128
  } from "./commands/GetApprovalRuleTemplateCommand";
129
129
  import { GetBlobCommandInput, GetBlobCommandOutput } from "./commands/GetBlobCommand";
130
+ import {
131
+ GetBlobDifferencesCommandInput,
132
+ GetBlobDifferencesCommandOutput,
133
+ } from "./commands/GetBlobDifferencesCommand";
130
134
  import { GetBranchCommandInput, GetBranchCommandOutput } from "./commands/GetBranchCommand";
131
135
  import { GetCommentCommandInput, GetCommentCommandOutput } from "./commands/GetCommentCommand";
132
136
  import {
@@ -355,6 +359,7 @@ export type ServiceInputTypes =
355
359
  | EvaluatePullRequestApprovalRulesCommandInput
356
360
  | GetApprovalRuleTemplateCommandInput
357
361
  | GetBlobCommandInput
362
+ | GetBlobDifferencesCommandInput
358
363
  | GetBranchCommandInput
359
364
  | GetCommentCommandInput
360
365
  | GetCommentReactionsCommandInput
@@ -435,6 +440,7 @@ export type ServiceOutputTypes =
435
440
  | EvaluatePullRequestApprovalRulesCommandOutput
436
441
  | GetApprovalRuleTemplateCommandOutput
437
442
  | GetBlobCommandOutput
443
+ | GetBlobDifferencesCommandOutput
438
444
  | GetBranchCommandOutput
439
445
  | GetCommentCommandOutput
440
446
  | GetCommentReactionsCommandOutput
@@ -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";
@@ -1,81 +1,30 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { CodeCommitClientConfig } from "./CodeCommitClient";
3
3
  export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
4
- runtime: string;
5
- defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/core/client").ResolvedDefaultsMode
7
- >;
8
- bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider:
10
- | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
- defaultUserAgentProvider: (
13
- config?: import("@aws-sdk/core/client").PreviouslyResolved,
14
- ) => Promise<import("@smithy/types").UserAgent>;
15
- maxAttempts: number | import("@smithy/types").Provider<number>;
16
- region: string | import("@smithy/types").Provider<any>;
17
- requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
18
- retryMode: string | import("@smithy/types").Provider<string>;
19
- streamCollector: (
20
- stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
21
- ) => Promise<Uint8Array>;
22
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
- (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
- cacheMiddleware?: boolean | undefined;
27
- protocol:
28
- | import("@smithy/types").ClientProtocol<any, any>
29
- | import("@smithy/types").ClientProtocolCtor<any, any>
30
- | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
31
- protocolSettings: {
32
- defaultNamespace?: string;
33
- [setting: string]: unknown;
34
- };
35
- apiVersion: string;
36
- sha256: import("@smithy/types").HashConstructor;
37
- urlParser: import("@smithy/types").UrlParser;
38
- base64Decoder: import("@smithy/types").Decoder;
39
- base64Encoder: (_input: Uint8Array | string) => string;
40
- utf8Decoder: import("@smithy/types").Decoder;
41
- utf8Encoder: (input: Uint8Array | string) => string;
42
- disableHostPrefix: boolean;
43
- serviceId: string;
44
- profile?: string;
45
- logger: import("@smithy/types").Logger;
46
- extensions: import("./runtimeExtensions").RuntimeExtension[];
4
+ cacheMiddleware?: boolean;
47
5
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
6
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
50
7
  endpoint?:
51
8
  | ((
52
9
  | string
53
10
  | import("@smithy/types").Endpoint
54
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
11
  | import("@smithy/types").EndpointV2
12
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
13
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
14
  ) &
58
15
  (
59
16
  | string
60
- | import("@smithy/types").Provider<string>
61
17
  | import("@smithy/types").Endpoint
62
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
63
18
  | import("@smithy/types").EndpointV2
19
+ | import("@smithy/types").Provider<string>
20
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
21
  | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
65
22
  ))
66
23
  | undefined;
67
- endpointProvider: (
68
- endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
- context?: {
70
- logger?: import("@smithy/types").Logger;
71
- },
72
- ) => import("@smithy/types").EndpointV2;
73
24
  tls?: boolean;
74
25
  ignoreConfiguredEndpointUrls?: boolean;
75
26
  serviceConfiguredEndpoint?: never;
76
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
77
- httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
78
- httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCommitHttpAuthSchemeProvider;
27
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
79
28
  credentials?:
80
29
  | import("@smithy/types").AwsCredentialIdentity
81
30
  | import("@smithy/types").AwsCredentialIdentityProvider;
@@ -92,4 +41,53 @@ export declare const getRuntimeConfig: (config: CodeCommitClientConfig) => {
92
41
  import("@smithy/signature-v4").SignatureV4CryptoInit,
93
42
  ) => import("@smithy/types").RequestSigner;
94
43
  disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
44
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
45
+ apiVersion: string;
46
+ base64Decoder: import("@smithy/types").Decoder;
47
+ base64Encoder: (_input: Uint8Array | string) => string;
48
+ disableHostPrefix: boolean;
49
+ endpointProvider: (
50
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@smithy/types").Logger;
53
+ },
54
+ ) => import("@smithy/types").EndpointV2;
55
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
56
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCommitHttpAuthSchemeProvider;
57
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
58
+ logger: import("@smithy/types").Logger;
59
+ protocol:
60
+ | import("@smithy/types").$ClientProtocol<any, any>
61
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
62
+ | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
63
+ protocolSettings: {
64
+ [setting: string]: unknown;
65
+ defaultNamespace?: string;
66
+ };
67
+ serviceId: string;
68
+ sha256: import("@smithy/types").HashConstructor;
69
+ urlParser: import("@smithy/types").UrlParser;
70
+ utf8Decoder: import("@smithy/types").Decoder;
71
+ utf8Encoder: (input: Uint8Array | string) => string;
72
+ profile?: string;
73
+ runtime: string;
74
+ defaultsMode: import("@smithy/types").Provider<
75
+ import("@smithy/core/client").ResolvedDefaultsMode
76
+ >;
77
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
78
+ credentialDefaultProvider:
79
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
80
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
81
+ defaultUserAgentProvider: (
82
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
83
+ ) => Promise<import("@smithy/types").UserAgent>;
84
+ maxAttempts: number | import("@smithy/types").Provider<number>;
85
+ region: string | import("@smithy/types").Provider<any>;
86
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
87
+ retryMode: string | import("@smithy/types").Provider<string>;
88
+ streamCollector: (
89
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
90
+ ) => Promise<Uint8Array>;
91
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
92
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
95
93
  };