@aws-sdk/client-codebuild 3.299.0 → 3.301.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 (46) hide show
  1. package/dist-types/commands/BatchDeleteBuildsCommand.d.ts +5 -0
  2. package/dist-types/commands/BatchGetBuildBatchesCommand.d.ts +5 -0
  3. package/dist-types/commands/BatchGetBuildsCommand.d.ts +5 -0
  4. package/dist-types/commands/BatchGetProjectsCommand.d.ts +5 -0
  5. package/dist-types/commands/BatchGetReportGroupsCommand.d.ts +5 -0
  6. package/dist-types/commands/BatchGetReportsCommand.d.ts +5 -0
  7. package/dist-types/commands/CreateProjectCommand.d.ts +160 -0
  8. package/dist-types/commands/CreateReportGroupCommand.d.ts +21 -0
  9. package/dist-types/commands/CreateWebhookCommand.d.ts +14 -0
  10. package/dist-types/commands/DeleteBuildBatchCommand.d.ts +3 -0
  11. package/dist-types/commands/DeleteProjectCommand.d.ts +3 -0
  12. package/dist-types/commands/DeleteReportCommand.d.ts +3 -0
  13. package/dist-types/commands/DeleteReportGroupCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -0
  15. package/dist-types/commands/DeleteSourceCredentialsCommand.d.ts +3 -0
  16. package/dist-types/commands/DeleteWebhookCommand.d.ts +3 -0
  17. package/dist-types/commands/DescribeCodeCoveragesCommand.d.ts +9 -0
  18. package/dist-types/commands/DescribeTestCasesCommand.d.ts +9 -0
  19. package/dist-types/commands/GetReportGroupTrendCommand.d.ts +5 -0
  20. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -0
  21. package/dist-types/commands/ImportSourceCredentialsCommand.d.ts +7 -0
  22. package/dist-types/commands/InvalidateProjectCacheCommand.d.ts +3 -0
  23. package/dist-types/commands/ListBuildBatchesCommand.d.ts +8 -0
  24. package/dist-types/commands/ListBuildBatchesForProjectCommand.d.ts +9 -0
  25. package/dist-types/commands/ListBuildsCommand.d.ts +4 -0
  26. package/dist-types/commands/ListBuildsForProjectCommand.d.ts +5 -0
  27. package/dist-types/commands/ListCuratedEnvironmentImagesCommand.d.ts +1 -0
  28. package/dist-types/commands/ListProjectsCommand.d.ts +5 -0
  29. package/dist-types/commands/ListReportGroupsCommand.d.ts +6 -0
  30. package/dist-types/commands/ListReportsCommand.d.ts +8 -0
  31. package/dist-types/commands/ListReportsForReportGroupCommand.d.ts +9 -0
  32. package/dist-types/commands/ListSharedProjectsCommand.d.ts +6 -0
  33. package/dist-types/commands/ListSharedReportGroupsCommand.d.ts +6 -0
  34. package/dist-types/commands/ListSourceCredentialsCommand.d.ts +1 -0
  35. package/dist-types/commands/PutResourcePolicyCommand.d.ts +4 -0
  36. package/dist-types/commands/RetryBuildBatchCommand.d.ts +5 -0
  37. package/dist-types/commands/RetryBuildCommand.d.ts +4 -0
  38. package/dist-types/commands/StartBuildBatchCommand.d.ts +126 -0
  39. package/dist-types/commands/StartBuildCommand.d.ts +118 -0
  40. package/dist-types/commands/StopBuildBatchCommand.d.ts +3 -0
  41. package/dist-types/commands/StopBuildCommand.d.ts +3 -0
  42. package/dist-types/commands/UpdateProjectCommand.d.ts +160 -0
  43. package/dist-types/commands/UpdateProjectVisibilityCommand.d.ts +5 -0
  44. package/dist-types/commands/UpdateReportGroupCommand.d.ts +20 -0
  45. package/dist-types/commands/UpdateWebhookCommand.d.ts +15 -0
  46. package/package.json +8 -8
