@aws-sdk/client-codecommit 3.478.0 → 3.481.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/CodeCommit.js +2 -0
- package/dist-cjs/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +18 -41
- package/dist-cjs/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +18 -41
- package/dist-cjs/commands/BatchDescribeMergeConflictsCommand.js +18 -41
- package/dist-cjs/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +18 -41
- package/dist-cjs/commands/BatchGetCommitsCommand.js +18 -41
- package/dist-cjs/commands/BatchGetRepositoriesCommand.js +18 -41
- package/dist-cjs/commands/CreateApprovalRuleTemplateCommand.js +18 -41
- package/dist-cjs/commands/CreateBranchCommand.js +18 -41
- package/dist-cjs/commands/CreateCommitCommand.js +18 -41
- package/dist-cjs/commands/CreatePullRequestApprovalRuleCommand.js +18 -41
- package/dist-cjs/commands/CreatePullRequestCommand.js +18 -41
- package/dist-cjs/commands/CreateRepositoryCommand.js +18 -41
- package/dist-cjs/commands/CreateUnreferencedMergeCommitCommand.js +18 -41
- package/dist-cjs/commands/DeleteApprovalRuleTemplateCommand.js +18 -41
- package/dist-cjs/commands/DeleteBranchCommand.js +18 -41
- package/dist-cjs/commands/DeleteCommentContentCommand.js +18 -41
- package/dist-cjs/commands/DeleteFileCommand.js +18 -41
- package/dist-cjs/commands/DeletePullRequestApprovalRuleCommand.js +18 -41
- package/dist-cjs/commands/DeleteRepositoryCommand.js +18 -41
- package/dist-cjs/commands/DescribeMergeConflictsCommand.js +18 -41
- package/dist-cjs/commands/DescribePullRequestEventsCommand.js +18 -41
- package/dist-cjs/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +18 -41
- package/dist-cjs/commands/EvaluatePullRequestApprovalRulesCommand.js +18 -41
- package/dist-cjs/commands/GetApprovalRuleTemplateCommand.js +18 -41
- package/dist-cjs/commands/GetBlobCommand.js +18 -41
- package/dist-cjs/commands/GetBranchCommand.js +18 -41
- package/dist-cjs/commands/GetCommentCommand.js +18 -41
- package/dist-cjs/commands/GetCommentReactionsCommand.js +18 -41
- package/dist-cjs/commands/GetCommentsForComparedCommitCommand.js +18 -41
- package/dist-cjs/commands/GetCommentsForPullRequestCommand.js +18 -41
- package/dist-cjs/commands/GetCommitCommand.js +18 -41
- package/dist-cjs/commands/GetDifferencesCommand.js +18 -41
- package/dist-cjs/commands/GetFileCommand.js +18 -41
- package/dist-cjs/commands/GetFolderCommand.js +18 -41
- package/dist-cjs/commands/GetMergeCommitCommand.js +18 -41
- package/dist-cjs/commands/GetMergeConflictsCommand.js +18 -41
- package/dist-cjs/commands/GetMergeOptionsCommand.js +18 -41
- package/dist-cjs/commands/GetPullRequestApprovalStatesCommand.js +18 -41
- package/dist-cjs/commands/GetPullRequestCommand.js +18 -41
- package/dist-cjs/commands/GetPullRequestOverrideStateCommand.js +18 -41
- package/dist-cjs/commands/GetRepositoryCommand.js +18 -41
- package/dist-cjs/commands/GetRepositoryTriggersCommand.js +18 -41
- package/dist-cjs/commands/ListApprovalRuleTemplatesCommand.js +18 -41
- package/dist-cjs/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +18 -41
- package/dist-cjs/commands/ListBranchesCommand.js +18 -41
- package/dist-cjs/commands/ListFileCommitHistoryCommand.js +18 -41
- package/dist-cjs/commands/ListPullRequestsCommand.js +18 -41
- package/dist-cjs/commands/ListRepositoriesCommand.js +18 -41
- package/dist-cjs/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/MergeBranchesByFastForwardCommand.js +18 -41
- package/dist-cjs/commands/MergeBranchesBySquashCommand.js +18 -41
- package/dist-cjs/commands/MergeBranchesByThreeWayCommand.js +18 -41
- package/dist-cjs/commands/MergePullRequestByFastForwardCommand.js +18 -41
- package/dist-cjs/commands/MergePullRequestBySquashCommand.js +18 -41
- package/dist-cjs/commands/MergePullRequestByThreeWayCommand.js +18 -41
- package/dist-cjs/commands/OverridePullRequestApprovalRulesCommand.js +18 -41
- package/dist-cjs/commands/PostCommentForComparedCommitCommand.js +18 -41
- package/dist-cjs/commands/PostCommentForPullRequestCommand.js +18 -41
- package/dist-cjs/commands/PostCommentReplyCommand.js +18 -41
- package/dist-cjs/commands/PutCommentReactionCommand.js +18 -41
- package/dist-cjs/commands/PutFileCommand.js +18 -41
- package/dist-cjs/commands/PutRepositoryTriggersCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TestRepositoryTriggersCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateApprovalRuleTemplateContentCommand.js +18 -41
- package/dist-cjs/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +18 -41
- package/dist-cjs/commands/UpdateApprovalRuleTemplateNameCommand.js +18 -41
- package/dist-cjs/commands/UpdateCommentCommand.js +18 -41
- package/dist-cjs/commands/UpdateDefaultBranchCommand.js +18 -41
- package/dist-cjs/commands/UpdatePullRequestApprovalRuleContentCommand.js +18 -41
- package/dist-cjs/commands/UpdatePullRequestApprovalStateCommand.js +18 -41
- package/dist-cjs/commands/UpdatePullRequestDescriptionCommand.js +18 -41
- package/dist-cjs/commands/UpdatePullRequestStatusCommand.js +18 -41
- package/dist-cjs/commands/UpdatePullRequestTitleCommand.js +18 -41
- package/dist-cjs/commands/UpdateRepositoryDescriptionCommand.js +18 -41
- package/dist-cjs/commands/UpdateRepositoryEncryptionKeyCommand.js +28 -0
- package/dist-cjs/commands/UpdateRepositoryNameCommand.js +18 -41
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/models/models_0.js +38 -30
- package/dist-cjs/models/models_1.js +40 -1
- package/dist-cjs/protocols/Aws_json1_1.js +110 -5
- package/dist-es/CodeCommit.js +2 -0
- package/dist-es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +18 -41
- package/dist-es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +18 -41
- package/dist-es/commands/BatchDescribeMergeConflictsCommand.js +18 -41
- package/dist-es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +18 -41
- package/dist-es/commands/BatchGetCommitsCommand.js +18 -41
- package/dist-es/commands/BatchGetRepositoriesCommand.js +18 -41
- package/dist-es/commands/CreateApprovalRuleTemplateCommand.js +18 -41
- package/dist-es/commands/CreateBranchCommand.js +18 -41
- package/dist-es/commands/CreateCommitCommand.js +18 -41
- package/dist-es/commands/CreatePullRequestApprovalRuleCommand.js +18 -41
- package/dist-es/commands/CreatePullRequestCommand.js +18 -41
- package/dist-es/commands/CreateRepositoryCommand.js +18 -41
- package/dist-es/commands/CreateUnreferencedMergeCommitCommand.js +18 -41
- package/dist-es/commands/DeleteApprovalRuleTemplateCommand.js +18 -41
- package/dist-es/commands/DeleteBranchCommand.js +18 -41
- package/dist-es/commands/DeleteCommentContentCommand.js +18 -41
- package/dist-es/commands/DeleteFileCommand.js +18 -41
- package/dist-es/commands/DeletePullRequestApprovalRuleCommand.js +18 -41
- package/dist-es/commands/DeleteRepositoryCommand.js +18 -41
- package/dist-es/commands/DescribeMergeConflictsCommand.js +18 -41
- package/dist-es/commands/DescribePullRequestEventsCommand.js +18 -41
- package/dist-es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +18 -41
- package/dist-es/commands/EvaluatePullRequestApprovalRulesCommand.js +18 -41
- package/dist-es/commands/GetApprovalRuleTemplateCommand.js +18 -41
- package/dist-es/commands/GetBlobCommand.js +18 -41
- package/dist-es/commands/GetBranchCommand.js +18 -41
- package/dist-es/commands/GetCommentCommand.js +18 -41
- package/dist-es/commands/GetCommentReactionsCommand.js +18 -41
- package/dist-es/commands/GetCommentsForComparedCommitCommand.js +18 -41
- package/dist-es/commands/GetCommentsForPullRequestCommand.js +18 -41
- package/dist-es/commands/GetCommitCommand.js +18 -41
- package/dist-es/commands/GetDifferencesCommand.js +18 -41
- package/dist-es/commands/GetFileCommand.js +18 -41
- package/dist-es/commands/GetFolderCommand.js +18 -41
- package/dist-es/commands/GetMergeCommitCommand.js +18 -41
- package/dist-es/commands/GetMergeConflictsCommand.js +18 -41
- package/dist-es/commands/GetMergeOptionsCommand.js +18 -41
- package/dist-es/commands/GetPullRequestApprovalStatesCommand.js +18 -41
- package/dist-es/commands/GetPullRequestCommand.js +18 -41
- package/dist-es/commands/GetPullRequestOverrideStateCommand.js +18 -41
- package/dist-es/commands/GetRepositoryCommand.js +18 -41
- package/dist-es/commands/GetRepositoryTriggersCommand.js +18 -41
- package/dist-es/commands/ListApprovalRuleTemplatesCommand.js +18 -41
- package/dist-es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +18 -41
- package/dist-es/commands/ListBranchesCommand.js +18 -41
- package/dist-es/commands/ListFileCommitHistoryCommand.js +18 -41
- package/dist-es/commands/ListPullRequestsCommand.js +18 -41
- package/dist-es/commands/ListRepositoriesCommand.js +18 -41
- package/dist-es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/MergeBranchesByFastForwardCommand.js +18 -41
- package/dist-es/commands/MergeBranchesBySquashCommand.js +18 -41
- package/dist-es/commands/MergeBranchesByThreeWayCommand.js +18 -41
- package/dist-es/commands/MergePullRequestByFastForwardCommand.js +18 -41
- package/dist-es/commands/MergePullRequestBySquashCommand.js +18 -41
- package/dist-es/commands/MergePullRequestByThreeWayCommand.js +18 -41
- package/dist-es/commands/OverridePullRequestApprovalRulesCommand.js +18 -41
- package/dist-es/commands/PostCommentForComparedCommitCommand.js +18 -41
- package/dist-es/commands/PostCommentForPullRequestCommand.js +18 -41
- package/dist-es/commands/PostCommentReplyCommand.js +18 -41
- package/dist-es/commands/PutCommentReactionCommand.js +18 -41
- package/dist-es/commands/PutFileCommand.js +18 -41
- package/dist-es/commands/PutRepositoryTriggersCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TestRepositoryTriggersCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateApprovalRuleTemplateContentCommand.js +18 -41
- package/dist-es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +18 -41
- package/dist-es/commands/UpdateApprovalRuleTemplateNameCommand.js +18 -41
- package/dist-es/commands/UpdateCommentCommand.js +18 -41
- package/dist-es/commands/UpdateDefaultBranchCommand.js +18 -41
- package/dist-es/commands/UpdatePullRequestApprovalRuleContentCommand.js +18 -41
- package/dist-es/commands/UpdatePullRequestApprovalStateCommand.js +18 -41
- package/dist-es/commands/UpdatePullRequestDescriptionCommand.js +18 -41
- package/dist-es/commands/UpdatePullRequestStatusCommand.js +18 -41
- package/dist-es/commands/UpdatePullRequestTitleCommand.js +18 -41
- package/dist-es/commands/UpdateRepositoryDescriptionCommand.js +18 -41
- package/dist-es/commands/UpdateRepositoryEncryptionKeyCommand.js +24 -0
- package/dist-es/commands/UpdateRepositoryNameCommand.js +18 -41
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/models/models_0.js +32 -24
- package/dist-es/models/models_1.js +36 -0
- package/dist-es/protocols/Aws_json1_1.js +105 -2
- package/dist-types/CodeCommit.d.ts +12 -0
- package/dist-types/CodeCommitClient.d.ts +8 -2
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +6 -21
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +6 -21
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +6 -21
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +15 -21
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +6 -21
- package/dist-types/commands/CreateBranchCommand.d.ts +6 -21
- package/dist-types/commands/CreateCommitCommand.d.ts +6 -21
- package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +6 -21
- package/dist-types/commands/CreatePullRequestCommand.d.ts +6 -21
- package/dist-types/commands/CreateRepositoryCommand.d.ts +15 -21
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +6 -21
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +6 -21
- package/dist-types/commands/DeleteBranchCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCommentContentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFileCommand.d.ts +6 -21
- package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +6 -21
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +6 -21
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +6 -21
- package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +6 -21
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +6 -21
- package/dist-types/commands/GetBlobCommand.d.ts +6 -21
- package/dist-types/commands/GetBranchCommand.d.ts +6 -21
- package/dist-types/commands/GetCommentCommand.d.ts +6 -21
- package/dist-types/commands/GetCommentReactionsCommand.d.ts +6 -21
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +6 -21
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +6 -21
- package/dist-types/commands/GetCommitCommand.d.ts +6 -21
- package/dist-types/commands/GetDifferencesCommand.d.ts +6 -21
- package/dist-types/commands/GetFileCommand.d.ts +6 -21
- package/dist-types/commands/GetFolderCommand.d.ts +6 -21
- package/dist-types/commands/GetMergeCommitCommand.d.ts +6 -21
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +6 -21
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +6 -21
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +6 -21
- package/dist-types/commands/GetPullRequestCommand.d.ts +6 -21
- package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +6 -21
- package/dist-types/commands/GetRepositoryCommand.d.ts +7 -21
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +6 -21
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +6 -21
- package/dist-types/commands/ListBranchesCommand.d.ts +6 -21
- package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +8 -22
- package/dist-types/commands/ListPullRequestsCommand.d.ts +7 -23
- package/dist-types/commands/ListRepositoriesCommand.d.ts +6 -21
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +6 -21
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +6 -21
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +6 -21
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +6 -21
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +6 -21
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +6 -21
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +6 -21
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +6 -21
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +6 -21
- package/dist-types/commands/PostCommentReplyCommand.d.ts +6 -21
- package/dist-types/commands/PutCommentReactionCommand.d.ts +6 -21
- package/dist-types/commands/PutFileCommand.d.ts +6 -21
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCommentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +100 -0
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +6 -21
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +86 -71
- package/dist-types/models/models_1.d.ts +122 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/CodeCommit.d.ts +17 -0
- package/dist-types/ts3.4/CodeCommitClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +11 -25
- package/dist-types/ts3.4/commands/BatchDescribeMergeConflictsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +11 -25
- package/dist-types/ts3.4/commands/BatchGetCommitsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchGetRepositoriesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateApprovalRuleTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateCommitCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePullRequestApprovalRuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreatePullRequestCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateUnreferencedMergeCommitCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteApprovalRuleTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCommentContentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteFileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePullRequestApprovalRuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeMergeConflictsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribePullRequestEventsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +11 -25
- package/dist-types/ts3.4/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetApprovalRuleTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetBlobCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCommentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCommentReactionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCommentsForComparedCommitCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCommentsForPullRequestCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCommitCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDifferencesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFileCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMergeCommitCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMergeConflictsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMergeOptionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPullRequestApprovalStatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetPullRequestCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPullRequestOverrideStateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRepositoryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRepositoryTriggersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListApprovalRuleTemplatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +11 -25
- package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +14 -28
- package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +18 -25
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutFileCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +39 -28
- package/dist-types/ts3.4/models/models_1.d.ts +45 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +9 -9
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdatePullRequestTitleCommand, se_UpdatePullRequestTitleCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdatePullRequestTitleCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeCommitClient";
|
|
26
|
-
const commandName = "UpdatePullRequestTitleCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeCommit_20150413",
|
|
35
|
-
operation: "UpdatePullRequestTitle",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdatePullRequestTitleCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdatePullRequestTitleCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdatePullRequestTitleCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeCommit_20150413", "UpdatePullRequestTitle", {})
|
|
19
|
+
.n("CodeCommitClient", "UpdatePullRequestTitleCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdatePullRequestTitleCommand)
|
|
22
|
+
.de(de_UpdatePullRequestTitleCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRepositoryDescriptionCommand, se_UpdateRepositoryDescriptionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRepositoryDescriptionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeCommitClient";
|
|
26
|
-
const commandName = "UpdateRepositoryDescriptionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeCommit_20150413",
|
|
35
|
-
operation: "UpdateRepositoryDescription",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateRepositoryDescriptionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateRepositoryDescriptionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateRepositoryDescriptionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeCommit_20150413", "UpdateRepositoryDescription", {})
|
|
19
|
+
.n("CodeCommitClient", "UpdateRepositoryDescriptionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRepositoryDescriptionCommand)
|
|
22
|
+
.de(de_UpdateRepositoryDescriptionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateRepositoryEncryptionKeyCommand, se_UpdateRepositoryEncryptionKeyCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateRepositoryEncryptionKeyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeCommit_20150413", "UpdateRepositoryEncryptionKey", {})
|
|
19
|
+
.n("CodeCommitClient", "UpdateRepositoryEncryptionKeyCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRepositoryEncryptionKeyCommand)
|
|
22
|
+
.de(de_UpdateRepositoryEncryptionKeyCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRepositoryNameCommand, se_UpdateRepositoryNameCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRepositoryNameCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CodeCommitClient";
|
|
26
|
-
const commandName = "UpdateRepositoryNameCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CodeCommit_20150413",
|
|
35
|
-
operation: "UpdateRepositoryName",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateRepositoryNameCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateRepositoryNameCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateRepositoryNameCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CodeCommit_20150413", "UpdateRepositoryName", {})
|
|
19
|
+
.n("CodeCommitClient", "UpdateRepositoryNameCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRepositoryNameCommand)
|
|
22
|
+
.de(de_UpdateRepositoryNameCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -75,4 +75,5 @@ export * from "./UpdatePullRequestDescriptionCommand";
|
|
|
75
75
|
export * from "./UpdatePullRequestStatusCommand";
|
|
76
76
|
export * from "./UpdatePullRequestTitleCommand";
|
|
77
77
|
export * from "./UpdateRepositoryDescriptionCommand";
|
|
78
|
+
export * from "./UpdateRepositoryEncryptionKeyCommand";
|
|
78
79
|
export * from "./UpdateRepositoryNameCommand";
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "codecommit",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -506,6 +506,14 @@ export class CommitIdsListRequiredException extends __BaseException {
|
|
|
506
506
|
Object.setPrototypeOf(this, CommitIdsListRequiredException.prototype);
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
+
export const BatchGetRepositoriesErrorCodeEnum = {
|
|
510
|
+
ENCRYPTION_INTEGRITY_CHECKS_FAILED_EXCEPTION: "EncryptionIntegrityChecksFailedException",
|
|
511
|
+
ENCRYPTION_KEY_ACCESS_DENIED_EXCEPTION: "EncryptionKeyAccessDeniedException",
|
|
512
|
+
ENCRYPTION_KEY_DISABLED_EXCEPTION: "EncryptionKeyDisabledException",
|
|
513
|
+
ENCRYPTION_KEY_NOT_FOUND_EXCEPTION: "EncryptionKeyNotFoundException",
|
|
514
|
+
ENCRYPTION_KEY_UNAVAILABLE_EXCEPTION: "EncryptionKeyUnavailableException",
|
|
515
|
+
REPOSITORY_DOES_NOT_EXIST_EXCEPTION: "RepositoryDoesNotExistException",
|
|
516
|
+
};
|
|
509
517
|
export class BeforeCommitIdAndAfterCommitIdAreSameException extends __BaseException {
|
|
510
518
|
constructor(opts) {
|
|
511
519
|
super({
|
|
@@ -1290,6 +1298,30 @@ export class PullRequestIdRequiredException extends __BaseException {
|
|
|
1290
1298
|
Object.setPrototypeOf(this, PullRequestIdRequiredException.prototype);
|
|
1291
1299
|
}
|
|
1292
1300
|
}
|
|
1301
|
+
export class EncryptionKeyInvalidIdException extends __BaseException {
|
|
1302
|
+
constructor(opts) {
|
|
1303
|
+
super({
|
|
1304
|
+
name: "EncryptionKeyInvalidIdException",
|
|
1305
|
+
$fault: "client",
|
|
1306
|
+
...opts,
|
|
1307
|
+
});
|
|
1308
|
+
this.name = "EncryptionKeyInvalidIdException";
|
|
1309
|
+
this.$fault = "client";
|
|
1310
|
+
Object.setPrototypeOf(this, EncryptionKeyInvalidIdException.prototype);
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
export class EncryptionKeyInvalidUsageException extends __BaseException {
|
|
1314
|
+
constructor(opts) {
|
|
1315
|
+
super({
|
|
1316
|
+
name: "EncryptionKeyInvalidUsageException",
|
|
1317
|
+
$fault: "client",
|
|
1318
|
+
...opts,
|
|
1319
|
+
});
|
|
1320
|
+
this.name = "EncryptionKeyInvalidUsageException";
|
|
1321
|
+
this.$fault = "client";
|
|
1322
|
+
Object.setPrototypeOf(this, EncryptionKeyInvalidUsageException.prototype);
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1293
1325
|
export class InvalidRepositoryDescriptionException extends __BaseException {
|
|
1294
1326
|
constructor(opts) {
|
|
1295
1327
|
super({
|
|
@@ -1749,27 +1781,3 @@ export const RepositoryTriggerEventEnum = {
|
|
|
1749
1781
|
DELETE_REFERENCE: "deleteReference",
|
|
1750
1782
|
UPDATE_REFERENCE: "updateReference",
|
|
1751
1783
|
};
|
|
1752
|
-
export class InvalidAuthorArnException extends __BaseException {
|
|
1753
|
-
constructor(opts) {
|
|
1754
|
-
super({
|
|
1755
|
-
name: "InvalidAuthorArnException",
|
|
1756
|
-
$fault: "client",
|
|
1757
|
-
...opts,
|
|
1758
|
-
});
|
|
1759
|
-
this.name = "InvalidAuthorArnException";
|
|
1760
|
-
this.$fault = "client";
|
|
1761
|
-
Object.setPrototypeOf(this, InvalidAuthorArnException.prototype);
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
export class InvalidPullRequestStatusException extends __BaseException {
|
|
1765
|
-
constructor(opts) {
|
|
1766
|
-
super({
|
|
1767
|
-
name: "InvalidPullRequestStatusException",
|
|
1768
|
-
$fault: "client",
|
|
1769
|
-
...opts,
|
|
1770
|
-
});
|
|
1771
|
-
this.name = "InvalidPullRequestStatusException";
|
|
1772
|
-
this.$fault = "client";
|
|
1773
|
-
Object.setPrototypeOf(this, InvalidPullRequestStatusException.prototype);
|
|
1774
|
-
}
|
|
1775
|
-
}
|
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
import { CodeCommitServiceException as __BaseException } from "./CodeCommitServiceException";
|
|
2
|
+
export class InvalidAuthorArnException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "InvalidAuthorArnException",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "InvalidAuthorArnException";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, InvalidAuthorArnException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class InvalidPullRequestStatusException extends __BaseException {
|
|
15
|
+
constructor(opts) {
|
|
16
|
+
super({
|
|
17
|
+
name: "InvalidPullRequestStatusException",
|
|
18
|
+
$fault: "client",
|
|
19
|
+
...opts,
|
|
20
|
+
});
|
|
21
|
+
this.name = "InvalidPullRequestStatusException";
|
|
22
|
+
this.$fault = "client";
|
|
23
|
+
Object.setPrototypeOf(this, InvalidPullRequestStatusException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
2
26
|
export class InvalidOrderException extends __BaseException {
|
|
3
27
|
constructor(opts) {
|
|
4
28
|
super({
|
|
@@ -523,3 +547,15 @@ export class PullRequestStatusRequiredException extends __BaseException {
|
|
|
523
547
|
Object.setPrototypeOf(this, PullRequestStatusRequiredException.prototype);
|
|
524
548
|
}
|
|
525
549
|
}
|
|
550
|
+
export class EncryptionKeyRequiredException extends __BaseException {
|
|
551
|
+
constructor(opts) {
|
|
552
|
+
super({
|
|
553
|
+
name: "EncryptionKeyRequiredException",
|
|
554
|
+
$fault: "client",
|
|
555
|
+
...opts,
|
|
556
|
+
});
|
|
557
|
+
this.name = "EncryptionKeyRequiredException";
|
|
558
|
+
this.$fault = "client";
|
|
559
|
+
Object.setPrototypeOf(this, EncryptionKeyRequiredException.prototype);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
@@ -2,8 +2,8 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
|
2
2
|
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";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { CodeCommitServiceException as __BaseException } from "../models/CodeCommitServiceException";
|
|
5
|
-
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, EncryptionKeyNotFoundException, EncryptionKeyUnavailableException, FileContentAndSourceFileSpecifiedException, FileContentSizeLimitExceededException, FileDoesNotExistException, FileEntryRequiredException, FileModeRequiredException, FileNameConflictsWithDirectoryNameException, FilePathConflictsWithSubmodulePathException, FileTooLargeException, FolderContentSizeLimitExceededException, FolderDoesNotExistException, IdempotencyParameterMismatchException, InvalidActorArnException, InvalidApprovalRuleContentException, InvalidApprovalRuleNameException, InvalidApprovalRuleTemplateContentException, InvalidApprovalRuleTemplateDescriptionException, InvalidApprovalRuleTemplateNameException,
|
|
6
|
-
import { CommentContentRequiredException, CommentContentSizeLimitExceededException, CommentNotCreatedByCallerException, FileContentRequiredException, InvalidApprovalStateException, InvalidFileLocationException, InvalidFilePositionException, InvalidOrderException, InvalidOverrideStatusException, 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";
|
|
5
|
+
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 { 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";
|
|
7
7
|
export const se_AssociateApprovalRuleTemplateWithRepositoryCommand = async (input, context) => {
|
|
8
8
|
const headers = sharedHeaders("AssociateApprovalRuleTemplateWithRepository");
|
|
9
9
|
let body;
|
|
@@ -466,6 +466,12 @@ export const se_UpdateRepositoryDescriptionCommand = async (input, context) => {
|
|
|
466
466
|
body = JSON.stringify(_json(input));
|
|
467
467
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
468
468
|
};
|
|
469
|
+
export const se_UpdateRepositoryEncryptionKeyCommand = async (input, context) => {
|
|
470
|
+
const headers = sharedHeaders("UpdateRepositoryEncryptionKey");
|
|
471
|
+
let body;
|
|
472
|
+
body = JSON.stringify(_json(input));
|
|
473
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
474
|
+
};
|
|
469
475
|
export const se_UpdateRepositoryNameCommand = async (input, context) => {
|
|
470
476
|
const headers = sharedHeaders("UpdateRepositoryName");
|
|
471
477
|
let body;
|
|
@@ -1324,6 +1330,12 @@ const de_CreateRepositoryCommandError = async (output, context) => {
|
|
|
1324
1330
|
case "EncryptionKeyDisabledException":
|
|
1325
1331
|
case "com.amazonaws.codecommit#EncryptionKeyDisabledException":
|
|
1326
1332
|
throw await de_EncryptionKeyDisabledExceptionRes(parsedOutput, context);
|
|
1333
|
+
case "EncryptionKeyInvalidIdException":
|
|
1334
|
+
case "com.amazonaws.codecommit#EncryptionKeyInvalidIdException":
|
|
1335
|
+
throw await de_EncryptionKeyInvalidIdExceptionRes(parsedOutput, context);
|
|
1336
|
+
case "EncryptionKeyInvalidUsageException":
|
|
1337
|
+
case "com.amazonaws.codecommit#EncryptionKeyInvalidUsageException":
|
|
1338
|
+
throw await de_EncryptionKeyInvalidUsageExceptionRes(parsedOutput, context);
|
|
1327
1339
|
case "EncryptionKeyNotFoundException":
|
|
1328
1340
|
case "com.amazonaws.codecommit#EncryptionKeyNotFoundException":
|
|
1329
1341
|
throw await de_EncryptionKeyNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -5915,6 +5927,68 @@ const de_UpdateRepositoryDescriptionCommandError = async (output, context) => {
|
|
|
5915
5927
|
});
|
|
5916
5928
|
}
|
|
5917
5929
|
};
|
|
5930
|
+
export const de_UpdateRepositoryEncryptionKeyCommand = async (output, context) => {
|
|
5931
|
+
if (output.statusCode >= 300) {
|
|
5932
|
+
return de_UpdateRepositoryEncryptionKeyCommandError(output, context);
|
|
5933
|
+
}
|
|
5934
|
+
const data = await parseBody(output.body, context);
|
|
5935
|
+
let contents = {};
|
|
5936
|
+
contents = _json(data);
|
|
5937
|
+
const response = {
|
|
5938
|
+
$metadata: deserializeMetadata(output),
|
|
5939
|
+
...contents,
|
|
5940
|
+
};
|
|
5941
|
+
return response;
|
|
5942
|
+
};
|
|
5943
|
+
const de_UpdateRepositoryEncryptionKeyCommandError = async (output, context) => {
|
|
5944
|
+
const parsedOutput = {
|
|
5945
|
+
...output,
|
|
5946
|
+
body: await parseErrorBody(output.body, context),
|
|
5947
|
+
};
|
|
5948
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5949
|
+
switch (errorCode) {
|
|
5950
|
+
case "EncryptionIntegrityChecksFailedException":
|
|
5951
|
+
case "com.amazonaws.codecommit#EncryptionIntegrityChecksFailedException":
|
|
5952
|
+
throw await de_EncryptionIntegrityChecksFailedExceptionRes(parsedOutput, context);
|
|
5953
|
+
case "EncryptionKeyAccessDeniedException":
|
|
5954
|
+
case "com.amazonaws.codecommit#EncryptionKeyAccessDeniedException":
|
|
5955
|
+
throw await de_EncryptionKeyAccessDeniedExceptionRes(parsedOutput, context);
|
|
5956
|
+
case "EncryptionKeyDisabledException":
|
|
5957
|
+
case "com.amazonaws.codecommit#EncryptionKeyDisabledException":
|
|
5958
|
+
throw await de_EncryptionKeyDisabledExceptionRes(parsedOutput, context);
|
|
5959
|
+
case "EncryptionKeyInvalidIdException":
|
|
5960
|
+
case "com.amazonaws.codecommit#EncryptionKeyInvalidIdException":
|
|
5961
|
+
throw await de_EncryptionKeyInvalidIdExceptionRes(parsedOutput, context);
|
|
5962
|
+
case "EncryptionKeyInvalidUsageException":
|
|
5963
|
+
case "com.amazonaws.codecommit#EncryptionKeyInvalidUsageException":
|
|
5964
|
+
throw await de_EncryptionKeyInvalidUsageExceptionRes(parsedOutput, context);
|
|
5965
|
+
case "EncryptionKeyNotFoundException":
|
|
5966
|
+
case "com.amazonaws.codecommit#EncryptionKeyNotFoundException":
|
|
5967
|
+
throw await de_EncryptionKeyNotFoundExceptionRes(parsedOutput, context);
|
|
5968
|
+
case "EncryptionKeyRequiredException":
|
|
5969
|
+
case "com.amazonaws.codecommit#EncryptionKeyRequiredException":
|
|
5970
|
+
throw await de_EncryptionKeyRequiredExceptionRes(parsedOutput, context);
|
|
5971
|
+
case "EncryptionKeyUnavailableException":
|
|
5972
|
+
case "com.amazonaws.codecommit#EncryptionKeyUnavailableException":
|
|
5973
|
+
throw await de_EncryptionKeyUnavailableExceptionRes(parsedOutput, context);
|
|
5974
|
+
case "InvalidRepositoryNameException":
|
|
5975
|
+
case "com.amazonaws.codecommit#InvalidRepositoryNameException":
|
|
5976
|
+
throw await de_InvalidRepositoryNameExceptionRes(parsedOutput, context);
|
|
5977
|
+
case "RepositoryDoesNotExistException":
|
|
5978
|
+
case "com.amazonaws.codecommit#RepositoryDoesNotExistException":
|
|
5979
|
+
throw await de_RepositoryDoesNotExistExceptionRes(parsedOutput, context);
|
|
5980
|
+
case "RepositoryNameRequiredException":
|
|
5981
|
+
case "com.amazonaws.codecommit#RepositoryNameRequiredException":
|
|
5982
|
+
throw await de_RepositoryNameRequiredExceptionRes(parsedOutput, context);
|
|
5983
|
+
default:
|
|
5984
|
+
const parsedBody = parsedOutput.body;
|
|
5985
|
+
return throwDefaultError({
|
|
5986
|
+
output,
|
|
5987
|
+
parsedBody,
|
|
5988
|
+
errorCode,
|
|
5989
|
+
});
|
|
5990
|
+
}
|
|
5991
|
+
};
|
|
5918
5992
|
export const de_UpdateRepositoryNameCommand = async (output, context) => {
|
|
5919
5993
|
if (output.statusCode >= 300) {
|
|
5920
5994
|
return de_UpdateRepositoryNameCommandError(output, context);
|
|
@@ -6322,6 +6396,24 @@ const de_EncryptionKeyDisabledExceptionRes = async (parsedOutput, context) => {
|
|
|
6322
6396
|
});
|
|
6323
6397
|
return __decorateServiceException(exception, body);
|
|
6324
6398
|
};
|
|
6399
|
+
const de_EncryptionKeyInvalidIdExceptionRes = async (parsedOutput, context) => {
|
|
6400
|
+
const body = parsedOutput.body;
|
|
6401
|
+
const deserialized = _json(body);
|
|
6402
|
+
const exception = new EncryptionKeyInvalidIdException({
|
|
6403
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
6404
|
+
...deserialized,
|
|
6405
|
+
});
|
|
6406
|
+
return __decorateServiceException(exception, body);
|
|
6407
|
+
};
|
|
6408
|
+
const de_EncryptionKeyInvalidUsageExceptionRes = async (parsedOutput, context) => {
|
|
6409
|
+
const body = parsedOutput.body;
|
|
6410
|
+
const deserialized = _json(body);
|
|
6411
|
+
const exception = new EncryptionKeyInvalidUsageException({
|
|
6412
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
6413
|
+
...deserialized,
|
|
6414
|
+
});
|
|
6415
|
+
return __decorateServiceException(exception, body);
|
|
6416
|
+
};
|
|
6325
6417
|
const de_EncryptionKeyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
6326
6418
|
const body = parsedOutput.body;
|
|
6327
6419
|
const deserialized = _json(body);
|
|
@@ -6331,6 +6423,15 @@ const de_EncryptionKeyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
6331
6423
|
});
|
|
6332
6424
|
return __decorateServiceException(exception, body);
|
|
6333
6425
|
};
|
|
6426
|
+
const de_EncryptionKeyRequiredExceptionRes = async (parsedOutput, context) => {
|
|
6427
|
+
const body = parsedOutput.body;
|
|
6428
|
+
const deserialized = _json(body);
|
|
6429
|
+
const exception = new EncryptionKeyRequiredException({
|
|
6430
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
6431
|
+
...deserialized,
|
|
6432
|
+
});
|
|
6433
|
+
return __decorateServiceException(exception, body);
|
|
6434
|
+
};
|
|
6334
6435
|
const de_EncryptionKeyUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
6335
6436
|
const body = parsedOutput.body;
|
|
6336
6437
|
const deserialized = _json(body);
|
|
@@ -7825,6 +7926,7 @@ const de_ApprovalRuleTemplate = (output, context) => {
|
|
|
7825
7926
|
};
|
|
7826
7927
|
const de_BatchGetRepositoriesOutput = (output, context) => {
|
|
7827
7928
|
return take(output, {
|
|
7929
|
+
errors: _json,
|
|
7828
7930
|
repositories: (_) => de_RepositoryMetadataList(_, context),
|
|
7829
7931
|
repositoriesNotFound: _json,
|
|
7830
7932
|
});
|
|
@@ -8057,6 +8159,7 @@ const de_RepositoryMetadata = (output, context) => {
|
|
|
8057
8159
|
cloneUrlSsh: __expectString,
|
|
8058
8160
|
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
8059
8161
|
defaultBranch: __expectString,
|
|
8162
|
+
kmsKeyId: __expectString,
|
|
8060
8163
|
lastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
8061
8164
|
repositoryDescription: __expectString,
|
|
8062
8165
|
repositoryId: __expectString,
|
|
@@ -77,6 +77,7 @@ import { UpdatePullRequestDescriptionCommandInput, UpdatePullRequestDescriptionC
|
|
|
77
77
|
import { UpdatePullRequestStatusCommandInput, UpdatePullRequestStatusCommandOutput } from "./commands/UpdatePullRequestStatusCommand";
|
|
78
78
|
import { UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput } from "./commands/UpdatePullRequestTitleCommand";
|
|
79
79
|
import { UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput } from "./commands/UpdateRepositoryDescriptionCommand";
|
|
80
|
+
import { UpdateRepositoryEncryptionKeyCommandInput, UpdateRepositoryEncryptionKeyCommandOutput } from "./commands/UpdateRepositoryEncryptionKeyCommand";
|
|
80
81
|
import { UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput } from "./commands/UpdateRepositoryNameCommand";
|
|
81
82
|
export interface CodeCommit {
|
|
82
83
|
/**
|
|
@@ -541,6 +542,12 @@ export interface CodeCommit {
|
|
|
541
542
|
updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRepositoryDescriptionCommandOutput>;
|
|
542
543
|
updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, cb: (err: any, data?: UpdateRepositoryDescriptionCommandOutput) => void): void;
|
|
543
544
|
updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryDescriptionCommandOutput) => void): void;
|
|
545
|
+
/**
|
|
546
|
+
* @see {@link UpdateRepositoryEncryptionKeyCommand}
|
|
547
|
+
*/
|
|
548
|
+
updateRepositoryEncryptionKey(args: UpdateRepositoryEncryptionKeyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRepositoryEncryptionKeyCommandOutput>;
|
|
549
|
+
updateRepositoryEncryptionKey(args: UpdateRepositoryEncryptionKeyCommandInput, cb: (err: any, data?: UpdateRepositoryEncryptionKeyCommandOutput) => void): void;
|
|
550
|
+
updateRepositoryEncryptionKey(args: UpdateRepositoryEncryptionKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryEncryptionKeyCommandOutput) => void): void;
|
|
544
551
|
/**
|
|
545
552
|
* @see {@link UpdateRepositoryNameCommand}
|
|
546
553
|
*/
|
|
@@ -582,6 +589,11 @@ export interface CodeCommit {
|
|
|
582
589
|
* </li>
|
|
583
590
|
* <li>
|
|
584
591
|
* <p>
|
|
592
|
+
* <a>UpdateRepositoryEncryptionKey</a>, which updates the Key Management Service encryption key used
|
|
593
|
+
* to encrypt and decrypt a repository.</p>
|
|
594
|
+
* </li>
|
|
595
|
+
* <li>
|
|
596
|
+
* <p>
|
|
585
597
|
* <a>UpdateRepositoryName</a>, which changes the name of the
|
|
586
598
|
* repository. If you change the name of a repository, no other users of that
|
|
587
599
|
* repository can access it until you send them the new HTTPS or SSH URL to
|
|
@@ -85,6 +85,7 @@ import { UpdatePullRequestDescriptionCommandInput, UpdatePullRequestDescriptionC
|
|
|
85
85
|
import { UpdatePullRequestStatusCommandInput, UpdatePullRequestStatusCommandOutput } from "./commands/UpdatePullRequestStatusCommand";
|
|
86
86
|
import { UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput } from "./commands/UpdatePullRequestTitleCommand";
|
|
87
87
|
import { UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput } from "./commands/UpdateRepositoryDescriptionCommand";
|
|
88
|
+
import { UpdateRepositoryEncryptionKeyCommandInput, UpdateRepositoryEncryptionKeyCommandOutput } from "./commands/UpdateRepositoryEncryptionKeyCommand";
|
|
88
89
|
import { UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput } from "./commands/UpdateRepositoryNameCommand";
|
|
89
90
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
90
91
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -92,11 +93,11 @@ export { __Client };
|
|
|
92
93
|
/**
|
|
93
94
|
* @public
|
|
94
95
|
*/
|
|
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 | 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 | UpdateRepositoryNameCommandInput;
|
|
96
|
+
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;
|
|
96
97
|
/**
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
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 | 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 | UpdateRepositoryNameCommandOutput;
|
|
100
|
+
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;
|
|
100
101
|
/**
|
|
101
102
|
* @public
|
|
102
103
|
*/
|
|
@@ -262,6 +263,11 @@ export interface CodeCommitClientResolvedConfig extends CodeCommitClientResolved
|
|
|
262
263
|
* </li>
|
|
263
264
|
* <li>
|
|
264
265
|
* <p>
|
|
266
|
+
* <a>UpdateRepositoryEncryptionKey</a>, which updates the Key Management Service encryption key used
|
|
267
|
+
* to encrypt and decrypt a repository.</p>
|
|
268
|
+
* </li>
|
|
269
|
+
* <li>
|
|
270
|
+
* <p>
|
|
265
271
|
* <a>UpdateRepositoryName</a>, which changes the name of the
|
|
266
272
|
* repository. If you change the name of a repository, no other users of that
|
|
267
273
|
* repository can access it until you send them the new HTTPS or SSH URL to
|