@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
@@ -25,6 +25,7 @@ import {
25
25
  RouteTableAssociationState,
26
26
  Tag,
27
27
  TagSpecification,
28
+ TransitGatewayAttachmentResourceType,
28
29
  TransitGatewayMulticastDomainAssociations,
29
30
  TransitGatewayPeeringAttachment,
30
31
  TransitGatewayVpcAttachment,
@@ -56,7 +57,6 @@ import {
56
57
  LaunchTemplate,
57
58
  LocalGatewayRoute,
58
59
  ManagedPrefixList,
59
- MarketType,
60
60
  Placement,
61
61
  PlatformValues,
62
62
  RequestIpamResourceTag,
@@ -146,10 +146,30 @@ import {
146
146
  InstanceFamilyCreditSpecification,
147
147
  IpamResourceCidr,
148
148
  Purchase,
149
+ TransitGatewayPropagationState,
149
150
  UnlimitedSupportedInstanceFamily,
150
151
  VerifiedAccessInstanceLoggingConfiguration,
151
152
  VolumeModification,
152
153
  } from "./models_5";
154
+ export interface TransitGatewayRouteTablePropagation {
155
+ TransitGatewayAttachmentId?: string;
156
+ ResourceId?: string;
157
+ ResourceType?: TransitGatewayAttachmentResourceType;
158
+ State?: TransitGatewayPropagationState;
159
+ TransitGatewayRouteTableAnnouncementId?: string;
160
+ }
161
+ export interface GetTransitGatewayRouteTablePropagationsResult {
162
+ TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[];
163
+ NextToken?: string;
164
+ }
165
+ export interface GetVerifiedAccessEndpointPolicyRequest {
166
+ VerifiedAccessEndpointId: string | undefined;
167
+ DryRun?: boolean;
168
+ }
169
+ export interface GetVerifiedAccessEndpointPolicyResult {
170
+ PolicyEnabled?: boolean;
171
+ PolicyDocument?: string;
172
+ }
153
173
  export interface GetVerifiedAccessGroupPolicyRequest {
154
174
  VerifiedAccessGroupId: string | undefined;
155
175
  DryRun?: boolean;
@@ -245,7 +265,7 @@ export interface ImportImageRequest {
245
265
  LicenseSpecifications?: ImportImageLicenseConfigurationRequest[];
246
266
  TagSpecifications?: TagSpecification[];
247
267
  UsageOperation?: string;
248
- BootMode?: BootModeValues | string;
268
+ BootMode?: BootModeValues;
249
269
  }
250
270
  export interface ImportImageResult {
251
271
  Architecture?: string;
@@ -267,7 +287,7 @@ export interface ImportImageResult {
267
287
  }
268
288
  export interface DiskImageDetail {
269
289
  Bytes: number | undefined;
270
- Format: DiskImageFormat | string | undefined;
290
+ Format: DiskImageFormat | undefined;
271
291
  ImportManifestUrl: string | undefined;
272
292
  }
273
293
  export interface VolumeDetail {
@@ -283,11 +303,11 @@ export interface UserData {
283
303
  }
284
304
  export interface ImportInstanceLaunchSpecification {
285
305
  AdditionalInfo?: string;
286
- Architecture?: ArchitectureValues | string;
306
+ Architecture?: ArchitectureValues;
287
307
  GroupIds?: string[];
288
308
  GroupNames?: string[];
289
- InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string;
290
- InstanceType?: _InstanceType | string;
309
+ InstanceInitiatedShutdownBehavior?: ShutdownBehavior;
310
+ InstanceType?: _InstanceType;
291
311
  Monitoring?: boolean;
292
312
  Placement?: Placement;
293
313
  PrivateIpAddress?: string;
@@ -299,7 +319,7 @@ export interface ImportInstanceRequest {
299
319
  DiskImages?: DiskImage[];
300
320
  DryRun?: boolean;
301
321
  LaunchSpecification?: ImportInstanceLaunchSpecification;
302
- Platform: PlatformValues | string | undefined;
322
+ Platform: PlatformValues | undefined;
303
323
  }
304
324
  export interface ImportInstanceResult {
305
325
  ConversionTask?: ConversionTask;
@@ -399,7 +419,7 @@ export type ModifyAvailabilityZoneOptInStatus =
399
419
  (typeof ModifyAvailabilityZoneOptInStatus)[keyof typeof ModifyAvailabilityZoneOptInStatus];
400
420
  export interface ModifyAvailabilityZoneGroupRequest {
401
421
  GroupName: string | undefined;
402
- OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined;
422
+ OptInStatus: ModifyAvailabilityZoneOptInStatus | undefined;
403
423
  DryRun?: boolean;
404
424
  }
405
425
  export interface ModifyAvailabilityZoneGroupResult {
@@ -409,7 +429,7 @@ export interface ModifyCapacityReservationRequest {
409
429
  CapacityReservationId: string | undefined;
410
430
  InstanceCount?: number;
411
431
  EndDate?: Date;
412
- EndDateType?: EndDateType | string;
432
+ EndDateType?: EndDateType;
413
433
  Accept?: boolean;
414
434
  DryRun?: boolean;
415
435
  AdditionalInfo?: string;
@@ -442,7 +462,7 @@ export interface ModifyClientVpnEndpointRequest {
442
462
  DryRun?: boolean;
443
463
  SecurityGroupIds?: string[];
444
464
  VpcId?: string;
445
- SelfServicePortal?: SelfServicePortal | string;
465
+ SelfServicePortal?: SelfServicePortal;
446
466
  ClientConnectOptions?: ClientConnectOptions;
447
467
  SessionTimeoutHours?: number;
448
468
  ClientLoginBannerOptions?: ClientLoginBannerOptions;
@@ -452,7 +472,7 @@ export interface ModifyClientVpnEndpointResult {
452
472
  }
453
473
  export interface ModifyDefaultCreditSpecificationRequest {
454
474
  DryRun?: boolean;
455
- InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined;
475
+ InstanceFamily: UnlimitedSupportedInstanceFamily | undefined;
456
476
  CpuCredits: string | undefined;
457
477
  }
458
478
  export interface ModifyDefaultCreditSpecificationResult {
@@ -467,9 +487,7 @@ export interface ModifyEbsDefaultKmsKeyIdResult {
467
487
  }
468
488
  export interface ModifyFleetRequest {
469
489
  DryRun?: boolean;
470
- ExcessCapacityTerminationPolicy?:
471
- | FleetExcessCapacityTerminationPolicy
472
- | string;
490
+ ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy;
473
491
  LaunchTemplateConfigs?: FleetLaunchTemplateConfigRequest[];
474
492
  FleetId: string | undefined;
475
493
  TargetCapacitySpecification?: TargetCapacitySpecificationRequest;
@@ -479,7 +497,7 @@ export interface ModifyFleetResult {
479
497
  Return?: boolean;
480
498
  }
481
499
  export interface LoadPermissionRequest {
482
- Group?: PermissionGroup | string;
500
+ Group?: PermissionGroup;
483
501
  UserId?: string;
484
502
  }
485
503
  export interface LoadPermissionModifications {
@@ -494,8 +512,8 @@ export type OperationType = (typeof OperationType)[keyof typeof OperationType];
494
512
  export interface ModifyFpgaImageAttributeRequest {
495
513
  DryRun?: boolean;
496
514
  FpgaImageId: string | undefined;
497
- Attribute?: FpgaImageAttributeName | string;
498
- OperationType?: OperationType | string;
515
+ Attribute?: FpgaImageAttributeName;
516
+ OperationType?: OperationType;
499
517
  UserIds?: string[];
500
518
  UserGroups?: string[];
501
519
  ProductCodes?: string[];
@@ -507,12 +525,12 @@ export interface ModifyFpgaImageAttributeResult {
507
525
  FpgaImageAttribute?: FpgaImageAttribute;
508
526
  }
509
527
  export interface ModifyHostsRequest {
510
- AutoPlacement?: AutoPlacement | string;
528
+ AutoPlacement?: AutoPlacement;
511
529
  HostIds: string[] | undefined;
512
- HostRecovery?: HostRecovery | string;
530
+ HostRecovery?: HostRecovery;
513
531
  InstanceType?: string;
514
532
  InstanceFamily?: string;
515
- HostMaintenance?: HostMaintenance | string;
533
+ HostMaintenance?: HostMaintenance;
516
534
  }
517
535
  export interface ModifyHostsResult {
518
536
  Successful?: string[];
@@ -536,7 +554,7 @@ export interface ModifyImageAttributeRequest {
536
554
  Description?: AttributeValue;
537
555
  ImageId: string | undefined;
538
556
  LaunchPermission?: LaunchPermissionModifications;
539
- OperationType?: OperationType | string;
557
+ OperationType?: OperationType;
540
558
  ProductCodes?: string[];
541
559
  UserGroups?: string[];
542
560
  UserIds?: string[];
@@ -561,7 +579,7 @@ export interface BlobAttributeValue {
561
579
  }
562
580
  export interface ModifyInstanceAttributeRequest {
563
581
  SourceDestCheck?: AttributeBooleanValue;
564
- Attribute?: InstanceAttributeName | string;
582
+ Attribute?: InstanceAttributeName;
565
583
  BlockDeviceMappings?: InstanceBlockDeviceMappingSpecification[];
566
584
  DisableApiTermination?: AttributeBooleanValue;
567
585
  DryRun?: boolean;
@@ -579,7 +597,7 @@ export interface ModifyInstanceAttributeRequest {
579
597
  DisableApiStop?: AttributeBooleanValue;
580
598
  }
581
599
  export interface CapacityReservationSpecification {
582
- CapacityReservationPreference?: CapacityReservationPreference | string;
600
+ CapacityReservationPreference?: CapacityReservationPreference;
583
601
  CapacityReservationTarget?: CapacityReservationTarget;
584
602
  }
585
603
  export interface ModifyInstanceCapacityReservationAttributesRequest {
@@ -615,7 +633,7 @@ export declare const UnsuccessfulInstanceCreditSpecificationErrorCode: {
615
633
  export type UnsuccessfulInstanceCreditSpecificationErrorCode =
616
634
  (typeof UnsuccessfulInstanceCreditSpecificationErrorCode)[keyof typeof UnsuccessfulInstanceCreditSpecificationErrorCode];
617
635
  export interface UnsuccessfulInstanceCreditSpecificationItemError {
618
- Code?: UnsuccessfulInstanceCreditSpecificationErrorCode | string;
636
+ Code?: UnsuccessfulInstanceCreditSpecificationErrorCode;
619
637
  Message?: string;
620
638
  }
621
639
  export interface UnsuccessfulInstanceCreditSpecificationItem {
@@ -647,21 +665,21 @@ export interface ModifyInstanceEventWindowResult {
647
665
  }
648
666
  export interface ModifyInstanceMaintenanceOptionsRequest {
649
667
  InstanceId: string | undefined;
650
- AutoRecovery?: InstanceAutoRecoveryState | string;
668
+ AutoRecovery?: InstanceAutoRecoveryState;
651
669
  DryRun?: boolean;
652
670
  }
653
671
  export interface ModifyInstanceMaintenanceOptionsResult {
654
672
  InstanceId?: string;
655
- AutoRecovery?: InstanceAutoRecoveryState | string;
673
+ AutoRecovery?: InstanceAutoRecoveryState;
656
674
  }
657
675
  export interface ModifyInstanceMetadataOptionsRequest {
658
676
  InstanceId: string | undefined;
659
- HttpTokens?: HttpTokensState | string;
677
+ HttpTokens?: HttpTokensState;
660
678
  HttpPutResponseHopLimit?: number;
661
- HttpEndpoint?: InstanceMetadataEndpointState | string;
679
+ HttpEndpoint?: InstanceMetadataEndpointState;
662
680
  DryRun?: boolean;
663
- HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
664
- InstanceMetadataTags?: InstanceMetadataTagsState | string;
681
+ HttpProtocolIpv6?: InstanceMetadataProtocolState;
682
+ InstanceMetadataTags?: InstanceMetadataTagsState;
665
683
  }
666
684
  export interface ModifyInstanceMetadataOptionsResult {
667
685
  InstanceId?: string;
@@ -673,11 +691,11 @@ export declare const HostTenancy: {
673
691
  };
674
692
  export type HostTenancy = (typeof HostTenancy)[keyof typeof HostTenancy];
675
693
  export interface ModifyInstancePlacementRequest {
676
- Affinity?: Affinity | string;
694
+ Affinity?: Affinity;
677
695
  GroupName?: string;
678
696
  HostId?: string;
679
697
  InstanceId: string | undefined;
680
- Tenancy?: HostTenancy | string;
698
+ Tenancy?: HostTenancy;
681
699
  PartitionNumber?: number;
682
700
  HostResourceGroupArn?: string;
683
701
  GroupId?: string;
@@ -796,7 +814,7 @@ export interface ModifyNetworkInterfaceAttributeRequest {
796
814
  export interface ModifyPrivateDnsNameOptionsRequest {
797
815
  DryRun?: boolean;
798
816
  InstanceId: string | undefined;
799
- PrivateDnsHostnameType?: HostnameType | string;
817
+ PrivateDnsHostnameType?: HostnameType;
800
818
  EnableResourceNameDnsARecord?: boolean;
801
819
  EnableResourceNameDnsAAAARecord?: boolean;
802
820
  }
@@ -838,10 +856,10 @@ export interface CreateVolumePermissionModifications {
838
856
  Remove?: CreateVolumePermission[];
839
857
  }
840
858
  export interface ModifySnapshotAttributeRequest {
841
- Attribute?: SnapshotAttributeName | string;
859
+ Attribute?: SnapshotAttributeName;
842
860
  CreateVolumePermission?: CreateVolumePermissionModifications;
843
861
  GroupNames?: string[];
844
- OperationType?: OperationType | string;
862
+ OperationType?: OperationType;
845
863
  SnapshotId: string | undefined;
846
864
  UserIds?: string[];
847
865
  DryRun?: boolean;
@@ -853,7 +871,7 @@ export type TargetStorageTier =
853
871
  (typeof TargetStorageTier)[keyof typeof TargetStorageTier];
854
872
  export interface ModifySnapshotTierRequest {
855
873
  SnapshotId: string | undefined;
856
- StorageTier?: TargetStorageTier | string;
874
+ StorageTier?: TargetStorageTier;
857
875
  DryRun?: boolean;
858
876
  }
859
877
  export interface ModifySnapshotTierResult {
@@ -861,7 +879,7 @@ export interface ModifySnapshotTierResult {
861
879
  TieringStartTime?: Date;
862
880
  }
863
881
  export interface ModifySpotFleetRequestRequest {
864
- ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string;
882
+ ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy;
865
883
  LaunchTemplateConfigs?: LaunchTemplateConfig[];
866
884
  SpotFleetRequestId: string | undefined;
867
885
  TargetCapacity?: number;
@@ -878,7 +896,7 @@ export interface ModifySubnetAttributeRequest {
878
896
  MapCustomerOwnedIpOnLaunch?: AttributeBooleanValue;
879
897
  CustomerOwnedIpv4Pool?: string;
880
898
  EnableDns64?: AttributeBooleanValue;
881
- PrivateDnsHostnameTypeOnLaunch?: HostnameType | string;
899
+ PrivateDnsHostnameTypeOnLaunch?: HostnameType;
882
900
  EnableResourceNameDnsARecordOnLaunch?: AttributeBooleanValue;
883
901
  EnableResourceNameDnsAAAARecordOnLaunch?: AttributeBooleanValue;
884
902
  EnableLniAtDeviceIndex?: number;
@@ -886,8 +904,8 @@ export interface ModifySubnetAttributeRequest {
886
904
  }
887
905
  export interface ModifyTrafficMirrorFilterNetworkServicesRequest {
888
906
  TrafficMirrorFilterId: string | undefined;
889
- AddNetworkServices?: (TrafficMirrorNetworkService | string)[];
890
- RemoveNetworkServices?: (TrafficMirrorNetworkService | string)[];
907
+ AddNetworkServices?: TrafficMirrorNetworkService[];
908
+ RemoveNetworkServices?: TrafficMirrorNetworkService[];
891
909
  DryRun?: boolean;
892
910
  }
893
911
  export interface ModifyTrafficMirrorFilterNetworkServicesResult {
@@ -903,16 +921,16 @@ export type TrafficMirrorFilterRuleField =
903
921
  (typeof TrafficMirrorFilterRuleField)[keyof typeof TrafficMirrorFilterRuleField];
904
922
  export interface ModifyTrafficMirrorFilterRuleRequest {
905
923
  TrafficMirrorFilterRuleId: string | undefined;
906
- TrafficDirection?: TrafficDirection | string;
924
+ TrafficDirection?: TrafficDirection;
907
925
  RuleNumber?: number;
908
- RuleAction?: TrafficMirrorRuleAction | string;
926
+ RuleAction?: TrafficMirrorRuleAction;
909
927
  DestinationPortRange?: TrafficMirrorPortRangeRequest;
910
928
  SourcePortRange?: TrafficMirrorPortRangeRequest;
911
929
  Protocol?: number;
912
930
  DestinationCidrBlock?: string;
913
931
  SourceCidrBlock?: string;
914
932
  Description?: string;
915
- RemoveFields?: (TrafficMirrorFilterRuleField | string)[];
933
+ RemoveFields?: TrafficMirrorFilterRuleField[];
916
934
  DryRun?: boolean;
917
935
  }
918
936
  export interface ModifyTrafficMirrorFilterRuleResult {
@@ -933,7 +951,7 @@ export interface ModifyTrafficMirrorSessionRequest {
933
951
  SessionNumber?: number;
934
952
  VirtualNetworkId?: number;
935
953
  Description?: string;
936
- RemoveFields?: (TrafficMirrorSessionField | string)[];
954
+ RemoveFields?: TrafficMirrorSessionField[];
937
955
  DryRun?: boolean;
938
956
  }
939
957
  export interface ModifyTrafficMirrorSessionResult {
@@ -942,12 +960,12 @@ export interface ModifyTrafficMirrorSessionResult {
942
960
  export interface ModifyTransitGatewayOptions {
943
961
  AddTransitGatewayCidrBlocks?: string[];
944
962
  RemoveTransitGatewayCidrBlocks?: string[];
945
- VpnEcmpSupport?: VpnEcmpSupportValue | string;
946
- DnsSupport?: DnsSupportValue | string;
947
- AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | string;
948
- DefaultRouteTableAssociation?: DefaultRouteTableAssociationValue | string;
963
+ VpnEcmpSupport?: VpnEcmpSupportValue;
964
+ DnsSupport?: DnsSupportValue;
965
+ AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue;
966
+ DefaultRouteTableAssociation?: DefaultRouteTableAssociationValue;
949
967
  AssociationDefaultRouteTableId?: string;
950
- DefaultRouteTablePropagation?: DefaultRouteTablePropagationValue | string;
968
+ DefaultRouteTablePropagation?: DefaultRouteTablePropagationValue;
951
969
  PropagationDefaultRouteTableId?: string;
952
970
  AmazonSideAsn?: number;
953
971
  }
@@ -971,9 +989,9 @@ export interface ModifyTransitGatewayPrefixListReferenceResult {
971
989
  TransitGatewayPrefixListReference?: TransitGatewayPrefixListReference;
972
990
  }
973
991
  export interface ModifyTransitGatewayVpcAttachmentRequestOptions {
974
- DnsSupport?: DnsSupportValue | string;
975
- Ipv6Support?: Ipv6SupportValue | string;
976
- ApplianceModeSupport?: ApplianceModeSupportValue | string;
992
+ DnsSupport?: DnsSupportValue;
993
+ Ipv6Support?: Ipv6SupportValue;
994
+ ApplianceModeSupport?: ApplianceModeSupportValue;
977
995
  }
978
996
  export interface ModifyTransitGatewayVpcAttachmentRequest {
979
997
  TransitGatewayAttachmentId: string | undefined;
@@ -987,11 +1005,11 @@ export interface ModifyTransitGatewayVpcAttachmentResult {
987
1005
  }
988
1006
  export interface ModifyVerifiedAccessEndpointLoadBalancerOptions {
989
1007
  SubnetIds?: string[];
990
- Protocol?: VerifiedAccessEndpointProtocol | string;
1008
+ Protocol?: VerifiedAccessEndpointProtocol;
991
1009
  Port?: number;
992
1010
  }
993
1011
  export interface ModifyVerifiedAccessEndpointEniOptions {
994
- Protocol?: VerifiedAccessEndpointProtocol | string;
1012
+ Protocol?: VerifiedAccessEndpointProtocol;
995
1013
  Port?: number;
996
1014
  }
997
1015
  export interface ModifyVerifiedAccessEndpointRequest {
@@ -1105,7 +1123,7 @@ export interface ModifyVolumeRequest {
1105
1123
  DryRun?: boolean;
1106
1124
  VolumeId: string | undefined;
1107
1125
  Size?: number;
1108
- VolumeType?: VolumeType | string;
1126
+ VolumeType?: VolumeType;
1109
1127
  Iops?: number;
1110
1128
  Throughput?: number;
1111
1129
  MultiAttachEnabled?: boolean;
@@ -1135,7 +1153,7 @@ export interface ModifyVpcEndpointRequest {
1135
1153
  RemoveSubnetIds?: string[];
1136
1154
  AddSecurityGroupIds?: string[];
1137
1155
  RemoveSecurityGroupIds?: string[];
1138
- IpAddressType?: IpAddressType | string;
1156
+ IpAddressType?: IpAddressType;
1139
1157
  DnsOptions?: DnsOptionsSpecification;
1140
1158
  PrivateDnsEnabled?: boolean;
1141
1159
  SubnetConfigurations?: SubnetConfiguration[];
@@ -1171,7 +1189,7 @@ export interface ModifyVpcEndpointServiceConfigurationResult {
1171
1189
  export interface ModifyVpcEndpointServicePayerResponsibilityRequest {
1172
1190
  DryRun?: boolean;
1173
1191
  ServiceId: string | undefined;
1174
- PayerResponsibility: PayerResponsibility | string | undefined;
1192
+ PayerResponsibility: PayerResponsibility | undefined;
1175
1193
  }
1176
1194
  export interface ModifyVpcEndpointServicePayerResponsibilityResult {
1177
1195
  ReturnValue?: boolean;
@@ -1212,7 +1230,7 @@ export declare const VpcTenancy: {
1212
1230
  export type VpcTenancy = (typeof VpcTenancy)[keyof typeof VpcTenancy];
1213
1231
  export interface ModifyVpcTenancyRequest {
1214
1232
  VpcId: string | undefined;
1215
- InstanceTenancy: VpcTenancy | string | undefined;
1233
+ InstanceTenancy: VpcTenancy | undefined;
1216
1234
  DryRun?: boolean;
1217
1235
  }
1218
1236
  export interface ModifyVpcTenancyResult {
@@ -1302,7 +1320,7 @@ export declare const Status: {
1302
1320
  export type Status = (typeof Status)[keyof typeof Status];
1303
1321
  export interface MoveAddressToVpcResult {
1304
1322
  AllocationId?: string;
1305
- Status?: Status | string;
1323
+ Status?: Status;
1306
1324
  }
1307
1325
  export interface MoveByoipCidrToIpamRequest {
1308
1326
  DryRun?: boolean;
@@ -1356,7 +1374,7 @@ export interface ProvisionPublicIpv4PoolCidrResult {
1356
1374
  }
1357
1375
  export interface PurchaseHostReservationRequest {
1358
1376
  ClientToken?: string;
1359
- CurrencyCode?: CurrencyCodeValues | string;
1377
+ CurrencyCode?: CurrencyCodeValues;
1360
1378
  HostIdSet: string[] | undefined;
1361
1379
  LimitPrice?: string;
1362
1380
  OfferingId: string | undefined;
@@ -1364,14 +1382,14 @@ export interface PurchaseHostReservationRequest {
1364
1382
  }
1365
1383
  export interface PurchaseHostReservationResult {
1366
1384
  ClientToken?: string;
1367
- CurrencyCode?: CurrencyCodeValues | string;
1385
+ CurrencyCode?: CurrencyCodeValues;
1368
1386
  Purchase?: Purchase[];
1369
1387
  TotalHourlyPrice?: string;
1370
1388
  TotalUpfrontPrice?: string;
1371
1389
  }
1372
1390
  export interface ReservedInstanceLimitPrice {
1373
1391
  Amount?: number;
1374
- CurrencyCode?: CurrencyCodeValues | string;
1392
+ CurrencyCode?: CurrencyCodeValues;
1375
1393
  }
1376
1394
  export interface PurchaseReservedInstancesOfferingRequest {
1377
1395
  InstanceCount: number | undefined;
@@ -1401,7 +1419,7 @@ export interface RebootInstancesRequest {
1401
1419
  }
1402
1420
  export interface RegisterImageRequest {
1403
1421
  ImageLocation?: string;
1404
- Architecture?: ArchitectureValues | string;
1422
+ Architecture?: ArchitectureValues;
1405
1423
  BlockDeviceMappings?: BlockDeviceMapping[];
1406
1424
  Description?: string;
1407
1425
  DryRun?: boolean;
@@ -1413,10 +1431,10 @@ export interface RegisterImageRequest {
1413
1431
  RootDeviceName?: string;
1414
1432
  SriovNetSupport?: string;
1415
1433
  VirtualizationType?: string;
1416
- BootMode?: BootModeValues | string;
1417
- TpmSupport?: TpmSupportValues | string;
1434
+ BootMode?: BootModeValues;
1435
+ TpmSupport?: TpmSupportValues;
1418
1436
  UefiData?: string;
1419
- ImdsSupport?: ImdsSupportValues | string;
1437
+ ImdsSupport?: ImdsSupportValues;
1420
1438
  }
1421
1439
  export interface RegisterImageResult {
1422
1440
  ImageId?: string;
@@ -1544,7 +1562,7 @@ export interface ReplaceNetworkAclEntryRequest {
1544
1562
  NetworkAclId: string | undefined;
1545
1563
  PortRange?: PortRange;
1546
1564
  Protocol: string | undefined;
1547
- RuleAction: RuleAction | string | undefined;
1565
+ RuleAction: RuleAction | undefined;
1548
1566
  RuleNumber: number | undefined;
1549
1567
  }
1550
1568
  export interface ReplaceRouteRequest {
@@ -1618,9 +1636,9 @@ export interface ReportInstanceStatusRequest {
1618
1636
  DryRun?: boolean;
1619
1637
  EndTime?: Date;
1620
1638
  Instances: string[] | undefined;
1621
- ReasonCodes: (ReportInstanceReasonCodes | string)[] | undefined;
1639
+ ReasonCodes: ReportInstanceReasonCodes[] | undefined;
1622
1640
  StartTime?: Date;
1623
- Status: ReportStatusType | string | undefined;
1641
+ Status: ReportStatusType | undefined;
1624
1642
  }
1625
1643
  export interface RequestSpotFleetRequest {
1626
1644
  DryRun?: boolean;
@@ -1637,7 +1655,7 @@ export interface RequestSpotLaunchSpecification {
1637
1655
  EbsOptimized?: boolean;
1638
1656
  IamInstanceProfile?: IamInstanceProfileSpecification;
1639
1657
  ImageId?: string;
1640
- InstanceType?: _InstanceType | string;
1658
+ InstanceType?: _InstanceType;
1641
1659
  KernelId?: string;
1642
1660
  KeyName?: string;
1643
1661
  Monitoring?: RunInstancesMonitoringEnabled;
@@ -1656,18 +1674,18 @@ export interface RequestSpotInstancesRequest {
1656
1674
  LaunchGroup?: string;
1657
1675
  LaunchSpecification?: RequestSpotLaunchSpecification;
1658
1676
  SpotPrice?: string;
1659
- Type?: SpotInstanceType | string;
1677
+ Type?: SpotInstanceType;
1660
1678
  ValidFrom?: Date;
1661
1679
  ValidUntil?: Date;
1662
1680
  TagSpecifications?: TagSpecification[];
1663
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
1681
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
1664
1682
  }
1665
1683
  export interface RequestSpotInstancesResult {
1666
1684
  SpotInstanceRequests?: SpotInstanceRequest[];
1667
1685
  }
1668
1686
  export interface ResetAddressAttributeRequest {
1669
1687
  AllocationId: string | undefined;
1670
- Attribute: AddressAttributeName | string | undefined;
1688
+ Attribute: AddressAttributeName | undefined;
1671
1689
  DryRun?: boolean;
1672
1690
  }
1673
1691
  export interface ResetAddressAttributeResult {
@@ -1687,7 +1705,7 @@ export type ResetFpgaImageAttributeName =
1687
1705
  export interface ResetFpgaImageAttributeRequest {
1688
1706
  DryRun?: boolean;
1689
1707
  FpgaImageId: string | undefined;
1690
- Attribute?: ResetFpgaImageAttributeName | string;
1708
+ Attribute?: ResetFpgaImageAttributeName;
1691
1709
  }
1692
1710
  export interface ResetFpgaImageAttributeResult {
1693
1711
  Return?: boolean;
@@ -1698,12 +1716,12 @@ export declare const ResetImageAttributeName: {
1698
1716
  export type ResetImageAttributeName =
1699
1717
  (typeof ResetImageAttributeName)[keyof typeof ResetImageAttributeName];
1700
1718
  export interface ResetImageAttributeRequest {
1701
- Attribute: ResetImageAttributeName | string | undefined;
1719
+ Attribute: ResetImageAttributeName | undefined;
1702
1720
  ImageId: string | undefined;
1703
1721
  DryRun?: boolean;
1704
1722
  }
1705
1723
  export interface ResetInstanceAttributeRequest {
1706
- Attribute: InstanceAttributeName | string | undefined;
1724
+ Attribute: InstanceAttributeName | undefined;
1707
1725
  DryRun?: boolean;
1708
1726
  InstanceId: string | undefined;
1709
1727
  }
@@ -1713,7 +1731,7 @@ export interface ResetNetworkInterfaceAttributeRequest {
1713
1731
  SourceDestCheck?: string;
1714
1732
  }
1715
1733
  export interface ResetSnapshotAttributeRequest {
1716
- Attribute: SnapshotAttributeName | string | undefined;
1734
+ Attribute: SnapshotAttributeName | undefined;
1717
1735
  SnapshotId: string | undefined;
1718
1736
  DryRun?: boolean;
1719
1737
  }
@@ -1723,7 +1741,7 @@ export interface RestoreAddressToClassicRequest {
1723
1741
  }
1724
1742
  export interface RestoreAddressToClassicResult {
1725
1743
  PublicIp?: string;
1726
- Status?: Status | string;
1744
+ Status?: Status;
1727
1745
  }
1728
1746
  export interface RestoreImageFromRecycleBinRequest {
1729
1747
  ImageId: string | undefined;
@@ -1753,10 +1771,10 @@ export interface RestoreSnapshotFromRecycleBinResult {
1753
1771
  OwnerId?: string;
1754
1772
  Progress?: string;
1755
1773
  StartTime?: Date;
1756
- State?: SnapshotState | string;
1774
+ State?: SnapshotState;
1757
1775
  VolumeId?: string;
1758
1776
  VolumeSize?: number;
1759
- SseType?: SSEType | string;
1777
+ SseType?: SSEType;
1760
1778
  }
1761
1779
  export interface RestoreSnapshotTierRequest {
1762
1780
  SnapshotId: string | undefined;
@@ -1816,29 +1834,12 @@ export interface RevokeSecurityGroupIngressResult {
1816
1834
  export interface CpuOptionsRequest {
1817
1835
  CoreCount?: number;
1818
1836
  ThreadsPerCore?: number;
1819
- AmdSevSnp?: AmdSevSnpSpecification | string;
1837
+ AmdSevSnp?: AmdSevSnpSpecification;
1820
1838
  }
1821
1839
  export interface ElasticInferenceAccelerator {
1822
1840
  Type: string | undefined;
1823
1841
  Count?: number;
1824
1842
  }
1825
- export interface EnclaveOptionsRequest {
1826
- Enabled?: boolean;
1827
- }
1828
- export interface HibernationOptionsRequest {
1829
- Configured?: boolean;
1830
- }
1831
- export interface SpotMarketOptions {
1832
- MaxPrice?: string;
1833
- SpotInstanceType?: SpotInstanceType | string;
1834
- BlockDurationMinutes?: number;
1835
- ValidUntil?: Date;
1836
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
1837
- }
1838
- export interface InstanceMarketOptionsRequest {
1839
- MarketType?: MarketType | string;
1840
- SpotOptions?: SpotMarketOptions;
1841
- }
1842
1843
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1843
1844
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1844
1845
  ) => any;