@aws-sdk/client-codecommit 3.296.0 → 3.297.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.
Files changed (97) hide show
  1. package/dist-types/CodeCommit.d.ts +78 -0
  2. package/dist-types/CodeCommitClient.d.ts +24 -4
  3. package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +16 -0
  4. package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +16 -0
  5. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +16 -0
  6. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +16 -0
  7. package/dist-types/commands/BatchGetCommitsCommand.d.ts +16 -0
  8. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +16 -0
  9. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +16 -0
  10. package/dist-types/commands/CreateBranchCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateCommitCommand.d.ts +16 -0
  12. package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +16 -0
  13. package/dist-types/commands/CreatePullRequestCommand.d.ts +16 -0
  14. package/dist-types/commands/CreateRepositoryCommand.d.ts +16 -0
  15. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +16 -0
  16. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +16 -0
  17. package/dist-types/commands/DeleteBranchCommand.d.ts +16 -0
  18. package/dist-types/commands/DeleteCommentContentCommand.d.ts +16 -0
  19. package/dist-types/commands/DeleteFileCommand.d.ts +16 -0
  20. package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +16 -0
  21. package/dist-types/commands/DeleteRepositoryCommand.d.ts +16 -0
  22. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +16 -0
  23. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +16 -0
  24. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +16 -0
  25. package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +16 -0
  26. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +16 -0
  27. package/dist-types/commands/GetBlobCommand.d.ts +16 -0
  28. package/dist-types/commands/GetBranchCommand.d.ts +16 -0
  29. package/dist-types/commands/GetCommentCommand.d.ts +16 -0
  30. package/dist-types/commands/GetCommentReactionsCommand.d.ts +16 -0
  31. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +16 -0
  32. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +16 -0
  33. package/dist-types/commands/GetCommitCommand.d.ts +16 -0
  34. package/dist-types/commands/GetDifferencesCommand.d.ts +16 -0
  35. package/dist-types/commands/GetFileCommand.d.ts +16 -0
  36. package/dist-types/commands/GetFolderCommand.d.ts +16 -0
  37. package/dist-types/commands/GetMergeCommitCommand.d.ts +16 -0
  38. package/dist-types/commands/GetMergeConflictsCommand.d.ts +16 -0
  39. package/dist-types/commands/GetMergeOptionsCommand.d.ts +16 -0
  40. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +16 -0
  41. package/dist-types/commands/GetPullRequestCommand.d.ts +16 -0
  42. package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +16 -0
  43. package/dist-types/commands/GetRepositoryCommand.d.ts +16 -0
  44. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +16 -0
  45. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +16 -0
  46. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +16 -0
  47. package/dist-types/commands/ListBranchesCommand.d.ts +16 -0
  48. package/dist-types/commands/ListPullRequestsCommand.d.ts +16 -0
  49. package/dist-types/commands/ListRepositoriesCommand.d.ts +16 -0
  50. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +16 -0
  51. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  52. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +16 -0
  53. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +16 -0
  54. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +16 -0
  55. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +16 -0
  56. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +16 -0
  57. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +16 -0
  58. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +16 -0
  59. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +16 -0
  60. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +16 -0
  61. package/dist-types/commands/PostCommentReplyCommand.d.ts +16 -0
  62. package/dist-types/commands/PutCommentReactionCommand.d.ts +16 -0
  63. package/dist-types/commands/PutFileCommand.d.ts +16 -0
  64. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +16 -0
  65. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  66. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +16 -0
  67. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  68. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +16 -0
  69. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +16 -0
  70. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +16 -0
  71. package/dist-types/commands/UpdateCommentCommand.d.ts +16 -0
  72. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +16 -0
  73. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +16 -0
  74. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +16 -0
  75. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +16 -0
  76. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +16 -0
  77. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +16 -0
  78. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +16 -0
  79. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +16 -0
  80. package/dist-types/models/CodeCommitServiceException.d.ts +2 -0
  81. package/dist-types/models/models_0.d.ts +462 -0
  82. package/dist-types/models/models_1.d.ts +193 -0
  83. package/dist-types/pagination/DescribeMergeConflictsPaginator.d.ts +3 -0
  84. package/dist-types/pagination/DescribePullRequestEventsPaginator.d.ts +3 -0
  85. package/dist-types/pagination/GetCommentReactionsPaginator.d.ts +3 -0
  86. package/dist-types/pagination/GetCommentsForComparedCommitPaginator.d.ts +3 -0
  87. package/dist-types/pagination/GetCommentsForPullRequestPaginator.d.ts +3 -0
  88. package/dist-types/pagination/GetDifferencesPaginator.d.ts +3 -0
  89. package/dist-types/pagination/GetMergeConflictsPaginator.d.ts +3 -0
  90. package/dist-types/pagination/Interfaces.d.ts +3 -0
  91. package/dist-types/pagination/ListApprovalRuleTemplatesPaginator.d.ts +3 -0
  92. package/dist-types/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.d.ts +3 -0
  93. package/dist-types/pagination/ListBranchesPaginator.d.ts +3 -0
  94. package/dist-types/pagination/ListPullRequestsPaginator.d.ts +3 -0
  95. package/dist-types/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.d.ts +3 -0
  96. package/dist-types/pagination/ListRepositoriesPaginator.d.ts +3 -0
  97. package/package.json +3 -3
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
5
  import { UpdatePullRequestDescriptionInput, UpdatePullRequestDescriptionOutput } from "../models/models_1";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdatePullRequestDescriptionCommand}.
