@aws-sdk/client-codebuild 3.325.0 → 3.327.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-types/commands/BatchDeleteBuildsCommand.d.ts +14 -0
- package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +222 -0
- package/dist-types/commands/BatchGetBuildsCommand.d.ts +192 -0
- package/dist-types/commands/BatchGetProjectsCommand.d.ts +196 -0
- package/dist-types/commands/BatchGetReportGroupsCommand.d.ts +35 -0
- package/dist-types/commands/BatchGetReportsCommand.d.ts +47 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +191 -0
- package/dist-types/commands/CreateReportGroupCommand.d.ts +30 -0
- package/dist-types/commands/CreateWebhookCommand.d.ts +22 -0
- package/dist-types/commands/DeleteBuildBatchCommand.d.ts +15 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +4 -0
- package/dist-types/commands/DeleteReportCommand.d.ts +4 -0
- package/dist-types/commands/DeleteReportGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSourceCredentialsCommand.d.ts +6 -0
- package/dist-types/commands/DeleteWebhookCommand.d.ts +4 -0
- package/dist-types/commands/DescribeCodeCoveragesCommand.d.ts +20 -0
- package/dist-types/commands/DescribeTestCasesCommand.d.ts +18 -0
- package/dist-types/commands/GetReportGroupTrendCommand.d.ts +16 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -0
- package/dist-types/commands/ImportSourceCredentialsCommand.d.ts +6 -0
- package/dist-types/commands/InvalidateProjectCacheCommand.d.ts +4 -0
- package/dist-types/commands/ListBuildBatchesCommand.d.ts +9 -0
- package/dist-types/commands/ListBuildBatchesForProjectCommand.d.ts +9 -0
- package/dist-types/commands/ListBuildsCommand.d.ts +9 -0
- package/dist-types/commands/ListBuildsForProjectCommand.d.ts +9 -0
- package/dist-types/commands/ListCuratedEnvironmentImagesCommand.d.ts +24 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +9 -0
- package/dist-types/commands/ListReportGroupsCommand.d.ts +9 -0
- package/dist-types/commands/ListReportsCommand.d.ts +9 -0
- package/dist-types/commands/ListReportsForReportGroupCommand.d.ts +9 -0
- package/dist-types/commands/ListSharedProjectsCommand.d.ts +9 -0
- package/dist-types/commands/ListSharedReportGroupsCommand.d.ts +9 -0
- package/dist-types/commands/ListSourceCredentialsCommand.d.ts +12 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
- package/dist-types/commands/RetryBuildBatchCommand.d.ts +217 -0
- package/dist-types/commands/RetryBuildCommand.d.ts +187 -0
- package/dist-types/commands/StartBuildBatchCommand.d.ts +217 -0
- package/dist-types/commands/StartBuildCommand.d.ts +187 -0
- package/dist-types/commands/StopBuildBatchCommand.d.ts +217 -0
- package/dist-types/commands/StopBuildCommand.d.ts +187 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +191 -0
- package/dist-types/commands/UpdateProjectVisibilityCommand.d.ts +8 -0
- package/dist-types/commands/UpdateReportGroupCommand.d.ts +30 -0
- package/dist-types/commands/UpdateWebhookCommand.d.ts +22 -0
- package/package.json +7 -7
|
@@ -33,6 +33,221 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new RetryBuildBatchCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // RetryBuildBatchOutput
|
|
37
|
+
* // buildBatch: { // BuildBatch
|
|
38
|
+
* // id: "STRING_VALUE",
|
|
39
|
+
* // arn: "STRING_VALUE",
|
|
40
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
41
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
42
|
+
* // currentPhase: "STRING_VALUE",
|
|
43
|
+
* // buildBatchStatus: "STRING_VALUE",
|
|
44
|
+
* // sourceVersion: "STRING_VALUE",
|
|
45
|
+
* // resolvedSourceVersion: "STRING_VALUE",
|
|
46
|
+
* // projectName: "STRING_VALUE",
|
|
47
|
+
* // phases: [ // BuildBatchPhases
|
|
48
|
+
* // { // BuildBatchPhase
|
|
49
|
+
* // phaseType: "STRING_VALUE",
|
|
50
|
+
* // phaseStatus: "STRING_VALUE",
|
|
51
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // durationInSeconds: Number("long"),
|
|
54
|
+
* // contexts: [ // PhaseContexts
|
|
55
|
+
* // { // PhaseContext
|
|
56
|
+
* // statusCode: "STRING_VALUE",
|
|
57
|
+
* // message: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // source: { // ProjectSource
|
|
63
|
+
* // type: "STRING_VALUE", // required
|
|
64
|
+
* // location: "STRING_VALUE",
|
|
65
|
+
* // gitCloneDepth: Number("int"),
|
|
66
|
+
* // gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
67
|
+
* // fetchSubmodules: true || false, // required
|
|
68
|
+
* // },
|
|
69
|
+
* // buildspec: "STRING_VALUE",
|
|
70
|
+
* // auth: { // SourceAuth
|
|
71
|
+
* // type: "STRING_VALUE", // required
|
|
72
|
+
* // resource: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // reportBuildStatus: true || false,
|
|
75
|
+
* // buildStatusConfig: { // BuildStatusConfig
|
|
76
|
+
* // context: "STRING_VALUE",
|
|
77
|
+
* // targetUrl: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // insecureSsl: true || false,
|
|
80
|
+
* // sourceIdentifier: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // secondarySources: [ // ProjectSources
|
|
83
|
+
* // {
|
|
84
|
+
* // type: "STRING_VALUE", // required
|
|
85
|
+
* // location: "STRING_VALUE",
|
|
86
|
+
* // gitCloneDepth: Number("int"),
|
|
87
|
+
* // gitSubmodulesConfig: {
|
|
88
|
+
* // fetchSubmodules: true || false, // required
|
|
89
|
+
* // },
|
|
90
|
+
* // buildspec: "STRING_VALUE",
|
|
91
|
+
* // auth: {
|
|
92
|
+
* // type: "STRING_VALUE", // required
|
|
93
|
+
* // resource: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // reportBuildStatus: true || false,
|
|
96
|
+
* // buildStatusConfig: {
|
|
97
|
+
* // context: "STRING_VALUE",
|
|
98
|
+
* // targetUrl: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // insecureSsl: true || false,
|
|
101
|
+
* // sourceIdentifier: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // secondarySourceVersions: [ // ProjectSecondarySourceVersions
|
|
105
|
+
* // { // ProjectSourceVersion
|
|
106
|
+
* // sourceIdentifier: "STRING_VALUE", // required
|
|
107
|
+
* // sourceVersion: "STRING_VALUE", // required
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // artifacts: { // BuildArtifacts
|
|
111
|
+
* // location: "STRING_VALUE",
|
|
112
|
+
* // sha256sum: "STRING_VALUE",
|
|
113
|
+
* // md5sum: "STRING_VALUE",
|
|
114
|
+
* // overrideArtifactName: true || false,
|
|
115
|
+
* // encryptionDisabled: true || false,
|
|
116
|
+
* // artifactIdentifier: "STRING_VALUE",
|
|
117
|
+
* // bucketOwnerAccess: "STRING_VALUE",
|
|
118
|
+
* // },
|
|
119
|
+
* // secondaryArtifacts: [ // BuildArtifactsList
|
|
120
|
+
* // {
|
|
121
|
+
* // location: "STRING_VALUE",
|
|
122
|
+
* // sha256sum: "STRING_VALUE",
|
|
123
|
+
* // md5sum: "STRING_VALUE",
|
|
124
|
+
* // overrideArtifactName: true || false,
|
|
125
|
+
* // encryptionDisabled: true || false,
|
|
126
|
+
* // artifactIdentifier: "STRING_VALUE",
|
|
127
|
+
* // bucketOwnerAccess: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // cache: { // ProjectCache
|
|
131
|
+
* // type: "STRING_VALUE", // required
|
|
132
|
+
* // location: "STRING_VALUE",
|
|
133
|
+
* // modes: [ // ProjectCacheModes
|
|
134
|
+
* // "STRING_VALUE",
|
|
135
|
+
* // ],
|
|
136
|
+
* // },
|
|
137
|
+
* // environment: { // ProjectEnvironment
|
|
138
|
+
* // type: "STRING_VALUE", // required
|
|
139
|
+
* // image: "STRING_VALUE", // required
|
|
140
|
+
* // computeType: "STRING_VALUE", // required
|
|
141
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
142
|
+
* // { // EnvironmentVariable
|
|
143
|
+
* // name: "STRING_VALUE", // required
|
|
144
|
+
* // value: "STRING_VALUE", // required
|
|
145
|
+
* // type: "STRING_VALUE",
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // privilegedMode: true || false,
|
|
149
|
+
* // certificate: "STRING_VALUE",
|
|
150
|
+
* // registryCredential: { // RegistryCredential
|
|
151
|
+
* // credential: "STRING_VALUE", // required
|
|
152
|
+
* // credentialProvider: "STRING_VALUE", // required
|
|
153
|
+
* // },
|
|
154
|
+
* // imagePullCredentialsType: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // serviceRole: "STRING_VALUE",
|
|
157
|
+
* // logConfig: { // LogsConfig
|
|
158
|
+
* // cloudWatchLogs: { // CloudWatchLogsConfig
|
|
159
|
+
* // status: "STRING_VALUE", // required
|
|
160
|
+
* // groupName: "STRING_VALUE",
|
|
161
|
+
* // streamName: "STRING_VALUE",
|
|
162
|
+
* // },
|
|
163
|
+
* // s3Logs: { // S3LogsConfig
|
|
164
|
+
* // status: "STRING_VALUE", // required
|
|
165
|
+
* // location: "STRING_VALUE",
|
|
166
|
+
* // encryptionDisabled: true || false,
|
|
167
|
+
* // bucketOwnerAccess: "STRING_VALUE",
|
|
168
|
+
* // },
|
|
169
|
+
* // },
|
|
170
|
+
* // buildTimeoutInMinutes: Number("int"),
|
|
171
|
+
* // queuedTimeoutInMinutes: Number("int"),
|
|
172
|
+
* // complete: true || false,
|
|
173
|
+
* // initiator: "STRING_VALUE",
|
|
174
|
+
* // vpcConfig: { // VpcConfig
|
|
175
|
+
* // vpcId: "STRING_VALUE",
|
|
176
|
+
* // subnets: [ // Subnets
|
|
177
|
+
* // "STRING_VALUE",
|
|
178
|
+
* // ],
|
|
179
|
+
* // securityGroupIds: [ // SecurityGroupIds
|
|
180
|
+
* // "STRING_VALUE",
|
|
181
|
+
* // ],
|
|
182
|
+
* // },
|
|
183
|
+
* // encryptionKey: "STRING_VALUE",
|
|
184
|
+
* // buildBatchNumber: Number("long"),
|
|
185
|
+
* // fileSystemLocations: [ // ProjectFileSystemLocations
|
|
186
|
+
* // { // ProjectFileSystemLocation
|
|
187
|
+
* // type: "STRING_VALUE",
|
|
188
|
+
* // location: "STRING_VALUE",
|
|
189
|
+
* // mountPoint: "STRING_VALUE",
|
|
190
|
+
* // identifier: "STRING_VALUE",
|
|
191
|
+
* // mountOptions: "STRING_VALUE",
|
|
192
|
+
* // },
|
|
193
|
+
* // ],
|
|
194
|
+
* // buildBatchConfig: { // ProjectBuildBatchConfig
|
|
195
|
+
* // serviceRole: "STRING_VALUE",
|
|
196
|
+
* // combineArtifacts: true || false,
|
|
197
|
+
* // restrictions: { // BatchRestrictions
|
|
198
|
+
* // maximumBuildsAllowed: Number("int"),
|
|
199
|
+
* // computeTypesAllowed: [ // ComputeTypesAllowed
|
|
200
|
+
* // "STRING_VALUE",
|
|
201
|
+
* // ],
|
|
202
|
+
* // },
|
|
203
|
+
* // timeoutInMins: Number("int"),
|
|
204
|
+
* // batchReportMode: "STRING_VALUE",
|
|
205
|
+
* // },
|
|
206
|
+
* // buildGroups: [ // BuildGroups
|
|
207
|
+
* // { // BuildGroup
|
|
208
|
+
* // identifier: "STRING_VALUE",
|
|
209
|
+
* // dependsOn: [ // Identifiers
|
|
210
|
+
* // "STRING_VALUE",
|
|
211
|
+
* // ],
|
|
212
|
+
* // ignoreFailure: true || false,
|
|
213
|
+
* // currentBuildSummary: { // BuildSummary
|
|
214
|
+
* // arn: "STRING_VALUE",
|
|
215
|
+
* // requestedOn: new Date("TIMESTAMP"),
|
|
216
|
+
* // buildStatus: "STRING_VALUE",
|
|
217
|
+
* // primaryArtifact: { // ResolvedArtifact
|
|
218
|
+
* // type: "STRING_VALUE",
|
|
219
|
+
* // location: "STRING_VALUE",
|
|
220
|
+
* // identifier: "STRING_VALUE",
|
|
221
|
+
* // },
|
|
222
|
+
* // secondaryArtifacts: [ // ResolvedSecondaryArtifacts
|
|
223
|
+
* // {
|
|
224
|
+
* // type: "STRING_VALUE",
|
|
225
|
+
* // location: "STRING_VALUE",
|
|
226
|
+
* // identifier: "STRING_VALUE",
|
|
227
|
+
* // },
|
|
228
|
+
* // ],
|
|
229
|
+
* // },
|
|
230
|
+
* // priorBuildSummaryList: [ // BuildSummaries
|
|
231
|
+
* // {
|
|
232
|
+
* // arn: "STRING_VALUE",
|
|
233
|
+
* // requestedOn: new Date("TIMESTAMP"),
|
|
234
|
+
* // buildStatus: "STRING_VALUE",
|
|
235
|
+
* // primaryArtifact: {
|
|
236
|
+
* // type: "STRING_VALUE",
|
|
237
|
+
* // location: "STRING_VALUE",
|
|
238
|
+
* // identifier: "STRING_VALUE",
|
|
239
|
+
* // },
|
|
240
|
+
* // secondaryArtifacts: [
|
|
241
|
+
* // "<ResolvedArtifact>",
|
|
242
|
+
* // ],
|
|
243
|
+
* // },
|
|
244
|
+
* // ],
|
|
245
|
+
* // },
|
|
246
|
+
* // ],
|
|
247
|
+
* // debugSessionEnabled: true || false,
|
|
248
|
+
* // },
|
|
249
|
+
* // };
|
|
250
|
+
*
|
|
36
251
|
* ```
|
|
37
252
|
*
|
|
38
253
|
* @param RetryBuildBatchCommandInput - {@link RetryBuildBatchCommandInput}
|
|
@@ -47,6 +262,8 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
|
|
|
47
262
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
48
263
|
* <p>The specified Amazon Web Services resource cannot be found.</p>
|
|
49
264
|
*
|
|
265
|
+
* @throws {@link CodeBuildServiceException}
|
|
266
|
+
* <p>Base exception class for all service exceptions from CodeBuild service.</p>
|
|
50
267
|
*
|
|
51
268
|
*/
|
|
52
269
|
export declare class RetryBuildBatchCommand extends $Command<RetryBuildBatchCommandInput, RetryBuildBatchCommandOutput, CodeBuildClientResolvedConfig> {
|
|
@@ -32,6 +32,191 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new RetryBuildCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // RetryBuildOutput
|
|
36
|
+
* // build: { // Build
|
|
37
|
+
* // id: "STRING_VALUE",
|
|
38
|
+
* // arn: "STRING_VALUE",
|
|
39
|
+
* // buildNumber: Number("long"),
|
|
40
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
41
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
42
|
+
* // currentPhase: "STRING_VALUE",
|
|
43
|
+
* // buildStatus: "STRING_VALUE",
|
|
44
|
+
* // sourceVersion: "STRING_VALUE",
|
|
45
|
+
* // resolvedSourceVersion: "STRING_VALUE",
|
|
46
|
+
* // projectName: "STRING_VALUE",
|
|
47
|
+
* // phases: [ // BuildPhases
|
|
48
|
+
* // { // BuildPhase
|
|
49
|
+
* // phaseType: "STRING_VALUE",
|
|
50
|
+
* // phaseStatus: "STRING_VALUE",
|
|
51
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
53
|
+
* // durationInSeconds: Number("long"),
|
|
54
|
+
* // contexts: [ // PhaseContexts
|
|
55
|
+
* // { // PhaseContext
|
|
56
|
+
* // statusCode: "STRING_VALUE",
|
|
57
|
+
* // message: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // source: { // ProjectSource
|
|
63
|
+
* // type: "STRING_VALUE", // required
|
|
64
|
+
* // location: "STRING_VALUE",
|
|
65
|
+
* // gitCloneDepth: Number("int"),
|
|
66
|
+
* // gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
67
|
+
* // fetchSubmodules: true || false, // required
|
|
68
|
+
* // },
|
|
69
|
+
* // buildspec: "STRING_VALUE",
|
|
70
|
+
* // auth: { // SourceAuth
|
|
71
|
+
* // type: "STRING_VALUE", // required
|
|
72
|
+
* // resource: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // reportBuildStatus: true || false,
|
|
75
|
+
* // buildStatusConfig: { // BuildStatusConfig
|
|
76
|
+
* // context: "STRING_VALUE",
|
|
77
|
+
* // targetUrl: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // insecureSsl: true || false,
|
|
80
|
+
* // sourceIdentifier: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // secondarySources: [ // ProjectSources
|
|
83
|
+
* // {
|
|
84
|
+
* // type: "STRING_VALUE", // required
|
|
85
|
+
* // location: "STRING_VALUE",
|
|
86
|
+
* // gitCloneDepth: Number("int"),
|
|
87
|
+
* // gitSubmodulesConfig: {
|
|
88
|
+
* // fetchSubmodules: true || false, // required
|
|
89
|
+
* // },
|
|
90
|
+
* // buildspec: "STRING_VALUE",
|
|
91
|
+
* // auth: {
|
|
92
|
+
* // type: "STRING_VALUE", // required
|
|
93
|
+
* // resource: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // reportBuildStatus: true || false,
|
|
96
|
+
* // buildStatusConfig: {
|
|
97
|
+
* // context: "STRING_VALUE",
|
|
98
|
+
* // targetUrl: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // insecureSsl: true || false,
|
|
101
|
+
* // sourceIdentifier: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // secondarySourceVersions: [ // ProjectSecondarySourceVersions
|
|
105
|
+
* // { // ProjectSourceVersion
|
|
106
|
+
* // sourceIdentifier: "STRING_VALUE", // required
|
|
107
|
+
* // sourceVersion: "STRING_VALUE", // required
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // artifacts: { // BuildArtifacts
|
|
111
|
+
* // location: "STRING_VALUE",
|
|
112
|
+
* // sha256sum: "STRING_VALUE",
|
|
113
|
+
* // md5sum: "STRING_VALUE",
|
|
114
|
+
* // overrideArtifactName: true || false,
|
|
115
|
+
* // encryptionDisabled: true || false,
|
|
116
|
+
* // artifactIdentifier: "STRING_VALUE",
|
|
117
|
+
* // bucketOwnerAccess: "STRING_VALUE",
|
|
118
|
+
* // },
|
|
119
|
+
* // secondaryArtifacts: [ // BuildArtifactsList
|
|
120
|
+
* // {
|
|
121
|
+
* // location: "STRING_VALUE",
|
|
122
|
+
* // sha256sum: "STRING_VALUE",
|
|
123
|
+
* // md5sum: "STRING_VALUE",
|
|
124
|
+
* // overrideArtifactName: true || false,
|
|
125
|
+
* // encryptionDisabled: true || false,
|
|
126
|
+
* // artifactIdentifier: "STRING_VALUE",
|
|
127
|
+
* // bucketOwnerAccess: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // cache: { // ProjectCache
|
|
131
|
+
* // type: "STRING_VALUE", // required
|
|
132
|
+
* // location: "STRING_VALUE",
|
|
133
|
+
* // modes: [ // ProjectCacheModes
|
|
134
|
+
* // "STRING_VALUE",
|
|
135
|
+
* // ],
|
|
136
|
+
* // },
|
|
137
|
+
* // environment: { // ProjectEnvironment
|
|
138
|
+
* // type: "STRING_VALUE", // required
|
|
139
|
+
* // image: "STRING_VALUE", // required
|
|
140
|
+
* // computeType: "STRING_VALUE", // required
|
|
141
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
142
|
+
* // { // EnvironmentVariable
|
|
143
|
+
* // name: "STRING_VALUE", // required
|
|
144
|
+
* // value: "STRING_VALUE", // required
|
|
145
|
+
* // type: "STRING_VALUE",
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // privilegedMode: true || false,
|
|
149
|
+
* // certificate: "STRING_VALUE",
|
|
150
|
+
* // registryCredential: { // RegistryCredential
|
|
151
|
+
* // credential: "STRING_VALUE", // required
|
|
152
|
+
* // credentialProvider: "STRING_VALUE", // required
|
|
153
|
+
* // },
|
|
154
|
+
* // imagePullCredentialsType: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // serviceRole: "STRING_VALUE",
|
|
157
|
+
* // logs: { // LogsLocation
|
|
158
|
+
* // groupName: "STRING_VALUE",
|
|
159
|
+
* // streamName: "STRING_VALUE",
|
|
160
|
+
* // deepLink: "STRING_VALUE",
|
|
161
|
+
* // s3DeepLink: "STRING_VALUE",
|
|
162
|
+
* // cloudWatchLogsArn: "STRING_VALUE",
|
|
163
|
+
* // s3LogsArn: "STRING_VALUE",
|
|
164
|
+
* // cloudWatchLogs: { // CloudWatchLogsConfig
|
|
165
|
+
* // status: "STRING_VALUE", // required
|
|
166
|
+
* // groupName: "STRING_VALUE",
|
|
167
|
+
* // streamName: "STRING_VALUE",
|
|
168
|
+
* // },
|
|
169
|
+
* // s3Logs: { // S3LogsConfig
|
|
170
|
+
* // status: "STRING_VALUE", // required
|
|
171
|
+
* // location: "STRING_VALUE",
|
|
172
|
+
* // encryptionDisabled: true || false,
|
|
173
|
+
* // bucketOwnerAccess: "STRING_VALUE",
|
|
174
|
+
* // },
|
|
175
|
+
* // },
|
|
176
|
+
* // timeoutInMinutes: Number("int"),
|
|
177
|
+
* // queuedTimeoutInMinutes: Number("int"),
|
|
178
|
+
* // buildComplete: true || false,
|
|
179
|
+
* // initiator: "STRING_VALUE",
|
|
180
|
+
* // vpcConfig: { // VpcConfig
|
|
181
|
+
* // vpcId: "STRING_VALUE",
|
|
182
|
+
* // subnets: [ // Subnets
|
|
183
|
+
* // "STRING_VALUE",
|
|
184
|
+
* // ],
|
|
185
|
+
* // securityGroupIds: [ // SecurityGroupIds
|
|
186
|
+
* // "STRING_VALUE",
|
|
187
|
+
* // ],
|
|
188
|
+
* // },
|
|
189
|
+
* // networkInterface: { // NetworkInterface
|
|
190
|
+
* // subnetId: "STRING_VALUE",
|
|
191
|
+
* // networkInterfaceId: "STRING_VALUE",
|
|
192
|
+
* // },
|
|
193
|
+
* // encryptionKey: "STRING_VALUE",
|
|
194
|
+
* // exportedEnvironmentVariables: [ // ExportedEnvironmentVariables
|
|
195
|
+
* // { // ExportedEnvironmentVariable
|
|
196
|
+
* // name: "STRING_VALUE",
|
|
197
|
+
* // value: "STRING_VALUE",
|
|
198
|
+
* // },
|
|
199
|
+
* // ],
|
|
200
|
+
* // reportArns: [ // BuildReportArns
|
|
201
|
+
* // "STRING_VALUE",
|
|
202
|
+
* // ],
|
|
203
|
+
* // fileSystemLocations: [ // ProjectFileSystemLocations
|
|
204
|
+
* // { // ProjectFileSystemLocation
|
|
205
|
+
* // type: "STRING_VALUE",
|
|
206
|
+
* // location: "STRING_VALUE",
|
|
207
|
+
* // mountPoint: "STRING_VALUE",
|
|
208
|
+
* // identifier: "STRING_VALUE",
|
|
209
|
+
* // mountOptions: "STRING_VALUE",
|
|
210
|
+
* // },
|
|
211
|
+
* // ],
|
|
212
|
+
* // debugSession: { // DebugSession
|
|
213
|
+
* // sessionEnabled: true || false,
|
|
214
|
+
* // sessionTarget: "STRING_VALUE",
|
|
215
|
+
* // },
|
|
216
|
+
* // buildBatchArn: "STRING_VALUE",
|
|
217
|
+
* // },
|
|
218
|
+
* // };
|
|
219
|
+
*
|
|
35
220
|
* ```
|
|
36
221
|
*
|
|
37
222
|
* @param RetryBuildCommandInput - {@link RetryBuildCommandInput}
|
|
@@ -49,6 +234,8 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
|
|
|
49
234
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
50
235
|
* <p>The specified Amazon Web Services resource cannot be found.</p>
|
|
51
236
|
*
|
|
237
|
+
* @throws {@link CodeBuildServiceException}
|
|
238
|
+
* <p>Base exception class for all service exceptions from CodeBuild service.</p>
|
|
52
239
|
*
|
|
53
240
|
*/
|
|
54
241
|
export declare class RetryBuildCommand extends $Command<RetryBuildCommandInput, RetryBuildCommandOutput, CodeBuildClientResolvedConfig> {
|
|
@@ -154,6 +154,221 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
154
154
|
* };
|
|
155
155
|
* const command = new StartBuildBatchCommand(input);
|
|
156
156
|
* const response = await client.send(command);
|
|
157
|
+
* // { // StartBuildBatchOutput
|
|
158
|
+
* // buildBatch: { // BuildBatch
|
|
159
|
+
* // id: "STRING_VALUE",
|
|
160
|
+
* // arn: "STRING_VALUE",
|
|
161
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
162
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
163
|
+
* // currentPhase: "STRING_VALUE",
|
|
164
|
+
* // buildBatchStatus: "STRING_VALUE",
|
|
165
|
+
* // sourceVersion: "STRING_VALUE",
|
|
166
|
+
* // resolvedSourceVersion: "STRING_VALUE",
|
|
167
|
+
* // projectName: "STRING_VALUE",
|
|
168
|
+
* // phases: [ // BuildBatchPhases
|
|
169
|
+
* // { // BuildBatchPhase
|
|
170
|
+
* // phaseType: "STRING_VALUE",
|
|
171
|
+
* // phaseStatus: "STRING_VALUE",
|
|
172
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
173
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
174
|
+
* // durationInSeconds: Number("long"),
|
|
175
|
+
* // contexts: [ // PhaseContexts
|
|
176
|
+
* // { // PhaseContext
|
|
177
|
+
* // statusCode: "STRING_VALUE",
|
|
178
|
+
* // message: "STRING_VALUE",
|
|
179
|
+
* // },
|
|
180
|
+
* // ],
|
|
181
|
+
* // },
|
|
182
|
+
* // ],
|
|
183
|
+
* // source: { // ProjectSource
|
|
184
|
+
* // type: "STRING_VALUE", // required
|
|
185
|
+
* // location: "STRING_VALUE",
|
|
186
|
+
* // gitCloneDepth: Number("int"),
|
|
187
|
+
* // gitSubmodulesConfig: { // GitSubmodulesConfig
|
|
188
|
+
* // fetchSubmodules: true || false, // required
|
|
189
|
+
* // },
|
|
190
|
+
* // buildspec: "STRING_VALUE",
|
|
191
|
+
* // auth: { // SourceAuth
|
|
192
|
+
* // type: "STRING_VALUE", // required
|
|
193
|
+
* // resource: "STRING_VALUE",
|
|
194
|
+
* // },
|
|
195
|
+
* // reportBuildStatus: true || false,
|
|
196
|
+
* // buildStatusConfig: { // BuildStatusConfig
|
|
197
|
+
* // context: "STRING_VALUE",
|
|
198
|
+
* // targetUrl: "STRING_VALUE",
|
|
199
|
+
* // },
|
|
200
|
+
* // insecureSsl: true || false,
|
|
201
|
+
* // sourceIdentifier: "STRING_VALUE",
|
|
202
|
+
* // },
|
|
203
|
+
* // secondarySources: [ // ProjectSources
|
|
204
|
+
* // {
|
|
205
|
+
* // type: "STRING_VALUE", // required
|
|
206
|
+
* // location: "STRING_VALUE",
|
|
207
|
+
* // gitCloneDepth: Number("int"),
|
|
208
|
+
* // gitSubmodulesConfig: {
|
|
209
|
+
* // fetchSubmodules: true || false, // required
|
|
210
|
+
* // },
|
|
211
|
+
* // buildspec: "STRING_VALUE",
|
|
212
|
+
* // auth: {
|
|
213
|
+
* // type: "STRING_VALUE", // required
|
|
214
|
+
* // resource: "STRING_VALUE",
|
|
215
|
+
* // },
|
|
216
|
+
* // reportBuildStatus: true || false,
|
|
217
|
+
* // buildStatusConfig: {
|
|
218
|
+
* // context: "STRING_VALUE",
|
|
219
|
+
* // targetUrl: "STRING_VALUE",
|
|
220
|
+
* // },
|
|
221
|
+
* // insecureSsl: true || false,
|
|
222
|
+
* // sourceIdentifier: "STRING_VALUE",
|
|
223
|
+
* // },
|
|
224
|
+
* // ],
|
|
225
|
+
* // secondarySourceVersions: [ // ProjectSecondarySourceVersions
|
|
226
|
+
* // { // ProjectSourceVersion
|
|
227
|
+
* // sourceIdentifier: "STRING_VALUE", // required
|
|
228
|
+
* // sourceVersion: "STRING_VALUE", // required
|
|
229
|
+
* // },
|
|
230
|
+
* // ],
|
|
231
|
+
* // artifacts: { // BuildArtifacts
|
|
232
|
+
* // location: "STRING_VALUE",
|
|
233
|
+
* // sha256sum: "STRING_VALUE",
|
|
234
|
+
* // md5sum: "STRING_VALUE",
|
|
235
|
+
* // overrideArtifactName: true || false,
|
|
236
|
+
* // encryptionDisabled: true || false,
|
|
237
|
+
* // artifactIdentifier: "STRING_VALUE",
|
|
238
|
+
* // bucketOwnerAccess: "STRING_VALUE",
|
|
239
|
+
* // },
|
|
240
|
+
* // secondaryArtifacts: [ // BuildArtifactsList
|
|
241
|
+
* // {
|
|
242
|
+
* // location: "STRING_VALUE",
|
|
243
|
+
* // sha256sum: "STRING_VALUE",
|
|
244
|
+
* // md5sum: "STRING_VALUE",
|
|
245
|
+
* // overrideArtifactName: true || false,
|
|
246
|
+
* // encryptionDisabled: true || false,
|
|
247
|
+
* // artifactIdentifier: "STRING_VALUE",
|
|
248
|
+
* // bucketOwnerAccess: "STRING_VALUE",
|
|
249
|
+
* // },
|
|
250
|
+
* // ],
|
|
251
|
+
* // cache: { // ProjectCache
|
|
252
|
+
* // type: "STRING_VALUE", // required
|
|
253
|
+
* // location: "STRING_VALUE",
|
|
254
|
+
* // modes: [ // ProjectCacheModes
|
|
255
|
+
* // "STRING_VALUE",
|
|
256
|
+
* // ],
|
|
257
|
+
* // },
|
|
258
|
+
* // environment: { // ProjectEnvironment
|
|
259
|
+
* // type: "STRING_VALUE", // required
|
|
260
|
+
* // image: "STRING_VALUE", // required
|
|
261
|
+
* // computeType: "STRING_VALUE", // required
|
|
262
|
+
* // environmentVariables: [ // EnvironmentVariables
|
|
263
|
+
* // { // EnvironmentVariable
|
|
264
|
+
* // name: "STRING_VALUE", // required
|
|
265
|
+
* // value: "STRING_VALUE", // required
|
|
266
|
+
* // type: "STRING_VALUE",
|
|
267
|
+
* // },
|
|
268
|
+
* // ],
|
|
269
|
+
* // privilegedMode: true || false,
|
|
270
|
+
* // certificate: "STRING_VALUE",
|
|
271
|
+
* // registryCredential: { // RegistryCredential
|
|
272
|
+
* // credential: "STRING_VALUE", // required
|
|
273
|
+
* // credentialProvider: "STRING_VALUE", // required
|
|
274
|
+
* // },
|
|
275
|
+
* // imagePullCredentialsType: "STRING_VALUE",
|
|
276
|
+
* // },
|
|
277
|
+
* // serviceRole: "STRING_VALUE",
|
|
278
|
+
* // logConfig: { // LogsConfig
|
|
279
|
+
* // cloudWatchLogs: { // CloudWatchLogsConfig
|
|
280
|
+
* // status: "STRING_VALUE", // required
|
|
281
|
+
* // groupName: "STRING_VALUE",
|
|
282
|
+
* // streamName: "STRING_VALUE",
|
|
283
|
+
* // },
|
|
284
|
+
* // s3Logs: { // S3LogsConfig
|
|
285
|
+
* // status: "STRING_VALUE", // required
|
|
286
|
+
* // location: "STRING_VALUE",
|
|
287
|
+
* // encryptionDisabled: true || false,
|
|
288
|
+
* // bucketOwnerAccess: "STRING_VALUE",
|
|
289
|
+
* // },
|
|
290
|
+
* // },
|
|
291
|
+
* // buildTimeoutInMinutes: Number("int"),
|
|
292
|
+
* // queuedTimeoutInMinutes: Number("int"),
|
|
293
|
+
* // complete: true || false,
|
|
294
|
+
* // initiator: "STRING_VALUE",
|
|
295
|
+
* // vpcConfig: { // VpcConfig
|
|
296
|
+
* // vpcId: "STRING_VALUE",
|
|
297
|
+
* // subnets: [ // Subnets
|
|
298
|
+
* // "STRING_VALUE",
|
|
299
|
+
* // ],
|
|
300
|
+
* // securityGroupIds: [ // SecurityGroupIds
|
|
301
|
+
* // "STRING_VALUE",
|
|
302
|
+
* // ],
|
|
303
|
+
* // },
|
|
304
|
+
* // encryptionKey: "STRING_VALUE",
|
|
305
|
+
* // buildBatchNumber: Number("long"),
|
|
306
|
+
* // fileSystemLocations: [ // ProjectFileSystemLocations
|
|
307
|
+
* // { // ProjectFileSystemLocation
|
|
308
|
+
* // type: "STRING_VALUE",
|
|
309
|
+
* // location: "STRING_VALUE",
|
|
310
|
+
* // mountPoint: "STRING_VALUE",
|
|
311
|
+
* // identifier: "STRING_VALUE",
|
|
312
|
+
* // mountOptions: "STRING_VALUE",
|
|
313
|
+
* // },
|
|
314
|
+
* // ],
|
|
315
|
+
* // buildBatchConfig: { // ProjectBuildBatchConfig
|
|
316
|
+
* // serviceRole: "STRING_VALUE",
|
|
317
|
+
* // combineArtifacts: true || false,
|
|
318
|
+
* // restrictions: { // BatchRestrictions
|
|
319
|
+
* // maximumBuildsAllowed: Number("int"),
|
|
320
|
+
* // computeTypesAllowed: [ // ComputeTypesAllowed
|
|
321
|
+
* // "STRING_VALUE",
|
|
322
|
+
* // ],
|
|
323
|
+
* // },
|
|
324
|
+
* // timeoutInMins: Number("int"),
|
|
325
|
+
* // batchReportMode: "STRING_VALUE",
|
|
326
|
+
* // },
|
|
327
|
+
* // buildGroups: [ // BuildGroups
|
|
328
|
+
* // { // BuildGroup
|
|
329
|
+
* // identifier: "STRING_VALUE",
|
|
330
|
+
* // dependsOn: [ // Identifiers
|
|
331
|
+
* // "STRING_VALUE",
|
|
332
|
+
* // ],
|
|
333
|
+
* // ignoreFailure: true || false,
|
|
334
|
+
* // currentBuildSummary: { // BuildSummary
|
|
335
|
+
* // arn: "STRING_VALUE",
|
|
336
|
+
* // requestedOn: new Date("TIMESTAMP"),
|
|
337
|
+
* // buildStatus: "STRING_VALUE",
|
|
338
|
+
* // primaryArtifact: { // ResolvedArtifact
|
|
339
|
+
* // type: "STRING_VALUE",
|
|
340
|
+
* // location: "STRING_VALUE",
|
|
341
|
+
* // identifier: "STRING_VALUE",
|
|
342
|
+
* // },
|
|
343
|
+
* // secondaryArtifacts: [ // ResolvedSecondaryArtifacts
|
|
344
|
+
* // {
|
|
345
|
+
* // type: "STRING_VALUE",
|
|
346
|
+
* // location: "STRING_VALUE",
|
|
347
|
+
* // identifier: "STRING_VALUE",
|
|
348
|
+
* // },
|
|
349
|
+
* // ],
|
|
350
|
+
* // },
|
|
351
|
+
* // priorBuildSummaryList: [ // BuildSummaries
|
|
352
|
+
* // {
|
|
353
|
+
* // arn: "STRING_VALUE",
|
|
354
|
+
* // requestedOn: new Date("TIMESTAMP"),
|
|
355
|
+
* // buildStatus: "STRING_VALUE",
|
|
356
|
+
* // primaryArtifact: {
|
|
357
|
+
* // type: "STRING_VALUE",
|
|
358
|
+
* // location: "STRING_VALUE",
|
|
359
|
+
* // identifier: "STRING_VALUE",
|
|
360
|
+
* // },
|
|
361
|
+
* // secondaryArtifacts: [
|
|
362
|
+
* // "<ResolvedArtifact>",
|
|
363
|
+
* // ],
|
|
364
|
+
* // },
|
|
365
|
+
* // ],
|
|
366
|
+
* // },
|
|
367
|
+
* // ],
|
|
368
|
+
* // debugSessionEnabled: true || false,
|
|
369
|
+
* // },
|
|
370
|
+
* // };
|
|
371
|
+
*
|
|
157
372
|
* ```
|
|
158
373
|
*
|
|
159
374
|
* @param StartBuildBatchCommandInput - {@link StartBuildBatchCommandInput}
|
|
@@ -168,6 +383,8 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
|
|
|
168
383
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
169
384
|
* <p>The specified Amazon Web Services resource cannot be found.</p>
|
|
170
385
|
*
|
|
386
|
+
* @throws {@link CodeBuildServiceException}
|
|
387
|
+
* <p>Base exception class for all service exceptions from CodeBuild service.</p>
|
|
171
388
|
*
|
|
172
389
|
*/
|
|
173
390
|
export declare class StartBuildBatchCommand extends $Command<StartBuildBatchCommandInput, StartBuildBatchCommandOutput, CodeBuildClientResolvedConfig> {
|