@aws-sdk/client-ecs 3.300.0 → 3.303.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist-cjs/models/models_0.js +284 -342
  2. package/dist-es/models/models_0.js +284 -342
  3. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +5 -5
  4. package/dist-types/commands/CreateClusterCommand.d.ts +12 -12
  5. package/dist-types/commands/CreateServiceCommand.d.ts +29 -29
  6. package/dist-types/commands/CreateTaskSetCommand.d.ts +13 -13
  7. package/dist-types/commands/DeleteAccountSettingCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteAttributesCommand.d.ts +3 -3
  9. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteServiceCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +2 -2
  13. package/dist-types/commands/DeleteTaskSetCommand.d.ts +1 -1
  14. package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +1 -1
  15. package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +3 -3
  17. package/dist-types/commands/DescribeClustersCommand.d.ts +3 -3
  18. package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +3 -3
  19. package/dist-types/commands/DescribeServicesCommand.d.ts +3 -3
  20. package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -2
  21. package/dist-types/commands/DescribeTaskSetsCommand.d.ts +3 -3
  22. package/dist-types/commands/DescribeTasksCommand.d.ts +3 -3
  23. package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +1 -1
  24. package/dist-types/commands/ExecuteCommandCommand.d.ts +1 -1
  25. package/dist-types/commands/GetTaskProtectionCommand.d.ts +2 -2
  26. package/dist-types/commands/ListAccountSettingsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListAttributesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListClustersCommand.d.ts +1 -1
  29. package/dist-types/commands/ListContainerInstancesCommand.d.ts +1 -1
  30. package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +1 -1
  31. package/dist-types/commands/ListServicesCommand.d.ts +1 -1
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListTasksCommand.d.ts +1 -1
  36. package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
  37. package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +1 -1
  38. package/dist-types/commands/PutAttributesCommand.d.ts +3 -3
  39. package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +4 -4
  40. package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +11 -11
  41. package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +65 -75
  42. package/dist-types/commands/RunTaskCommand.d.ts +24 -24
  43. package/dist-types/commands/StartTaskCommand.d.ts +19 -21
  44. package/dist-types/commands/StopTaskCommand.d.ts +1 -1
  45. package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +3 -3
  46. package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +3 -3
  47. package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +9 -9
  48. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  49. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  50. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +3 -3
  51. package/dist-types/commands/UpdateClusterCommand.d.ts +7 -7
  52. package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +3 -3
  53. package/dist-types/commands/UpdateContainerAgentCommand.d.ts +1 -1
  54. package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -2
  55. package/dist-types/commands/UpdateServiceCommand.d.ts +26 -26
  56. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +2 -2
  58. package/dist-types/commands/UpdateTaskSetCommand.d.ts +2 -2
  59. package/dist-types/models/models_0.d.ts +574 -284
  60. package/dist-types/ts3.4/models/models_0.d.ts +377 -284
  61. package/package.json +35 -35
@@ -7,23 +7,27 @@ export declare class AccessDeniedException extends __BaseException {
7
7
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
8
  );
9
9
  }
10
- export declare enum AgentUpdateStatus {
11
- FAILED = "FAILED",
12
- PENDING = "PENDING",
13
- STAGED = "STAGED",
14
- STAGING = "STAGING",
15
- UPDATED = "UPDATED",
16
- UPDATING = "UPDATING",
17
- }
10
+ export declare const AgentUpdateStatus: {
11
+ readonly FAILED: "FAILED";
12
+ readonly PENDING: "PENDING";
13
+ readonly STAGED: "STAGED";
14
+ readonly STAGING: "STAGING";
15
+ readonly UPDATED: "UPDATED";
16
+ readonly UPDATING: "UPDATING";
17
+ };
18
+ export type AgentUpdateStatus =
19
+ (typeof AgentUpdateStatus)[keyof typeof AgentUpdateStatus];
18
20
  export declare class ClientException extends __BaseException {
19
21
  readonly name: "ClientException";
20
22
  readonly $fault: "client";
21
23
  constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
22
24
  }
