@aws-sdk/client-codecommit 3.1152.0 → 3.1154.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/README.md +7 -3
- package/dist-cjs/index.js +1 -1
- package/dist-types/CodeCommit.d.ts +7 -3
- package/dist-types/CodeCommitClient.d.ts +7 -3
- package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +2 -1
- package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +2 -1
- package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +4 -2
- package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +2 -1
- package/dist-types/commands/GetBlobCommand.d.ts +2 -1
- package/dist-types/commands/GetBlobDifferencesCommand.d.ts +2 -1
- package/dist-types/commands/GetFileCommand.d.ts +2 -1
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -3
- package/dist-types/commands/PutCommentReactionCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +7 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +7 -3
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +2 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +4 -2
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +2 -1
- package/dist-types/index.d.ts +7 -3
- package/dist-types/models/errors.d.ts +12 -6
- package/dist-types/models/models_0.d.ts +16 -8
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -6,8 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript CodeCommit Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<fullname>
|
|
10
|
-
|
|
9
|
+
<fullname>
|
|
10
|
+
CodeCommit
|
|
11
|
+
</fullname>
|
|
12
|
+
<p>This is the <i>
|
|
13
|
+
CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for
|
|
11
14
|
CodeCommit API along with usage examples.</p>
|
|
12
15
|
<p>You can use the CodeCommit API to work with the following objects:</p>
|
|
13
16
|
<p>Repositories, by calling the following:</p>
|
|
@@ -397,7 +400,8 @@ be used to create or delete triggers.</p>
|
|
|
397
400
|
by sending data to the trigger target.</p>
|
|
398
401
|
</li>
|
|
399
402
|
</ul>
|
|
400
|
-
<p>For information about how to use CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
403
|
+
<p>For information about how to use CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
404
|
+
CodeCommit User Guide</a>.</p>
|
|
401
405
|
|
|
402
406
|
## Installing
|
|
403
407
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -677,8 +677,11 @@ export interface CodeCommit {
|
|
|
677
677
|
paginateListRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRepositoriesForApprovalRuleTemplateCommandOutput>;
|
|
678
678
|
}
|
|
679
679
|
/**
|
|
680
|
-
* <fullname>
|
|
681
|
-
*
|
|
680
|
+
* <fullname>
|
|
681
|
+
* CodeCommit
|
|
682
|
+
* </fullname>
|
|
683
|
+
* <p>This is the <i>
|
|
684
|
+
* CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for
|
|
682
685
|
* CodeCommit API along with usage examples.</p>
|
|
683
686
|
* <p>You can use the CodeCommit API to work with the following objects:</p>
|
|
684
687
|
* <p>Repositories, by calling the following:</p>
|
|
@@ -1068,7 +1071,8 @@ export interface CodeCommit {
|
|
|
1068
1071
|
* by sending data to the trigger target.</p>
|
|
1069
1072
|
* </li>
|
|
1070
1073
|
* </ul>
|
|
1071
|
-
* <p>For information about how to use CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
1074
|
+
* <p>For information about how to use CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
1075
|
+
* CodeCommit User Guide</a>.</p>
|
|
1072
1076
|
* @public
|
|
1073
1077
|
*/
|
|
1074
1078
|
export declare class CodeCommit extends CodeCommitClient implements CodeCommit {
|
|
@@ -248,8 +248,11 @@ export type CodeCommitClientResolvedConfigType = __SmithyResolvedConfiguration<_
|
|
|
248
248
|
export interface CodeCommitClientResolvedConfig extends CodeCommitClientResolvedConfigType {
|
|
249
249
|
}
|
|
250
250
|
/**
|
|
251
|
-
* <fullname>
|
|
252
|
-
*
|
|
251
|
+
* <fullname>
|
|
252
|
+
* CodeCommit
|
|
253
|
+
* </fullname>
|
|
254
|
+
* <p>This is the <i>
|
|
255
|
+
* CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for
|
|
253
256
|
* CodeCommit API along with usage examples.</p>
|
|
254
257
|
* <p>You can use the CodeCommit API to work with the following objects:</p>
|
|
255
258
|
* <p>Repositories, by calling the following:</p>
|
|
@@ -639,7 +642,8 @@ export interface CodeCommitClientResolvedConfig extends CodeCommitClientResolved
|
|
|
639
642
|
* by sending data to the trigger target.</p>
|
|
640
643
|
* </li>
|
|
641
644
|
* </ul>
|
|
642
|
-
* <p>For information about how to use CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
645
|
+
* <p>For information about how to use CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
646
|
+
* CodeCommit User Guide</a>.</p>
|
|
643
647
|
* @public
|
|
644
648
|
*/
|
|
645
649
|
export declare class CodeCommitClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodeCommitClientResolvedConfig> {
|
|
@@ -80,7 +80,8 @@ declare const AssociateApprovalRuleTemplateWithRepositoryCommand_base: {
|
|
|
80
80
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
81
81
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
82
82
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
83
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
83
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
84
|
+
* CodeCommit User Guide</i>.</p>
|
|
84
85
|
*
|
|
85
86
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
86
87
|
* <p>A specified repository name is not valid.</p>
|
|
@@ -87,7 +87,8 @@ declare const BatchAssociateApprovalRuleTemplateWithRepositoriesCommand_base: {
|
|
|
87
87
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
88
88
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
89
89
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
90
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
90
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
91
|
+
* CodeCommit User Guide</i>.</p>
|
|
91
92
|
*
|
|
92
93
|
* @throws {@link MaximumRepositoryNamesExceededException} (client fault)
|
|
93
94
|
* <p>The maximum number of allowed repository names was exceeded. Currently, this number is 100.</p>
|
package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts
CHANGED
|
@@ -87,7 +87,8 @@ declare const BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand_base:
|
|
|
87
87
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
88
88
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
89
89
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
90
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
90
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
91
|
+
* CodeCommit User Guide</i>.</p>
|
|
91
92
|
*
|
|
92
93
|
* @throws {@link MaximumRepositoryNamesExceededException} (client fault)
|
|
93
94
|
* <p>The maximum number of allowed repository names was exceeded. Currently, this number is 100.</p>
|
|
@@ -82,12 +82,14 @@ declare const CreateApprovalRuleTemplateCommand_base: {
|
|
|
82
82
|
* @throws {@link InvalidApprovalRuleTemplateDescriptionException} (client fault)
|
|
83
83
|
* <p>The description for the approval rule template is not valid because it exceeds the
|
|
84
84
|
* maximum characters allowed for a description. For more information about limits in CodeCommit,
|
|
85
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
85
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
86
|
+
* CodeCommit User Guide</i>.</p>
|
|
86
87
|
*
|
|
87
88
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
88
89
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
89
90
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
90
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
91
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
92
|
+
* CodeCommit User Guide</i>.</p>
|
|
91
93
|
*
|
|
92
94
|
* @throws {@link NumberOfRuleTemplatesExceededException} (client fault)
|
|
93
95
|
* <p>The maximum number of approval rule templates has been exceeded for this Amazon Web Services Region. </p>
|
|
@@ -60,7 +60,8 @@ declare const DeleteApprovalRuleTemplateCommand_base: {
|
|
|
60
60
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
61
61
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
62
62
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
63
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
63
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
64
|
+
* CodeCommit User Guide</i>.</p>
|
|
64
65
|
*
|
|
65
66
|
* @throws {@link CodeCommitServiceException}
|
|
66
67
|
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
@@ -77,7 +77,8 @@ declare const DisassociateApprovalRuleTemplateFromRepositoryCommand_base: {
|
|
|
77
77
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
78
78
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
79
79
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
80
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
80
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
81
|
+
* CodeCommit User Guide</i>.</p>
|
|
81
82
|
*
|
|
82
83
|
* @throws {@link InvalidRepositoryNameException} (client fault)
|
|
83
84
|
* <p>A specified repository name is not valid.</p>
|
|
@@ -69,7 +69,8 @@ declare const GetApprovalRuleTemplateCommand_base: {
|
|
|
69
69
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
70
70
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
71
71
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
72
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
72
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
73
|
+
* CodeCommit User Guide</i>.</p>
|
|
73
74
|
*
|
|
74
75
|
* @throws {@link CodeCommitServiceException}
|
|
75
76
|
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
@@ -74,7 +74,8 @@ declare const GetBlobCommand_base: {
|
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link FileTooLargeException} (client fault)
|
|
76
76
|
* <p>The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see
|
|
77
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
77
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
78
|
+
* CodeCommit User Guide</i>.</p>
|
|
78
79
|
*
|
|
79
80
|
* @throws {@link InvalidBlobIdException} (client fault)
|
|
80
81
|
* <p>The specified blob is not valid.</p>
|
|
@@ -103,7 +103,8 @@ declare const GetBlobDifferencesCommand_base: {
|
|
|
103
103
|
*
|
|
104
104
|
* @throws {@link FileTooLargeException} (client fault)
|
|
105
105
|
* <p>The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see
|
|
106
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
106
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
107
|
+
* CodeCommit User Guide</i>.</p>
|
|
107
108
|
*
|
|
108
109
|
* @throws {@link InvalidBlobIdException} (client fault)
|
|
109
110
|
* <p>The specified blob is not valid.</p>
|
|
@@ -81,7 +81,8 @@ declare const GetFileCommand_base: {
|
|
|
81
81
|
*
|
|
82
82
|
* @throws {@link FileTooLargeException} (client fault)
|
|
83
83
|
* <p>The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see
|
|
84
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
84
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
85
|
+
* CodeCommit User Guide</i>.</p>
|
|
85
86
|
*
|
|
86
87
|
* @throws {@link InvalidCommitException} (client fault)
|
|
87
88
|
* <p>The specified commit is not valid.</p>
|
|
@@ -80,7 +80,8 @@ declare const ListRepositoriesForApprovalRuleTemplateCommand_base: {
|
|
|
80
80
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
81
81
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
82
82
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
83
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
83
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
84
|
+
* CodeCommit User Guide</i>.</p>
|
|
84
85
|
*
|
|
85
86
|
* @throws {@link InvalidContinuationTokenException} (client fault)
|
|
86
87
|
* <p>The specified continuation token is not valid.</p>
|
|
@@ -24,7 +24,9 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
27
|
+
* <p>Gets information about Amazon Web Servicestags for a specified Amazon Resource Name (ARN) in CodeCommit. For a list of valid resources in CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
28
|
+
* CodeCommit Resources and Operations</a> in the<i>
|
|
29
|
+
* CodeCommit User
|
|
28
30
|
* Guide</i>.</p>
|
|
29
31
|
* @example
|
|
30
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -65,7 +67,8 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
65
67
|
*
|
|
66
68
|
* @throws {@link InvalidResourceArnException} (client fault)
|
|
67
69
|
* <p>The value for the resource ARN is not valid. For more information about resources in CodeCommit, see
|
|
68
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
70
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
71
|
+
* CodeCommit Resources and Operations</a>
|
|
69
72
|
* in the CodeCommit User Guide.</p>
|
|
70
73
|
*
|
|
71
74
|
* @throws {@link RepositoryDoesNotExistException} (client fault)
|
|
@@ -73,7 +76,8 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
73
76
|
*
|
|
74
77
|
* @throws {@link ResourceArnRequiredException} (client fault)
|
|
75
78
|
* <p>A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in CodeCommit, see
|
|
76
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
79
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
80
|
+
* CodeCommit Resources and Operations</a>
|
|
77
81
|
* in the CodeCommit User Guide.</p>
|
|
78
82
|
*
|
|
79
83
|
* @throws {@link CodeCommitServiceException}
|
|
@@ -64,7 +64,8 @@ declare const PutCommentReactionCommand_base: {
|
|
|
64
64
|
* <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link InvalidReactionValueException} (client fault)
|
|
67
|
-
* <p>The value of the reaction is not valid. For more information, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
67
|
+
* <p>The value of the reaction is not valid. For more information, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
68
|
+
* CodeCommit User Guide</a>.</p>
|
|
68
69
|
*
|
|
69
70
|
* @throws {@link ReactionLimitExceededException} (client fault)
|
|
70
71
|
* <p>The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.</p>
|
|
@@ -25,7 +25,9 @@ declare const TagResourceCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Adds or updates tags for a resource in CodeCommit. For a list of valid resources
|
|
28
|
-
* in CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
28
|
+
* in CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
29
|
+
* CodeCommit Resources and Operations</a> in the <i>
|
|
30
|
+
* CodeCommit User
|
|
29
31
|
* Guide</i>.</p>
|
|
30
32
|
* @example
|
|
31
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -63,7 +65,8 @@ declare const TagResourceCommand_base: {
|
|
|
63
65
|
*
|
|
64
66
|
* @throws {@link InvalidResourceArnException} (client fault)
|
|
65
67
|
* <p>The value for the resource ARN is not valid. For more information about resources in CodeCommit, see
|
|
66
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
68
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
69
|
+
* CodeCommit Resources and Operations</a>
|
|
67
70
|
* in the CodeCommit User Guide.</p>
|
|
68
71
|
*
|
|
69
72
|
* @throws {@link InvalidSystemTagUsageException} (client fault)
|
|
@@ -77,7 +80,8 @@ declare const TagResourceCommand_base: {
|
|
|
77
80
|
*
|
|
78
81
|
* @throws {@link ResourceArnRequiredException} (client fault)
|
|
79
82
|
* <p>A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in CodeCommit, see
|
|
80
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
83
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
84
|
+
* CodeCommit Resources and Operations</a>
|
|
81
85
|
* in the CodeCommit User Guide.</p>
|
|
82
86
|
*
|
|
83
87
|
* @throws {@link TagPolicyException} (client fault)
|
|
@@ -24,7 +24,9 @@ declare const UntagResourceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
27
|
+
* <p>Removes tags for a resource in CodeCommit. For a list of valid resources in CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
28
|
+
* CodeCommit Resources and Operations</a> in the <i>
|
|
29
|
+
* CodeCommit User
|
|
28
30
|
* Guide</i>.</p>
|
|
29
31
|
* @example
|
|
30
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -62,7 +64,8 @@ declare const UntagResourceCommand_base: {
|
|
|
62
64
|
*
|
|
63
65
|
* @throws {@link InvalidResourceArnException} (client fault)
|
|
64
66
|
* <p>The value for the resource ARN is not valid. For more information about resources in CodeCommit, see
|
|
65
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
67
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
68
|
+
* CodeCommit Resources and Operations</a>
|
|
66
69
|
* in the CodeCommit User Guide.</p>
|
|
67
70
|
*
|
|
68
71
|
* @throws {@link InvalidSystemTagUsageException} (client fault)
|
|
@@ -76,7 +79,8 @@ declare const UntagResourceCommand_base: {
|
|
|
76
79
|
*
|
|
77
80
|
* @throws {@link ResourceArnRequiredException} (client fault)
|
|
78
81
|
* <p>A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in CodeCommit, see
|
|
79
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
82
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
83
|
+
* CodeCommit Resources and Operations</a>
|
|
80
84
|
* in the CodeCommit User Guide.</p>
|
|
81
85
|
*
|
|
82
86
|
* @throws {@link TagKeysListRequiredException} (client fault)
|
|
@@ -79,7 +79,8 @@ declare const UpdateApprovalRuleTemplateContentCommand_base: {
|
|
|
79
79
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
80
80
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
81
81
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
82
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
82
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
83
|
+
* CodeCommit User Guide</i>.</p>
|
|
83
84
|
*
|
|
84
85
|
* @throws {@link InvalidRuleContentSha256Exception} (client fault)
|
|
85
86
|
* <p>The SHA-256 hash signature for the rule content is not valid.</p>
|
|
@@ -70,12 +70,14 @@ declare const UpdateApprovalRuleTemplateDescriptionCommand_base: {
|
|
|
70
70
|
* @throws {@link InvalidApprovalRuleTemplateDescriptionException} (client fault)
|
|
71
71
|
* <p>The description for the approval rule template is not valid because it exceeds the
|
|
72
72
|
* maximum characters allowed for a description. For more information about limits in CodeCommit,
|
|
73
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
73
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
74
|
+
* CodeCommit User Guide</i>.</p>
|
|
74
75
|
*
|
|
75
76
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
76
77
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
77
78
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
78
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
79
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
80
|
+
* CodeCommit User Guide</i>.</p>
|
|
79
81
|
*
|
|
80
82
|
* @throws {@link CodeCommitServiceException}
|
|
81
83
|
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
|
@@ -75,7 +75,8 @@ declare const UpdateApprovalRuleTemplateNameCommand_base: {
|
|
|
75
75
|
* @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
|
|
76
76
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
77
77
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
78
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
78
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
79
|
+
* CodeCommit User Guide</i>.</p>
|
|
79
80
|
*
|
|
80
81
|
* @throws {@link CodeCommitServiceException}
|
|
81
82
|
* <p>Base exception class for all service exceptions from CodeCommit service.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <fullname>
|
|
3
|
-
*
|
|
2
|
+
* <fullname>
|
|
3
|
+
* CodeCommit
|
|
4
|
+
* </fullname>
|
|
5
|
+
* <p>This is the <i>
|
|
6
|
+
* CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for
|
|
4
7
|
* CodeCommit API along with usage examples.</p>
|
|
5
8
|
* <p>You can use the CodeCommit API to work with the following objects:</p>
|
|
6
9
|
* <p>Repositories, by calling the following:</p>
|
|
@@ -390,7 +393,8 @@
|
|
|
390
393
|
* by sending data to the trigger target.</p>
|
|
391
394
|
* </li>
|
|
392
395
|
* </ul>
|
|
393
|
-
* <p>For information about how to use CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
396
|
+
* <p>For information about how to use CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
397
|
+
* CodeCommit User Guide</a>.</p>
|
|
394
398
|
*
|
|
395
399
|
* @packageDocumentation
|
|
396
400
|
*/
|
|
@@ -216,7 +216,8 @@ export declare class EncryptionKeyUnavailableException extends __BaseException {
|
|
|
216
216
|
/**
|
|
217
217
|
* <p>The name of the approval rule template is not valid. Template names must be between 1
|
|
218
218
|
* and 100 valid characters in length. For more information about limits in CodeCommit,
|
|
219
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
219
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
220
|
+
* CodeCommit User Guide</i>.</p>
|
|
220
221
|
* @public
|
|
221
222
|
*/
|
|
222
223
|
export declare class InvalidApprovalRuleTemplateNameException extends __BaseException {
|
|
@@ -676,7 +677,8 @@ export declare class InvalidApprovalRuleTemplateContentException extends __BaseE
|
|
|
676
677
|
/**
|
|
677
678
|
* <p>The description for the approval rule template is not valid because it exceeds the
|
|
678
679
|
* maximum characters allowed for a description. For more information about limits in CodeCommit,
|
|
679
|
-
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
680
|
+
* see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
681
|
+
* CodeCommit User Guide</i>.</p>
|
|
680
682
|
* @public
|
|
681
683
|
*/
|
|
682
684
|
export declare class InvalidApprovalRuleTemplateDescriptionException extends __BaseException {
|
|
@@ -1797,7 +1799,8 @@ export declare class RevisionNotCurrentException extends __BaseException {
|
|
|
1797
1799
|
}
|
|
1798
1800
|
/**
|
|
1799
1801
|
* <p>The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see
|
|
1800
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
1802
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
1803
|
+
* CodeCommit User Guide</i>.</p>
|
|
1801
1804
|
* @public
|
|
1802
1805
|
*/
|
|
1803
1806
|
export declare class FileTooLargeException extends __BaseException {
|
|
@@ -1981,7 +1984,8 @@ export declare class InvalidSortByException extends __BaseException {
|
|
|
1981
1984
|
}
|
|
1982
1985
|
/**
|
|
1983
1986
|
* <p>The value for the resource ARN is not valid. For more information about resources in CodeCommit, see
|
|
1984
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
1987
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
1988
|
+
* CodeCommit Resources and Operations</a>
|
|
1985
1989
|
* in the CodeCommit User Guide.</p>
|
|
1986
1990
|
* @public
|
|
1987
1991
|
*/
|
|
@@ -1996,7 +2000,8 @@ export declare class InvalidResourceArnException extends __BaseException {
|
|
|
1996
2000
|
}
|
|
1997
2001
|
/**
|
|
1998
2002
|
* <p>A valid Amazon Resource Name (ARN) for an CodeCommit resource is required. For a list of valid resources in CodeCommit, see
|
|
1999
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
2003
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">
|
|
2004
|
+
* CodeCommit Resources and Operations</a>
|
|
2000
2005
|
* in the CodeCommit User Guide.</p>
|
|
2001
2006
|
* @public
|
|
2002
2007
|
*/
|
|
@@ -2155,7 +2160,8 @@ export declare class InvalidRelativeFileVersionEnumException extends __BaseExcep
|
|
|
2155
2160
|
constructor(opts: __ExceptionOptionType<InvalidRelativeFileVersionEnumException, __BaseException>);
|
|
2156
2161
|
}
|
|
2157
2162
|
/**
|
|
2158
|
-
* <p>The value of the reaction is not valid. For more information, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
2163
|
+
* <p>The value of the reaction is not valid. For more information, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">
|
|
2164
|
+
* CodeCommit User Guide</a>.</p>
|
|
2159
2165
|
* @public
|
|
2160
2166
|
*/
|
|
2161
2167
|
export declare class InvalidReactionValueException extends __BaseException {
|
|
@@ -975,7 +975,8 @@ export interface CreateApprovalRuleTemplateInput {
|
|
|
975
975
|
* requires an Amazon Web Services account and a resource. It can be used for both IAM users
|
|
976
976
|
* and federated access users whose name matches the provided resource name.
|
|
977
977
|
* This is a very powerful option that offers a great deal of flexibility. For
|
|
978
|
-
* example, if you specify the Amazon Web Services account
|
|
978
|
+
* example, if you specify the Amazon Web Services account
|
|
979
|
+
* <i>123456789012</i>
|
|
979
980
|
* and <i>Mary_Major</i>, all of the following are counted as
|
|
980
981
|
* approvals coming from that user:</p>
|
|
981
982
|
* <ul>
|
|
@@ -1457,7 +1458,8 @@ export interface CreatePullRequestApprovalRuleInput {
|
|
|
1457
1458
|
* requires an Amazon Web Services account and a resource. It can be used for both IAM users
|
|
1458
1459
|
* and federated access users whose name matches the provided resource name.
|
|
1459
1460
|
* This is a very powerful option that offers a great deal of flexibility. For
|
|
1460
|
-
* example, if you specify the Amazon Web Services account
|
|
1461
|
+
* example, if you specify the Amazon Web Services account
|
|
1462
|
+
* <i>123456789012</i>
|
|
1461
1463
|
* and <i>Mary_Major</i>, all of the following would be counted
|
|
1462
1464
|
* as approvals coming from that user:</p>
|
|
1463
1465
|
* <ul>
|
|
@@ -1512,7 +1514,8 @@ export interface CreateRepositoryInput {
|
|
|
1512
1514
|
* <p>The repository name must be unique across the calling Amazon Web Services account. Repository names
|
|
1513
1515
|
* are limited to 100 alphanumeric, dash, and underscore characters, and cannot include
|
|
1514
1516
|
* certain characters. For more information about the limits on repository names, see
|
|
1515
|
-
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
1517
|
+
* <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>
|
|
1518
|
+
* CodeCommit User Guide</i>. The
|
|
1516
1519
|
* suffix .git is prohibited.</p>
|
|
1517
1520
|
* </note>
|
|
1518
1521
|
* @public
|
|
@@ -1539,8 +1542,10 @@ export interface CreateRepositoryInput {
|
|
|
1539
1542
|
* <p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to
|
|
1540
1543
|
* programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see
|
|
1541
1544
|
* <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId</a> in the Decrypt API description in
|
|
1542
|
-
* the <i>
|
|
1543
|
-
*
|
|
1545
|
+
* the <i>
|
|
1546
|
+
* Key Management Service API Reference</i>.</p>
|
|
1547
|
+
* <p>If no key is specified, the default <code>aws/codecommit</code>
|
|
1548
|
+
* Amazon Web Services managed key is used.</p>
|
|
1544
1549
|
* @public
|
|
1545
1550
|
*/
|
|
1546
1551
|
kmsKeyId?: string | undefined;
|
|
@@ -4602,7 +4607,8 @@ export interface PutCommentReactionInput {
|
|
|
4602
4607
|
commentId: string | undefined;
|
|
4603
4608
|
/**
|
|
4604
4609
|
* <p>The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none.
|
|
4605
|
-
* For information about emoji reaction values supported in CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table">
|
|
4610
|
+
* For information about emoji reaction values supported in CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table">
|
|
4611
|
+
* CodeCommit User Guide</a>.</p>
|
|
4606
4612
|
* @public
|
|
4607
4613
|
*/
|
|
4608
4614
|
reactionValue: string | undefined;
|
|
@@ -4952,7 +4958,8 @@ export interface UpdatePullRequestApprovalRuleContentInput {
|
|
|
4952
4958
|
* requires an Amazon Web Services account and a resource. It can be used for both IAM users
|
|
4953
4959
|
* and federated access users whose name matches the provided resource name.
|
|
4954
4960
|
* This is a very powerful option that offers a great deal of flexibility. For
|
|
4955
|
-
* example, if you specify the Amazon Web Services account
|
|
4961
|
+
* example, if you specify the Amazon Web Services account
|
|
4962
|
+
* <i>123456789012</i>
|
|
4956
4963
|
* and <i>Mary_Major</i>, all of the following are counted as
|
|
4957
4964
|
* approvals coming from that user:</p>
|
|
4958
4965
|
* <ul>
|
|
@@ -5122,7 +5129,8 @@ export interface UpdateRepositoryEncryptionKeyInput {
|
|
|
5122
5129
|
* <p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to
|
|
5123
5130
|
* programmatically retrieve a key ID. For more information about acceptable values for keyID, see
|
|
5124
5131
|
* <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId</a> in the Decrypt API description in
|
|
5125
|
-
* the <i>
|
|
5132
|
+
* the <i>
|
|
5133
|
+
* Key Management Service API Reference</i>.</p>
|
|
5126
5134
|
* @public
|
|
5127
5135
|
*/
|
|
5128
5136
|
kmsKeyId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codecommit",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1154.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Codecommit Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-codecommit",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.978.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
+
"@aws-sdk/core": "^3.978.4",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.87",
|
|
53
53
|
"@aws-sdk/types": "^3.974.6",
|
|
54
|
-
"@smithy/core": "^3.
|
|
54
|
+
"@smithy/core": "^3.36.0",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
56
56
|
"@smithy/node-http-handler": "^4.12.1",
|
|
57
57
|
"@smithy/types": "^4.19.0",
|