@@ -26,6 +26,11 @@ export interface BatchDeleteBuildsCommandOutput extends BatchDeleteBuildsOutput,
26
26
  * import { CodeBuildClient, BatchDeleteBuildsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, BatchDeleteBuildsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // BatchDeleteBuildsInput
30
+ * ids: [ // BuildIds // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new BatchDeleteBuildsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface BatchGetBuildBatchesCommandOutput extends BatchGetBuildBatchesO
26
26
  * import { CodeBuildClient, BatchGetBuildBatchesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, BatchGetBuildBatchesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // BatchGetBuildBatchesInput
30
+ * ids: [ // BuildBatchIds // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new BatchGetBuildBatchesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface BatchGetBuildsCommandOutput extends BatchGetBuildsOutput, __Met
26
26
  * import { CodeBuildClient, BatchGetBuildsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, BatchGetBuildsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // BatchGetBuildsInput
30
+ * ids: [ // BuildIds // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new BatchGetBuildsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
26
26
  * import { CodeBuildClient, BatchGetProjectsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, BatchGetProjectsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // BatchGetProjectsInput
30
+ * names: [ // ProjectNames // required
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new BatchGetProjectsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -28,6 +28,11 @@ export interface BatchGetReportGroupsCommandOutput extends BatchGetReportGroupsO
28
28
  * import { CodeBuildClient, BatchGetReportGroupsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
29
29
  * // const { CodeBuildClient, BatchGetReportGroupsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
30
30
  * const client = new CodeBuildClient(config);
31
+ * const input = { // BatchGetReportGroupsInput
32
+ * reportGroupArns: [ // ReportGroupArns // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
31
36
  * const command = new BatchGetReportGroupsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -28,6 +28,11 @@ export interface BatchGetReportsCommandOutput extends BatchGetReportsOutput, __M
28
28
  * import { CodeBuildClient, BatchGetReportsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
29
29
  * // const { CodeBuildClient, BatchGetReportsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
30
30
  * const client = new CodeBuildClient(config);
31
+ * const input = { // BatchGetReportsInput
32
+ * reportArns: [ // ReportArns // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
31
36
  * const command = new BatchGetReportsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -26,6 +26,166 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
26
26
  * import { CodeBuildClient, CreateProjectCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, CreateProjectCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // CreateProjectInput
30
+ * name: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * source: { // ProjectSource
33
+ * type: "STRING_VALUE", // required
34
+ * location: "STRING_VALUE",
35
+ * gitCloneDepth: Number("int"),
36
+ * gitSubmodulesConfig: { // GitSubmodulesConfig
37
+ * fetchSubmodules: true || false, // required
38
+ * },
39
+ * buildspec: "STRING_VALUE",
40
+ * auth: { // SourceAuth
41
+ * type: "STRING_VALUE", // required
42
+ * resource: "STRING_VALUE",
43
+ * },
44
+ * reportBuildStatus: true || false,
45
+ * buildStatusConfig: { // BuildStatusConfig
46
+ * context: "STRING_VALUE",
47
+ * targetUrl: "STRING_VALUE",
48
+ * },
49
+ * insecureSsl: true || false,
50
+ * sourceIdentifier: "STRING_VALUE",
51
+ * },
52
+ * secondarySources: [ // ProjectSources
53
+ * {
54
+ * type: "STRING_VALUE", // required
55
+ * location: "STRING_VALUE",
56
+ * gitCloneDepth: Number("int"),
57
+ * gitSubmodulesConfig: {
58
+ * fetchSubmodules: true || false, // required
59
+ * },
60
+ * buildspec: "STRING_VALUE",
61
+ * auth: {
62
+ * type: "STRING_VALUE", // required
63
+ * resource: "STRING_VALUE",
64
+ * },
65
+ * reportBuildStatus: true || false,
66
+ * buildStatusConfig: {
67
+ * context: "STRING_VALUE",
68
+ * targetUrl: "STRING_VALUE",
69
+ * },
70
+ * insecureSsl: true || false,
71
+ * sourceIdentifier: "STRING_VALUE",
72
+ * },
73
+ * ],
74
+ * sourceVersion: "STRING_VALUE",
75
+ * secondarySourceVersions: [ // ProjectSecondarySourceVersions
76
+ * { // ProjectSourceVersion
77
+ * sourceIdentifier: "STRING_VALUE", // required
78
+ * sourceVersion: "STRING_VALUE", // required
79
+ * },
80
+ * ],
81
+ * artifacts: { // ProjectArtifacts
82
+ * type: "STRING_VALUE", // required
83
+ * location: "STRING_VALUE",
84
+ * path: "STRING_VALUE",
85
+ * namespaceType: "STRING_VALUE",
86
+ * name: "STRING_VALUE",
87
+ * packaging: "STRING_VALUE",
88
+ * overrideArtifactName: true || false,
89
+ * encryptionDisabled: true || false,
90
+ * artifactIdentifier: "STRING_VALUE",
91
+ * bucketOwnerAccess: "STRING_VALUE",
92
+ * },
93
+ * secondaryArtifacts: [ // ProjectArtifactsList
94
+ * {
95
+ * type: "STRING_VALUE", // required
96
+ * location: "STRING_VALUE",
97
+ * path: "STRING_VALUE",
98
+ * namespaceType: "STRING_VALUE",
99
+ * name: "STRING_VALUE",
100
+ * packaging: "STRING_VALUE",
101
+ * overrideArtifactName: true || false,
102
+ * encryptionDisabled: true || false,
103
+ * artifactIdentifier: "STRING_VALUE",
104
+ * bucketOwnerAccess: "STRING_VALUE",
105
+ * },
106
+ * ],
107
+ * cache: { // ProjectCache
108
+ * type: "STRING_VALUE", // required
109
+ * location: "STRING_VALUE",
110
+ * modes: [ // ProjectCacheModes
111
+ * "STRING_VALUE",
112
+ * ],
113
+ * },
114
+ * environment: { // ProjectEnvironment
115
+ * type: "STRING_VALUE", // required
116
+ * image: "STRING_VALUE", // required
117
+ * computeType: "STRING_VALUE", // required
118
+ * environmentVariables: [ // EnvironmentVariables
119
+ * { // EnvironmentVariable
120
+ * name: "STRING_VALUE", // required
121
+ * value: "STRING_VALUE", // required
122
+ * type: "STRING_VALUE",
123
+ * },
124
+ * ],
125
+ * privilegedMode: true || false,
126
+ * certificate: "STRING_VALUE",
127
+ * registryCredential: { // RegistryCredential
128
+ * credential: "STRING_VALUE", // required
129
+ * credentialProvider: "STRING_VALUE", // required
130
+ * },
131
+ * imagePullCredentialsType: "STRING_VALUE",
132
+ * },
133
+ * serviceRole: "STRING_VALUE", // required
134
+ * timeoutInMinutes: Number("int"),
135
+ * queuedTimeoutInMinutes: Number("int"),
136
+ * encryptionKey: "STRING_VALUE",
137
+ * tags: [ // TagList
138
+ * { // Tag
139
+ * key: "STRING_VALUE",
140
+ * value: "STRING_VALUE",
141
+ * },
142
+ * ],
143
+ * vpcConfig: { // VpcConfig
144
+ * vpcId: "STRING_VALUE",
145
+ * subnets: [ // Subnets
146
+ * "STRING_VALUE",
147
+ * ],
148
+ * securityGroupIds: [ // SecurityGroupIds
149
+ * "STRING_VALUE",
150
+ * ],
151
+ * },
152
+ * badgeEnabled: true || false,
153
+ * logsConfig: { // LogsConfig
154
+ * cloudWatchLogs: { // CloudWatchLogsConfig
155
+ * status: "STRING_VALUE", // required
156
+ * groupName: "STRING_VALUE",
157
+ * streamName: "STRING_VALUE",
158
+ * },
159
+ * s3Logs: { // S3LogsConfig
160
+ * status: "STRING_VALUE", // required
161
+ * location: "STRING_VALUE",
162
+ * encryptionDisabled: true || false,
163
+ * bucketOwnerAccess: "STRING_VALUE",
164
+ * },
165
+ * },
166
+ * fileSystemLocations: [ // ProjectFileSystemLocations
167
+ * { // ProjectFileSystemLocation
168
+ * type: "STRING_VALUE",
169
+ * location: "STRING_VALUE",
170
+ * mountPoint: "STRING_VALUE",
171
+ * identifier: "STRING_VALUE",
172
+ * mountOptions: "STRING_VALUE",
173
+ * },
174
+ * ],
175
+ * buildBatchConfig: { // ProjectBuildBatchConfig
176
+ * serviceRole: "STRING_VALUE",
177
+ * combineArtifacts: true || false,
178
+ * restrictions: { // BatchRestrictions
179
+ * maximumBuildsAllowed: Number("int"),
180
+ * computeTypesAllowed: [ // ComputeTypesAllowed
181
+ * "STRING_VALUE",
182
+ * ],
183
+ * },
184
+ * timeoutInMins: Number("int"),
185
+ * batchReportMode: "STRING_VALUE",
186
+ * },
187
+ * concurrentBuildLimit: Number("int"),
188
+ * };
29
189
  * const command = new CreateProjectCommand(input);
30
190
  * const response = await client.send(command);
31
191
  * ```
@@ -28,6 +28,27 @@ export interface CreateReportGroupCommandOutput extends CreateReportGroupOutput,
28
28
  * import { CodeBuildClient, CreateReportGroupCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
29
29
  * // const { CodeBuildClient, CreateReportGroupCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
30
30
  * const client = new CodeBuildClient(config);
31
+ * const input = { // CreateReportGroupInput
32
+ * name: "STRING_VALUE", // required
33
+ * type: "STRING_VALUE", // required
34
+ * exportConfig: { // ReportExportConfig
35
+ * exportConfigType: "STRING_VALUE",
36
+ * s3Destination: { // S3ReportExportConfig
37
+ * bucket: "STRING_VALUE",
38
+ * bucketOwner: "STRING_VALUE",
39
+ * path: "STRING_VALUE",
40
+ * packaging: "STRING_VALUE",
41
+ * encryptionKey: "STRING_VALUE",
42
+ * encryptionDisabled: true || false,
43
+ * },
44
+ * },
45
+ * tags: [ // TagList
46
+ * { // Tag
47
+ * key: "STRING_VALUE",
48
+ * value: "STRING_VALUE",
49
+ * },
50
+ * ],
51
+ * };
31
52
  * const command = new CreateReportGroupCommand(input);
32
53
  * const response = await client.send(command);
33
54
  * ```
@@ -36,6 +36,20 @@ export interface CreateWebhookCommandOutput extends CreateWebhookOutput, __Metad
36
36
  * import { CodeBuildClient, CreateWebhookCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
37
37
  * // const { CodeBuildClient, CreateWebhookCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
38
38
  * const client = new CodeBuildClient(config);
39
+ * const input = { // CreateWebhookInput
40
+ * projectName: "STRING_VALUE", // required
41
+ * branchFilter: "STRING_VALUE",
42
+ * filterGroups: [ // FilterGroups
43
+ * [ // FilterGroup
44
+ * { // WebhookFilter
45
+ * type: "STRING_VALUE", // required
46
+ * pattern: "STRING_VALUE", // required
47
+ * excludeMatchedPattern: true || false,
48
+ * },
49
+ * ],
50
+ * ],
51
+ * buildType: "STRING_VALUE",
52
+ * };
39
53
  * const command = new CreateWebhookCommand(input);
40
54
  * const response = await client.send(command);
41
55
  * ```
@@ -26,6 +26,9 @@ export interface DeleteBuildBatchCommandOutput extends DeleteBuildBatchOutput, _
26
26
  * import { CodeBuildClient, DeleteBuildBatchCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, DeleteBuildBatchCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // DeleteBuildBatchInput
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteBuildBatchCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,9 @@ export interface DeleteProjectCommandOutput extends DeleteProjectOutput, __Metad
27
27
  * import { CodeBuildClient, DeleteProjectCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
28
28
  * // const { CodeBuildClient, DeleteProjectCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
29
29
  * const client = new CodeBuildClient(config);
30
+ * const input = { // DeleteProjectInput
31
+ * name: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteProjectCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -28,6 +28,9 @@ export interface DeleteReportCommandOutput extends DeleteReportOutput, __Metadat
28
28
  * import { CodeBuildClient, DeleteReportCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
29
29
  * // const { CodeBuildClient, DeleteReportCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
30
30
  * const client = new CodeBuildClient(config);
31
+ * const input = { // DeleteReportInput
32
+ * arn: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DeleteReportCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -26,6 +26,10 @@ export interface DeleteReportGroupCommandOutput extends DeleteReportGroupOutput,
26
26
  * import { CodeBuildClient, DeleteReportGroupCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, DeleteReportGroupCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // DeleteReportGroupInput
30
+ * arn: "STRING_VALUE", // required
31
+ * deleteReports: true || false,
32
+ * };
29
33
  * const command = new DeleteReportGroupCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyO
26
26
  * import { CodeBuildClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // DeleteResourcePolicyInput
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteResourcePolicyCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteSourceCredentialsCommandOutput extends DeleteSourceCreden
26
26
  * import { CodeBuildClient, DeleteSourceCredentialsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, DeleteSourceCredentialsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // DeleteSourceCredentialsInput
30
+ * arn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteSourceCredentialsCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -28,6 +28,9 @@ export interface DeleteWebhookCommandOutput extends DeleteWebhookOutput, __Metad
28
28
  * import { CodeBuildClient, DeleteWebhookCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
29
29
  * // const { CodeBuildClient, DeleteWebhookCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
30
30
  * const client = new CodeBuildClient(config);
31
+ * const input = { // DeleteWebhookInput
32
+ * projectName: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new DeleteWebhookCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -26,6 +26,15 @@ export interface DescribeCodeCoveragesCommandOutput extends DescribeCodeCoverage
26
26
  * import { CodeBuildClient, DescribeCodeCoveragesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, DescribeCodeCoveragesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // DescribeCodeCoveragesInput
30
+ * reportArn: "STRING_VALUE", // required
31
+ * nextToken: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * sortOrder: "STRING_VALUE",
34
+ * sortBy: "STRING_VALUE",
35
+ * minLineCoveragePercentage: Number("double"),
36
+ * maxLineCoveragePercentage: Number("double"),
37
+ * };
29
38
  * const command = new DescribeCodeCoveragesCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -28,6 +28,15 @@ export interface DescribeTestCasesCommandOutput extends DescribeTestCasesOutput,
28
28
  * import { CodeBuildClient, DescribeTestCasesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
29
29
  * // const { CodeBuildClient, DescribeTestCasesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
30
30
  * const client = new CodeBuildClient(config);
31
+ * const input = { // DescribeTestCasesInput
32
+ * reportArn: "STRING_VALUE", // required
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * filter: { // TestCaseFilter
36
+ * status: "STRING_VALUE",
37
+ * keyword: "STRING_VALUE",
38
+ * },
39
+ * };
31
40
  * const command = new DescribeTestCasesCommand(input);
32
41
  * const response = await client.send(command);
33
42
  * ```
@@ -26,6 +26,11 @@ export interface GetReportGroupTrendCommandOutput extends GetReportGroupTrendOut
26
26
  * import { CodeBuildClient, GetReportGroupTrendCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, GetReportGroupTrendCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // GetReportGroupTrendInput
30
+ * reportGroupArn: "STRING_VALUE", // required
31
+ * numOfReports: Number("int"),
32
+ * trendField: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetReportGroupTrendCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyOutput,
26
26
  * import { CodeBuildClient, GetResourcePolicyCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, GetResourcePolicyCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // GetResourcePolicyInput
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetResourcePolicyCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,13 @@ export interface ImportSourceCredentialsCommandOutput extends ImportSourceCreden
27
27
  * import { CodeBuildClient, ImportSourceCredentialsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
28
28
  * // const { CodeBuildClient, ImportSourceCredentialsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
29
29
  * const client = new CodeBuildClient(config);
30
+ * const input = { // ImportSourceCredentialsInput
31
+ * username: "STRING_VALUE",
32
+ * token: "STRING_VALUE", // required
33
+ * serverType: "STRING_VALUE", // required
34
+ * authType: "STRING_VALUE", // required
35
+ * shouldOverwrite: true || false,
36
+ * };
30
37
  * const command = new ImportSourceCredentialsCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -26,6 +26,9 @@ export interface InvalidateProjectCacheCommandOutput extends InvalidateProjectCa
26
26
  * import { CodeBuildClient, InvalidateProjectCacheCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, InvalidateProjectCacheCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // InvalidateProjectCacheInput
30
+ * projectName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new InvalidateProjectCacheCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,14 @@ export interface ListBuildBatchesCommandOutput extends ListBuildBatchesOutput, _
26
26
  * import { CodeBuildClient, ListBuildBatchesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, ListBuildBatchesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // ListBuildBatchesInput
30
+ * filter: { // BuildBatchFilter
31
+ * status: "STRING_VALUE",
32
+ * },
33
+ * maxResults: Number("int"),
34
+ * sortOrder: "STRING_VALUE",
35
+ * nextToken: "STRING_VALUE",
36
+ * };
29
37
  * const command = new ListBuildBatchesCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,15 @@ export interface ListBuildBatchesForProjectCommandOutput extends ListBuildBatche
26
26
  * import { CodeBuildClient, ListBuildBatchesForProjectCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, ListBuildBatchesForProjectCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // ListBuildBatchesForProjectInput
30
+ * projectName: "STRING_VALUE",
31
+ * filter: { // BuildBatchFilter
32
+ * status: "STRING_VALUE",
33
+ * },
34
+ * maxResults: Number("int"),
35
+ * sortOrder: "STRING_VALUE",
36
+ * nextToken: "STRING_VALUE",
37
+ * };
29
38
  * const command = new ListBuildBatchesForProjectCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,10 @@ export interface ListBuildsCommandOutput extends ListBuildsOutput, __MetadataBea
26
26
  * import { CodeBuildClient, ListBuildsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, ListBuildsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // ListBuildsInput
30
+ * sortOrder: "STRING_VALUE",
31
+ * nextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new ListBuildsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -27,6 +27,11 @@ export interface ListBuildsForProjectCommandOutput extends ListBuildsForProjectO
27
27
  * import { CodeBuildClient, ListBuildsForProjectCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
28
28
  * // const { CodeBuildClient, ListBuildsForProjectCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
29
29
  * const client = new CodeBuildClient(config);
30
+ * const input = { // ListBuildsForProjectInput
31
+ * projectName: "STRING_VALUE", // required
32
+ * sortOrder: "STRING_VALUE",
33
+ * nextToken: "STRING_VALUE",
34
+ * };
30
35
  * const command = new ListBuildsForProjectCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,7 @@ export interface ListCuratedEnvironmentImagesCommandOutput extends ListCuratedEn
26
26
  * import { CodeBuildClient, ListCuratedEnvironmentImagesCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, ListCuratedEnvironmentImagesCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = {};
29
30
  * const command = new ListCuratedEnvironmentImagesCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -27,6 +27,11 @@ export interface ListProjectsCommandOutput extends ListProjectsOutput, __Metadat
27
27
  * import { CodeBuildClient, ListProjectsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
28
28
  * // const { CodeBuildClient, ListProjectsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
29
29
  * const client = new CodeBuildClient(config);
30
+ * const input = { // ListProjectsInput
31
+ * sortBy: "STRING_VALUE",
32
+ * sortOrder: "STRING_VALUE",
33
+ * nextToken: "STRING_VALUE",
34
+ * };
30
35
  * const command = new ListProjectsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -28,6 +28,12 @@ export interface ListReportGroupsCommandOutput extends ListReportGroupsOutput, _
28
28
  * import { CodeBuildClient, ListReportGroupsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
29
29
  * // const { CodeBuildClient, ListReportGroupsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
30
30
  * const client = new CodeBuildClient(config);
31
+ * const input = { // ListReportGroupsInput
32
+ * sortOrder: "STRING_VALUE",
33
+ * sortBy: "STRING_VALUE",
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
31
37
  * const command = new ListReportGroupsCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -28,6 +28,14 @@ export interface ListReportsCommandOutput extends ListReportsOutput, __MetadataB
28
28
  * import { CodeBuildClient, ListReportsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
29
29
  * // const { CodeBuildClient, ListReportsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
30
30
  * const client = new CodeBuildClient(config);
31
+ * const input = { // ListReportsInput
32
+ * sortOrder: "STRING_VALUE",
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * filter: { // ReportFilter
36
+ * status: "STRING_VALUE",
37
+ * },
38
+ * };
31
39
  * const command = new ListReportsCommand(input);
32
40
  * const response = await client.send(command);
33
41
  * ```
@@ -28,6 +28,15 @@ export interface ListReportsForReportGroupCommandOutput extends ListReportsForRe
28
28
  * import { CodeBuildClient, ListReportsForReportGroupCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
29
29
  * // const { CodeBuildClient, ListReportsForReportGroupCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
30
30
  * const client = new CodeBuildClient(config);
31
+ * const input = { // ListReportsForReportGroupInput
32
+ * reportGroupArn: "STRING_VALUE", // required
33
+ * nextToken: "STRING_VALUE",
34
+ * sortOrder: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * filter: { // ReportFilter
37
+ * status: "STRING_VALUE",
38
+ * },
39
+ * };
31
40
  * const command = new ListReportsForReportGroupCommand(input);
32
41
  * const response = await client.send(command);
33
42
  * ```
@@ -26,6 +26,12 @@ export interface ListSharedProjectsCommandOutput extends ListSharedProjectsOutpu
26
26
  * import { CodeBuildClient, ListSharedProjectsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, ListSharedProjectsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // ListSharedProjectsInput
30
+ * sortBy: "STRING_VALUE",
31
+ * sortOrder: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * nextToken: "STRING_VALUE",
34
+ * };
29
35
  * const command = new ListSharedProjectsCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,12 @@ export interface ListSharedReportGroupsCommandOutput extends ListSharedReportGro
27
27
  * import { CodeBuildClient, ListSharedReportGroupsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
28
28
  * // const { CodeBuildClient, ListSharedReportGroupsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
29
29
  * const client = new CodeBuildClient(config);
30
+ * const input = { // ListSharedReportGroupsInput
31
+ * sortOrder: "STRING_VALUE",
32
+ * sortBy: "STRING_VALUE",
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListSharedReportGroupsCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,7 @@ export interface ListSourceCredentialsCommandOutput extends ListSourceCredential
26
26
  * import { CodeBuildClient, ListSourceCredentialsCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, ListSourceCredentialsCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = {};
29
30
  * const command = new ListSourceCredentialsCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -27,6 +27,10 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyOutput,
27
27
  * import { CodeBuildClient, PutResourcePolicyCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
28
28
  * // const { CodeBuildClient, PutResourcePolicyCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
29
29
  * const client = new CodeBuildClient(config);
30
+ * const input = { // PutResourcePolicyInput
31
+ * policy: "STRING_VALUE", // required
32
+ * resourceArn: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new PutResourcePolicyCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -26,6 +26,11 @@ export interface RetryBuildBatchCommandOutput extends RetryBuildBatchOutput, __M
26
26
  * import { CodeBuildClient, RetryBuildBatchCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, RetryBuildBatchCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // RetryBuildBatchInput
30
+ * id: "STRING_VALUE",
31
+ * idempotencyToken: "STRING_VALUE",
32
+ * retryType: "STRING_VALUE",
33
+ * };
29
34
  * const command = new RetryBuildBatchCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface RetryBuildCommandOutput extends RetryBuildOutput, __MetadataBea
26
26
  * import { CodeBuildClient, RetryBuildCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, RetryBuildCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // RetryBuildInput
30
+ * id: "STRING_VALUE",
31
+ * idempotencyToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new RetryBuildCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,132 @@ export interface StartBuildBatchCommandOutput extends StartBuildBatchOutput, __M
26
26
  * import { CodeBuildClient, StartBuildBatchCommand } from "@aws-sdk/client-codebuild"; // ES Modules import
27
27
  * // const { CodeBuildClient, StartBuildBatchCommand } = require("@aws-sdk/client-codebuild"); // CommonJS import
28
28
  * const client = new CodeBuildClient(config);
29
+ * const input = { // StartBuildBatchInput
30
+ * projectName: "STRING_VALUE", // required
31
+ * secondarySourcesOverride: [ // ProjectSources
32
+ * { // ProjectSource
33
+ * type: "STRING_VALUE", // required
34
+ * location: "STRING_VALUE",
35
+ * gitCloneDepth: Number("int"),
36
+ * gitSubmodulesConfig: { // GitSubmodulesConfig
37
+ * fetchSubmodules: true || false, // required
38
+ * },
39
+ * buildspec: "STRING_VALUE",
40
+ * auth: { // SourceAuth
41
+ * type: "STRING_VALUE", // required
42
+ * resource: "STRING_VALUE",
43
+ * },
44
+ * reportBuildStatus: true || false,
45
+ * buildStatusConfig: { // BuildStatusConfig
46
+ * context: "STRING_VALUE",
47
+ * targetUrl: "STRING_VALUE",
48
+ * },
49
+ * insecureSsl: true || false,
50
+ * sourceIdentifier: "STRING_VALUE",
51
+ * },
52
+ * ],
53
+ * secondarySourcesVersionOverride: [ // ProjectSecondarySourceVersions
54
+ * { // ProjectSourceVersion
55
+ * sourceIdentifier: "STRING_VALUE", // required
56
+ * sourceVersion: "STRING_VALUE", // required
57
+ * },
58
+ * ],
59
+ * sourceVersion: "STRING_VALUE",
60
+ * artifactsOverride: { // ProjectArtifacts
61
+ * type: "STRING_VALUE", // required
62
+ * location: "STRING_VALUE",
63
+ * path: "STRING_VALUE",
64
+ * namespaceType: "STRING_VALUE",
65
+ * name: "STRING_VALUE",
66
+ * packaging: "STRING_VALUE",
67
+ * overrideArtifactName: true || false,
68
+ * encryptionDisabled: true || false,
69
+ * artifactIdentifier: "STRING_VALUE",
70
+ * bucketOwnerAccess: "STRING_VALUE",
71
+ * },
72
+ * secondaryArtifactsOverride: [ // ProjectArtifactsList
73
+ * {
74
+ * type: "STRING_VALUE", // required
75
+ * location: "STRING_VALUE",
76
+ * path: "STRING_VALUE",
77
+ * namespaceType: "STRING_VALUE",
78
+ * name: "STRING_VALUE",
79
+ * packaging: "STRING_VALUE",
80
+ * overrideArtifactName: true || false,
81
+ * encryptionDisabled: true || false,
82
+ * artifactIdentifier: "STRING_VALUE",
83
+ * bucketOwnerAccess: "STRING_VALUE",
84
+ * },
85
+ * ],
86
+ * environmentVariablesOverride: [ // EnvironmentVariables
87
+ * { // EnvironmentVariable
88
+ * name: "STRING_VALUE", // required
89
+ * value: "STRING_VALUE", // required
90
+ * type: "STRING_VALUE",
91
+ * },
92
+ * ],
93
+ * sourceTypeOverride: "STRING_VALUE",
94
+ * sourceLocationOverride: "STRING_VALUE",
95
+ * sourceAuthOverride: {
96
+ * type: "STRING_VALUE", // required
97
+ * resource: "STRING_VALUE",
98
+ * },
99
+ * gitCloneDepthOverride: Number("int"),
100
+ * gitSubmodulesConfigOverride: {
101
+ * fetchSubmodules: true || false, // required
102
+ * },
103
+ * buildspecOverride: "STRING_VALUE",
104
+ * insecureSslOverride: true || false,
105
+ * reportBuildBatchStatusOverride: true || false,
106
+ * environmentTypeOverride: "STRING_VALUE",
107
+ * imageOverride: "STRING_VALUE",
108
+ * computeTypeOverride: "STRING_VALUE",
109
+ * certificateOverride: "STRING_VALUE",
110
+ * cacheOverride: { // ProjectCache
111
+ * type: "STRING_VALUE", // required
112
+ * location: "STRING_VALUE",
113
+ * modes: [ // ProjectCacheModes
114
+ * "STRING_VALUE",
115
+ * ],
116
+ * },
117
+ * serviceRoleOverride: "STRING_VALUE",
118
+ * privilegedModeOverride: true || false,
119
+ * buildTimeoutInMinutesOverride: Number("int"),
120
+ * queuedTimeoutInMinutesOverride: Number("int"),
121
+ * encryptionKeyOverride: "STRING_VALUE",
122
+ * idempotencyToken: "STRING_VALUE",
123
+ * logsConfigOverride: { // LogsConfig
124
+ * cloudWatchLogs: { // CloudWatchLogsConfig
125
+ * status: "STRING_VALUE", // required
126
+ * groupName: "STRING_VALUE",
127
+ * streamName: "STRING_VALUE",
128
+ * },
129
+ * s3Logs: { // S3LogsConfig
130
+ * status: "STRING_VALUE", // required
131
+ * location: "STRING_VALUE",
132
+ * encryptionDisabled: true || false,
133
+ * bucketOwnerAccess: "STRING_VALUE",
134
+ * },
135
+ * },
136
+ * registryCredentialOverride: { // RegistryCredential
137
+ * credential: "STRING_VALUE", // required
138
+ * credentialProvider: "STRING_VALUE", // required
139
+ * },
140
+ * imagePullCredentialsTypeOverride: "STRING_VALUE",
141
+ * buildBatchConfigOverride: { // ProjectBuildBatchConfig
142
+ * serviceRole: "STRING_VALUE",
143
+ * combineArtifacts: true || false,
144
+ * restrictions: { // BatchRestrictions
145
+ * maximumBuildsAllowed: Number("int"),
146
+ * computeTypesAllowed: [ // ComputeTypesAllowed
147
+ * "STRING_VALUE",
148
+ * ],
149
+ * },
150
+ * timeoutInMins: Number("int"),
151
+ * batchReportMode: "STRING_VALUE",
152
+ * },
153
+ * debugSessionEnabled: true || false,
154
+ * };
29
155
  * const command = new StartBuildBatchCommand(input);
30
156
  * const response = await client.send(command);
31
157
  * ```
@@ -26,6 +26,124 @@ 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 = { // StartBuildInput
30
+ * projectName: "STRING_VALUE", // required
31
+ * secondarySourcesOverride: [ // ProjectSources
32
+ * { // ProjectSource
33
+ * type: "STRING_VALUE", // required
34
+ * location: "STRING_VALUE",
35
+ * gitCloneDepth: Number("int"),
36
+ * gitSubmodulesConfig: { // GitSubmodulesConfig
37
+ * fetchSubmodules: true || false, // required
38
+ * },
39
+ * buildspec: "STRING_VALUE",
40
+ * auth: { // SourceAuth
41
+ * type: "STRING_VALUE", // required
42
+ * resource: "STRING_VALUE",
43
+ * },
44
+ * reportBuildStatus: true || false,
45
+ * buildStatusConfig: { // BuildStatusConfig
46
+ * context: "STRING_VALUE",
47
+ * targetUrl: "STRING_VALUE",
48
+ * },
49
+ * insecureSsl: true || false,
50
+ * sourceIdentifier: "STRING_VALUE",
51
+ * },
52
+ * ],
53
+ * secondarySourcesVersionOverride: [ // ProjectSecondarySourceVersions
54
+ * { // ProjectSourceVersion
55
+ * sourceIdentifier: "STRING_VALUE", // required
56
+ * sourceVersion: "STRING_VALUE", // required
57
+ * },
58
+ * ],
59
+ * sourceVersion: "STRING_VALUE",
60
+ * artifactsOverride: { // ProjectArtifacts
61
+ * type: "STRING_VALUE", // required
62
+ * location: "STRING_VALUE",
63
+ * path: "STRING_VALUE",
64
+ * namespaceType: "STRING_VALUE",
65
+ * name: "STRING_VALUE",
66
+ * packaging: "STRING_VALUE",
67
+ * overrideArtifactName: true || false,
68
+ * encryptionDisabled: true || false,
69
+ * artifactIdentifier: "STRING_VALUE",
70
+ * bucketOwnerAccess: "STRING_VALUE",
71
+ * },
72
+ * secondaryArtifactsOverride: [ // ProjectArtifactsList
73
+ * {
74
+ * type: "STRING_VALUE", // required
75
+ * location: "STRING_VALUE",
76
+ * path: "STRING_VALUE",
77
+ * namespaceType: "STRING_VALUE",
78
+ * name: "STRING_VALUE",
79
+ * packaging: "STRING_VALUE",
80
+ * overrideArtifactName: true || false,
81
+ * encryptionDisabled: true || false,
82
+ * artifactIdentifier: "STRING_VALUE",
83
+ * bucketOwnerAccess: "STRING_VALUE",
84
+ * },
85
+ * ],
86
+ * environmentVariablesOverride: [ // EnvironmentVariables
87
+ * { // EnvironmentVariable
88
+ * name: "STRING_VALUE", // required
89
+ * value: "STRING_VALUE", // required
90
+ * type: "STRING_VALUE",
91
+ * },
92
+ * ],
93
+ * sourceTypeOverride: "STRING_VALUE",
94
+ * sourceLocationOverride: "STRING_VALUE",
95
+ * sourceAuthOverride: {
96
+ * type: "STRING_VALUE", // required
97
+ * resource: "STRING_VALUE",
98
+ * },
99
+ * gitCloneDepthOverride: Number("int"),
100
+ * gitSubmodulesConfigOverride: {
101
+ * fetchSubmodules: true || false, // required
102
+ * },
103
+ * buildspecOverride: "STRING_VALUE",
104
+ * insecureSslOverride: true || false,
105
+ * reportBuildStatusOverride: true || false,
106
+ * buildStatusConfigOverride: {
107
+ * context: "STRING_VALUE",
108
+ * targetUrl: "STRING_VALUE",
109
+ * },
110
+ * environmentTypeOverride: "STRING_VALUE",
111
+ * imageOverride: "STRING_VALUE",
112
+ * computeTypeOverride: "STRING_VALUE",
113
+ * certificateOverride: "STRING_VALUE",
114
+ * cacheOverride: { // ProjectCache
115
+ * type: "STRING_VALUE", // required
116
+ * location: "STRING_VALUE",
117
+ * modes: [ // ProjectCacheModes
118
+ * "STRING_VALUE",
119
+ * ],
120
+ * },
121
+ * serviceRoleOverride: "STRING_VALUE",
122
+ * privilegedModeOverride: true || false,
123
+ * timeoutInMinutesOverride: Number("int"),
124
+ * queuedTimeoutInMinutesOverride: Number("int"),
125
+ * encryptionKeyOverride: "STRING_VALUE",
126
+ * idempotencyToken: "STRING_VALUE",
127
+ * logsConfigOverride: { // LogsConfig
128
+ * cloudWatchLogs: { // CloudWatchLogsConfig
129
+ * status: "STRING_VALUE", // required
130
+ * groupName: "STRING_VALUE",
131
+ * streamName: "STRING_VALUE",
132
+ * },
133
+ * s3Logs: { // S3LogsConfig
134
+ * status: "STRING_VALUE", // required
135
+ * location: "STRING_VALUE",
136
+ * encryptionDisabled: true || false,
137
+ * bucketOwnerAccess: "STRING_VALUE",
138
+ * },
139
+ * },
140
+ * registryCredentialOverride: { // RegistryCredential
141
+ * credential: "STRING_VALUE", // required
142
+ * credentialProvider: "STRING_VALUE", // required
143
+ * },
144
+ * imagePullCredentialsTypeOverride: "STRING_VALUE",
145
+ * debugSessionEnabled: true || false,
146
+ * };
29
147
  * const command = new StartBuildCommand(input);
30
148
  * const response = await client.send(command);
31
149
  * ```
@@ -26,6 +26,9 @@ 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 = { // StopBuildBatchInput
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new StopBuildBatchCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ 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 = { // StopBuildInput
30
+ * id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new StopBuildCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,166 @@ 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 = { // UpdateProjectInput
30
+ * name: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * source: { // ProjectSource
33
+ * type: "STRING_VALUE", // required
34
+ * location: "STRING_VALUE",
35
+ * gitCloneDepth: Number("int"),
36
+ * gitSubmodulesConfig: { // GitSubmodulesConfig
37
+ * fetchSubmodules: true || false, // required
38
+ * },
39
+ * buildspec: "STRING_VALUE",
40
+ * auth: { // SourceAuth
41
+ * type: "STRING_VALUE", // required
42
+ * resource: "STRING_VALUE",
43
+ * },
44
+ * reportBuildStatus: true || false,
45
+ * buildStatusConfig: { // BuildStatusConfig
46
+ * context: "STRING_VALUE",
47
+ * targetUrl: "STRING_VALUE",
48
+ * },
49
+ * insecureSsl: true || false,
50
+ * sourceIdentifier: "STRING_VALUE",
51
+ * },
52
+ * secondarySources: [ // ProjectSources
53
+ * {
54
+ * type: "STRING_VALUE", // required
55
+ * location: "STRING_VALUE",
56
+ * gitCloneDepth: Number("int"),
57
+ * gitSubmodulesConfig: {
58
+ * fetchSubmodules: true || false, // required
59
+ * },
60
+ * buildspec: "STRING_VALUE",
61
+ * auth: {
62
+ * type: "STRING_VALUE", // required
63
+ * resource: "STRING_VALUE",
64
+ * },
65
+ * reportBuildStatus: true || false,
66
+ * buildStatusConfig: {
67
+ * context: "STRING_VALUE",
68
+ * targetUrl: "STRING_VALUE",
69
+ * },
70
+ * insecureSsl: true || false,
71
+ * sourceIdentifier: "STRING_VALUE",
72
+ * },
73
+ * ],
74
+ * sourceVersion: "STRING_VALUE",
75
+ * secondarySourceVersions: [ // ProjectSecondarySourceVersions
76
+ * { // ProjectSourceVersion
77
+ * sourceIdentifier: "STRING_VALUE", // required
78
+ * sourceVersion: "STRING_VALUE", // required
79
+ * },
80
+ * ],
81
+ * artifacts: { // ProjectArtifacts
82
+ * type: "STRING_VALUE", // required
83
+ * location: "STRING_VALUE",
84
+ * path: "STRING_VALUE",
85
+ * namespaceType: "STRING_VALUE",
86
+ * name: "STRING_VALUE",
87
+ * packaging: "STRING_VALUE",
88
+ * overrideArtifactName: true || false,
89
+ * encryptionDisabled: true || false,
90
+ * artifactIdentifier: "STRING_VALUE",
91
+ * bucketOwnerAccess: "STRING_VALUE",
92
+ * },
93
+ * secondaryArtifacts: [ // ProjectArtifactsList
94
+ * {
95
+ * type: "STRING_VALUE", // required
96
+ * location: "STRING_VALUE",
97
+ * path: "STRING_VALUE",
98
+ * namespaceType: "STRING_VALUE",
99
+ * name: "STRING_VALUE",
100
+ * packaging: "STRING_VALUE",
101
+ * overrideArtifactName: true || false,
102
+ * encryptionDisabled: true || false,
103
+ * artifactIdentifier: "STRING_VALUE",
104
+ * bucketOwnerAccess: "STRING_VALUE",
105
+ * },
106
+ * ],
107
+ * cache: { // ProjectCache
108
+ * type: "STRING_VALUE", // required
109
+ * location: "STRING_VALUE",
110
+ * modes: [ // ProjectCacheModes
111
+ * "STRING_VALUE",
112
+ * ],
113
+ * },
114
+ * environment: { // ProjectEnvironment
115
+ * type: "STRING_VALUE", // required
116
+ * image: "STRING_VALUE", // required
117
+ * computeType: "STRING_VALUE", // required
118
+ * environmentVariables: [ // EnvironmentVariables
119
+ * { // EnvironmentVariable
120
+ * name: "STRING_VALUE", // required
121
+ * value: "STRING_VALUE", // required
122
+ * type: "STRING_VALUE",
123
+ * },
124
+ * ],
125
+ * privilegedMode: true || false,
126
+ * certificate: "STRING_VALUE",
127
+ * registryCredential: { // RegistryCredential
128
+ * credential: "STRING_VALUE", // required
129
+ * credentialProvider: "STRING_VALUE", // required
130
+ * },
131
+ * imagePullCredentialsType: "STRING_VALUE",
132
+ * },
133
+ * serviceRole: "STRING_VALUE",
134
+ * timeoutInMinutes: Number("int"),
135
+ * queuedTimeoutInMinutes: Number("int"),
136
+ * encryptionKey: "STRING_VALUE",
137
+ * tags: [ // TagList
138
+ * { // Tag
139
+ * key: "STRING_VALUE",
140
+ * value: "STRING_VALUE",
141
+ * },
142
+ * ],
143
+ * vpcConfig: { // VpcConfig
144
+ * vpcId: "STRING_VALUE",
145
+ * subnets: [ // Subnets
146
+ * "STRING_VALUE",
147
+ * ],
148
+ * securityGroupIds: [ // SecurityGroupIds
149
+ * "STRING_VALUE",
150
+ * ],
151
+ * },
152
+ * badgeEnabled: true || false,
153
+ * logsConfig: { // LogsConfig
154
+ * cloudWatchLogs: { // CloudWatchLogsConfig
155
+ * status: "STRING_VALUE", // required
156
+ * groupName: "STRING_VALUE",
157
+ * streamName: "STRING_VALUE",
158
+ * },
159
+ * s3Logs: { // S3LogsConfig
160
+ * status: "STRING_VALUE", // required
161
+ * location: "STRING_VALUE",
162
+ * encryptionDisabled: true || false,
163
+ * bucketOwnerAccess: "STRING_VALUE",
164
+ * },
165
+ * },
166
+ * fileSystemLocations: [ // ProjectFileSystemLocations
167
+ * { // ProjectFileSystemLocation
168
+ * type: "STRING_VALUE",
169
+ * location: "STRING_VALUE",
170
+ * mountPoint: "STRING_VALUE",
171
+ * identifier: "STRING_VALUE",
172
+ * mountOptions: "STRING_VALUE",
173
+ * },
174
+ * ],
175
+ * buildBatchConfig: { // ProjectBuildBatchConfig
176
+ * serviceRole: "STRING_VALUE",
177
+ * combineArtifacts: true || false,
178
+ * restrictions: { // BatchRestrictions
179
+ * maximumBuildsAllowed: Number("int"),
180
+ * computeTypesAllowed: [ // ComputeTypesAllowed
181
+ * "STRING_VALUE",
182
+ * ],
183
+ * },
184
+ * timeoutInMins: Number("int"),
185
+ * batchReportMode: "STRING_VALUE",
186
+ * },
187
+ * concurrentBuildLimit: Number("int"),
188
+ * };
29
189
  * const command = new UpdateProjectCommand(input);
30
190
  * const response = await client.send(command);
31
191
  * ```
@@ -63,6 +63,11 @@ 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 = { // UpdateProjectVisibilityInput
67
+ * projectArn: "STRING_VALUE", // required
68
+ * projectVisibility: "STRING_VALUE", // required
69
+ * resourceAccessRole: "STRING_VALUE",
70
+ * };
66
71
  * const command = new UpdateProjectVisibilityCommand(input);
67
72
  * const response = await client.send(command);
68
73
  * ```
@@ -28,6 +28,26 @@ 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 = { // UpdateReportGroupInput
32
+ * arn: "STRING_VALUE", // required
33
+ * exportConfig: { // ReportExportConfig
34
+ * exportConfigType: "STRING_VALUE",
35
+ * s3Destination: { // S3ReportExportConfig
36
+ * bucket: "STRING_VALUE",
37
+ * bucketOwner: "STRING_VALUE",
38
+ * path: "STRING_VALUE",
39
+ * packaging: "STRING_VALUE",
40
+ * encryptionKey: "STRING_VALUE",
41
+ * encryptionDisabled: true || false,
42
+ * },
43
+ * },
44
+ * tags: [ // TagList
45
+ * { // Tag
46
+ * key: "STRING_VALUE",
47
+ * value: "STRING_VALUE",
48
+ * },
49
+ * ],
50
+ * };
31
51
  * const command = new UpdateReportGroupCommand(input);
32
52
  * const response = await client.send(command);
33
53
  * ```
@@ -30,6 +30,21 @@ 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 = { // UpdateWebhookInput
34
+ * projectName: "STRING_VALUE", // required
35
+ * branchFilter: "STRING_VALUE",
36
+ * rotateSecret: true || false,
37
+ * filterGroups: [ // FilterGroups
38
+ * [ // FilterGroup
39
+ * { // WebhookFilter
40
+ * type: "STRING_VALUE", // required
41
+ * pattern: "STRING_VALUE", // required
42
+ * excludeMatchedPattern: true || false,
43
+ * },
44
+ * ],
45
+ * ],
46
+ * buildType: "STRING_VALUE",
47
+ * };
33
48
  * const command = new UpdateWebhookCommand(input);
34
49
  * const response = await client.send(command);
35
50
  * ```
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.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },