@aws-sdk/client-codebuild 3.933.0 → 3.935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,45 +1,58 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CodeBuildServiceException as __BaseException } from "./CodeBuildServiceException";
3
- export declare class AccountLimitExceededException extends __BaseException {
4
- readonly name: "AccountLimitExceededException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccountLimitExceededException, __BaseException>
8
- );
9
- }
10
- export declare class AccountSuspendedException extends __BaseException {
11
- readonly name: "AccountSuspendedException";
12
- readonly $fault: "client";
13
- constructor(
14
- opts: __ExceptionOptionType<AccountSuspendedException, __BaseException>
15
- );
16
- }
17
- export declare const ArtifactNamespace: {
18
- readonly BUILD_ID: "BUILD_ID";
19
- readonly NONE: "NONE";
20
- };
21
- export type ArtifactNamespace =
22
- (typeof ArtifactNamespace)[keyof typeof ArtifactNamespace];
23
- export declare const ArtifactPackaging: {
24
- readonly NONE: "NONE";
25
- readonly ZIP: "ZIP";
26
- };
27
- export type ArtifactPackaging =
28
- (typeof ArtifactPackaging)[keyof typeof ArtifactPackaging];
29
- export declare const ArtifactsType: {
30
- readonly CODEPIPELINE: "CODEPIPELINE";
31
- readonly NO_ARTIFACTS: "NO_ARTIFACTS";
32
- readonly S3: "S3";
33
- };
34
- export type ArtifactsType = (typeof ArtifactsType)[keyof typeof ArtifactsType];
35
- export declare const AuthType: {
36
- readonly BASIC_AUTH: "BASIC_AUTH";
37
- readonly CODECONNECTIONS: "CODECONNECTIONS";
38
- readonly OAUTH: "OAUTH";
39
- readonly PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN";
40
- readonly SECRETS_MANAGER: "SECRETS_MANAGER";
41
- };
42
- export type AuthType = (typeof AuthType)[keyof typeof AuthType];
1
+ import {
2
+ ArtifactNamespace,
3
+ ArtifactPackaging,
4
+ ArtifactsType,
5
+ AuthType,
6
+ BatchReportModeType,
7
+ BucketOwnerAccess,
8
+ BuildBatchPhaseType,
9
+ BuildPhaseType,
10
+ CacheMode,
11
+ CacheType,
12
+ CommandType,
13
+ ComputeType,
14
+ CredentialProviderType,
15
+ EnvironmentType,
16
+ EnvironmentVariableType,
17
+ FileSystemType,
18
+ FleetContextCode,
19
+ FleetOverflowBehavior,
20
+ FleetProxyRuleBehavior,
21
+ FleetProxyRuleEffectType,
22
+ FleetProxyRuleType,
23
+ FleetScalingMetricType,
24
+ FleetScalingType,
25
+ FleetSortByType,
26
+ FleetStatusCode,
27
+ ImagePullCredentialsType,
28
+ LanguageType,
29
+ LogsConfigStatusType,
30
+ MachineType,
31
+ PlatformType,
32
+ ProjectSortByType,
33
+ ProjectVisibilityType,
34
+ PullRequestBuildApproverRole,
35
+ PullRequestBuildCommentApproval,
36
+ ReportCodeCoverageSortByType,
37
+ ReportExportConfigType,
38
+ ReportGroupSortByType,
39
+ ReportGroupStatusType,
40
+ ReportGroupTrendFieldType,
41
+ ReportPackagingType,
42
+ ReportStatusType,
43
+ ReportType,
44
+ RetryBuildBatchType,
45
+ ServerType,
46
+ SharedResourceSortByType,
47
+ SortOrderType,
48
+ SourceAuthType,
49
+ SourceType,
50
+ StatusType,
51
+ WebhookBuildType,
52
+ WebhookFilterType,
53
+ WebhookScopeType,
54
+ WebhookStatus,
55
+ } from "./enums";
43
56
  export interface AutoRetryConfig {
44
57
  autoRetryLimit?: number | undefined;
45
58
  autoRetryNumber?: number | undefined;
@@ -57,23 +70,9 @@ export interface BatchDeleteBuildsOutput {
57
70
  buildsDeleted?: string[] | undefined;
58
71
  buildsNotDeleted?: BuildNotDeleted[] | undefined;
59
72
  }
60
- export declare class InvalidInputException extends __BaseException {
61
- readonly name: "InvalidInputException";
62
- readonly $fault: "client";
63
- constructor(
64
- opts: __ExceptionOptionType<InvalidInputException, __BaseException>
65
- );
66
- }
67
73
  export interface BatchGetBuildBatchesInput {
68
74
  ids: string[] | undefined;
69
75
  }
70
- export declare const BucketOwnerAccess: {
71
- readonly FULL: "FULL";
72
- readonly NONE: "NONE";
73
- readonly READ_ONLY: "READ_ONLY";
74
- };
75
- export type BucketOwnerAccess =
76
- (typeof BucketOwnerAccess)[keyof typeof BucketOwnerAccess];
77
76
  export interface BuildArtifacts {
78
77
  location?: string | undefined;
79
78
  sha256sum?: string | undefined;
@@ -83,12 +82,6 @@ export interface BuildArtifacts {
83
82
  artifactIdentifier?: string | undefined;
84
83
  bucketOwnerAccess?: BucketOwnerAccess | undefined;
85
84
  }
86
- export declare const BatchReportModeType: {
87
- readonly REPORT_AGGREGATED_BATCH: "REPORT_AGGREGATED_BATCH";
88
- readonly REPORT_INDIVIDUAL_BUILDS: "REPORT_INDIVIDUAL_BUILDS";
89
- };
90
- export type BatchReportModeType =
91
- (typeof BatchReportModeType)[keyof typeof BatchReportModeType];
92
85
  export interface BatchRestrictions {
93
86
  maximumBuildsAllowed?: number | undefined;
94
87
  computeTypesAllowed?: string[] | undefined;
@@ -101,15 +94,6 @@ export interface ProjectBuildBatchConfig {
101
94
  timeoutInMins?: number | undefined;
102
95
  batchReportMode?: BatchReportModeType | undefined;
103
96
  }
104
- export declare const StatusType: {
105
- readonly FAILED: "FAILED";
106
- readonly FAULT: "FAULT";
107
- readonly IN_PROGRESS: "IN_PROGRESS";
108
- readonly STOPPED: "STOPPED";
109
- readonly SUCCEEDED: "SUCCEEDED";
110
- readonly TIMED_OUT: "TIMED_OUT";
111
- };
112
- export type StatusType = (typeof StatusType)[keyof typeof StatusType];
113
97
  export interface ResolvedArtifact {
114
98
  type?: ArtifactsType | undefined;
115
99
  location?: string | undefined;
@@ -129,29 +113,12 @@ export interface BuildGroup {
129
113
  currentBuildSummary?: BuildSummary | undefined;
130
114
  priorBuildSummaryList?: BuildSummary[] | undefined;
131
115
  }
132
- export declare const CacheMode: {
133
- readonly LOCAL_CUSTOM_CACHE: "LOCAL_CUSTOM_CACHE";
134
- readonly LOCAL_DOCKER_LAYER_CACHE: "LOCAL_DOCKER_LAYER_CACHE";
135
- readonly LOCAL_SOURCE_CACHE: "LOCAL_SOURCE_CACHE";
136
- };
137
- export type CacheMode = (typeof CacheMode)[keyof typeof CacheMode];
138
- export declare const CacheType: {
139
- readonly LOCAL: "LOCAL";
140
- readonly NO_CACHE: "NO_CACHE";
141
- readonly S3: "S3";
142
- };
143
- export type CacheType = (typeof CacheType)[keyof typeof CacheType];
144
116
  export interface ProjectCache {
145
117
  type: CacheType | undefined;
146
118
  location?: string | undefined;
147
119
  modes?: CacheMode[] | undefined;
148
120
  cacheNamespace?: string | undefined;
149
121
  }
150
- export declare const MachineType: {
151
- readonly GENERAL: "GENERAL";
152
- readonly NVME: "NVME";
153
- };
154
- export type MachineType = (typeof MachineType)[keyof typeof MachineType];
155
122
  export interface ComputeConfiguration {
156
123
  vCpu?: number | undefined;
157
124
  memory?: number | undefined;
@@ -159,21 +126,6 @@ export interface ComputeConfiguration {
159
126
  machineType?: MachineType | undefined;
160
127
  instanceType?: string | undefined;
161
128
  }
162
- export declare const ComputeType: {
163
- readonly ATTRIBUTE_BASED_COMPUTE: "ATTRIBUTE_BASED_COMPUTE";
164
- readonly BUILD_GENERAL1_2XLARGE: "BUILD_GENERAL1_2XLARGE";
165
- readonly BUILD_GENERAL1_LARGE: "BUILD_GENERAL1_LARGE";
166
- readonly BUILD_GENERAL1_MEDIUM: "BUILD_GENERAL1_MEDIUM";
167
- readonly BUILD_GENERAL1_SMALL: "BUILD_GENERAL1_SMALL";
168
- readonly BUILD_GENERAL1_XLARGE: "BUILD_GENERAL1_XLARGE";
169
- readonly BUILD_LAMBDA_10GB: "BUILD_LAMBDA_10GB";
170
- readonly BUILD_LAMBDA_1GB: "BUILD_LAMBDA_1GB";
171
- readonly BUILD_LAMBDA_2GB: "BUILD_LAMBDA_2GB";
172
- readonly BUILD_LAMBDA_4GB: "BUILD_LAMBDA_4GB";
173
- readonly BUILD_LAMBDA_8GB: "BUILD_LAMBDA_8GB";
174
- readonly CUSTOM_INSTANCE_TYPE: "CUSTOM_INSTANCE_TYPE";
175
- };
176
- export type ComputeType = (typeof ComputeType)[keyof typeof ComputeType];
177
129
  export interface DockerServerStatus {
178
130
  status?: string | undefined;
179
131
  message?: string | undefined;
@@ -183,13 +135,6 @@ export interface DockerServer {
183
135
  securityGroupIds?: string[] | undefined;
184
136
  status?: DockerServerStatus | undefined;
185
137
  }
186
- export declare const EnvironmentVariableType: {
187
- readonly PARAMETER_STORE: "PARAMETER_STORE";
188
- readonly PLAINTEXT: "PLAINTEXT";
189
- readonly SECRETS_MANAGER: "SECRETS_MANAGER";
190
- };
191
- export type EnvironmentVariableType =
192
- (typeof EnvironmentVariableType)[keyof typeof EnvironmentVariableType];
193
138
  export interface EnvironmentVariable {
194
139
  name: string | undefined;
195
140
  value: string | undefined;
@@ -198,37 +143,10 @@ export interface EnvironmentVariable {
198
143
  export interface ProjectFleet {
199
144
  fleetArn?: string | undefined;
200
145
  }
201
- export declare const ImagePullCredentialsType: {
202
- readonly CODEBUILD: "CODEBUILD";
203
- readonly SERVICE_ROLE: "SERVICE_ROLE";
204
- };
205
- export type ImagePullCredentialsType =
206
- (typeof ImagePullCredentialsType)[keyof typeof ImagePullCredentialsType];
207
- export declare const CredentialProviderType: {
208
- readonly SECRETS_MANAGER: "SECRETS_MANAGER";
209
- };
210
- export type CredentialProviderType =
211
- (typeof CredentialProviderType)[keyof typeof CredentialProviderType];
212
146
  export interface RegistryCredential {
213
147
  credential: string | undefined;
214
148
  credentialProvider: CredentialProviderType | undefined;
215
149
  }
216
- export declare const EnvironmentType: {
217
- readonly ARM_CONTAINER: "ARM_CONTAINER";
218
- readonly ARM_EC2: "ARM_EC2";
219
- readonly ARM_LAMBDA_CONTAINER: "ARM_LAMBDA_CONTAINER";
220
- readonly LINUX_CONTAINER: "LINUX_CONTAINER";
221
- readonly LINUX_EC2: "LINUX_EC2";
222
- readonly LINUX_GPU_CONTAINER: "LINUX_GPU_CONTAINER";
223
- readonly LINUX_LAMBDA_CONTAINER: "LINUX_LAMBDA_CONTAINER";
224
- readonly MAC_ARM: "MAC_ARM";
225
- readonly WINDOWS_CONTAINER: "WINDOWS_CONTAINER";
226
- readonly WINDOWS_EC2: "WINDOWS_EC2";
227
- readonly WINDOWS_SERVER_2019_CONTAINER: "WINDOWS_SERVER_2019_CONTAINER";
228
- readonly WINDOWS_SERVER_2022_CONTAINER: "WINDOWS_SERVER_2022_CONTAINER";
229
- };
230
- export type EnvironmentType =
231
- (typeof EnvironmentType)[keyof typeof EnvironmentType];
232
150
  export interface ProjectEnvironment {
233
151
  type: EnvironmentType | undefined;
234
152
  image: string | undefined;
@@ -242,11 +160,6 @@ export interface ProjectEnvironment {
242
160
  imagePullCredentialsType?: ImagePullCredentialsType | undefined;
243
161
  dockerServer?: DockerServer | undefined;
244
162
  }
245
- export declare const FileSystemType: {
246
- readonly EFS: "EFS";
247
- };
248
- export type FileSystemType =
249
- (typeof FileSystemType)[keyof typeof FileSystemType];
250
163
  export interface ProjectFileSystemLocation {
251
164
  type?: FileSystemType | undefined;
252
165
  location?: string | undefined;
@@ -254,12 +167,6 @@ export interface ProjectFileSystemLocation {
254
167
  identifier?: string | undefined;
255
168
  mountOptions?: string | undefined;
256
169
  }
257
- export declare const LogsConfigStatusType: {
258
- readonly DISABLED: "DISABLED";
259
- readonly ENABLED: "ENABLED";
260
- };
261
- export type LogsConfigStatusType =
262
- (typeof LogsConfigStatusType)[keyof typeof LogsConfigStatusType];
263
170
  export interface CloudWatchLogsConfig {
264
171
  status: LogsConfigStatusType | undefined;
265
172
  groupName?: string | undefined;
@@ -279,17 +186,6 @@ export interface PhaseContext {
279
186
  statusCode?: string | undefined;
280
187
  message?: string | undefined;
281
188
  }
282
- export declare const BuildBatchPhaseType: {
283
- readonly COMBINE_ARTIFACTS: "COMBINE_ARTIFACTS";
284
- readonly DOWNLOAD_BATCHSPEC: "DOWNLOAD_BATCHSPEC";
285
- readonly FAILED: "FAILED";
286
- readonly IN_PROGRESS: "IN_PROGRESS";
287
- readonly STOPPED: "STOPPED";
288
- readonly SUBMITTED: "SUBMITTED";
289
- readonly SUCCEEDED: "SUCCEEDED";
290
- };
291
- export type BuildBatchPhaseType =
292
- (typeof BuildBatchPhaseType)[keyof typeof BuildBatchPhaseType];
293
189
  export interface BuildBatchPhase {
294
190
  phaseType?: BuildBatchPhaseType | undefined;
295
191
  phaseStatus?: StatusType | undefined;
@@ -298,13 +194,6 @@ export interface BuildBatchPhase {
298
194
  durationInSeconds?: number | undefined;
299
195
  contexts?: PhaseContext[] | undefined;
300
196
  }
301
- export declare const SourceAuthType: {
302
- readonly CODECONNECTIONS: "CODECONNECTIONS";
303
- readonly OAUTH: "OAUTH";
304
- readonly SECRETS_MANAGER: "SECRETS_MANAGER";
305
- };
306
- export type SourceAuthType =
307
- (typeof SourceAuthType)[keyof typeof SourceAuthType];
308
197
  export interface SourceAuth {
309
198
  type: SourceAuthType | undefined;
310
199
  resource?: string | undefined;
@@ -316,18 +205,6 @@ export interface BuildStatusConfig {
316
205
  export interface GitSubmodulesConfig {
317
206
  fetchSubmodules: boolean | undefined;
318
207
  }
319
- export declare const SourceType: {
320
- readonly BITBUCKET: "BITBUCKET";
321
- readonly CODECOMMIT: "CODECOMMIT";
322
- readonly CODEPIPELINE: "CODEPIPELINE";
323
- readonly GITHUB: "GITHUB";
324
- readonly GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE";
325
- readonly GITLAB: "GITLAB";
326
- readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
327
- readonly NO_SOURCE: "NO_SOURCE";
328
- readonly S3: "S3";
329
- };
330
- export type SourceType = (typeof SourceType)[keyof typeof SourceType];
331
208
  export interface ProjectSource {
332
209
  type: SourceType | undefined;
333
210
  location?: string | undefined;
@@ -411,21 +288,6 @@ export interface NetworkInterface {
411
288
  subnetId?: string | undefined;
412
289
  networkInterfaceId?: string | undefined;
413
290
  }
414
- export declare const BuildPhaseType: {
415
- readonly BUILD: "BUILD";
416
- readonly COMPLETED: "COMPLETED";
417
- readonly DOWNLOAD_SOURCE: "DOWNLOAD_SOURCE";
418
- readonly FINALIZING: "FINALIZING";
419
- readonly INSTALL: "INSTALL";
420
- readonly POST_BUILD: "POST_BUILD";
421
- readonly PRE_BUILD: "PRE_BUILD";
422
- readonly PROVISIONING: "PROVISIONING";
423
- readonly QUEUED: "QUEUED";
424
- readonly SUBMITTED: "SUBMITTED";
425
- readonly UPLOAD_ARTIFACTS: "UPLOAD_ARTIFACTS";
426
- };
427
- export type BuildPhaseType =
428
- (typeof BuildPhaseType)[keyof typeof BuildPhaseType];
429
291
  export interface BuildPhase {
430
292
  phaseType?: BuildPhaseType | undefined;
431
293
  phaseStatus?: StatusType | undefined;
@@ -477,10 +339,6 @@ export interface BatchGetCommandExecutionsInput {
477
339
  sandboxId: string | undefined;
478
340
  commandExecutionIds: string[] | undefined;
479
341
  }
480
- export declare const CommandType: {
481
- readonly SHELL: "SHELL";
482
- };
483
- export type CommandType = (typeof CommandType)[keyof typeof CommandType];
484
342
  export interface CommandExecution {
485
343
  id?: string | undefined;
486
344
  sandboxId?: string | undefined;
@@ -503,30 +361,6 @@ export interface BatchGetCommandExecutionsOutput {
503
361
  export interface BatchGetFleetsInput {
504
362
  names: string[] | undefined;
505
363
  }
506
- export declare const FleetOverflowBehavior: {
507
- readonly ON_DEMAND: "ON_DEMAND";
508
- readonly QUEUE: "QUEUE";
509
- };
510
- export type FleetOverflowBehavior =
511
- (typeof FleetOverflowBehavior)[keyof typeof FleetOverflowBehavior];
512
- export declare const FleetProxyRuleBehavior: {
513
- readonly ALLOW_ALL: "ALLOW_ALL";
514
- readonly DENY_ALL: "DENY_ALL";
515
- };
516
- export type FleetProxyRuleBehavior =
517
- (typeof FleetProxyRuleBehavior)[keyof typeof FleetProxyRuleBehavior];
518
- export declare const FleetProxyRuleEffectType: {
519
- readonly ALLOW: "ALLOW";
520
- readonly DENY: "DENY";
521
- };
522
- export type FleetProxyRuleEffectType =
523
- (typeof FleetProxyRuleEffectType)[keyof typeof FleetProxyRuleEffectType];
524
- export declare const FleetProxyRuleType: {
525
- readonly DOMAIN: "DOMAIN";
526
- readonly IP: "IP";
527
- };
528
- export type FleetProxyRuleType =
529
- (typeof FleetProxyRuleType)[keyof typeof FleetProxyRuleType];
530
364
  export interface FleetProxyRule {
531
365
  type: FleetProxyRuleType | undefined;
532
366
  effect: FleetProxyRuleEffectType | undefined;
@@ -536,16 +370,6 @@ export interface ProxyConfiguration {
536
370
  defaultBehavior?: FleetProxyRuleBehavior | undefined;
537
371
  orderedProxyRules?: FleetProxyRule[] | undefined;
538
372
  }
539
- export declare const FleetScalingType: {
540
- readonly TARGET_TRACKING_SCALING: "TARGET_TRACKING_SCALING";
541
- };
542
- export type FleetScalingType =
543
- (typeof FleetScalingType)[keyof typeof FleetScalingType];
544
- export declare const FleetScalingMetricType: {
545
- readonly FLEET_UTILIZATION_RATE: "FLEET_UTILIZATION_RATE";
546
- };
547
- export type FleetScalingMetricType =
548
- (typeof FleetScalingMetricType)[keyof typeof FleetScalingMetricType];
549
373
  export interface TargetTrackingScalingConfiguration {
550
374
  metricType?: FleetScalingMetricType | undefined;
551
375
  targetValue?: number | undefined;
@@ -558,27 +382,6 @@ export interface ScalingConfigurationOutput {
558
382
  maxCapacity?: number | undefined;
559
383
  desiredCapacity?: number | undefined;
560
384
  }
561
- export declare const FleetContextCode: {
562
- readonly ACTION_REQUIRED: "ACTION_REQUIRED";
563
- readonly CREATE_FAILED: "CREATE_FAILED";
564
- readonly INSUFFICIENT_CAPACITY: "INSUFFICIENT_CAPACITY";
565
- readonly PENDING_DELETION: "PENDING_DELETION";
566
- readonly UPDATE_FAILED: "UPDATE_FAILED";
567
- };
568
- export type FleetContextCode =
569
- (typeof FleetContextCode)[keyof typeof FleetContextCode];
570
- export declare const FleetStatusCode: {
571
- readonly ACTIVE: "ACTIVE";
572
- readonly CREATE_FAILED: "CREATE_FAILED";
573
- readonly CREATING: "CREATING";
574
- readonly DELETING: "DELETING";
575
- readonly PENDING_DELETION: "PENDING_DELETION";
576
- readonly ROTATING: "ROTATING";
577
- readonly UPDATE_ROLLBACK_FAILED: "UPDATE_ROLLBACK_FAILED";
578
- readonly UPDATING: "UPDATING";
579
- };
580
- export type FleetStatusCode =
581
- (typeof FleetStatusCode)[keyof typeof FleetStatusCode];
582
385
  export interface FleetStatus {
583
386
  statusCode?: FleetStatusCode | undefined;
584
387
  context?: FleetContextCode | undefined;
@@ -630,87 +433,20 @@ export interface ProjectBadge {
630
433
  badgeEnabled?: boolean | undefined;
631
434
  badgeRequestUrl?: string | undefined;
632
435
  }
633
- export declare const ProjectVisibilityType: {
634
- readonly PRIVATE: "PRIVATE";
635
- readonly PUBLIC_READ: "PUBLIC_READ";
636
- };
637
- export type ProjectVisibilityType =
638
- (typeof ProjectVisibilityType)[keyof typeof ProjectVisibilityType];
639
- export declare const WebhookBuildType: {
640
- readonly BUILD: "BUILD";
641
- readonly BUILD_BATCH: "BUILD_BATCH";
642
- readonly RUNNER_BUILDKITE_BUILD: "RUNNER_BUILDKITE_BUILD";
643
- };
644
- export type WebhookBuildType =
645
- (typeof WebhookBuildType)[keyof typeof WebhookBuildType];
646
- export declare const WebhookFilterType: {
647
- readonly ACTOR_ACCOUNT_ID: "ACTOR_ACCOUNT_ID";
648
- readonly BASE_REF: "BASE_REF";
649
- readonly COMMIT_MESSAGE: "COMMIT_MESSAGE";
650
- readonly EVENT: "EVENT";
651
- readonly FILE_PATH: "FILE_PATH";
652
- readonly HEAD_REF: "HEAD_REF";
653
- readonly ORGANIZATION_NAME: "ORGANIZATION_NAME";
654
- readonly RELEASE_NAME: "RELEASE_NAME";
655
- readonly REPOSITORY_NAME: "REPOSITORY_NAME";
656
- readonly TAG_NAME: "TAG_NAME";
657
- readonly WORKFLOW_NAME: "WORKFLOW_NAME";
658
- };
659
- export type WebhookFilterType =
660
- (typeof WebhookFilterType)[keyof typeof WebhookFilterType];
661
436
  export interface WebhookFilter {
662
437
  type: WebhookFilterType | undefined;
663
438
  pattern: string | undefined;
664
439
  excludeMatchedPattern?: boolean | undefined;
665
440
  }
666
- export declare const PullRequestBuildApproverRole: {
667
- readonly BITBUCKET_ADMIN: "BITBUCKET_ADMIN";
668
- readonly BITBUCKET_READ: "BITBUCKET_READ";
669
- readonly BITBUCKET_WRITE: "BITBUCKET_WRITE";
670
- readonly GITHUB_ADMIN: "GITHUB_ADMIN";
671
- readonly GITHUB_MAINTAIN: "GITHUB_MAINTAIN";
672
- readonly GITHUB_READ: "GITHUB_READ";
673
- readonly GITHUB_TRIAGE: "GITHUB_TRIAGE";
674
- readonly GITHUB_WRITE: "GITHUB_WRITE";
675
- readonly GITLAB_DEVELOPER: "GITLAB_DEVELOPER";
676
- readonly GITLAB_GUEST: "GITLAB_GUEST";
677
- readonly GITLAB_MAINTAINER: "GITLAB_MAINTAINER";
678
- readonly GITLAB_OWNER: "GITLAB_OWNER";
679
- readonly GITLAB_PLANNER: "GITLAB_PLANNER";
680
- readonly GITLAB_REPORTER: "GITLAB_REPORTER";
681
- };
682
- export type PullRequestBuildApproverRole =
683
- (typeof PullRequestBuildApproverRole)[keyof typeof PullRequestBuildApproverRole];
684
- export declare const PullRequestBuildCommentApproval: {
685
- readonly ALL_PULL_REQUESTS: "ALL_PULL_REQUESTS";
686
- readonly DISABLED: "DISABLED";
687
- readonly FORK_PULL_REQUESTS: "FORK_PULL_REQUESTS";
688
- };
689
- export type PullRequestBuildCommentApproval =
690
- (typeof PullRequestBuildCommentApproval)[keyof typeof PullRequestBuildCommentApproval];
691
441
  export interface PullRequestBuildPolicy {
692
442
  requiresCommentApproval: PullRequestBuildCommentApproval | undefined;
693
443
  approverRoles?: PullRequestBuildApproverRole[] | undefined;
694
444
  }
695
- export declare const WebhookScopeType: {
696
- readonly GITHUB_GLOBAL: "GITHUB_GLOBAL";
697
- readonly GITHUB_ORGANIZATION: "GITHUB_ORGANIZATION";
698
- readonly GITLAB_GROUP: "GITLAB_GROUP";
699
- };
700
- export type WebhookScopeType =
701
- (typeof WebhookScopeType)[keyof typeof WebhookScopeType];
702
445
  export interface ScopeConfiguration {
703
446
  name: string | undefined;
704
447
  domain?: string | undefined;
705
448
  scope: WebhookScopeType | undefined;
706
449
  }
707
- export declare const WebhookStatus: {
708
- readonly ACTIVE: "ACTIVE";
709
- readonly CREATE_FAILED: "CREATE_FAILED";
710
- readonly CREATING: "CREATING";
711
- readonly DELETING: "DELETING";
712
- };
713
- export type WebhookStatus = (typeof WebhookStatus)[keyof typeof WebhookStatus];
714
450
  export interface Webhook {
715
451
  url?: string | undefined;
716
452
  payloadUrl?: string | undefined;
@@ -763,18 +499,6 @@ export interface BatchGetProjectsOutput {
763
499
  export interface BatchGetReportGroupsInput {
764
500
  reportGroupArns: string[] | undefined;
765
501
  }
766
- export declare const ReportExportConfigType: {
767
- readonly NO_EXPORT: "NO_EXPORT";
768
- readonly S3: "S3";
769
- };
770
- export type ReportExportConfigType =
771
- (typeof ReportExportConfigType)[keyof typeof ReportExportConfigType];
772
- export declare const ReportPackagingType: {
773
- readonly NONE: "NONE";
774
- readonly ZIP: "ZIP";
775
- };
776
- export type ReportPackagingType =
777
- (typeof ReportPackagingType)[keyof typeof ReportPackagingType];
778
502
  export interface S3ReportExportConfig {
779
503
  bucket?: string | undefined;
780
504
  bucketOwner?: string | undefined;
@@ -787,17 +511,6 @@ export interface ReportExportConfig {
787
511
  exportConfigType?: ReportExportConfigType | undefined;
788
512
  s3Destination?: S3ReportExportConfig | undefined;
789
513
  }
790
- export declare const ReportGroupStatusType: {
791
- readonly ACTIVE: "ACTIVE";
792
- readonly DELETING: "DELETING";
793
- };
794
- export type ReportGroupStatusType =
795
- (typeof ReportGroupStatusType)[keyof typeof ReportGroupStatusType];
796
- export declare const ReportType: {
797
- readonly CODE_COVERAGE: "CODE_COVERAGE";
798
- readonly TEST: "TEST";
799
- };
800
- export type ReportType = (typeof ReportType)[keyof typeof ReportType];
801
514
  export interface ReportGroup {
802
515
  arn?: string | undefined;
803
516
  name?: string | undefined;
@@ -823,15 +536,6 @@ export interface CodeCoverageReportSummary {
823
536
  branchesCovered?: number | undefined;
824
537
  branchesMissed?: number | undefined;
825
538
  }
826
- export declare const ReportStatusType: {
827
- readonly DELETING: "DELETING";
828
- readonly FAILED: "FAILED";
829
- readonly GENERATING: "GENERATING";
830
- readonly INCOMPLETE: "INCOMPLETE";
831
- readonly SUCCEEDED: "SUCCEEDED";
832
- };
833
- export type ReportStatusType =
834
- (typeof ReportStatusType)[keyof typeof ReportStatusType];
835
539
  export interface TestReportSummary {
836
540
  total: number | undefined;
837
541
  statusCounts: Record<string, number> | undefined;
@@ -930,13 +634,6 @@ export interface CreateFleetInput {
930
634
  export interface CreateFleetOutput {
931
635
  fleet?: Fleet | undefined;
932
636
  }
933
- export declare class ResourceAlreadyExistsException extends __BaseException {
934
- readonly name: "ResourceAlreadyExistsException";
935
- readonly $fault: "client";
936
- constructor(
937
- opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
938
- );
939
- }
940
637
  export interface CreateProjectInput {
941
638
  name: string | undefined;
942
639
  description?: string | undefined;
@@ -985,20 +682,6 @@ export interface CreateWebhookInput {
985
682
  export interface CreateWebhookOutput {
986
683
  webhook?: Webhook | undefined;
987
684
  }
988
- export declare class OAuthProviderException extends __BaseException {
989
- readonly name: "OAuthProviderException";
990
- readonly $fault: "client";
991
- constructor(
992
- opts: __ExceptionOptionType<OAuthProviderException, __BaseException>
993
- );
994
- }
995
- export declare class ResourceNotFoundException extends __BaseException {
996
- readonly name: "ResourceNotFoundException";
997
- readonly $fault: "client";
998
- constructor(
999
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
1000
- );
1001
- }
1002
685
  export interface DeleteBuildBatchInput {
1003
686
  id: string | undefined;
1004
687
  }
@@ -1038,17 +721,6 @@ export interface DeleteWebhookInput {
1038
721
  projectName: string | undefined;
1039
722
  }
1040
723
  export interface DeleteWebhookOutput {}
1041
- export declare const ReportCodeCoverageSortByType: {
1042
- readonly FILE_PATH: "FILE_PATH";
1043
- readonly LINE_COVERAGE_PERCENTAGE: "LINE_COVERAGE_PERCENTAGE";
1044
- };
1045
- export type ReportCodeCoverageSortByType =
1046
- (typeof ReportCodeCoverageSortByType)[keyof typeof ReportCodeCoverageSortByType];
1047
- export declare const SortOrderType: {
1048
- readonly ASCENDING: "ASCENDING";
1049
- readonly DESCENDING: "DESCENDING";
1050
- };
1051
- export type SortOrderType = (typeof SortOrderType)[keyof typeof SortOrderType];
1052
724
  export interface DescribeCodeCoveragesInput {
1053
725
  reportArn: string | undefined;
1054
726
  nextToken?: string | undefined;
@@ -1099,19 +771,6 @@ export interface DescribeTestCasesOutput {
1099
771
  nextToken?: string | undefined;
1100
772
  testCases?: TestCase[] | undefined;
1101
773
  }
1102
- export declare const ReportGroupTrendFieldType: {
1103
- readonly BRANCHES_COVERED: "BRANCHES_COVERED";
1104
- readonly BRANCHES_MISSED: "BRANCHES_MISSED";
1105
- readonly BRANCH_COVERAGE: "BRANCH_COVERAGE";
1106
- readonly DURATION: "DURATION";
1107
- readonly LINES_COVERED: "LINES_COVERED";
1108
- readonly LINES_MISSED: "LINES_MISSED";
1109
- readonly LINE_COVERAGE: "LINE_COVERAGE";
1110
- readonly PASS_RATE: "PASS_RATE";
1111
- readonly TOTAL: "TOTAL";
1112
- };
1113
- export type ReportGroupTrendFieldType =
1114
- (typeof ReportGroupTrendFieldType)[keyof typeof ReportGroupTrendFieldType];
1115
774
  export interface GetReportGroupTrendInput {
1116
775
  reportGroupArn: string | undefined;
1117
776
  numOfReports?: number | undefined;
@@ -1136,14 +795,6 @@ export interface GetResourcePolicyInput {
1136
795
  export interface GetResourcePolicyOutput {
1137
796
  policy?: string | undefined;
1138
797
  }
1139
- export declare const ServerType: {
1140
- readonly BITBUCKET: "BITBUCKET";
1141
- readonly GITHUB: "GITHUB";
1142
- readonly GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE";
1143
- readonly GITLAB: "GITLAB";
1144
- readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
1145
- };
1146
- export type ServerType = (typeof ServerType)[keyof typeof ServerType];
1147
798
  export interface ImportSourceCredentialsInput {
1148
799
  username?: string | undefined;
1149
800
  token: string | undefined;
@@ -1212,30 +863,10 @@ export interface EnvironmentImage {
1212
863
  description?: string | undefined;
1213
864
  versions?: string[] | undefined;
1214
865
  }
1215
- export declare const LanguageType: {
1216
- readonly ANDROID: "ANDROID";
1217
- readonly BASE: "BASE";
1218
- readonly DOCKER: "DOCKER";
1219
- readonly DOTNET: "DOTNET";
1220
- readonly GOLANG: "GOLANG";
1221
- readonly JAVA: "JAVA";
1222
- readonly NODE_JS: "NODE_JS";
1223
- readonly PHP: "PHP";
1224
- readonly PYTHON: "PYTHON";
1225
- readonly RUBY: "RUBY";
1226
- };
1227
- export type LanguageType = (typeof LanguageType)[keyof typeof LanguageType];
1228
866
  export interface EnvironmentLanguage {
1229
867
  language?: LanguageType | undefined;
1230
868
  images?: EnvironmentImage[] | undefined;
1231
869
  }
1232
- export declare const PlatformType: {
1233
- readonly AMAZON_LINUX: "AMAZON_LINUX";
1234
- readonly DEBIAN: "DEBIAN";
1235
- readonly UBUNTU: "UBUNTU";
1236
- readonly WINDOWS_SERVER: "WINDOWS_SERVER";
1237
- };
1238
- export type PlatformType = (typeof PlatformType)[keyof typeof PlatformType];
1239
870
  export interface EnvironmentPlatform {
1240
871
  platform?: PlatformType | undefined;
1241
872
  languages?: EnvironmentLanguage[] | undefined;
@@ -1243,13 +874,6 @@ export interface EnvironmentPlatform {
1243
874
  export interface ListCuratedEnvironmentImagesOutput {
1244
875
  platforms?: EnvironmentPlatform[] | undefined;
1245
876
  }
1246
- export declare const FleetSortByType: {
1247
- readonly CREATED_TIME: "CREATED_TIME";
1248
- readonly LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME";
1249
- readonly NAME: "NAME";
1250
- };
1251
- export type FleetSortByType =
1252
- (typeof FleetSortByType)[keyof typeof FleetSortByType];
1253
877
  export interface ListFleetsInput {
1254
878
  nextToken?: string | undefined;
1255
879
  maxResults?: number | undefined;
@@ -1260,13 +884,6 @@ export interface ListFleetsOutput {
1260
884
  nextToken?: string | undefined;
1261
885
  fleets?: string[] | undefined;
1262
886
  }
1263
- export declare const ProjectSortByType: {
1264
- readonly CREATED_TIME: "CREATED_TIME";
1265
- readonly LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME";
1266
- readonly NAME: "NAME";
1267
- };
1268
- export type ProjectSortByType =
1269
- (typeof ProjectSortByType)[keyof typeof ProjectSortByType];
1270
887
  export interface ListProjectsInput {
1271
888
  sortBy?: ProjectSortByType | undefined;
1272
889
  sortOrder?: SortOrderType | undefined;
@@ -1276,13 +893,6 @@ export interface ListProjectsOutput {
1276
893
  nextToken?: string | undefined;
1277
894
  projects?: string[] | undefined;
1278
895
  }
1279
- export declare const ReportGroupSortByType: {
1280
- readonly CREATED_TIME: "CREATED_TIME";
1281
- readonly LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME";
1282
- readonly NAME: "NAME";
1283
- };
1284
- export type ReportGroupSortByType =
1285
- (typeof ReportGroupSortByType)[keyof typeof ReportGroupSortByType];
1286
896
  export interface ListReportGroupsInput {
1287
897
  sortOrder?: SortOrderType | undefined;
1288
898
  sortBy?: ReportGroupSortByType | undefined;
@@ -1336,12 +946,6 @@ export interface ListSandboxesForProjectOutput {
1336
946
  ids?: string[] | undefined;
1337
947
  nextToken?: string | undefined;
1338
948
  }
1339
- export declare const SharedResourceSortByType: {
1340
- readonly ARN: "ARN";
1341
- readonly MODIFIED_TIME: "MODIFIED_TIME";
1342
- };
1343
- export type SharedResourceSortByType =
1344
- (typeof SharedResourceSortByType)[keyof typeof SharedResourceSortByType];
1345
949
  export interface ListSharedProjectsInput {
1346
950
  sortBy?: SharedResourceSortByType | undefined;
1347
951
  sortOrder?: SortOrderType | undefined;
@@ -1386,12 +990,6 @@ export interface RetryBuildInput {
1386
990
  export interface RetryBuildOutput {
1387
991
  build?: Build | undefined;
1388
992
  }
1389
- export declare const RetryBuildBatchType: {
1390
- readonly RETRY_ALL_BUILDS: "RETRY_ALL_BUILDS";
1391
- readonly RETRY_FAILED_BUILDS: "RETRY_FAILED_BUILDS";
1392
- };
1393
- export type RetryBuildBatchType =
1394
- (typeof RetryBuildBatchType)[keyof typeof RetryBuildBatchType];
1395
993
  export interface RetryBuildBatchInput {
1396
994
  id?: string | undefined;
1397
995
  idempotencyToken?: string | undefined;