@aws-sdk/client-codebuild 3.538.0 → 3.541.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -347,6 +347,7 @@ var ArtifactsType = {
347
347
  };
348
348
  var AuthType = {
349
349
  BASIC_AUTH: "BASIC_AUTH",
350
+ CODECONNECTIONS: "CODECONNECTIONS",
350
351
  OAUTH: "OAUTH",
351
352
  PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN"
352
353
  };
@@ -444,6 +445,7 @@ var BuildBatchPhaseType = {
444
445
  SUCCEEDED: "SUCCEEDED"
445
446
  };
446
447
  var SourceAuthType = {
448
+ CODECONNECTIONS: "CODECONNECTIONS",
447
449
  OAUTH: "OAUTH"
448
450
  };
449
451
  var SourceType = {
@@ -452,6 +454,8 @@ var SourceType = {
452
454
  CODEPIPELINE: "CODEPIPELINE",
453
455
  GITHUB: "GITHUB",
454
456
  GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",
457
+ GITLAB: "GITLAB",
458
+ GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED",
455
459
  NO_SOURCE: "NO_SOURCE",
456
460
  S3: "S3"
457
461
  };
@@ -603,7 +607,9 @@ var ReportGroupTrendFieldType = {
603
607
  var ServerType = {
604
608
  BITBUCKET: "BITBUCKET",
605
609
  GITHUB: "GITHUB",
606
- GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE"
610
+ GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",
611
+ GITLAB: "GITLAB",
612
+ GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED"
607
613
  };
608
614
  var LanguageType = {
609
615
  ANDROID: "ANDROID",
@@ -3163,9 +3169,6 @@ var paginateListSharedProjects = (0, import_core.createPaginator)(CodeBuildClien
3163
3169
  // src/pagination/ListSharedReportGroupsPaginator.ts
3164
3170
 
3165
3171
  var paginateListSharedReportGroups = (0, import_core.createPaginator)(CodeBuildClient, ListSharedReportGroupsCommand, "nextToken", "nextToken", "maxResults");
3166
-
3167
- // src/index.ts
3168
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
3169
3172
  // Annotate the CommonJS export names for ESM import in node:
3170
3173
 
3171
3174
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -3,5 +3,4 @@ export * from "./CodeBuild";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { CodeBuildServiceException } from "./models/CodeBuildServiceException";
@@ -27,6 +27,7 @@ export const ArtifactsType = {
27
27
  };
28
28
  export const AuthType = {
29
29
  BASIC_AUTH: "BASIC_AUTH",
30
+ CODECONNECTIONS: "CODECONNECTIONS",
30
31
  OAUTH: "OAUTH",
31
32
  PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN",
32
33
  };
@@ -119,6 +120,7 @@ export const BuildBatchPhaseType = {
119
120
  SUCCEEDED: "SUCCEEDED",
120
121
  };
121
122
  export const SourceAuthType = {
123
+ CODECONNECTIONS: "CODECONNECTIONS",
122
124
  OAUTH: "OAUTH",
123
125
  };
124
126
  export const SourceType = {
@@ -127,6 +129,8 @@ export const SourceType = {
127
129
  CODEPIPELINE: "CODEPIPELINE",
128
130
  GITHUB: "GITHUB",
129
131
  GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",
132
+ GITLAB: "GITLAB",
133
+ GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED",
130
134
  NO_SOURCE: "NO_SOURCE",
131
135
  S3: "S3",
132
136
  };
@@ -264,6 +268,8 @@ export const ServerType = {
264
268
  BITBUCKET: "BITBUCKET",
265
269
  GITHUB: "GITHUB",
266
270
  GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",
271
+ GITLAB: "GITLAB",
272
+ GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED",
267
273
  };
268
274
  export const LanguageType = {
269
275
  ANDROID: "ANDROID",
@@ -68,7 +68,7 @@ declare const BatchGetBuildBatchesCommand_base: {
68
68
  * // },
69
69
  * // ],
70
70
  * // source: { // ProjectSource
71
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
71
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
72
72
  * // location: "STRING_VALUE",
73
73
  * // gitCloneDepth: Number("int"),
74
74
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -76,7 +76,7 @@ declare const BatchGetBuildBatchesCommand_base: {
76
76
  * // },
77
77
  * // buildspec: "STRING_VALUE",
78
78
  * // auth: { // SourceAuth
79
- * // type: "OAUTH", // required
79
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
80
80
  * // resource: "STRING_VALUE",
81
81
  * // },
82
82
  * // reportBuildStatus: true || false,
@@ -89,7 +89,7 @@ declare const BatchGetBuildBatchesCommand_base: {
89
89
  * // },
90
90
  * // secondarySources: [ // ProjectSources
91
91
  * // {
92
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
92
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
93
93
  * // location: "STRING_VALUE",
94
94
  * // gitCloneDepth: Number("int"),
95
95
  * // gitSubmodulesConfig: {
@@ -97,7 +97,7 @@ declare const BatchGetBuildBatchesCommand_base: {
97
97
  * // },
98
98
  * // buildspec: "STRING_VALUE",
99
99
  * // auth: {
100
- * // type: "OAUTH", // required
100
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
101
101
  * // resource: "STRING_VALUE",
102
102
  * // },
103
103
  * // reportBuildStatus: true || false,
@@ -69,7 +69,7 @@ declare const BatchGetBuildsCommand_base: {
69
69
  * // },
70
70
  * // ],
71
71
  * // source: { // ProjectSource
72
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
72
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
73
73
  * // location: "STRING_VALUE",
74
74
  * // gitCloneDepth: Number("int"),
75
75
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -77,7 +77,7 @@ declare const BatchGetBuildsCommand_base: {
77
77
  * // },
78
78
  * // buildspec: "STRING_VALUE",
79
79
  * // auth: { // SourceAuth
80
- * // type: "OAUTH", // required
80
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
81
81
  * // resource: "STRING_VALUE",
82
82
  * // },
83
83
  * // reportBuildStatus: true || false,
@@ -90,7 +90,7 @@ declare const BatchGetBuildsCommand_base: {
90
90
  * // },
91
91
  * // secondarySources: [ // ProjectSources
92
92
  * // {
93
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
93
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
94
94
  * // location: "STRING_VALUE",
95
95
  * // gitCloneDepth: Number("int"),
96
96
  * // gitSubmodulesConfig: {
@@ -98,7 +98,7 @@ declare const BatchGetBuildsCommand_base: {
98
98
  * // },
99
99
  * // buildspec: "STRING_VALUE",
100
100
  * // auth: {
101
- * // type: "OAUTH", // required
101
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
102
102
  * // resource: "STRING_VALUE",
103
103
  * // },
104
104
  * // reportBuildStatus: true || false,
@@ -47,7 +47,7 @@ declare const BatchGetProjectsCommand_base: {
47
47
  * // arn: "STRING_VALUE",
48
48
  * // description: "STRING_VALUE",
49
49
  * // source: { // ProjectSource
50
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
50
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
51
51
  * // location: "STRING_VALUE",
52
52
  * // gitCloneDepth: Number("int"),
53
53
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -55,7 +55,7 @@ declare const BatchGetProjectsCommand_base: {
55
55
  * // },
56
56
  * // buildspec: "STRING_VALUE",
57
57
  * // auth: { // SourceAuth
58
- * // type: "OAUTH", // required
58
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
59
59
  * // resource: "STRING_VALUE",
60
60
  * // },
61
61
  * // reportBuildStatus: true || false,
@@ -68,7 +68,7 @@ declare const BatchGetProjectsCommand_base: {
68
68
  * // },
69
69
  * // secondarySources: [ // ProjectSources
70
70
  * // {
71
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
71
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
72
72
  * // location: "STRING_VALUE",
73
73
  * // gitCloneDepth: Number("int"),
74
74
  * // gitSubmodulesConfig: {
@@ -76,7 +76,7 @@ declare const BatchGetProjectsCommand_base: {
76
76
  * // },
77
77
  * // buildspec: "STRING_VALUE",
78
78
  * // auth: {
79
- * // type: "OAUTH", // required
79
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
80
80
  * // resource: "STRING_VALUE",
81
81
  * // },
82
82
  * // reportBuildStatus: true || false,
@@ -37,7 +37,7 @@ declare const CreateProjectCommand_base: {
37
37
  * name: "STRING_VALUE", // required
38
38
  * description: "STRING_VALUE",
39
39
  * source: { // ProjectSource
40
- * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
40
+ * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
41
41
  * location: "STRING_VALUE",
42
42
  * gitCloneDepth: Number("int"),
43
43
  * gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -45,7 +45,7 @@ declare const CreateProjectCommand_base: {
45
45
  * },
46
46
  * buildspec: "STRING_VALUE",
47
47
  * auth: { // SourceAuth
48
- * type: "OAUTH", // required
48
+ * type: "OAUTH" || "CODECONNECTIONS", // required
49
49
  * resource: "STRING_VALUE",
50
50
  * },
51
51
  * reportBuildStatus: true || false,
@@ -58,7 +58,7 @@ declare const CreateProjectCommand_base: {
58
58
  * },
59
59
  * secondarySources: [ // ProjectSources
60
60
  * {
61
- * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
61
+ * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
62
62
  * location: "STRING_VALUE",
63
63
  * gitCloneDepth: Number("int"),
64
64
  * gitSubmodulesConfig: {
@@ -66,7 +66,7 @@ declare const CreateProjectCommand_base: {
66
66
  * },
67
67
  * buildspec: "STRING_VALUE",
68
68
  * auth: {
69
- * type: "OAUTH", // required
69
+ * type: "OAUTH" || "CODECONNECTIONS", // required
70
70
  * resource: "STRING_VALUE",
71
71
  * },
72
72
  * reportBuildStatus: true || false,
@@ -204,7 +204,7 @@ declare const CreateProjectCommand_base: {
204
204
  * // arn: "STRING_VALUE",
205
205
  * // description: "STRING_VALUE",
206
206
  * // source: { // ProjectSource
207
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
207
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
208
208
  * // location: "STRING_VALUE",
209
209
  * // gitCloneDepth: Number("int"),
210
210
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -212,7 +212,7 @@ declare const CreateProjectCommand_base: {
212
212
  * // },
213
213
  * // buildspec: "STRING_VALUE",
214
214
  * // auth: { // SourceAuth
215
- * // type: "OAUTH", // required
215
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
216
216
  * // resource: "STRING_VALUE",
217
217
  * // },
218
218
  * // reportBuildStatus: true || false,
@@ -225,7 +225,7 @@ declare const CreateProjectCommand_base: {
225
225
  * // },
226
226
  * // secondarySources: [ // ProjectSources
227
227
  * // {
228
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
228
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
229
229
  * // location: "STRING_VALUE",
230
230
  * // gitCloneDepth: Number("int"),
231
231
  * // gitSubmodulesConfig: {
@@ -233,7 +233,7 @@ declare const CreateProjectCommand_base: {
233
233
  * // },
234
234
  * // buildspec: "STRING_VALUE",
235
235
  * // auth: {
236
- * // type: "OAUTH", // required
236
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
237
237
  * // resource: "STRING_VALUE",
238
238
  * // },
239
239
  * // reportBuildStatus: true || false,
@@ -37,8 +37,8 @@ declare const ImportSourceCredentialsCommand_base: {
37
37
  * const input = { // ImportSourceCredentialsInput
38
38
  * username: "STRING_VALUE",
39
39
  * token: "STRING_VALUE", // required
40
- * serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE", // required
41
- * authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN", // required
40
+ * serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "GITLAB" || "GITLAB_SELF_MANAGED", // required
41
+ * authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN" || "CODECONNECTIONS", // required
42
42
  * shouldOverwrite: true || false,
43
43
  * };
44
44
  * const command = new ImportSourceCredentialsCommand(input);
@@ -40,8 +40,9 @@ declare const ListSourceCredentialsCommand_base: {
40
40
  * // sourceCredentialsInfos: [ // SourceCredentialsInfos
41
41
  * // { // SourceCredentialsInfo
42
42
  * // arn: "STRING_VALUE",
43
- * // serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE",
44
- * // authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN",
43
+ * // serverType: "GITHUB" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "GITLAB" || "GITLAB_SELF_MANAGED",
44
+ * // authType: "OAUTH" || "BASIC_AUTH" || "PERSONAL_ACCESS_TOKEN" || "CODECONNECTIONS",
45
+ * // resource: "STRING_VALUE",
45
46
  * // },
46
47
  * // ],
47
48
  * // };
@@ -67,7 +67,7 @@ declare const RetryBuildBatchCommand_base: {
67
67
  * // },
68
68
  * // ],
69
69
  * // source: { // ProjectSource
70
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
70
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
71
71
  * // location: "STRING_VALUE",
72
72
  * // gitCloneDepth: Number("int"),
73
73
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -75,7 +75,7 @@ declare const RetryBuildBatchCommand_base: {
75
75
  * // },
76
76
  * // buildspec: "STRING_VALUE",
77
77
  * // auth: { // SourceAuth
78
- * // type: "OAUTH", // required
78
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
79
79
  * // resource: "STRING_VALUE",
80
80
  * // },
81
81
  * // reportBuildStatus: true || false,
@@ -88,7 +88,7 @@ declare const RetryBuildBatchCommand_base: {
88
88
  * // },
89
89
  * // secondarySources: [ // ProjectSources
90
90
  * // {
91
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
91
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
92
92
  * // location: "STRING_VALUE",
93
93
  * // gitCloneDepth: Number("int"),
94
94
  * // gitSubmodulesConfig: {
@@ -96,7 +96,7 @@ declare const RetryBuildBatchCommand_base: {
96
96
  * // },
97
97
  * // buildspec: "STRING_VALUE",
98
98
  * // auth: {
99
- * // type: "OAUTH", // required
99
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
100
100
  * // resource: "STRING_VALUE",
101
101
  * // },
102
102
  * // reportBuildStatus: true || false,
@@ -67,7 +67,7 @@ declare const RetryBuildCommand_base: {
67
67
  * // },
68
68
  * // ],
69
69
  * // source: { // ProjectSource
70
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
70
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
71
71
  * // location: "STRING_VALUE",
72
72
  * // gitCloneDepth: Number("int"),
73
73
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -75,7 +75,7 @@ declare const RetryBuildCommand_base: {
75
75
  * // },
76
76
  * // buildspec: "STRING_VALUE",
77
77
  * // auth: { // SourceAuth
78
- * // type: "OAUTH", // required
78
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
79
79
  * // resource: "STRING_VALUE",
80
80
  * // },
81
81
  * // reportBuildStatus: true || false,
@@ -88,7 +88,7 @@ declare const RetryBuildCommand_base: {
88
88
  * // },
89
89
  * // secondarySources: [ // ProjectSources
90
90
  * // {
91
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
91
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
92
92
  * // location: "STRING_VALUE",
93
93
  * // gitCloneDepth: Number("int"),
94
94
  * // gitSubmodulesConfig: {
@@ -96,7 +96,7 @@ declare const RetryBuildCommand_base: {
96
96
  * // },
97
97
  * // buildspec: "STRING_VALUE",
98
98
  * // auth: {
99
- * // type: "OAUTH", // required
99
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
100
100
  * // resource: "STRING_VALUE",
101
101
  * // },
102
102
  * // reportBuildStatus: true || false,
@@ -37,7 +37,7 @@ declare const StartBuildBatchCommand_base: {
37
37
  * projectName: "STRING_VALUE", // required
38
38
  * secondarySourcesOverride: [ // ProjectSources
39
39
  * { // ProjectSource
40
- * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
40
+ * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
41
41
  * location: "STRING_VALUE",
42
42
  * gitCloneDepth: Number("int"),
43
43
  * gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -45,7 +45,7 @@ declare const StartBuildBatchCommand_base: {
45
45
  * },
46
46
  * buildspec: "STRING_VALUE",
47
47
  * auth: { // SourceAuth
48
- * type: "OAUTH", // required
48
+ * type: "OAUTH" || "CODECONNECTIONS", // required
49
49
  * resource: "STRING_VALUE",
50
50
  * },
51
51
  * reportBuildStatus: true || false,
@@ -97,10 +97,10 @@ declare const StartBuildBatchCommand_base: {
97
97
  * type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
98
98
  * },
99
99
  * ],
100
- * sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE",
100
+ * sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE",
101
101
  * sourceLocationOverride: "STRING_VALUE",
102
102
  * sourceAuthOverride: {
103
- * type: "OAUTH", // required
103
+ * type: "OAUTH" || "CODECONNECTIONS", // required
104
104
  * resource: "STRING_VALUE",
105
105
  * },
106
106
  * gitCloneDepthOverride: Number("int"),
@@ -188,7 +188,7 @@ declare const StartBuildBatchCommand_base: {
188
188
  * // },
189
189
  * // ],
190
190
  * // source: { // ProjectSource
191
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
191
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
192
192
  * // location: "STRING_VALUE",
193
193
  * // gitCloneDepth: Number("int"),
194
194
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -196,7 +196,7 @@ declare const StartBuildBatchCommand_base: {
196
196
  * // },
197
197
  * // buildspec: "STRING_VALUE",
198
198
  * // auth: { // SourceAuth
199
- * // type: "OAUTH", // required
199
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
200
200
  * // resource: "STRING_VALUE",
201
201
  * // },
202
202
  * // reportBuildStatus: true || false,
@@ -209,7 +209,7 @@ declare const StartBuildBatchCommand_base: {
209
209
  * // },
210
210
  * // secondarySources: [ // ProjectSources
211
211
  * // {
212
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
212
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
213
213
  * // location: "STRING_VALUE",
214
214
  * // gitCloneDepth: Number("int"),
215
215
  * // gitSubmodulesConfig: {
@@ -217,7 +217,7 @@ declare const StartBuildBatchCommand_base: {
217
217
  * // },
218
218
  * // buildspec: "STRING_VALUE",
219
219
  * // auth: {
220
- * // type: "OAUTH", // required
220
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
221
221
  * // resource: "STRING_VALUE",
222
222
  * // },
223
223
  * // reportBuildStatus: true || false,
@@ -40,7 +40,7 @@ declare const StartBuildCommand_base: {
40
40
  * projectName: "STRING_VALUE", // required
41
41
  * secondarySourcesOverride: [ // ProjectSources
42
42
  * { // ProjectSource
43
- * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
43
+ * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
44
44
  * location: "STRING_VALUE",
45
45
  * gitCloneDepth: Number("int"),
46
46
  * gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -48,7 +48,7 @@ declare const StartBuildCommand_base: {
48
48
  * },
49
49
  * buildspec: "STRING_VALUE",
50
50
  * auth: { // SourceAuth
51
- * type: "OAUTH", // required
51
+ * type: "OAUTH" || "CODECONNECTIONS", // required
52
52
  * resource: "STRING_VALUE",
53
53
  * },
54
54
  * reportBuildStatus: true || false,
@@ -100,10 +100,10 @@ declare const StartBuildCommand_base: {
100
100
  * type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
101
101
  * },
102
102
  * ],
103
- * sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE",
103
+ * sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE",
104
104
  * sourceLocationOverride: "STRING_VALUE",
105
105
  * sourceAuthOverride: {
106
- * type: "OAUTH", // required
106
+ * type: "OAUTH" || "CODECONNECTIONS", // required
107
107
  * resource: "STRING_VALUE",
108
108
  * },
109
109
  * gitCloneDepthOverride: Number("int"),
@@ -187,7 +187,7 @@ declare const StartBuildCommand_base: {
187
187
  * // },
188
188
  * // ],
189
189
  * // source: { // ProjectSource
190
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
190
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
191
191
  * // location: "STRING_VALUE",
192
192
  * // gitCloneDepth: Number("int"),
193
193
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -195,7 +195,7 @@ declare const StartBuildCommand_base: {
195
195
  * // },
196
196
  * // buildspec: "STRING_VALUE",
197
197
  * // auth: { // SourceAuth
198
- * // type: "OAUTH", // required
198
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
199
199
  * // resource: "STRING_VALUE",
200
200
  * // },
201
201
  * // reportBuildStatus: true || false,
@@ -208,7 +208,7 @@ declare const StartBuildCommand_base: {
208
208
  * // },
209
209
  * // secondarySources: [ // ProjectSources
210
210
  * // {
211
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
211
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
212
212
  * // location: "STRING_VALUE",
213
213
  * // gitCloneDepth: Number("int"),
214
214
  * // gitSubmodulesConfig: {
@@ -216,7 +216,7 @@ declare const StartBuildCommand_base: {
216
216
  * // },
217
217
  * // buildspec: "STRING_VALUE",
218
218
  * // auth: {
219
- * // type: "OAUTH", // required
219
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
220
220
  * // resource: "STRING_VALUE",
221
221
  * // },
222
222
  * // reportBuildStatus: true || false,
@@ -65,7 +65,7 @@ declare const StopBuildBatchCommand_base: {
65
65
  * // },
66
66
  * // ],
67
67
  * // source: { // ProjectSource
68
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
68
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
69
69
  * // location: "STRING_VALUE",
70
70
  * // gitCloneDepth: Number("int"),
71
71
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -73,7 +73,7 @@ declare const StopBuildBatchCommand_base: {
73
73
  * // },
74
74
  * // buildspec: "STRING_VALUE",
75
75
  * // auth: { // SourceAuth
76
- * // type: "OAUTH", // required
76
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
77
77
  * // resource: "STRING_VALUE",
78
78
  * // },
79
79
  * // reportBuildStatus: true || false,
@@ -86,7 +86,7 @@ declare const StopBuildBatchCommand_base: {
86
86
  * // },
87
87
  * // secondarySources: [ // ProjectSources
88
88
  * // {
89
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
89
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
90
90
  * // location: "STRING_VALUE",
91
91
  * // gitCloneDepth: Number("int"),
92
92
  * // gitSubmodulesConfig: {
@@ -94,7 +94,7 @@ declare const StopBuildBatchCommand_base: {
94
94
  * // },
95
95
  * // buildspec: "STRING_VALUE",
96
96
  * // auth: {
97
- * // type: "OAUTH", // required
97
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
98
98
  * // resource: "STRING_VALUE",
99
99
  * // },
100
100
  * // reportBuildStatus: true || false,
@@ -66,7 +66,7 @@ declare const StopBuildCommand_base: {
66
66
  * // },
67
67
  * // ],
68
68
  * // source: { // ProjectSource
69
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
69
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
70
70
  * // location: "STRING_VALUE",
71
71
  * // gitCloneDepth: Number("int"),
72
72
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -74,7 +74,7 @@ declare const StopBuildCommand_base: {
74
74
  * // },
75
75
  * // buildspec: "STRING_VALUE",
76
76
  * // auth: { // SourceAuth
77
- * // type: "OAUTH", // required
77
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
78
78
  * // resource: "STRING_VALUE",
79
79
  * // },
80
80
  * // reportBuildStatus: true || false,
@@ -87,7 +87,7 @@ declare const StopBuildCommand_base: {
87
87
  * // },
88
88
  * // secondarySources: [ // ProjectSources
89
89
  * // {
90
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
90
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
91
91
  * // location: "STRING_VALUE",
92
92
  * // gitCloneDepth: Number("int"),
93
93
  * // gitSubmodulesConfig: {
@@ -95,7 +95,7 @@ declare const StopBuildCommand_base: {
95
95
  * // },
96
96
  * // buildspec: "STRING_VALUE",
97
97
  * // auth: {
98
- * // type: "OAUTH", // required
98
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
99
99
  * // resource: "STRING_VALUE",
100
100
  * // },
101
101
  * // reportBuildStatus: true || false,
@@ -37,7 +37,7 @@ declare const UpdateProjectCommand_base: {
37
37
  * name: "STRING_VALUE", // required
38
38
  * description: "STRING_VALUE",
39
39
  * source: { // ProjectSource
40
- * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
40
+ * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
41
41
  * location: "STRING_VALUE",
42
42
  * gitCloneDepth: Number("int"),
43
43
  * gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -45,7 +45,7 @@ declare const UpdateProjectCommand_base: {
45
45
  * },
46
46
  * buildspec: "STRING_VALUE",
47
47
  * auth: { // SourceAuth
48
- * type: "OAUTH", // required
48
+ * type: "OAUTH" || "CODECONNECTIONS", // required
49
49
  * resource: "STRING_VALUE",
50
50
  * },
51
51
  * reportBuildStatus: true || false,
@@ -58,7 +58,7 @@ declare const UpdateProjectCommand_base: {
58
58
  * },
59
59
  * secondarySources: [ // ProjectSources
60
60
  * {
61
- * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
61
+ * type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
62
62
  * location: "STRING_VALUE",
63
63
  * gitCloneDepth: Number("int"),
64
64
  * gitSubmodulesConfig: {
@@ -66,7 +66,7 @@ declare const UpdateProjectCommand_base: {
66
66
  * },
67
67
  * buildspec: "STRING_VALUE",
68
68
  * auth: {
69
- * type: "OAUTH", // required
69
+ * type: "OAUTH" || "CODECONNECTIONS", // required
70
70
  * resource: "STRING_VALUE",
71
71
  * },
72
72
  * reportBuildStatus: true || false,
@@ -204,7 +204,7 @@ declare const UpdateProjectCommand_base: {
204
204
  * // arn: "STRING_VALUE",
205
205
  * // description: "STRING_VALUE",
206
206
  * // source: { // ProjectSource
207
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
207
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
208
208
  * // location: "STRING_VALUE",
209
209
  * // gitCloneDepth: Number("int"),
210
210
  * // gitSubmodulesConfig: { // GitSubmodulesConfig
@@ -212,7 +212,7 @@ declare const UpdateProjectCommand_base: {
212
212
  * // },
213
213
  * // buildspec: "STRING_VALUE",
214
214
  * // auth: { // SourceAuth
215
- * // type: "OAUTH", // required
215
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
216
216
  * // resource: "STRING_VALUE",
217
217
  * // },
218
218
  * // reportBuildStatus: true || false,
@@ -225,7 +225,7 @@ declare const UpdateProjectCommand_base: {
225
225
  * // },
226
226
  * // secondarySources: [ // ProjectSources
227
227
  * // {
228
- * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
228
+ * // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "GITLAB" || "GITLAB_SELF_MANAGED" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
229
229
  * // location: "STRING_VALUE",
230
230
  * // gitCloneDepth: Number("int"),
231
231
  * // gitSubmodulesConfig: {
@@ -233,7 +233,7 @@ declare const UpdateProjectCommand_base: {
233
233
  * // },
234
234
  * // buildspec: "STRING_VALUE",
235
235
  * // auth: {
236
- * // type: "OAUTH", // required
236
+ * // type: "OAUTH" || "CODECONNECTIONS", // required
237
237
  * // resource: "STRING_VALUE",
238
238
  * // },
239
239
  * // reportBuildStatus: true || false,
@@ -21,5 +21,4 @@ export { CodeBuildExtensionConfiguration } from "./extensionConfiguration";
21
21
  export * from "./commands";
22
22
  export * from "./pagination";
23
23
  export * from "./models";
24
- import "@aws-sdk/util-endpoints";
25
24
  export { CodeBuildServiceException } from "./models/CodeBuildServiceException";
@@ -55,6 +55,7 @@ export type ArtifactsType = (typeof ArtifactsType)[keyof typeof ArtifactsType];
55
55
  */
56
56
  export declare const AuthType: {
57
57
  readonly BASIC_AUTH: "BASIC_AUTH";
58
+ readonly CODECONNECTIONS: "CODECONNECTIONS";
58
59
  readonly OAUTH: "OAUTH";
59
60
  readonly PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN";
60
61
  };
@@ -1330,6 +1331,7 @@ export interface BuildBatchPhase {
1330
1331
  * @enum
1331
1332
  */
1332
1333
  export declare const SourceAuthType: {
1334
+ readonly CODECONNECTIONS: "CODECONNECTIONS";
1333
1335
  readonly OAUTH: "OAUTH";
1334
1336
  };
1335
1337
  /**
@@ -1345,11 +1347,7 @@ export type SourceAuthType = (typeof SourceAuthType)[keyof typeof SourceAuthType
1345
1347
  */
1346
1348
  export interface SourceAuth {
1347
1349
  /**
1348
- * <note>
1349
- * <p> This data type is deprecated and is no longer accurate or used. </p>
1350
- * </note>
1351
- * <p>The authorization type to use. The only valid value is <code>OAUTH</code>, which
1352
- * represents the OAuth authorization type.</p>
1350
+ * <p>The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.</p>
1353
1351
  * @public
1354
1352
  */
1355
1353
  type: SourceAuthType | undefined;
@@ -1424,6 +1422,8 @@ export declare const SourceType: {
1424
1422
  readonly CODEPIPELINE: "CODEPIPELINE";
1425
1423
  readonly GITHUB: "GITHUB";
1426
1424
  readonly GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE";
1425
+ readonly GITLAB: "GITLAB";
1426
+ readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
1427
1427
  readonly NO_SOURCE: "NO_SOURCE";
1428
1428
  readonly S3: "S3";
1429
1429
  };
@@ -1455,8 +1455,7 @@ export interface ProjectSource {
1455
1455
  * </li>
1456
1456
  * <li>
1457
1457
  * <p>
1458
- * <code>GITHUB</code>: The source code is in a GitHub or GitHub Enterprise Cloud
1459
- * repository.</p>
1458
+ * <code>GITHUB</code>: The source code is in a GitHub repository.</p>
1460
1459
  * </li>
1461
1460
  * <li>
1462
1461
  * <p>
@@ -1465,6 +1464,14 @@ export interface ProjectSource {
1465
1464
  * </li>
1466
1465
  * <li>
1467
1466
  * <p>
1467
+ * <code>GITLAB</code>: The source code is in a GitLab repository.</p>
1468
+ * </li>
1469
+ * <li>
1470
+ * <p>
1471
+ * <code>GITLAB_SELF_MANAGED</code>: The source code is in a self-managed GitLab repository.</p>
1472
+ * </li>
1473
+ * <li>
1474
+ * <p>
1468
1475
  * <code>NO_SOURCE</code>: The project does not have input source code.</p>
1469
1476
  * </li>
1470
1477
  * <li>
@@ -1518,6 +1525,18 @@ export interface ProjectSource {
1518
1525
  * <code>OAUTH</code>.</p>
1519
1526
  * </li>
1520
1527
  * <li>
1528
+ * <p>For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository
1529
+ * that contains the source and the buildspec file. You must connect your Amazon Web Services account
1530
+ * to your GitLab account. Use the CodeBuild console to start creating a build
1531
+ * project. When you use the console to connect (or reconnect) with GitLab, on the
1532
+ * Connections <b>Authorize application</b> page, choose <b>Authorize</b>. Then on the CodeStar Connections <b>Create GitLab connection</b> page,
1533
+ * choose <b>Connect to GitLab</b>. (After you have connected to your GitLab account,
1534
+ * you do not need to finish creating the build project. You can leave the CodeBuild
1535
+ * console.) To instruct CodeBuild to override the default connection and use this connection instead,
1536
+ * set the <code>auth</code> object's <code>type</code> value to
1537
+ * <code>CODECONNECTIONS</code> in the <code>source</code> object.</p>
1538
+ * </li>
1539
+ * <li>
1521
1540
  * <p>For source code in a Bitbucket repository, the HTTPS clone URL to the
1522
1541
  * repository that contains the source and the buildspec file. You must connect
1523
1542
  * your Amazon Web Services account to your Bitbucket account. Use the CodeBuild console to start
@@ -1572,7 +1591,7 @@ export interface ProjectSource {
1572
1591
  /**
1573
1592
  * <p> Set to true to report the status of a build's start and finish to your source
1574
1593
  * provider. This option is valid only when your source provider is GitHub, GitHub
1575
- * Enterprise, or Bitbucket. If this is set and you use a different source provider, an
1594
+ * Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an
1576
1595
  * <code>invalidInputException</code> is thrown. </p>
1577
1596
  * <p>To be able to report the build status to the source provider, the user associated with the source provider must
1578
1597
  * have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see <a href="https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html">Source provider access</a> in the <i>CodeBuild User Guide</i>.</p>
@@ -1624,7 +1643,7 @@ export interface ProjectSourceVersion {
1624
1643
  * <p>For CodeCommit: the commit ID, branch, or Git tag to use.</p>
1625
1644
  * </li>
1626
1645
  * <li>
1627
- * <p>For GitHub: the commit ID, pull request ID, branch name, or tag name that
1646
+ * <p>For GitHub or GitLab: the commit ID, pull request ID, branch name, or tag name that
1628
1647
  * corresponds to the version of the source code you want to build. If a pull
1629
1648
  * request ID is specified, it must use the format <code>pr/pull-request-ID</code>
1630
1649
  * (for example, <code>pr/25</code>). If a branch name is specified, the branch's
@@ -2582,6 +2601,10 @@ export interface FleetStatus {
2582
2601
  * </li>
2583
2602
  * <li>
2584
2603
  * <p>
2604
+ * <code>PENDING_DELETION</code>: The compute fleet is pending deletion.</p>
2605
+ * </li>
2606
+ * <li>
2607
+ * <p>
2585
2608
  * <code>DELETING</code>: The compute fleet is being deleted.</p>
2586
2609
  * </li>
2587
2610
  * <li>
@@ -5147,6 +5170,8 @@ export declare const ServerType: {
5147
5170
  readonly BITBUCKET: "BITBUCKET";
5148
5171
  readonly GITHUB: "GITHUB";
5149
5172
  readonly GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE";
5173
+ readonly GITLAB: "GITLAB";
5174
+ readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
5150
5175
  };
5151
5176
  /**
5152
5177
  * @public
@@ -6131,7 +6156,7 @@ export interface ListSharedReportGroupsOutput {
6131
6156
  export interface ListSourceCredentialsInput {
6132
6157
  }
6133
6158
  /**
6134
- * <p> Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket
6159
+ * <p> Information about the credentials for a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket
6135
6160
  * repository. </p>
6136
6161
  * @public
6137
6162
  */
@@ -6142,17 +6167,22 @@ export interface SourceCredentialsInfo {
6142
6167
  */
6143
6168
  arn?: string;
6144
6169
  /**
6145
- * <p> The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or
6170
+ * <p> The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or
6146
6171
  * BITBUCKET. </p>
6147
6172
  * @public
6148
6173
  */
6149
6174
  serverType?: ServerType;
6150
6175
  /**
6151
6176
  * <p> The type of authentication used by the credentials. Valid options are OAUTH,
6152
- * BASIC_AUTH, or PERSONAL_ACCESS_TOKEN. </p>
6177
+ * BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS. </p>
6153
6178
  * @public
6154
6179
  */
6155
6180
  authType?: AuthType;
6181
+ /**
6182
+ * <p>The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.</p>
6183
+ * @public
6184
+ */
6185
+ resource?: string;
6156
6186
  }
6157
6187
  /**
6158
6188
  * @public
@@ -6,5 +6,4 @@ export { CodeBuildExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { CodeBuildServiceException } from "./models/CodeBuildServiceException";
@@ -27,6 +27,7 @@ export declare const ArtifactsType: {
27
27
  export type ArtifactsType = (typeof ArtifactsType)[keyof typeof ArtifactsType];
28
28
  export declare const AuthType: {
29
29
  readonly BASIC_AUTH: "BASIC_AUTH";
30
+ readonly CODECONNECTIONS: "CODECONNECTIONS";
30
31
  readonly OAUTH: "OAUTH";
31
32
  readonly PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN";
32
33
  };
@@ -252,6 +253,7 @@ export interface BuildBatchPhase {
252
253
  contexts?: PhaseContext[];
253
254
  }
254
255
  export declare const SourceAuthType: {
256
+ readonly CODECONNECTIONS: "CODECONNECTIONS";
255
257
  readonly OAUTH: "OAUTH";
256
258
  };
257
259
  export type SourceAuthType =
@@ -273,6 +275,8 @@ export declare const SourceType: {
273
275
  readonly CODEPIPELINE: "CODEPIPELINE";
274
276
  readonly GITHUB: "GITHUB";
275
277
  readonly GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE";
278
+ readonly GITLAB: "GITLAB";
279
+ readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
276
280
  readonly NO_SOURCE: "NO_SOURCE";
277
281
  readonly S3: "S3";
278
282
  };
@@ -902,6 +906,8 @@ export declare const ServerType: {
902
906
  readonly BITBUCKET: "BITBUCKET";
903
907
  readonly GITHUB: "GITHUB";
904
908
  readonly GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE";
909
+ readonly GITLAB: "GITLAB";
910
+ readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
905
911
  };
906
912
  export type ServerType = (typeof ServerType)[keyof typeof ServerType];
907
913
  export interface ImportSourceCredentialsInput {
@@ -1098,6 +1104,7 @@ export interface SourceCredentialsInfo {
1098
1104
  arn?: string;
1099
1105
  serverType?: ServerType;
1100
1106
  authType?: AuthType;
1107
+ resource?: string;
1101
1108
  }
1102
1109
  export interface ListSourceCredentialsOutput {
1103
1110
  sourceCredentialsInfos?: SourceCredentialsInfo[];
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.538.0",
4
+ "version": "3.541.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,16 +20,16 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.535.0",
23
+ "@aws-sdk/client-sts": "3.540.0",
24
24
  "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
- "@aws-sdk/middleware-user-agent": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
30
  "@aws-sdk/region-config-resolver": "3.535.0",
31
31
  "@aws-sdk/types": "3.535.0",
32
- "@aws-sdk/util-endpoints": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",