@aws-sdk/client-codebuild 3.624.0 → 3.631.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/dist-cjs/index.js +4 -2
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +2 -2
- package/dist-types/commands/BatchGetBuildsCommand.d.ts +2 -2
- package/dist-types/commands/BatchGetProjectsCommand.d.ts +2 -2
- package/dist-types/commands/CreateProjectCommand.d.ts +4 -4
- package/dist-types/commands/ImportSourceCredentialsCommand.d.ts +2 -2
- package/dist-types/commands/ListSourceCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/RetryBuildBatchCommand.d.ts +2 -2
- package/dist-types/commands/RetryBuildCommand.d.ts +2 -2
- package/dist-types/commands/StartBuildBatchCommand.d.ts +4 -4
- package/dist-types/commands/StartBuildCommand.d.ts +4 -4
- package/dist-types/commands/StopBuildBatchCommand.d.ts +2 -2
- package/dist-types/commands/StopBuildCommand.d.ts +2 -2
- package/dist-types/commands/UpdateProjectCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +7 -10
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -343,7 +343,8 @@ var AuthType = {
|
|
|
343
343
|
BASIC_AUTH: "BASIC_AUTH",
|
|
344
344
|
CODECONNECTIONS: "CODECONNECTIONS",
|
|
345
345
|
OAUTH: "OAUTH",
|
|
346
|
-
PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN"
|
|
346
|
+
PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN",
|
|
347
|
+
SECRETS_MANAGER: "SECRETS_MANAGER"
|
|
347
348
|
};
|
|
348
349
|
var _InvalidInputException = class _InvalidInputException extends CodeBuildServiceException {
|
|
349
350
|
/**
|
|
@@ -440,7 +441,8 @@ var BuildBatchPhaseType = {
|
|
|
440
441
|
};
|
|
441
442
|
var SourceAuthType = {
|
|
442
443
|
CODECONNECTIONS: "CODECONNECTIONS",
|
|
443
|
-
OAUTH: "OAUTH"
|
|
444
|
+
OAUTH: "OAUTH",
|
|
445
|
+
SECRETS_MANAGER: "SECRETS_MANAGER"
|
|
444
446
|
};
|
|
445
447
|
var SourceType = {
|
|
446
448
|
BITBUCKET: "BITBUCKET",
|
|
@@ -30,6 +30,7 @@ export const AuthType = {
|
|
|
30
30
|
CODECONNECTIONS: "CODECONNECTIONS",
|
|
31
31
|
OAUTH: "OAUTH",
|
|
32
32
|
PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN",
|
|
33
|
+
SECRETS_MANAGER: "SECRETS_MANAGER",
|
|
33
34
|
};
|
|
34
35
|
export class InvalidInputException extends __BaseException {
|
|
35
36
|
constructor(opts) {
|
|
@@ -122,6 +123,7 @@ export const BuildBatchPhaseType = {
|
|
|
122
123
|
export const SourceAuthType = {
|
|
123
124
|
CODECONNECTIONS: "CODECONNECTIONS",
|
|
124
125
|
OAUTH: "OAUTH",
|
|
126
|
+
SECRETS_MANAGER: "SECRETS_MANAGER",
|
|
125
127
|
};
|
|
126
128
|
export const SourceType = {
|
|
127
129
|
BITBUCKET: "BITBUCKET",
|
|
@@ -77,7 +77,7 @@ declare const BatchGetBuildBatchesCommand_base: {
|
|
|
77
77
|
* // },
|
|
78
78
|
* // buildspec: "STRING_VALUE",
|
|
79
79
|
* // auth: { // SourceAuth
|
|
80
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
80
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
81
81
|
* // resource: "STRING_VALUE",
|
|
82
82
|
* // },
|
|
83
83
|
* // reportBuildStatus: true || false,
|
|
@@ -98,7 +98,7 @@ declare const BatchGetBuildBatchesCommand_base: {
|
|
|
98
98
|
* // },
|
|
99
99
|
* // buildspec: "STRING_VALUE",
|
|
100
100
|
* // auth: {
|
|
101
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
101
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
102
102
|
* // resource: "STRING_VALUE",
|
|
103
103
|
* // },
|
|
104
104
|
* // reportBuildStatus: true || false,
|
|
@@ -78,7 +78,7 @@ declare const BatchGetBuildsCommand_base: {
|
|
|
78
78
|
* // },
|
|
79
79
|
* // buildspec: "STRING_VALUE",
|
|
80
80
|
* // auth: { // SourceAuth
|
|
81
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
81
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
82
82
|
* // resource: "STRING_VALUE",
|
|
83
83
|
* // },
|
|
84
84
|
* // reportBuildStatus: true || false,
|
|
@@ -99,7 +99,7 @@ declare const BatchGetBuildsCommand_base: {
|
|
|
99
99
|
* // },
|
|
100
100
|
* // buildspec: "STRING_VALUE",
|
|
101
101
|
* // auth: {
|
|
102
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
102
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
103
103
|
* // resource: "STRING_VALUE",
|
|
104
104
|
* // },
|
|
105
105
|
* // reportBuildStatus: true || false,
|
|
@@ -56,7 +56,7 @@ declare const BatchGetProjectsCommand_base: {
|
|
|
56
56
|
* // },
|
|
57
57
|
* // buildspec: "STRING_VALUE",
|
|
58
58
|
* // auth: { // SourceAuth
|
|
59
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
59
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
60
60
|
* // resource: "STRING_VALUE",
|
|
61
61
|
* // },
|
|
62
62
|
* // reportBuildStatus: true || false,
|
|
@@ -77,7 +77,7 @@ declare const BatchGetProjectsCommand_base: {
|
|
|
77
77
|
* // },
|
|
78
78
|
* // buildspec: "STRING_VALUE",
|
|
79
79
|
* // auth: {
|
|
80
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
80
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
81
81
|
* // resource: "STRING_VALUE",
|
|
82
82
|
* // },
|
|
83
83
|
* // reportBuildStatus: true || false,
|
|
@@ -46,7 +46,7 @@ declare const CreateProjectCommand_base: {
|
|
|
46
46
|
* },
|
|
47
47
|
* buildspec: "STRING_VALUE",
|
|
48
48
|
* auth: { // SourceAuth
|
|
49
|
-
* type: "OAUTH" || "CODECONNECTIONS", // required
|
|
49
|
+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
50
50
|
* resource: "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* reportBuildStatus: true || false,
|
|
@@ -67,7 +67,7 @@ declare const CreateProjectCommand_base: {
|
|
|
67
67
|
* },
|
|
68
68
|
* buildspec: "STRING_VALUE",
|
|
69
69
|
* auth: {
|
|
70
|
-
* type: "OAUTH" || "CODECONNECTIONS", // required
|
|
70
|
+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
71
71
|
* resource: "STRING_VALUE",
|
|
72
72
|
* },
|
|
73
73
|
* reportBuildStatus: true || false,
|
|
@@ -213,7 +213,7 @@ declare const CreateProjectCommand_base: {
|
|
|
213
213
|
* // },
|
|
214
214
|
* // buildspec: "STRING_VALUE",
|
|
215
215
|
* // auth: { // SourceAuth
|
|
216
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
216
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
217
217
|
* // resource: "STRING_VALUE",
|
|
218
218
|
* // },
|
|
219
219
|
* // reportBuildStatus: true || false,
|
|
@@ -234,7 +234,7 @@ declare const CreateProjectCommand_base: {
|
|
|
234
234
|
* // },
|
|
235
235
|
* // buildspec: "STRING_VALUE",
|
|
236
236
|
* // auth: {
|
|
237
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
237
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
238
238
|
* // resource: "STRING_VALUE",
|
|
239
239
|
* // },
|
|
240
240
|
* // reportBuildStatus: true || false,
|
|
@@ -28,7 +28,7 @@ declare const ImportSourceCredentialsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p> Imports the source repository credentials for an CodeBuild project that has its
|
|
31
|
-
* source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. </p>
|
|
31
|
+
* source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. </p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -39,7 +39,7 @@ declare const ImportSourceCredentialsCommand_base: {
|
|
|
39
39
|
* username: "STRING_VALUE",
|
|
40
40
|
* token: "STRING_VALUE", // required
|
|
41
41
|
* serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "GITLAB" || "GITLAB_SELF_MANAGED", // required
|
|
42
|
-
* authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN" || "CODECONNECTIONS", // required
|
|
42
|
+
* authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
43
43
|
* shouldOverwrite: true || false,
|
|
44
44
|
* };
|
|
45
45
|
* const command = new ImportSourceCredentialsCommand(input);
|
|
@@ -42,7 +42,7 @@ declare const ListSourceCredentialsCommand_base: {
|
|
|
42
42
|
* // { // SourceCredentialsInfo
|
|
43
43
|
* // arn: "STRING_VALUE",
|
|
44
44
|
* // serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "GITLAB" || "GITLAB_SELF_MANAGED",
|
|
45
|
-
* // authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN" || "CODECONNECTIONS",
|
|
45
|
+
* // authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN" || "CODECONNECTIONS" || "SECRETS_MANAGER",
|
|
46
46
|
* // resource: "STRING_VALUE",
|
|
47
47
|
* // },
|
|
48
48
|
* // ],
|
|
@@ -76,7 +76,7 @@ declare const RetryBuildBatchCommand_base: {
|
|
|
76
76
|
* // },
|
|
77
77
|
* // buildspec: "STRING_VALUE",
|
|
78
78
|
* // auth: { // SourceAuth
|
|
79
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
79
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
80
80
|
* // resource: "STRING_VALUE",
|
|
81
81
|
* // },
|
|
82
82
|
* // reportBuildStatus: true || false,
|
|
@@ -97,7 +97,7 @@ declare const RetryBuildBatchCommand_base: {
|
|
|
97
97
|
* // },
|
|
98
98
|
* // buildspec: "STRING_VALUE",
|
|
99
99
|
* // auth: {
|
|
100
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
100
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
101
101
|
* // resource: "STRING_VALUE",
|
|
102
102
|
* // },
|
|
103
103
|
* // reportBuildStatus: true || false,
|
|
@@ -76,7 +76,7 @@ declare const RetryBuildCommand_base: {
|
|
|
76
76
|
* // },
|
|
77
77
|
* // buildspec: "STRING_VALUE",
|
|
78
78
|
* // auth: { // SourceAuth
|
|
79
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
79
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
80
80
|
* // resource: "STRING_VALUE",
|
|
81
81
|
* // },
|
|
82
82
|
* // reportBuildStatus: true || false,
|
|
@@ -97,7 +97,7 @@ declare const RetryBuildCommand_base: {
|
|
|
97
97
|
* // },
|
|
98
98
|
* // buildspec: "STRING_VALUE",
|
|
99
99
|
* // auth: {
|
|
100
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
100
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
101
101
|
* // resource: "STRING_VALUE",
|
|
102
102
|
* // },
|
|
103
103
|
* // reportBuildStatus: true || false,
|
|
@@ -46,7 +46,7 @@ declare const StartBuildBatchCommand_base: {
|
|
|
46
46
|
* },
|
|
47
47
|
* buildspec: "STRING_VALUE",
|
|
48
48
|
* auth: { // SourceAuth
|
|
49
|
-
* type: "OAUTH" || "CODECONNECTIONS", // required
|
|
49
|
+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
50
50
|
* resource: "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* reportBuildStatus: true || false,
|
|
@@ -101,7 +101,7 @@ declare const StartBuildBatchCommand_base: {
|
|
|
101
101
|
* sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE",
|
|
102
102
|
* sourceLocationOverride: "STRING_VALUE",
|
|
103
103
|
* sourceAuthOverride: {
|
|
104
|
-
* type: "OAUTH" || "CODECONNECTIONS", // required
|
|
104
|
+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
105
105
|
* resource: "STRING_VALUE",
|
|
106
106
|
* },
|
|
107
107
|
* gitCloneDepthOverride: Number("int"),
|
|
@@ -197,7 +197,7 @@ declare const StartBuildBatchCommand_base: {
|
|
|
197
197
|
* // },
|
|
198
198
|
* // buildspec: "STRING_VALUE",
|
|
199
199
|
* // auth: { // SourceAuth
|
|
200
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
200
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
201
201
|
* // resource: "STRING_VALUE",
|
|
202
202
|
* // },
|
|
203
203
|
* // reportBuildStatus: true || false,
|
|
@@ -218,7 +218,7 @@ declare const StartBuildBatchCommand_base: {
|
|
|
218
218
|
* // },
|
|
219
219
|
* // buildspec: "STRING_VALUE",
|
|
220
220
|
* // auth: {
|
|
221
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
221
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
222
222
|
* // resource: "STRING_VALUE",
|
|
223
223
|
* // },
|
|
224
224
|
* // reportBuildStatus: true || false,
|
|
@@ -49,7 +49,7 @@ declare const StartBuildCommand_base: {
|
|
|
49
49
|
* },
|
|
50
50
|
* buildspec: "STRING_VALUE",
|
|
51
51
|
* auth: { // SourceAuth
|
|
52
|
-
* type: "OAUTH" || "CODECONNECTIONS", // required
|
|
52
|
+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
53
53
|
* resource: "STRING_VALUE",
|
|
54
54
|
* },
|
|
55
55
|
* reportBuildStatus: true || false,
|
|
@@ -104,7 +104,7 @@ declare const StartBuildCommand_base: {
|
|
|
104
104
|
* sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE",
|
|
105
105
|
* sourceLocationOverride: "STRING_VALUE",
|
|
106
106
|
* sourceAuthOverride: {
|
|
107
|
-
* type: "OAUTH" || "CODECONNECTIONS", // required
|
|
107
|
+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
108
108
|
* resource: "STRING_VALUE",
|
|
109
109
|
* },
|
|
110
110
|
* gitCloneDepthOverride: Number("int"),
|
|
@@ -196,7 +196,7 @@ declare const StartBuildCommand_base: {
|
|
|
196
196
|
* // },
|
|
197
197
|
* // buildspec: "STRING_VALUE",
|
|
198
198
|
* // auth: { // SourceAuth
|
|
199
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
199
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
200
200
|
* // resource: "STRING_VALUE",
|
|
201
201
|
* // },
|
|
202
202
|
* // reportBuildStatus: true || false,
|
|
@@ -217,7 +217,7 @@ declare const StartBuildCommand_base: {
|
|
|
217
217
|
* // },
|
|
218
218
|
* // buildspec: "STRING_VALUE",
|
|
219
219
|
* // auth: {
|
|
220
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
220
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
221
221
|
* // resource: "STRING_VALUE",
|
|
222
222
|
* // },
|
|
223
223
|
* // reportBuildStatus: true || false,
|
|
@@ -74,7 +74,7 @@ declare const StopBuildBatchCommand_base: {
|
|
|
74
74
|
* // },
|
|
75
75
|
* // buildspec: "STRING_VALUE",
|
|
76
76
|
* // auth: { // SourceAuth
|
|
77
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
77
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
78
78
|
* // resource: "STRING_VALUE",
|
|
79
79
|
* // },
|
|
80
80
|
* // reportBuildStatus: true || false,
|
|
@@ -95,7 +95,7 @@ declare const StopBuildBatchCommand_base: {
|
|
|
95
95
|
* // },
|
|
96
96
|
* // buildspec: "STRING_VALUE",
|
|
97
97
|
* // auth: {
|
|
98
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
98
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
99
99
|
* // resource: "STRING_VALUE",
|
|
100
100
|
* // },
|
|
101
101
|
* // reportBuildStatus: true || false,
|
|
@@ -75,7 +75,7 @@ declare const StopBuildCommand_base: {
|
|
|
75
75
|
* // },
|
|
76
76
|
* // buildspec: "STRING_VALUE",
|
|
77
77
|
* // auth: { // SourceAuth
|
|
78
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
78
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
79
79
|
* // resource: "STRING_VALUE",
|
|
80
80
|
* // },
|
|
81
81
|
* // reportBuildStatus: true || false,
|
|
@@ -96,7 +96,7 @@ declare const StopBuildCommand_base: {
|
|
|
96
96
|
* // },
|
|
97
97
|
* // buildspec: "STRING_VALUE",
|
|
98
98
|
* // auth: {
|
|
99
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
99
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
100
100
|
* // resource: "STRING_VALUE",
|
|
101
101
|
* // },
|
|
102
102
|
* // reportBuildStatus: true || false,
|
|
@@ -46,7 +46,7 @@ declare const UpdateProjectCommand_base: {
|
|
|
46
46
|
* },
|
|
47
47
|
* buildspec: "STRING_VALUE",
|
|
48
48
|
* auth: { // SourceAuth
|
|
49
|
-
* type: "OAUTH" || "CODECONNECTIONS", // required
|
|
49
|
+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
50
50
|
* resource: "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* reportBuildStatus: true || false,
|
|
@@ -67,7 +67,7 @@ declare const UpdateProjectCommand_base: {
|
|
|
67
67
|
* },
|
|
68
68
|
* buildspec: "STRING_VALUE",
|
|
69
69
|
* auth: {
|
|
70
|
-
* type: "OAUTH" || "CODECONNECTIONS", // required
|
|
70
|
+
* type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
71
71
|
* resource: "STRING_VALUE",
|
|
72
72
|
* },
|
|
73
73
|
* reportBuildStatus: true || false,
|
|
@@ -213,7 +213,7 @@ declare const UpdateProjectCommand_base: {
|
|
|
213
213
|
* // },
|
|
214
214
|
* // buildspec: "STRING_VALUE",
|
|
215
215
|
* // auth: { // SourceAuth
|
|
216
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
216
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
217
217
|
* // resource: "STRING_VALUE",
|
|
218
218
|
* // },
|
|
219
219
|
* // reportBuildStatus: true || false,
|
|
@@ -234,7 +234,7 @@ declare const UpdateProjectCommand_base: {
|
|
|
234
234
|
* // },
|
|
235
235
|
* // buildspec: "STRING_VALUE",
|
|
236
236
|
* // auth: {
|
|
237
|
-
* // type: "OAUTH" || "CODECONNECTIONS", // required
|
|
237
|
+
* // type: "OAUTH" || "CODECONNECTIONS" || "SECRETS_MANAGER", // required
|
|
238
238
|
* // resource: "STRING_VALUE",
|
|
239
239
|
* // },
|
|
240
240
|
* // reportBuildStatus: true || false,
|
|
@@ -58,6 +58,7 @@ export declare const AuthType: {
|
|
|
58
58
|
readonly CODECONNECTIONS: "CODECONNECTIONS";
|
|
59
59
|
readonly OAUTH: "OAUTH";
|
|
60
60
|
readonly PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN";
|
|
61
|
+
readonly SECRETS_MANAGER: "SECRETS_MANAGER";
|
|
61
62
|
};
|
|
62
63
|
/**
|
|
63
64
|
* @public
|
|
@@ -1333,6 +1334,7 @@ export interface BuildBatchPhase {
|
|
|
1333
1334
|
export declare const SourceAuthType: {
|
|
1334
1335
|
readonly CODECONNECTIONS: "CODECONNECTIONS";
|
|
1335
1336
|
readonly OAUTH: "OAUTH";
|
|
1337
|
+
readonly SECRETS_MANAGER: "SECRETS_MANAGER";
|
|
1336
1338
|
};
|
|
1337
1339
|
/**
|
|
1338
1340
|
* @public
|
|
@@ -1341,13 +1343,11 @@ export type SourceAuthType = (typeof SourceAuthType)[keyof typeof SourceAuthType
|
|
|
1341
1343
|
/**
|
|
1342
1344
|
* <p>Information about the authorization settings for CodeBuild to access the source code to be
|
|
1343
1345
|
* built.</p>
|
|
1344
|
-
* <p>This information is for the CodeBuild console's use only. Your code should not get or set
|
|
1345
|
-
* this information directly.</p>
|
|
1346
1346
|
* @public
|
|
1347
1347
|
*/
|
|
1348
1348
|
export interface SourceAuth {
|
|
1349
1349
|
/**
|
|
1350
|
-
* <p>The authorization type to use. Valid options are OAUTH or
|
|
1350
|
+
* <p>The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.</p>
|
|
1351
1351
|
* @public
|
|
1352
1352
|
*/
|
|
1353
1353
|
type: SourceAuthType | undefined;
|
|
@@ -1583,8 +1583,6 @@ export interface ProjectSource {
|
|
|
1583
1583
|
/**
|
|
1584
1584
|
* <p>Information about the authorization settings for CodeBuild to access the source code to be
|
|
1585
1585
|
* built.</p>
|
|
1586
|
-
* <p>This information is for the CodeBuild console's use only. Your code should not get or set
|
|
1587
|
-
* this information directly.</p>
|
|
1588
1586
|
* @public
|
|
1589
1587
|
*/
|
|
1590
1588
|
auth?: SourceAuth;
|
|
@@ -5337,7 +5335,7 @@ export interface ImportSourceCredentialsInput {
|
|
|
5337
5335
|
/**
|
|
5338
5336
|
* <p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,
|
|
5339
5337
|
* this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS,
|
|
5340
|
-
* this is the <code>connectionArn</code>.</p>
|
|
5338
|
+
* this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>
|
|
5341
5339
|
* @public
|
|
5342
5340
|
*/
|
|
5343
5341
|
token: string | undefined;
|
|
@@ -5349,8 +5347,7 @@ export interface ImportSourceCredentialsInput {
|
|
|
5349
5347
|
/**
|
|
5350
5348
|
* <p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or
|
|
5351
5349
|
* Bitbucket repository. An OAUTH connection is not supported by the API and must be
|
|
5352
|
-
* created using the CodeBuild console
|
|
5353
|
-
* GitLab and GitLab Self Managed.</p>
|
|
5350
|
+
* created using the CodeBuild console.</p>
|
|
5354
5351
|
* @public
|
|
5355
5352
|
*/
|
|
5356
5353
|
authType: AuthType | undefined;
|
|
@@ -6323,12 +6320,12 @@ export interface SourceCredentialsInfo {
|
|
|
6323
6320
|
serverType?: ServerType;
|
|
6324
6321
|
/**
|
|
6325
6322
|
* <p> The type of authentication used by the credentials. Valid options are OAUTH,
|
|
6326
|
-
* BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or
|
|
6323
|
+
* BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER. </p>
|
|
6327
6324
|
* @public
|
|
6328
6325
|
*/
|
|
6329
6326
|
authType?: AuthType;
|
|
6330
6327
|
/**
|
|
6331
|
-
* <p>The connection ARN if your
|
|
6328
|
+
* <p>The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.</p>
|
|
6332
6329
|
* @public
|
|
6333
6330
|
*/
|
|
6334
6331
|
resource?: string;
|
|
@@ -30,6 +30,7 @@ export declare const AuthType: {
|
|
|
30
30
|
readonly CODECONNECTIONS: "CODECONNECTIONS";
|
|
31
31
|
readonly OAUTH: "OAUTH";
|
|
32
32
|
readonly PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN";
|
|
33
|
+
readonly SECRETS_MANAGER: "SECRETS_MANAGER";
|
|
33
34
|
};
|
|
34
35
|
export type AuthType = (typeof AuthType)[keyof typeof AuthType];
|
|
35
36
|
export interface BatchDeleteBuildsInput {
|
|
@@ -255,6 +256,7 @@ export interface BuildBatchPhase {
|
|
|
255
256
|
export declare const SourceAuthType: {
|
|
256
257
|
readonly CODECONNECTIONS: "CODECONNECTIONS";
|
|
257
258
|
readonly OAUTH: "OAUTH";
|
|
259
|
+
readonly SECRETS_MANAGER: "SECRETS_MANAGER";
|
|
258
260
|
};
|
|
259
261
|
export type SourceAuthType =
|
|
260
262
|
(typeof SourceAuthType)[keyof typeof SourceAuthType];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codebuild",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codebuild Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.631.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codebuild",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.631.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.631.0",
|
|
25
|
+
"@aws-sdk/core": "3.629.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.631.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.631.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.631.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|