@aws-sdk/client-ec2 3.427.0 → 3.429.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 (53) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EC2.js +4 -0
  3. package/dist-cjs/commands/DisableImageCommand.js +51 -0
  4. package/dist-cjs/commands/EnableImageCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +1 -0
  7. package/dist-cjs/models/models_3.js +1 -0
  8. package/dist-cjs/protocols/Aws_ec2.js +133 -17
  9. package/dist-es/EC2.js +4 -0
  10. package/dist-es/commands/DisableImageCommand.js +47 -0
  11. package/dist-es/commands/EnableImageCommand.js +47 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/models/models_0.js +1 -0
  14. package/dist-es/models/models_3.js +1 -0
  15. package/dist-es/protocols/Aws_ec2.js +112 -0
  16. package/dist-types/EC2.d.ts +14 -0
  17. package/dist-types/EC2Client.d.ts +4 -2
  18. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeImagesCommand.d.ts +3 -1
  23. package/dist-types/commands/DisableImageCommand.d.ts +84 -0
  24. package/dist-types/commands/EnableImageCommand.d.ts +81 -0
  25. package/dist-types/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +2 -1
  26. package/dist-types/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  27. package/dist-types/commands/index.d.ts +2 -0
  28. package/dist-types/models/models_0.d.ts +80 -79
  29. package/dist-types/models/models_1.d.ts +131 -131
  30. package/dist-types/models/models_2.d.ts +105 -105
  31. package/dist-types/models/models_3.d.ts +99 -79
  32. package/dist-types/models/models_4.d.ts +115 -111
  33. package/dist-types/models/models_5.d.ts +119 -143
  34. package/dist-types/models/models_6.d.ts +159 -181
  35. package/dist-types/models/models_7.d.ts +113 -13
  36. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  37. package/dist-types/ts3.4/EC2.d.ts +34 -0
  38. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  39. package/dist-types/ts3.4/commands/DisableImageCommand.d.ts +35 -0
  40. package/dist-types/ts3.4/commands/EnableImageCommand.d.ts +35 -0
  41. package/dist-types/ts3.4/commands/GetTransitGatewayRouteTablePropagationsCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/GetVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +80 -79
  45. package/dist-types/ts3.4/models/models_1.d.ts +131 -133
  46. package/dist-types/ts3.4/models/models_2.d.ts +105 -107
  47. package/dist-types/ts3.4/models/models_3.d.ts +81 -80
  48. package/dist-types/ts3.4/models/models_4.d.ts +109 -109
  49. package/dist-types/ts3.4/models/models_5.d.ts +79 -87
  50. package/dist-types/ts3.4/models/models_6.d.ts +99 -98
  51. package/dist-types/ts3.4/models/models_7.d.ts +31 -14
  52. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  53. package/package.json +33 -33
