@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,38 +3,13 @@ import { CreateRepositoryInput, CreateRepositoryOutput } from "../models/models_
|
|
|
3
3
|
import { deserializeAws_json1_1CreateRepositoryCommand, serializeAws_json1_1CreateRepositoryCommand, } 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 new, empty 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, CreateRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, CreateRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new CreateRepositoryCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreateRepositoryCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreateRepositoryCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreateRepositoryCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateRepositoryCommand = (function (_super) {
|
|
24
7
|
__extends(CreateRepositoryCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreateRepositoryCommand(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
|
CreateRepositoryCommand.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":"CreateRepositoryCommand.js","sourceRoot":"","sources":["../../../commands/CreateRepositoryCommand.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":"CreateRepositoryCommand.js","sourceRoot":"","sources":["../../../commands/CreateRepositoryCommand.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;AA+B7D;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,45 +3,13 @@ import { CreateUnreferencedMergeCommitInput, CreateUnreferencedMergeCommitOutput
|
|
|
3
3
|
import { deserializeAws_json1_1CreateUnreferencedMergeCommitCommand, serializeAws_json1_1CreateUnreferencedMergeCommitCommand, } 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 unreferenced commit that represents the result of merging two branches
|
|
8
|
-
* using a specified merge strategy. This can help you determine the outcome of a potential
|
|
9
|
-
* merge. This API cannot be used with the fast-forward merge strategy because that
|
|
10
|
-
* strategy does not create a merge commit.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>This unreferenced merge commit
|
|
13
|
-
* can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.</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, CreateUnreferencedMergeCommitCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
19
|
-
* // const { CodeCommitClient, CreateUnreferencedMergeCommitCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
20
|
-
* const client = new CodeCommitClient(config);
|
|
21
|
-
* const command = new CreateUnreferencedMergeCommitCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link CreateUnreferencedMergeCommitCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link CreateUnreferencedMergeCommitCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var CreateUnreferencedMergeCommitCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateUnreferencedMergeCommitCommand = (function (_super) {
|
|
31
7
|
__extends(CreateUnreferencedMergeCommitCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function CreateUnreferencedMergeCommitCommand(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
|
CreateUnreferencedMergeCommitCommand.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":"CreateUnreferencedMergeCommitCommand.js","sourceRoot":"","sources":["../../../commands/CreateUnreferencedMergeCommitCommand.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":"CreateUnreferencedMergeCommitCommand.js","sourceRoot":"","sources":["../../../commands/CreateUnreferencedMergeCommitCommand.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;AAwC7D;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 { DeleteApprovalRuleTemplateInput, DeleteApprovalRuleTemplateOutput } fro
|
|
|
3
3
|
import { deserializeAws_json1_1DeleteApprovalRuleTemplateCommand, serializeAws_json1_1DeleteApprovalRuleTemplateCommand, } 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>Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the 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, DeleteApprovalRuleTemplateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, DeleteApprovalRuleTemplateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new DeleteApprovalRuleTemplateCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DeleteApprovalRuleTemplateCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DeleteApprovalRuleTemplateCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DeleteApprovalRuleTemplateCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DeleteApprovalRuleTemplateCommand = (function (_super) {
|
|
24
7
|
__extends(DeleteApprovalRuleTemplateCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DeleteApprovalRuleTemplateCommand(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
|
DeleteApprovalRuleTemplateCommand.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":"DeleteApprovalRuleTemplateCommand.js","sourceRoot":"","sources":["../../../commands/DeleteApprovalRuleTemplateCommand.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":"DeleteApprovalRuleTemplateCommand.js","sourceRoot":"","sources":["../../../commands/DeleteApprovalRuleTemplateCommand.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 { DeleteBranchInput, DeleteBranchOutput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1DeleteBranchCommand, serializeAws_json1_1DeleteBranchCommand, } 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>Deletes a branch from a repository, unless that branch is the default branch for the 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, DeleteBranchCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, DeleteBranchCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new DeleteBranchCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DeleteBranchCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DeleteBranchCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DeleteBranchCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DeleteBranchCommand = (function (_super) {
|
|
24
7
|
__extends(DeleteBranchCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DeleteBranchCommand(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
|
DeleteBranchCommand.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":"DeleteBranchCommand.js","sourceRoot":"","sources":["../../../commands/DeleteBranchCommand.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":"DeleteBranchCommand.js","sourceRoot":"","sources":["../../../commands/DeleteBranchCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,yCAAyC,EACzC,uC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ACjE,OAAO,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -3,38 +3,13 @@ import { DeleteCommentContentInput, DeleteCommentContentOutput } from "../models
|
|
|
3
3
|
import { deserializeAws_json1_1DeleteCommentContentCommand, serializeAws_json1_1DeleteCommentContentCommand, } 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>Deletes the content of a comment made on a change, file, or commit 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, DeleteCommentContentCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, DeleteCommentContentCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new DeleteCommentContentCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DeleteCommentContentCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DeleteCommentContentCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DeleteCommentContentCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DeleteCommentContentCommand = (function (_super) {
|
|
24
7
|
__extends(DeleteCommentContentCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DeleteCommentContentCommand(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
|
DeleteCommentContentCommand.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":"DeleteCommentContentCommand.js","sourceRoot":"","sources":["../../../commands/DeleteCommentContentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,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":"DeleteCommentContentCommand.js","sourceRoot":"","sources":["../../../commands/DeleteCommentContentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAiD,+CAIhD;IAIC,qCAAqB,KAAuC;QAA5D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkC;;IAI5D,CAAC;IAKD,uDAAiB,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,6BAA6B,CAAC;QAClD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,yBAAyB,CAAC,kBAAkB;YACrE,wBAAwB,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,40 +3,13 @@ import { DeleteFileInput, DeleteFileOutput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_1DeleteFileCommand, serializeAws_json1_1DeleteFileCommand, } 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>Deletes a specified file from a specified branch. A commit is created on the branch
|
|
8
|
-
* that contains the revision. The file still exists in the commits earlier to the commit
|
|
9
|
-
* that contains the deletion.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeCommitClient, DeleteFileCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
14
|
-
* // const { CodeCommitClient, DeleteFileCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
15
|
-
* const client = new CodeCommitClient(config);
|
|
16
|
-
* const command = new DeleteFileCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteFileCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteFileCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var DeleteFileCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DeleteFileCommand = (function (_super) {
|
|
26
7
|
__extends(DeleteFileCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function DeleteFileCommand(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
|
DeleteFileCommand.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":"DeleteFileCommand.js","sourceRoot":"","sources":["../../../commands/DeleteFileCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,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":"DeleteFileCommand.js","sourceRoot":"","sources":["../../../commands/DeleteFileCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAAuC,qCAItC;IAIC,2BAAqB,KAA6B;QAAlD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;IAIlD,CAAC;IAKD,6CAAiB,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,mBAAmB,CAAC;QACxC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,eAAe,CAAC,kBAAkB;YAC3D,wBAAwB,EAAE,gBAAgB,CAAC,kBAAkB;SAC9D,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,qCAAS,GAAjB,UAAkB,KAA6B,EAAE,OAAuB;QACtE,OAAO,qCAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,uCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
|
|
@@ -3,40 +3,13 @@ import { DeletePullRequestApprovalRuleInput, DeletePullRequestApprovalRuleOutput
|
|
|
3
3
|
import { deserializeAws_json1_1DeletePullRequestApprovalRuleCommand, serializeAws_json1_1DeletePullRequestApprovalRuleCommand, } 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>Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the
|
|
8
|
-
* approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the
|
|
9
|
-
* pull request was created. You cannot delete an approval rule from a merged or closed pull request.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeCommitClient, DeletePullRequestApprovalRuleCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
14
|
-
* // const { CodeCommitClient, DeletePullRequestApprovalRuleCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
15
|
-
* const client = new CodeCommitClient(config);
|
|
16
|
-
* const command = new DeletePullRequestApprovalRuleCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeletePullRequestApprovalRuleCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeletePullRequestApprovalRuleCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var DeletePullRequestApprovalRuleCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DeletePullRequestApprovalRuleCommand = (function (_super) {
|
|
26
7
|
__extends(DeletePullRequestApprovalRuleCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function DeletePullRequestApprovalRuleCommand(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
|
DeletePullRequestApprovalRuleCommand.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":"DeletePullRequestApprovalRuleCommand.js","sourceRoot":"","sources":["../../../commands/DeletePullRequestApprovalRuleCommand.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":"DeletePullRequestApprovalRuleCommand.js","sourceRoot":"","sources":["../../../commands/DeletePullRequestApprovalRuleCommand.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;AAmC7D;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,43 +3,13 @@ import { DeleteRepositoryInput, DeleteRepositoryOutput } from "../models/models_
|
|
|
3
3
|
import { deserializeAws_json1_1DeleteRepositoryCommand, serializeAws_json1_1DeleteRepositoryCommand, } 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>Deletes a repository. If a specified repository was already deleted, a null repository
|
|
8
|
-
* ID is returned.</p>
|
|
9
|
-
* <important>
|
|
10
|
-
* <p>Deleting a repository also deletes all associated objects and metadata. After a repository is
|
|
11
|
-
* deleted, all future push calls to the deleted repository fail.</p>
|
|
12
|
-
* </important>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { CodeCommitClient, DeleteRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
17
|
-
* // const { CodeCommitClient, DeleteRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
18
|
-
* const client = new CodeCommitClient(config);
|
|
19
|
-
* const command = new DeleteRepositoryCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DeleteRepositoryCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DeleteRepositoryCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var DeleteRepositoryCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DeleteRepositoryCommand = (function (_super) {
|
|
29
7
|
__extends(DeleteRepositoryCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function DeleteRepositoryCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
DeleteRepositoryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteRepositoryCommand.js","sourceRoot":"","sources":["../../../commands/DeleteRepositoryCommand.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,EAA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Ac,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,40 +3,13 @@ import { DescribeMergeConflictsInput, DescribeMergeConflictsOutput } from "../mo
|
|
|
3
3
|
import { deserializeAws_json1_1DescribeMergeConflictsCommand, serializeAws_json1_1DescribeMergeConflictsCommand, } 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
|
|
8
|
-
* commit specifiers using the squash or three-way merge strategy. If the merge option for
|
|
9
|
-
* the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeCommitClient, DescribeMergeConflictsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
14
|
-
* // const { CodeCommitClient, DescribeMergeConflictsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
15
|
-
* const client = new CodeCommitClient(config);
|
|
16
|
-
* const command = new DescribeMergeConflictsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeMergeConflictsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeMergeConflictsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var DescribeMergeConflictsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DescribeMergeConflictsCommand = (function (_super) {
|
|
26
7
|
__extends(DescribeMergeConflictsCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function DescribeMergeConflictsCommand(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
|
DescribeMergeConflictsCommand.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":"DescribeMergeConflictsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeMergeConflictsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,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":"DescribeMergeConflictsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeMergeConflictsCommand.ts"],"names":[],"mappings":";AACA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CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
|
|
@@ -3,38 +3,13 @@ import { DescribePullRequestEventsInput, DescribePullRequestEventsOutput } from
|
|
|
3
3
|
import { deserializeAws_json1_1DescribePullRequestEventsCommand, serializeAws_json1_1DescribePullRequestEventsCommand, } 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 pull request events.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, DescribePullRequestEventsCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, DescribePullRequestEventsCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new DescribePullRequestEventsCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DescribePullRequestEventsCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DescribePullRequestEventsCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DescribePullRequestEventsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DescribePullRequestEventsCommand = (function (_super) {
|
|
24
7
|
__extends(DescribePullRequestEventsCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DescribePullRequestEventsCommand(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
|
DescribePullRequestEventsCommand.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":"DescribePullRequestEventsCommand.js","sourceRoot":"","sources":["../../../commands/DescribePullRequestEventsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,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":"DescribePullRequestEventsCommand.js","sourceRoot":"","sources":["../../../commands/DescribePullRequestEventsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAsD,oDAIrD;IAIC,0CAAqB,KAA4C;QAAjE,YAEE,iBAAO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eAws_json1_1DisassociateApprovalRuleTemplateFromRepositoryCommand, serializeAws_json1_1DisassociateApprovalRuleTemplateFromRepositoryCommand, } 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 a template and a repository so that approval rules
|
|
8
|
-
* based on the template are not automatically created when pull requests are created in
|
|
9
|
-
* the specified repository. This does not delete any approval rules previously created for
|
|
10
|
-
* pull requests through the template association.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CodeCommitClient, DisassociateApprovalRuleTemplateFromRepositoryCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
15
|
-
* // const { CodeCommitClient, DisassociateApprovalRuleTemplateFromRepositoryCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
16
|
-
* const client = new CodeCommitClient(config);
|
|
17
|
-
* const command = new DisassociateApprovalRuleTemplateFromRepositoryCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DisassociateApprovalRuleTemplateFromRepositoryCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DisassociateApprovalRuleTemplateFromRepositoryCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var DisassociateApprovalRuleTemplateFromRepositoryCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DisassociateApprovalRuleTemplateFromRepositoryCommand = (function (_super) {
|
|
27
7
|
__extends(DisassociateApprovalRuleTemplateFromRepositoryCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function DisassociateApprovalRuleTemplateFromRepositoryCommand(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
|
DisassociateApprovalRuleTemplateFromRepositoryCommand.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":"DisassociateApprovalRuleTemplateFromRepositoryCommand.js","sourceRoot":"","sources":["../../../commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mDAAmD,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,2EAA2E,EAC3E,yEAAyE,GAC1E,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":"DisassociateApprovalRuleTemplateFromRepositoryCommand.js","sourceRoot":"","sources":["../../../commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mDAAmD,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,2EAA2E,EAC3E,yEAAyE,GAC1E,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAmC7D;IAA2E,yEAI1E;IAIC,+DAAqB,KAAiE;QAAtF,YAEE,iB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