@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 { UpdateCommentInput, UpdateCommentOutput } from "../models/models_1";
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateCommentCommand, serializeAws_json1_1UpdateCommentCommand, } 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>Replaces the contents of a comment.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, UpdateCommentCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, UpdateCommentCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new UpdateCommentCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateCommentCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateCommentCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateCommentCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateCommentCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateCommentCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateCommentCommand(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
|
UpdateCommentCommand.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":"UpdateCommentCommand.js","sourceRoot":"","sources":["../../../commands/UpdateCommentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,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":"UpdateCommentCommand.js","sourceRoot":"","sources":["../../../commands/UpdateCommentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAA0C,wCAIzC;IAIC,8BAAqB,KAAgC;QAArD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2B;;IAIrD,CAAC;IAKD,gDAAiB,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,sBAAsB,CAAC;QAC3C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,mBAAmB,CAAC,kBAAkB;SACjE,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,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,OAAO,wCAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,0CAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
|
|
@@ -3,41 +3,13 @@ import { UpdateDefaultBranchInput } from "../models/models_1";
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateDefaultBranchCommand, serializeAws_json1_1UpdateDefaultBranchCommand, } 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 or changes the default branch name for the specified repository.</p>
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.</p>
|
|
10
|
-
* </note>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CodeCommitClient, UpdateDefaultBranchCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
15
|
-
* // const { CodeCommitClient, UpdateDefaultBranchCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
16
|
-
* const client = new CodeCommitClient(config);
|
|
17
|
-
* const command = new UpdateDefaultBranchCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateDefaultBranchCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateDefaultBranchCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var UpdateDefaultBranchCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateDefaultBranchCommand = (function (_super) {
|
|
27
7
|
__extends(UpdateDefaultBranchCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function UpdateDefaultBranchCommand(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
|
UpdateDefaultBranchCommand.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":"UpdateDefaultBranchCommand.js","sourceRoot":"","sources":["../../../commands/UpdateDefaultBranchCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAA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AM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,8CAAS,GAAjB,UAAkB,KAAsC,EAAE,OAAuB;QAC/E,OAAO,8CAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,gDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
|
|
@@ -3,39 +3,13 @@ import { UpdatePullRequestApprovalRuleContentInput, UpdatePullRequestApprovalRul
|
|
|
3
3
|
import { deserializeAws_json1_1UpdatePullRequestApprovalRuleContentCommand, serializeAws_json1_1UpdatePullRequestApprovalRuleContentCommand, } 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>Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and
|
|
8
|
-
* the approval pool for approvers. </p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CodeCommitClient, UpdatePullRequestApprovalRuleContentCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
13
|
-
* // const { CodeCommitClient, UpdatePullRequestApprovalRuleContentCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
14
|
-
* const client = new CodeCommitClient(config);
|
|
15
|
-
* const command = new UpdatePullRequestApprovalRuleContentCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link UpdatePullRequestApprovalRuleContentCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link UpdatePullRequestApprovalRuleContentCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var UpdatePullRequestApprovalRuleContentCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdatePullRequestApprovalRuleContentCommand = (function (_super) {
|
|
25
7
|
__extends(UpdatePullRequestApprovalRuleContentCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function UpdatePullRequestApprovalRuleContentCommand(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
|
UpdatePullRequestApprovalRuleContentCommand.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":"UpdatePullRequestApprovalRuleContentCommand.js","sourceRoot":"","sources":["../../../commands/UpdatePullRequestApprovalRuleContentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,iEAAiE,EACjE,+DAA+D,GAChE,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":"UpdatePullRequestApprovalRuleContentCommand.js","sour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AEO,+DAAS,GAAjB,UACE,KAAuD,EACvD,OAAuB;QAEvB,OAAO,+DAA+D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAEO,iEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,iEAAiE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;IAIH,kDAAC;AAAD,CAAC,AA5DD,CAAiE,QAAQ,GA4DxE"}
|
|
@@ -3,38 +3,13 @@ import { UpdatePullRequestApprovalStateInput } from "../models/models_1";
|
|
|
3
3
|
import { deserializeAws_json1_1UpdatePullRequestApprovalStateCommand, serializeAws_json1_1UpdatePullRequestApprovalStateCommand, } 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>Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, UpdatePullRequestApprovalStateCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, UpdatePullRequestApprovalStateCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new UpdatePullRequestApprovalStateCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdatePullRequestApprovalStateCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdatePullRequestApprovalStateCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdatePullRequestApprovalStateCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdatePullRequestApprovalStateCommand = (function (_super) {
|
|
24
7
|
__extends(UpdatePullRequestApprovalStateCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdatePullRequestApprovalStateCommand(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
|
UpdatePullRequestApprovalStateCommand.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":"UpdatePullRequestApprovalStateCommand.js","sourceRoot":"","sources":["../../../commands/UpdatePullRequestApprovalStateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,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":"UpdatePullRequestApprovalStateCommand.js","sourceRoot":"","sources":["../../../commands/UpdatePullRequestApprovalStateCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA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ACtF,CAAC;IAIH,4CAAC;AAAD,CAAC,AA5DD,CAA2D,QAAQ,GA4DlE"}
|
|
@@ -3,38 +3,13 @@ import { UpdatePullRequestDescriptionInput, UpdatePullRequestDescriptionOutput }
|
|
|
3
3
|
import { deserializeAws_json1_1UpdatePullRequestDescriptionCommand, serializeAws_json1_1UpdatePullRequestDescriptionCommand, } 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>Replaces the contents of the description of a pull request.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, UpdatePullRequestDescriptionCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, UpdatePullRequestDescriptionCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new UpdatePullRequestDescriptionCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdatePullRequestDescriptionCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdatePullRequestDescriptionCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdatePullRequestDescriptionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdatePullRequestDescriptionCommand = (function (_super) {
|
|
24
7
|
__extends(UpdatePullRequestDescriptionCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdatePullRequestDescriptionCommand(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
|
UpdatePullRequestDescriptionCommand.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":"UpdatePullRequestDescriptionCommand.js","sourceRoot":"","sources":["../../../commands/UpdatePullRequestDescriptionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,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":"UpdatePullRequestDescriptionCommand.js","sourceRoot":"","sources":["../../../commands/UpdatePullRequestDescriptionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAAyD,uDAIxD;IAIC,6CAAqB,KAA+C;QAApE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0C;;IAIpE,CAAC;IAKD,+DAAiB,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,qCAAqC,CAAC;QAC1D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iCAAiC,CAAC,kBAAkB;YAC7E,wBAAwB,EAAE,kCAAkC,CAAC,kBAAkB;SAChF,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,uDAAS,GAAjB,UAAkB,KAA+C,EAAE,OAAuB;QACxF,OAAO,uDAAuD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAEO,yDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,yDAAyD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAIH,0CAAC;AAAD,CAAC,AAzDD,CAAyD,QAAQ,GAyDhE"}
|
|
@@ -3,38 +3,13 @@ import { UpdatePullRequestStatusInput, UpdatePullRequestStatusOutput } from "../
|
|
|
3
3
|
import { deserializeAws_json1_1UpdatePullRequestStatusCommand, serializeAws_json1_1UpdatePullRequestStatusCommand, } 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>Updates the status of a pull request. </p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, UpdatePullRequestStatusCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, UpdatePullRequestStatusCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new UpdatePullRequestStatusCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdatePullRequestStatusCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdatePullRequestStatusCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdatePullRequestStatusCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdatePullRequestStatusCommand = (function (_super) {
|
|
24
7
|
__extends(UpdatePullRequestStatusCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdatePullRequestStatusCommand(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
|
UpdatePullRequestStatusCommand.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":"UpdatePullRequestStatusCommand.js","sourceRoot":"","sources":["../../../commands/UpdatePullRequestStatusCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,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":"UpdatePullRequestStatusCommand.js","sourceRoot":"","sources":["../../../commands/UpdatePullRequestStatusCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAoD,kDAInD;IAIC,wCAAqB,KAA0C;QAA/D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAqC;;IAI/D,CAAC;IAKD,0DAAiB,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,gCAAgC,CAAC;QACrD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,4BAA4B,CAAC,kBAAkB;YACxE,wBAAwB,EAAE,6BAA6B,CAAC,kBAAkB;SAC3E,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,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,38 +3,13 @@ import { UpdatePullRequestTitleInput, UpdatePullRequestTitleOutput } from "../mo
|
|
|
3
3
|
import { deserializeAws_json1_1UpdatePullRequestTitleCommand, serializeAws_json1_1UpdatePullRequestTitleCommand, } 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>Replaces the title of a pull request.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, UpdatePullRequestTitleCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, UpdatePullRequestTitleCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new UpdatePullRequestTitleCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdatePullRequestTitleCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdatePullRequestTitleCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdatePullRequestTitleCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdatePullRequestTitleCommand = (function (_super) {
|
|
24
7
|
__extends(UpdatePullRequestTitleCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdatePullRequestTitleCommand(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
|
UpdatePullRequestTitleCommand.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":"UpdatePullRequestTitleCommand.js","sourceRoot":"","sources":["../../../commands/UpdatePullRequestTitleCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iD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B;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,iDAAS,GAAjB,UAAkB,KAAyC,EAAE,OAAuB;QAClF,OAAO,iDAAiD,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,45 +3,13 @@ import { UpdateRepositoryDescriptionInput } from "../models/models_1";
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateRepositoryDescriptionCommand, serializeAws_json1_1UpdateRepositoryDescriptionCommand, } 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 or changes the comment or description for a repository.</p>
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>The description field for a repository accepts all HTML characters and all valid
|
|
10
|
-
* Unicode characters. Applications that do not HTML-encode the description and display
|
|
11
|
-
* it in a webpage can expose users to potentially malicious code. Make sure that you
|
|
12
|
-
* HTML-encode the description field in any application that uses this API to display
|
|
13
|
-
* the repository description on a webpage.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { CodeCommitClient, UpdateRepositoryDescriptionCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
19
|
-
* // const { CodeCommitClient, UpdateRepositoryDescriptionCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
20
|
-
* const client = new CodeCommitClient(config);
|
|
21
|
-
* const command = new UpdateRepositoryDescriptionCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link UpdateRepositoryDescriptionCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link UpdateRepositoryDescriptionCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var UpdateRepositoryDescriptionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateRepositoryDescriptionCommand = (function (_super) {
|
|
31
7
|
__extends(UpdateRepositoryDescriptionCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function UpdateRepositoryDescriptionCommand(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
|
UpdateRepositoryDescriptionCommand.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":"UpdateRepositoryDescriptionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateRepositoryDescriptionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateRepositoryDescriptionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateRepositoryDescriptionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAsC7D;IAAwD,sDAIvD;IAIC,4CAAqB,KAA8C;QAAnE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyC;;IAInE,CAAC;IAKD,8DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA6C,EAC7C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,IAAM,WAAW,GAAG,oCAAoC,CAAC;QACzD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gCAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,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,sDAAS,GAAjB,UAAkB,KAA8C,EAAE,OAAuB;QACvF,OAAO,sDAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,wDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,yCAAC;AAAD,CAAC,AAzDD,CAAwD,QAAQ,GAyD/D"}
|
|
@@ -3,42 +3,13 @@ import { UpdateRepositoryNameInput } from "../models/models_1";
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateRepositoryNameCommand, serializeAws_json1_1UpdateRepositoryNameCommand, } 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>Renames a repository. The repository name must be unique across the calling AWS
|
|
8
|
-
* account. Repository names are limited to 100 alphanumeric, dash, and underscore
|
|
9
|
-
* characters, and cannot include certain characters. The suffix .git is prohibited. For
|
|
10
|
-
* more information about the limits on repository names, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Limits</a> in the AWS CodeCommit
|
|
11
|
-
* User Guide.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CodeCommitClient, UpdateRepositoryNameCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
16
|
-
* // const { CodeCommitClient, UpdateRepositoryNameCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
17
|
-
* const client = new CodeCommitClient(config);
|
|
18
|
-
* const command = new UpdateRepositoryNameCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateRepositoryNameCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateRepositoryNameCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var UpdateRepositoryNameCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateRepositoryNameCommand = (function (_super) {
|
|
28
7
|
__extends(UpdateRepositoryNameCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function UpdateRepositoryNameCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
UpdateRepositoryNameCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateRepositoryNameCommand.js","sourceRoot":"","sources":["../../../commands/UpdateRepositoryNameCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,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;
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sE,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"}
|
package/dist/es/endpoints.js
CHANGED
|
@@ -53,7 +53,7 @@ var partitionHash = {
|
|
|
53
53
|
};
|
|
54
54
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
55
55
|
return __generator(this, function (_a) {
|
|
56
|
-
return [2
|
|
56
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "codecommit", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
57
57
|
});
|
|
58
58
|
}); };
|
|
59
59
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,IAAI,EAAE;QACJ,QAAQ,EAAE,6CAA6C;QACvD,aAAa,EAAE,eAAe;KAC/B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,MAAM;YACN,YAAY;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