@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
@@ -137,7 +137,7 @@ export declare const InstanceAutoRecoveryState: {
137
137
  export type InstanceAutoRecoveryState =
138
138
  (typeof InstanceAutoRecoveryState)[keyof typeof InstanceAutoRecoveryState];
139
139
  export interface InstanceMaintenanceOptions {
140
- AutoRecovery?: InstanceAutoRecoveryState | string;
140
+ AutoRecovery?: InstanceAutoRecoveryState;
141
141
  }
142
142
  export declare const InstanceMetadataEndpointState: {
143
143
  readonly disabled: "disabled";
@@ -170,12 +170,12 @@ export declare const InstanceMetadataOptionsState: {
170
170
  export type InstanceMetadataOptionsState =
171
171
  (typeof InstanceMetadataOptionsState)[keyof typeof InstanceMetadataOptionsState];
172
172
  export interface InstanceMetadataOptionsResponse {
173
- State?: InstanceMetadataOptionsState | string;
174
- HttpTokens?: HttpTokensState | string;
173
+ State?: InstanceMetadataOptionsState;
174
+ HttpTokens?: HttpTokensState;
175
175
  HttpPutResponseHopLimit?: number;
176
- HttpEndpoint?: InstanceMetadataEndpointState | string;
177
- HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
178
- InstanceMetadataTags?: InstanceMetadataTagsState | string;
176
+ HttpEndpoint?: InstanceMetadataEndpointState;
177
+ HttpProtocolIpv6?: InstanceMetadataProtocolState;
178
+ InstanceMetadataTags?: InstanceMetadataTagsState;
179
179
  }
180
180
  export declare const MonitoringState: {
181
181
  readonly disabled: "disabled";
@@ -186,7 +186,7 @@ export declare const MonitoringState: {
186
186
  export type MonitoringState =
187
187
  (typeof MonitoringState)[keyof typeof MonitoringState];
188
188
  export interface Monitoring {
189
- State?: MonitoringState | string;
189
+ State?: MonitoringState;
190
190
  }
191
191
  export interface InstanceNetworkInterfaceAssociation {
192
192
  CarrierIp?: string;
@@ -200,7 +200,7 @@ export interface InstanceNetworkInterfaceAttachment {
200
200
  AttachmentId?: string;
201
201
  DeleteOnTermination?: boolean;
202
202
  DeviceIndex?: number;
203
- Status?: AttachmentStatus | string;
203
+ Status?: AttachmentStatus;
204
204
  NetworkCardIndex?: number;
205
205
  }
206
206
  export interface InstanceIpv4Prefix {
@@ -228,7 +228,7 @@ export interface InstanceNetworkInterface {
228
228
  PrivateIpAddress?: string;
229
229
  PrivateIpAddresses?: InstancePrivateIpAddress[];
230
230
  SourceDestCheck?: boolean;
231
- Status?: NetworkInterfaceStatus | string;
231
+ Status?: NetworkInterfaceStatus;
232
232
  SubnetId?: string;
233
233
  VpcId?: string;
234
234
  InterfaceType?: string;
@@ -236,7 +236,7 @@ export interface InstanceNetworkInterface {
236
236
  Ipv6Prefixes?: InstanceIpv6Prefix[];
237
237
  }
238
238
  export interface PrivateDnsNameOptionsResponse {
239
- HostnameType?: HostnameType | string;
239
+ HostnameType?: HostnameType;
240
240
  EnableResourceNameDnsARecord?: boolean;
241
241
  EnableResourceNameDnsAAAARecord?: boolean;
242
242
  }
@@ -252,19 +252,19 @@ export type InstanceStateName =
252
252
  (typeof InstanceStateName)[keyof typeof InstanceStateName];
253
253
  export interface InstanceState {
254
254
  Code?: number;
255
- Name?: InstanceStateName | string;
255
+ Name?: InstanceStateName;
256
256
  }
257
257
  export interface Instance {
258
258
  AmiLaunchIndex?: number;
259
259
  ImageId?: string;
260
260
  InstanceId?: string;
261
- InstanceType?: _InstanceType | string;
261
+ InstanceType?: _InstanceType;
262
262
  KernelId?: string;
263
263
  KeyName?: string;
264
264
  LaunchTime?: Date;
265
265
  Monitoring?: Monitoring;
266
266
  Placement?: Placement;
267
- Platform?: PlatformValues | string;
267
+ Platform?: PlatformValues;
268
268
  PrivateDnsName?: string;
269
269
  PrivateIpAddress?: string;
270
270
  ProductCodes?: ProductCode[];
@@ -275,27 +275,27 @@ export interface Instance {
275
275
  StateTransitionReason?: string;
276
276
  SubnetId?: string;
277
277
  VpcId?: string;
278
- Architecture?: ArchitectureValues | string;
278
+ Architecture?: ArchitectureValues;
279
279
  BlockDeviceMappings?: InstanceBlockDeviceMapping[];
280
280
  ClientToken?: string;
281
281
  EbsOptimized?: boolean;
282
282
  EnaSupport?: boolean;
283
- Hypervisor?: HypervisorType | string;
283
+ Hypervisor?: HypervisorType;
284
284
  IamInstanceProfile?: IamInstanceProfile;
285
- InstanceLifecycle?: InstanceLifecycleType | string;
285
+ InstanceLifecycle?: InstanceLifecycleType;
286
286
  ElasticGpuAssociations?: ElasticGpuAssociation[];
287
287
  ElasticInferenceAcceleratorAssociations?: ElasticInferenceAcceleratorAssociation[];
288
288
  NetworkInterfaces?: InstanceNetworkInterface[];
289
289
  OutpostArn?: string;
290
290
  RootDeviceName?: string;
291
- RootDeviceType?: DeviceType | string;
291
+ RootDeviceType?: DeviceType;
292
292
  SecurityGroups?: GroupIdentifier[];
293
293
  SourceDestCheck?: boolean;
294
294
  SpotInstanceRequestId?: string;
295
295
  SriovNetSupport?: string;
296
296
  StateReason?: StateReason;
297
297
  Tags?: Tag[];
298
- VirtualizationType?: VirtualizationType | string;
298
+ VirtualizationType?: VirtualizationType;
299
299
  CpuOptions?: CpuOptions;
300
300
  CapacityReservationId?: string;
301
301
  CapacityReservationSpecification?: CapacityReservationSpecificationResponse;
@@ -303,7 +303,7 @@ export interface Instance {
303
303
  Licenses?: LicenseConfiguration[];
304
304
  MetadataOptions?: InstanceMetadataOptionsResponse;
305
305
  EnclaveOptions?: EnclaveOptions;
306
- BootMode?: BootModeValues | string;
306
+ BootMode?: BootModeValues;
307
307
  PlatformDetails?: string;
308
308
  UsageOperation?: string;
309
309
  UsageOperationUpdateTime?: Date;
@@ -311,7 +311,7 @@ export interface Instance {
311
311
  Ipv6Address?: string;
312
312
  TpmSupport?: string;
313
313
  MaintenanceOptions?: InstanceMaintenanceOptions;
314
- CurrentInstanceBootMode?: InstanceBootModeValues | string;
314
+ CurrentInstanceBootMode?: InstanceBootModeValues;
315
315
  }
316
316
  export interface Reservation {
317
317
  Groups?: GroupIdentifier[];
@@ -342,7 +342,7 @@ export declare const EventCode: {
342
342
  export type EventCode = (typeof EventCode)[keyof typeof EventCode];
343
343
  export interface InstanceStatusEvent {
344
344
  InstanceEventId?: string;
345
- Code?: EventCode | string;
345
+ Code?: EventCode;
346
346
  Description?: string;
347
347
  NotAfter?: Date;
348
348
  NotBefore?: Date;
@@ -361,8 +361,8 @@ export declare const StatusType: {
361
361
  export type StatusType = (typeof StatusType)[keyof typeof StatusType];
362
362
  export interface InstanceStatusDetails {
363
363
  ImpairedSince?: Date;
364
- Name?: StatusName | string;
365
- Status?: StatusType | string;
364
+ Name?: StatusName;
365
+ Status?: StatusType;
366
366
  }
367
367
  export declare const SummaryStatus: {
368
368
  readonly impaired: "impaired";
@@ -374,7 +374,7 @@ export declare const SummaryStatus: {
374
374
  export type SummaryStatus = (typeof SummaryStatus)[keyof typeof SummaryStatus];
375
375
  export interface InstanceStatusSummary {
376
376
  Details?: InstanceStatusDetails[];
377
- Status?: SummaryStatus | string;
377
+ Status?: SummaryStatus;
378
378
  }
379
379
  export interface InstanceStatus {
380
380
  AvailabilityZone?: string;
@@ -398,14 +398,14 @@ export declare const LocationType: {
398
398
  export type LocationType = (typeof LocationType)[keyof typeof LocationType];
399
399
  export interface DescribeInstanceTypeOfferingsRequest {
400
400
  DryRun?: boolean;
401
- LocationType?: LocationType | string;
401
+ LocationType?: LocationType;
402
402
  Filters?: Filter[];
403
403
  MaxResults?: number;
404
404
  NextToken?: string;
405
405
  }
406
406
  export interface InstanceTypeOffering {
407
- InstanceType?: _InstanceType | string;
408
- LocationType?: LocationType | string;
407
+ InstanceType?: _InstanceType;
408
+ LocationType?: LocationType;
409
409
  Location?: string;
410
410
  }
411
411
  export interface DescribeInstanceTypeOfferingsResult {
@@ -414,7 +414,7 @@ export interface DescribeInstanceTypeOfferingsResult {
414
414
  }
415
415
  export interface DescribeInstanceTypesRequest {
416
416
  DryRun?: boolean;
417
- InstanceTypes?: (_InstanceType | string)[];
417
+ InstanceTypes?: _InstanceType[];
418
418
  Filters?: Filter[];
419
419
  MaxResults?: number;
420
420
  NextToken?: string;
@@ -448,10 +448,10 @@ export declare const EbsNvmeSupport: {
448
448
  export type EbsNvmeSupport =
449
449
  (typeof EbsNvmeSupport)[keyof typeof EbsNvmeSupport];
450
450
  export interface EbsInfo {
451
- EbsOptimizedSupport?: EbsOptimizedSupport | string;
452
- EncryptionSupport?: EbsEncryptionSupport | string;
451
+ EbsOptimizedSupport?: EbsOptimizedSupport;
452
+ EncryptionSupport?: EbsEncryptionSupport;
453
453
  EbsOptimizedInfo?: EbsOptimizedInfo;
454
- NvmeSupport?: EbsNvmeSupport | string;
454
+ NvmeSupport?: EbsNvmeSupport;
455
455
  }
456
456
  export interface FpgaDeviceMemoryInfo {
457
457
  SizeInMiB?: number;
@@ -506,7 +506,7 @@ export type DiskType = (typeof DiskType)[keyof typeof DiskType];
506
506
  export interface DiskInfo {
507
507
  SizeInGB?: number;
508
508
  Count?: number;
509
- Type?: DiskType | string;
509
+ Type?: DiskType;
510
510
  }
511
511
  export declare const InstanceStorageEncryptionSupport: {
512
512
  readonly required: "required";
@@ -524,8 +524,8 @@ export type EphemeralNvmeSupport =
524
524
  export interface InstanceStorageInfo {
525
525
  TotalSizeInGB?: number;
526
526
  Disks?: DiskInfo[];
527
- NvmeSupport?: EphemeralNvmeSupport | string;
528
- EncryptionSupport?: InstanceStorageEncryptionSupport | string;
527
+ NvmeSupport?: EphemeralNvmeSupport;
528
+ EncryptionSupport?: InstanceStorageEncryptionSupport;
529
529
  }
530
530
  export interface MemoryInfo {
531
531
  SizeInMiB?: number;
@@ -555,7 +555,7 @@ export interface NetworkInfo {
555
555
  Ipv4AddressesPerInterface?: number;
556
556
  Ipv6AddressesPerInterface?: number;
557
557
  Ipv6Supported?: boolean;
558
- EnaSupport?: EnaSupport | string;
558
+ EnaSupport?: EnaSupport;
559
559
  EfaSupported?: boolean;
560
560
  EfaInfo?: EfaInfo;
561
561
  EncryptionInTransitSupported?: boolean;
@@ -584,7 +584,7 @@ export declare const PlacementGroupStrategy: {
584
584
  export type PlacementGroupStrategy =
585
585
  (typeof PlacementGroupStrategy)[keyof typeof PlacementGroupStrategy];
586
586
  export interface PlacementGroupInfo {
587
- SupportedStrategies?: (PlacementGroupStrategy | string)[];
587
+ SupportedStrategies?: PlacementGroupStrategy[];
588
588
  }
589
589
  export declare const ArchitectureType: {
590
590
  readonly arm64: "arm64";
@@ -601,9 +601,9 @@ export declare const SupportedAdditionalProcessorFeature: {
601
601
  export type SupportedAdditionalProcessorFeature =
602
602
  (typeof SupportedAdditionalProcessorFeature)[keyof typeof SupportedAdditionalProcessorFeature];
603
603
  export interface ProcessorInfo {
604
- SupportedArchitectures?: (ArchitectureType | string)[];
604
+ SupportedArchitectures?: ArchitectureType[];
605
605
  SustainedClockSpeedInGhz?: number;
606
- SupportedFeatures?: (SupportedAdditionalProcessorFeature | string)[];
606
+ SupportedFeatures?: SupportedAdditionalProcessorFeature[];
607
607
  }
608
608
  export declare const BootModeType: {
609
609
  readonly legacy_bios: "legacy-bios";
@@ -630,14 +630,14 @@ export interface VCpuInfo {
630
630
  ValidThreadsPerCore?: number[];
631
631
  }
632
632
  export interface InstanceTypeInfo {
633
- InstanceType?: _InstanceType | string;
633
+ InstanceType?: _InstanceType;
634
634
  CurrentGeneration?: boolean;
635
635
  FreeTierEligible?: boolean;
636
- SupportedUsageClasses?: (UsageClassType | string)[];
637
- SupportedRootDeviceTypes?: (RootDeviceType | string)[];
638
- SupportedVirtualizationTypes?: (VirtualizationType | string)[];
636
+ SupportedUsageClasses?: UsageClassType[];
637
+ SupportedRootDeviceTypes?: RootDeviceType[];
638
+ SupportedVirtualizationTypes?: VirtualizationType[];
639
639
  BareMetal?: boolean;
640
- Hypervisor?: InstanceTypeHypervisor | string;
640
+ Hypervisor?: InstanceTypeHypervisor;
641
641
  ProcessorInfo?: ProcessorInfo;
642
642
  VCpuInfo?: VCpuInfo;
643
643
  MemoryInfo?: MemoryInfo;
@@ -653,9 +653,9 @@ export interface InstanceTypeInfo {
653
653
  BurstablePerformanceSupported?: boolean;
654
654
  DedicatedHostsSupported?: boolean;
655
655
  AutoRecoverySupported?: boolean;
656
- SupportedBootModes?: (BootModeType | string)[];
657
- NitroEnclavesSupport?: NitroEnclavesSupport | string;
658
- NitroTpmSupport?: NitroTpmSupport | string;
656
+ SupportedBootModes?: BootModeType[];
657
+ NitroEnclavesSupport?: NitroEnclavesSupport;
658
+ NitroTpmSupport?: NitroTpmSupport;
659
659
  NitroTpmInfo?: NitroTpmInfo;
660
660
  }
661
661
  export interface DescribeInstanceTypesResult {
@@ -759,7 +759,7 @@ export interface KeyPairInfo {
759
759
  KeyPairId?: string;
760
760
  KeyFingerprint?: string;
761
761
  KeyName?: string;
762
- KeyType?: KeyType | string;
762
+ KeyType?: KeyType;
763
763
  Tags?: Tag[];
764
764
  PublicKey?: string;
765
765
  CreateTime?: Date;
@@ -910,7 +910,7 @@ export declare const MoveStatus: {
910
910
  };
911
911
  export type MoveStatus = (typeof MoveStatus)[keyof typeof MoveStatus];
912
912
  export interface MovingAddressStatus {
913
- MoveStatus?: MoveStatus | string;
913
+ MoveStatus?: MoveStatus;
914
914
  PublicIp?: string;
915
915
  }
916
916
  export interface DescribeMovingAddressesResult {
@@ -966,12 +966,12 @@ export interface NetworkInsightsAccessScopeAnalysis {
966
966
  NetworkInsightsAccessScopeAnalysisId?: string;
967
967
  NetworkInsightsAccessScopeAnalysisArn?: string;
968
968
  NetworkInsightsAccessScopeId?: string;
969
- Status?: AnalysisStatus | string;
969
+ Status?: AnalysisStatus;
970
970
  StatusMessage?: string;
971
971
  WarningMessage?: string;
972
972
  StartDate?: Date;
973
973
  EndDate?: Date;
974
- FindingsFound?: FindingsFound | string;
974
+ FindingsFound?: FindingsFound;
975
975
  AnalyzedEniCount?: number;
976
976
  Tags?: Tag[];
977
977
  }
@@ -1007,7 +1007,7 @@ export interface NetworkInsightsAnalysis {
1007
1007
  AdditionalAccounts?: string[];
1008
1008
  FilterInArns?: string[];
1009
1009
  StartDate?: Date;
1010
- Status?: AnalysisStatus | string;
1010
+ Status?: AnalysisStatus;
1011
1011
  StatusMessage?: string;
1012
1012
  WarningMessage?: string;
1013
1013
  NetworkPathFound?: boolean;
@@ -1042,7 +1042,7 @@ export declare const NetworkInterfaceAttribute: {
1042
1042
  export type NetworkInterfaceAttribute =
1043
1043
  (typeof NetworkInterfaceAttribute)[keyof typeof NetworkInterfaceAttribute];
1044
1044
  export interface DescribeNetworkInterfaceAttributeRequest {
1045
- Attribute?: NetworkInterfaceAttribute | string;
1045
+ Attribute?: NetworkInterfaceAttribute;
1046
1046
  DryRun?: boolean;
1047
1047
  NetworkInterfaceId: string | undefined;
1048
1048
  }
@@ -1181,10 +1181,10 @@ export type OfferingTypeValues =
1181
1181
  (typeof OfferingTypeValues)[keyof typeof OfferingTypeValues];
1182
1182
  export interface DescribeReservedInstancesRequest {
1183
1183
  Filters?: Filter[];
1184
- OfferingClass?: OfferingClassType | string;
1184
+ OfferingClass?: OfferingClassType;
1185
1185
  ReservedInstancesIds?: string[];
1186
1186
  DryRun?: boolean;
1187
- OfferingType?: OfferingTypeValues | string;
1187
+ OfferingType?: OfferingTypeValues;
1188
1188
  }
1189
1189
  export declare const RIProductDescription: {
1190
1190
  readonly Linux_UNIX: "Linux/UNIX";
@@ -1201,7 +1201,7 @@ export type RecurringChargeFrequency =
1201
1201
  (typeof RecurringChargeFrequency)[keyof typeof RecurringChargeFrequency];
1202
1202
  export interface RecurringCharge {
1203
1203
  Amount?: number;
1204
- Frequency?: RecurringChargeFrequency | string;
1204
+ Frequency?: RecurringChargeFrequency;
1205
1205
  }
1206
1206
  export declare const Scope: {
1207
1207
  readonly AVAILABILITY_ZONE: "Availability Zone";
@@ -1224,18 +1224,18 @@ export interface ReservedInstances {
1224
1224
  End?: Date;
1225
1225
  FixedPrice?: number;
1226
1226
  InstanceCount?: number;
1227
- InstanceType?: _InstanceType | string;
1228
- ProductDescription?: RIProductDescription | string;
1227
+ InstanceType?: _InstanceType;
1228
+ ProductDescription?: RIProductDescription;
1229
1229
  ReservedInstancesId?: string;
1230
1230
  Start?: Date;
1231
- State?: ReservedInstanceState | string;
1231
+ State?: ReservedInstanceState;
1232
1232
  UsagePrice?: number;
1233
- CurrencyCode?: CurrencyCodeValues | string;
1234
- InstanceTenancy?: Tenancy | string;
1235
- OfferingClass?: OfferingClassType | string;
1236
- OfferingType?: OfferingTypeValues | string;
1233
+ CurrencyCode?: CurrencyCodeValues;
1234
+ InstanceTenancy?: Tenancy;
1235
+ OfferingClass?: OfferingClassType;
1236
+ OfferingType?: OfferingTypeValues;
1237
1237
  RecurringCharges?: RecurringCharge[];
1238
- Scope?: Scope | string;
1238
+ Scope?: Scope;
1239
1239
  Tags?: Tag[];
1240
1240
  }
1241
1241
  export interface DescribeReservedInstancesResult {
@@ -1257,9 +1257,9 @@ export interface DescribeReservedInstancesModificationsRequest {
1257
1257
  export interface ReservedInstancesConfiguration {
1258
1258
  AvailabilityZone?: string;
1259
1259
  InstanceCount?: number;
1260
- InstanceType?: _InstanceType | string;
1260
+ InstanceType?: _InstanceType;
1261
1261
  Platform?: string;
1262
- Scope?: Scope | string;
1262
+ Scope?: Scope;
1263
1263
  }
1264
1264
  export interface ReservedInstancesModificationResult {
1265
1265
  ReservedInstancesId?: string;
@@ -1287,18 +1287,18 @@ export interface DescribeReservedInstancesOfferingsRequest {
1287
1287
  AvailabilityZone?: string;
1288
1288
  Filters?: Filter[];
1289
1289
  IncludeMarketplace?: boolean;
1290
- InstanceType?: _InstanceType | string;
1290
+ InstanceType?: _InstanceType;
1291
1291
  MaxDuration?: number;
1292
1292
  MaxInstanceCount?: number;
1293
1293
  MinDuration?: number;
1294
- OfferingClass?: OfferingClassType | string;
1295
- ProductDescription?: RIProductDescription | string;
1294
+ OfferingClass?: OfferingClassType;
1295
+ ProductDescription?: RIProductDescription;
1296
1296
  ReservedInstancesOfferingIds?: string[];
1297
1297
  DryRun?: boolean;
1298
- InstanceTenancy?: Tenancy | string;
1298
+ InstanceTenancy?: Tenancy;
1299
1299
  MaxResults?: number;
1300
1300
  NextToken?: string;
1301
- OfferingType?: OfferingTypeValues | string;
1301
+ OfferingType?: OfferingTypeValues;
1302
1302
  }
1303
1303
  export interface PricingDetail {
1304
1304
  Count?: number;
@@ -1308,18 +1308,18 @@ export interface ReservedInstancesOffering {
1308
1308
  AvailabilityZone?: string;
1309
1309
  Duration?: number;
1310
1310
  FixedPrice?: number;
1311
- InstanceType?: _InstanceType | string;
1312
- ProductDescription?: RIProductDescription | string;
1311
+ InstanceType?: _InstanceType;
1312
+ ProductDescription?: RIProductDescription;
1313
1313
  ReservedInstancesOfferingId?: string;
1314
1314
  UsagePrice?: number;
1315
- CurrencyCode?: CurrencyCodeValues | string;
1316
- InstanceTenancy?: Tenancy | string;
1315
+ CurrencyCode?: CurrencyCodeValues;
1316
+ InstanceTenancy?: Tenancy;
1317
1317
  Marketplace?: boolean;
1318
- OfferingClass?: OfferingClassType | string;
1319
- OfferingType?: OfferingTypeValues | string;
1318
+ OfferingClass?: OfferingClassType;
1319
+ OfferingType?: OfferingTypeValues;
1320
1320
  PricingDetails?: PricingDetail[];
1321
1321
  RecurringCharges?: RecurringCharge[];
1322
- Scope?: Scope | string;
1322
+ Scope?: Scope;
1323
1323
  }
1324
1324
  export interface DescribeReservedInstancesOfferingsResult {
1325
1325
  ReservedInstancesOfferings?: ReservedInstancesOffering[];
@@ -1468,12 +1468,12 @@ export declare const SnapshotAttributeName: {
1468
1468
  export type SnapshotAttributeName =
1469
1469
  (typeof SnapshotAttributeName)[keyof typeof SnapshotAttributeName];
1470
1470
  export interface DescribeSnapshotAttributeRequest {
1471
- Attribute: SnapshotAttributeName | string | undefined;
1471
+ Attribute: SnapshotAttributeName | undefined;
1472
1472
  SnapshotId: string | undefined;
1473
1473
  DryRun?: boolean;
1474
1474
  }
1475
1475
  export interface CreateVolumePermission {
1476
- Group?: PermissionGroup | string;
1476
+ Group?: PermissionGroup;
1477
1477
  UserId?: string;
1478
1478
  }
1479
1479
  export interface DescribeSnapshotAttributeResult {
@@ -1516,13 +1516,13 @@ export type TieringOperationStatus =
1516
1516
  export interface SnapshotTierStatus {
1517
1517
  SnapshotId?: string;
1518
1518
  VolumeId?: string;
1519
- Status?: SnapshotState | string;
1519
+ Status?: SnapshotState;
1520
1520
  OwnerId?: string;
1521
1521
  Tags?: Tag[];
1522
- StorageTier?: StorageTier | string;
1522
+ StorageTier?: StorageTier;
1523
1523
  LastTieringStartTime?: Date;
1524
1524
  LastTieringProgress?: number;
1525
- LastTieringOperationStatus?: TieringOperationStatus | string;
1525
+ LastTieringOperationStatus?: TieringOperationStatus;
1526
1526
  LastTieringOperationStatusDetail?: string;
1527
1527
  ArchivalCompleteTime?: Date;
1528
1528
  RestoreExpiryTime?: Date;
@@ -1557,7 +1557,7 @@ export declare const EventType: {
1557
1557
  export type EventType = (typeof EventType)[keyof typeof EventType];
1558
1558
  export interface DescribeSpotFleetRequestHistoryRequest {
1559
1559
  DryRun?: boolean;
1560
- EventType?: EventType | string;
1560
+ EventType?: EventType;
1561
1561
  MaxResults?: number;
1562
1562
  NextToken?: string;
1563
1563
  SpotFleetRequestId: string | undefined;
@@ -1565,7 +1565,7 @@ export interface DescribeSpotFleetRequestHistoryRequest {
1565
1565
  }
1566
1566
  export interface HistoryRecord {
1567
1567
  EventInformation?: EventInformation;
1568
- EventType?: EventType | string;
1568
+ EventType?: EventType;
1569
1569
  Timestamp?: Date;
1570
1570
  }
1571
1571
  export interface DescribeSpotFleetRequestHistoryResponse {
@@ -1615,10 +1615,10 @@ export interface InstanceNetworkInterfaceSpecification {
1615
1615
  export interface SpotPlacement {
1616
1616
  AvailabilityZone?: string;
1617
1617
  GroupName?: string;
1618
- Tenancy?: Tenancy | string;
1618
+ Tenancy?: Tenancy;
1619
1619
  }
1620
1620
  export interface SpotFleetTagSpecification {
1621
- ResourceType?: ResourceType | string;
1621
+ ResourceType?: ResourceType;
1622
1622
  Tags?: Tag[];
1623
1623
  }
1624
1624
  export interface SpotFleetLaunchSpecification {
@@ -1628,7 +1628,7 @@ export interface SpotFleetLaunchSpecification {
1628
1628
  EbsOptimized?: boolean;
1629
1629
  IamInstanceProfile?: IamInstanceProfileSpecification;
1630
1630
  ImageId?: string;
1631
- InstanceType?: _InstanceType | string;
1631
+ InstanceType?: _InstanceType;
1632
1632
  KernelId?: string;
1633
1633
  KeyName?: string;
1634
1634
  Monitoring?: SpotFleetMonitoring;
@@ -1643,7 +1643,7 @@ export interface SpotFleetLaunchSpecification {
1643
1643
  InstanceRequirements?: InstanceRequirements;
1644
1644
  }
1645
1645
  export interface LaunchTemplateOverrides {
1646
- InstanceType?: _InstanceType | string;
1646
+ InstanceType?: _InstanceType;
1647
1647
  SpotPrice?: string;
1648
1648
  SubnetId?: string;
1649
1649
  AvailabilityZone?: string;
@@ -1684,18 +1684,18 @@ export declare const ReplacementStrategy: {
1684
1684
  export type ReplacementStrategy =
1685
1685
  (typeof ReplacementStrategy)[keyof typeof ReplacementStrategy];
1686
1686
  export interface SpotCapacityRebalance {
1687
- ReplacementStrategy?: ReplacementStrategy | string;
1687
+ ReplacementStrategy?: ReplacementStrategy;
1688
1688
  TerminationDelay?: number;
1689
1689
  }
1690
1690
  export interface SpotMaintenanceStrategies {
1691
1691
  CapacityRebalance?: SpotCapacityRebalance;
1692
1692
  }
1693
1693
  export interface SpotFleetRequestConfigData {
1694
- AllocationStrategy?: AllocationStrategy | string;
1695
- OnDemandAllocationStrategy?: OnDemandAllocationStrategy | string;
1694
+ AllocationStrategy?: AllocationStrategy;
1695
+ OnDemandAllocationStrategy?: OnDemandAllocationStrategy;
1696
1696
  SpotMaintenanceStrategies?: SpotMaintenanceStrategies;
1697
1697
  ClientToken?: string;
1698
- ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string;
1698
+ ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy;
1699
1699
  FulfilledCapacity?: number;
1700
1700
  OnDemandFulfilledCapacity?: number;
1701
1701
  IamFleetRole: string | undefined;
@@ -1707,23 +1707,23 @@ export interface SpotFleetRequestConfigData {
1707
1707
  OnDemandMaxTotalPrice?: string;
1708
1708
  SpotMaxTotalPrice?: string;
1709
1709
  TerminateInstancesWithExpiration?: boolean;
1710
- Type?: FleetType | string;
1710
+ Type?: FleetType;
1711
1711
  ValidFrom?: Date;
1712
1712
  ValidUntil?: Date;
1713
1713
  ReplaceUnhealthyInstances?: boolean;
1714
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
1714
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
1715
1715
  LoadBalancersConfig?: LoadBalancersConfig;
1716
1716
  InstancePoolsToUseCount?: number;
1717
1717
  Context?: string;
1718
- TargetCapacityUnitType?: TargetCapacityUnitType | string;
1718
+ TargetCapacityUnitType?: TargetCapacityUnitType;
1719
1719
  TagSpecifications?: TagSpecification[];
1720
1720
  }
1721
1721
  export interface SpotFleetRequestConfig {
1722
- ActivityStatus?: ActivityStatus | string;
1722
+ ActivityStatus?: ActivityStatus;
1723
1723
  CreateTime?: Date;
1724
1724
  SpotFleetRequestConfig?: SpotFleetRequestConfigData;
1725
1725
  SpotFleetRequestId?: string;
1726
- SpotFleetRequestState?: BatchState | string;
1726
+ SpotFleetRequestState?: BatchState;
1727
1727
  Tags?: Tag[];
1728
1728
  }
1729
1729
  export interface DescribeSpotFleetRequestsResponse {
@@ -1748,7 +1748,7 @@ export interface LaunchSpecification {
1748
1748
  EbsOptimized?: boolean;
1749
1749
  IamInstanceProfile?: IamInstanceProfileSpecification;
1750
1750
  ImageId?: string;
1751
- InstanceType?: _InstanceType | string;
1751
+ InstanceType?: _InstanceType;
1752
1752
  KernelId?: string;
1753
1753
  KeyName?: string;
1754
1754
  NetworkInterfaces?: InstanceNetworkInterfaceSpecification[];
@@ -1782,16 +1782,16 @@ export interface SpotInstanceRequest {
1782
1782
  LaunchGroup?: string;
1783
1783
  LaunchSpecification?: LaunchSpecification;
1784
1784
  LaunchedAvailabilityZone?: string;
1785
- ProductDescription?: RIProductDescription | string;
1785
+ ProductDescription?: RIProductDescription;
1786
1786
  SpotInstanceRequestId?: string;
1787
1787
  SpotPrice?: string;
1788
- State?: SpotInstanceState | string;
1788
+ State?: SpotInstanceState;
1789
1789
  Status?: SpotInstanceStatus;
1790
1790
  Tags?: Tag[];
1791
- Type?: SpotInstanceType | string;
1791
+ Type?: SpotInstanceType;
1792
1792
  ValidFrom?: Date;
1793
1793
  ValidUntil?: Date;
1794
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
1794
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
1795
1795
  }
1796
1796
  export interface DescribeSpotInstanceRequestsResult {
1797
1797
  SpotInstanceRequests?: SpotInstanceRequest[];
@@ -1802,7 +1802,7 @@ export interface DescribeSpotPriceHistoryRequest {
1802
1802
  AvailabilityZone?: string;
1803
1803
  DryRun?: boolean;
1804
1804
  EndTime?: Date;
1805
- InstanceTypes?: (_InstanceType | string)[];
1805
+ InstanceTypes?: _InstanceType[];
1806
1806
  MaxResults?: number;
1807
1807
  NextToken?: string;
1808
1808
  ProductDescriptions?: string[];
@@ -1810,8 +1810,8 @@ export interface DescribeSpotPriceHistoryRequest {
1810
1810
  }
1811
1811
  export interface SpotPrice {
1812
1812
  AvailabilityZone?: string;
1813
- InstanceType?: _InstanceType | string;
1814
- ProductDescription?: RIProductDescription | string;
1813
+ InstanceType?: _InstanceType;
1814
+ ProductDescription?: RIProductDescription;
1815
1815
  SpotPrice?: string;
1816
1816
  Timestamp?: Date;
1817
1817
  }
@@ -1885,7 +1885,7 @@ export interface DescribeTagsRequest {
1885
1885
  export interface TagDescription {
1886
1886
  Key?: string;
1887
1887
  ResourceId?: string;
1888
- ResourceType?: ResourceType | string;
1888
+ ResourceType?: ResourceType;
1889
1889
  Value?: string;
1890
1890
  }
1891
1891
  export interface DescribeTagsResult {
@@ -1934,16 +1934,16 @@ export interface DescribeTransitGatewayAttachmentsRequest {
1934
1934
  }
1935
1935
  export interface TransitGatewayAttachmentAssociation {
1936
1936
  TransitGatewayRouteTableId?: string;
1937
- State?: TransitGatewayAssociationState | string;
1937
+ State?: TransitGatewayAssociationState;
1938
1938
  }
1939
1939
  export interface TransitGatewayAttachment {
1940
1940
  TransitGatewayAttachmentId?: string;
1941
1941
  TransitGatewayId?: string;
1942
1942
  TransitGatewayOwnerId?: string;
1943
1943
  ResourceOwnerId?: string;
1944
- ResourceType?: TransitGatewayAttachmentResourceType | string;
1944
+ ResourceType?: TransitGatewayAttachmentResourceType;
1945
1945
  ResourceId?: string;
1946
- State?: TransitGatewayAttachmentState | string;
1946
+ State?: TransitGatewayAttachmentState;
1947
1947
  Association?: TransitGatewayAttachmentAssociation;
1948
1948
  CreationTime?: Date;
1949
1949
  Tags?: Tag[];