Skip to content

Commit 9e44d9f

Browse files
author
awstools
committed
feat(client-codebuild): AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project.
1 parent 08ad510 commit 9e44d9f

15 files changed

+60
-51
lines changed

clients/client-codebuild/src/commands/BatchGetBuildBatchesCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
7878
* // },
7979
* // buildspec: "STRING_VALUE",
8080
* // auth: { // SourceAuth
81-
* // type: "OAUTH" || "CODECONNECTIONS", // required
81+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
8282
* // resource: "STRING_VALUE",
8383
* // },
8484
* // reportBuildStatus: true || false,
@@ -99,7 +99,7 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
9999
* // },
100100
* // buildspec: "STRING_VALUE",
101101
* // auth: {
102-
* // type: "OAUTH" || "CODECONNECTIONS", // required
102+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
103103
* // resource: "STRING_VALUE",
104104
* // },
105105
* // reportBuildStatus: true || false,

clients/client-codebuild/src/commands/BatchGetBuildsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
7979
* // },
8080
* // buildspec: "STRING_VALUE",
8181
* // auth: { // SourceAuth
82-
* // type: "OAUTH" || "CODECONNECTIONS", // required
82+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
8383
* // resource: "STRING_VALUE",
8484
* // },
8585
* // reportBuildStatus: true || false,
@@ -100,7 +100,7 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
100100
* // },
101101
* // buildspec: "STRING_VALUE",
102102
* // auth: {
103-
* // type: "OAUTH" || "CODECONNECTIONS", // required
103+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
104104
* // resource: "STRING_VALUE",
105105
* // },
106106
* // reportBuildStatus: true || false,

clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
5757
* // },
5858
* // buildspec: "STRING_VALUE",
5959
* // auth: { // SourceAuth
60-
* // type: "OAUTH" || "CODECONNECTIONS", // required
60+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
6161
* // resource: "STRING_VALUE",
6262
* // },
6363
* // reportBuildStatus: true || false,
@@ -78,7 +78,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
7878
* // },
7979
* // buildspec: "STRING_VALUE",
8080
* // auth: {
81-
* // type: "OAUTH" || "CODECONNECTIONS", // required
81+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
8282
* // resource: "STRING_VALUE",
8383
* // },
8484
* // reportBuildStatus: true || false,

clients/client-codebuild/src/commands/CreateProjectCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
4747
* },
4848
* buildspec: "STRING_VALUE",
4949
* auth: { // SourceAuth
50-
* type: "OAUTH" || "CODECONNECTIONS", // required
50+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
5151
* resource: "STRING_VALUE",
5252
* },
5353
* reportBuildStatus: true || false,
@@ -68,7 +68,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
6868
* },
6969
* buildspec: "STRING_VALUE",
7070
* auth: {
71-
* type: "OAUTH" || "CODECONNECTIONS", // required
71+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
7272
* resource: "STRING_VALUE",
7373
* },
7474
* reportBuildStatus: true || false,
@@ -214,7 +214,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
214214
* // },
215215
* // buildspec: "STRING_VALUE",
216216
* // auth: { // SourceAuth
217-
* // type: "OAUTH" || "CODECONNECTIONS", // required
217+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
218218
* // resource: "STRING_VALUE",
219219
* // },
220220
* // reportBuildStatus: true || false,
@@ -235,7 +235,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
235235
* // },
236236
* // buildspec: "STRING_VALUE",
237237
* // auth: {
238-
* // type: "OAUTH" || "CODECONNECTIONS", // required
238+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
239239
* // resource: "STRING_VALUE",
240240
* // },
241241
* // reportBuildStatus: true || false,

clients/client-codebuild/src/commands/ImportSourceCredentialsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface ImportSourceCredentialsCommandOutput extends ImportSourceCreden
3333

3434
/**
3535
* <p> Imports the source repository credentials for an CodeBuild project that has its
36-
* source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. </p>
36+
* source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. </p>
3737
* @example
3838
* Use a bare-bones client and the command you need to make an API call.
3939
* ```javascript
@@ -44,7 +44,7 @@ export interface ImportSourceCredentialsCommandOutput extends ImportSourceCreden
4444
* username: "STRING_VALUE",
4545
* token: "STRING_VALUE", // required
4646
* serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "GITLAB" || "GITLAB_SELF_MANAGED", // required
47-
* authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN" || "CODECONNECTIONS", // required
47+
* authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
4848
* shouldOverwrite: true || false,
4949
* };
5050
* const command = new ImportSourceCredentialsCommand(input);

clients/client-codebuild/src/commands/ListSourceCredentialsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface ListSourceCredentialsCommandOutput extends ListSourceCredential
4343
* // { // SourceCredentialsInfo
4444
* // arn: "STRING_VALUE",
4545
* // serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "GITLAB" || "GITLAB_SELF_MANAGED",
46-
* // authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN" || "CODECONNECTIONS",
46+
* // authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN" || "CODECONNECTIONS" || "SECRETS_MANAGER",
4747
* // resource: "STRING_VALUE",
4848
* // },
4949
* // ],

clients/client-codebuild/src/commands/RetryBuildBatchCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
7777
* // },
7878
* // buildspec: "STRING_VALUE",
7979
* // auth: { // SourceAuth
80-
* // type: "OAUTH" || "CODECONNECTIONS", // required
80+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
8181
* // resource: "STRING_VALUE",
8282
* // },
8383
* // reportBuildStatus: true || false,
@@ -98,7 +98,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
9898
* // },
9999
* // buildspec: "STRING_VALUE",
100100
* // auth: {
101-
* // type: "OAUTH" || "CODECONNECTIONS", // required
101+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
102102
* // resource: "STRING_VALUE",
103103
* // },
104104
* // reportBuildStatus: true || false,

clients/client-codebuild/src/commands/RetryBuildCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
7777
* // },
7878
* // buildspec: "STRING_VALUE",
7979
* // auth: { // SourceAuth
80-
* // type: "OAUTH" || "CODECONNECTIONS", // required
80+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
8181
* // resource: "STRING_VALUE",
8282
* // },
8383
* // reportBuildStatus: true || false,
@@ -98,7 +98,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
9898
* // },
9999
* // buildspec: "STRING_VALUE",
100100
* // auth: {
101-
* // type: "OAUTH" || "CODECONNECTIONS", // required
101+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
102102
* // resource: "STRING_VALUE",
103103
* // },
104104
* // reportBuildStatus: true || false,

clients/client-codebuild/src/commands/StartBuildBatchCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
4747
* },
4848
* buildspec: "STRING_VALUE",
4949
* auth: { // SourceAuth
50-
* type: "OAUTH" || "CODECONNECTIONS", // required
50+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
5151
* resource: "STRING_VALUE",
5252
* },
5353
* reportBuildStatus: true || false,
@@ -102,7 +102,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
102102
* sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE",
103103
* sourceLocationOverride: "STRING_VALUE",
104104
* sourceAuthOverride: {
105-
* type: "OAUTH" || "CODECONNECTIONS", // required
105+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
106106
* resource: "STRING_VALUE",
107107
* },
108108
* gitCloneDepthOverride: Number("int"),
@@ -198,7 +198,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
198198
* // },
199199
* // buildspec: "STRING_VALUE",
200200
* // auth: { // SourceAuth
201-
* // type: "OAUTH" || "CODECONNECTIONS", // required
201+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
202202
* // resource: "STRING_VALUE",
203203
* // },
204204
* // reportBuildStatus: true || false,
@@ -219,7 +219,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
219219
* // },
220220
* // buildspec: "STRING_VALUE",
221221
* // auth: {
222-
* // type: "OAUTH" || "CODECONNECTIONS", // required
222+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
223223
* // resource: "STRING_VALUE",
224224
* // },
225225
* // reportBuildStatus: true || false,

clients/client-codebuild/src/commands/StartBuildCommand.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea
5050
* },
5151
* buildspec: "STRING_VALUE",
5252
* auth: { // SourceAuth
53-
* type: "OAUTH" || "CODECONNECTIONS", // required
53+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
5454
* resource: "STRING_VALUE",
5555
* },
5656
* reportBuildStatus: true || false,
@@ -105,7 +105,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea
105105
* sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE",
106106
* sourceLocationOverride: "STRING_VALUE",
107107
* sourceAuthOverride: {
108-
* type: "OAUTH" || "CODECONNECTIONS", // required
108+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
109109
* resource: "STRING_VALUE",
110110
* },
111111
* gitCloneDepthOverride: Number("int"),
@@ -197,7 +197,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea
197197
* // },
198198
* // buildspec: "STRING_VALUE",
199199
* // auth: { // SourceAuth
200-
* // type: "OAUTH" || "CODECONNECTIONS", // required
200+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
201201
* // resource: "STRING_VALUE",
202202
* // },
203203
* // reportBuildStatus: true || false,
@@ -218,7 +218,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea
218218
* // },
219219
* // buildspec: "STRING_VALUE",
220220
* // auth: {
221-
* // type: "OAUTH" || "CODECONNECTIONS", // required
221+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
222222
* // resource: "STRING_VALUE",
223223
* // },
224224
* // reportBuildStatus: true || false,

0 commit comments

Comments
 (0)