@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostCommentForComparedCommitCommand.js","sourceRoot":"","sources":["../../../commands/PostCommentForComparedCommitCommand.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":"PostCommentForComparedCommitCommand.js","sourceRoot":"","sources":["../../../commands/PostCommentForComparedCommitCommand.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 { PostCommentForPullRequestInput, PostCommentForPullRequestOutput } from
|
|
|
3
3
|
import { deserializeAws_json1_1PostCommentForPullRequestCommand, serializeAws_json1_1PostCommentForPullRequestCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Posts a comment on 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, PostCommentForPullRequestCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, PostCommentForPullRequestCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new PostCommentForPullRequestCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link PostCommentForPullRequestCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link PostCommentForPullRequestCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var PostCommentForPullRequestCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PostCommentForPullRequestCommand = (function (_super) {
|
|
24
7
|
__extends(PostCommentForPullRequestCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function PostCommentForPullRequestCommand(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
|
PostCommentForPullRequestCommand.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":"PostCommentForPullRequestCommand.js","sourceRoot":"","sources":["../../../commands/PostCommentForPullRequestCommand.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":"PostCommentForPullRequestCommand.js","sourceRoot":"","sources":["../../../commands/PostCommentForPullRequestCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oB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AEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
|
|
@@ -3,38 +3,13 @@ import { PostCommentReplyInput, PostCommentReplyOutput } from "../models/models_
|
|
|
3
3
|
import { deserializeAws_json1_1PostCommentReplyCommand, serializeAws_json1_1PostCommentReplyCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Posts a comment in reply to an existing comment on a comparison between commits or 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, PostCommentReplyCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, PostCommentReplyCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new PostCommentReplyCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link PostCommentReplyCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link PostCommentReplyCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var PostCommentReplyCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PostCommentReplyCommand = (function (_super) {
|
|
24
7
|
__extends(PostCommentReplyCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function PostCommentReplyCommand(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
|
PostCommentReplyCommand.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":"PostCommentReplyCommand.js","sourceRoot":"","sources":["../../../commands/PostCommentReplyCommand.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":"PostCommentReplyCommand.js","sourceRoot":"","sources":["../../../commands/PostCommentReplyCommand.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,39 +3,13 @@ import { PutCommentReactionInput } from "../models/models_1";
|
|
|
3
3
|
import { deserializeAws_json1_1PutCommentReactionCommand, serializeAws_json1_1PutCommentReactionCommand, } 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>Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or
|
|
8
|
-
* update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CodeCommitClient, PutCommentReactionCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
13
|
-
* // const { CodeCommitClient, PutCommentReactionCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
14
|
-
* const client = new CodeCommitClient(config);
|
|
15
|
-
* const command = new PutCommentReactionCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link PutCommentReactionCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link PutCommentReactionCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var PutCommentReactionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutCommentReactionCommand = (function (_super) {
|
|
25
7
|
__extends(PutCommentReactionCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function PutCommentReactionCommand(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
|
PutCommentReactionCommand.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":"PutCommentReactionCommand.js","sourceRoot":"","sources":["../../../commands/PutCommentReactionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,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":"PutCommentReactionCommand.js","sourceRoot":"","sources":["../../../commands/PutCommentReactionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgC7D;IAA+C,6CAI9C;IAIC,mCAAqB,KAAqC;QAA1D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgC;;IAI1D,CAAC;IAKD,qDAAiB,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,2BAA2B,CAAC;QAChD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,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,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
|
|
@@ -3,38 +3,13 @@ import { PutFileInput, PutFileOutput } from "../models/models_1";
|
|
|
3
3
|
import { deserializeAws_json1_1PutFileCommand, serializeAws_json1_1PutFileCommand } 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>Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, PutFileCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, PutFileCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new PutFileCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link PutFileCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link PutFileCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var PutFileCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutFileCommand = (function (_super) {
|
|
24
7
|
__extends(PutFileCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function PutFileCommand(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
|
PutFileCommand.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":"PutFileCommand.js","sourceRoot":"","sources":["../../../commands/PutFileCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,oCAAoC,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AACpH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM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uB,CACxB,CAAC;IACJ,CAAC;IAEO,kCAAS,GAAjB,UAAkB,KAA0B,EAAE,OAAuB;QACnE,OAAO,kCAAkC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAEO,oCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oCAAoC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAIH,qBAAC;AAAD,CAAC,AAtDD,CAAoC,QAAQ,GAsD3C"}
|
|
@@ -3,38 +3,13 @@ import { PutRepositoryTriggersInput, PutRepositoryTriggersOutput } from "../mode
|
|
|
3
3
|
import { deserializeAws_json1_1PutRepositoryTriggersCommand, serializeAws_json1_1PutRepositoryTriggersCommand, } 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 all triggers for a repository. Used to create or delete triggers.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, PutRepositoryTriggersCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, PutRepositoryTriggersCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new PutRepositoryTriggersCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link PutRepositoryTriggersCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link PutRepositoryTriggersCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var PutRepositoryTriggersCommand = /** @class */ (function (_super) {
|
|
6
|
+
var PutRepositoryTriggersCommand = (function (_super) {
|
|
24
7
|
__extends(PutRepositoryTriggersCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function PutRepositoryTriggersCommand(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
|
PutRepositoryTriggersCommand.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":"PutRepositoryTriggersCommand.js","sourceRoot":"","sources":["../../../commands/PutRepositoryTriggersCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"PutRepositoryTriggersCommand.js","sourceRoot":"","sources":["../../../commands/PutRepositoryTriggersCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,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tDD,CAAkD,QAAQ,GAsDzD"}
|
|
@@ -3,40 +3,13 @@ import { TagResourceInput } from "../models/models_1";
|
|
|
3
3
|
import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } 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>Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources
|
|
8
|
-
* in AWS CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the <i>AWS CodeCommit User
|
|
9
|
-
* Guide</i>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeCommitClient, TagResourceCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
14
|
-
* // const { CodeCommitClient, TagResourceCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
15
|
-
* const client = new CodeCommitClient(config);
|
|
16
|
-
* const command = new TagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var TagResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
26
7
|
__extends(TagResourceCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function TagResourceCommand(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
|
TagResourceCommand.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":"TagResourceCommand.js","sourceRoot":"","sources":["../../../commands/TagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,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":"TagResourceCommand.js","sourceRoot":"","sources":["../../../commands/TagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAAwC,sCAIvC;IAIC,4BAAqB,KAA8B;QAAnD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;IAInD,CAAC;IAKD,8CAAiB,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,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gBAAgB,CAAC,kBAAkB;YAC5D,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,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -3,40 +3,13 @@ import { TestRepositoryTriggersInput, TestRepositoryTriggersOutput } from "../mo
|
|
|
3
3
|
import { deserializeAws_json1_1TestRepositoryTriggersCommand, serializeAws_json1_1TestRepositoryTriggersCommand, } 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>Tests the functionality of repository triggers by sending information to the trigger
|
|
8
|
-
* target. If real data is available in the repository, the test sends data from the last
|
|
9
|
-
* commit. If no data is available, sample data is generated.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeCommitClient, TestRepositoryTriggersCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
14
|
-
* // const { CodeCommitClient, TestRepositoryTriggersCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
15
|
-
* const client = new CodeCommitClient(config);
|
|
16
|
-
* const command = new TestRepositoryTriggersCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TestRepositoryTriggersCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TestRepositoryTriggersCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var TestRepositoryTriggersCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TestRepositoryTriggersCommand = (function (_super) {
|
|
26
7
|
__extends(TestRepositoryTriggersCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function TestRepositoryTriggersCommand(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
|
TestRepositoryTriggersCommand.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":"TestRepositoryTriggersCommand.js","sourceRoot":"","sources":["../../../commands/TestRepositoryTriggersCommand.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":"TestRepositoryTriggersCommand.js","sourceRoot":"","sources":["../../../commands/TestRepositoryTriggersCommand.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;AAiC7D;IAAmD,iDAIlD;IAIC,uCAAqB,KAAyC;QAA9D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;IAI9D,CAAC;IAKD,yDAAiB,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,+BAA+B,CAAC;QACpD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2BAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,4BAA4B,CAAC,kBAAkB;SAC1E,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,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,40 +3,13 @@ import { UntagResourceInput } from "../models/models_1";
|
|
|
3
3
|
import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } 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 tags for a resource in AWS CodeCommit. For a list of valid resources in AWS
|
|
8
|
-
* CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the <i>AWS CodeCommit User
|
|
9
|
-
* Guide</i>.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeCommitClient, UntagResourceCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
14
|
-
* // const { CodeCommitClient, UntagResourceCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
15
|
-
* const client = new CodeCommitClient(config);
|
|
16
|
-
* const command = new UntagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var UntagResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
26
7
|
__extends(UntagResourceCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function UntagResourceCommand(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
|
UntagResourceCommand.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":"UntagResourceCommand.js","sourceRoot":"","sources":["../../../commands/UntagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAA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AAA,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,40 +3,13 @@ import { UpdateApprovalRuleTemplateContentInput, UpdateApprovalRuleTemplateConte
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateApprovalRuleTemplateContentCommand, serializeAws_json1_1UpdateApprovalRuleTemplateContentCommand, } 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 content of an approval rule template. You can change the number of
|
|
8
|
-
* required approvals, the membership of the approval rule, and whether an approval pool is
|
|
9
|
-
* defined.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeCommitClient, UpdateApprovalRuleTemplateContentCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
14
|
-
* // const { CodeCommitClient, UpdateApprovalRuleTemplateContentCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
15
|
-
* const client = new CodeCommitClient(config);
|
|
16
|
-
* const command = new UpdateApprovalRuleTemplateContentCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateApprovalRuleTemplateContentCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateApprovalRuleTemplateContentCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var UpdateApprovalRuleTemplateContentCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateApprovalRuleTemplateContentCommand = (function (_super) {
|
|
26
7
|
__extends(UpdateApprovalRuleTemplateContentCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function UpdateApprovalRuleTemplateContentCommand(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
|
UpdateApprovalRuleTemplateContentCommand.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":"UpdateApprovalRuleTemplateContentCommand.js","sourceRoot":"","sources":["../../../commands/UpdateApprovalRuleTemplateContentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sCAAsC,EAAE,uCAAuC,EAAE,MAAM,oBAAoB,CAAC;AACrH,OAAO,EACL,8DAA8D,EAC9D,4DAA4D,GAC7D,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":"UpdateApprovalRuleTemplateContentCommand.js","sourceRoot":"","sources":["../../../commands/UpdateApprovalRuleTemplateContentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sCAAsC,EAAE,uCAAuC,EAAE,MAAM,oBAAoB,CAAC;AACrH,OAAO,EACL,8DAA8D,EAC9D,4DAA4D,GAC7D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAmC7D;IAA8D,4DAI7D;IAIC,kDAAqB,KAAoD;QAAzE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+C;;IAIzE,CAAC;IAKD,oEAAiB,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,0CAA0C,CAAC;QAC/D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,sCAAsC,CAAC,kBAAkB;YAClF,wBAAwB,EAAE,uCAAuC,CAAC,kBAAkB;SACrF,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,4DAAS,GAAjB,UACE,KAAoD,EACpD,OAAuB;QAEvB,OAAO,4DAA4D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAEO,8DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,8DAA8D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAIH,+CAAC;AAAD,CAAC,AA5DD,CAA8D,QAAQ,GA4DrE"}
|
|
@@ -3,38 +3,13 @@ import { UpdateApprovalRuleTemplateDescriptionInput, UpdateApprovalRuleTemplateD
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateApprovalRuleTemplateDescriptionCommand, serializeAws_json1_1UpdateApprovalRuleTemplateDescriptionCommand, } 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 description for a specified approval rule template.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, UpdateApprovalRuleTemplateDescriptionCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, UpdateApprovalRuleTemplateDescriptionCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new UpdateApprovalRuleTemplateDescriptionCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateApprovalRuleTemplateDescriptionCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateApprovalRuleTemplateDescriptionCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateApprovalRuleTemplateDescriptionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateApprovalRuleTemplateDescriptionCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateApprovalRuleTemplateDescriptionCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateApprovalRuleTemplateDescriptionCommand(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
|
UpdateApprovalRuleTemplateDescriptionCommand.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":"UpdateApprovalRuleTemplateDescriptionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateApprovalRuleTemplateDescriptionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EACL,0CAA0C,EAC1C,2CAA2C,GAC5C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,kEAAkE,EAClE,gEAAgE,GACjE,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":"UpdateApprovalRuleTemplateDescriptionCommand.js","sourceRoot":"","sources":["../../../comm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AjB,UACE,KAAwD,EACxD,OAAuB;QAEvB,OAAO,gEAAgE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAEO,kEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,kEAAkE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAIH,mDAAC;AAAD,CAAC,AA5DD,CAAkE,QAAQ,GA4DzE"}
|
|
@@ -3,38 +3,13 @@ import { UpdateApprovalRuleTemplateNameInput, UpdateApprovalRuleTemplateNameOutp
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateApprovalRuleTemplateNameCommand, serializeAws_json1_1UpdateApprovalRuleTemplateNameCommand, } 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 name of a specified approval rule template.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CodeCommitClient, UpdateApprovalRuleTemplateNameCommand } from "@aws-sdk/client-codecommit"; // ES Modules import
|
|
12
|
-
* // const { CodeCommitClient, UpdateApprovalRuleTemplateNameCommand } = require("@aws-sdk/client-codecommit"); // CommonJS import
|
|
13
|
-
* const client = new CodeCommitClient(config);
|
|
14
|
-
* const command = new UpdateApprovalRuleTemplateNameCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateApprovalRuleTemplateNameCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateApprovalRuleTemplateNameCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CodeCommitClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateApprovalRuleTemplateNameCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateApprovalRuleTemplateNameCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateApprovalRuleTemplateNameCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateApprovalRuleTemplateNameCommand(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
|
UpdateApprovalRuleTemplateNameCommand.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":"UpdateApprovalRuleTemplateNameCommand.js","sourceRoot":"","sources":["../../../commands/UpdateApprovalRuleTemplateNameCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,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":"UpdateApprovalRuleTemplateNameCommand.js","sourceRoot":"","sources":["../../../commands/UpdateApprovalRuleTemplateNameCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,MAAM,0BAA0B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