8
10
  */
9
11
  export interface UpdatePullRequestDescriptionCommandInput extends UpdatePullRequestDescriptionInput {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdatePullRequestDescriptionCommand}.
13
17
  */
14
18
  export interface UpdatePullRequestDescriptionCommandOutput extends UpdatePullRequestDescriptionOutput, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Replaces the contents of the description of a pull request.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdatePullRequestDescriptionCommandOutput extends UpdatePullReq
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdatePullRequestDescriptionCommandInput - {@link UpdatePullRequestDescriptionCommandInput}
34
+ * @returns {@link UpdatePullRequestDescriptionCommandOutput}
28
35
  * @see {@link UpdatePullRequestDescriptionCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdatePullRequestDescriptionCommandOutput} for command's `response` shape.
30
37
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
@@ -50,11 +57,20 @@ export interface UpdatePullRequestDescriptionCommandOutput extends UpdatePullReq
50
57
  export declare class UpdatePullRequestDescriptionCommand extends $Command<UpdatePullRequestDescriptionCommandInput, UpdatePullRequestDescriptionCommandOutput, CodeCommitClientResolvedConfig> {
51
58
  readonly input: UpdatePullRequestDescriptionCommandInput;
52
59
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
60
+ /**
61
+ * @public
62
+ */
53
63
  constructor(input: UpdatePullRequestDescriptionCommandInput);
54
64
  /**
55
65
  * @internal
56
66
  */
57
67
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePullRequestDescriptionCommandInput, UpdatePullRequestDescriptionCommandOutput>;
68
+ /**
69
+ * @internal
70
+ */
58
71
  private serialize;
72
+ /**
73
+ * @internal
74
+ */
59
75
  private deserialize;
60
76
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
5
  import { UpdatePullRequestStatusInput, UpdatePullRequestStatusOutput } from "../models/models_1";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdatePullRequestStatusCommand}.
8
10
  */
9
11
  export interface UpdatePullRequestStatusCommandInput extends UpdatePullRequestStatusInput {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdatePullRequestStatusCommand}.
13
17
  */
14
18
  export interface UpdatePullRequestStatusCommandOutput extends UpdatePullRequestStatusOutput, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Updates the status of a pull request. </p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdatePullRequestStatusCommandOutput extends UpdatePullRequestS
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdatePullRequestStatusCommandInput - {@link UpdatePullRequestStatusCommandInput}
34
+ * @returns {@link UpdatePullRequestStatusCommandOutput}
28
35
  * @see {@link UpdatePullRequestStatusCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdatePullRequestStatusCommandOutput} for command's `response` shape.
30
37
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
@@ -67,11 +74,20 @@ export interface UpdatePullRequestStatusCommandOutput extends UpdatePullRequestS
67
74
  export declare class UpdatePullRequestStatusCommand extends $Command<UpdatePullRequestStatusCommandInput, UpdatePullRequestStatusCommandOutput, CodeCommitClientResolvedConfig> {
68
75
  readonly input: UpdatePullRequestStatusCommandInput;
69
76
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
+ /**
78
+ * @public
79
+ */
70
80
  constructor(input: UpdatePullRequestStatusCommandInput);
71
81
  /**
72
82
  * @internal
73
83
  */
74
84
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePullRequestStatusCommandInput, UpdatePullRequestStatusCommandOutput>;
85
+ /**
86
+ * @internal
87
+ */
75
88
  private serialize;
89
+ /**
90
+ * @internal
91
+ */
76
92
  private deserialize;
77
93
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
5
  import { UpdatePullRequestTitleInput, UpdatePullRequestTitleOutput } from "../models/models_1";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdatePullRequestTitleCommand}.
8
10
  */
9
11
  export interface UpdatePullRequestTitleCommandInput extends UpdatePullRequestTitleInput {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdatePullRequestTitleCommand}.
13
17
  */
14
18
  export interface UpdatePullRequestTitleCommandOutput extends UpdatePullRequestTitleOutput, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Replaces the title of a pull request.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface UpdatePullRequestTitleCommandOutput extends UpdatePullRequestTi
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param UpdatePullRequestTitleCommandInput - {@link UpdatePullRequestTitleCommandInput}
34
+ * @returns {@link UpdatePullRequestTitleCommandOutput}
28
35
  * @see {@link UpdatePullRequestTitleCommandInput} for command's `input` shape.
