@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,39 +3,13 @@ import { ListPullRequestsInput, ListPullRequestsOutput } from "../models/models_
|
|
|
3
3
|
import { deserializeAws_json1_1ListPullRequestsCommand, serializeAws_json1_1ListPullRequestsCommand, } 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 a list of pull requests for a specified repository. The return list can be refined by pull request
|
|
8
|
-
* status or pull request author ARN.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CodeCommitClient, ListPullRequestsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
13
|
-
* // const { CodeCommitClient, ListPullRequestsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
14
|
-
* const client = new CodeCommitClient(config);
|
|
15
|
-
* const command = new ListPullRequestsCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link ListPullRequestsCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link ListPullRequestsCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var ListPullRequestsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListPullRequestsCommand = (function (_super) {
|
|
25
7
|
__extends(ListPullRequestsCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function ListPullRequestsCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
ListPullRequestsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListPullRequestsCommand.js","sourceRoot":"","sources":["../../../commands/ListPullRequestsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,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":"ListPullRequestsCommand.js","sourceRoot":"","sources":["../../../commands/ListPullRequestsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgC7D;IAA6C,2CAI5C;IAIC,iCAAqB,KAAmC;QAAxD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8B;;IAIxD,CAAC;IAKD,mDAAiB,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,yBAAyB,CAAC;QAC9C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,qBAAqB,CAAC,kBAAkB;YACjE,wBAAwB,EAAE,sBAAsB,CAAC,kBAAkB;SACpE,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,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -3,38 +3,13 @@ import { ListRepositoriesInput, ListRepositoriesOutput } from "../models/models_
|
|
|
3
3
|
import { deserializeAws_json1_1ListRepositoriesCommand, serializeAws_json1_1ListRepositoriesCommand, } 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>Gets information about one or more 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, ListRepositoriesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, ListRepositoriesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new ListRepositoriesCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link ListRepositoriesCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link ListRepositoriesCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var ListRepositoriesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListRepositoriesCommand = (function (_super) {
|
|
24
7
|
__extends(ListRepositoriesCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function ListRepositoriesCommand(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
|
ListRepositoriesCommand.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":"ListRepositoriesCommand.js","sourceRoot":"","sources":["../../../commands/ListRepositoriesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
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AAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -3,38 +3,13 @@ import { ListRepositoriesForApprovalRuleTemplateInput, ListRepositoriesForApprov
|
|
|
3
3
|
import { deserializeAws_json1_1ListRepositoriesForApprovalRuleTemplateCommand, serializeAws_json1_1ListRepositoriesForApprovalRuleTemplateCommand, } 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>Lists all repositories associated with the specified approval rule template.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, ListRepositoriesForApprovalRuleTemplateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, ListRepositoriesForApprovalRuleTemplateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new ListRepositoriesForApprovalRuleTemplateCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link ListRepositoriesForApprovalRuleTemplateCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link ListRepositoriesForApprovalRuleTemplateCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var ListRepositoriesForApprovalRuleTemplateCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListRepositoriesForApprovalRuleTemplateCommand = (function (_super) {
|
|
24
7
|
__extends(ListRepositoriesForApprovalRuleTemplateCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function ListRepositoriesForApprovalRuleTemplateCommand(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
|
ListRepositoriesForApprovalRuleTemplateCommand.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":"ListRepositoriesForApprovalRuleTemplateCommand.js","sourceRoot":"","sources":["../../../commands/ListRepositoriesForApprovalRuleTemplateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,4CAA4C,EAC5C,6CAA6C,GAC9C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oEAAoE,EACpE,kEAAkE,GACnE,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":"ListRepositoriesForApprovalRuleTemplateCommand.js","sourceRoot":"","sources":["../../../commands/ListRepositoriesForApprovalRuleTemplateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,4CAA4C,EA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,CAAC,CAAC;IAC5F,CAAC;IAEO,oEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,oEAAoE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;IAIH,qDAAC;AAAD,CAAC,AA/DD,CAAoE,QAAQ,GA+D3E"}
|
|
@@ -3,40 +3,13 @@ import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/m
|
|
|
3
3
|
import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } 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>Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS
|
|
8
|
-
* CodeCommit. For a list of valid resources in AWS CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the<i> AWS CodeCommit User
|
|
9
|
-
* Guide</i>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeCommitClient, ListTagsForResourceCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
14
|
-
* // const { CodeCommitClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
15
|
-
* const client = new CodeCommitClient(config);
|
|
16
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var ListTagsForResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListTagsForResourceCommand = (function (_super) {
|
|
26
7
|
__extends(ListTagsForResourceCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function ListTagsForResourceCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListTagsForResourceCommand.js","sourceRoot":"","sources":["../../../commands/ListTagsForResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,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":"ListTagsForResourceCommand.js","sourceRoot":"","sources":["../../../commands/ListTagsForResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2B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IH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
|
|
@@ -3,38 +3,13 @@ import { MergeBranchesByFastForwardInput, MergeBranchesByFastForwardOutput } fro
|
|
|
3
3
|
import { deserializeAws_json1_1MergeBranchesByFastForwardCommand, serializeAws_json1_1MergeBranchesByFastForwardCommand, } 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>Merges two branches using the fast-forward 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, MergeBranchesByFastForwardCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, MergeBranchesByFastForwardCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new MergeBranchesByFastForwardCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link MergeBranchesByFastForwardCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link MergeBranchesByFastForwardCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var MergeBranchesByFastForwardCommand = /** @class */ (function (_super) {
|
|
6
|
+
var MergeBranchesByFastForwardCommand = (function (_super) {
|
|
24
7
|
__extends(MergeBranchesByFastForwardCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function MergeBranchesByFastForwardCommand(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
|
MergeBranchesByFastForwardCommand.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":"MergeBranchesByFastForwardCommand.js","sourceRoot":"","sources":["../../../commands/MergeBranchesByFastForwardCommand.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":"MergeBranchesByFastForwardCommand.js","sourceRoot":"","sources":["../../../commands/MergeBranchesByFastForwardCommand.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;AA+B7D;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,38 +3,13 @@ import { MergeBranchesBySquashInput, MergeBranchesBySquashOutput } from "../mode
|
|
|
3
3
|
import { deserializeAws_json1_1MergeBranchesBySquashCommand, serializeAws_json1_1MergeBranchesBySquashCommand, } 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>Merges two branches using the squash 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, MergeBranchesBySquashCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, MergeBranchesBySquashCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new MergeBranchesBySquashCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link MergeBranchesBySquashCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link MergeBranchesBySquashCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var MergeBranchesBySquashCommand = /** @class */ (function (_super) {
|
|
6
|
+
var MergeBranchesBySquashCommand = (function (_super) {
|
|
24
7
|
__extends(MergeBranchesBySquashCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function MergeBranchesBySquashCommand(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
|
MergeBranchesBySquashCommand.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":"MergeBranchesBySquashCommand.js","sourceRoot":"","sources":["../../../commands/MergeBranchesBySquashCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,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":"MergeBranchesBySquashCommand.js","sourceRoot":"","sources":["../../../commands/MergeBranchesBySquashCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAkD,gDAIjD;IAIC,sCAAqB,KAAwC;QAA7D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAmC;;IAI7D,CAAC;IAKD,wDAAiB,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,8BAA8B,CAAC;QACnD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0BAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,2BAA2B,CAAC,kBAAkB;SACzE,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,gDAAS,GAAjB,UAAkB,KAAwC,EAAE,OAAuB;QACjF,OAAO,gDAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,kDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kDAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAIH,mCAAC;AAAD,CAAC,AAtDD,CAAkD,QAAQ,GAsDzD"}
|
|
@@ -3,38 +3,13 @@ import { MergeBranchesByThreeWayInput, MergeBranchesByThreeWayOutput } from "../
|
|
|
3
3
|
import { deserializeAws_json1_1MergeBranchesByThreeWayCommand, serializeAws_json1_1MergeBranchesByThreeWayCommand, } 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>Merges two specified branches using the 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, MergeBranchesByThreeWayCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, MergeBranchesByThreeWayCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new MergeBranchesByThreeWayCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link MergeBranchesByThreeWayCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link MergeBranchesByThreeWayCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var MergeBranchesByThreeWayCommand = /** @class */ (function (_super) {
|
|
6
|
+
var MergeBranchesByThreeWayCommand = (function (_super) {
|
|
24
7
|
__extends(MergeBranchesByThreeWayCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function MergeBranchesByThreeWayCommand(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
|
MergeBranchesByThreeWayCommand.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":"MergeBranchesByThreeWayCommand.js","sourceRoot":"","sources":["../../../commands/MergeBranchesByThreeWayCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM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AK,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,kDAAS,GAAjB,UAAkB,KAA0C,EAAE,OAAuB;QACnF,OAAO,kDAAkD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEO,oDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,qCAAC;AAAD,CAAC,AAtDD,CAAoD,QAAQ,GAsD3D"}
|
|
@@ -3,39 +3,13 @@ import { MergePullRequestByFastForwardInput, MergePullRequestByFastForwardOutput
|
|
|
3
3
|
import { deserializeAws_json1_1MergePullRequestByFastForwardCommand, serializeAws_json1_1MergePullRequestByFastForwardCommand, } 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>Attempts to merge the source commit of a pull request into the specified destination
|
|
8
|
-
* branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CodeCommitClient, MergePullRequestByFastForwardCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
13
|
-
* // const { CodeCommitClient, MergePullRequestByFastForwardCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
14
|
-
* const client = new CodeCommitClient(config);
|
|
15
|
-
* const command = new MergePullRequestByFastForwardCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link MergePullRequestByFastForwardCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link MergePullRequestByFastForwardCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var MergePullRequestByFastForwardCommand = /** @class */ (function (_super) {
|
|
6
|
+
var MergePullRequestByFastForwardCommand = (function (_super) {
|
|
25
7
|
__extends(MergePullRequestByFastForwardCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function MergePullRequestByFastForwardCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
MergePullRequestByFastForwardCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MergePullRequestByFastForwardCommand.js","sourceRoot":"","sources":["../../../commands/MergePullRequestByFastForwardCommand.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":"MergePullRequestByFastForwardCommand.js","sourceRoot":"","sources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AjB,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,39 +3,13 @@ import { MergePullRequestBySquashInput, MergePullRequestBySquashOutput } from ".
|
|
|
3
3
|
import { deserializeAws_json1_1MergePullRequestBySquashCommand, serializeAws_json1_1MergePullRequestBySquashCommand, } 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>Attempts to merge the source commit of a pull request into the specified destination
|
|
8
|
-
* branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CodeCommitClient, MergePullRequestBySquashCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
13
|
-
* // const { CodeCommitClient, MergePullRequestBySquashCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
14
|
-
* const client = new CodeCommitClient(config);
|
|
15
|
-
* const command = new MergePullRequestBySquashCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link MergePullRequestBySquashCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link MergePullRequestBySquashCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var MergePullRequestBySquashCommand = /** @class */ (function (_super) {
|
|
6
|
+
var MergePullRequestBySquashCommand = (function (_super) {
|
|
25
7
|
__extends(MergePullRequestBySquashCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function MergePullRequestBySquashCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
MergePullRequestBySquashCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MergePullRequestBySquashCommand.js","sourceRoot":"","sources":["../../../commands/MergePullRequestBySquashCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,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":"MergePullRequestBySquashCommand.js","sourceRoot":"","sources":["../../../commands/MergePullRequestBySquashCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D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AAC,AAtDD,CAAqD,QAAQ,GAsD5D"}
|
|
@@ -3,39 +3,13 @@ import { MergePullRequestByThreeWayInput, MergePullRequestByThreeWayOutput } fro
|
|
|
3
3
|
import { deserializeAws_json1_1MergePullRequestByThreeWayCommand, serializeAws_json1_1MergePullRequestByThreeWayCommand, } 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>Attempts to merge the source commit of a pull request into the specified destination
|
|
8
|
-
* branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CodeCommitClient, MergePullRequestByThreeWayCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
13
|
-
* // const { CodeCommitClient, MergePullRequestByThreeWayCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
14
|
-
* const client = new CodeCommitClient(config);
|
|
15
|
-
* const command = new MergePullRequestByThreeWayCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link MergePullRequestByThreeWayCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link MergePullRequestByThreeWayCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var MergePullRequestByThreeWayCommand = /** @class */ (function (_super) {
|
|
6
|
+
var MergePullRequestByThreeWayCommand = (function (_super) {
|
|
25
7
|
__extends(MergePullRequestByThreeWayCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function MergePullRequestByThreeWayCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
MergePullRequestByThreeWayCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MergePullRequestByThreeWayCommand.js","sourceRoot":"","sources":["../../../commands/MergePullRequestByThreeWayCommand.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":"MergePullRequestByThreeWayCommand.js","sourceRoot":"","sources":["../../../commands/MergePullRequestByThreeWayCommand.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;AAgC7D;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,38 +3,13 @@ import { OverridePullRequestApprovalRulesInput } from "../models/models_1";
|
|
|
3
3
|
import { deserializeAws_json1_1OverridePullRequestApprovalRulesCommand, serializeAws_json1_1OverridePullRequestApprovalRulesCommand, } 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>Sets aside (overrides) all approval rule requirements for a specified 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, OverridePullRequestApprovalRulesCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, OverridePullRequestApprovalRulesCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new OverridePullRequestApprovalRulesCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link OverridePullRequestApprovalRulesCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link OverridePullRequestApprovalRulesCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var OverridePullRequestApprovalRulesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var OverridePullRequestApprovalRulesCommand = (function (_super) {
|
|
24
7
|
__extends(OverridePullRequestApprovalRulesCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function OverridePullRequestApprovalRulesCommand(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
|
OverridePullRequestApprovalRulesCommand.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":"OverridePullRequestApprovalRulesCommand.js","sourceRoot":"","sources":["../../../commands/OverridePullRequestApprovalRulesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,6DAA6D,EAC7D,2DAA2D,GAC5D,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":"OverridePullRequestApprovalRulesCommand.js","sourceRoot":"","sources":["../../../commands/OverridePullRequestApprovalRulesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,6DAA6D,EAC7D,2DAA2D,GAC5D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAA6D,2DAI5D;IAIC,iDAAqB,KAAmD;QAAxE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8C;;IAIxE,CAAC;IAKD,mEAAiB,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,yCAAyC,CAAC;QAC9D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,qCAAqC,CAAC,kBAAkB;YACjF,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,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,2DAAS,GAAjB,UACE,KAAmD,EACnD,OAAuB;QAEvB,OAAO,2DAA2D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAEO,6DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,6DAA6D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;IAIH,8CAAC;AAAD,CAAC,AA5DD,CAA6D,QAAQ,GA4DpE"}
|
|
@@ -3,38 +3,13 @@ import { PostCommentForComparedCommitInput, PostCommentForComparedCommitOutput }
|
|
|
3
3
|
import { deserializeAws_json1_1PostCommentForComparedCommitCommand, serializeAws_json1_1PostCommentForComparedCommitCommand, } 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>Posts a comment on the comparison between two commits.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, PostCommentForComparedCommitCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, PostCommentForComparedCommitCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new PostCommentForComparedCommitCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link PostCommentForComparedCommitCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link PostCommentForComparedCommitCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var PostCommentForComparedCommitCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PostCommentForComparedCommitCommand = (function (_super) {
|
|
24
7
|
__extends(PostCommentForComparedCommitCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function PostCommentForComparedCommitCommand(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
|
PostCommentForComparedCommitCommand.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);
|