@aws-sdk/client-codebuild 3.300.0 → 3.303.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.
Files changed (48) hide show
  1. package/dist-cjs/models/models_0.js +210 -248
  2. package/dist-es/models/models_0.js +210 -248
  3. package/dist-types/commands/BatchDeleteBuildsCommand.d.ts +2 -2
  4. package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +2 -2
  5. package/dist-types/commands/BatchGetBuildsCommand.d.ts +2 -2
  6. package/dist-types/commands/BatchGetProjectsCommand.d.ts +2 -2
  7. package/dist-types/commands/BatchGetReportGroupsCommand.d.ts +2 -2
  8. package/dist-types/commands/BatchGetReportsCommand.d.ts +2 -2
  9. package/dist-types/commands/CreateProjectCommand.d.ts +29 -29
  10. package/dist-types/commands/CreateReportGroupCommand.d.ts +5 -5
  11. package/dist-types/commands/CreateWebhookCommand.d.ts +4 -4
  12. package/dist-types/commands/DeleteBuildBatchCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteProjectCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteReportCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteReportGroupCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteSourceCredentialsCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteWebhookCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeCodeCoveragesCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeTestCasesCommand.d.ts +2 -2
  21. package/dist-types/commands/GetReportGroupTrendCommand.d.ts +1 -1
  22. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
  23. package/dist-types/commands/ImportSourceCredentialsCommand.d.ts +1 -1
  24. package/dist-types/commands/InvalidateProjectCacheCommand.d.ts +1 -1
  25. package/dist-types/commands/ListBuildBatchesCommand.d.ts +2 -2
  26. package/dist-types/commands/ListBuildBatchesForProjectCommand.d.ts +2 -2
  27. package/dist-types/commands/ListBuildsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListBuildsForProjectCommand.d.ts +1 -1
  29. package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListReportGroupsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListReportsCommand.d.ts +2 -2
  32. package/dist-types/commands/ListReportsForReportGroupCommand.d.ts +2 -2
  33. package/dist-types/commands/ListSharedProjectsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListSharedReportGroupsCommand.d.ts +1 -1
  35. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  36. package/dist-types/commands/RetryBuildBatchCommand.d.ts +1 -1
  37. package/dist-types/commands/RetryBuildCommand.d.ts +1 -1
  38. package/dist-types/commands/StartBuildBatchCommand.d.ts +21 -21
  39. package/dist-types/commands/StartBuildCommand.d.ts +18 -18
  40. package/dist-types/commands/StopBuildBatchCommand.d.ts +1 -1
  41. package/dist-types/commands/StopBuildCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateProjectCommand.d.ts +29 -29
  43. package/dist-types/commands/UpdateProjectVisibilityCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateReportGroupCommand.d.ts +5 -5
  45. package/dist-types/commands/UpdateWebhookCommand.d.ts +4 -4
  46. package/dist-types/models/models_0.d.ts +400 -210
  47. package/dist-types/ts3.4/models/models_0.d.ts +274 -210
  48. package/package.json +34 -34
