@aws-sdk/client-codebuild 3.301.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.
@@ -7,24 +7,30 @@ export declare class AccountLimitExceededException extends __BaseException {
7
7
  opts: __ExceptionOptionType<AccountLimitExceededException, __BaseException>
8
8
  );
9
9
  }
10
- export declare enum ArtifactNamespace {
11
- BUILD_ID = "BUILD_ID",
12
- NONE = "NONE",
13
- }
14
- export declare enum ArtifactPackaging {
15
- NONE = "NONE",
16
- ZIP = "ZIP",
17
- }
18
- export declare enum ArtifactsType {
19
- CODEPIPELINE = "CODEPIPELINE",
20
- NO_ARTIFACTS = "NO_ARTIFACTS",
21
- S3 = "S3",
22
- }
23
- export declare enum AuthType {
24
- BASIC_AUTH = "BASIC_AUTH",
25
- OAUTH = "OAUTH",
26
- PERSONAL_ACCESS_TOKEN = "PERSONAL_ACCESS_TOKEN",
27
- }
10
+ export declare const ArtifactNamespace: {
11
+ readonly BUILD_ID: "BUILD_ID";
12
+ readonly NONE: "NONE";
13
+ };
14
+ export type ArtifactNamespace =
15
+ (typeof ArtifactNamespace)[keyof typeof ArtifactNamespace];
16
+ export declare const ArtifactPackaging: {
17
+ readonly NONE: "NONE";
18
+ readonly ZIP: "ZIP";
19
+ };
20
+ export type ArtifactPackaging =
21
+ (typeof ArtifactPackaging)[keyof typeof ArtifactPackaging];
22
+ export declare const ArtifactsType: {
23
+ readonly CODEPIPELINE: "CODEPIPELINE";
24
+ readonly NO_ARTIFACTS: "NO_ARTIFACTS";
25
+ readonly S3: "S3";
26
+ };
27
+ export type ArtifactsType = (typeof ArtifactsType)[keyof typeof ArtifactsType];
28
+ export declare const AuthType: {
29
+ readonly BASIC_AUTH: "BASIC_AUTH";
30
+ readonly OAUTH: "OAUTH";
31
+ readonly PERSONAL_ACCESS_TOKEN: "PERSONAL_ACCESS_TOKEN";
32
+ };
33
+ export type AuthType = (typeof AuthType)[keyof typeof AuthType];
28
34
  export interface BatchDeleteBuildsInput {
29
35
  ids: string[] | undefined;
30
36
  }
