@aws-sdk/client-codebuild 3.408.0 → 3.409.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/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/CodeBuild.d.ts +2 -2
- package/dist-types/CodeBuildClient.d.ts +2 -2
- package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +26 -26
- package/dist-types/commands/BatchGetBuildsCommand.d.ts +20 -20
- package/dist-types/commands/BatchGetProjectsCommand.d.ts +27 -27
- package/dist-types/commands/BatchGetReportGroupsCommand.d.ts +4 -4
- package/dist-types/commands/BatchGetReportsCommand.d.ts +4 -4
- package/dist-types/commands/CreateProjectCommand.d.ts +51 -51
- package/dist-types/commands/CreateReportGroupCommand.d.ts +7 -7
- package/dist-types/commands/CreateWebhookCommand.d.ts +4 -4
- package/dist-types/commands/DescribeCodeCoveragesCommand.d.ts +2 -2
- package/dist-types/commands/GetReportGroupTrendCommand.d.ts +1 -1
- package/dist-types/commands/ImportSourceCredentialsCommand.d.ts +2 -2
- package/dist-types/commands/ListBuildBatchesCommand.d.ts +2 -2
- package/dist-types/commands/ListBuildBatchesForProjectCommand.d.ts +2 -2
- package/dist-types/commands/ListBuildsCommand.d.ts +1 -1
- package/dist-types/commands/ListBuildsForProjectCommand.d.ts +1 -1
- package/dist-types/commands/ListCuratedEnvironmentImagesCommand.d.ts +2 -2
- package/dist-types/commands/ListProjectsCommand.d.ts +2 -2
- package/dist-types/commands/ListReportGroupsCommand.d.ts +2 -2
- package/dist-types/commands/ListReportsCommand.d.ts +2 -2
- package/dist-types/commands/ListReportsForReportGroupCommand.d.ts +2 -2
- package/dist-types/commands/ListSharedProjectsCommand.d.ts +2 -2
- package/dist-types/commands/ListSharedReportGroupsCommand.d.ts +2 -2
- package/dist-types/commands/ListSourceCredentialsCommand.d.ts +2 -2
- package/dist-types/commands/RetryBuildBatchCommand.d.ts +27 -27
- package/dist-types/commands/RetryBuildCommand.d.ts +20 -20
- package/dist-types/commands/StartBuildBatchCommand.d.ts +49 -49
- package/dist-types/commands/StartBuildCommand.d.ts +42 -42
- package/dist-types/commands/StopBuildBatchCommand.d.ts +26 -26
- package/dist-types/commands/StopBuildCommand.d.ts +20 -20
- package/dist-types/commands/UpdateProjectCommand.d.ts +51 -51
- package/dist-types/commands/UpdateProjectVisibilityCommand.d.ts +2 -2
- package/dist-types/commands/UpdateReportGroupCommand.d.ts +6 -6
- package/dist-types/commands/UpdateWebhookCommand.d.ts +4 -4
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +486 -489
- package/package.json +3 -3
|
@@ -33,7 +33,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
33
33
|
* const input = { // RetryBuildBatchInput
|
|
34
34
|
* id: "STRING_VALUE",
|
|
35
35
|
* idempotencyToken: "STRING_VALUE",
|
|
36
|
-
* retryType: "
|
|
36
|
+
* retryType: "RETRY_ALL_BUILDS" || "RETRY_FAILED_BUILDS",
|
|
37
37
|
* };
|
|
38
38
|
* const command = new RetryBuildBatchCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
@@ -44,14 +44,14 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
44
44
|
* // startTime: new Date("TIMESTAMP"),
|
|
45
45
|
* // endTime: new Date("TIMESTAMP"),
|
|
46
46
|
* // currentPhase: "STRING_VALUE",
|
|
47
|
-
* // buildBatchStatus: "
|
|
47
|
+
* // buildBatchStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
48
48
|
* // sourceVersion: "STRING_VALUE",
|
|
49
49
|
* // resolvedSourceVersion: "STRING_VALUE",
|
|
50
50
|
* // projectName: "STRING_VALUE",
|
|
51
51
|
* // phases: [ // BuildBatchPhases
|
|
52
52
|
* // { // BuildBatchPhase
|
|
53
|
-
* // phaseType: "
|
|
54
|
-
* // phaseStatus: "
|
|
53
|
+
* // phaseType: "SUBMITTED" || "DOWNLOAD_BATCHSPEC" || "IN_PROGRESS" || "COMBINE_ARTIFACTS" || "SUCCEEDED" || "FAILED" || "STOPPED",
|
|
54
|
+
* // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
55
55
|
* // startTime: new Date("TIMESTAMP"),
|
|
56
56
|
* // endTime: new Date("TIMESTAMP"),
|
|
57
57
|
* // durationInSeconds: Number("long"),
|
|
@@ -64,7 +64,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
64
64
|
* // },
|
|
65
65
|
* // ],
|
|
66
66
|
* // source: { // ProjectSource
|
|
67
|
-
* // type: "
|
|
67
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
68
68
|
* // location: "STRING_VALUE",
|
|
69
69
|
* // gitCloneDepth: Number("int"),
|
|
70
70
|
* // gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
@@ -72,7 +72,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
72
72
|
* // },
|
|
73
73
|
* // buildspec: "STRING_VALUE",
|
|
74
74
|
* // auth: { // SourceAuth
|
|
75
|
-
* // type: "
|
|
75
|
+
* // type: "OAUTH", // required
|
|
76
76
|
* // resource: "STRING_VALUE",
|
|
77
77
|
* // },
|
|
78
78
|
* // reportBuildStatus: true || false,
|
|
@@ -85,7 +85,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
85
85
|
* // },
|
|
86
86
|
* // secondarySources: [ // ProjectSources
|
|
87
87
|
* // {
|
|
88
|
-
* // type: "
|
|
88
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
89
89
|
* // location: "STRING_VALUE",
|
|
90
90
|
* // gitCloneDepth: Number("int"),
|
|
91
91
|
* // gitSubmodulesConfig: {
|
|
@@ -93,7 +93,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
93
93
|
* // },
|
|
94
94
|
* // buildspec: "STRING_VALUE",
|
|
95
95
|
* // auth: {
|
|
96
|
-
* // type: "
|
|
96
|
+
* // type: "OAUTH", // required
|
|
97
97
|
* // resource: "STRING_VALUE",
|
|
98
98
|
* // },
|
|
99
99
|
* // reportBuildStatus: true || false,
|
|
@@ -118,7 +118,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
118
118
|
* // overrideArtifactName: true || false,
|
|
119
119
|
* // encryptionDisabled: true || false,
|
|
120
120
|
* // artifactIdentifier: "STRING_VALUE",
|
|
121
|
-
* // bucketOwnerAccess: "
|
|
121
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
122
122
|
* // },
|
|
123
123
|
* // secondaryArtifacts: [ // BuildArtifactsList
|
|
124
124
|
* // {
|
|
@@ -128,47 +128,47 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
128
128
|
* // overrideArtifactName: true || false,
|
|
129
129
|
* // encryptionDisabled: true || false,
|
|
130
130
|
* // artifactIdentifier: "STRING_VALUE",
|
|
131
|
-
* // bucketOwnerAccess: "
|
|
131
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
132
132
|
* // },
|
|
133
133
|
* // ],
|
|
134
134
|
* // cache: { // ProjectCache
|
|
135
|
-
* // type: "
|
|
135
|
+
* // type: "NO_CACHE" || "S3" || "LOCAL", // required
|
|
136
136
|
* // location: "STRING_VALUE",
|
|
137
137
|
* // modes: [ // ProjectCacheModes
|
|
138
|
-
* // "
|
|
138
|
+
* // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE",
|
|
139
139
|
* // ],
|
|
140
140
|
* // },
|
|
141
141
|
* // environment: { // ProjectEnvironment
|
|
142
|
-
* // type: "
|
|
142
|
+
* // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required
|
|
143
143
|
* // image: "STRING_VALUE", // required
|
|
144
|
-
* // computeType: "
|
|
144
|
+
* // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required
|
|
145
145
|
* // environmentVariables: [ // EnvironmentVariables
|
|
146
146
|
* // { // EnvironmentVariable
|
|
147
147
|
* // name: "STRING_VALUE", // required
|
|
148
148
|
* // value: "STRING_VALUE", // required
|
|
149
|
-
* // type: "
|
|
149
|
+
* // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
|
|
150
150
|
* // },
|
|
151
151
|
* // ],
|
|
152
152
|
* // privilegedMode: true || false,
|
|
153
153
|
* // certificate: "STRING_VALUE",
|
|
154
154
|
* // registryCredential: { // RegistryCredential
|
|
155
155
|
* // credential: "STRING_VALUE", // required
|
|
156
|
-
* // credentialProvider: "
|
|
156
|
+
* // credentialProvider: "SECRETS_MANAGER", // required
|
|
157
157
|
* // },
|
|
158
|
-
* // imagePullCredentialsType: "
|
|
158
|
+
* // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE",
|
|
159
159
|
* // },
|
|
160
160
|
* // serviceRole: "STRING_VALUE",
|
|
161
161
|
* // logConfig: { // LogsConfig
|
|
162
162
|
* // cloudWatchLogs: { // CloudWatchLogsConfig
|
|
163
|
-
* // status: "
|
|
163
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
164
164
|
* // groupName: "STRING_VALUE",
|
|
165
165
|
* // streamName: "STRING_VALUE",
|
|
166
166
|
* // },
|
|
167
167
|
* // s3Logs: { // S3LogsConfig
|
|
168
|
-
* // status: "
|
|
168
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
169
169
|
* // location: "STRING_VALUE",
|
|
170
170
|
* // encryptionDisabled: true || false,
|
|
171
|
-
* // bucketOwnerAccess: "
|
|
171
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
172
172
|
* // },
|
|
173
173
|
* // },
|
|
174
174
|
* // buildTimeoutInMinutes: Number("int"),
|
|
@@ -188,7 +188,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
188
188
|
* // buildBatchNumber: Number("long"),
|
|
189
189
|
* // fileSystemLocations: [ // ProjectFileSystemLocations
|
|
190
190
|
* // { // ProjectFileSystemLocation
|
|
191
|
-
* // type: "
|
|
191
|
+
* // type: "EFS",
|
|
192
192
|
* // location: "STRING_VALUE",
|
|
193
193
|
* // mountPoint: "STRING_VALUE",
|
|
194
194
|
* // identifier: "STRING_VALUE",
|
|
@@ -205,7 +205,7 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
205
205
|
* // ],
|
|
206
206
|
* // },
|
|
207
207
|
* // timeoutInMins: Number("int"),
|
|
208
|
-
* // batchReportMode: "
|
|
208
|
+
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
|
|
209
209
|
* // },
|
|
210
210
|
* // buildGroups: [ // BuildGroups
|
|
211
211
|
* // { // BuildGroup
|
|
@@ -217,15 +217,15 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
217
217
|
* // currentBuildSummary: { // BuildSummary
|
|
218
218
|
* // arn: "STRING_VALUE",
|
|
219
219
|
* // requestedOn: new Date("TIMESTAMP"),
|
|
220
|
-
* // buildStatus: "
|
|
220
|
+
* // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
221
221
|
* // primaryArtifact: { // ResolvedArtifact
|
|
222
|
-
* // type: "
|
|
222
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS",
|
|
223
223
|
* // location: "STRING_VALUE",
|
|
224
224
|
* // identifier: "STRING_VALUE",
|
|
225
225
|
* // },
|
|
226
226
|
* // secondaryArtifacts: [ // ResolvedSecondaryArtifacts
|
|
227
227
|
* // {
|
|
228
|
-
* // type: "
|
|
228
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS",
|
|
229
229
|
* // location: "STRING_VALUE",
|
|
230
230
|
* // identifier: "STRING_VALUE",
|
|
231
231
|
* // },
|
|
@@ -235,9 +235,9 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
235
235
|
* // {
|
|
236
236
|
* // arn: "STRING_VALUE",
|
|
237
237
|
* // requestedOn: new Date("TIMESTAMP"),
|
|
238
|
-
* // buildStatus: "
|
|
238
|
+
* // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
239
239
|
* // primaryArtifact: {
|
|
240
|
-
* // type: "
|
|
240
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS",
|
|
241
241
|
* // location: "STRING_VALUE",
|
|
242
242
|
* // identifier: "STRING_VALUE",
|
|
243
243
|
* // },
|
|
@@ -44,14 +44,14 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
44
44
|
* // startTime: new Date("TIMESTAMP"),
|
|
45
45
|
* // endTime: new Date("TIMESTAMP"),
|
|
46
46
|
* // currentPhase: "STRING_VALUE",
|
|
47
|
-
* // buildStatus: "
|
|
47
|
+
* // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
48
48
|
* // sourceVersion: "STRING_VALUE",
|
|
49
49
|
* // resolvedSourceVersion: "STRING_VALUE",
|
|
50
50
|
* // projectName: "STRING_VALUE",
|
|
51
51
|
* // phases: [ // BuildPhases
|
|
52
52
|
* // { // BuildPhase
|
|
53
|
-
* // phaseType: "
|
|
54
|
-
* // phaseStatus: "
|
|
53
|
+
* // phaseType: "SUBMITTED" || "QUEUED" || "PROVISIONING" || "DOWNLOAD_SOURCE" || "INSTALL" || "PRE_BUILD" || "BUILD" || "POST_BUILD" || "UPLOAD_ARTIFACTS" || "FINALIZING" || "COMPLETED",
|
|
54
|
+
* // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
55
55
|
* // startTime: new Date("TIMESTAMP"),
|
|
56
56
|
* // endTime: new Date("TIMESTAMP"),
|
|
57
57
|
* // durationInSeconds: Number("long"),
|
|
@@ -64,7 +64,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
64
64
|
* // },
|
|
65
65
|
* // ],
|
|
66
66
|
* // source: { // ProjectSource
|
|
67
|
-
* // type: "
|
|
67
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
68
68
|
* // location: "STRING_VALUE",
|
|
69
69
|
* // gitCloneDepth: Number("int"),
|
|
70
70
|
* // gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
@@ -72,7 +72,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
72
72
|
* // },
|
|
73
73
|
* // buildspec: "STRING_VALUE",
|
|
74
74
|
* // auth: { // SourceAuth
|
|
75
|
-
* // type: "
|
|
75
|
+
* // type: "OAUTH", // required
|
|
76
76
|
* // resource: "STRING_VALUE",
|
|
77
77
|
* // },
|
|
78
78
|
* // reportBuildStatus: true || false,
|
|
@@ -85,7 +85,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
85
85
|
* // },
|
|
86
86
|
* // secondarySources: [ // ProjectSources
|
|
87
87
|
* // {
|
|
88
|
-
* // type: "
|
|
88
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
89
89
|
* // location: "STRING_VALUE",
|
|
90
90
|
* // gitCloneDepth: Number("int"),
|
|
91
91
|
* // gitSubmodulesConfig: {
|
|
@@ -93,7 +93,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
93
93
|
* // },
|
|
94
94
|
* // buildspec: "STRING_VALUE",
|
|
95
95
|
* // auth: {
|
|
96
|
-
* // type: "
|
|
96
|
+
* // type: "OAUTH", // required
|
|
97
97
|
* // resource: "STRING_VALUE",
|
|
98
98
|
* // },
|
|
99
99
|
* // reportBuildStatus: true || false,
|
|
@@ -118,7 +118,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
118
118
|
* // overrideArtifactName: true || false,
|
|
119
119
|
* // encryptionDisabled: true || false,
|
|
120
120
|
* // artifactIdentifier: "STRING_VALUE",
|
|
121
|
-
* // bucketOwnerAccess: "
|
|
121
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
122
122
|
* // },
|
|
123
123
|
* // secondaryArtifacts: [ // BuildArtifactsList
|
|
124
124
|
* // {
|
|
@@ -128,34 +128,34 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
128
128
|
* // overrideArtifactName: true || false,
|
|
129
129
|
* // encryptionDisabled: true || false,
|
|
130
130
|
* // artifactIdentifier: "STRING_VALUE",
|
|
131
|
-
* // bucketOwnerAccess: "
|
|
131
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
132
132
|
* // },
|
|
133
133
|
* // ],
|
|
134
134
|
* // cache: { // ProjectCache
|
|
135
|
-
* // type: "
|
|
135
|
+
* // type: "NO_CACHE" || "S3" || "LOCAL", // required
|
|
136
136
|
* // location: "STRING_VALUE",
|
|
137
137
|
* // modes: [ // ProjectCacheModes
|
|
138
|
-
* // "
|
|
138
|
+
* // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE",
|
|
139
139
|
* // ],
|
|
140
140
|
* // },
|
|
141
141
|
* // environment: { // ProjectEnvironment
|
|
142
|
-
* // type: "
|
|
142
|
+
* // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required
|
|
143
143
|
* // image: "STRING_VALUE", // required
|
|
144
|
-
* // computeType: "
|
|
144
|
+
* // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required
|
|
145
145
|
* // environmentVariables: [ // EnvironmentVariables
|
|
146
146
|
* // { // EnvironmentVariable
|
|
147
147
|
* // name: "STRING_VALUE", // required
|
|
148
148
|
* // value: "STRING_VALUE", // required
|
|
149
|
-
* // type: "
|
|
149
|
+
* // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
|
|
150
150
|
* // },
|
|
151
151
|
* // ],
|
|
152
152
|
* // privilegedMode: true || false,
|
|
153
153
|
* // certificate: "STRING_VALUE",
|
|
154
154
|
* // registryCredential: { // RegistryCredential
|
|
155
155
|
* // credential: "STRING_VALUE", // required
|
|
156
|
-
* // credentialProvider: "
|
|
156
|
+
* // credentialProvider: "SECRETS_MANAGER", // required
|
|
157
157
|
* // },
|
|
158
|
-
* // imagePullCredentialsType: "
|
|
158
|
+
* // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE",
|
|
159
159
|
* // },
|
|
160
160
|
* // serviceRole: "STRING_VALUE",
|
|
161
161
|
* // logs: { // LogsLocation
|
|
@@ -166,15 +166,15 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
166
166
|
* // cloudWatchLogsArn: "STRING_VALUE",
|
|
167
167
|
* // s3LogsArn: "STRING_VALUE",
|
|
168
168
|
* // cloudWatchLogs: { // CloudWatchLogsConfig
|
|
169
|
-
* // status: "
|
|
169
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
170
170
|
* // groupName: "STRING_VALUE",
|
|
171
171
|
* // streamName: "STRING_VALUE",
|
|
172
172
|
* // },
|
|
173
173
|
* // s3Logs: { // S3LogsConfig
|
|
174
|
-
* // status: "
|
|
174
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
175
175
|
* // location: "STRING_VALUE",
|
|
176
176
|
* // encryptionDisabled: true || false,
|
|
177
|
-
* // bucketOwnerAccess: "
|
|
177
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
178
178
|
* // },
|
|
179
179
|
* // },
|
|
180
180
|
* // timeoutInMinutes: Number("int"),
|
|
@@ -206,7 +206,7 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
206
206
|
* // ],
|
|
207
207
|
* // fileSystemLocations: [ // ProjectFileSystemLocations
|
|
208
208
|
* // { // ProjectFileSystemLocation
|
|
209
|
-
* // type: "
|
|
209
|
+
* // type: "EFS",
|
|
210
210
|
* // location: "STRING_VALUE",
|
|
211
211
|
* // mountPoint: "STRING_VALUE",
|
|
212
212
|
* // identifier: "STRING_VALUE",
|
|
@@ -34,7 +34,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
34
34
|
* projectName: "STRING_VALUE", // required
|
|
35
35
|
* secondarySourcesOverride: [ // ProjectSources
|
|
36
36
|
* { // ProjectSource
|
|
37
|
-
* type: "
|
|
37
|
+
* type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
38
38
|
* location: "STRING_VALUE",
|
|
39
39
|
* gitCloneDepth: Number("int"),
|
|
40
40
|
* gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
@@ -42,7 +42,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
42
42
|
* },
|
|
43
43
|
* buildspec: "STRING_VALUE",
|
|
44
44
|
* auth: { // SourceAuth
|
|
45
|
-
* type: "
|
|
45
|
+
* type: "OAUTH", // required
|
|
46
46
|
* resource: "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
48
|
* reportBuildStatus: true || false,
|
|
@@ -62,42 +62,42 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
62
62
|
* ],
|
|
63
63
|
* sourceVersion: "STRING_VALUE",
|
|
64
64
|
* artifactsOverride: { // ProjectArtifacts
|
|
65
|
-
* type: "
|
|
65
|
+
* type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required
|
|
66
66
|
* location: "STRING_VALUE",
|
|
67
67
|
* path: "STRING_VALUE",
|
|
68
|
-
* namespaceType: "
|
|
68
|
+
* namespaceType: "NONE" || "BUILD_ID",
|
|
69
69
|
* name: "STRING_VALUE",
|
|
70
|
-
* packaging: "
|
|
70
|
+
* packaging: "NONE" || "ZIP",
|
|
71
71
|
* overrideArtifactName: true || false,
|
|
72
72
|
* encryptionDisabled: true || false,
|
|
73
73
|
* artifactIdentifier: "STRING_VALUE",
|
|
74
|
-
* bucketOwnerAccess: "
|
|
74
|
+
* bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
75
75
|
* },
|
|
76
76
|
* secondaryArtifactsOverride: [ // ProjectArtifactsList
|
|
77
77
|
* {
|
|
78
|
-
* type: "
|
|
78
|
+
* type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS", // required
|
|
79
79
|
* location: "STRING_VALUE",
|
|
80
80
|
* path: "STRING_VALUE",
|
|
81
|
-
* namespaceType: "
|
|
81
|
+
* namespaceType: "NONE" || "BUILD_ID",
|
|
82
82
|
* name: "STRING_VALUE",
|
|
83
|
-
* packaging: "
|
|
83
|
+
* packaging: "NONE" || "ZIP",
|
|
84
84
|
* overrideArtifactName: true || false,
|
|
85
85
|
* encryptionDisabled: true || false,
|
|
86
86
|
* artifactIdentifier: "STRING_VALUE",
|
|
87
|
-
* bucketOwnerAccess: "
|
|
87
|
+
* bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
88
88
|
* },
|
|
89
89
|
* ],
|
|
90
90
|
* environmentVariablesOverride: [ // EnvironmentVariables
|
|
91
91
|
* { // EnvironmentVariable
|
|
92
92
|
* name: "STRING_VALUE", // required
|
|
93
93
|
* value: "STRING_VALUE", // required
|
|
94
|
-
* type: "
|
|
94
|
+
* type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
|
|
95
95
|
* },
|
|
96
96
|
* ],
|
|
97
|
-
* sourceTypeOverride: "
|
|
97
|
+
* sourceTypeOverride: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE",
|
|
98
98
|
* sourceLocationOverride: "STRING_VALUE",
|
|
99
99
|
* sourceAuthOverride: {
|
|
100
|
-
* type: "
|
|
100
|
+
* type: "OAUTH", // required
|
|
101
101
|
* resource: "STRING_VALUE",
|
|
102
102
|
* },
|
|
103
103
|
* gitCloneDepthOverride: Number("int"),
|
|
@@ -107,15 +107,15 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
107
107
|
* buildspecOverride: "STRING_VALUE",
|
|
108
108
|
* insecureSslOverride: true || false,
|
|
109
109
|
* reportBuildBatchStatusOverride: true || false,
|
|
110
|
-
* environmentTypeOverride: "
|
|
110
|
+
* environmentTypeOverride: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER",
|
|
111
111
|
* imageOverride: "STRING_VALUE",
|
|
112
|
-
* computeTypeOverride: "
|
|
112
|
+
* computeTypeOverride: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE",
|
|
113
113
|
* certificateOverride: "STRING_VALUE",
|
|
114
114
|
* cacheOverride: { // ProjectCache
|
|
115
|
-
* type: "
|
|
115
|
+
* type: "NO_CACHE" || "S3" || "LOCAL", // required
|
|
116
116
|
* location: "STRING_VALUE",
|
|
117
117
|
* modes: [ // ProjectCacheModes
|
|
118
|
-
* "
|
|
118
|
+
* "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE",
|
|
119
119
|
* ],
|
|
120
120
|
* },
|
|
121
121
|
* serviceRoleOverride: "STRING_VALUE",
|
|
@@ -126,22 +126,22 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
126
126
|
* idempotencyToken: "STRING_VALUE",
|
|
127
127
|
* logsConfigOverride: { // LogsConfig
|
|
128
128
|
* cloudWatchLogs: { // CloudWatchLogsConfig
|
|
129
|
-
* status: "
|
|
129
|
+
* status: "ENABLED" || "DISABLED", // required
|
|
130
130
|
* groupName: "STRING_VALUE",
|
|
131
131
|
* streamName: "STRING_VALUE",
|
|
132
132
|
* },
|
|
133
133
|
* s3Logs: { // S3LogsConfig
|
|
134
|
-
* status: "
|
|
134
|
+
* status: "ENABLED" || "DISABLED", // required
|
|
135
135
|
* location: "STRING_VALUE",
|
|
136
136
|
* encryptionDisabled: true || false,
|
|
137
|
-
* bucketOwnerAccess: "
|
|
137
|
+
* bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
138
138
|
* },
|
|
139
139
|
* },
|
|
140
140
|
* registryCredentialOverride: { // RegistryCredential
|
|
141
141
|
* credential: "STRING_VALUE", // required
|
|
142
|
-
* credentialProvider: "
|
|
142
|
+
* credentialProvider: "SECRETS_MANAGER", // required
|
|
143
143
|
* },
|
|
144
|
-
* imagePullCredentialsTypeOverride: "
|
|
144
|
+
* imagePullCredentialsTypeOverride: "CODEBUILD" || "SERVICE_ROLE",
|
|
145
145
|
* buildBatchConfigOverride: { // ProjectBuildBatchConfig
|
|
146
146
|
* serviceRole: "STRING_VALUE",
|
|
147
147
|
* combineArtifacts: true || false,
|
|
@@ -152,7 +152,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
152
152
|
* ],
|
|
153
153
|
* },
|
|
154
154
|
* timeoutInMins: Number("int"),
|
|
155
|
-
* batchReportMode: "
|
|
155
|
+
* batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
|
|
156
156
|
* },
|
|
157
157
|
* debugSessionEnabled: true || false,
|
|
158
158
|
* };
|
|
@@ -165,14 +165,14 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
165
165
|
* // startTime: new Date("TIMESTAMP"),
|
|
166
166
|
* // endTime: new Date("TIMESTAMP"),
|
|
167
167
|
* // currentPhase: "STRING_VALUE",
|
|
168
|
-
* // buildBatchStatus: "
|
|
168
|
+
* // buildBatchStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
169
169
|
* // sourceVersion: "STRING_VALUE",
|
|
170
170
|
* // resolvedSourceVersion: "STRING_VALUE",
|
|
171
171
|
* // projectName: "STRING_VALUE",
|
|
172
172
|
* // phases: [ // BuildBatchPhases
|
|
173
173
|
* // { // BuildBatchPhase
|
|
174
|
-
* // phaseType: "
|
|
175
|
-
* // phaseStatus: "
|
|
174
|
+
* // phaseType: "SUBMITTED" || "DOWNLOAD_BATCHSPEC" || "IN_PROGRESS" || "COMBINE_ARTIFACTS" || "SUCCEEDED" || "FAILED" || "STOPPED",
|
|
175
|
+
* // phaseStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
176
176
|
* // startTime: new Date("TIMESTAMP"),
|
|
177
177
|
* // endTime: new Date("TIMESTAMP"),
|
|
178
178
|
* // durationInSeconds: Number("long"),
|
|
@@ -185,7 +185,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
185
185
|
* // },
|
|
186
186
|
* // ],
|
|
187
187
|
* // source: { // ProjectSource
|
|
188
|
-
* // type: "
|
|
188
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
189
189
|
* // location: "STRING_VALUE",
|
|
190
190
|
* // gitCloneDepth: Number("int"),
|
|
191
191
|
* // gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
@@ -193,7 +193,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
193
193
|
* // },
|
|
194
194
|
* // buildspec: "STRING_VALUE",
|
|
195
195
|
* // auth: { // SourceAuth
|
|
196
|
-
* // type: "
|
|
196
|
+
* // type: "OAUTH", // required
|
|
197
197
|
* // resource: "STRING_VALUE",
|
|
198
198
|
* // },
|
|
199
199
|
* // reportBuildStatus: true || false,
|
|
@@ -206,7 +206,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
206
206
|
* // },
|
|
207
207
|
* // secondarySources: [ // ProjectSources
|
|
208
208
|
* // {
|
|
209
|
-
* // type: "
|
|
209
|
+
* // type: "CODECOMMIT" || "CODEPIPELINE" || "GITHUB" || "S3" || "BITBUCKET" || "GITHUB_ENTERPRISE" || "NO_SOURCE", // required
|
|
210
210
|
* // location: "STRING_VALUE",
|
|
211
211
|
* // gitCloneDepth: Number("int"),
|
|
212
212
|
* // gitSubmodulesConfig: {
|
|
@@ -214,7 +214,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
214
214
|
* // },
|
|
215
215
|
* // buildspec: "STRING_VALUE",
|
|
216
216
|
* // auth: {
|
|
217
|
-
* // type: "
|
|
217
|
+
* // type: "OAUTH", // required
|
|
218
218
|
* // resource: "STRING_VALUE",
|
|
219
219
|
* // },
|
|
220
220
|
* // reportBuildStatus: true || false,
|
|
@@ -239,7 +239,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
239
239
|
* // overrideArtifactName: true || false,
|
|
240
240
|
* // encryptionDisabled: true || false,
|
|
241
241
|
* // artifactIdentifier: "STRING_VALUE",
|
|
242
|
-
* // bucketOwnerAccess: "
|
|
242
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
243
243
|
* // },
|
|
244
244
|
* // secondaryArtifacts: [ // BuildArtifactsList
|
|
245
245
|
* // {
|
|
@@ -249,47 +249,47 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
249
249
|
* // overrideArtifactName: true || false,
|
|
250
250
|
* // encryptionDisabled: true || false,
|
|
251
251
|
* // artifactIdentifier: "STRING_VALUE",
|
|
252
|
-
* // bucketOwnerAccess: "
|
|
252
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
253
253
|
* // },
|
|
254
254
|
* // ],
|
|
255
255
|
* // cache: { // ProjectCache
|
|
256
|
-
* // type: "
|
|
256
|
+
* // type: "NO_CACHE" || "S3" || "LOCAL", // required
|
|
257
257
|
* // location: "STRING_VALUE",
|
|
258
258
|
* // modes: [ // ProjectCacheModes
|
|
259
|
-
* // "
|
|
259
|
+
* // "LOCAL_DOCKER_LAYER_CACHE" || "LOCAL_SOURCE_CACHE" || "LOCAL_CUSTOM_CACHE",
|
|
260
260
|
* // ],
|
|
261
261
|
* // },
|
|
262
262
|
* // environment: { // ProjectEnvironment
|
|
263
|
-
* // type: "
|
|
263
|
+
* // type: "WINDOWS_CONTAINER" || "LINUX_CONTAINER" || "LINUX_GPU_CONTAINER" || "ARM_CONTAINER" || "WINDOWS_SERVER_2019_CONTAINER", // required
|
|
264
264
|
* // image: "STRING_VALUE", // required
|
|
265
|
-
* // computeType: "
|
|
265
|
+
* // computeType: "BUILD_GENERAL1_SMALL" || "BUILD_GENERAL1_MEDIUM" || "BUILD_GENERAL1_LARGE" || "BUILD_GENERAL1_2XLARGE", // required
|
|
266
266
|
* // environmentVariables: [ // EnvironmentVariables
|
|
267
267
|
* // { // EnvironmentVariable
|
|
268
268
|
* // name: "STRING_VALUE", // required
|
|
269
269
|
* // value: "STRING_VALUE", // required
|
|
270
|
-
* // type: "
|
|
270
|
+
* // type: "PLAINTEXT" || "PARAMETER_STORE" || "SECRETS_MANAGER",
|
|
271
271
|
* // },
|
|
272
272
|
* // ],
|
|
273
273
|
* // privilegedMode: true || false,
|
|
274
274
|
* // certificate: "STRING_VALUE",
|
|
275
275
|
* // registryCredential: { // RegistryCredential
|
|
276
276
|
* // credential: "STRING_VALUE", // required
|
|
277
|
-
* // credentialProvider: "
|
|
277
|
+
* // credentialProvider: "SECRETS_MANAGER", // required
|
|
278
278
|
* // },
|
|
279
|
-
* // imagePullCredentialsType: "
|
|
279
|
+
* // imagePullCredentialsType: "CODEBUILD" || "SERVICE_ROLE",
|
|
280
280
|
* // },
|
|
281
281
|
* // serviceRole: "STRING_VALUE",
|
|
282
282
|
* // logConfig: { // LogsConfig
|
|
283
283
|
* // cloudWatchLogs: { // CloudWatchLogsConfig
|
|
284
|
-
* // status: "
|
|
284
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
285
285
|
* // groupName: "STRING_VALUE",
|
|
286
286
|
* // streamName: "STRING_VALUE",
|
|
287
287
|
* // },
|
|
288
288
|
* // s3Logs: { // S3LogsConfig
|
|
289
|
-
* // status: "
|
|
289
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
290
290
|
* // location: "STRING_VALUE",
|
|
291
291
|
* // encryptionDisabled: true || false,
|
|
292
|
-
* // bucketOwnerAccess: "
|
|
292
|
+
* // bucketOwnerAccess: "NONE" || "READ_ONLY" || "FULL",
|
|
293
293
|
* // },
|
|
294
294
|
* // },
|
|
295
295
|
* // buildTimeoutInMinutes: Number("int"),
|
|
@@ -309,7 +309,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
309
309
|
* // buildBatchNumber: Number("long"),
|
|
310
310
|
* // fileSystemLocations: [ // ProjectFileSystemLocations
|
|
311
311
|
* // { // ProjectFileSystemLocation
|
|
312
|
-
* // type: "
|
|
312
|
+
* // type: "EFS",
|
|
313
313
|
* // location: "STRING_VALUE",
|
|
314
314
|
* // mountPoint: "STRING_VALUE",
|
|
315
315
|
* // identifier: "STRING_VALUE",
|
|
@@ -326,7 +326,7 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
326
326
|
* // ],
|
|
327
327
|
* // },
|
|
328
328
|
* // timeoutInMins: Number("int"),
|
|
329
|
-
* // batchReportMode: "
|
|
329
|
+
* // batchReportMode: "REPORT_INDIVIDUAL_BUILDS" || "REPORT_AGGREGATED_BATCH",
|
|
330
330
|
* // },
|
|
331
331
|
* // buildGroups: [ // BuildGroups
|
|
332
332
|
* // { // BuildGroup
|
|
@@ -338,15 +338,15 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
338
338
|
* // currentBuildSummary: { // BuildSummary
|
|
339
339
|
* // arn: "STRING_VALUE",
|
|
340
340
|
* // requestedOn: new Date("TIMESTAMP"),
|
|
341
|
-
* // buildStatus: "
|
|
341
|
+
* // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
342
342
|
* // primaryArtifact: { // ResolvedArtifact
|
|
343
|
-
* // type: "
|
|
343
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS",
|
|
344
344
|
* // location: "STRING_VALUE",
|
|
345
345
|
* // identifier: "STRING_VALUE",
|
|
346
346
|
* // },
|
|
347
347
|
* // secondaryArtifacts: [ // ResolvedSecondaryArtifacts
|
|
348
348
|
* // {
|
|
349
|
-
* // type: "
|
|
349
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS",
|
|
350
350
|
* // location: "STRING_VALUE",
|
|
351
351
|
* // identifier: "STRING_VALUE",
|
|
352
352
|
* // },
|
|
@@ -356,9 +356,9 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
356
356
|
* // {
|
|
357
357
|
* // arn: "STRING_VALUE",
|
|
358
358
|
* // requestedOn: new Date("TIMESTAMP"),
|
|
359
|
-
* // buildStatus: "
|
|
359
|
+
* // buildStatus: "SUCCEEDED" || "FAILED" || "FAULT" || "TIMED_OUT" || "IN_PROGRESS" || "STOPPED",
|
|
360
360
|
* // primaryArtifact: {
|
|
361
|
-
* // type: "
|
|
361
|
+
* // type: "CODEPIPELINE" || "S3" || "NO_ARTIFACTS",
|
|
362
362
|
* // location: "STRING_VALUE",
|
|
363
363
|
* // identifier: "STRING_VALUE",
|
|
364
364
|
* // },
|