@aws-sdk/client-codecommit 3.33.0 → 3.34.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/CHANGELOG.md +11 -0
- package/dist/cjs/package.json +38 -38
- package/dist/es/CodeCommit.js +1 -400
- package/dist/es/CodeCommit.js.map +1 -1
- package/dist/es/CodeCommitClient.js +1 -405
- package/dist/es/CodeCommitClient.js.map +1 -1
- package/dist/es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +2 -33
- package/dist/es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js.map +1 -1
- package/dist/es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +2 -27
- package/dist/es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js.map +1 -1
- package/dist/es/commands/BatchDescribeMergeConflictsCommand.js +2 -27
- package/dist/es/commands/BatchDescribeMergeConflictsCommand.js.map +1 -1
- package/dist/es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +2 -27
- package/dist/es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js.map +1 -1
- package/dist/es/commands/BatchGetCommitsCommand.js +2 -27
- package/dist/es/commands/BatchGetCommitsCommand.js.map +1 -1
- package/dist/es/commands/BatchGetRepositoriesCommand.js +2 -34
- package/dist/es/commands/BatchGetRepositoriesCommand.js.map +1 -1
- package/dist/es/commands/CreateApprovalRuleTemplateCommand.js +2 -31
- package/dist/es/commands/CreateApprovalRuleTemplateCommand.js.map +1 -1
- package/dist/es/commands/CreateBranchCommand.js +2 -30
- package/dist/es/commands/CreateBranchCommand.js.map +1 -1
- package/dist/es/commands/CreateCommitCommand.js +2 -27
- package/dist/es/commands/CreateCommitCommand.js.map +1 -1
- package/dist/es/commands/CreatePullRequestApprovalRuleCommand.js +2 -27
- package/dist/es/commands/CreatePullRequestApprovalRuleCommand.js.map +1 -1
- package/dist/es/commands/CreatePullRequestCommand.js +2 -27
- package/dist/es/commands/CreatePullRequestCommand.js.map +1 -1
- package/dist/es/commands/CreateRepositoryCommand.js +2 -27
- package/dist/es/commands/CreateRepositoryCommand.js.map +1 -1
- package/dist/es/commands/CreateUnreferencedMergeCommitCommand.js +2 -34
- package/dist/es/commands/CreateUnreferencedMergeCommitCommand.js.map +1 -1
- package/dist/es/commands/DeleteApprovalRuleTemplateCommand.js +2 -27
- package/dist/es/commands/DeleteApprovalRuleTemplateCommand.js.map +1 -1
- package/dist/es/commands/DeleteBranchCommand.js +2 -27
- package/dist/es/commands/DeleteBranchCommand.js.map +1 -1
- package/dist/es/commands/DeleteCommentContentCommand.js +2 -27
- package/dist/es/commands/DeleteCommentContentCommand.js.map +1 -1
- package/dist/es/commands/DeleteFileCommand.js +2 -29
- package/dist/es/commands/DeleteFileCommand.js.map +1 -1
- package/dist/es/commands/DeletePullRequestApprovalRuleCommand.js +2 -29
- package/dist/es/commands/DeletePullRequestApprovalRuleCommand.js.map +1 -1
- package/dist/es/commands/DeleteRepositoryCommand.js +2 -32
- package/dist/es/commands/DeleteRepositoryCommand.js.map +1 -1
- package/dist/es/commands/DescribeMergeConflictsCommand.js +2 -29
- package/dist/es/commands/DescribeMergeConflictsCommand.js.map +1 -1
- package/dist/es/commands/DescribePullRequestEventsCommand.js +2 -27
- package/dist/es/commands/DescribePullRequestEventsCommand.js.map +1 -1
- package/dist/es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +2 -30
- package/dist/es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js.map +1 -1
- package/dist/es/commands/EvaluatePullRequestApprovalRulesCommand.js +2 -27
- package/dist/es/commands/EvaluatePullRequestApprovalRulesCommand.js.map +1 -1
- package/dist/es/commands/GetApprovalRuleTemplateCommand.js +2 -27
- package/dist/es/commands/GetApprovalRuleTemplateCommand.js.map +1 -1
- package/dist/es/commands/GetBlobCommand.js +2 -27
- package/dist/es/commands/GetBlobCommand.js.map +1 -1
- package/dist/es/commands/GetBranchCommand.js +2 -27
- package/dist/es/commands/GetBranchCommand.js.map +1 -1
- package/dist/es/commands/GetCommentCommand.js +2 -31
- package/dist/es/commands/GetCommentCommand.js.map +1 -1
- package/dist/es/commands/GetCommentReactionsCommand.js +2 -27
- package/dist/es/commands/GetCommentReactionsCommand.js.map +1 -1
- package/dist/es/commands/GetCommentsForComparedCommitCommand.js +2 -31
- package/dist/es/commands/GetCommentsForComparedCommitCommand.js.map +1 -1
- package/dist/es/commands/GetCommentsForPullRequestCommand.js +2 -31
- package/dist/es/commands/GetCommentsForPullRequestCommand.js.map +1 -1
- package/dist/es/commands/GetCommitCommand.js +2 -27
- package/dist/es/commands/GetCommitCommand.js.map +1 -1
- package/dist/es/commands/GetDifferencesCommand.js +2 -29
- package/dist/es/commands/GetDifferencesCommand.js.map +1 -1
- package/dist/es/commands/GetFileCommand.js +2 -27
- package/dist/es/commands/GetFileCommand.js.map +1 -1
- package/dist/es/commands/GetFolderCommand.js +2 -27
- package/dist/es/commands/GetFolderCommand.js.map +1 -1
- package/dist/es/commands/GetMergeCommitCommand.js +2 -27
- package/dist/es/commands/GetMergeCommitCommand.js.map +1 -1
- package/dist/es/commands/GetMergeConflictsCommand.js +2 -27
- package/dist/es/commands/GetMergeConflictsCommand.js.map +1 -1
- package/dist/es/commands/GetMergeOptionsCommand.js +2 -29
- package/dist/es/commands/GetMergeOptionsCommand.js.map +1 -1
- package/dist/es/commands/GetPullRequestApprovalStatesCommand.js +2 -28
- package/dist/es/commands/GetPullRequestApprovalStatesCommand.js.map +1 -1
- package/dist/es/commands/GetPullRequestCommand.js +2 -27
- package/dist/es/commands/GetPullRequestCommand.js.map +1 -1
- package/dist/es/commands/GetPullRequestOverrideStateCommand.js +2 -28
- package/dist/es/commands/GetPullRequestOverrideStateCommand.js.map +1 -1
- package/dist/es/commands/GetRepositoryCommand.js +2 -35
- package/dist/es/commands/GetRepositoryCommand.js.map +1 -1
- package/dist/es/commands/GetRepositoryTriggersCommand.js +2 -27
- package/dist/es/commands/GetRepositoryTriggersCommand.js.map +1 -1
- package/dist/es/commands/ListApprovalRuleTemplatesCommand.js +2 -28
- package/dist/es/commands/ListApprovalRuleTemplatesCommand.js.map +1 -1
- package/dist/es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +2 -27
- package/dist/es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js.map +1 -1
- package/dist/es/commands/ListBranchesCommand.js +2 -27
- package/dist/es/commands/ListBranchesCommand.js.map +1 -1
- package/dist/es/commands/ListPullRequestsCommand.js +2 -28
- package/dist/es/commands/ListPullRequestsCommand.js.map +1 -1
- package/dist/es/commands/ListRepositoriesCommand.js +2 -27
- package/dist/es/commands/ListRepositoriesCommand.js.map +1 -1
- package/dist/es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +2 -27
- package/dist/es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -29
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/MergeBranchesByFastForwardCommand.js +2 -27
- package/dist/es/commands/MergeBranchesByFastForwardCommand.js.map +1 -1
- package/dist/es/commands/MergeBranchesBySquashCommand.js +2 -27
- package/dist/es/commands/MergeBranchesBySquashCommand.js.map +1 -1
- package/dist/es/commands/MergeBranchesByThreeWayCommand.js +2 -27
- package/dist/es/commands/MergeBranchesByThreeWayCommand.js.map +1 -1
- package/dist/es/commands/MergePullRequestByFastForwardCommand.js +2 -28
- package/dist/es/commands/MergePullRequestByFastForwardCommand.js.map +1 -1
- package/dist/es/commands/MergePullRequestBySquashCommand.js +2 -28
- package/dist/es/commands/MergePullRequestBySquashCommand.js.map +1 -1
- package/dist/es/commands/MergePullRequestByThreeWayCommand.js +2 -28
- package/dist/es/commands/MergePullRequestByThreeWayCommand.js.map +1 -1
- package/dist/es/commands/OverridePullRequestApprovalRulesCommand.js +2 -27
- package/dist/es/commands/OverridePullRequestApprovalRulesCommand.js.map +1 -1
- package/dist/es/commands/PostCommentForComparedCommitCommand.js +2 -27
- package/dist/es/commands/PostCommentForComparedCommitCommand.js.map +1 -1
- package/dist/es/commands/PostCommentForPullRequestCommand.js +2 -27
- package/dist/es/commands/PostCommentForPullRequestCommand.js.map +1 -1
- package/dist/es/commands/PostCommentReplyCommand.js +2 -27
- package/dist/es/commands/PostCommentReplyCommand.js.map +1 -1
- package/dist/es/commands/PutCommentReactionCommand.js +2 -28
- package/dist/es/commands/PutCommentReactionCommand.js.map +1 -1
- package/dist/es/commands/PutFileCommand.js +2 -27
- package/dist/es/commands/PutFileCommand.js.map +1 -1
- package/dist/es/commands/PutRepositoryTriggersCommand.js +2 -27
- package/dist/es/commands/PutRepositoryTriggersCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -29
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/TestRepositoryTriggersCommand.js +2 -29
- package/dist/es/commands/TestRepositoryTriggersCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -29
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateApprovalRuleTemplateContentCommand.js +2 -29
- package/dist/es/commands/UpdateApprovalRuleTemplateContentCommand.js.map +1 -1
- package/dist/es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +2 -27
- package/dist/es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js.map +1 -1
- package/dist/es/commands/UpdateApprovalRuleTemplateNameCommand.js +2 -27
- package/dist/es/commands/UpdateApprovalRuleTemplateNameCommand.js.map +1 -1
- package/dist/es/commands/UpdateCommentCommand.js +2 -27
- package/dist/es/commands/UpdateCommentCommand.js.map +1 -1
- package/dist/es/commands/UpdateDefaultBranchCommand.js +2 -30
- package/dist/es/commands/UpdateDefaultBranchCommand.js.map +1 -1
- package/dist/es/commands/UpdatePullRequestApprovalRuleContentCommand.js +2 -28
- package/dist/es/commands/UpdatePullRequestApprovalRuleContentCommand.js.map +1 -1
- package/dist/es/commands/UpdatePullRequestApprovalStateCommand.js +2 -27
- package/dist/es/commands/UpdatePullRequestApprovalStateCommand.js.map +1 -1
- package/dist/es/commands/UpdatePullRequestDescriptionCommand.js +2 -27
- package/dist/es/commands/UpdatePullRequestDescriptionCommand.js.map +1 -1
- package/dist/es/commands/UpdatePullRequestStatusCommand.js +2 -27
- package/dist/es/commands/UpdatePullRequestStatusCommand.js.map +1 -1
- package/dist/es/commands/UpdatePullRequestTitleCommand.js +2 -27
- package/dist/es/commands/UpdatePullRequestTitleCommand.js.map +1 -1
- package/dist/es/commands/UpdateRepositoryDescriptionCommand.js +2 -34
- package/dist/es/commands/UpdateRepositoryDescriptionCommand.js.map +1 -1
- package/dist/es/commands/UpdateRepositoryNameCommand.js +2 -31
- package/dist/es/commands/UpdateRepositoryNameCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -861
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/models/models_1.js +0 -291
- package/dist/es/models/models_1.js.map +1 -1
- package/dist/es/package.json +38 -38
- package/dist/es/pagination/DescribeMergeConflictsPaginator.js +16 -28
- package/dist/es/pagination/DescribeMergeConflictsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribePullRequestEventsPaginator.js +16 -28
- package/dist/es/pagination/DescribePullRequestEventsPaginator.js.map +1 -1
- package/dist/es/pagination/GetCommentReactionsPaginator.js +16 -28
- package/dist/es/pagination/GetCommentReactionsPaginator.js.map +1 -1
- package/dist/es/pagination/GetCommentsForComparedCommitPaginator.js +16 -28
- package/dist/es/pagination/GetCommentsForComparedCommitPaginator.js.map +1 -1
- package/dist/es/pagination/GetCommentsForPullRequestPaginator.js +16 -28
- package/dist/es/pagination/GetCommentsForPullRequestPaginator.js.map +1 -1
- package/dist/es/pagination/GetDifferencesPaginator.js +16 -28
- package/dist/es/pagination/GetDifferencesPaginator.js.map +1 -1
- package/dist/es/pagination/GetMergeConflictsPaginator.js +16 -28
- package/dist/es/pagination/GetMergeConflictsPaginator.js.map +1 -1
- package/dist/es/pagination/ListApprovalRuleTemplatesPaginator.js +16 -28
- package/dist/es/pagination/ListApprovalRuleTemplatesPaginator.js.map +1 -1
- package/dist/es/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.js +16 -28
- package/dist/es/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.js.map +1 -1
- package/dist/es/pagination/ListBranchesPaginator.js +16 -28
- package/dist/es/pagination/ListBranchesPaginator.js.map +1 -1
- package/dist/es/pagination/ListPullRequestsPaginator.js +16 -28
- package/dist/es/pagination/ListPullRequestsPaginator.js.map +1 -1
- package/dist/es/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.js +16 -28
- package/dist/es/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.js.map +1 -1
- package/dist/es/pagination/ListRepositoriesPaginator.js +16 -28
- package/dist/es/pagination/ListRepositoriesPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +5006 -5011
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/package.json +38 -38
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +4 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,44 +3,13 @@ import { AssociateApprovalRuleTemplateWithRepositoryInput } from "../models/mode
|
|
|
3
3
|
import { deserializeAws_json1_1AssociateApprovalRuleTemplateWithRepositoryCommand, serializeAws_json1_1AssociateApprovalRuleTemplateWithRepositoryCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Creates an association between an approval rule template and a specified repository.
|
|
8
|
-
* Then, the next time a pull request is created in the repository where the destination
|
|
9
|
-
* reference (if specified) matches the destination reference (branch) for the pull
|
|
10
|
-
* request, an approval rule that matches the template conditions is automatically created
|
|
11
|
-
* for that pull request. If no destination references are specified in the template, an
|
|
12
|
-
* approval rule that matches the template contents is created for all pull requests in
|
|
13
|
-
* that repository.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { CodeCommitClient, AssociateApprovalRuleTemplateWithRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
18
|
-
* // const { CodeCommitClient, AssociateApprovalRuleTemplateWithRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
19
|
-
* const client = new CodeCommitClient(config);
|
|
20
|
-
* const command = new AssociateApprovalRuleTemplateWithRepositoryCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link AssociateApprovalRuleTemplateWithRepositoryCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link AssociateApprovalRuleTemplateWithRepositoryCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
var AssociateApprovalRuleTemplateWithRepositoryCommand = /** @class */ (function (_super) {
|
|
6
|
+
var AssociateApprovalRuleTemplateWithRepositoryCommand = (function (_super) {
|
|
30
7
|
__extends(AssociateApprovalRuleTemplateWithRepositoryCommand, _super);
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
8
|
function AssociateApprovalRuleTemplateWithRepositoryCommand(input) {
|
|
34
|
-
var _this =
|
|
35
|
-
// Start section: command_constructor
|
|
36
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
37
10
|
_this.input = input;
|
|
38
11
|
return _this;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
AssociateApprovalRuleTemplateWithRepositoryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssociateApprovalRuleTemplateWithRepositoryCommand.js","sourceRoot":"","sources":["../../../commands/AssociateApprovalRuleTemplateWithRepositoryCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gDAAgD,EAAE,MAAM,oBAAoB,CAAC;AACtF,OAAO,EACL,wEAAwE,EACxE,sEAAsE,GACvE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"AssociateApprovalRuleTemplateWithRepositoryCommand.js","sourceRoot":"","sources":["../../../commands/AssociateApprovalRuleTemplateWithRepositoryCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gDAAgD,EAAE,MAAM,oBAAoB,CAAC;AACtF,OAAO,EACL,wEAAwE,EACxE,sEAAsE,GACvE,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAsC7D;IAAwE,sEAIvE;IAIC,4DAAqB,KAA8D;QAAnF,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyD;;IAIn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RuleTemplateWithRepositoriesCommand, serializeAws_json1_1BatchAssociateApprovalRuleTemplateWithRepositoriesCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Creates an association between an approval rule template and one or more specified repositories. </p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, BatchAssociateApprovalRuleTemplateWithRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, BatchAssociateApprovalRuleTemplateWithRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new BatchAssociateApprovalRuleTemplateWithRepositoriesCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var BatchAssociateApprovalRuleTemplateWithRepositoriesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var BatchAssociateApprovalRuleTemplateWithRepositoriesCommand = (function (_super) {
|
|
24
7
|
__extends(BatchAssociateApprovalRuleTemplateWithRepositoriesCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function BatchAssociateApprovalRuleTemplateWithRepositoriesCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js","sourceRoot":"","sources":["../../../commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,uDAAuD,EACvD,wDAAwD,GACzD,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,+EAA+E,EAC/E,6EAA6E,GAC9E,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js","sourceRoot":"","sources":["../../../commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,uDAAuD,EACvD,wDAAwD,GACzD,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,+EAA+E,EAC/E,6EAA6E,GAC9E,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAkC7D;IAA+E,6EAI9E;IAIC,mEAAqB,KAAqE;QAA1F,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KA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Command, serializeAws_json1_1BatchDescribeMergeConflictsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <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>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, BatchDescribeMergeConflictsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, BatchDescribeMergeConflictsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new BatchDescribeMergeConflictsCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link BatchDescribeMergeConflictsCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link BatchDescribeMergeConflictsCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var BatchDescribeMergeConflictsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var BatchDescribeMergeConflictsCommand = (function (_super) {
|
|
24
7
|
__extends(BatchDescribeMergeConflictsCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function BatchDescribeMergeConflictsCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
BatchDescribeMergeConflictsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BatchDescribeMergeConflictsCommand.js","sourceRoot":"","sources":["../../../commands/BatchDescribeMergeConflictsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"BatchDescribeMergeConflictsCommand.js","sourceRoot":"","sources":["../../../commands/BatchDescribeMergeConflictsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAwD,sDAIvD;IAIC,4CAAqB,KAA8C;QAAnE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyC;;IAInE,CAAC;IAKD,8DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,oCAAoC,CAAC;QACzD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gCAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,iCAAiC,CAAC,kBAAkB;SAC/E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sDAAS,GAAjB,UAAkB,KAA8C,EAAE,OAAuB;QACvF,OAAO,sDAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
|
|
@@ -3,38 +3,13 @@ import { BatchDisassociateApprovalRuleTemplateFromRepositoriesInput, BatchDisass
|
|
|
3
3
|
import { deserializeAws_json1_1BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand, serializeAws_json1_1BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Removes the association between an approval rule template and one or more specified repositories. </p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand = (function (_super) {
|
|
24
7
|
__extends(BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
package/dist/es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js","sourceRoot":"","sources":["../../../commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,0DAA0D,EAC1D,2DAA2D,GAC5D,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,kFAAkF,EAClF,gFAAgF,GACjF,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js","sourceRoot":"","sources":["../../../commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,0DAA0D,EAC1D,2DAA2D,GAC5D,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,kFAAkF,EAClF,gFAAgF,GACjF,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAkC7D;IAAkF,gFAIjF;IAIC,sEAAqB,KAAwE;QAA7F,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAmE;;IAI7F,CAAC;IAKD,wFAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAK9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,8DAA8D,CAAC;QACnF,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0DAA0D,CAAC,kBAAkB;YACtG,wBAAwB,EAAE,2DAA2D,CAAC,kBAAkB;SACzG,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,gFAAS,GAAjB,UACE,KAAwE,EACxE,OAAuB;QAEvB,OAAO,gFAAgF,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1G,CAAC;IAEO,kFAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,kFAAkF,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7G,CAAC;IAIH,mEAAC;AAAD,CAAC,AA/DD,CAAkF,QAAQ,GA+DzF"}
|
|
@@ -3,38 +3,13 @@ import { BatchGetCommitsInput, BatchGetCommitsOutput } from "../models/models_0"
|
|
|
3
3
|
import { deserializeAws_json1_1BatchGetCommitsCommand, serializeAws_json1_1BatchGetCommitsCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns information about the contents of one or more commits in a repository.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, BatchGetCommitsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, BatchGetCommitsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new BatchGetCommitsCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link BatchGetCommitsCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link BatchGetCommitsCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var BatchGetCommitsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var BatchGetCommitsCommand = (function (_super) {
|
|
24
7
|
__extends(BatchGetCommitsCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function BatchGetCommitsCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
BatchGetCommitsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BatchGetCommitsCommand.js","sourceRoot":"","sources":["../../../commands/BatchGetCommitsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"BatchGetCommitsCommand.js","sourceRoot":"","sources":["../../../commands/BatchGetCommitsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAA4C,0CAI3C;IAIC,gCAAqB,KAAkC;QAAvD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA6B;;IAIvD,CAAC;IAKD,kDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,wBAAwB,CAAC;QAC7C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oBAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,qBAAqB,CAAC,kBAAkB;SACnE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,0CAAS,GAAjB,UAAkB,KAAkC,EAAE,OAAuB;QAC3E,OAAO,0CAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,4CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,6BAAC;AAAD,CAAC,AAtDD,CAA4C,QAAQ,GAsDnD"}
|
|
@@ -3,45 +3,13 @@ import { BatchGetRepositoriesInput, BatchGetRepositoriesOutput } from "../models
|
|
|
3
3
|
import { deserializeAws_json1_1BatchGetRepositoriesCommand, serializeAws_json1_1BatchGetRepositoriesCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns information about one or more repositories.</p>
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>The description field for a repository accepts all HTML characters and all valid
|
|
10
|
-
* Unicode characters. Applications that do not HTML-encode the description and display
|
|
11
|
-
* it in a webpage can expose users to potentially malicious code. Make sure that you
|
|
12
|
-
* HTML-encode the description field in any application that uses this API to display
|
|
13
|
-
* the repository description on a webpage.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { CodeCommitClient, BatchGetRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
19
|
-
* // const { CodeCommitClient, BatchGetRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
20
|
-
* const client = new CodeCommitClient(config);
|
|
21
|
-
* const command = new BatchGetRepositoriesCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link BatchGetRepositoriesCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link BatchGetRepositoriesCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var BatchGetRepositoriesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var BatchGetRepositoriesCommand = (function (_super) {
|
|
31
7
|
__extends(BatchGetRepositoriesCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function BatchGetRepositoriesCommand(input) {
|
|
35
|
-
var _this =
|
|
36
|
-
// Start section: command_constructor
|
|
37
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
38
10
|
_this.input = input;
|
|
39
11
|
return _this;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
BatchGetRepositoriesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BatchGetRepositoriesCommand.js","sourceRoot":"","sources":["../../../commands/BatchGetRepositoriesCommand.ts"],"names":[],"mappings":";AACA,OAAO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AAwB,EAAE,0BAA0B,CAAC,kBAAkB;SACxE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+CAAS,GAAjB,UAAkB,KAAuC,EAAE,OAAuB;QAChF,OAAO,+CAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
|
|
@@ -3,42 +3,13 @@ import { CreateApprovalRuleTemplateInput, CreateApprovalRuleTemplateOutput } fro
|
|
|
3
3
|
import { deserializeAws_json1_1CreateApprovalRuleTemplateCommand, serializeAws_json1_1CreateApprovalRuleTemplateCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Creates a template for approval rules that can then be associated with one or more
|
|
8
|
-
* repositories in your AWS account. When you associate a template with a repository, AWS
|
|
9
|
-
* CodeCommit creates an approval rule that matches the conditions of the template for all
|
|
10
|
-
* pull requests that meet the conditions of the template. For more information, see
|
|
11
|
-
* <a>AssociateApprovalRuleTemplateWithRepository</a>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CodeCommitClient, CreateApprovalRuleTemplateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
16
|
-
* // const { CodeCommitClient, CreateApprovalRuleTemplateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
17
|
-
* const client = new CodeCommitClient(config);
|
|
18
|
-
* const command = new CreateApprovalRuleTemplateCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateApprovalRuleTemplateCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateApprovalRuleTemplateCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var CreateApprovalRuleTemplateCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateApprovalRuleTemplateCommand = (function (_super) {
|
|
28
7
|
__extends(CreateApprovalRuleTemplateCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function CreateApprovalRuleTemplateCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
CreateApprovalRuleTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateApprovalRuleTemplateCommand.js","sourceRoot":"","sources":["../../../commands/CreateApprovalRuleTemplateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateApprovalRuleTemplateCommand.js","sourceRoot":"","sources":["../../../commands/CreateApprovalRuleTemplateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAmC7D;IAAuD,qDAItD;IAIC,2CAAqB,KAA6C;QAAlE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwC;;IAIlE,CAAC;IAKD,6DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,mCAAmC,CAAC;QACxD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,+BAA+B,CAAC,kBAAkB;YAC3E,wBAAwB,EAAE,gCAAgC,CAAC,kBAAkB;SAC9E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qDAAS,GAAjB,UAAkB,KAA6C,EAAE,OAAuB;QACtF,OAAO,qDAAqD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAEO,uDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,uDAAuD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAIH,wCAAC;AAAD,CAAC,AAzDD,CAAuD,QAAQ,GAyD9D"}
|
|
@@ -3,41 +3,13 @@ import { CreateBranchInput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1CreateBranchCommand, serializeAws_json1_1CreateBranchCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Creates a branch in a repository and points the branch to a commit.</p>
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.</p>
|
|
10
|
-
* </note>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CodeCommitClient, CreateBranchCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
15
|
-
* // const { CodeCommitClient, CreateBranchCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
16
|
-
* const client = new CodeCommitClient(config);
|
|
17
|
-
* const command = new CreateBranchCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateBranchCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateBranchCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var CreateBranchCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateBranchCommand = (function (_super) {
|
|
27
7
|
__extends(CreateBranchCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function CreateBranchCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
CreateBranchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateBranchCommand.js","sourceRoot":"","sources":["../../../commands/CreateBranchCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateBranchCommand.js","sourceRoot":"","sources":["../../../commands/CreateBranchCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;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AC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -3,38 +3,13 @@ import { CreateCommitInput, CreateCommitOutput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1CreateCommitCommand, serializeAws_json1_1CreateCommitCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Creates a commit for a repository on the tip of a specified branch.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, CreateCommitCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, CreateCommitCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new CreateCommitCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreateCommitCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreateCommitCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreateCommitCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateCommitCommand = (function (_super) {
|
|
24
7
|
__extends(CreateCommitCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreateCommitCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreateCommitCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCommitCommand.js","sourceRoot":"","sources":["../../../commands/CreateCommitCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateCommitCommand.js","sourceRoot":"","sources":["../../../commands/CreateCommitCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAyC,uCAIxC;IAIC,6BAAqB,KAA+B;QAApD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0B;;IAIpD,CAAC;IAKD,+CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,qBAAqB,CAAC;QAC1C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iBAAiB,CAAC,kBAAkB;YAC7D,wBAAwB,EAAE,kBAAkB,CAAC,kBAAkB;SAChE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uCAAS,GAAjB,UAAkB,KAA+B,EAAE,OAAuB;QACxE,OAAO,uCAAuC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAEO,yCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -3,38 +3,13 @@ import { CreatePullRequestApprovalRuleInput, CreatePullRequestApprovalRuleOutput
|
|
|
3
3
|
import { deserializeAws_json1_1CreatePullRequestApprovalRuleCommand, serializeAws_json1_1CreatePullRequestApprovalRuleCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Creates an approval rule for a pull request.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, CreatePullRequestApprovalRuleCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, CreatePullRequestApprovalRuleCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new CreatePullRequestApprovalRuleCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreatePullRequestApprovalRuleCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreatePullRequestApprovalRuleCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreatePullRequestApprovalRuleCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreatePullRequestApprovalRuleCommand = (function (_super) {
|
|
24
7
|
__extends(CreatePullRequestApprovalRuleCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreatePullRequestApprovalRuleCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreatePullRequestApprovalRuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreatePullRequestApprovalRuleCommand.js","sourceRoot":"","sources":["../../../commands/CreatePullRequestApprovalRuleCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,0DAA0D,EAC1D,wDAAwD,GACzD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreatePullRequestApprovalRuleCommand.js","sourceRoot":"","sources":["../../../commands/CreatePullRequestApprovalRuleCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,0DAA0D,EAC1D,wDAAwD,GACzD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAA0D,wDAIzD;IAIC,8CAAqB,KAAgD;QAArE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2C;;IAIrE,CAAC;IAKD,gEAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,sCAAsC,CAAC;QAC3D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kCAAkC,CAAC,kBAAkB;YAC9E,wBAAwB,EAAE,mCAAmC,CAAC,kBAAkB;SACjF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wDAAS,GAAjB,UAAkB,KAAgD,EAAE,OAAuB;QACzF,OAAO,wDAAwD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAEO,0DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,0DAA0D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAIH,2CAAC;AAAD,CAAC,AAzDD,CAA0D,QAAQ,GAyDjE"}
|
|
@@ -3,38 +3,13 @@ import { CreatePullRequestInput, CreatePullRequestOutput } from "../models/model
|
|
|
3
3
|
import { deserializeAws_json1_1CreatePullRequestCommand, serializeAws_json1_1CreatePullRequestCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Creates a pull request in the specified repository.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, CreatePullRequestCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, CreatePullRequestCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new CreatePullRequestCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreatePullRequestCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreatePullRequestCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreatePullRequestCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreatePullRequestCommand = (function (_super) {
|
|
24
7
|
__extends(CreatePullRequestCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreatePullRequestCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreatePullRequestCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreatePullRequestCommand.js","sourceRoot":"","sources":["../../../commands/CreatePullRequestCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,c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