@@ -46,11 +52,13 @@ export declare class InvalidInputException extends __BaseException {
46
52
  export interface BatchGetBuildBatchesInput {
47
53
  ids: string[] | undefined;
48
54
  }
49
- export declare enum BucketOwnerAccess {
50
- FULL = "FULL",
51
- NONE = "NONE",
52
- READ_ONLY = "READ_ONLY",
53
- }
55
+ export declare const BucketOwnerAccess: {
56
+ readonly FULL: "FULL";
57
+ readonly NONE: "NONE";
58
+ readonly READ_ONLY: "READ_ONLY";
59
+ };
60
+ export type BucketOwnerAccess =
61
+ (typeof BucketOwnerAccess)[keyof typeof BucketOwnerAccess];
54
62
  export interface BuildArtifacts {
55
63
  location?: string;
56
64
  sha256sum?: string;
@@ -60,10 +68,12 @@ export interface BuildArtifacts {
60
68
  artifactIdentifier?: string;
61
69
  bucketOwnerAccess?: BucketOwnerAccess | string;
62
70
  }
63
- export declare enum BatchReportModeType {
64
- REPORT_AGGREGATED_BATCH = "REPORT_AGGREGATED_BATCH",
65
- REPORT_INDIVIDUAL_BUILDS = "REPORT_INDIVIDUAL_BUILDS",
66
- }
71
+ export declare const BatchReportModeType: {
72
+ readonly REPORT_AGGREGATED_BATCH: "REPORT_AGGREGATED_BATCH";
73
+ readonly REPORT_INDIVIDUAL_BUILDS: "REPORT_INDIVIDUAL_BUILDS";
74
+ };
75
+ export type BatchReportModeType =
76
+ (typeof BatchReportModeType)[keyof typeof BatchReportModeType];
67
77
  export interface BatchRestrictions {
68
78
  maximumBuildsAllowed?: number;
69
79
  computeTypesAllowed?: string[];
@@ -75,14 +85,15 @@ export interface ProjectBuildBatchConfig {
75
85
  timeoutInMins?: number;
76
86
  batchReportMode?: BatchReportModeType | string;
77
87
  }
78
- export declare enum StatusType {
79
- FAILED = "FAILED",
80
- FAULT = "FAULT",
81
- IN_PROGRESS = "IN_PROGRESS",
82
- STOPPED = "STOPPED",
83
- SUCCEEDED = "SUCCEEDED",
84
- TIMED_OUT = "TIMED_OUT",
85
- }
88
+ export declare const StatusType: {
89
+ readonly FAILED: "FAILED";
90
+ readonly FAULT: "FAULT";
91
+ readonly IN_PROGRESS: "IN_PROGRESS";
92
+ readonly STOPPED: "STOPPED";
93
+ readonly SUCCEEDED: "SUCCEEDED";
94
+ readonly TIMED_OUT: "TIMED_OUT";
95
+ };
96
+ export type StatusType = (typeof StatusType)[keyof typeof StatusType];
86
97
  export interface ResolvedArtifact {
87
98
  type?: ArtifactsType | string;
88
99
  location?: string;
@@ -102,55 +113,66 @@ export interface BuildGroup {
102
113
  currentBuildSummary?: BuildSummary;
103
114
  priorBuildSummaryList?: BuildSummary[];
104
115
  }
105
- export declare enum CacheMode {
106
- LOCAL_CUSTOM_CACHE = "LOCAL_CUSTOM_CACHE",
107
- LOCAL_DOCKER_LAYER_CACHE = "LOCAL_DOCKER_LAYER_CACHE",
108
- LOCAL_SOURCE_CACHE = "LOCAL_SOURCE_CACHE",
109
- }
110
- export declare enum CacheType {
111
- LOCAL = "LOCAL",
112
- NO_CACHE = "NO_CACHE",
113
- S3 = "S3",
114
- }
116
+ export declare const CacheMode: {
117
+ readonly LOCAL_CUSTOM_CACHE: "LOCAL_CUSTOM_CACHE";
118
+ readonly LOCAL_DOCKER_LAYER_CACHE: "LOCAL_DOCKER_LAYER_CACHE";
119
+ readonly LOCAL_SOURCE_CACHE: "LOCAL_SOURCE_CACHE";
120
+ };
121
+ export type CacheMode = (typeof CacheMode)[keyof typeof CacheMode];
122
+ export declare const CacheType: {
123
+ readonly LOCAL: "LOCAL";
124
+ readonly NO_CACHE: "NO_CACHE";
125
+ readonly S3: "S3";
126
+ };
127
+ export type CacheType = (typeof CacheType)[keyof typeof CacheType];
115
128
  export interface ProjectCache {
116
129
  type: CacheType | string | undefined;
117
130
  location?: string;
118
131
  modes?: (CacheMode | string)[];
119
132
  }
120
- export declare enum ComputeType {
121
- BUILD_GENERAL1_2XLARGE = "BUILD_GENERAL1_2XLARGE",
122
- BUILD_GENERAL1_LARGE = "BUILD_GENERAL1_LARGE",
123
- BUILD_GENERAL1_MEDIUM = "BUILD_GENERAL1_MEDIUM",
124
- BUILD_GENERAL1_SMALL = "BUILD_GENERAL1_SMALL",
125
- }
126
- export declare enum EnvironmentVariableType {
127
- PARAMETER_STORE = "PARAMETER_STORE",
128
- PLAINTEXT = "PLAINTEXT",
129
- SECRETS_MANAGER = "SECRETS_MANAGER",
130
- }
133
+ export declare const ComputeType: {
134
+ readonly BUILD_GENERAL1_2XLARGE: "BUILD_GENERAL1_2XLARGE";
135
+ readonly BUILD_GENERAL1_LARGE: "BUILD_GENERAL1_LARGE";
136
+ readonly BUILD_GENERAL1_MEDIUM: "BUILD_GENERAL1_MEDIUM";
137
+ readonly BUILD_GENERAL1_SMALL: "BUILD_GENERAL1_SMALL";
138
+ };
139
+ export type ComputeType = (typeof ComputeType)[keyof typeof ComputeType];
140
+ export declare const EnvironmentVariableType: {
141
+ readonly PARAMETER_STORE: "PARAMETER_STORE";
142
+ readonly PLAINTEXT: "PLAINTEXT";
143
+ readonly SECRETS_MANAGER: "SECRETS_MANAGER";
144
+ };
145
+ export type EnvironmentVariableType =
146
+ (typeof EnvironmentVariableType)[keyof typeof EnvironmentVariableType];
131
147
  export interface EnvironmentVariable {
132
148
  name: string | undefined;
133
149
  value: string | undefined;
134
150
  type?: EnvironmentVariableType | string;
135
151
  }
136
- export declare enum ImagePullCredentialsType {
137
- CODEBUILD = "CODEBUILD",
138
- SERVICE_ROLE = "SERVICE_ROLE",
139
- }
140
- export declare enum CredentialProviderType {
141
- SECRETS_MANAGER = "SECRETS_MANAGER",
142
- }
152
+ export declare const ImagePullCredentialsType: {
153
+ readonly CODEBUILD: "CODEBUILD";
154
+ readonly SERVICE_ROLE: "SERVICE_ROLE";
155
+ };
156
+ export type ImagePullCredentialsType =
157
+ (typeof ImagePullCredentialsType)[keyof typeof ImagePullCredentialsType];
158
+ export declare const CredentialProviderType: {
159
+ readonly SECRETS_MANAGER: "SECRETS_MANAGER";
160
+ };
161
+ export type CredentialProviderType =
162
+ (typeof CredentialProviderType)[keyof typeof CredentialProviderType];
143
163
  export interface RegistryCredential {
144
164
  credential: string | undefined;
145
165
  credentialProvider: CredentialProviderType | string | undefined;
146
166
  }
147
- export declare enum EnvironmentType {
148
- ARM_CONTAINER = "ARM_CONTAINER",
149
- LINUX_CONTAINER = "LINUX_CONTAINER",
150
- LINUX_GPU_CONTAINER = "LINUX_GPU_CONTAINER",
151
- WINDOWS_CONTAINER = "WINDOWS_CONTAINER",
152
- WINDOWS_SERVER_2019_CONTAINER = "WINDOWS_SERVER_2019_CONTAINER",
153
- }
167
+ export declare const EnvironmentType: {
168
+ readonly ARM_CONTAINER: "ARM_CONTAINER";
169
+ readonly LINUX_CONTAINER: "LINUX_CONTAINER";
170
+ readonly LINUX_GPU_CONTAINER: "LINUX_GPU_CONTAINER";
171
+ readonly WINDOWS_CONTAINER: "WINDOWS_CONTAINER";
172
+ readonly WINDOWS_SERVER_2019_CONTAINER: "WINDOWS_SERVER_2019_CONTAINER";
173
+ };
174
+ export type EnvironmentType =
175
+ (typeof EnvironmentType)[keyof typeof EnvironmentType];
154
176
  export interface ProjectEnvironment {
155
177
  type: EnvironmentType | string | undefined;
156
178
  image: string | undefined;
@@ -161,9 +183,11 @@ export interface ProjectEnvironment {
161
183
  registryCredential?: RegistryCredential;
162
184
  imagePullCredentialsType?: ImagePullCredentialsType | string;
163
185
  }
164
- export declare enum FileSystemType {
165
- EFS = "EFS",
166
- }
186
+ export declare const FileSystemType: {
187
+ readonly EFS: "EFS";
188
+ };
189
+ export type FileSystemType =
190
+ (typeof FileSystemType)[keyof typeof FileSystemType];
167
191
  export interface ProjectFileSystemLocation {
168
192
  type?: FileSystemType | string;
169
193
  location?: string;
@@ -171,10 +195,12 @@ export interface ProjectFileSystemLocation {
171
195
  identifier?: string;
172
196
  mountOptions?: string;
173
197
  }
174
- export declare enum LogsConfigStatusType {
175
- DISABLED = "DISABLED",
176
- ENABLED = "ENABLED",
177
- }
198
+ export declare const LogsConfigStatusType: {
199
+ readonly DISABLED: "DISABLED";
200
+ readonly ENABLED: "ENABLED";
201
+ };
202
+ export type LogsConfigStatusType =
203
+ (typeof LogsConfigStatusType)[keyof typeof LogsConfigStatusType];
178
204
  export interface CloudWatchLogsConfig {
179
205
  status: LogsConfigStatusType | string | undefined;
180
206
  groupName?: string;
@@ -194,15 +220,17 @@ export interface PhaseContext {
194
220
  statusCode?: string;
195
221
  message?: string;
196
222
  }
197
- export declare enum BuildBatchPhaseType {
198
- COMBINE_ARTIFACTS = "COMBINE_ARTIFACTS",
199
- DOWNLOAD_BATCHSPEC = "DOWNLOAD_BATCHSPEC",
200
- FAILED = "FAILED",
201
- IN_PROGRESS = "IN_PROGRESS",
202
- STOPPED = "STOPPED",
203
- SUBMITTED = "SUBMITTED",
204
- SUCCEEDED = "SUCCEEDED",
205
- }
223
+ export declare const BuildBatchPhaseType: {
224
+ readonly COMBINE_ARTIFACTS: "COMBINE_ARTIFACTS";
225
+ readonly DOWNLOAD_BATCHSPEC: "DOWNLOAD_BATCHSPEC";
226
+ readonly FAILED: "FAILED";
227
+ readonly IN_PROGRESS: "IN_PROGRESS";
228
+ readonly STOPPED: "STOPPED";
229
+ readonly SUBMITTED: "SUBMITTED";
230
+ readonly SUCCEEDED: "SUCCEEDED";
231
+ };
232
+ export type BuildBatchPhaseType =
233
+ (typeof BuildBatchPhaseType)[keyof typeof BuildBatchPhaseType];
206
234
  export interface BuildBatchPhase {
207
235
  phaseType?: BuildBatchPhaseType | string;
208
236
  phaseStatus?: StatusType | string;
@@ -211,9 +239,11 @@ export interface BuildBatchPhase {
211
239
  durationInSeconds?: number;
212
240
  contexts?: PhaseContext[];
213
241
  }
214
- export declare enum SourceAuthType {
215
- OAUTH = "OAUTH",
216
- }
242
+ export declare const SourceAuthType: {
243
+ readonly OAUTH: "OAUTH";
244
+ };
245
+ export type SourceAuthType =
246
+ (typeof SourceAuthType)[keyof typeof SourceAuthType];
217
247
  export interface SourceAuth {
218
248
  type: SourceAuthType | string | undefined;
219
249
  resource?: string;
@@ -225,15 +255,16 @@ export interface BuildStatusConfig {
225
255
  export interface GitSubmodulesConfig {
226
256
  fetchSubmodules: boolean | undefined;
227
257
  }
228
- export declare enum SourceType {
229
- BITBUCKET = "BITBUCKET",
230
- CODECOMMIT = "CODECOMMIT",
231
- CODEPIPELINE = "CODEPIPELINE",
232
- GITHUB = "GITHUB",
233
- GITHUB_ENTERPRISE = "GITHUB_ENTERPRISE",
234
- NO_SOURCE = "NO_SOURCE",
235
- S3 = "S3",
236
- }
258
+ export declare const SourceType: {
259
+ readonly BITBUCKET: "BITBUCKET";
260
+ readonly CODECOMMIT: "CODECOMMIT";
261
+ readonly CODEPIPELINE: "CODEPIPELINE";
262
+ readonly GITHUB: "GITHUB";
263
+ readonly GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE";
264
+ readonly NO_SOURCE: "NO_SOURCE";
265
+ readonly S3: "S3";
266
+ };
267
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
237
268
  export interface ProjectSource {
238
269
  type: SourceType | string | undefined;
239
270
  location?: string;
@@ -316,19 +347,21 @@ export interface NetworkInterface {
316
347
  subnetId?: string;
317
348
  networkInterfaceId?: string;
318
349
  }
319
- export declare enum BuildPhaseType {
320
- BUILD = "BUILD",
321
- COMPLETED = "COMPLETED",
322
- DOWNLOAD_SOURCE = "DOWNLOAD_SOURCE",
323
- FINALIZING = "FINALIZING",
324
- INSTALL = "INSTALL",
325
- POST_BUILD = "POST_BUILD",
326
- PRE_BUILD = "PRE_BUILD",
327
- PROVISIONING = "PROVISIONING",
328
- QUEUED = "QUEUED",
329
- SUBMITTED = "SUBMITTED",
330
- UPLOAD_ARTIFACTS = "UPLOAD_ARTIFACTS",
331
- }
350
+ export declare const BuildPhaseType: {
351
+ readonly BUILD: "BUILD";
352
+ readonly COMPLETED: "COMPLETED";
353
+ readonly DOWNLOAD_SOURCE: "DOWNLOAD_SOURCE";
354
+ readonly FINALIZING: "FINALIZING";
355
+ readonly INSTALL: "INSTALL";
356
+ readonly POST_BUILD: "POST_BUILD";
357
+ readonly PRE_BUILD: "PRE_BUILD";
358
+ readonly PROVISIONING: "PROVISIONING";
359
+ readonly QUEUED: "QUEUED";
360
+ readonly SUBMITTED: "SUBMITTED";
361
+ readonly UPLOAD_ARTIFACTS: "UPLOAD_ARTIFACTS";
362
+ };
363
+ export type BuildPhaseType =
364
+ (typeof BuildPhaseType)[keyof typeof BuildPhaseType];
332
365
  export interface BuildPhase {
333
366
  phaseType?: BuildPhaseType | string;
334
367
  phaseStatus?: StatusType | string;
@@ -394,26 +427,32 @@ export interface ProjectBadge {
394
427
  badgeEnabled?: boolean;
395
428
  badgeRequestUrl?: string;
396
429
  }
397
- export declare enum ProjectVisibilityType {
398
- PRIVATE = "PRIVATE",
399
- PUBLIC_READ = "PUBLIC_READ",
400
- }
430
+ export declare const ProjectVisibilityType: {
431
+ readonly PRIVATE: "PRIVATE";
432
+ readonly PUBLIC_READ: "PUBLIC_READ";
433
+ };
434
+ export type ProjectVisibilityType =
435
+ (typeof ProjectVisibilityType)[keyof typeof ProjectVisibilityType];
401
436
  export interface Tag {
402
437
  key?: string;
403
438
  value?: string;
404
439
  }
405
- export declare enum WebhookBuildType {
406
- BUILD = "BUILD",
407
- BUILD_BATCH = "BUILD_BATCH",
408
- }
409
- export declare enum WebhookFilterType {
410
- ACTOR_ACCOUNT_ID = "ACTOR_ACCOUNT_ID",
411
- BASE_REF = "BASE_REF",
412
- COMMIT_MESSAGE = "COMMIT_MESSAGE",
413
- EVENT = "EVENT",
414
- FILE_PATH = "FILE_PATH",
415
- HEAD_REF = "HEAD_REF",
416
- }
440
+ export declare const WebhookBuildType: {
441
+ readonly BUILD: "BUILD";
442
+ readonly BUILD_BATCH: "BUILD_BATCH";
443
+ };
444
+ export type WebhookBuildType =
445
+ (typeof WebhookBuildType)[keyof typeof WebhookBuildType];
446
+ export declare const WebhookFilterType: {
447
+ readonly ACTOR_ACCOUNT_ID: "ACTOR_ACCOUNT_ID";
448
+ readonly BASE_REF: "BASE_REF";
449
+ readonly COMMIT_MESSAGE: "COMMIT_MESSAGE";
450
+ readonly EVENT: "EVENT";
451
+ readonly FILE_PATH: "FILE_PATH";
452
+ readonly HEAD_REF: "HEAD_REF";
453
+ };
454
+ export type WebhookFilterType =
455
+ (typeof WebhookFilterType)[keyof typeof WebhookFilterType];
417
456
  export interface WebhookFilter {
418
457
  type: WebhookFilterType | string | undefined;
419
458
  pattern: string | undefined;
@@ -465,14 +504,18 @@ export interface BatchGetProjectsOutput {
465
504
  export interface BatchGetReportGroupsInput {
466
505
  reportGroupArns: string[] | undefined;
467
506
  }
468
- export declare enum ReportExportConfigType {
469
- NO_EXPORT = "NO_EXPORT",
470
- S3 = "S3",
471
- }
472
- export declare enum ReportPackagingType {
473
- NONE = "NONE",
474
- ZIP = "ZIP",
475
- }
507
+ export declare const ReportExportConfigType: {
508
+ readonly NO_EXPORT: "NO_EXPORT";
509
+ readonly S3: "S3";
510
+ };
511
+ export type ReportExportConfigType =
512
+ (typeof ReportExportConfigType)[keyof typeof ReportExportConfigType];
513
+ export declare const ReportPackagingType: {
514
+ readonly NONE: "NONE";
515
+ readonly ZIP: "ZIP";
516
+ };
517
+ export type ReportPackagingType =
518
+ (typeof ReportPackagingType)[keyof typeof ReportPackagingType];
476
519
  export interface S3ReportExportConfig {
477
520
  bucket?: string;
478
521
  bucketOwner?: string;
@@ -485,14 +528,17 @@ export interface ReportExportConfig {
485
528
  exportConfigType?: ReportExportConfigType | string;
486
529
  s3Destination?: S3ReportExportConfig;
487
530
  }
488
- export declare enum ReportGroupStatusType {
489
- ACTIVE = "ACTIVE",
490
- DELETING = "DELETING",
491
- }
492
- export declare enum ReportType {
493
- CODE_COVERAGE = "CODE_COVERAGE",
494
- TEST = "TEST",
495
- }
531
+ export declare const ReportGroupStatusType: {
532
+ readonly ACTIVE: "ACTIVE";
533
+ readonly DELETING: "DELETING";
534
+ };
535
+ export type ReportGroupStatusType =
536
+ (typeof ReportGroupStatusType)[keyof typeof ReportGroupStatusType];
537
+ export declare const ReportType: {
538
+ readonly CODE_COVERAGE: "CODE_COVERAGE";
539
+ readonly TEST: "TEST";
540
+ };
541
+ export type ReportType = (typeof ReportType)[keyof typeof ReportType];
496
542
  export interface ReportGroup {
497
543
  arn?: string;
498
544
  name?: string;
@@ -518,13 +564,15 @@ export interface CodeCoverageReportSummary {
518
564
  branchesCovered?: number;
519
565
  branchesMissed?: number;
520
566
  }
521
- export declare enum ReportStatusType {
522
- DELETING = "DELETING",
523
- FAILED = "FAILED",
524
- GENERATING = "GENERATING",
525
- INCOMPLETE = "INCOMPLETE",
526
- SUCCEEDED = "SUCCEEDED",
527
- }
567
+ export declare const ReportStatusType: {
568
+ readonly DELETING: "DELETING";
569
+ readonly FAILED: "FAILED";
570
+ readonly GENERATING: "GENERATING";
571
+ readonly INCOMPLETE: "INCOMPLETE";
572
+ readonly SUCCEEDED: "SUCCEEDED";
573
+ };
574
+ export type ReportStatusType =
575
+ (typeof ReportStatusType)[keyof typeof ReportStatusType];
528
576
  export interface TestReportSummary {
529
577
  total: number | undefined;
530
578
  statusCounts: Record<string, number> | undefined;
@@ -651,14 +699,17 @@ export interface DeleteWebhookInput {
651
699
  projectName: string | undefined;
652
700
  }
653
701
  export interface DeleteWebhookOutput {}
654
- export declare enum ReportCodeCoverageSortByType {
655
- FILE_PATH = "FILE_PATH",
656
- LINE_COVERAGE_PERCENTAGE = "LINE_COVERAGE_PERCENTAGE",
657
- }
658
- export declare enum SortOrderType {
659
- ASCENDING = "ASCENDING",
660
- DESCENDING = "DESCENDING",
661
- }
702
+ export declare const ReportCodeCoverageSortByType: {
703
+ readonly FILE_PATH: "FILE_PATH";
704
+ readonly LINE_COVERAGE_PERCENTAGE: "LINE_COVERAGE_PERCENTAGE";
705
+ };
706
+ export type ReportCodeCoverageSortByType =
707
+ (typeof ReportCodeCoverageSortByType)[keyof typeof ReportCodeCoverageSortByType];
708
+ export declare const SortOrderType: {
709
+ readonly ASCENDING: "ASCENDING";
710
+ readonly DESCENDING: "DESCENDING";
711
+ };
712
+ export type SortOrderType = (typeof SortOrderType)[keyof typeof SortOrderType];
662
713
  export interface DescribeCodeCoveragesInput {
663
714
  reportArn: string | undefined;
664
715
  nextToken?: string;
@@ -708,17 +759,19 @@ export interface DescribeTestCasesOutput {
708
759
  nextToken?: string;
709
760
  testCases?: TestCase[];
710
761
  }
711
- export declare enum ReportGroupTrendFieldType {
712
- BRANCHES_COVERED = "BRANCHES_COVERED",
713
- BRANCHES_MISSED = "BRANCHES_MISSED",
714
- BRANCH_COVERAGE = "BRANCH_COVERAGE",
715
- DURATION = "DURATION",
716
- LINES_COVERED = "LINES_COVERED",
717
- LINES_MISSED = "LINES_MISSED",
718
- LINE_COVERAGE = "LINE_COVERAGE",
719
- PASS_RATE = "PASS_RATE",
720
- TOTAL = "TOTAL",
721
- }
762
+ export declare const ReportGroupTrendFieldType: {
763
+ readonly BRANCHES_COVERED: "BRANCHES_COVERED";
764
+ readonly BRANCHES_MISSED: "BRANCHES_MISSED";
765
+ readonly BRANCH_COVERAGE: "BRANCH_COVERAGE";
766
+ readonly DURATION: "DURATION";
767
+ readonly LINES_COVERED: "LINES_COVERED";
768
+ readonly LINES_MISSED: "LINES_MISSED";
769
+ readonly LINE_COVERAGE: "LINE_COVERAGE";
770
+ readonly PASS_RATE: "PASS_RATE";
771
+ readonly TOTAL: "TOTAL";
772
+ };
773
+ export type ReportGroupTrendFieldType =
774
+ (typeof ReportGroupTrendFieldType)[keyof typeof ReportGroupTrendFieldType];
722
775
  export interface GetReportGroupTrendInput {
723
776
  reportGroupArn: string | undefined;
724
777
  numOfReports?: number;
@@ -743,11 +796,12 @@ export interface GetResourcePolicyInput {
743
796
  export interface GetResourcePolicyOutput {
744
797
  policy?: string;
745
798
  }
746
- export declare enum ServerType {
747
- BITBUCKET = "BITBUCKET",
748
- GITHUB = "GITHUB",
749
- GITHUB_ENTERPRISE = "GITHUB_ENTERPRISE",
750
- }
799
+ export declare const ServerType: {
800
+ readonly BITBUCKET: "BITBUCKET";
801
+ readonly GITHUB: "GITHUB";
802
+ readonly GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE";
803
+ };
804
+ export type ServerType = (typeof ServerType)[keyof typeof ServerType];
751
805
  export interface ImportSourceCredentialsInput {
752
806
  username?: string;
753
807
  token: string | undefined;
@@ -806,28 +860,30 @@ export interface EnvironmentImage {
806
860
  description?: string;
807
861
  versions?: string[];
808
862
  }
809
- export declare enum LanguageType {
810
- ANDROID = "ANDROID",
811
- BASE = "BASE",
812
- DOCKER = "DOCKER",
813
- DOTNET = "DOTNET",
814
- GOLANG = "GOLANG",
815
- JAVA = "JAVA",
816
- NODE_JS = "NODE_JS",
817
- PHP = "PHP",
818
- PYTHON = "PYTHON",
819
- RUBY = "RUBY",
820
- }
863
+ export declare const LanguageType: {
864
+ readonly ANDROID: "ANDROID";
865
+ readonly BASE: "BASE";
866
+ readonly DOCKER: "DOCKER";
867
+ readonly DOTNET: "DOTNET";
868
+ readonly GOLANG: "GOLANG";
869
+ readonly JAVA: "JAVA";
870
+ readonly NODE_JS: "NODE_JS";
871
+ readonly PHP: "PHP";
872
+ readonly PYTHON: "PYTHON";
873
+ readonly RUBY: "RUBY";
874
+ };
875
+ export type LanguageType = (typeof LanguageType)[keyof typeof LanguageType];
821
876
  export interface EnvironmentLanguage {
822
877
  language?: LanguageType | string;
823
878
  images?: EnvironmentImage[];
824
879
  }
825
- export declare enum PlatformType {
826
- AMAZON_LINUX = "AMAZON_LINUX",
827
- DEBIAN = "DEBIAN",
828
- UBUNTU = "UBUNTU",
829
- WINDOWS_SERVER = "WINDOWS_SERVER",
830
- }
880
+ export declare const PlatformType: {
881
+ readonly AMAZON_LINUX: "AMAZON_LINUX";
882
+ readonly DEBIAN: "DEBIAN";
883
+ readonly UBUNTU: "UBUNTU";
884
+ readonly WINDOWS_SERVER: "WINDOWS_SERVER";
885
+ };
886
+ export type PlatformType = (typeof PlatformType)[keyof typeof PlatformType];
831
887
  export interface EnvironmentPlatform {
832
888
  platform?: PlatformType | string;
833
889
  languages?: EnvironmentLanguage[];
@@ -835,11 +891,13 @@ export interface EnvironmentPlatform {
835
891
  export interface ListCuratedEnvironmentImagesOutput {
836
892
  platforms?: EnvironmentPlatform[];
837
893
  }
838
- export declare enum ProjectSortByType {
839
- CREATED_TIME = "CREATED_TIME",
840
- LAST_MODIFIED_TIME = "LAST_MODIFIED_TIME",
841
- NAME = "NAME",
842
- }
894
+ export declare const ProjectSortByType: {
895
+ readonly CREATED_TIME: "CREATED_TIME";
896
+ readonly LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME";
897
+ readonly NAME: "NAME";
898
+ };
899
+ export type ProjectSortByType =
900
+ (typeof ProjectSortByType)[keyof typeof ProjectSortByType];
843
901
  export interface ListProjectsInput {
844
902
  sortBy?: ProjectSortByType | string;
845
903
  sortOrder?: SortOrderType | string;
@@ -849,11 +907,13 @@ export interface ListProjectsOutput {
849
907
  nextToken?: string;
850
908
  projects?: string[];
851
909
  }
852
- export declare enum ReportGroupSortByType {
853
- CREATED_TIME = "CREATED_TIME",
854
- LAST_MODIFIED_TIME = "LAST_MODIFIED_TIME",
855
- NAME = "NAME",
856
- }
910
+ export declare const ReportGroupSortByType: {
911
+ readonly CREATED_TIME: "CREATED_TIME";
912
+ readonly LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME";
913
+ readonly NAME: "NAME";
914
+ };
915
+ export type ReportGroupSortByType =
916
+ (typeof ReportGroupSortByType)[keyof typeof ReportGroupSortByType];
857
917
  export interface ListReportGroupsInput {
858
918
  sortOrder?: SortOrderType | string;
859
919
  sortBy?: ReportGroupSortByType | string;
@@ -888,10 +948,12 @@ export interface ListReportsForReportGroupOutput {
888
948
  nextToken?: string;
889
949
  reports?: string[];
890
950
  }
891
- export declare enum SharedResourceSortByType {
892
- ARN = "ARN",
893
- MODIFIED_TIME = "MODIFIED_TIME",
894
- }
951
+ export declare const SharedResourceSortByType: {
952
+ readonly ARN: "ARN";
953
+ readonly MODIFIED_TIME: "MODIFIED_TIME";
954
+ };
955
+ export type SharedResourceSortByType =
956
+ (typeof SharedResourceSortByType)[keyof typeof SharedResourceSortByType];
895
957
  export interface ListSharedProjectsInput {
896
958
  sortBy?: SharedResourceSortByType | string;
897
959
  sortOrder?: SortOrderType | string;
@@ -935,10 +997,12 @@ export interface RetryBuildInput {
935
997
  export interface RetryBuildOutput {
936
998
  build?: Build;
937
999
  }
938
- export declare enum RetryBuildBatchType {
939
- RETRY_ALL_BUILDS = "RETRY_ALL_BUILDS",
940
- RETRY_FAILED_BUILDS = "RETRY_FAILED_BUILDS",
941
- }
1000
+ export declare const RetryBuildBatchType: {
1001
+ readonly RETRY_ALL_BUILDS: "RETRY_ALL_BUILDS";
1002
+ readonly RETRY_FAILED_BUILDS: "RETRY_FAILED_BUILDS";
1003
+ };
1004
+ export type RetryBuildBatchType =
1005
+ (typeof RetryBuildBatchType)[keyof typeof RetryBuildBatchType];
942
1006
  export interface RetryBuildBatchInput {
943
1007
  id?: string;
944
1008
  idempotencyToken?: string;