@aws-sdk/client-codecommit 3.616.0 → 3.620.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -227,6 +227,7 @@ __export(src_exports, {
227
227
  NumberOfRuleTemplatesExceededException: () => NumberOfRuleTemplatesExceededException,
228
228
  NumberOfRulesExceededException: () => NumberOfRulesExceededException,
229
229
  ObjectTypeEnum: () => ObjectTypeEnum,
230
+ OperationNotAllowedException: () => OperationNotAllowedException,
230
231
  OrderEnum: () => OrderEnum,
231
232
  OverrideAlreadySetException: () => OverrideAlreadySetException,
232
233
  OverridePullRequestApprovalRulesCommand: () => OverridePullRequestApprovalRulesCommand,
@@ -2401,6 +2402,23 @@ var _InvalidTagsMapException = class _InvalidTagsMapException extends CodeCommit
2401
2402
  };
2402
2403
  __name(_InvalidTagsMapException, "InvalidTagsMapException");
2403
2404
  var InvalidTagsMapException = _InvalidTagsMapException;
2405
+ var _OperationNotAllowedException = class _OperationNotAllowedException extends CodeCommitServiceException {
2406
+ /**
2407
+ * @internal
2408
+ */
2409
+ constructor(opts) {
2410
+ super({
2411
+ name: "OperationNotAllowedException",
2412
+ $fault: "client",
2413
+ ...opts
2414
+ });
2415
+ this.name = "OperationNotAllowedException";
2416
+ this.$fault = "client";
2417
+ Object.setPrototypeOf(this, _OperationNotAllowedException.prototype);
2418
+ }
2419
+ };
2420
+ __name(_OperationNotAllowedException, "OperationNotAllowedException");
2421
+ var OperationNotAllowedException = _OperationNotAllowedException;
2404
2422
  var _RepositoryLimitExceededException = class _RepositoryLimitExceededException extends CodeCommitServiceException {
2405
2423
  /**
2406
2424
  * @internal
@@ -5555,6 +5573,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
5555
5573
  case "InvalidTagsMapException":
5556
5574
  case "com.amazonaws.codecommit#InvalidTagsMapException":
5557
5575
  throw await de_InvalidTagsMapExceptionRes(parsedOutput, context);
5576
+ case "OperationNotAllowedException":
5577
+ case "com.amazonaws.codecommit#OperationNotAllowedException":
5578
+ throw await de_OperationNotAllowedExceptionRes(parsedOutput, context);
5558
5579
  case "RepositoryLimitExceededException":
5559
5580
  case "com.amazonaws.codecommit#RepositoryLimitExceededException":
5560
5581
  throw await de_RepositoryLimitExceededExceptionRes(parsedOutput, context);
@@ -7082,6 +7103,15 @@ var de_NumberOfRuleTemplatesExceededExceptionRes = /* @__PURE__ */ __name(async
7082
7103
  });
7083
7104
  return (0, import_smithy_client.decorateServiceException)(exception, body);
7084
7105
  }, "de_NumberOfRuleTemplatesExceededExceptionRes");
7106
+ var de_OperationNotAllowedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
7107
+ const body = parsedOutput.body;
7108
+ const deserialized = (0, import_smithy_client._json)(body);
7109
+ const exception = new OperationNotAllowedException({
7110
+ $metadata: deserializeMetadata(parsedOutput),
7111
+ ...deserialized
7112
+ });
7113
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
7114
+ }, "de_OperationNotAllowedExceptionRes");
7085
7115
  var de_OverrideAlreadySetExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
7086
7116
  const body = parsedOutput.body;
7087
7117
  const deserialized = (0, import_smithy_client._json)(body);
@@ -9659,6 +9689,7 @@ var paginateListRepositories = (0, import_core.createPaginator)(CodeCommitClient
9659
9689
  InvalidRepositoryDescriptionException,
9660
9690
  InvalidSystemTagUsageException,
9661
9691
  InvalidTagsMapException,
9692
+ OperationNotAllowedException,
9662
9693
  RepositoryLimitExceededException,
9663
9694
  RepositoryNameExistsException,
9664
9695
  TagPolicyException,
@@ -1358,6 +1358,18 @@ export class InvalidTagsMapException extends __BaseException {
1358
1358
  Object.setPrototypeOf(this, InvalidTagsMapException.prototype);
1359
1359
  }
1360
1360
  }
