@aws-sdk/client-codecommit 3.1076.0 → 3.1078.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/dist-cjs/index.js +90 -795
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +2 -14
- package/dist-es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +2 -14
- package/dist-es/commands/BatchDescribeMergeConflictsCommand.js +2 -14
- package/dist-es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +2 -14
- package/dist-es/commands/BatchGetCommitsCommand.js +2 -14
- package/dist-es/commands/BatchGetRepositoriesCommand.js +2 -14
- package/dist-es/commands/CreateApprovalRuleTemplateCommand.js +2 -14
- package/dist-es/commands/CreateBranchCommand.js +2 -14
- package/dist-es/commands/CreateCommitCommand.js +2 -14
- package/dist-es/commands/CreatePullRequestApprovalRuleCommand.js +2 -14
- package/dist-es/commands/CreatePullRequestCommand.js +2 -14
- package/dist-es/commands/CreateRepositoryCommand.js +2 -14
- package/dist-es/commands/CreateUnreferencedMergeCommitCommand.js +2 -14
- package/dist-es/commands/DeleteApprovalRuleTemplateCommand.js +2 -14
- package/dist-es/commands/DeleteBranchCommand.js +2 -14
- package/dist-es/commands/DeleteCommentContentCommand.js +2 -14
- package/dist-es/commands/DeleteFileCommand.js +2 -14
- package/dist-es/commands/DeletePullRequestApprovalRuleCommand.js +2 -14
- package/dist-es/commands/DeleteRepositoryCommand.js +2 -14
- package/dist-es/commands/DescribeMergeConflictsCommand.js +2 -14
- package/dist-es/commands/DescribePullRequestEventsCommand.js +2 -14
- package/dist-es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +2 -14
- package/dist-es/commands/EvaluatePullRequestApprovalRulesCommand.js +2 -14
- package/dist-es/commands/GetApprovalRuleTemplateCommand.js +2 -14
- package/dist-es/commands/GetBlobCommand.js +2 -14
- package/dist-es/commands/GetBranchCommand.js +2 -14
- package/dist-es/commands/GetCommentCommand.js +2 -14
- package/dist-es/commands/GetCommentReactionsCommand.js +2 -14
- package/dist-es/commands/GetCommentsForComparedCommitCommand.js +2 -14
- package/dist-es/commands/GetCommentsForPullRequestCommand.js +2 -14
- package/dist-es/commands/GetCommitCommand.js +2 -14
- package/dist-es/commands/GetDifferencesCommand.js +2 -14
- package/dist-es/commands/GetFileCommand.js +2 -14
- package/dist-es/commands/GetFolderCommand.js +2 -14
- package/dist-es/commands/GetMergeCommitCommand.js +2 -14
- package/dist-es/commands/GetMergeConflictsCommand.js +2 -14
- package/dist-es/commands/GetMergeOptionsCommand.js +2 -14
- package/dist-es/commands/GetPullRequestApprovalStatesCommand.js +2 -14
- package/dist-es/commands/GetPullRequestCommand.js +2 -14
- package/dist-es/commands/GetPullRequestOverrideStateCommand.js +2 -14
- package/dist-es/commands/GetRepositoryCommand.js +2 -14
- package/dist-es/commands/GetRepositoryTriggersCommand.js +2 -14
- package/dist-es/commands/ListApprovalRuleTemplatesCommand.js +2 -14
- package/dist-es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +2 -14
- package/dist-es/commands/ListBranchesCommand.js +2 -14
- package/dist-es/commands/ListFileCommitHistoryCommand.js +2 -14
- package/dist-es/commands/ListPullRequestsCommand.js +2 -14
- package/dist-es/commands/ListRepositoriesCommand.js +2 -14
- package/dist-es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/MergeBranchesByFastForwardCommand.js +2 -14
- package/dist-es/commands/MergeBranchesBySquashCommand.js +2 -14
- package/dist-es/commands/MergeBranchesByThreeWayCommand.js +2 -14
- package/dist-es/commands/MergePullRequestByFastForwardCommand.js +2 -14
- package/dist-es/commands/MergePullRequestBySquashCommand.js +2 -14
- package/dist-es/commands/MergePullRequestByThreeWayCommand.js +2 -14
- package/dist-es/commands/OverridePullRequestApprovalRulesCommand.js +2 -14
- package/dist-es/commands/PostCommentForComparedCommitCommand.js +2 -14
- package/dist-es/commands/PostCommentForPullRequestCommand.js +2 -14
- package/dist-es/commands/PostCommentReplyCommand.js +2 -14
- package/dist-es/commands/PutCommentReactionCommand.js +2 -14
- package/dist-es/commands/PutFileCommand.js +2 -14
- package/dist-es/commands/PutRepositoryTriggersCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/TestRepositoryTriggersCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateApprovalRuleTemplateContentCommand.js +2 -14
- package/dist-es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +2 -14
- package/dist-es/commands/UpdateApprovalRuleTemplateNameCommand.js +2 -14
- package/dist-es/commands/UpdateCommentCommand.js +2 -14
- package/dist-es/commands/UpdateDefaultBranchCommand.js +2 -14
- package/dist-es/commands/UpdatePullRequestApprovalRuleContentCommand.js +2 -14
- package/dist-es/commands/UpdatePullRequestApprovalStateCommand.js +2 -14
- package/dist-es/commands/UpdatePullRequestDescriptionCommand.js +2 -14
- package/dist-es/commands/UpdatePullRequestStatusCommand.js +2 -14
- package/dist-es/commands/UpdatePullRequestTitleCommand.js +2 -14
- package/dist-es/commands/UpdateRepositoryDescriptionCommand.js +2 -14
- package/dist-es/commands/UpdateRepositoryEncryptionKeyCommand.js +2 -14
- package/dist-es/commands/UpdateRepositoryNameCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +3 -8
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +3 -8
- package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +3 -8
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +3 -8
- package/dist-types/commands/BatchGetCommitsCommand.d.ts +3 -8
- package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +3 -8
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +3 -8
- package/dist-types/commands/CreateBranchCommand.d.ts +3 -8
- package/dist-types/commands/CreateCommitCommand.d.ts +3 -8
- package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +3 -8
- package/dist-types/commands/CreatePullRequestCommand.d.ts +3 -8
- package/dist-types/commands/CreateRepositoryCommand.d.ts +3 -8
- package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +3 -8
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DeleteBranchCommand.d.ts +3 -8
- package/dist-types/commands/DeleteCommentContentCommand.d.ts +3 -8
- package/dist-types/commands/DeleteFileCommand.d.ts +3 -8
- package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +3 -8
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +3 -8
- package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +3 -8
- package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +3 -8
- package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +3 -8
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +3 -8
- package/dist-types/commands/GetBlobCommand.d.ts +3 -8
- package/dist-types/commands/GetBranchCommand.d.ts +3 -8
- package/dist-types/commands/GetCommentCommand.d.ts +3 -8
- package/dist-types/commands/GetCommentReactionsCommand.d.ts +3 -8
- package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +3 -8
- package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +3 -8
- package/dist-types/commands/GetCommitCommand.d.ts +3 -8
- package/dist-types/commands/GetDifferencesCommand.d.ts +3 -8
- package/dist-types/commands/GetFileCommand.d.ts +3 -8
- package/dist-types/commands/GetFolderCommand.d.ts +3 -8
- package/dist-types/commands/GetMergeCommitCommand.d.ts +3 -8
- package/dist-types/commands/GetMergeConflictsCommand.d.ts +3 -8
- package/dist-types/commands/GetMergeOptionsCommand.d.ts +3 -8
- package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +3 -8
- package/dist-types/commands/GetPullRequestCommand.d.ts +3 -8
- package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +3 -8
- package/dist-types/commands/GetRepositoryCommand.d.ts +3 -8
- package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +3 -8
- package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +3 -8
- package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +3 -8
- package/dist-types/commands/ListBranchesCommand.d.ts +3 -8
- package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +3 -8
- package/dist-types/commands/ListPullRequestsCommand.d.ts +3 -8
- package/dist-types/commands/ListRepositoriesCommand.d.ts +3 -8
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +3 -8
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +3 -8
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +3 -8
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +3 -8
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +3 -8
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +3 -8
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +3 -8
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +3 -8
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +3 -8
- package/dist-types/commands/PostCommentReplyCommand.d.ts +3 -8
- package/dist-types/commands/PutCommentReactionCommand.d.ts +3 -8
- package/dist-types/commands/PutFileCommand.d.ts +3 -8
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +3 -8
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +3 -8
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +3 -8
- package/dist-types/commands/UpdateCommentCommand.d.ts +3 -8
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +3 -8
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +3 -8
- package/dist-types/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +3 -8
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchDescribeMergeConflictsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchGetCommitsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchGetRepositoriesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateApprovalRuleTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateCommitCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePullRequestApprovalRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePullRequestCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateUnreferencedMergeCommitCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteApprovalRuleTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteCommentContentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteFileCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePullRequestApprovalRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeMergeConflictsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribePullRequestEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetApprovalRuleTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBlobCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCommentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCommentReactionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCommentsForComparedCommitCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCommentsForPullRequestCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCommitCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDifferencesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFileCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetMergeCommitCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetMergeConflictsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetMergeOptionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPullRequestApprovalStatesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPullRequestCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPullRequestOverrideStateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRepositoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRepositoryTriggersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListApprovalRuleTemplatesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutFileCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutRepositoryTriggers$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutRepositoryTriggersCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "PutRepositoryTriggers", {})
|
|
13
|
-
.n("CodeCommitClient", "PutRepositoryTriggersCommand")
|
|
14
|
-
.sc(PutRepositoryTriggers$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutRepositoryTriggersCommand extends command(_ep0, _mw0, "PutRepositoryTriggers", PutRepositoryTriggers$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "TagResource", {})
|
|
13
|
-
.n("CodeCommitClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TestRepositoryTriggers$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TestRepositoryTriggersCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "TestRepositoryTriggers", {})
|
|
13
|
-
.n("CodeCommitClient", "TestRepositoryTriggersCommand")
|
|
14
|
-
.sc(TestRepositoryTriggers$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TestRepositoryTriggersCommand extends command(_ep0, _mw0, "TestRepositoryTriggers", TestRepositoryTriggers$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UntagResource", {})
|
|
13
|
-
.n("CodeCommitClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateApprovalRuleTemplateContent$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateApprovalRuleTemplateContentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdateApprovalRuleTemplateContent", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdateApprovalRuleTemplateContentCommand")
|
|
14
|
-
.sc(UpdateApprovalRuleTemplateContent$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateApprovalRuleTemplateContentCommand extends command(_ep0, _mw0, "UpdateApprovalRuleTemplateContent", UpdateApprovalRuleTemplateContent$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateApprovalRuleTemplateDescription$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateApprovalRuleTemplateDescriptionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdateApprovalRuleTemplateDescription", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdateApprovalRuleTemplateDescriptionCommand")
|
|
14
|
-
.sc(UpdateApprovalRuleTemplateDescription$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateApprovalRuleTemplateDescriptionCommand extends command(_ep0, _mw0, "UpdateApprovalRuleTemplateDescription", UpdateApprovalRuleTemplateDescription$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateApprovalRuleTemplateName$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateApprovalRuleTemplateNameCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdateApprovalRuleTemplateName", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdateApprovalRuleTemplateNameCommand")
|
|
14
|
-
.sc(UpdateApprovalRuleTemplateName$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateApprovalRuleTemplateNameCommand extends command(_ep0, _mw0, "UpdateApprovalRuleTemplateName", UpdateApprovalRuleTemplateName$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateComment$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateCommentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdateComment", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdateCommentCommand")
|
|
14
|
-
.sc(UpdateComment$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateCommentCommand extends command(_ep0, _mw0, "UpdateComment", UpdateComment$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateDefaultBranch$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateDefaultBranchCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdateDefaultBranch", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdateDefaultBranchCommand")
|
|
14
|
-
.sc(UpdateDefaultBranch$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateDefaultBranchCommand extends command(_ep0, _mw0, "UpdateDefaultBranch", UpdateDefaultBranch$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePullRequestApprovalRuleContent$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePullRequestApprovalRuleContentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdatePullRequestApprovalRuleContent", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdatePullRequestApprovalRuleContentCommand")
|
|
14
|
-
.sc(UpdatePullRequestApprovalRuleContent$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePullRequestApprovalRuleContentCommand extends command(_ep0, _mw0, "UpdatePullRequestApprovalRuleContent", UpdatePullRequestApprovalRuleContent$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePullRequestApprovalState$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePullRequestApprovalStateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdatePullRequestApprovalState", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdatePullRequestApprovalStateCommand")
|
|
14
|
-
.sc(UpdatePullRequestApprovalState$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePullRequestApprovalStateCommand extends command(_ep0, _mw0, "UpdatePullRequestApprovalState", UpdatePullRequestApprovalState$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePullRequestDescription$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePullRequestDescriptionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdatePullRequestDescription", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdatePullRequestDescriptionCommand")
|
|
14
|
-
.sc(UpdatePullRequestDescription$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePullRequestDescriptionCommand extends command(_ep0, _mw0, "UpdatePullRequestDescription", UpdatePullRequestDescription$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePullRequestStatus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePullRequestStatusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdatePullRequestStatus", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdatePullRequestStatusCommand")
|
|
14
|
-
.sc(UpdatePullRequestStatus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePullRequestStatusCommand extends command(_ep0, _mw0, "UpdatePullRequestStatus", UpdatePullRequestStatus$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePullRequestTitle$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePullRequestTitleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdatePullRequestTitle", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdatePullRequestTitleCommand")
|
|
14
|
-
.sc(UpdatePullRequestTitle$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePullRequestTitleCommand extends command(_ep0, _mw0, "UpdatePullRequestTitle", UpdatePullRequestTitle$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateRepositoryDescription$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateRepositoryDescriptionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdateRepositoryDescription", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdateRepositoryDescriptionCommand")
|
|
14
|
-
.sc(UpdateRepositoryDescription$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateRepositoryDescriptionCommand extends command(_ep0, _mw0, "UpdateRepositoryDescription", UpdateRepositoryDescription$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateRepositoryEncryptionKey$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateRepositoryEncryptionKeyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdateRepositoryEncryptionKey", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdateRepositoryEncryptionKeyCommand")
|
|
14
|
-
.sc(UpdateRepositoryEncryptionKey$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateRepositoryEncryptionKeyCommand extends command(_ep0, _mw0, "UpdateRepositoryEncryptionKey", UpdateRepositoryEncryptionKey$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateRepositoryName$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateRepositoryNameCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CodeCommit_20150413", "UpdateRepositoryName", {})
|
|
13
|
-
.n("CodeCommitClient", "UpdateRepositoryNameCommand")
|
|
14
|
-
.sc(UpdateRepositoryName$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateRepositoryNameCommand extends command(_ep0, _mw0, "UpdateRepositoryName", UpdateRepositoryName$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
33
|
serviceTarget: "CodeCommit_20150413",
|
|
33
34
|
},
|
|
34
35
|
serviceId: config?.serviceId ?? "CodeCommit",
|
|
36
|
+
sha256: config?.sha256 ?? Sha256,
|
|
35
37
|
urlParser: config?.urlParser ?? parseUrl,
|
|
36
38
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
39
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CodeCommitClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
|
|
4
2
|
import type { AssociateApprovalRuleTemplateWithRepositoryInput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssociateApprovalRuleTemplateWithRepositoryCommandInput extends
|
|
|
22
19
|
export interface AssociateApprovalRuleTemplateWithRepositoryCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssociateApprovalRuleTemplateWithRepositoryCommand_base: {
|
|
25
|
-
new (input: AssociateApprovalRuleTemplateWithRepositoryCommandInput): import("@smithy/core/client").CommandImpl<AssociateApprovalRuleTemplateWithRepositoryCommandInput, AssociateApprovalRuleTemplateWithRepositoryCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssociateApprovalRuleTemplateWithRepositoryCommandInput): import("@smithy/core/client").CommandImpl<AssociateApprovalRuleTemplateWithRepositoryCommandInput, AssociateApprovalRuleTemplateWithRepositoryCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssociateApprovalRuleTemplateWithRepositoryCommandInput): import("@smithy/core/client").CommandImpl<AssociateApprovalRuleTemplateWithRepositoryCommandInput, AssociateApprovalRuleTemplateWithRepositoryCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociateApprovalRuleTemplateWithRepositoryCommandInput): import("@smithy/core/client").CommandImpl<AssociateApprovalRuleTemplateWithRepositoryCommandInput, AssociateApprovalRuleTemplateWithRepositoryCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an association between an approval rule template and a specified repository.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
|
|
4
2
|
import type { BatchAssociateApprovalRuleTemplateWithRepositoriesInput, BatchAssociateApprovalRuleTemplateWithRepositoriesOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput
|
|
|
22
19
|
export interface BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput extends BatchAssociateApprovalRuleTemplateWithRepositoriesOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchAssociateApprovalRuleTemplateWithRepositoriesCommand_base: {
|
|
25
|
-
new (input: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an association between an approval rule template and one or more specified repositories. </p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
|
|
4
2
|
import type { BatchDescribeMergeConflictsInput, BatchDescribeMergeConflictsOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchDescribeMergeConflictsCommandInput extends BatchDescribeMe
|
|
|
22
19
|
export interface BatchDescribeMergeConflictsCommandOutput extends BatchDescribeMergeConflictsOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchDescribeMergeConflictsCommand_base: {
|
|
25
|
-
new (input: BatchDescribeMergeConflictsCommandInput): import("@smithy/core/client").CommandImpl<BatchDescribeMergeConflictsCommandInput, BatchDescribeMergeConflictsCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchDescribeMergeConflictsCommandInput): import("@smithy/core/client").CommandImpl<BatchDescribeMergeConflictsCommandInput, BatchDescribeMergeConflictsCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchDescribeMergeConflictsCommandInput): import("@smithy/core/client").CommandImpl<BatchDescribeMergeConflictsCommandInput, BatchDescribeMergeConflictsCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchDescribeMergeConflictsCommandInput): import("@smithy/core/client").CommandImpl<BatchDescribeMergeConflictsCommandInput, BatchDescribeMergeConflictsCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.</p>
|
package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
|
|
4
2
|
import type { BatchDisassociateApprovalRuleTemplateFromRepositoriesInput, BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInp
|
|
|
22
19
|
export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput extends BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand_base: {
|
|
25
|
-
new (input: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Removes the association between an approval rule template and one or more specified repositories. </p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
|
|
4
2
|
import type { BatchGetCommitsInput, BatchGetCommitsOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchGetCommitsCommandInput extends BatchGetCommitsInput {
|
|
|
22
19
|
export interface BatchGetCommitsCommandOutput extends BatchGetCommitsOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchGetCommitsCommand_base: {
|
|
25
|
-
new (input: BatchGetCommitsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCommitsCommandInput, BatchGetCommitsCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchGetCommitsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCommitsCommandInput, BatchGetCommitsCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchGetCommitsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCommitsCommandInput, BatchGetCommitsCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchGetCommitsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetCommitsCommandInput, BatchGetCommitsCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns information about the contents of one or more commits in a repository.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
|
|
4
2
|
import type { BatchGetRepositoriesInput, BatchGetRepositoriesOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface BatchGetRepositoriesCommandInput extends BatchGetRepositoriesIn
|
|
|
22
19
|
export interface BatchGetRepositoriesCommandOutput extends BatchGetRepositoriesOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const BatchGetRepositoriesCommand_base: {
|
|
25
|
-
new (input: BatchGetRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchGetRepositoriesCommandInput, BatchGetRepositoriesCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: BatchGetRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchGetRepositoriesCommandInput, BatchGetRepositoriesCommandOutput, CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: BatchGetRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchGetRepositoriesCommandInput, BatchGetRepositoriesCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchGetRepositoriesCommandInput): import("@smithy/core/client").CommandImpl<BatchGetRepositoriesCommandInput, BatchGetRepositoriesCommandOutput, import("..").CodeCommitClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns information about one or more repositories.</p>
|