@@ -26,23 +26,23 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea
26
26
  * import { CodeBuildClient, StartBuildCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, StartBuildCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
- * const input = {
29
+ * const input = { // StartBuildInput
30
30
  * projectName: "STRING_VALUE", // required
31
- * secondarySourcesOverride: [
32
- * {
31
+ * secondarySourcesOverride: [ // ProjectSources
32
+ * { // ProjectSource
33
33
  * type: "STRING_VALUE", // required
34
34
  * location: "STRING_VALUE",
35
35
  * gitCloneDepth: Number("int"),
36
- * gitSubmodulesConfig: {
36
+ * gitSubmodulesConfig: { // GitSubmodulesConfig
37
37
  * fetchSubmodules: true || false, // required
38
38
  * },
39
39
  * buildspec: "STRING_VALUE",
40
- * auth: {
40
+ * auth: { // SourceAuth
41
41
  * type: "STRING_VALUE", // required
42
42
  * resource: "STRING_VALUE",
43
43
  * },
44
44
  * reportBuildStatus: true || false,
45
- * buildStatusConfig: {
45
+ * buildStatusConfig: { // BuildStatusConfig
46
46
  * context: "STRING_VALUE",
47
47
  * targetUrl: "STRING_VALUE",
48
48
  * },
@@ -50,14 +50,14 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea
50
50
  * sourceIdentifier: "STRING_VALUE",
51
51
  * },
52
52
  * ],
53
- * secondarySourcesVersionOverride: [
54
- * {
53
+ * secondarySourcesVersionOverride: [ // ProjectSecondarySourceVersions
54
+ * { // ProjectSourceVersion
55
55
  * sourceIdentifier: "STRING_VALUE", // required
56
56
  * sourceVersion: "STRING_VALUE", // required
57
57
  * },
58
58
  * ],
59
59
  * sourceVersion: "STRING_VALUE",
60
- * artifactsOverride: {
60
+ * artifactsOverride: { // ProjectArtifacts
61
61
  * type: "STRING_VALUE", // required
62
62
  * location: "STRING_VALUE",
63
63
  * path: "STRING_VALUE",
@@ -69,7 +69,7 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea
69
69
  * artifactIdentifier: "STRING_VALUE",
70
70
  * bucketOwnerAccess: "STRING_VALUE",
71
71
  * },
72
- * secondaryArtifactsOverride: [
72
+ * secondaryArtifactsOverride: [ // ProjectArtifactsList
73
73
  * {
74
74
  * type: "STRING_VALUE", // required
75
75
  * location: "STRING_VALUE",
@@ -83,8 +83,8 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea
83
83
  * bucketOwnerAccess: "STRING_VALUE",
84
84
  * },
85
85
  * ],
86
- * environmentVariablesOverride: [
87
- * {
86
+ * environmentVariablesOverride: [ // EnvironmentVariables
87
+ * { // EnvironmentVariable
88
88
  * name: "STRING_VALUE", // required
89
89
  * value: "STRING_VALUE", // required
90
90
  * type: "STRING_VALUE",
@@ -111,10 +111,10 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea
111
111
  * imageOverride: "STRING_VALUE",
112
112
  * computeTypeOverride: "STRING_VALUE",
113
113
  * certificateOverride: "STRING_VALUE",
114
- * cacheOverride: {
114
+ * cacheOverride: { // ProjectCache
115
115
  * type: "STRING_VALUE", // required
116
116
  * location: "STRING_VALUE",
117
- * modes: [
117
+ * modes: [ // ProjectCacheModes
118
118
  * "STRING_VALUE",
119
119
  * ],
120
120
  * },
@@ -124,20 +124,20 @@ export interface StartBuildCommandOutput extends StartBuildOutput, __MetadataBea
124
124
  * queuedTimeoutInMinutesOverride: Number("int"),
125
125
  * encryptionKeyOverride: "STRING_VALUE",
126
126
  * idempotencyToken: "STRING_VALUE",
127
- * logsConfigOverride: {
128
- * cloudWatchLogs: {
127
+ * logsConfigOverride: { // LogsConfig
128
+ * cloudWatchLogs: { // CloudWatchLogsConfig
129
129
  * status: "STRING_VALUE", // required
130
130
  * groupName: "STRING_VALUE",
131
131
  * streamName: "STRING_VALUE",
132
132
  * },
133
- * s3Logs: {
133
+ * s3Logs: { // S3LogsConfig
134
134
  * status: "STRING_VALUE", // required
135
135
  * location: "STRING_VALUE",
136
136
  * encryptionDisabled: true || false,
137
137
  * bucketOwnerAccess: "STRING_VALUE",
138
138
  * },
139
139
  * },
140
- * registryCredentialOverride: {
140
+ * registryCredentialOverride: { // RegistryCredential
141
141
  * credential: "STRING_VALUE", // required
142
142
  * credentialProvider: "STRING_VALUE", // required
143
143
  * },
@@ -26,7 +26,7 @@ export interface StopBuildBatchCommandOutput extends StopBuildBatchOutput, __Met
26
26
  * import { CodeBuildClient, StopBuildBatchCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, StopBuildBatchCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
- * const input = {
29
+ * const input = { // StopBuildBatchInput
30
30
  * id: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new StopBuildBatchCommand(input);
@@ -26,7 +26,7 @@ export interface StopBuildCommandOutput extends StopBuildOutput, __MetadataBeare
26
26
  * import { CodeBuildClient, StopBuildCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, StopBuildCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
- * const input = {
29
+ * const input = { // StopBuildInput
30
30
  * id: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new StopBuildCommand(input);
@@ -26,30 +26,30 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
26
26
  * import { CodeBuildClient, UpdateProjectCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, UpdateProjectCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
- * const input = {
29
+ * const input = { // UpdateProjectInput
30
30
  * name: "STRING_VALUE", // required
31
31
  * description: "STRING_VALUE",
32
- * source: {
32
+ * source: { // ProjectSource
33
33
  * type: "STRING_VALUE", // required
34
34
  * location: "STRING_VALUE",
35
35
  * gitCloneDepth: Number("int"),
36
- * gitSubmodulesConfig: {
36
+ * gitSubmodulesConfig: { // GitSubmodulesConfig
37
37
  * fetchSubmodules: true || false, // required
38
38
  * },
39
39
  * buildspec: "STRING_VALUE",
40
- * auth: {
40
+ * auth: { // SourceAuth
41
41
  * type: "STRING_VALUE", // required
42
42
  * resource: "STRING_VALUE",
43
43
  * },
44
44
  * reportBuildStatus: true || false,
45
- * buildStatusConfig: {
45
+ * buildStatusConfig: { // BuildStatusConfig
46
46
  * context: "STRING_VALUE",
47
47
  * targetUrl: "STRING_VALUE",
48
48
  * },
49
49
  * insecureSsl: true || false,
50
50
  * sourceIdentifier: "STRING_VALUE",
51
51
  * },
52
- * secondarySources: [
52
+ * secondarySources: [ // ProjectSources
53
53
  * {
54
54
  * type: "STRING_VALUE", // required
55
55
  * location: "STRING_VALUE",
@@ -72,13 +72,13 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
72
72
  * },
73
73
  * ],
74
74
  * sourceVersion: "STRING_VALUE",
75
- * secondarySourceVersions: [
76
- * {
75
+ * secondarySourceVersions: [ // ProjectSecondarySourceVersions
76
+ * { // ProjectSourceVersion
77
77
  * sourceIdentifier: "STRING_VALUE", // required
78
78
  * sourceVersion: "STRING_VALUE", // required
79
79
  * },
80
80
  * ],
81
- * artifacts: {
81
+ * artifacts: { // ProjectArtifacts
82
82
  * type: "STRING_VALUE", // required
83
83
  * location: "STRING_VALUE",
84
84
  * path: "STRING_VALUE",
@@ -90,7 +90,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
90
90
  * artifactIdentifier: "STRING_VALUE",
91
91
  * bucketOwnerAccess: "STRING_VALUE",
92
92
  * },
93
- * secondaryArtifacts: [
93
+ * secondaryArtifacts: [ // ProjectArtifactsList
94
94
  * {
95
95
  * type: "STRING_VALUE", // required
96
96
  * location: "STRING_VALUE",
@@ -104,19 +104,19 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
104
104
  * bucketOwnerAccess: "STRING_VALUE",
105
105
  * },
106
106
  * ],
107
- * cache: {
107
+ * cache: { // ProjectCache
108
108
  * type: "STRING_VALUE", // required
109
109
  * location: "STRING_VALUE",
110
- * modes: [
110
+ * modes: [ // ProjectCacheModes
111
111
  * "STRING_VALUE",
112
112
  * ],
113
113
  * },
114
- * environment: {
114
+ * environment: { // ProjectEnvironment
115
115
  * type: "STRING_VALUE", // required
116
116
  * image: "STRING_VALUE", // required
117
117
  * computeType: "STRING_VALUE", // required
118
- * environmentVariables: [
119
- * {
118
+ * environmentVariables: [ // EnvironmentVariables
119
+ * { // EnvironmentVariable
120
120
  * name: "STRING_VALUE", // required
121
121
  * value: "STRING_VALUE", // required
122
122
  * type: "STRING_VALUE",
@@ -124,7 +124,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
124
124
  * ],
125
125
  * privilegedMode: true || false,
126
126
  * certificate: "STRING_VALUE",
127
- * registryCredential: {
127
+ * registryCredential: { // RegistryCredential
128
128
  * credential: "STRING_VALUE", // required
129
129
  * credentialProvider: "STRING_VALUE", // required
130
130
  * },
@@ -134,37 +134,37 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
134
134
  * timeoutInMinutes: Number("int"),
135
135
  * queuedTimeoutInMinutes: Number("int"),
136
136
  * encryptionKey: "STRING_VALUE",
137
- * tags: [
138
- * {
137
+ * tags: [ // TagList
138
+ * { // Tag
139
139
  * key: "STRING_VALUE",
140
140
  * value: "STRING_VALUE",
141
141
  * },
142
142
  * ],
143
- * vpcConfig: {
143
+ * vpcConfig: { // VpcConfig
144
144
  * vpcId: "STRING_VALUE",
145
- * subnets: [
145
+ * subnets: [ // Subnets
146
146
  * "STRING_VALUE",
147
147
  * ],
148
- * securityGroupIds: [
148
+ * securityGroupIds: [ // SecurityGroupIds
149
149
  * "STRING_VALUE",
150
150
  * ],
151
151
  * },
152
152
  * badgeEnabled: true || false,
153
- * logsConfig: {
154
- * cloudWatchLogs: {
153
+ * logsConfig: { // LogsConfig
154
+ * cloudWatchLogs: { // CloudWatchLogsConfig
155
155
  * status: "STRING_VALUE", // required
156
156
  * groupName: "STRING_VALUE",
157
157
  * streamName: "STRING_VALUE",
158
158
  * },
159
- * s3Logs: {
159
+ * s3Logs: { // S3LogsConfig
160
160
  * status: "STRING_VALUE", // required
161
161
  * location: "STRING_VALUE",
162
162
  * encryptionDisabled: true || false,
163
163
  * bucketOwnerAccess: "STRING_VALUE",
164
164
  * },
165
165
  * },
166
- * fileSystemLocations: [
167
- * {
166
+ * fileSystemLocations: [ // ProjectFileSystemLocations
167
+ * { // ProjectFileSystemLocation
168
168
  * type: "STRING_VALUE",
169
169
  * location: "STRING_VALUE",
170
170
  * mountPoint: "STRING_VALUE",
@@ -172,12 +172,12 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
172
172
  * mountOptions: "STRING_VALUE",
173
173
  * },
174
174
  * ],
175
- * buildBatchConfig: {
175
+ * buildBatchConfig: { // ProjectBuildBatchConfig
176
176
  * serviceRole: "STRING_VALUE",
177
177
  * combineArtifacts: true || false,
178
- * restrictions: {
178
+ * restrictions: { // BatchRestrictions
179
179
  * maximumBuildsAllowed: Number("int"),
180
- * computeTypesAllowed: [
180
+ * computeTypesAllowed: [ // ComputeTypesAllowed
181
181
  * "STRING_VALUE",
182
182
  * ],
183
183
  * },
@@ -63,7 +63,7 @@ export interface UpdateProjectVisibilityCommandOutput extends UpdateProjectVisib
63
63
  * import { CodeBuildClient, UpdateProjectVisibilityCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
64
64
  * // const { CodeBuildClient, UpdateProjectVisibilityCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
65
65
  * const client = new CodeBuildClient(config);
66
- * const input = {
66
+ * const input = { // UpdateProjectVisibilityInput
67
67
  * projectArn: "STRING_VALUE", // required
68
68
  * projectVisibility: "STRING_VALUE", // required
69
69
  * resourceAccessRole: "STRING_VALUE",
@@ -28,11 +28,11 @@ export interface UpdateReportGroupCommandOutput extends UpdateReportGroupOutput,
28
28
  * import { CodeBuildClient, UpdateReportGroupCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
29
29
  * // const { CodeBuildClient, UpdateReportGroupCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
30
30
  * const client = new CodeBuildClient(config);
31
- * const input = {
31
+ * const input = { // UpdateReportGroupInput
32
32
  * arn: "STRING_VALUE", // required
33
- * exportConfig: {
33
+ * exportConfig: { // ReportExportConfig
34
34
  * exportConfigType: "STRING_VALUE",
35
- * s3Destination: {
35
+ * s3Destination: { // S3ReportExportConfig
36
36
  * bucket: "STRING_VALUE",
37
37
  * bucketOwner: "STRING_VALUE",
38
38
  * path: "STRING_VALUE",
@@ -41,8 +41,8 @@ export interface UpdateReportGroupCommandOutput extends UpdateReportGroupOutput,
41
41
  * encryptionDisabled: true || false,
42
42
  * },
43
43
  * },
44
- * tags: [
45
- * {
44
+ * tags: [ // TagList
45
+ * { // Tag
46
46
  * key: "STRING_VALUE",
47
47
  * value: "STRING_VALUE",
48
48
  * },
@@ -30,13 +30,13 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookOutput, __Metad
30
30
  * import { CodeBuildClient, UpdateWebhookCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
31
31
  * // const { CodeBuildClient, UpdateWebhookCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
32
32
  * const client = new CodeBuildClient(config);
33
- * const input = {
33
+ * const input = { // UpdateWebhookInput
34
34
  * projectName: "STRING_VALUE", // required
35
35
  * branchFilter: "STRING_VALUE",
36
36
  * rotateSecret: true || false,
37
- * filterGroups: [
38
- * [
39
- * {
37
+ * filterGroups: [ // FilterGroups
38
+ * [ // FilterGroup
39
+ * { // WebhookFilter
40
40
  * type: "STRING_VALUE", // required
41
41
  * pattern: "STRING_VALUE", // required
42
42
  * excludeMatchedPattern: true || false,