1361
+ export class OperationNotAllowedException extends __BaseException {
1362
+ constructor(opts) {
1363
+ super({
1364
+ name: "OperationNotAllowedException",
1365
+ $fault: "client",
1366
+ ...opts,
1367
+ });
1368
+ this.name = "OperationNotAllowedException";
1369
+ this.$fault = "client";
1370
+ Object.setPrototypeOf(this, OperationNotAllowedException.prototype);
1371
+ }
1372
+ }
1361
1373
  export class RepositoryLimitExceededException extends __BaseException {
1362
1374
  constructor(opts) {
1363
1375
  super({
@@ -3,7 +3,7 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { CodeCommitServiceException as __BaseException } from "../models/CodeCommitServiceException";
6
- import { ActorDoesNotExistException, ApprovalRuleContentRequiredException, ApprovalRuleDoesNotExistException, ApprovalRuleNameAlreadyExistsException, ApprovalRuleNameRequiredException, ApprovalRuleTemplateContentRequiredException, ApprovalRuleTemplateDoesNotExistException, ApprovalRuleTemplateInUseException, ApprovalRuleTemplateNameAlreadyExistsException, ApprovalRuleTemplateNameRequiredException, ApprovalStateRequiredException, AuthorDoesNotExistException, BeforeCommitIdAndAfterCommitIdAreSameException, BlobIdDoesNotExistException, BlobIdRequiredException, BranchDoesNotExistException, BranchNameExistsException, BranchNameIsTagNameException, BranchNameRequiredException, CannotDeleteApprovalRuleFromTemplateException, CannotModifyApprovalRuleFromTemplateException, ClientRequestTokenRequiredException, CommentDeletedException, CommentDoesNotExistException, CommentIdRequiredException, CommitDoesNotExistException, CommitIdDoesNotExistException, CommitIdRequiredException, CommitIdsLimitExceededException, CommitIdsListRequiredException, CommitMessageLengthExceededException, CommitRequiredException, ConcurrentReferenceUpdateException, DefaultBranchCannotBeDeletedException, DirectoryNameConflictsWithFileNameException, EncryptionIntegrityChecksFailedException, EncryptionKeyAccessDeniedException, EncryptionKeyDisabledException, EncryptionKeyInvalidIdException, EncryptionKeyInvalidUsageException, EncryptionKeyNotFoundException, EncryptionKeyUnavailableException, FileContentAndSourceFileSpecifiedException, FileContentSizeLimitExceededException, FileDoesNotExistException, FileEntryRequiredException, FileModeRequiredException, FileNameConflictsWithDirectoryNameException, FilePathConflictsWithSubmodulePathException, FileTooLargeException, FolderContentSizeLimitExceededException, FolderDoesNotExistException, IdempotencyParameterMismatchException, InvalidActorArnException, InvalidApprovalRuleContentException, InvalidApprovalRuleNameException, InvalidApprovalRuleTemplateContentException, InvalidApprovalRuleTemplateDescriptionException, InvalidApprovalRuleTemplateNameException, InvalidBlobIdException, InvalidBranchNameException, InvalidClientRequestTokenException, InvalidCommentIdException, InvalidCommitException, InvalidCommitIdException, InvalidConflictDetailLevelException, InvalidConflictResolutionException, InvalidConflictResolutionStrategyException, InvalidContinuationTokenException, InvalidDeletionParameterException, InvalidDescriptionException, InvalidDestinationCommitSpecifierException, InvalidEmailException, InvalidFileModeException, InvalidMaxConflictFilesException, InvalidMaxMergeHunksException, InvalidMaxResultsException, InvalidMergeOptionException, InvalidParentCommitIdException, InvalidPathException, InvalidPullRequestEventTypeException, InvalidPullRequestIdException, InvalidReactionUserArnException, InvalidReferenceNameException, InvalidReplacementContentException, InvalidReplacementTypeException, InvalidRepositoryDescriptionException, InvalidRepositoryNameException, InvalidRevisionIdException, InvalidSourceCommitSpecifierException, InvalidSystemTagUsageException, InvalidTagsMapException, InvalidTargetException, InvalidTargetsException, InvalidTitleException, ManualMergeRequiredException, MaximumConflictResolutionEntriesExceededException, MaximumFileContentToLoadExceededException, MaximumFileEntriesExceededException, MaximumItemsToCompareExceededException, MaximumOpenPullRequestsExceededException, MaximumRepositoryNamesExceededException, MaximumRuleTemplatesAssociatedWithRepositoryException, MergeOptionRequiredException, MultipleConflictResolutionEntriesException, MultipleRepositoriesInPullRequestException, NameLengthExceededException, NoChangeException, NumberOfRulesExceededException, NumberOfRuleTemplatesExceededException, ParentCommitDoesNotExistException, ParentCommitIdOutdatedException, ParentCommitIdRequiredException, PathDoesNotExistException, PathRequiredException, PullRequestAlreadyClosedException, PullRequestDoesNotExistException, PullRequestIdRequiredException, PutFileEntryConflictException, ReferenceDoesNotExistException, ReferenceNameRequiredException, ReferenceTypeNotSupportedException, ReplacementContentRequiredException, ReplacementTypeRequiredException, RepositoryDoesNotExistException, RepositoryLimitExceededException, RepositoryNameExistsException, RepositoryNameRequiredException, RepositoryNamesRequiredException, RepositoryNotAssociatedWithPullRequestException, RestrictedSourceFileException, RevisionIdRequiredException, RevisionNotCurrentException, SamePathRequestException, SourceAndDestinationAreSameException, SourceFileOrContentRequiredException, TagPolicyException, TargetRequiredException, TargetsRequiredException, TipsDivergenceExceededException, TitleRequiredException, TooManyTagsException, } from "../models/models_0";
6
+ import { ActorDoesNotExistException, ApprovalRuleContentRequiredException, ApprovalRuleDoesNotExistException, ApprovalRuleNameAlreadyExistsException, ApprovalRuleNameRequiredException, ApprovalRuleTemplateContentRequiredException, ApprovalRuleTemplateDoesNotExistException, ApprovalRuleTemplateInUseException, ApprovalRuleTemplateNameAlreadyExistsException, ApprovalRuleTemplateNameRequiredException, ApprovalStateRequiredException, AuthorDoesNotExistException, BeforeCommitIdAndAfterCommitIdAreSameException, BlobIdDoesNotExistException, BlobIdRequiredException, BranchDoesNotExistException, BranchNameExistsException, BranchNameIsTagNameException, BranchNameRequiredException, CannotDeleteApprovalRuleFromTemplateException, CannotModifyApprovalRuleFromTemplateException, ClientRequestTokenRequiredException, CommentDeletedException, CommentDoesNotExistException, CommentIdRequiredException, CommitDoesNotExistException, CommitIdDoesNotExistException, CommitIdRequiredException, CommitIdsLimitExceededException, CommitIdsListRequiredException, CommitMessageLengthExceededException, CommitRequiredException, ConcurrentReferenceUpdateException, DefaultBranchCannotBeDeletedException, DirectoryNameConflictsWithFileNameException, EncryptionIntegrityChecksFailedException, EncryptionKeyAccessDeniedException, EncryptionKeyDisabledException, EncryptionKeyInvalidIdException, EncryptionKeyInvalidUsageException, EncryptionKeyNotFoundException, EncryptionKeyUnavailableException, FileContentAndSourceFileSpecifiedException, FileContentSizeLimitExceededException, FileDoesNotExistException, FileEntryRequiredException, FileModeRequiredException, FileNameConflictsWithDirectoryNameException, FilePathConflictsWithSubmodulePathException, FileTooLargeException, FolderContentSizeLimitExceededException, FolderDoesNotExistException, IdempotencyParameterMismatchException, InvalidActorArnException, InvalidApprovalRuleContentException, InvalidApprovalRuleNameException, InvalidApprovalRuleTemplateContentException, InvalidApprovalRuleTemplateDescriptionException, InvalidApprovalRuleTemplateNameException, InvalidBlobIdException, InvalidBranchNameException, InvalidClientRequestTokenException, InvalidCommentIdException, InvalidCommitException, InvalidCommitIdException, InvalidConflictDetailLevelException, InvalidConflictResolutionException, InvalidConflictResolutionStrategyException, InvalidContinuationTokenException, InvalidDeletionParameterException, InvalidDescriptionException, InvalidDestinationCommitSpecifierException, InvalidEmailException, InvalidFileModeException, InvalidMaxConflictFilesException, InvalidMaxMergeHunksException, InvalidMaxResultsException, InvalidMergeOptionException, InvalidParentCommitIdException, InvalidPathException, InvalidPullRequestEventTypeException, InvalidPullRequestIdException, InvalidReactionUserArnException, InvalidReferenceNameException, InvalidReplacementContentException, InvalidReplacementTypeException, InvalidRepositoryDescriptionException, InvalidRepositoryNameException, InvalidRevisionIdException, InvalidSourceCommitSpecifierException, InvalidSystemTagUsageException, InvalidTagsMapException, InvalidTargetException, InvalidTargetsException, InvalidTitleException, ManualMergeRequiredException, MaximumConflictResolutionEntriesExceededException, MaximumFileContentToLoadExceededException, MaximumFileEntriesExceededException, MaximumItemsToCompareExceededException, MaximumOpenPullRequestsExceededException, MaximumRepositoryNamesExceededException, MaximumRuleTemplatesAssociatedWithRepositoryException, MergeOptionRequiredException, MultipleConflictResolutionEntriesException, MultipleRepositoriesInPullRequestException, NameLengthExceededException, NoChangeException, NumberOfRulesExceededException, NumberOfRuleTemplatesExceededException, OperationNotAllowedException, ParentCommitDoesNotExistException, ParentCommitIdOutdatedException, ParentCommitIdRequiredException, PathDoesNotExistException, PathRequiredException, PullRequestAlreadyClosedException, PullRequestDoesNotExistException, PullRequestIdRequiredException, PutFileEntryConflictException, ReferenceDoesNotExistException, ReferenceNameRequiredException, ReferenceTypeNotSupportedException, ReplacementContentRequiredException, ReplacementTypeRequiredException, RepositoryDoesNotExistException, RepositoryLimitExceededException, RepositoryNameExistsException, RepositoryNameRequiredException, RepositoryNamesRequiredException, RepositoryNotAssociatedWithPullRequestException, RestrictedSourceFileException, RevisionIdRequiredException, RevisionNotCurrentException, SamePathRequestException, SourceAndDestinationAreSameException, SourceFileOrContentRequiredException, TagPolicyException, TargetRequiredException, TargetsRequiredException, TipsDivergenceExceededException, TitleRequiredException, TooManyTagsException, } from "../models/models_0";
7
7
  import { CommentContentRequiredException, CommentContentSizeLimitExceededException, CommentNotCreatedByCallerException, EncryptionKeyRequiredException, FileContentRequiredException, InvalidApprovalStateException, InvalidAuthorArnException, InvalidFileLocationException, InvalidFilePositionException, InvalidOrderException, InvalidOverrideStatusException, InvalidPullRequestStatusException, InvalidPullRequestStatusUpdateException, InvalidReactionValueException, InvalidRelativeFileVersionEnumException, InvalidRepositoryTriggerBranchNameException, InvalidRepositoryTriggerCustomDataException, InvalidRepositoryTriggerDestinationArnException, InvalidRepositoryTriggerEventsException, InvalidRepositoryTriggerNameException, InvalidRepositoryTriggerRegionException, InvalidResourceArnException, InvalidRuleContentSha256Exception, InvalidSortByException, InvalidTagKeysListException, InvalidTargetBranchException, MaximumBranchesExceededException, MaximumNumberOfApprovalsExceededException, MaximumRepositoryTriggersExceededException, OverrideAlreadySetException, OverrideStatusRequiredException, PullRequestApprovalRulesNotSatisfiedException, PullRequestCannotBeApprovedByAuthorException, PullRequestStatusRequiredException, ReactionLimitExceededException, ReactionValueRequiredException, RepositoryTriggerBranchNameListRequiredException, RepositoryTriggerDestinationArnRequiredException, RepositoryTriggerEventsListRequiredException, RepositoryTriggerNameRequiredException, RepositoryTriggersListRequiredException, ResourceArnRequiredException, SameFileContentException, TagKeysListRequiredException, TagsMapRequiredException, TipOfSourceReferenceIsDifferentException, } from "../models/models_1";
8
8
  export const se_AssociateApprovalRuleTemplateWithRepositoryCommand = async (input, context) => {
9
9
  const headers = sharedHeaders("AssociateApprovalRuleTemplateWithRepository");
@@ -1777,6 +1777,9 @@ const de_CommandError = async (output, context) => {
1777
1777
  case "InvalidTagsMapException":
1778
1778
  case "com.amazonaws.codecommit#InvalidTagsMapException":
1779
1779
  throw await de_InvalidTagsMapExceptionRes(parsedOutput, context);
1780
+ case "OperationNotAllowedException":
1781
+ case "com.amazonaws.codecommit#OperationNotAllowedException":
1782
+ throw await de_OperationNotAllowedExceptionRes(parsedOutput, context);
1780
1783
  case "RepositoryLimitExceededException":
1781
1784
  case "com.amazonaws.codecommit#RepositoryLimitExceededException":
1782
1785
  throw await de_RepositoryLimitExceededExceptionRes(parsedOutput, context);
@@ -3304,6 +3307,15 @@ const de_NumberOfRuleTemplatesExceededExceptionRes = async (parsedOutput, contex
3304
3307
  });
3305
3308
  return __decorateServiceException(exception, body);
3306
3309
  };
3310
+ const de_OperationNotAllowedExceptionRes = async (parsedOutput, context) => {
3311
+ const body = parsedOutput.body;
3312
+ const deserialized = _json(body);
3313
+ const exception = new OperationNotAllowedException({
3314
+ $metadata: deserializeMetadata(parsedOutput),
3315
+ ...deserialized,
3316
+ });
3317
+ return __decorateServiceException(exception, body);
3318
+ };
3307
3319
  const de_OverrideAlreadySetExceptionRes = async (parsedOutput, context) => {
3308
3320
  const body = parsedOutput.body;
3309
3321
  const deserialized = _json(body);
@@ -107,6 +107,9 @@ declare const CreateRepositoryCommand_base: {
107
107
  * @throws {@link InvalidTagsMapException} (client fault)
108
108
  * <p>The map of tags is not valid.</p>
109
109
  *
110
+ * @throws {@link OperationNotAllowedException} (client fault)
111
+ * <p>The requested action is not allowed.</p>
112
+ *
110
113
  * @throws {@link RepositoryLimitExceededException} (client fault)
111
114
  * <p>A repository resource limit was exceeded.</p>
112
115
  *
@@ -2968,7 +2968,7 @@ export interface CreateRepositoryInput {
2968
2968
  /**
2969
2969
  * <p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to
2970
2970
  * programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see
2971
- * <a href="https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId</a> in the Decrypt API description in
2971
+ * <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId</a> in the Decrypt API description in
2972
2972
  * the <i>Key Management Service API Reference</i>.</p>
2973
2973
  * <p>If no key is specified, the default <code>aws/codecommit</code> Amazon Web Services managed key is used.</p>
2974
2974
  * @public
@@ -3047,6 +3047,18 @@ export declare class InvalidTagsMapException extends __BaseException {
3047
3047
  */
3048
3048
  constructor(opts: __ExceptionOptionType<InvalidTagsMapException, __BaseException>);
3049
3049
  }
3050
+ /**
3051
+ * <p>The requested action is not allowed.</p>
3052
+ * @public
3053
+ */
3054
+ export declare class OperationNotAllowedException extends __BaseException {
3055
+ readonly name: "OperationNotAllowedException";
3056
+ readonly $fault: "client";
3057
+ /**
3058
+ * @internal
3059
+ */
3060
+ constructor(opts: __ExceptionOptionType<OperationNotAllowedException, __BaseException>);
3061
+ }
3050
3062
  /**
3051
3063
  * <p>A repository resource limit was exceeded.</p>
3052
3064
  * @public
@@ -5522,30 +5534,3 @@ export interface ListFileCommitHistoryRequest {
5522
5534
  */
5523
5535
  nextToken?: string;
5524
5536
  }
5525
- /**
5526
- * <p>Information about a version of a file.</p>
5527
- * @public
5528
- */
5529
- export interface FileVersion {
5530
- /**
5531
- * <p>Returns information about a specific commit.</p>
5532
- * @public
5533
- */
5534
- commit?: Commit;
5535
- /**
5536
- * <p>The blob ID of the object that represents the content of the file in this version.</p>
5537
- * @public
5538
- */
5539
- blobId?: string;
5540
- /**
5541
- * <p>The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will
5542
- * vary between file versions if a file is renamed or if its path changes.</p>
5543
- * @public
5544
- */
5545
- path?: string;
5546
- /**
5547
- * <p>An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.</p>
5548
- * @public
5549
- */
5550
- revisionChildren?: string[];
5551
- }
@@ -1,6 +1,33 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { CodeCommitServiceException as __BaseException } from "./CodeCommitServiceException";
3
- import { ApprovalRule, ApprovalRuleTemplate, ApprovalState, Comment, ConflictDetailLevelTypeEnum, ConflictResolution, ConflictResolutionStrategyTypeEnum, FileModeTypeEnum, FileVersion, Location, OverrideStatus, PullRequest, PullRequestStatusEnum, RepositoryTrigger } from "./models_0";
3
+ import { ApprovalRule, ApprovalRuleTemplate, ApprovalState, Comment, Commit, ConflictDetailLevelTypeEnum, ConflictResolution, ConflictResolutionStrategyTypeEnum, FileModeTypeEnum, Location, OverrideStatus, PullRequest, PullRequestStatusEnum, RepositoryTrigger } from "./models_0";
4
+ /**
5
+ * <p>Information about a version of a file.</p>
6
+ * @public
7
+ */
8
+ export interface FileVersion {
9
+ /**
10
+ * <p>Returns information about a specific commit.</p>
11
+ * @public
12
+ */
13
+ commit?: Commit;
14
+ /**
15
+ * <p>The blob ID of the object that represents the content of the file in this version.</p>
16
+ * @public
17
+ */
18
+ blobId?: string;
19
+ /**
20
+ * <p>The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will
21
+ * vary between file versions if a file is renamed or if its path changes.</p>
22
+ * @public
23
+ */
24
+ path?: string;
25
+ /**
26
+ * <p>An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.</p>
27
+ * @public
28
+ */
29
+ revisionChildren?: string[];
30
+ }
4
31
  /**
5
32
  * @public
6
33
  */
@@ -1936,7 +1963,7 @@ export interface UpdateRepositoryEncryptionKeyInput {
1936
1963
  /**
1937
1964
  * <p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to
1938
1965
  * programmatically retrieve a key ID. For more information about acceptable values for keyID, see
1939
- * <a href="https://docs.aws.amazon.com/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId</a> in the Decrypt API description in
1966
+ * <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId</a> in the Decrypt API description in
1940
1967
  * the <i>Key Management Service API Reference</i>.</p>
1941
1968
  * @public
1942
1969
  */
@@ -1333,6 +1333,13 @@ export declare class InvalidTagsMapException extends __BaseException {
1333
1333
  opts: __ExceptionOptionType<InvalidTagsMapException, __BaseException>
1334
1334
  );
1335
1335
  }
1336
+ export declare class OperationNotAllowedException extends __BaseException {
1337
+ readonly name: "OperationNotAllowedException";
1338
+ readonly $fault: "client";
1339
+ constructor(
1340
+ opts: __ExceptionOptionType<OperationNotAllowedException, __BaseException>
1341
+ );
1342
+ }
1336
1343
  export declare class RepositoryLimitExceededException extends __BaseException {
1337
1344
  readonly name: "RepositoryLimitExceededException";
1338
1345
  readonly $fault: "client";
@@ -2094,9 +2101,3 @@ export interface ListFileCommitHistoryRequest {
2094
2101
  maxResults?: number;
2095
2102
  nextToken?: string;
2096
2103
  }
2097
- export interface FileVersion {
2098
- commit?: Commit;
2099
- blobId?: string;
2100
- path?: string;
2101
- revisionChildren?: string[];
2102
- }
@@ -5,17 +5,23 @@ import {
5
5
  ApprovalRuleTemplate,
6
6
  ApprovalState,
7
7
  Comment,
8
+ Commit,
8
9
  ConflictDetailLevelTypeEnum,
9
10
  ConflictResolution,
10
11
  ConflictResolutionStrategyTypeEnum,
11
12
  FileModeTypeEnum,
12
- FileVersion,
13
13
  Location,
14
14
  OverrideStatus,
15
15
  PullRequest,
16
16
  PullRequestStatusEnum,
17
17
  RepositoryTrigger,
18
18
  } from "./models_0";
19
+ export interface FileVersion {
20
+ commit?: Commit;
21
+ blobId?: string;
22
+ path?: string;
23
+ revisionChildren?: string[];
24
+ }
19
25
  export interface ListFileCommitHistoryResponse {
20
26
  revisionDag: FileVersion[] | undefined;
21
27
  nextToken?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codecommit",
3
3
  "description": "AWS SDK for JavaScript Codecommit Client for Node.js, Browser and React Native",
4
- "version": "3.616.0",
4
+ "version": "3.620.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codecommit",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.616.0",
24
- "@aws-sdk/client-sts": "3.616.0",
25
- "@aws-sdk/core": "3.616.0",
26
- "@aws-sdk/credential-provider-node": "3.616.0",
27
- "@aws-sdk/middleware-host-header": "3.616.0",
23
+ "@aws-sdk/client-sso-oidc": "3.620.1",
24
+ "@aws-sdk/client-sts": "3.620.1",
25
+ "@aws-sdk/core": "3.620.1",
26
+ "@aws-sdk/credential-provider-node": "3.620.1",
27
+ "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.616.0",
30
- "@aws-sdk/middleware-user-agent": "3.616.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
+ "@aws-sdk/middleware-user-agent": "3.620.0",
31
31
  "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
33
  "@aws-sdk/util-endpoints": "3.614.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.2.7",
38
- "@smithy/fetch-http-handler": "^3.2.2",
37
+ "@smithy/core": "^2.3.0",
38
+ "@smithy/fetch-http-handler": "^3.2.3",
39
39
  "@smithy/hash-node": "^3.0.3",
40
40
  "@smithy/invalid-dependency": "^3.0.3",
41
- "@smithy/middleware-content-length": "^3.0.4",
42
- "@smithy/middleware-endpoint": "^3.0.5",
43
- "@smithy/middleware-retry": "^3.0.10",
41
+ "@smithy/middleware-content-length": "^3.0.5",
42
+ "@smithy/middleware-endpoint": "^3.1.0",
43
+ "@smithy/middleware-retry": "^3.0.12",
44
44
  "@smithy/middleware-serde": "^3.0.3",
45
45
  "@smithy/middleware-stack": "^3.0.3",
46
46
  "@smithy/node-config-provider": "^3.1.4",
47
- "@smithy/node-http-handler": "^3.1.3",
48
- "@smithy/protocol-http": "^4.0.4",
49
- "@smithy/smithy-client": "^3.1.8",
47
+ "@smithy/node-http-handler": "^3.1.4",
48
+ "@smithy/protocol-http": "^4.1.0",
49
+ "@smithy/smithy-client": "^3.1.10",
50
50
  "@smithy/types": "^3.3.0",
51
51
  "@smithy/url-parser": "^3.0.3",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.10",
56
- "@smithy/util-defaults-mode-node": "^3.0.10",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.12",
56
+ "@smithy/util-defaults-mode-node": "^3.0.12",
57
57
  "@smithy/util-endpoints": "^2.0.5",
58
58
  "@smithy/util-middleware": "^3.0.3",
59
59
  "@smithy/util-retry": "^3.0.3",