@aws-sdk/client-codecommit 3.952.0 → 3.954.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 +2040 -1516
- package/dist-cjs/runtimeConfig.shared.js +7 -6
- package/dist-es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +2 -2
- package/dist-es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +2 -2
- package/dist-es/commands/BatchDescribeMergeConflictsCommand.js +2 -2
- package/dist-es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +2 -2
- package/dist-es/commands/BatchGetCommitsCommand.js +2 -2
- package/dist-es/commands/BatchGetRepositoriesCommand.js +2 -2
- package/dist-es/commands/CreateApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/CreateBranchCommand.js +2 -2
- package/dist-es/commands/CreateCommitCommand.js +2 -2
- package/dist-es/commands/CreatePullRequestApprovalRuleCommand.js +2 -2
- package/dist-es/commands/CreatePullRequestCommand.js +2 -2
- package/dist-es/commands/CreateRepositoryCommand.js +2 -2
- package/dist-es/commands/CreateUnreferencedMergeCommitCommand.js +2 -2
- package/dist-es/commands/DeleteApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/DeleteBranchCommand.js +2 -2
- package/dist-es/commands/DeleteCommentContentCommand.js +2 -2
- package/dist-es/commands/DeleteFileCommand.js +2 -2
- package/dist-es/commands/DeletePullRequestApprovalRuleCommand.js +2 -2
- package/dist-es/commands/DeleteRepositoryCommand.js +2 -2
- package/dist-es/commands/DescribeMergeConflictsCommand.js +2 -2
- package/dist-es/commands/DescribePullRequestEventsCommand.js +2 -2
- package/dist-es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +2 -2
- package/dist-es/commands/EvaluatePullRequestApprovalRulesCommand.js +2 -2
- package/dist-es/commands/GetApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/GetBlobCommand.js +2 -2
- package/dist-es/commands/GetBranchCommand.js +2 -2
- package/dist-es/commands/GetCommentCommand.js +2 -2
- package/dist-es/commands/GetCommentReactionsCommand.js +2 -2
- package/dist-es/commands/GetCommentsForComparedCommitCommand.js +2 -2
- package/dist-es/commands/GetCommentsForPullRequestCommand.js +2 -2
- package/dist-es/commands/GetCommitCommand.js +2 -2
- package/dist-es/commands/GetDifferencesCommand.js +2 -2
- package/dist-es/commands/GetFileCommand.js +2 -2
- package/dist-es/commands/GetFolderCommand.js +2 -2
- package/dist-es/commands/GetMergeCommitCommand.js +2 -2
- package/dist-es/commands/GetMergeConflictsCommand.js +2 -2
- package/dist-es/commands/GetMergeOptionsCommand.js +2 -2
- package/dist-es/commands/GetPullRequestApprovalStatesCommand.js +2 -2
- package/dist-es/commands/GetPullRequestCommand.js +2 -2
- package/dist-es/commands/GetPullRequestOverrideStateCommand.js +2 -2
- package/dist-es/commands/GetRepositoryCommand.js +2 -2
- package/dist-es/commands/GetRepositoryTriggersCommand.js +2 -2
- package/dist-es/commands/ListApprovalRuleTemplatesCommand.js +2 -2
- package/dist-es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +2 -2
- package/dist-es/commands/ListBranchesCommand.js +2 -2
- package/dist-es/commands/ListFileCommitHistoryCommand.js +2 -2
- package/dist-es/commands/ListPullRequestsCommand.js +2 -2
- package/dist-es/commands/ListRepositoriesCommand.js +2 -2
- package/dist-es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/MergeBranchesByFastForwardCommand.js +2 -2
- package/dist-es/commands/MergeBranchesBySquashCommand.js +2 -2
- package/dist-es/commands/MergeBranchesByThreeWayCommand.js +2 -2
- package/dist-es/commands/MergePullRequestByFastForwardCommand.js +2 -2
- package/dist-es/commands/MergePullRequestBySquashCommand.js +2 -2
- package/dist-es/commands/MergePullRequestByThreeWayCommand.js +2 -2
- package/dist-es/commands/OverridePullRequestApprovalRulesCommand.js +2 -2
- package/dist-es/commands/PostCommentForComparedCommitCommand.js +2 -2
- package/dist-es/commands/PostCommentForPullRequestCommand.js +2 -2
- package/dist-es/commands/PostCommentReplyCommand.js +2 -2
- package/dist-es/commands/PutCommentReactionCommand.js +2 -2
- package/dist-es/commands/PutFileCommand.js +2 -2
- package/dist-es/commands/PutRepositoryTriggersCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TestRepositoryTriggersCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateApprovalRuleTemplateContentCommand.js +2 -2
- package/dist-es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdateApprovalRuleTemplateNameCommand.js +2 -2
- package/dist-es/commands/UpdateCommentCommand.js +2 -2
- package/dist-es/commands/UpdateDefaultBranchCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestApprovalRuleContentCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestApprovalStateCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestStatusCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestTitleCommand.js +2 -2
- package/dist-es/commands/UpdateRepositoryDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdateRepositoryEncryptionKeyCommand.js +2 -2
- package/dist-es/commands/UpdateRepositoryNameCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -6
- package/dist-es/schemas/schemas_0.js +938 -888
- package/dist-types/CodeCommitClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +475 -528
- package/dist-types/ts3.4/CodeCommitClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +474 -528
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdatePullRequestApprovalRuleContent } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdatePullRequestApprovalRuleContent$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdatePullRequestApprovalRuleContentCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdatePullRequestApprovalRuleContentCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeCommit_20150413", "UpdatePullRequestApprovalRuleContent", {})
|
|
13
13
|
.n("CodeCommitClient", "UpdatePullRequestApprovalRuleContentCommand")
|
|
14
|
-
.sc(UpdatePullRequestApprovalRuleContent)
|
|
14
|
+
.sc(UpdatePullRequestApprovalRuleContent$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdatePullRequestApprovalState } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdatePullRequestApprovalState$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdatePullRequestApprovalStateCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdatePullRequestApprovalStateCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeCommit_20150413", "UpdatePullRequestApprovalState", {})
|
|
13
13
|
.n("CodeCommitClient", "UpdatePullRequestApprovalStateCommand")
|
|
14
|
-
.sc(UpdatePullRequestApprovalState)
|
|
14
|
+
.sc(UpdatePullRequestApprovalState$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdatePullRequestDescription } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdatePullRequestDescription$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdatePullRequestDescriptionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdatePullRequestDescriptionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeCommit_20150413", "UpdatePullRequestDescription", {})
|
|
13
13
|
.n("CodeCommitClient", "UpdatePullRequestDescriptionCommand")
|
|
14
|
-
.sc(UpdatePullRequestDescription)
|
|
14
|
+
.sc(UpdatePullRequestDescription$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdatePullRequestStatus } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdatePullRequestStatus$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdatePullRequestStatusCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdatePullRequestStatusCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeCommit_20150413", "UpdatePullRequestStatus", {})
|
|
13
13
|
.n("CodeCommitClient", "UpdatePullRequestStatusCommand")
|
|
14
|
-
.sc(UpdatePullRequestStatus)
|
|
14
|
+
.sc(UpdatePullRequestStatus$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdatePullRequestTitle } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdatePullRequestTitle$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdatePullRequestTitleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdatePullRequestTitleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeCommit_20150413", "UpdatePullRequestTitle", {})
|
|
13
13
|
.n("CodeCommitClient", "UpdatePullRequestTitleCommand")
|
|
14
|
-
.sc(UpdatePullRequestTitle)
|
|
14
|
+
.sc(UpdatePullRequestTitle$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateRepositoryDescription } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateRepositoryDescription$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateRepositoryDescriptionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateRepositoryDescriptionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeCommit_20150413", "UpdateRepositoryDescription", {})
|
|
13
13
|
.n("CodeCommitClient", "UpdateRepositoryDescriptionCommand")
|
|
14
|
-
.sc(UpdateRepositoryDescription)
|
|
14
|
+
.sc(UpdateRepositoryDescription$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateRepositoryEncryptionKey } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateRepositoryEncryptionKey$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateRepositoryEncryptionKeyCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateRepositoryEncryptionKeyCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeCommit_20150413", "UpdateRepositoryEncryptionKey", {})
|
|
13
13
|
.n("CodeCommitClient", "UpdateRepositoryEncryptionKeyCommand")
|
|
14
|
-
.sc(UpdateRepositoryEncryptionKey)
|
|
14
|
+
.sc(UpdateRepositoryEncryptionKey$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateRepositoryName } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateRepositoryName$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateRepositoryNameCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateRepositoryNameCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("CodeCommit_20150413", "UpdateRepositoryName", {})
|
|
13
13
|
.n("CodeCommitClient", "UpdateRepositoryNameCommand")
|
|
14
|
-
.sc(UpdateRepositoryName)
|
|
14
|
+
.sc(UpdateRepositoryName$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.codecommit",
|
|
29
|
+
xmlNamespace: "http://codecommit.amazonaws.com/doc/2015-04-13",
|
|
30
|
+
version: "2015-04-13",
|
|
31
|
+
serviceTarget: "CodeCommit_20150413",
|
|
32
|
+
},
|
|
32
33
|
serviceId: config?.serviceId ?? "CodeCommit",
|
|
33
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|