29
36
  * @see {@link UpdatePullRequestTitleCommandOutput} for command's `response` shape.
30
37
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
@@ -52,11 +59,20 @@ export interface UpdatePullRequestTitleCommandOutput extends UpdatePullRequestTi
52
59
  export declare class UpdatePullRequestTitleCommand extends $Command<UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput, CodeCommitClientResolvedConfig> {
53
60
  readonly input: UpdatePullRequestTitleCommandInput;
54
61
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
62
+ /**
63
+ * @public
64
+ */
55
65
  constructor(input: UpdatePullRequestTitleCommandInput);
56
66
  /**
57
67
  * @internal
58
68
  */
59
69
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput>;
70
+ /**
71
+ * @internal
72
+ */
60
73
  private serialize;
74
+ /**
75
+ * @internal
76
+ */
61
77
  private deserialize;
62
78
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
5
  import { UpdateRepositoryDescriptionInput } from "../models/models_1";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateRepositoryDescriptionCommand}.
8
10
  */
9
11
  export interface UpdateRepositoryDescriptionCommandInput extends UpdateRepositoryDescriptionInput {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateRepositoryDescriptionCommand}.
13
17
  */
14
18
  export interface UpdateRepositoryDescriptionCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Sets or changes the comment or description for a repository.</p>
18
23
  * <note>
19
24
  * <p>The description field for a repository accepts all HTML characters and all valid
@@ -32,6 +37,8 @@ export interface UpdateRepositoryDescriptionCommandOutput extends __MetadataBear
32
37
  * const response = await client.send(command);
33
38
  * ```
34
39
  *
40
+ * @param UpdateRepositoryDescriptionCommandInput - {@link UpdateRepositoryDescriptionCommandInput}
41
+ * @returns {@link UpdateRepositoryDescriptionCommandOutput}
35
42
  * @see {@link UpdateRepositoryDescriptionCommandInput} for command's `input` shape.
36
43
  * @see {@link UpdateRepositoryDescriptionCommandOutput} for command's `response` shape.
37
44
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
@@ -74,11 +81,20 @@ export interface UpdateRepositoryDescriptionCommandOutput extends __MetadataBear
74
81
  export declare class UpdateRepositoryDescriptionCommand extends $Command<UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput, CodeCommitClientResolvedConfig> {
75
82
  readonly input: UpdateRepositoryDescriptionCommandInput;
76
83
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
77
87
  constructor(input: UpdateRepositoryDescriptionCommandInput);
78
88
  /**
79
89
  * @internal
80
90
  */
81
91
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
82
95
  private serialize;
96
+ /**
97
+ * @internal
98
+ */
83
99
  private deserialize;
84
100
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodeCommitClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCommitClient";
5
5
  import { UpdateRepositoryNameInput } from "../models/models_1";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateRepositoryNameCommand}.
8
10
  */
9
11
  export interface UpdateRepositoryNameCommandInput extends UpdateRepositoryNameInput {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateRepositoryNameCommand}.
13
17
  */
14
18
  export interface UpdateRepositoryNameCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Renames a repository. The repository name must be unique across the calling AWS
18
23
  * account. Repository names are limited to 100 alphanumeric, dash, and underscore
19
24
  * characters, and cannot include certain characters. The suffix .git is prohibited. For
@@ -29,6 +34,8 @@ export interface UpdateRepositoryNameCommandOutput extends __MetadataBearer {
29
34
  * const response = await client.send(command);
30
35
  * ```
31
36
  *
37
+ * @param UpdateRepositoryNameCommandInput - {@link UpdateRepositoryNameCommandInput}
38
+ * @returns {@link UpdateRepositoryNameCommandOutput}
32
39
  * @see {@link UpdateRepositoryNameCommandInput} for command's `input` shape.
33
40
  * @see {@link UpdateRepositoryNameCommandOutput} for command's `response` shape.
34
41
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
@@ -56,11 +63,20 @@ export interface UpdateRepositoryNameCommandOutput extends __MetadataBearer {
56
63
  export declare class UpdateRepositoryNameCommand extends $Command<UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput, CodeCommitClientResolvedConfig> {
57
64
  readonly input: UpdateRepositoryNameCommandInput;
58
65
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
66
+ /**
67
+ * @public
68
+ */
59
69
  constructor(input: UpdateRepositoryNameCommandInput);
60
70
  /**
61
71
  * @internal
62
72
  */
63
73
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCommitClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput>;
74
+ /**
75
+ * @internal
76
+ */
64
77
  private serialize;
78
+ /**
79
+ * @internal
80
+ */
65
81
  private deserialize;
66
82
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from CodeCommit service.
4
6
  */
5
7
  export declare class CodeCommitServiceException extends __ServiceException {