@@ -40,7 +40,7 @@ export declare const ClientVpnAuthenticationType: {
40
40
  export type ClientVpnAuthenticationType =
41
41
  (typeof ClientVpnAuthenticationType)[keyof typeof ClientVpnAuthenticationType];
42
42
  export interface ClientVpnAuthenticationRequest {
43
- Type?: ClientVpnAuthenticationType | string;
43
+ Type?: ClientVpnAuthenticationType;
44
44
  ActiveDirectory?: DirectoryServiceAuthenticationRequest;
45
45
  MutualAuthentication?: CertificateAuthenticationRequest;
46
46
  FederatedAuthentication?: FederatedAuthenticationRequest;
@@ -76,7 +76,7 @@ export interface CreateClientVpnEndpointRequest {
76
76
  AuthenticationOptions: ClientVpnAuthenticationRequest[] | undefined;
77
77
  ConnectionLogOptions: ConnectionLogOptions | undefined;
78
78
  DnsServers?: string[];
79
- TransportProtocol?: TransportProtocol | string;
79
+ TransportProtocol?: TransportProtocol;
80
80
  VpnPort?: number;
81
81
  Description?: string;
82
82
  SplitTunnel?: boolean;
@@ -85,7 +85,7 @@ export interface CreateClientVpnEndpointRequest {
85
85
  TagSpecifications?: TagSpecification[];
86
86
  SecurityGroupIds?: string[];
87
87
  VpcId?: string;
88
- SelfServicePortal?: SelfServicePortal | string;
88
+ SelfServicePortal?: SelfServicePortal;
89
89
  ClientConnectOptions?: ClientConnectOptions;
90
90
  SessionTimeoutHours?: number;
91
91
  ClientLoginBannerOptions?: ClientLoginBannerOptions;
@@ -99,7 +99,7 @@ export declare const ClientVpnEndpointStatusCode: {
99
99
  export type ClientVpnEndpointStatusCode =
100
100
  (typeof ClientVpnEndpointStatusCode)[keyof typeof ClientVpnEndpointStatusCode];
101
101
  export interface ClientVpnEndpointStatus {
102
- Code?: ClientVpnEndpointStatusCode | string;
102
+ Code?: ClientVpnEndpointStatusCode;
103
103
  Message?: string;
104
104
  }
105
105
  export interface CreateClientVpnEndpointResult {
@@ -124,7 +124,7 @@ export declare const ClientVpnRouteStatusCode: {
124
124
  export type ClientVpnRouteStatusCode =
125
125
  (typeof ClientVpnRouteStatusCode)[keyof typeof ClientVpnRouteStatusCode];
126
126
  export interface ClientVpnRouteStatus {
127
- Code?: ClientVpnRouteStatusCode | string;
127
+ Code?: ClientVpnRouteStatusCode;
128
128
  Message?: string;
129
129
  }
130
130
  export interface CreateClientVpnRouteResult {
@@ -166,7 +166,7 @@ export interface CreateCustomerGatewayRequest {
166
166
  BgpAsn?: number;
167
167
  PublicIp?: string;
168
168
  CertificateArn?: string;
169
- Type: GatewayType | string | undefined;
169
+ Type: GatewayType | undefined;
170
170
  TagSpecifications?: TagSpecification[];
171
171
  DeviceName?: string;
172
172
  IpAddress?: string;
@@ -196,7 +196,7 @@ export declare const HostnameType: {
196
196
  };
197
197
  export type HostnameType = (typeof HostnameType)[keyof typeof HostnameType];
198
198
  export interface PrivateDnsNameOptionsOnLaunch {
199
- HostnameType?: HostnameType | string;
199
+ HostnameType?: HostnameType;
200
200
  EnableResourceNameDnsARecord?: boolean;
201
201
  EnableResourceNameDnsAAAARecord?: boolean;
202
202
  }
@@ -215,7 +215,7 @@ export interface Subnet {
215
215
  MapPublicIpOnLaunch?: boolean;
216
216
  MapCustomerOwnedIpOnLaunch?: boolean;
217
217
  CustomerOwnedIpv4Pool?: string;
218
- State?: SubnetState | string;
218
+ State?: SubnetState;
219
219
  SubnetId?: string;
220
220
  VpcId?: string;
221
221
  OwnerId?: string;
@@ -248,10 +248,10 @@ export type VpcState = (typeof VpcState)[keyof typeof VpcState];
248
248
  export interface Vpc {
249
249
  CidrBlock?: string;
250
250
  DhcpOptionsId?: string;
251
- State?: VpcState | string;
251
+ State?: VpcState;
252
252
  VpcId?: string;
253
253
  OwnerId?: string;
254
- InstanceTenancy?: Tenancy | string;
254
+ InstanceTenancy?: Tenancy;
255
255
  Ipv6CidrBlockAssociationSet?: VpcIpv6CidrBlockAssociation[];
256
256
  CidrBlockAssociationSet?: VpcCidrBlockAssociation[];
257
257
  IsDefault?: boolean;
@@ -292,7 +292,7 @@ export interface CreateEgressOnlyInternetGatewayRequest {
292
292
  TagSpecifications?: TagSpecification[];
293
293
  }
294
294
  export interface InternetGatewayAttachment {
295
- State?: AttachmentStatus | string;
295
+ State?: AttachmentStatus;
296
296
  VpcId?: string;
297
297
  }
298
298
  export interface EgressOnlyInternetGateway {
@@ -384,24 +384,24 @@ export interface VCpuCountRangeRequest {
384
384
  export interface InstanceRequirementsRequest {
385
385
  VCpuCount: VCpuCountRangeRequest | undefined;
386
386
  MemoryMiB: MemoryMiBRequest | undefined;
387
- CpuManufacturers?: (CpuManufacturer | string)[];
387
+ CpuManufacturers?: CpuManufacturer[];
388
388
  MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
389
389
  ExcludedInstanceTypes?: string[];
390
- InstanceGenerations?: (InstanceGeneration | string)[];
390
+ InstanceGenerations?: InstanceGeneration[];
391
391
  SpotMaxPricePercentageOverLowestPrice?: number;
392
392
  OnDemandMaxPricePercentageOverLowestPrice?: number;
393
- BareMetal?: BareMetal | string;
394
- BurstablePerformance?: BurstablePerformance | string;
393
+ BareMetal?: BareMetal;
394
+ BurstablePerformance?: BurstablePerformance;
395
395
  RequireHibernateSupport?: boolean;
396
396
  NetworkInterfaceCount?: NetworkInterfaceCountRequest;
397
- LocalStorage?: LocalStorage | string;
398
- LocalStorageTypes?: (LocalStorageType | string)[];
397
+ LocalStorage?: LocalStorage;
398
+ LocalStorageTypes?: LocalStorageType[];
399
399
  TotalLocalStorageGB?: TotalLocalStorageGBRequest;
400
400
  BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
401
- AcceleratorTypes?: (AcceleratorType | string)[];
401
+ AcceleratorTypes?: AcceleratorType[];
402
402
  AcceleratorCount?: AcceleratorCountRequest;
403
- AcceleratorManufacturers?: (AcceleratorManufacturer | string)[];
404
- AcceleratorNames?: (AcceleratorName | string)[];
403
+ AcceleratorManufacturers?: AcceleratorManufacturer[];
404
+ AcceleratorNames?: AcceleratorName[];
405
405
  AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
406
406
  NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
407
407
  AllowedInstanceTypes?: string[];
@@ -412,13 +412,13 @@ export interface Placement {
412
412
  GroupName?: string;
413
413
  PartitionNumber?: number;
414
414
  HostId?: string;
415
- Tenancy?: Tenancy | string;
415
+ Tenancy?: Tenancy;
416
416
  SpreadDomain?: string;
417
417
  HostResourceGroupArn?: string;
418
418
  GroupId?: string;
419
419
  }
420
420
  export interface FleetLaunchTemplateOverridesRequest {
421
- InstanceType?: _InstanceType | string;
421
+ InstanceType?: _InstanceType;
422
422
  MaxPrice?: string;
423
423
  SubnetId?: string;
424
424
  AvailabilityZone?: string;
@@ -444,10 +444,10 @@ export declare const FleetCapacityReservationUsageStrategy: {
444
444
  export type FleetCapacityReservationUsageStrategy =
445
445
  (typeof FleetCapacityReservationUsageStrategy)[keyof typeof FleetCapacityReservationUsageStrategy];
446
446
  export interface CapacityReservationOptionsRequest {
447
- UsageStrategy?: FleetCapacityReservationUsageStrategy | string;
447
+ UsageStrategy?: FleetCapacityReservationUsageStrategy;
448
448
  }
449
449
  export interface OnDemandOptionsRequest {
450
- AllocationStrategy?: FleetOnDemandAllocationStrategy | string;
450
+ AllocationStrategy?: FleetOnDemandAllocationStrategy;
451
451
  CapacityReservationOptions?: CapacityReservationOptionsRequest;
452
452
  SingleInstanceType?: boolean;
453
453
  SingleAvailabilityZone?: boolean;
@@ -477,16 +477,16 @@ export declare const FleetReplacementStrategy: {
477
477
  export type FleetReplacementStrategy =
478
478
  (typeof FleetReplacementStrategy)[keyof typeof FleetReplacementStrategy];
479
479
  export interface FleetSpotCapacityRebalanceRequest {
480
- ReplacementStrategy?: FleetReplacementStrategy | string;
480
+ ReplacementStrategy?: FleetReplacementStrategy;
481
481
  TerminationDelay?: number;
482
482
  }
483
483
  export interface FleetSpotMaintenanceStrategiesRequest {
484
484
  CapacityRebalance?: FleetSpotCapacityRebalanceRequest;
485
485
  }
486
486
  export interface SpotOptionsRequest {
487
- AllocationStrategy?: SpotAllocationStrategy | string;
487
+ AllocationStrategy?: SpotAllocationStrategy;
488
488
  MaintenanceStrategies?: FleetSpotMaintenanceStrategiesRequest;
489
- InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior | string;
489
+ InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior;
490
490
  InstancePoolsToUseCount?: number;
491
491
  SingleInstanceType?: boolean;
492
492
  SingleAvailabilityZone?: boolean;
@@ -510,8 +510,8 @@ export interface TargetCapacitySpecificationRequest {
510
510
  TotalTargetCapacity: number | undefined;
511
511
  OnDemandTargetCapacity?: number;
512
512
  SpotTargetCapacity?: number;
513
- DefaultTargetCapacityType?: DefaultTargetCapacityType | string;
514
- TargetCapacityUnitType?: TargetCapacityUnitType | string;
513
+ DefaultTargetCapacityType?: DefaultTargetCapacityType;
514
+ TargetCapacityUnitType?: TargetCapacityUnitType;
515
515
  }
516
516
  export declare const FleetType: {
517
517
  readonly INSTANT: "instant";
@@ -524,13 +524,11 @@ export interface CreateFleetRequest {
524
524
  ClientToken?: string;
525
525
  SpotOptions?: SpotOptionsRequest;
526
526
  OnDemandOptions?: OnDemandOptionsRequest;
527
- ExcessCapacityTerminationPolicy?:
528
- | FleetExcessCapacityTerminationPolicy
529
- | string;
527
+ ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy;
530
528
  LaunchTemplateConfigs: FleetLaunchTemplateConfigRequest[] | undefined;
531
529
  TargetCapacitySpecification: TargetCapacitySpecificationRequest | undefined;
532
530
  TerminateInstancesWithExpiration?: boolean;
533
- Type?: FleetType | string;
531
+ Type?: FleetType;
534
532
  ValidFrom?: Date;
535
533
  ValidUntil?: Date;
536
534
  ReplaceUnhealthyInstances?: boolean;
@@ -573,24 +571,24 @@ export interface VCpuCountRange {
573
571
  export interface InstanceRequirements {
574
572
  VCpuCount?: VCpuCountRange;
575
573
  MemoryMiB?: MemoryMiB;
576
- CpuManufacturers?: (CpuManufacturer | string)[];
574
+ CpuManufacturers?: CpuManufacturer[];
577
575
  MemoryGiBPerVCpu?: MemoryGiBPerVCpu;
578
576
  ExcludedInstanceTypes?: string[];
579
- InstanceGenerations?: (InstanceGeneration | string)[];
577
+ InstanceGenerations?: InstanceGeneration[];
580
578
  SpotMaxPricePercentageOverLowestPrice?: number;
581
579
  OnDemandMaxPricePercentageOverLowestPrice?: number;
582
- BareMetal?: BareMetal | string;
583
- BurstablePerformance?: BurstablePerformance | string;
580
+ BareMetal?: BareMetal;
581
+ BurstablePerformance?: BurstablePerformance;
584
582
  RequireHibernateSupport?: boolean;
585
583
  NetworkInterfaceCount?: NetworkInterfaceCount;
586
- LocalStorage?: LocalStorage | string;
587
- LocalStorageTypes?: (LocalStorageType | string)[];
584
+ LocalStorage?: LocalStorage;
585
+ LocalStorageTypes?: LocalStorageType[];
588
586
  TotalLocalStorageGB?: TotalLocalStorageGB;
589
587
  BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbps;
590
- AcceleratorTypes?: (AcceleratorType | string)[];
588
+ AcceleratorTypes?: AcceleratorType[];
591
589
  AcceleratorCount?: AcceleratorCount;
592
- AcceleratorManufacturers?: (AcceleratorManufacturer | string)[];
593
- AcceleratorNames?: (AcceleratorName | string)[];
590
+ AcceleratorManufacturers?: AcceleratorManufacturer[];
591
+ AcceleratorNames?: AcceleratorName[];
594
592
  AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiB;
595
593
  NetworkBandwidthGbps?: NetworkBandwidthGbps;
596
594
  AllowedInstanceTypes?: string[];
@@ -599,7 +597,7 @@ export interface PlacementResponse {
599
597
  GroupName?: string;
600
598
  }
601
599
  export interface FleetLaunchTemplateOverrides {
602
- InstanceType?: _InstanceType | string;
600
+ InstanceType?: _InstanceType;
603
601
  MaxPrice?: string;
604
602
  SubnetId?: string;
605
603
  AvailabilityZone?: string;
@@ -621,7 +619,7 @@ export type InstanceLifecycle =
621
619
  (typeof InstanceLifecycle)[keyof typeof InstanceLifecycle];
622
620
  export interface CreateFleetError {
623
621
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse;
624
- Lifecycle?: InstanceLifecycle | string;
622
+ Lifecycle?: InstanceLifecycle;
625
623
  ErrorCode?: string;
626
624
  ErrorMessage?: string;
627
625
  }
@@ -632,10 +630,10 @@ export type PlatformValues =
632
630
  (typeof PlatformValues)[keyof typeof PlatformValues];
633
631
  export interface CreateFleetInstance {
634
632
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse;
635
- Lifecycle?: InstanceLifecycle | string;
633
+ Lifecycle?: InstanceLifecycle;
636
634
  InstanceIds?: string[];
637
- InstanceType?: _InstanceType | string;
638
- Platform?: PlatformValues | string;
635
+ InstanceType?: _InstanceType;
636
+ Platform?: PlatformValues;
639
637
  }
640
638
  export interface CreateFleetResult {
641
639
  FleetId?: string;
@@ -649,7 +647,7 @@ export declare const DestinationFileFormat: {
649
647
  export type DestinationFileFormat =
650
648
  (typeof DestinationFileFormat)[keyof typeof DestinationFileFormat];
651
649
  export interface DestinationOptionsRequest {
652
- FileFormat?: DestinationFileFormat | string;
650
+ FileFormat?: DestinationFileFormat;
653
651
  HiveCompatiblePartitions?: boolean;
654
652
  PerHourPartition?: boolean;
655
653
  }
@@ -682,9 +680,9 @@ export interface CreateFlowLogsRequest {
682
680
  DeliverCrossAccountRole?: string;
683
681
  LogGroupName?: string;
684
682
  ResourceIds: string[] | undefined;
685
- ResourceType: FlowLogsResourceType | string | undefined;
686
- TrafficType?: TrafficType | string;
687
- LogDestinationType?: LogDestinationType | string;
683
+ ResourceType: FlowLogsResourceType | undefined;
684
+ TrafficType?: TrafficType;
685
+ LogDestinationType?: LogDestinationType;
688
686
  LogDestination?: string;
689
687
  LogFormat?: string;
690
688
  TagSpecifications?: TagSpecification[];
@@ -728,7 +726,7 @@ export interface EbsBlockDevice {
728
726
  Iops?: number;
729
727
  SnapshotId?: string;
730
728
  VolumeSize?: number;
731
- VolumeType?: VolumeType | string;
729
+ VolumeType?: VolumeType;
732
730
  KmsKeyId?: string;
733
731
  Throughput?: number;
734
732
  OutpostArn?: string;
@@ -774,7 +772,7 @@ export interface Ec2InstanceConnectEndpoint {
774
772
  OwnerId?: string;
775
773
  InstanceConnectEndpointId?: string;
776
774
  InstanceConnectEndpointArn?: string;
777
- State?: Ec2InstanceConnectEndpointState | string;
775
+ State?: Ec2InstanceConnectEndpointState;
778
776
  StateMessage?: string;
779
777
  DnsName?: string;
780
778
  FipsDnsName?: string;
@@ -792,9 +790,9 @@ export interface CreateInstanceConnectEndpointResult {
792
790
  ClientToken?: string;
793
791
  }
794
792
  export interface InstanceEventWindowTimeRangeRequest {
795
- StartWeekDay?: WeekDay | string;
793
+ StartWeekDay?: WeekDay;
796
794
  StartHour?: number;
797
- EndWeekDay?: WeekDay | string;
795
+ EndWeekDay?: WeekDay;
798
796
  EndHour?: number;
799
797
  }
800
798
  export interface CreateInstanceEventWindowRequest {
@@ -820,8 +818,8 @@ export declare const DiskImageFormat: {
820
818
  export type DiskImageFormat =
821
819
  (typeof DiskImageFormat)[keyof typeof DiskImageFormat];
822
820
  export interface ExportToS3TaskSpecification {
823
- ContainerFormat?: ContainerFormat | string;
824
- DiskImageFormat?: DiskImageFormat | string;
821
+ ContainerFormat?: ContainerFormat;
822
+ DiskImageFormat?: DiskImageFormat;
825
823
  S3Bucket?: string;
826
824
  S3Prefix?: string;
827
825
  }
@@ -836,18 +834,18 @@ export interface CreateInstanceExportTaskRequest {
836
834
  Description?: string;
837
835
  ExportToS3Task: ExportToS3TaskSpecification | undefined;
838
836
  InstanceId: string | undefined;
839
- TargetEnvironment: ExportEnvironment | string | undefined;
837
+ TargetEnvironment: ExportEnvironment | undefined;
840
838
  TagSpecifications?: TagSpecification[];
841
839
  }
842
840
  export interface ExportToS3Task {
843
- ContainerFormat?: ContainerFormat | string;
844
- DiskImageFormat?: DiskImageFormat | string;
841
+ ContainerFormat?: ContainerFormat;
842
+ DiskImageFormat?: DiskImageFormat;
845
843
  S3Bucket?: string;
846
844
  S3Key?: string;
847
845
  }
848
846
  export interface InstanceExportDetails {
849
847
  InstanceId?: string;
850
- TargetEnvironment?: ExportEnvironment | string;
848
+ TargetEnvironment?: ExportEnvironment;
851
849
  }
852
850
  export declare const ExportTaskState: {
853
851
  readonly active: "active";
@@ -862,7 +860,7 @@ export interface ExportTask {
862
860
  ExportTaskId?: string;
863
861
  ExportToS3Task?: ExportToS3Task;
864
862
  InstanceExportDetails?: InstanceExportDetails;
865
- State?: ExportTaskState | string;
863
+ State?: ExportTaskState;
866
864
  StatusMessage?: string;
867
865
  Tags?: Tag[];
868
866
  }
@@ -917,7 +915,7 @@ export interface Ipam {
917
915
  ScopeCount?: number;
918
916
  Description?: string;
919
917
  OperatingRegions?: IpamOperatingRegion[];
920
- State?: IpamState | string;
918
+ State?: IpamState;
921
919
  Tags?: Tag[];
922
920
  DefaultResourceDiscoveryId?: string;
923
921
  DefaultResourceDiscoveryAssociationId?: string;
@@ -947,7 +945,7 @@ export interface CreateIpamPoolRequest {
947
945
  Locale?: string;
948
946
  SourceIpamPoolId?: string;
949
947
  Description?: string;
950
- AddressFamily: AddressFamily | string | undefined;
948
+ AddressFamily: AddressFamily | undefined;
951
949
  AutoImport?: boolean;
952
950
  PubliclyAdvertisable?: boolean;
953
951
  AllocationMinNetmaskLength?: number;
@@ -956,8 +954,8 @@ export interface CreateIpamPoolRequest {
956
954
  AllocationResourceTags?: RequestIpamResourceTag[];
957
955
  TagSpecifications?: TagSpecification[];
958
956
  ClientToken?: string;
959
- AwsService?: IpamPoolAwsService | string;
960
- PublicIpSource?: IpamPoolPublicIpSource | string;
957
+ AwsService?: IpamPoolAwsService;
958
+ PublicIpSource?: IpamPoolPublicIpSource;
961
959
  }
962
960
  export interface IpamResourceTag {
963
961
  Key?: string;
@@ -989,24 +987,24 @@ export interface IpamPool {
989
987
  SourceIpamPoolId?: string;
990
988
  IpamPoolArn?: string;
991
989
  IpamScopeArn?: string;
992
- IpamScopeType?: IpamScopeType | string;
990
+ IpamScopeType?: IpamScopeType;
993
991
  IpamArn?: string;
994
992
  IpamRegion?: string;
995
993
  Locale?: string;
996
994
  PoolDepth?: number;
997
- State?: IpamPoolState | string;
995
+ State?: IpamPoolState;
998
996
  StateMessage?: string;
999
997
  Description?: string;
1000
998
  AutoImport?: boolean;
1001
999
  PubliclyAdvertisable?: boolean;
1002
- AddressFamily?: AddressFamily | string;
1000
+ AddressFamily?: AddressFamily;
1003
1001
  AllocationMinNetmaskLength?: number;
1004
1002
  AllocationMaxNetmaskLength?: number;
1005
1003
  AllocationDefaultNetmaskLength?: number;
1006
1004
  AllocationResourceTags?: IpamResourceTag[];
1007
1005
  Tags?: Tag[];
1008
- AwsService?: IpamPoolAwsService | string;
1009
- PublicIpSource?: IpamPoolPublicIpSource | string;
1006
+ AwsService?: IpamPoolAwsService;
1007
+ PublicIpSource?: IpamPoolPublicIpSource;
1010
1008
  }
1011
1009
  export interface CreateIpamPoolResult {
1012
1010
  IpamPool?: IpamPool;
@@ -1042,7 +1040,7 @@ export interface IpamResourceDiscovery {
1042
1040
  Description?: string;
1043
1041
  OperatingRegions?: IpamOperatingRegion[];
1044
1042
  IsDefault?: boolean;
1045
- State?: IpamResourceDiscoveryState | string;
1043
+ State?: IpamResourceDiscoveryState;
1046
1044
  Tags?: Tag[];
1047
1045
  }
1048
1046
  export interface CreateIpamResourceDiscoveryResult {
@@ -1077,11 +1075,11 @@ export interface IpamScope {
1077
1075
  IpamScopeArn?: string;
1078
1076
  IpamArn?: string;
1079
1077
  IpamRegion?: string;
1080
- IpamScopeType?: IpamScopeType | string;
1078
+ IpamScopeType?: IpamScopeType;
1081
1079
  IsDefault?: boolean;
1082
1080
  Description?: string;
1083
1081
  PoolCount?: number;
1084
- State?: IpamScopeState | string;
1082
+ State?: IpamScopeState;
1085
1083
  Tags?: Tag[];
1086
1084
  }
1087
1085
  export interface CreateIpamScopeResult {
@@ -1100,9 +1098,9 @@ export type KeyType = (typeof KeyType)[keyof typeof KeyType];
1100
1098
  export interface CreateKeyPairRequest {
1101
1099
  KeyName: string | undefined;
1102
1100
  DryRun?: boolean;
1103
- KeyType?: KeyType | string;
1101
+ KeyType?: KeyType;
1104
1102
  TagSpecifications?: TagSpecification[];
1105
- KeyFormat?: KeyFormat | string;
1103
+ KeyFormat?: KeyFormat;
1106
1104
  }
1107
1105
  export interface KeyPair {
1108
1106
  KeyFingerprint?: string;
@@ -1118,7 +1116,7 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
1118
1116
  KmsKeyId?: string;
1119
1117
  SnapshotId?: string;
1120
1118
  VolumeSize?: number;
1121
- VolumeType?: VolumeType | string;
1119
+ VolumeType?: VolumeType;
1122
1120
  Throughput?: number;
1123
1121
  }
1124
1122
  export interface LaunchTemplateBlockDeviceMappingRequest {
@@ -1138,7 +1136,7 @@ export interface CapacityReservationTarget {
1138
1136
  CapacityReservationResourceGroupArn?: string;
1139
1137
  }
1140
1138
  export interface LaunchTemplateCapacityReservationSpecificationRequest {
1141
- CapacityReservationPreference?: CapacityReservationPreference | string;
1139
+ CapacityReservationPreference?: CapacityReservationPreference;
1142
1140
  CapacityReservationTarget?: CapacityReservationTarget;
1143
1141
  }
1144
1142
  export declare const AmdSevSnpSpecification: {
@@ -1150,7 +1148,7 @@ export type AmdSevSnpSpecification =
1150
1148
  export interface LaunchTemplateCpuOptionsRequest {
1151
1149
  CoreCount?: number;
1152
1150
  ThreadsPerCore?: number;
1153
- AmdSevSnp?: AmdSevSnpSpecification | string;
1151
+ AmdSevSnp?: AmdSevSnpSpecification;
1154
1152
  }
1155
1153
  export interface CreditSpecificationRequest {
1156
1154
  CpuCredits: string | undefined;
@@ -1197,13 +1195,13 @@ export type SpotInstanceType =
1197
1195
  (typeof SpotInstanceType)[keyof typeof SpotInstanceType];
1198
1196
  export interface LaunchTemplateSpotMarketOptionsRequest {
1199
1197
  MaxPrice?: string;
1200
- SpotInstanceType?: SpotInstanceType | string;
1198
+ SpotInstanceType?: SpotInstanceType;
1201
1199
  BlockDurationMinutes?: number;
1202
1200
  ValidUntil?: Date;
1203
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
1201
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
1204
1202
  }
1205
1203
  export interface LaunchTemplateInstanceMarketOptionsRequest {
1206
- MarketType?: MarketType | string;
1204
+ MarketType?: MarketType;
1207
1205
  SpotOptions?: LaunchTemplateSpotMarketOptionsRequest;
1208
1206
  }
1209
1207
  export interface LaunchTemplateLicenseConfigurationRequest {
@@ -1216,7 +1214,7 @@ export declare const LaunchTemplateAutoRecoveryState: {
1216
1214
  export type LaunchTemplateAutoRecoveryState =
1217
1215
  (typeof LaunchTemplateAutoRecoveryState)[keyof typeof LaunchTemplateAutoRecoveryState];
1218
1216
  export interface LaunchTemplateInstanceMaintenanceOptionsRequest {
1219
- AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
1217
+ AutoRecovery?: LaunchTemplateAutoRecoveryState;
1220
1218
  }
1221
1219
  export declare const LaunchTemplateInstanceMetadataEndpointState: {
1222
1220
  readonly disabled: "disabled";
@@ -1243,11 +1241,11 @@ export declare const LaunchTemplateInstanceMetadataTagsState: {
1243
1241
  export type LaunchTemplateInstanceMetadataTagsState =
1244
1242
  (typeof LaunchTemplateInstanceMetadataTagsState)[keyof typeof LaunchTemplateInstanceMetadataTagsState];
1245
1243
  export interface LaunchTemplateInstanceMetadataOptionsRequest {
1246
- HttpTokens?: LaunchTemplateHttpTokensState | string;
1244
+ HttpTokens?: LaunchTemplateHttpTokensState;
1247
1245
  HttpPutResponseHopLimit?: number;
1248
- HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState | string;
1249
- HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | string;
1250
- InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | string;
1246
+ HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState;
1247
+ HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6;
1248
+ InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState;
1251
1249
  }
1252
1250
  export interface LaunchTemplatesMonitoringRequest {
1253
1251
  Enabled?: boolean;
@@ -1292,19 +1290,19 @@ export interface LaunchTemplatePlacementRequest {
1292
1290
  Affinity?: string;
1293
1291
  GroupName?: string;
1294
1292
  HostId?: string;
1295
- Tenancy?: Tenancy | string;
1293
+ Tenancy?: Tenancy;
1296
1294
  SpreadDomain?: string;
1297
1295
  HostResourceGroupArn?: string;
1298
1296
  PartitionNumber?: number;
1299
1297
  GroupId?: string;
1300
1298
  }
1301
1299
  export interface LaunchTemplatePrivateDnsNameOptionsRequest {
1302
- HostnameType?: HostnameType | string;
1300
+ HostnameType?: HostnameType;
1303
1301
  EnableResourceNameDnsARecord?: boolean;
1304
1302
  EnableResourceNameDnsAAAARecord?: boolean;
1305
1303
  }
1306
1304
  export interface LaunchTemplateTagSpecificationRequest {
1307
- ResourceType?: ResourceType | string;
1305
+ ResourceType?: ResourceType;
1308
1306
  Tags?: Tag[];
1309
1307
  }
1310
1308
  export interface RequestLaunchTemplateData {
@@ -1314,13 +1312,13 @@ export interface RequestLaunchTemplateData {
1314
1312
  BlockDeviceMappings?: LaunchTemplateBlockDeviceMappingRequest[];
1315
1313
  NetworkInterfaces?: LaunchTemplateInstanceNetworkInterfaceSpecificationRequest[];
1316
1314
  ImageId?: string;
1317
- InstanceType?: _InstanceType | string;
1315
+ InstanceType?: _InstanceType;
1318
1316
  KeyName?: string;
1319
1317
  Monitoring?: LaunchTemplatesMonitoringRequest;
1320
1318
  Placement?: LaunchTemplatePlacementRequest;
1321
1319
  RamDiskId?: string;
1322
1320
  DisableApiTermination?: boolean;
1323
- InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string;
1321
+ InstanceInitiatedShutdownBehavior?: ShutdownBehavior;
1324
1322
  UserData?: string;
1325
1323
  TagSpecifications?: LaunchTemplateTagSpecificationRequest[];
1326
1324
  ElasticGpuSpecifications?: ElasticGpuSpecification[];
@@ -1385,7 +1383,7 @@ export interface LaunchTemplateEbsBlockDevice {
1385
1383
  KmsKeyId?: string;
1386
1384
  SnapshotId?: string;
1387
1385
  VolumeSize?: number;
1388
- VolumeType?: VolumeType | string;
1386
+ VolumeType?: VolumeType;
1389
1387
  Throughput?: number;
1390
1388
  }
1391
1389
  export interface LaunchTemplateBlockDeviceMapping {
@@ -1399,13 +1397,13 @@ export interface CapacityReservationTargetResponse {
1399
1397
  CapacityReservationResourceGroupArn?: string;
1400
1398
  }
1401
1399
  export interface LaunchTemplateCapacityReservationSpecificationResponse {
1402
- CapacityReservationPreference?: CapacityReservationPreference | string;
1400
+ CapacityReservationPreference?: CapacityReservationPreference;
1403
1401
  CapacityReservationTarget?: CapacityReservationTargetResponse;
1404
1402
  }
1405
1403
  export interface LaunchTemplateCpuOptions {
1406
1404
  CoreCount?: number;
1407
1405
  ThreadsPerCore?: number;
1408
- AmdSevSnp?: AmdSevSnpSpecification | string;
1406
+ AmdSevSnp?: AmdSevSnpSpecification;
1409
1407
  }
1410
1408
  export interface CreditSpecification {
1411
1409
  CpuCredits?: string;
@@ -1429,20 +1427,20 @@ export interface LaunchTemplateIamInstanceProfileSpecification {
1429
1427
  }
1430
1428
  export interface LaunchTemplateSpotMarketOptions {
1431
1429
  MaxPrice?: string;
1432
- SpotInstanceType?: SpotInstanceType | string;
1430
+ SpotInstanceType?: SpotInstanceType;
1433
1431
  BlockDurationMinutes?: number;
1434
1432
  ValidUntil?: Date;
1435
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
1433
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
1436
1434
  }
1437
1435
  export interface LaunchTemplateInstanceMarketOptions {
1438
- MarketType?: MarketType | string;
1436
+ MarketType?: MarketType;
1439
1437
  SpotOptions?: LaunchTemplateSpotMarketOptions;
1440
1438
  }
1441
1439
  export interface LaunchTemplateLicenseConfiguration {
1442
1440
  LicenseConfigurationArn?: string;
1443
1441
  }
1444
1442
  export interface LaunchTemplateInstanceMaintenanceOptions {
1445
- AutoRecovery?: LaunchTemplateAutoRecoveryState | string;
1443
+ AutoRecovery?: LaunchTemplateAutoRecoveryState;
1446
1444
  }
1447
1445
  export declare const LaunchTemplateInstanceMetadataOptionsState: {
1448
1446
  readonly applied: "applied";
@@ -1451,12 +1449,12 @@ export declare const LaunchTemplateInstanceMetadataOptionsState: {
1451
1449
  export type LaunchTemplateInstanceMetadataOptionsState =
1452
1450
  (typeof LaunchTemplateInstanceMetadataOptionsState)[keyof typeof LaunchTemplateInstanceMetadataOptionsState];
1453
1451
  export interface LaunchTemplateInstanceMetadataOptions {
1454
- State?: LaunchTemplateInstanceMetadataOptionsState | string;
1455
- HttpTokens?: LaunchTemplateHttpTokensState | string;
1452
+ State?: LaunchTemplateInstanceMetadataOptionsState;
1453
+ HttpTokens?: LaunchTemplateHttpTokensState;
1456
1454
  HttpPutResponseHopLimit?: number;
1457
- HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState | string;
1458
- HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | string;
1459
- InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | string;
1455
+ HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState;
1456
+ HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6;
1457
+ InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState;
1460
1458
  }
1461
1459
  export interface LaunchTemplatesMonitoring {
1462
1460
  Enabled?: boolean;
@@ -1498,19 +1496,19 @@ export interface LaunchTemplatePlacement {
1498
1496
  Affinity?: string;
1499
1497
  GroupName?: string;
1500
1498
  HostId?: string;
1501
- Tenancy?: Tenancy | string;
1499
+ Tenancy?: Tenancy;
1502
1500
  SpreadDomain?: string;
1503
1501
  HostResourceGroupArn?: string;
1504
1502
  PartitionNumber?: number;
1505
1503
  GroupId?: string;
1506
1504
  }
1507
1505
  export interface LaunchTemplatePrivateDnsNameOptions {
1508
- HostnameType?: HostnameType | string;
1506
+ HostnameType?: HostnameType;
1509
1507
  EnableResourceNameDnsARecord?: boolean;
1510
1508
  EnableResourceNameDnsAAAARecord?: boolean;
1511
1509
  }
1512
1510
  export interface LaunchTemplateTagSpecification {
1513
- ResourceType?: ResourceType | string;
1511
+ ResourceType?: ResourceType;
1514
1512
  Tags?: Tag[];
1515
1513
  }
1516
1514
  export interface ResponseLaunchTemplateData {
@@ -1520,13 +1518,13 @@ export interface ResponseLaunchTemplateData {
1520
1518
  BlockDeviceMappings?: LaunchTemplateBlockDeviceMapping[];
1521
1519
  NetworkInterfaces?: LaunchTemplateInstanceNetworkInterfaceSpecification[];
1522
1520
  ImageId?: string;
1523
- InstanceType?: _InstanceType | string;
1521
+ InstanceType?: _InstanceType;
1524
1522
  KeyName?: string;
1525
1523
  Monitoring?: LaunchTemplatesMonitoring;
1526
1524
  Placement?: LaunchTemplatePlacement;
1527
1525
  RamDiskId?: string;
1528
1526
  DisableApiTermination?: boolean;
1529
- InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string;
1527
+ InstanceInitiatedShutdownBehavior?: ShutdownBehavior;
1530
1528
  UserData?: string;
1531
1529
  TagSpecifications?: LaunchTemplateTagSpecification[];
1532
1530
  ElasticGpuSpecifications?: ElasticGpuSpecificationResponse[];
@@ -1586,8 +1584,8 @@ export type LocalGatewayRouteType =
1586
1584
  export interface LocalGatewayRoute {
1587
1585
  DestinationCidrBlock?: string;
1588
1586
  LocalGatewayVirtualInterfaceGroupId?: string;
1589
- Type?: LocalGatewayRouteType | string;
1590
- State?: LocalGatewayRouteState | string;
1587
+ Type?: LocalGatewayRouteType;
1588
+ State?: LocalGatewayRouteState;
1591
1589
  LocalGatewayRouteTableId?: string;
1592
1590
  LocalGatewayRouteTableArn?: string;
1593
1591
  OwnerId?: string;
@@ -1607,7 +1605,7 @@ export type LocalGatewayRouteTableMode =
1607
1605
  (typeof LocalGatewayRouteTableMode)[keyof typeof LocalGatewayRouteTableMode];
1608
1606
  export interface CreateLocalGatewayRouteTableRequest {
1609
1607
  LocalGatewayId: string | undefined;
1610
- Mode?: LocalGatewayRouteTableMode | string;
1608
+ Mode?: LocalGatewayRouteTableMode;
1611
1609
  TagSpecifications?: TagSpecification[];
1612
1610
  DryRun?: boolean;
1613
1611
  }
@@ -1623,7 +1621,7 @@ export interface LocalGatewayRouteTable {
1623
1621
  OwnerId?: string;
1624
1622
  State?: string;
1625
1623
  Tags?: Tag[];
1626
- Mode?: LocalGatewayRouteTableMode | string;
1624
+ Mode?: LocalGatewayRouteTableMode;
1627
1625
  StateReason?: StateReason;
1628
1626
  }
1629
1627
  export interface CreateLocalGatewayRouteTableResult {
@@ -1695,7 +1693,7 @@ export type PrefixListState =
1695
1693
  export interface ManagedPrefixList {
1696
1694
  PrefixListId?: string;
1697
1695
  AddressFamily?: string;
1698
- State?: PrefixListState | string;
1696
+ State?: PrefixListState;
1699
1697
  StateMessage?: string;
1700
1698
  PrefixListArn?: string;
1701
1699
  PrefixListName?: string;
@@ -1719,7 +1717,7 @@ export interface CreateNatGatewayRequest {
1719
1717
  DryRun?: boolean;
1720
1718
  SubnetId: string | undefined;
1721
1719
  TagSpecifications?: TagSpecification[];
1722
- ConnectivityType?: ConnectivityType | string;
1720
+ ConnectivityType?: ConnectivityType;
1723
1721
  PrivateIpAddress?: string;
1724
1722
  SecondaryAllocationIds?: string[];
1725
1723
  SecondaryPrivateIpAddresses?: string[];
@@ -1749,11 +1747,11 @@ export interface NatGateway {
1749
1747
  NatGatewayAddresses?: NatGatewayAddress[];
1750
1748
  NatGatewayId?: string;
1751
1749
  ProvisionedBandwidth?: ProvisionedBandwidth;
1752
- State?: NatGatewayState | string;
1750
+ State?: NatGatewayState;
1753
1751
  SubnetId?: string;
1754
1752
  VpcId?: string;
1755
1753
  Tags?: Tag[];
1756
- ConnectivityType?: ConnectivityType | string;
1754
+ ConnectivityType?: ConnectivityType;
1757
1755
  }
1758
1756
  export interface CreateNatGatewayResult {
1759
1757
  ClientToken?: string;
@@ -1785,7 +1783,7 @@ export interface NetworkAclEntry {
1785
1783
  Ipv6CidrBlock?: string;
1786
1784
  PortRange?: PortRange;
1787
1785
  Protocol?: string;
1788
- RuleAction?: RuleAction | string;
1786
+ RuleAction?: RuleAction;
1789
1787
  RuleNumber?: number;
1790
1788
  }
1791
1789
  export interface NetworkAcl {
@@ -1809,7 +1807,7 @@ export interface CreateNetworkAclEntryRequest {
1809
1807
  NetworkAclId: string | undefined;
1810
1808
  PortRange?: PortRange;
1811
1809
  Protocol: string | undefined;
1812
- RuleAction: RuleAction | string | undefined;
1810
+ RuleAction: RuleAction | undefined;
1813
1811
  RuleNumber: number | undefined;
1814
1812
  }
1815
1813
  export interface CreateNetworkInsightsAccessScopeRequest {
@@ -1850,7 +1848,7 @@ export interface CreateNetworkInsightsPathRequest {
1850
1848
  DestinationIp?: string;
1851
1849
  Source: string | undefined;
1852
1850
  Destination?: string;
1853
- Protocol: Protocol | string | undefined;
1851
+ Protocol: Protocol | undefined;
1854
1852
  DestinationPort?: number;
1855
1853
  TagSpecifications?: TagSpecification[];
1856
1854
  DryRun?: boolean;
@@ -1878,7 +1876,7 @@ export interface NetworkInsightsPath {
1878
1876
  DestinationArn?: string;
1879
1877
  SourceIp?: string;
1880
1878
  DestinationIp?: string;
1881
- Protocol?: Protocol | string;
1879
+ Protocol?: Protocol;
1882
1880
  DestinationPort?: number;
1883
1881
  Tags?: Tag[];
1884
1882
  FilterAtSource?: PathFilter;
@@ -1907,7 +1905,7 @@ export interface CreateNetworkInterfaceRequest {
1907
1905
  Ipv4PrefixCount?: number;
1908
1906
  Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
1909
1907
  Ipv6PrefixCount?: number;
1910
- InterfaceType?: NetworkInterfaceCreationType | string;
1908
+ InterfaceType?: NetworkInterfaceCreationType;
1911
1909
  SubnetId: string | undefined;
1912
1910
  TagSpecifications?: TagSpecification[];
1913
1911
  ClientToken?: string;
@@ -1937,7 +1935,7 @@ export interface NetworkInterfaceAttachment {
1937
1935
  NetworkCardIndex?: number;
1938
1936
  InstanceId?: string;
1939
1937
  InstanceOwnerId?: string;
1940
- Status?: AttachmentStatus | string;
1938
+ Status?: AttachmentStatus;
1941
1939
  EnaSrdSpecification?: AttachmentEnaSrdSpecification;
1942
1940
  }
1943
1941
  export interface GroupIdentifier {
@@ -1993,7 +1991,7 @@ export interface NetworkInterface {
1993
1991
  AvailabilityZone?: string;
1994
1992
  Description?: string;
1995
1993
  Groups?: GroupIdentifier[];
1996
- InterfaceType?: NetworkInterfaceType | string;
1994
+ InterfaceType?: NetworkInterfaceType;
1997
1995
  Ipv6Addresses?: NetworkInterfaceIpv6Address[];
1998
1996
  MacAddress?: string;
1999
1997
  NetworkInterfaceId?: string;
@@ -2007,7 +2005,7 @@ export interface NetworkInterface {
2007
2005
  RequesterId?: string;
2008
2006
  RequesterManaged?: boolean;
2009
2007
  SourceDestCheck?: boolean;
2010
- Status?: NetworkInterfaceStatus | string;
2008
+ Status?: NetworkInterfaceStatus;
2011
2009
  SubnetId?: string;
2012
2010
  TagSet?: Tag[];
2013
2011
  VpcId?: string;
@@ -2029,7 +2027,7 @@ export interface CreateNetworkInterfacePermissionRequest {
2029
2027
  NetworkInterfaceId: string | undefined;
2030
2028
  AwsAccountId?: string;
2031
2029
  AwsService?: string;
2032
- Permission: InterfacePermissionType | string | undefined;
2030
+ Permission: InterfacePermissionType | undefined;
2033
2031
  DryRun?: boolean;
2034
2032
  }
2035
2033
  export declare const NetworkInterfacePermissionStateCode: {
@@ -2041,7 +2039,7 @@ export declare const NetworkInterfacePermissionStateCode: {
2041
2039
  export type NetworkInterfacePermissionStateCode =
2042
2040
  (typeof NetworkInterfacePermissionStateCode)[keyof typeof NetworkInterfacePermissionStateCode];
2043
2041
  export interface NetworkInterfacePermissionState {
2044
- State?: NetworkInterfacePermissionStateCode | string;
2042
+ State?: NetworkInterfacePermissionStateCode;
2045
2043
  StatusMessage?: string;
2046
2044
  }
2047
2045
  export interface NetworkInterfacePermission {
@@ -2049,7 +2047,7 @@ export interface NetworkInterfacePermission {
2049
2047
  NetworkInterfaceId?: string;
2050
2048
  AwsAccountId?: string;
2051
2049
  AwsService?: string;
2052
- Permission?: InterfacePermissionType | string;
2050
+ Permission?: InterfacePermissionType;
2053
2051
  PermissionState?: NetworkInterfacePermissionState;
2054
2052
  }
2055
2053
  export interface CreateNetworkInterfacePermissionResult {
@@ -2070,10 +2068,10 @@ export type PlacementStrategy =
2070
2068
  export interface CreatePlacementGroupRequest {
2071
2069
  DryRun?: boolean;
2072
2070
  GroupName?: string;
2073
- Strategy?: PlacementStrategy | string;
2071
+ Strategy?: PlacementStrategy;
2074
2072
  PartitionCount?: number;
2075
2073
  TagSpecifications?: TagSpecification[];
2076
- SpreadLevel?: SpreadLevel | string;
2074
+ SpreadLevel?: SpreadLevel;
2077
2075
  }
2078
2076
  export declare const PlacementGroupState: {
2079
2077
  readonly available: "available";
@@ -2085,13 +2083,13 @@ export type PlacementGroupState =
2085
2083
  (typeof PlacementGroupState)[keyof typeof PlacementGroupState];
2086
2084
  export interface PlacementGroup {
2087
2085
  GroupName?: string;
2088
- State?: PlacementGroupState | string;
2089
- Strategy?: PlacementStrategy | string;
2086
+ State?: PlacementGroupState;
2087
+ Strategy?: PlacementStrategy;
2090
2088
  PartitionCount?: number;
2091
2089
  GroupId?: string;
2092
2090
  Tags?: Tag[];
2093
2091
  GroupArn?: string;
2094
- SpreadLevel?: SpreadLevel | string;
2092
+ SpreadLevel?: SpreadLevel;
2095
2093
  }
2096
2094
  export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
2097
2095
  export declare const RequestLaunchTemplateDataFilterSensitiveLog: (