23
- export declare enum ManagedScalingStatus {
24
- DISABLED = "DISABLED",
25
- ENABLED = "ENABLED",
26
- }
25
+ export declare const ManagedScalingStatus: {
26
+ readonly DISABLED: "DISABLED";
27
+ readonly ENABLED: "ENABLED";
28
+ };
29
+ export type ManagedScalingStatus =
30
+ (typeof ManagedScalingStatus)[keyof typeof ManagedScalingStatus];
27
31
  export interface ManagedScaling {
28
32
  status?: ManagedScalingStatus | string;
29
33
  targetCapacity?: number;
@@ -31,10 +35,12 @@ export interface ManagedScaling {
31
35
  maximumScalingStepSize?: number;
32
36
  instanceWarmupPeriod?: number;
33
37
  }
34
- export declare enum ManagedTerminationProtection {
35
- DISABLED = "DISABLED",
36
- ENABLED = "ENABLED",
37
- }
38
+ export declare const ManagedTerminationProtection: {
39
+ readonly DISABLED: "DISABLED";
40
+ readonly ENABLED: "ENABLED";
41
+ };
42
+ export type ManagedTerminationProtection =
43
+ (typeof ManagedTerminationProtection)[keyof typeof ManagedTerminationProtection];
38
44
  export interface AutoScalingGroupProvider {
39
45
  autoScalingGroupArn: string | undefined;
40
46
  managedScaling?: ManagedScaling;
@@ -49,18 +55,22 @@ export interface CreateCapacityProviderRequest {
49
55
  autoScalingGroupProvider: AutoScalingGroupProvider | undefined;
50
56
  tags?: Tag[];
51
57
  }
52
- export declare enum CapacityProviderStatus {
53
- ACTIVE = "ACTIVE",
54
- INACTIVE = "INACTIVE",
55
- }
56
- export declare enum CapacityProviderUpdateStatus {
57
- DELETE_COMPLETE = "DELETE_COMPLETE",
58
- DELETE_FAILED = "DELETE_FAILED",
59
- DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS",
60
- UPDATE_COMPLETE = "UPDATE_COMPLETE",
61
- UPDATE_FAILED = "UPDATE_FAILED",
62
- UPDATE_IN_PROGRESS = "UPDATE_IN_PROGRESS",
63
- }
58
+ export declare const CapacityProviderStatus: {
59
+ readonly ACTIVE: "ACTIVE";
60
+ readonly INACTIVE: "INACTIVE";
61
+ };
62
+ export type CapacityProviderStatus =
63
+ (typeof CapacityProviderStatus)[keyof typeof CapacityProviderStatus];
64
+ export declare const CapacityProviderUpdateStatus: {
65
+ readonly DELETE_COMPLETE: "DELETE_COMPLETE";
66
+ readonly DELETE_FAILED: "DELETE_FAILED";
67
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
68
+ readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
69
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
70
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
71
+ };
72
+ export type CapacityProviderUpdateStatus =
73
+ (typeof CapacityProviderUpdateStatus)[keyof typeof CapacityProviderUpdateStatus];
64
74
  export interface CapacityProvider {
65
75
  capacityProviderArn?: string;
66
76
  name?: string;
@@ -106,11 +116,13 @@ export interface ExecuteCommandLogConfiguration {
106
116
  s3EncryptionEnabled?: boolean;
107
117
  s3KeyPrefix?: string;
108
118
  }
109
- export declare enum ExecuteCommandLogging {
110
- DEFAULT = "DEFAULT",
111
- NONE = "NONE",
112
- OVERRIDE = "OVERRIDE",
113
- }
119
+ export declare const ExecuteCommandLogging: {
120
+ readonly DEFAULT: "DEFAULT";
121
+ readonly NONE: "NONE";
122
+ readonly OVERRIDE: "OVERRIDE";
123
+ };
124
+ export type ExecuteCommandLogging =
125
+ (typeof ExecuteCommandLogging)[keyof typeof ExecuteCommandLogging];
114
126
  export interface ExecuteCommandConfiguration {
115
127
  kmsKeyId?: string;
116
128
  logging?: ExecuteCommandLogging | string;
@@ -127,9 +139,11 @@ export interface CapacityProviderStrategyItem {
127
139
  export interface ClusterServiceConnectDefaultsRequest {
128
140
  namespace: string | undefined;
129
141
  }
130
- export declare enum ClusterSettingName {
131
- CONTAINER_INSIGHTS = "containerInsights",
132
- }
142
+ export declare const ClusterSettingName: {
143
+ readonly CONTAINER_INSIGHTS: "containerInsights";
144
+ };
145
+ export type ClusterSettingName =
146
+ (typeof ClusterSettingName)[keyof typeof ClusterSettingName];
133
147
  export interface ClusterSetting {
134
148
  name?: ClusterSettingName | string;
135
149
  value?: string;
@@ -199,29 +213,34 @@ export interface DeploymentConfiguration {
199
213
  minimumHealthyPercent?: number;
200
214
  alarms?: DeploymentAlarms;
201
215
  }
202
- export declare enum DeploymentControllerType {
203
- CODE_DEPLOY = "CODE_DEPLOY",
204
- ECS = "ECS",
205
- EXTERNAL = "EXTERNAL",
206
- }
216
+ export declare const DeploymentControllerType: {
217
+ readonly CODE_DEPLOY: "CODE_DEPLOY";
218
+ readonly ECS: "ECS";
219
+ readonly EXTERNAL: "EXTERNAL";
220
+ };
221
+ export type DeploymentControllerType =
222
+ (typeof DeploymentControllerType)[keyof typeof DeploymentControllerType];
207
223
  export interface DeploymentController {
208
224
  type: DeploymentControllerType | string | undefined;
209
225
  }
210
- export declare enum LaunchType {
211
- EC2 = "EC2",
212
- EXTERNAL = "EXTERNAL",
213
- FARGATE = "FARGATE",
214
- }
226
+ export declare const LaunchType: {
227
+ readonly EC2: "EC2";
228
+ readonly EXTERNAL: "EXTERNAL";
229
+ readonly FARGATE: "FARGATE";
230
+ };
231
+ export type LaunchType = (typeof LaunchType)[keyof typeof LaunchType];
215
232
  export interface LoadBalancer {
216
233
  targetGroupArn?: string;
217
234
  loadBalancerName?: string;
218
235
  containerName?: string;
219
236
  containerPort?: number;
220
237
  }
221
- export declare enum AssignPublicIp {
222
- DISABLED = "DISABLED",
223
- ENABLED = "ENABLED",
224
- }
238
+ export declare const AssignPublicIp: {
239
+ readonly DISABLED: "DISABLED";
240
+ readonly ENABLED: "ENABLED";
241
+ };
242
+ export type AssignPublicIp =
243
+ (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
225
244
  export interface AwsVpcConfiguration {
226
245
  subnets: string[] | undefined;
227
246
  securityGroups?: string[];
@@ -230,42 +249,50 @@ export interface AwsVpcConfiguration {
230
249
  export interface NetworkConfiguration {
231
250
  awsvpcConfiguration?: AwsVpcConfiguration;
232
251
  }
233
- export declare enum PlacementConstraintType {
234
- DISTINCT_INSTANCE = "distinctInstance",
235
- MEMBER_OF = "memberOf",
236
- }
252
+ export declare const PlacementConstraintType: {
253
+ readonly DISTINCT_INSTANCE: "distinctInstance";
254
+ readonly MEMBER_OF: "memberOf";
255
+ };
256
+ export type PlacementConstraintType =
257
+ (typeof PlacementConstraintType)[keyof typeof PlacementConstraintType];
237
258
  export interface PlacementConstraint {
238
259
  type?: PlacementConstraintType | string;
239
260
  expression?: string;
240
261
  }
241
- export declare enum PlacementStrategyType {
242
- BINPACK = "binpack",
243
- RANDOM = "random",
244
- SPREAD = "spread",
245
- }
262
+ export declare const PlacementStrategyType: {
263
+ readonly BINPACK: "binpack";
264
+ readonly RANDOM: "random";
265
+ readonly SPREAD: "spread";
266
+ };
267
+ export type PlacementStrategyType =
268
+ (typeof PlacementStrategyType)[keyof typeof PlacementStrategyType];
246
269
  export interface PlacementStrategy {
247
270
  type?: PlacementStrategyType | string;
248
271
  field?: string;
249
272
  }
250
- export declare enum PropagateTags {
251
- NONE = "NONE",
252
- SERVICE = "SERVICE",
253
- TASK_DEFINITION = "TASK_DEFINITION",
254
- }
255
- export declare enum SchedulingStrategy {
256
- DAEMON = "DAEMON",
257
- REPLICA = "REPLICA",
258
- }
259
- export declare enum LogDriver {
260
- AWSFIRELENS = "awsfirelens",
261
- AWSLOGS = "awslogs",
262
- FLUENTD = "fluentd",
263
- GELF = "gelf",
264
- JOURNALD = "journald",
265
- JSON_FILE = "json-file",
266
- SPLUNK = "splunk",
267
- SYSLOG = "syslog",
268
- }
273
+ export declare const PropagateTags: {
274
+ readonly NONE: "NONE";
275
+ readonly SERVICE: "SERVICE";
276
+ readonly TASK_DEFINITION: "TASK_DEFINITION";
277
+ };
278
+ export type PropagateTags = (typeof PropagateTags)[keyof typeof PropagateTags];
279
+ export declare const SchedulingStrategy: {
280
+ readonly DAEMON: "DAEMON";
281
+ readonly REPLICA: "REPLICA";
282
+ };
283
+ export type SchedulingStrategy =
284
+ (typeof SchedulingStrategy)[keyof typeof SchedulingStrategy];
285
+ export declare const LogDriver: {
286
+ readonly AWSFIRELENS: "awsfirelens";
287
+ readonly AWSLOGS: "awslogs";
288
+ readonly FLUENTD: "fluentd";
289
+ readonly GELF: "gelf";
290
+ readonly JOURNALD: "journald";
291
+ readonly JSON_FILE: "json-file";
292
+ readonly SPLUNK: "splunk";
293
+ readonly SYSLOG: "syslog";
294
+ };
295
+ export type LogDriver = (typeof LogDriver)[keyof typeof LogDriver];
269
296
  export interface Secret {
270
297
  name: string | undefined;
271
298
  valueFrom: string | undefined;
@@ -322,11 +349,13 @@ export interface CreateServiceRequest {
322
349
  enableExecuteCommand?: boolean;
323
350
  serviceConnectConfiguration?: ServiceConnectConfiguration;
324
351
  }
325
- export declare enum DeploymentRolloutState {
326
- COMPLETED = "COMPLETED",
327
- FAILED = "FAILED",
328
- IN_PROGRESS = "IN_PROGRESS",
329
- }
352
+ export declare const DeploymentRolloutState: {
353
+ readonly COMPLETED: "COMPLETED";
354
+ readonly FAILED: "FAILED";
355
+ readonly IN_PROGRESS: "IN_PROGRESS";
356
+ };
357
+ export type DeploymentRolloutState =
358
+ (typeof DeploymentRolloutState)[keyof typeof DeploymentRolloutState];
330
359
  export interface ServiceConnectServiceResource {
331
360
  discoveryName?: string;
332
361
  discoveryArn?: string;
@@ -356,17 +385,20 @@ export interface ServiceEvent {
356
385
  createdAt?: Date;
357
386
  message?: string;
358
387
  }
359
- export declare enum ScaleUnit {
360
- PERCENT = "PERCENT",
361
- }
388
+ export declare const ScaleUnit: {
389
+ readonly PERCENT: "PERCENT";
390
+ };
391
+ export type ScaleUnit = (typeof ScaleUnit)[keyof typeof ScaleUnit];
362
392
  export interface Scale {
363
393
  value?: number;
364
394
  unit?: ScaleUnit | string;
365
395
  }
366
- export declare enum StabilityStatus {
367
- STABILIZING = "STABILIZING",
368
- STEADY_STATE = "STEADY_STATE",
369
- }
396
+ export declare const StabilityStatus: {
397
+ readonly STABILIZING: "STABILIZING";
398
+ readonly STEADY_STATE: "STEADY_STATE";
399
+ };
400
+ export type StabilityStatus =
401
+ (typeof StabilityStatus)[keyof typeof StabilityStatus];
370
402
  export interface TaskSet {
371
403
  id?: string;
372
404
  taskSetArn?: string;
@@ -492,13 +524,14 @@ export declare class ServiceNotFoundException extends __BaseException {
492
524
  opts: __ExceptionOptionType<ServiceNotFoundException, __BaseException>
493
525
  );
494
526
  }
495
- export declare enum SettingName {
496
- AWSVPC_TRUNKING = "awsvpcTrunking",
497
- CONTAINER_INSIGHTS = "containerInsights",
498
- CONTAINER_INSTANCE_LONG_ARN_FORMAT = "containerInstanceLongArnFormat",
499
- SERVICE_LONG_ARN_FORMAT = "serviceLongArnFormat",
500
- TASK_LONG_ARN_FORMAT = "taskLongArnFormat",
501
- }
527
+ export declare const SettingName: {
528
+ readonly AWSVPC_TRUNKING: "awsvpcTrunking";
529
+ readonly CONTAINER_INSIGHTS: "containerInsights";
530
+ readonly CONTAINER_INSTANCE_LONG_ARN_FORMAT: "containerInstanceLongArnFormat";
531
+ readonly SERVICE_LONG_ARN_FORMAT: "serviceLongArnFormat";
532
+ readonly TASK_LONG_ARN_FORMAT: "taskLongArnFormat";
533
+ };
534
+ export type SettingName = (typeof SettingName)[keyof typeof SettingName];
502
535
  export interface DeleteAccountSettingRequest {
503
536
  name: SettingName | string | undefined;
504
537
  principalArn?: string;
@@ -511,9 +544,10 @@ export interface Setting {
511
544
  export interface DeleteAccountSettingResponse {
512
545
  setting?: Setting;
513
546
  }
514
- export declare enum TargetType {
515
- CONTAINER_INSTANCE = "container-instance",
516
- }
547
+ export declare const TargetType: {
548
+ readonly CONTAINER_INSTANCE: "container-instance";
549
+ };
550
+ export type TargetType = (typeof TargetType)[keyof typeof TargetType];
517
551
  export interface Attribute {
518
552
  name: string | undefined;
519
553
  value?: string;
@@ -589,24 +623,29 @@ export interface Failure {
589
623
  reason?: string;
590
624
  detail?: string;
591
625
  }
592
- export declare enum Compatibility {
593
- EC2 = "EC2",
594
- EXTERNAL = "EXTERNAL",
595
- FARGATE = "FARGATE",
596
- }
597
- export declare enum ContainerCondition {
598
- COMPLETE = "COMPLETE",
599
- HEALTHY = "HEALTHY",
600
- START = "START",
601
- SUCCESS = "SUCCESS",
602
- }
626
+ export declare const Compatibility: {
627
+ readonly EC2: "EC2";
628
+ readonly EXTERNAL: "EXTERNAL";
629
+ readonly FARGATE: "FARGATE";
630
+ };
631
+ export type Compatibility = (typeof Compatibility)[keyof typeof Compatibility];
632
+ export declare const ContainerCondition: {
633
+ readonly COMPLETE: "COMPLETE";
634
+ readonly HEALTHY: "HEALTHY";
635
+ readonly START: "START";
636
+ readonly SUCCESS: "SUCCESS";
637
+ };
638
+ export type ContainerCondition =
639
+ (typeof ContainerCondition)[keyof typeof ContainerCondition];
603
640
  export interface ContainerDependency {
604
641
  containerName: string | undefined;
605
642
  condition: ContainerCondition | string | undefined;
606
643
  }
607
- export declare enum EnvironmentFileType {
608
- S3 = "s3",
609
- }
644
+ export declare const EnvironmentFileType: {
645
+ readonly S3: "s3";
646
+ };
647
+ export type EnvironmentFileType =
648
+ (typeof EnvironmentFileType)[keyof typeof EnvironmentFileType];
610
649
  export interface EnvironmentFile {
611
650
  value: string | undefined;
612
651
  type: EnvironmentFileType | string | undefined;
@@ -615,10 +654,12 @@ export interface HostEntry {
615
654
  hostname: string | undefined;
616
655
  ipAddress: string | undefined;
617
656
  }
618
- export declare enum FirelensConfigurationType {
619
- FLUENTBIT = "fluentbit",
620
- FLUENTD = "fluentd",
621
- }
657
+ export declare const FirelensConfigurationType: {
658
+ readonly FLUENTBIT: "fluentbit";
659
+ readonly FLUENTD: "fluentd";
660
+ };
661
+ export type FirelensConfigurationType =
662
+ (typeof FirelensConfigurationType)[keyof typeof FirelensConfigurationType];
622
663
  export interface FirelensConfiguration {
623
664
  type: FirelensConfigurationType | string | undefined;
624
665
  options?: Record<string, string>;
@@ -634,11 +675,13 @@ export interface KernelCapabilities {
634
675
  add?: string[];
635
676
  drop?: string[];
636
677
  }
637
- export declare enum DeviceCgroupPermission {
638
- MKNOD = "mknod",
639
- READ = "read",
640
- WRITE = "write",
641
- }
678
+ export declare const DeviceCgroupPermission: {
679
+ readonly MKNOD: "mknod";
680
+ readonly READ: "read";
681
+ readonly WRITE: "write";
682
+ };
683
+ export type DeviceCgroupPermission =
684
+ (typeof DeviceCgroupPermission)[keyof typeof DeviceCgroupPermission];
642
685
  export interface Device {
643
686
  hostPath: string | undefined;
644
687
  containerPath?: string;
@@ -663,15 +706,19 @@ export interface MountPoint {
663
706
  containerPath?: string;
664
707
  readOnly?: boolean;
665
708
  }
666
- export declare enum ApplicationProtocol {
667
- GRPC = "grpc",
668
- HTTP = "http",
669
- HTTP2 = "http2",
670
- }
671
- export declare enum TransportProtocol {
672
- TCP = "tcp",
673
- UDP = "udp",
674
- }
709
+ export declare const ApplicationProtocol: {
710
+ readonly GRPC: "grpc";
711
+ readonly HTTP: "http";
712
+ readonly HTTP2: "http2";
713
+ };
714
+ export type ApplicationProtocol =
715
+ (typeof ApplicationProtocol)[keyof typeof ApplicationProtocol];
716
+ export declare const TransportProtocol: {
717
+ readonly TCP: "tcp";
718
+ readonly UDP: "udp";
719
+ };
720
+ export type TransportProtocol =
721
+ (typeof TransportProtocol)[keyof typeof TransportProtocol];
675
722
  export interface PortMapping {
676
723
  containerPort?: number;
677
724
  hostPort?: number;
@@ -683,10 +730,11 @@ export interface PortMapping {
683
730
  export interface RepositoryCredentials {
684
731
  credentialsParameter: string | undefined;
685
732
  }
686
- export declare enum ResourceType {
687
- GPU = "GPU",
688
- INFERENCE_ACCELERATOR = "InferenceAccelerator",
689
- }
733
+ export declare const ResourceType: {
734
+ readonly GPU: "GPU";
735
+ readonly INFERENCE_ACCELERATOR: "InferenceAccelerator";
736
+ };
737
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
690
738
  export interface ResourceRequirement {
691
739
  value: string | undefined;
692
740
  type: ResourceType | string | undefined;
@@ -695,23 +743,24 @@ export interface SystemControl {
695
743
  namespace?: string;
696
744
  value?: string;
697
745
  }
698
- export declare enum UlimitName {
699
- CORE = "core",
700
- CPU = "cpu",
701
- DATA = "data",
702
- FSIZE = "fsize",
703
- LOCKS = "locks",
704
- MEMLOCK = "memlock",
705
- MSGQUEUE = "msgqueue",
706
- NICE = "nice",
707
- NOFILE = "nofile",
708
- NPROC = "nproc",
709
- RSS = "rss",
710
- RTPRIO = "rtprio",
711
- RTTIME = "rttime",
712
- SIGPENDING = "sigpending",
713
- STACK = "stack",
714
- }
746
+ export declare const UlimitName: {
747
+ readonly CORE: "core";
748
+ readonly CPU: "cpu";
749
+ readonly DATA: "data";
750
+ readonly FSIZE: "fsize";
751
+ readonly LOCKS: "locks";
752
+ readonly MEMLOCK: "memlock";
753
+ readonly MSGQUEUE: "msgqueue";
754
+ readonly NICE: "nice";
755
+ readonly NOFILE: "nofile";
756
+ readonly NPROC: "nproc";
757
+ readonly RSS: "rss";
758
+ readonly RTPRIO: "rtprio";
759
+ readonly RTTIME: "rttime";
760
+ readonly SIGPENDING: "sigpending";
761
+ readonly STACK: "stack";
762
+ };
763
+ export type UlimitName = (typeof UlimitName)[keyof typeof UlimitName];
715
764
  export interface Ulimit {
716
765
  name: UlimitName | string | undefined;
717
766
  softLimit: number | undefined;
@@ -769,63 +818,76 @@ export interface InferenceAccelerator {
769
818
  deviceName: string | undefined;
770
819
  deviceType: string | undefined;
771
820
  }
772
- export declare enum IpcMode {
773
- HOST = "host",
774
- NONE = "none",
775
- TASK = "task",
776
- }
777
- export declare enum NetworkMode {
778
- AWSVPC = "awsvpc",
779
- BRIDGE = "bridge",
780
- HOST = "host",
781
- NONE = "none",
782
- }
783
- export declare enum PidMode {
784
- HOST = "host",
785
- TASK = "task",
786
- }
787
- export declare enum TaskDefinitionPlacementConstraintType {
788
- MEMBER_OF = "memberOf",
789
- }
821
+ export declare const IpcMode: {
822
+ readonly HOST: "host";
823
+ readonly NONE: "none";
824
+ readonly TASK: "task";
825
+ };
826
+ export type IpcMode = (typeof IpcMode)[keyof typeof IpcMode];
827
+ export declare const NetworkMode: {
828
+ readonly AWSVPC: "awsvpc";
829
+ readonly BRIDGE: "bridge";
830
+ readonly HOST: "host";
831
+ readonly NONE: "none";
832
+ };
833
+ export type NetworkMode = (typeof NetworkMode)[keyof typeof NetworkMode];
834
+ export declare const PidMode: {
835
+ readonly HOST: "host";
836
+ readonly TASK: "task";
837
+ };
838
+ export type PidMode = (typeof PidMode)[keyof typeof PidMode];
839
+ export declare const TaskDefinitionPlacementConstraintType: {
840
+ readonly MEMBER_OF: "memberOf";
841
+ };
842
+ export type TaskDefinitionPlacementConstraintType =
843
+ (typeof TaskDefinitionPlacementConstraintType)[keyof typeof TaskDefinitionPlacementConstraintType];
790
844
  export interface TaskDefinitionPlacementConstraint {
791
845
  type?: TaskDefinitionPlacementConstraintType | string;
792
846
  expression?: string;
793
847
  }
794
- export declare enum ProxyConfigurationType {
795
- APPMESH = "APPMESH",
796
- }
848
+ export declare const ProxyConfigurationType: {
849
+ readonly APPMESH: "APPMESH";
850
+ };
851
+ export type ProxyConfigurationType =
852
+ (typeof ProxyConfigurationType)[keyof typeof ProxyConfigurationType];
797
853
  export interface ProxyConfiguration {
798
854
  type?: ProxyConfigurationType | string;
799
855
  containerName: string | undefined;
800
856
  properties?: KeyValuePair[];
801
857
  }
802
- export declare enum CPUArchitecture {
803
- ARM64 = "ARM64",
804
- X86_64 = "X86_64",
805
- }
806
- export declare enum OSFamily {
807
- LINUX = "LINUX",
808
- WINDOWS_SERVER_2004_CORE = "WINDOWS_SERVER_2004_CORE",
809
- WINDOWS_SERVER_2016_FULL = "WINDOWS_SERVER_2016_FULL",
810
- WINDOWS_SERVER_2019_CORE = "WINDOWS_SERVER_2019_CORE",
811
- WINDOWS_SERVER_2019_FULL = "WINDOWS_SERVER_2019_FULL",
812
- WINDOWS_SERVER_2022_CORE = "WINDOWS_SERVER_2022_CORE",
813
- WINDOWS_SERVER_2022_FULL = "WINDOWS_SERVER_2022_FULL",
814
- WINDOWS_SERVER_20H2_CORE = "WINDOWS_SERVER_20H2_CORE",
815
- }
858
+ export declare const CPUArchitecture: {
859
+ readonly ARM64: "ARM64";
860
+ readonly X86_64: "X86_64";
861
+ };
862
+ export type CPUArchitecture =
863
+ (typeof CPUArchitecture)[keyof typeof CPUArchitecture];
864
+ export declare const OSFamily: {
865
+ readonly LINUX: "LINUX";
866
+ readonly WINDOWS_SERVER_2004_CORE: "WINDOWS_SERVER_2004_CORE";
867
+ readonly WINDOWS_SERVER_2016_FULL: "WINDOWS_SERVER_2016_FULL";
868
+ readonly WINDOWS_SERVER_2019_CORE: "WINDOWS_SERVER_2019_CORE";
869
+ readonly WINDOWS_SERVER_2019_FULL: "WINDOWS_SERVER_2019_FULL";
870
+ readonly WINDOWS_SERVER_2022_CORE: "WINDOWS_SERVER_2022_CORE";
871
+ readonly WINDOWS_SERVER_2022_FULL: "WINDOWS_SERVER_2022_FULL";
872
+ readonly WINDOWS_SERVER_20H2_CORE: "WINDOWS_SERVER_20H2_CORE";
873
+ };
874
+ export type OSFamily = (typeof OSFamily)[keyof typeof OSFamily];
816
875
  export interface RuntimePlatform {
817
876
  cpuArchitecture?: CPUArchitecture | string;
818
877
  operatingSystemFamily?: OSFamily | string;
819
878
  }
820
- export declare enum TaskDefinitionStatus {
821
- ACTIVE = "ACTIVE",
822
- DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS",
823
- INACTIVE = "INACTIVE",
824
- }
825
- export declare enum Scope {
826
- SHARED = "shared",
827
- TASK = "task",
828
- }
879
+ export declare const TaskDefinitionStatus: {
880
+ readonly ACTIVE: "ACTIVE";
881
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
882
+ readonly INACTIVE: "INACTIVE";
883
+ };
884
+ export type TaskDefinitionStatus =
885
+ (typeof TaskDefinitionStatus)[keyof typeof TaskDefinitionStatus];
886
+ export declare const Scope: {
887
+ readonly SHARED: "shared";
888
+ readonly TASK: "task";
889
+ };
890
+ export type Scope = (typeof Scope)[keyof typeof Scope];
829
891
  export interface DockerVolumeConfiguration {
830
892
  scope?: Scope | string;
831
893
  autoprovision?: boolean;
@@ -833,18 +895,22 @@ export interface DockerVolumeConfiguration {
833
895
  driverOpts?: Record<string, string>;
834
896
  labels?: Record<string, string>;
835
897
  }
836
- export declare enum EFSAuthorizationConfigIAM {
837
- DISABLED = "DISABLED",
838
- ENABLED = "ENABLED",
839
- }
898
+ export declare const EFSAuthorizationConfigIAM: {
899
+ readonly DISABLED: "DISABLED";
900
+ readonly ENABLED: "ENABLED";
901
+ };
902
+ export type EFSAuthorizationConfigIAM =
903
+ (typeof EFSAuthorizationConfigIAM)[keyof typeof EFSAuthorizationConfigIAM];
840
904
  export interface EFSAuthorizationConfig {
841
905
  accessPointId?: string;
842
906
  iam?: EFSAuthorizationConfigIAM | string;
843
907
  }
844
- export declare enum EFSTransitEncryption {
845
- DISABLED = "DISABLED",
846
- ENABLED = "ENABLED",
847
- }
908
+ export declare const EFSTransitEncryption: {
909
+ readonly DISABLED: "DISABLED";
910
+ readonly ENABLED: "ENABLED";
911
+ };
912
+ export type EFSTransitEncryption =
913
+ (typeof EFSTransitEncryption)[keyof typeof EFSTransitEncryption];
848
914
  export interface EFSVolumeConfiguration {
849
915
  fileSystemId: string | undefined;
850
916
  rootDirectory?: string;
@@ -922,15 +988,19 @@ export interface DeregisterContainerInstanceRequest {
922
988
  containerInstance: string | undefined;
923
989
  force?: boolean;
924
990
  }
925
- export declare enum InstanceHealthCheckState {
926
- IMPAIRED = "IMPAIRED",
927
- INITIALIZING = "INITIALIZING",
928
- INSUFFICIENT_DATA = "INSUFFICIENT_DATA",
929
- OK = "OK",
930
- }
931
- export declare enum InstanceHealthCheckType {
932
- CONTAINER_RUNTIME = "CONTAINER_RUNTIME",
933
- }
991
+ export declare const InstanceHealthCheckState: {
992
+ readonly IMPAIRED: "IMPAIRED";
993
+ readonly INITIALIZING: "INITIALIZING";
994
+ readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
995
+ readonly OK: "OK";
996
+ };
997
+ export type InstanceHealthCheckState =
998
+ (typeof InstanceHealthCheckState)[keyof typeof InstanceHealthCheckState];
999
+ export declare const InstanceHealthCheckType: {
1000
+ readonly CONTAINER_RUNTIME: "CONTAINER_RUNTIME";
1001
+ };
1002
+ export type InstanceHealthCheckType =
1003
+ (typeof InstanceHealthCheckType)[keyof typeof InstanceHealthCheckType];
934
1004
  export interface InstanceHealthCheckResult {
935
1005
  type?: InstanceHealthCheckType | string;
936
1006
  status?: InstanceHealthCheckState | string;
@@ -983,9 +1053,11 @@ export interface DeregisterTaskDefinitionRequest {
983
1053
  export interface DeregisterTaskDefinitionResponse {
984
1054
  taskDefinition?: TaskDefinition;
985
1055
  }
986
- export declare enum CapacityProviderField {
987
- TAGS = "TAGS",
988
- }
1056
+ export declare const CapacityProviderField: {
1057
+ readonly TAGS: "TAGS";
1058
+ };
1059
+ export type CapacityProviderField =
1060
+ (typeof CapacityProviderField)[keyof typeof CapacityProviderField];
989
1061
  export interface DescribeCapacityProvidersRequest {
990
1062
  capacityProviders?: string[];
991
1063
  include?: (CapacityProviderField | string)[];
@@ -997,13 +1069,14 @@ export interface DescribeCapacityProvidersResponse {
997
1069
  failures?: Failure[];
998
1070
  nextToken?: string;
999
1071
  }
1000
- export declare enum ClusterField {
1001
- ATTACHMENTS = "ATTACHMENTS",
1002
- CONFIGURATIONS = "CONFIGURATIONS",
1003
- SETTINGS = "SETTINGS",
1004
- STATISTICS = "STATISTICS",
1005
- TAGS = "TAGS",
1006
- }
1072
+ export declare const ClusterField: {
1073
+ readonly ATTACHMENTS: "ATTACHMENTS";
1074
+ readonly CONFIGURATIONS: "CONFIGURATIONS";
1075
+ readonly SETTINGS: "SETTINGS";
1076
+ readonly STATISTICS: "STATISTICS";
1077
+ readonly TAGS: "TAGS";
1078
+ };
1079
+ export type ClusterField = (typeof ClusterField)[keyof typeof ClusterField];
1007
1080
  export interface DescribeClustersRequest {
1008
1081
  clusters?: string[];
1009
1082
  include?: (ClusterField | string)[];
@@ -1012,10 +1085,12 @@ export interface DescribeClustersResponse {
1012
1085
  clusters?: Cluster[];
1013
1086
  failures?: Failure[];
1014
1087
  }
1015
- export declare enum ContainerInstanceField {
1016
- CONTAINER_INSTANCE_HEALTH = "CONTAINER_INSTANCE_HEALTH",
1017
- TAGS = "TAGS",
1018
- }
1088
+ export declare const ContainerInstanceField: {
1089
+ readonly CONTAINER_INSTANCE_HEALTH: "CONTAINER_INSTANCE_HEALTH";
1090
+ readonly TAGS: "TAGS";
1091
+ };
1092
+ export type ContainerInstanceField =
1093
+ (typeof ContainerInstanceField)[keyof typeof ContainerInstanceField];
1019
1094
  export interface DescribeContainerInstancesRequest {
1020
1095
  cluster?: string;
1021
1096
  containerInstances: string[] | undefined;
@@ -1025,9 +1100,10 @@ export interface DescribeContainerInstancesResponse {
1025
1100
  containerInstances?: ContainerInstance[];
1026
1101
  failures?: Failure[];
1027
1102
  }
1028
- export declare enum ServiceField {
1029
- TAGS = "TAGS",
1030
- }
1103
+ export declare const ServiceField: {
1104
+ readonly TAGS: "TAGS";
1105
+ };
1106
+ export type ServiceField = (typeof ServiceField)[keyof typeof ServiceField];
1031
1107
  export interface DescribeServicesRequest {
1032
1108
  cluster?: string;
1033
1109
  services: string[] | undefined;
@@ -1037,9 +1113,11 @@ export interface DescribeServicesResponse {
1037
1113
  services?: Service[];
1038
1114
  failures?: Failure[];
1039
1115
  }
1040
- export declare enum TaskDefinitionField {
1041
- TAGS = "TAGS",
1042
- }
1116
+ export declare const TaskDefinitionField: {
1117
+ readonly TAGS: "TAGS";
1118
+ };
1119
+ export type TaskDefinitionField =
1120
+ (typeof TaskDefinitionField)[keyof typeof TaskDefinitionField];
1043
1121
  export interface DescribeTaskDefinitionRequest {
1044
1122
  taskDefinition: string | undefined;
1045
1123
  include?: (TaskDefinitionField | string)[];
@@ -1048,26 +1126,31 @@ export interface DescribeTaskDefinitionResponse {
1048
1126
  taskDefinition?: TaskDefinition;
1049
1127
  tags?: Tag[];
1050
1128
  }
1051
- export declare enum TaskField {
1052
- TAGS = "TAGS",
1053
- }
1129
+ export declare const TaskField: {
1130
+ readonly TAGS: "TAGS";
1131
+ };
1132
+ export type TaskField = (typeof TaskField)[keyof typeof TaskField];
1054
1133
  export interface DescribeTasksRequest {
1055
1134
  cluster?: string;
1056
1135
  tasks: string[] | undefined;
1057
1136
  include?: (TaskField | string)[];
1058
1137
  }
1059
- export declare enum Connectivity {
1060
- CONNECTED = "CONNECTED",
1061
- DISCONNECTED = "DISCONNECTED",
1062
- }
1063
- export declare enum HealthStatus {
1064
- HEALTHY = "HEALTHY",
1065
- UNHEALTHY = "UNHEALTHY",
1066
- UNKNOWN = "UNKNOWN",
1067
- }
1068
- export declare enum ManagedAgentName {
1069
- ExecuteCommandAgent = "ExecuteCommandAgent",
1070
- }
1138
+ export declare const Connectivity: {
1139
+ readonly CONNECTED: "CONNECTED";
1140
+ readonly DISCONNECTED: "DISCONNECTED";
1141
+ };
1142
+ export type Connectivity = (typeof Connectivity)[keyof typeof Connectivity];
1143
+ export declare const HealthStatus: {
1144
+ readonly HEALTHY: "HEALTHY";
1145
+ readonly UNHEALTHY: "UNHEALTHY";
1146
+ readonly UNKNOWN: "UNKNOWN";
1147
+ };
1148
+ export type HealthStatus = (typeof HealthStatus)[keyof typeof HealthStatus];
1149
+ export declare const ManagedAgentName: {
1150
+ readonly ExecuteCommandAgent: "ExecuteCommandAgent";
1151
+ };
1152
+ export type ManagedAgentName =
1153
+ (typeof ManagedAgentName)[keyof typeof ManagedAgentName];
1071
1154
  export interface ManagedAgent {
1072
1155
  lastStartedAt?: Date;
1073
1156
  name?: ManagedAgentName | string;
@@ -1129,14 +1212,15 @@ export interface TaskOverride {
1129
1212
  taskRoleArn?: string;
1130
1213
  ephemeralStorage?: EphemeralStorage;
1131
1214
  }
1132
- export declare enum TaskStopCode {
1133
- ESSENTIAL_CONTAINER_EXITED = "EssentialContainerExited",
1134
- SERVICE_SCHEDULER_INITIATED = "ServiceSchedulerInitiated",
1135
- SPOT_INTERRUPTION = "SpotInterruption",
1136
- TASK_FAILED_TO_START = "TaskFailedToStart",
1137
- TERMINATION_NOTICE = "TerminationNotice",
1138
- USER_INITIATED = "UserInitiated",
1139
- }
1215
+ export declare const TaskStopCode: {
1216
+ readonly ESSENTIAL_CONTAINER_EXITED: "EssentialContainerExited";
1217
+ readonly SERVICE_SCHEDULER_INITIATED: "ServiceSchedulerInitiated";
1218
+ readonly SPOT_INTERRUPTION: "SpotInterruption";
1219
+ readonly TASK_FAILED_TO_START: "TaskFailedToStart";
1220
+ readonly TERMINATION_NOTICE: "TerminationNotice";
1221
+ readonly USER_INITIATED: "UserInitiated";
1222
+ };
1223
+ export type TaskStopCode = (typeof TaskStopCode)[keyof typeof TaskStopCode];
1140
1224
  export interface Task {
1141
1225
  attachments?: Attachment[];
1142
1226
  attributes?: Attribute[];
@@ -1179,9 +1263,10 @@ export interface DescribeTasksResponse {
1179
1263
  tasks?: Task[];
1180
1264
  failures?: Failure[];
1181
1265
  }
1182
- export declare enum TaskSetField {
1183
- TAGS = "TAGS",
1184
- }
1266
+ export declare const TaskSetField: {
1267
+ readonly TAGS: "TAGS";
1268
+ };
1269
+ export type TaskSetField = (typeof TaskSetField)[keyof typeof TaskSetField];
1185
1270
  export interface DescribeTaskSetsRequest {
1186
1271
  cluster: string | undefined;
1187
1272
  service: string | undefined;
@@ -1280,13 +1365,15 @@ export interface ListClustersResponse {
1280
1365
  clusterArns?: string[];
1281
1366
  nextToken?: string;
1282
1367
  }
1283
- export declare enum ContainerInstanceStatus {
1284
- ACTIVE = "ACTIVE",
1285
- DEREGISTERING = "DEREGISTERING",
1286
- DRAINING = "DRAINING",
1287
- REGISTERING = "REGISTERING",
1288
- REGISTRATION_FAILED = "REGISTRATION_FAILED",
1289
- }
1368
+ export declare const ContainerInstanceStatus: {
1369
+ readonly ACTIVE: "ACTIVE";
1370
+ readonly DEREGISTERING: "DEREGISTERING";
1371
+ readonly DRAINING: "DRAINING";
1372
+ readonly REGISTERING: "REGISTERING";
1373
+ readonly REGISTRATION_FAILED: "REGISTRATION_FAILED";
1374
+ };
1375
+ export type ContainerInstanceStatus =
1376
+ (typeof ContainerInstanceStatus)[keyof typeof ContainerInstanceStatus];
1290
1377
  export interface ListContainerInstancesRequest {
1291
1378
  cluster?: string;
1292
1379
  filter?: string;
@@ -1324,11 +1411,13 @@ export interface ListTagsForResourceRequest {
1324
1411
  export interface ListTagsForResourceResponse {
1325
1412
  tags?: Tag[];
1326
1413
  }
1327
- export declare enum TaskDefinitionFamilyStatus {
1328
- ACTIVE = "ACTIVE",
1329
- ALL = "ALL",
1330
- INACTIVE = "INACTIVE",
1331
- }
1414
+ export declare const TaskDefinitionFamilyStatus: {
1415
+ readonly ACTIVE: "ACTIVE";
1416
+ readonly ALL: "ALL";
1417
+ readonly INACTIVE: "INACTIVE";
1418
+ };
1419
+ export type TaskDefinitionFamilyStatus =
1420
+ (typeof TaskDefinitionFamilyStatus)[keyof typeof TaskDefinitionFamilyStatus];
1332
1421
  export interface ListTaskDefinitionFamiliesRequest {
1333
1422
  familyPrefix?: string;
1334
1423
  status?: TaskDefinitionFamilyStatus | string;
@@ -1339,10 +1428,11 @@ export interface ListTaskDefinitionFamiliesResponse {
1339
1428
  families?: string[];
1340
1429
  nextToken?: string;
1341
1430
  }
1342
- export declare enum SortOrder {
1343
- ASC = "ASC",
1344
- DESC = "DESC",
1345
- }
1431
+ export declare const SortOrder: {
1432
+ readonly ASC: "ASC";
1433
+ readonly DESC: "DESC";
1434
+ };
1435
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
1346
1436
  export interface ListTaskDefinitionsRequest {
1347
1437
  familyPrefix?: string;
1348
1438
  status?: TaskDefinitionStatus | string;
@@ -1354,11 +1444,12 @@ export interface ListTaskDefinitionsResponse {
1354
1444
  taskDefinitionArns?: string[];
1355
1445
  nextToken?: string;
1356
1446
  }
1357
- export declare enum DesiredStatus {
1358
- PENDING = "PENDING",
1359
- RUNNING = "RUNNING",
1360
- STOPPED = "STOPPED",
1361
- }
1447
+ export declare const DesiredStatus: {
1448
+ readonly PENDING: "PENDING";
1449
+ readonly RUNNING: "RUNNING";
1450
+ readonly STOPPED: "STOPPED";
1451
+ };
1452
+ export type DesiredStatus = (typeof DesiredStatus)[keyof typeof DesiredStatus];
1362
1453
  export interface ListTasksRequest {
1363
1454
  cluster?: string;
1364
1455
  containerInstance?: string;
@@ -1421,9 +1512,11 @@ export declare class ResourceInUseException extends __BaseException {
1421
1512
  opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
1422
1513
  );
1423
1514
  }
1424
- export declare enum PlatformDeviceType {
1425
- GPU = "GPU",
1426
- }
1515
+ export declare const PlatformDeviceType: {
1516
+ readonly GPU: "GPU";
1517
+ };
1518
+ export type PlatformDeviceType =
1519
+ (typeof PlatformDeviceType)[keyof typeof PlatformDeviceType];
1427
1520
  export interface PlatformDevice {
1428
1521
  id: string | undefined;
1429
1522
  type: PlatformDeviceType | string | undefined;