@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
@@ -136,7 +136,7 @@ export interface Tag {
136
136
  Value?: string;
137
137
  }
138
138
  export interface TagSpecification {
139
- ResourceType?: ResourceType | string;
139
+ ResourceType?: ResourceType;
140
140
  Tags?: Tag[];
141
141
  }
142
142
  export interface AcceptAddressTransferRequest {
@@ -157,7 +157,7 @@ export interface AddressTransfer {
157
157
  TransferAccountId?: string;
158
158
  TransferOfferExpirationTimestamp?: Date;
159
159
  TransferOfferAcceptedTimestamp?: Date;
160
- AddressTransferStatus?: AddressTransferStatus | string;
160
+ AddressTransferStatus?: AddressTransferStatus;
161
161
  }
162
162
  export interface AcceptAddressTransferResult {
163
163
  AddressTransfer?: AddressTransfer;
@@ -203,13 +203,13 @@ export type TransitGatewayMulitcastDomainAssociationState =
203
203
  (typeof TransitGatewayMulitcastDomainAssociationState)[keyof typeof TransitGatewayMulitcastDomainAssociationState];
204
204
  export interface SubnetAssociation {
205
205
  SubnetId?: string;
206
- State?: TransitGatewayMulitcastDomainAssociationState | string;
206
+ State?: TransitGatewayMulitcastDomainAssociationState;
207
207
  }
208
208
  export interface TransitGatewayMulticastDomainAssociations {
209
209
  TransitGatewayMulticastDomainId?: string;
210
210
  TransitGatewayAttachmentId?: string;
211
211
  ResourceId?: string;
212
- ResourceType?: TransitGatewayAttachmentResourceType | string;
212
+ ResourceType?: TransitGatewayAttachmentResourceType;
213
213
  ResourceOwnerId?: string;
214
214
  Subnets?: SubnetAssociation[];
215
215
  }
@@ -233,7 +233,7 @@ export declare const DynamicRoutingValue: {
233
233
  export type DynamicRoutingValue =
234
234
  (typeof DynamicRoutingValue)[keyof typeof DynamicRoutingValue];
235
235
  export interface TransitGatewayPeeringAttachmentOptions {
236
- DynamicRouting?: DynamicRoutingValue | string;
236
+ DynamicRouting?: DynamicRoutingValue;
237
237
  }
238
238
  export declare const TransitGatewayAttachmentState: {
239
239
  readonly available: "available";
@@ -263,7 +263,7 @@ export interface TransitGatewayPeeringAttachment {
263
263
  AccepterTgwInfo?: PeeringTgwInfo;
264
264
  Options?: TransitGatewayPeeringAttachmentOptions;
265
265
  Status?: PeeringAttachmentStatus;
266
- State?: TransitGatewayAttachmentState | string;
266
+ State?: TransitGatewayAttachmentState;
267
267
  CreationTime?: Date;
268
268
  Tags?: Tag[];
269
269
  }
@@ -293,16 +293,16 @@ export declare const Ipv6SupportValue: {
293
293
  export type Ipv6SupportValue =
294
294
  (typeof Ipv6SupportValue)[keyof typeof Ipv6SupportValue];
295
295
  export interface TransitGatewayVpcAttachmentOptions {
296
- DnsSupport?: DnsSupportValue | string;
297
- Ipv6Support?: Ipv6SupportValue | string;
298
- ApplianceModeSupport?: ApplianceModeSupportValue | string;
296
+ DnsSupport?: DnsSupportValue;
297
+ Ipv6Support?: Ipv6SupportValue;
298
+ ApplianceModeSupport?: ApplianceModeSupportValue;
299
299
  }
300
300
  export interface TransitGatewayVpcAttachment {
301
301
  TransitGatewayAttachmentId?: string;
302
302
  TransitGatewayId?: string;
303
303
  VpcId?: string;
304
304
  VpcOwnerId?: string;
305
- State?: TransitGatewayAttachmentState | string;
305
+ State?: TransitGatewayAttachmentState;
306
306
  SubnetIds?: string[];
307
307
  CreationTime?: Date;
308
308
  Options?: TransitGatewayVpcAttachmentOptions;
@@ -365,7 +365,7 @@ export declare const VpcPeeringConnectionStateReasonCode: {
365
365
  export type VpcPeeringConnectionStateReasonCode =
366
366
  (typeof VpcPeeringConnectionStateReasonCode)[keyof typeof VpcPeeringConnectionStateReasonCode];
367
367
  export interface VpcPeeringConnectionStateReason {
368
- Code?: VpcPeeringConnectionStateReasonCode | string;
368
+ Code?: VpcPeeringConnectionStateReasonCode;
369
369
  Message?: string;
370
370
  }
371
371
  export interface VpcPeeringConnection {
@@ -583,7 +583,7 @@ export interface PacketHeaderStatement {
583
583
  DestinationPorts?: string[];
584
584
  SourcePrefixLists?: string[];
585
585
  DestinationPrefixLists?: string[];
586
- Protocols?: (Protocol | string)[];
586
+ Protocols?: Protocol[];
587
587
  }
588
588
  export interface ResourceStatement {
589
589
  Resources?: string[];
@@ -608,7 +608,7 @@ export interface PacketHeaderStatementRequest {
608
608
  DestinationPorts?: string[];
609
609
  SourcePrefixLists?: string[];
610
610
  DestinationPrefixLists?: string[];
611
- Protocols?: (Protocol | string)[];
611
+ Protocols?: Protocol[];
612
612
  }
613
613
  export interface ResourceStatementRequest {
614
614
  Resources?: string[];
@@ -649,7 +649,7 @@ export interface ActiveInstance {
649
649
  InstanceId?: string;
650
650
  InstanceType?: string;
651
651
  SpotInstanceRequestId?: string;
652
- InstanceHealth?: InstanceHealthStatus | string;
652
+ InstanceHealth?: InstanceHealthStatus;
653
653
  }
654
654
  export declare const ActivityStatus: {
655
655
  readonly ERROR: "error";
@@ -669,7 +669,7 @@ export declare const PrincipalType: {
669
669
  };
670
670
  export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
671
671
  export interface AddedPrincipal {
672
- PrincipalType?: PrincipalType | string;
672
+ PrincipalType?: PrincipalType;
673
673
  Principal?: string;
674
674
  ServicePermissionId?: string;
675
675
  ServiceId?: string;
@@ -691,7 +691,7 @@ export interface Address {
691
691
  PublicIp?: string;
692
692
  AllocationId?: string;
693
693
  AssociationId?: string;
694
- Domain?: DomainType | string;
694
+ Domain?: DomainType;
695
695
  NetworkInterfaceId?: string;
696
696
  NetworkInterfaceOwnerId?: string;
697
697
  PrivateIpAddress?: string;
@@ -743,7 +743,7 @@ export interface ByoipCidr {
743
743
  Cidr?: string;
744
744
  Description?: string;
745
745
  StatusMessage?: string;
746
- State?: ByoipCidrState | string;
746
+ State?: ByoipCidrState;
747
747
  }
748
748
  export interface AdvertiseByoipCidrResult {
749
749
  ByoipCidr?: ByoipCidr;
@@ -754,7 +754,7 @@ export declare const Affinity: {
754
754
  };
755
755
  export type Affinity = (typeof Affinity)[keyof typeof Affinity];
756
756
  export interface AllocateAddressRequest {
757
- Domain?: DomainType | string;
757
+ Domain?: DomainType;
758
758
  Address?: string;
759
759
  PublicIpv4Pool?: string;
760
760
  NetworkBorderGroup?: string;
@@ -767,7 +767,7 @@ export interface AllocateAddressResult {
767
767
  AllocationId?: string;
768
768
  PublicIpv4Pool?: string;
769
769
  NetworkBorderGroup?: string;
770
- Domain?: DomainType | string;
770
+ Domain?: DomainType;
771
771
  CustomerOwnedIp?: string;
772
772
  CustomerOwnedIpv4Pool?: string;
773
773
  CarrierIp?: string;
@@ -789,16 +789,16 @@ export declare const HostRecovery: {
789
789
  };
790
790
  export type HostRecovery = (typeof HostRecovery)[keyof typeof HostRecovery];
791
791
  export interface AllocateHostsRequest {
792
- AutoPlacement?: AutoPlacement | string;
792
+ AutoPlacement?: AutoPlacement;
793
793
  AvailabilityZone: string | undefined;
794
794
  ClientToken?: string;
795
795
  InstanceType?: string;
796
796
  InstanceFamily?: string;
797
797
  Quantity?: number;
798
798
  TagSpecifications?: TagSpecification[];
799
- HostRecovery?: HostRecovery | string;
799
+ HostRecovery?: HostRecovery;
800
800
  OutpostArn?: string;
801
- HostMaintenance?: HostMaintenance | string;
801
+ HostMaintenance?: HostMaintenance;
802
802
  AssetIds?: string[];
803
803
  }
804
804
  export interface AllocateHostsResult {
@@ -827,7 +827,7 @@ export interface IpamPoolAllocation {
827
827
  IpamPoolAllocationId?: string;
828
828
  Description?: string;
829
829
  ResourceId?: string;
830
- ResourceType?: IpamPoolAllocationResourceType | string;
830
+ ResourceType?: IpamPoolAllocationResourceType;
831
831
  ResourceRegion?: string;
832
832
  ResourceOwner?: string;
833
833
  }
@@ -859,7 +859,7 @@ export declare const AllocationType: {
859
859
  export type AllocationType =
860
860
  (typeof AllocationType)[keyof typeof AllocationType];
861
861
  export interface AllowedPrincipal {
862
- PrincipalType?: PrincipalType | string;
862
+ PrincipalType?: PrincipalType;
863
863
  Principal?: string;
864
864
  ServicePermissionId?: string;
865
865
  Tags?: Tag[];
@@ -939,7 +939,7 @@ export interface NatGatewayAddress {
939
939
  AssociationId?: string;
940
940
  IsPrimary?: boolean;
941
941
  FailureMessage?: string;
942
- Status?: NatGatewayAddressStatus | string;
942
+ Status?: NatGatewayAddressStatus;
943
943
  }
944
944
  export interface AssignPrivateNatGatewayAddressResult {
945
945
  NatGatewayId?: string;
@@ -973,7 +973,7 @@ export declare const AssociationStatusCode: {
973
973
  export type AssociationStatusCode =
974
974
  (typeof AssociationStatusCode)[keyof typeof AssociationStatusCode];
975
975
  export interface AssociationStatus {
976
- Code?: AssociationStatusCode | string;
976
+ Code?: AssociationStatusCode;
977
977
  Message?: string;
978
978
  }
979
979
  export interface AssociateClientVpnTargetNetworkResult {
@@ -1019,7 +1019,7 @@ export interface IamInstanceProfileAssociation {
1019
1019
  AssociationId?: string;
1020
1020
  InstanceId?: string;
1021
1021
  IamInstanceProfile?: IamInstanceProfile;
1022
- State?: IamInstanceProfileAssociationState | string;
1022
+ State?: IamInstanceProfileAssociationState;
1023
1023
  Timestamp?: Date;
1024
1024
  }
1025
1025
  export interface AssociateIamInstanceProfileResult {
@@ -1059,9 +1059,9 @@ export declare const WeekDay: {
1059
1059
  };
1060
1060
  export type WeekDay = (typeof WeekDay)[keyof typeof WeekDay];
1061
1061
  export interface InstanceEventWindowTimeRange {
1062
- StartWeekDay?: WeekDay | string;
1062
+ StartWeekDay?: WeekDay;
1063
1063
  StartHour?: number;
1064
- EndWeekDay?: WeekDay | string;
1064
+ EndWeekDay?: WeekDay;
1065
1065
  EndHour?: number;
1066
1066
  }
1067
1067
  export interface InstanceEventWindow {
@@ -1070,7 +1070,7 @@ export interface InstanceEventWindow {
1070
1070
  Name?: string;
1071
1071
  CronExpression?: string;
1072
1072
  AssociationTarget?: InstanceEventWindowAssociationTarget;
1073
- State?: InstanceEventWindowState | string;
1073
+ State?: InstanceEventWindowState;
1074
1074
  Tags?: Tag[];
1075
1075
  }
1076
1076
  export interface AssociateInstanceEventWindowResult {
@@ -1111,8 +1111,8 @@ export interface IpamResourceDiscoveryAssociation {
1111
1111
  IpamArn?: string;
1112
1112
  IpamRegion?: string;
1113
1113
  IsDefault?: boolean;
1114
- ResourceDiscoveryStatus?: IpamAssociatedResourceDiscoveryStatus | string;
1115
- State?: IpamResourceDiscoveryAssociationState | string;
1114
+ ResourceDiscoveryStatus?: IpamAssociatedResourceDiscoveryStatus;
1115
+ State?: IpamResourceDiscoveryAssociationState;
1116
1116
  Tags?: Tag[];
1117
1117
  }
1118
1118
  export interface AssociateIpamResourceDiscoveryResult {
@@ -1144,7 +1144,7 @@ export declare const RouteTableAssociationStateCode: {
1144
1144
  export type RouteTableAssociationStateCode =
1145
1145
  (typeof RouteTableAssociationStateCode)[keyof typeof RouteTableAssociationStateCode];
1146
1146
  export interface RouteTableAssociationState {
1147
- State?: RouteTableAssociationStateCode | string;
1147
+ State?: RouteTableAssociationStateCode;
1148
1148
  StatusMessage?: string;
1149
1149
  }
1150
1150
  export interface AssociateRouteTableResult {
@@ -1166,7 +1166,7 @@ export declare const SubnetCidrBlockStateCode: {
1166
1166
  export type SubnetCidrBlockStateCode =
1167
1167
  (typeof SubnetCidrBlockStateCode)[keyof typeof SubnetCidrBlockStateCode];
1168
1168
  export interface SubnetCidrBlockState {
1169
- State?: SubnetCidrBlockStateCode | string;
1169
+ State?: SubnetCidrBlockStateCode;
1170
1170
  StatusMessage?: string;
1171
1171
  }
1172
1172
  export interface SubnetIpv6CidrBlockAssociation {
@@ -1204,8 +1204,8 @@ export interface TransitGatewayPolicyTableAssociation {
1204
1204
  TransitGatewayPolicyTableId?: string;
1205
1205
  TransitGatewayAttachmentId?: string;
1206
1206
  ResourceId?: string;
1207
- ResourceType?: TransitGatewayAttachmentResourceType | string;
1208
- State?: TransitGatewayAssociationState | string;
1207
+ ResourceType?: TransitGatewayAttachmentResourceType;
1208
+ State?: TransitGatewayAssociationState;
1209
1209
  }
1210
1210
  export interface AssociateTransitGatewayPolicyTableResult {
1211
1211
  Association?: TransitGatewayPolicyTableAssociation;
@@ -1219,8 +1219,8 @@ export interface TransitGatewayAssociation {
1219
1219
  TransitGatewayRouteTableId?: string;
1220
1220
  TransitGatewayAttachmentId?: string;
1221
1221
  ResourceId?: string;
1222
- ResourceType?: TransitGatewayAttachmentResourceType | string;
1223
- State?: TransitGatewayAssociationState | string;
1222
+ ResourceType?: TransitGatewayAttachmentResourceType;
1223
+ State?: TransitGatewayAssociationState;
1224
1224
  }
1225
1225
  export interface AssociateTransitGatewayRouteTableResult {
1226
1226
  Association?: TransitGatewayAssociation;
@@ -1243,7 +1243,7 @@ export interface TrunkInterfaceAssociation {
1243
1243
  AssociationId?: string;
1244
1244
  BranchInterfaceId?: string;
1245
1245
  TrunkInterfaceId?: string;
1246
- InterfaceProtocol?: InterfaceProtocolType | string;
1246
+ InterfaceProtocol?: InterfaceProtocolType;
1247
1247
  VlanId?: number;
1248
1248
  GreKey?: number;
1249
1249
  Tags?: Tag[];
@@ -1275,7 +1275,7 @@ export declare const VpcCidrBlockStateCode: {
1275
1275
  export type VpcCidrBlockStateCode =
1276
1276
  (typeof VpcCidrBlockStateCode)[keyof typeof VpcCidrBlockStateCode];
1277
1277
  export interface VpcCidrBlockState {
1278
- State?: VpcCidrBlockStateCode | string;
1278
+ State?: VpcCidrBlockStateCode;
1279
1279
  StatusMessage?: string;
1280
1280
  }
1281
1281
  export interface VpcCidrBlockAssociation {
@@ -1355,9 +1355,9 @@ export type UserTrustProviderType =
1355
1355
  export interface VerifiedAccessTrustProviderCondensed {
1356
1356
  VerifiedAccessTrustProviderId?: string;
1357
1357
  Description?: string;
1358
- TrustProviderType?: TrustProviderType | string;
1359
- UserTrustProviderType?: UserTrustProviderType | string;
1360
- DeviceTrustProviderType?: DeviceTrustProviderType | string;
1358
+ TrustProviderType?: TrustProviderType;
1359
+ UserTrustProviderType?: UserTrustProviderType;
1360
+ DeviceTrustProviderType?: DeviceTrustProviderType;
1361
1361
  }
1362
1362
  export interface VerifiedAccessInstance {
1363
1363
  VerifiedAccessInstanceId?: string;
@@ -1387,9 +1387,9 @@ export interface VerifiedAccessSseSpecificationResponse {
1387
1387
  export interface VerifiedAccessTrustProvider {
1388
1388
  VerifiedAccessTrustProviderId?: string;
1389
1389
  Description?: string;
1390
- TrustProviderType?: TrustProviderType | string;
1391
- UserTrustProviderType?: UserTrustProviderType | string;
1392
- DeviceTrustProviderType?: DeviceTrustProviderType | string;
1390
+ TrustProviderType?: TrustProviderType;
1391
+ UserTrustProviderType?: UserTrustProviderType;
1392
+ DeviceTrustProviderType?: DeviceTrustProviderType;
1393
1393
  OidcOptions?: OidcOptions;
1394
1394
  DeviceOptions?: DeviceOptions;
1395
1395
  PolicyReferenceName?: string;
@@ -1421,7 +1421,7 @@ export interface VolumeAttachment {
1421
1421
  AttachTime?: Date;
1422
1422
  Device?: string;
1423
1423
  InstanceId?: string;
1424
- State?: VolumeAttachmentState | string;
1424
+ State?: VolumeAttachmentState;
1425
1425
  VolumeId?: string;
1426
1426
  DeleteOnTermination?: boolean;
1427
1427
  }
@@ -1439,7 +1439,7 @@ export declare const AttachmentStatus: {
1439
1439
  export type AttachmentStatus =
1440
1440
  (typeof AttachmentStatus)[keyof typeof AttachmentStatus];
1441
1441
  export interface VpcAttachment {
1442
- State?: AttachmentStatus | string;
1442
+ State?: AttachmentStatus;
1443
1443
  VpcId?: string;
1444
1444
  }
1445
1445
  export interface AttachVpnGatewayResult {
@@ -1463,7 +1463,7 @@ export declare const ClientVpnAuthorizationRuleStatusCode: {
1463
1463
  export type ClientVpnAuthorizationRuleStatusCode =
1464
1464
  (typeof ClientVpnAuthorizationRuleStatusCode)[keyof typeof ClientVpnAuthorizationRuleStatusCode];
1465
1465
  export interface ClientVpnAuthorizationRuleStatus {
1466
- Code?: ClientVpnAuthorizationRuleStatusCode | string;
1466
+ Code?: ClientVpnAuthorizationRuleStatusCode;
1467
1467
  Message?: string;
1468
1468
  }
1469
1469
  export interface AuthorizeClientVpnIngressResult {
@@ -1590,7 +1590,7 @@ export interface BundleTask {
1590
1590
  InstanceId?: string;
1591
1591
  Progress?: string;
1592
1592
  StartTime?: Date;
1593
- State?: BundleTaskState | string;
1593
+ State?: BundleTaskState;
1594
1594
  Storage?: Storage;
1595
1595
  UpdateTime?: Date;
1596
1596
  }
@@ -1637,8 +1637,8 @@ export declare const CapacityReservationFleetState: {
1637
1637
  export type CapacityReservationFleetState =
1638
1638
  (typeof CapacityReservationFleetState)[keyof typeof CapacityReservationFleetState];
1639
1639
  export interface CapacityReservationFleetCancellationState {
1640
- CurrentFleetState?: CapacityReservationFleetState | string;
1641
- PreviousFleetState?: CapacityReservationFleetState | string;
1640
+ CurrentFleetState?: CapacityReservationFleetState;
1641
+ PreviousFleetState?: CapacityReservationFleetState;
1642
1642
  CapacityReservationFleetId?: string;
1643
1643
  }
1644
1644
  export interface CancelCapacityReservationFleetsResult {
@@ -1682,7 +1682,7 @@ export declare const ListingState: {
1682
1682
  export type ListingState = (typeof ListingState)[keyof typeof ListingState];
1683
1683
  export interface InstanceCount {
1684
1684
  InstanceCount?: number;
1685
- State?: ListingState | string;
1685
+ State?: ListingState;
1686
1686
  }
1687
1687
  export declare const CurrencyCodeValues: {
1688
1688
  readonly USD: "USD";
@@ -1691,7 +1691,7 @@ export type CurrencyCodeValues =
1691
1691
  (typeof CurrencyCodeValues)[keyof typeof CurrencyCodeValues];
1692
1692
  export interface PriceSchedule {
1693
1693
  Active?: boolean;
1694
- CurrencyCode?: CurrencyCodeValues | string;
1694
+ CurrencyCode?: CurrencyCodeValues;
1695
1695
  Price?: number;
1696
1696
  Term?: number;
1697
1697
  }
@@ -1709,7 +1709,7 @@ export interface ReservedInstancesListing {
1709
1709
  PriceSchedules?: PriceSchedule[];
1710
1710
  ReservedInstancesId?: string;
1711
1711
  ReservedInstancesListingId?: string;
1712
- Status?: ListingStatus | string;
1712
+ Status?: ListingStatus;
1713
1713
  StatusMessage?: string;
1714
1714
  Tags?: Tag[];
1715
1715
  UpdateDate?: Date;
@@ -1733,8 +1733,8 @@ export declare const BatchState: {
1733
1733
  };
1734
1734
  export type BatchState = (typeof BatchState)[keyof typeof BatchState];
1735
1735
  export interface CancelSpotFleetRequestsSuccessItem {
1736
- CurrentSpotFleetRequestState?: BatchState | string;
1737
- PreviousSpotFleetRequestState?: BatchState | string;
1736
+ CurrentSpotFleetRequestState?: BatchState;
1737
+ PreviousSpotFleetRequestState?: BatchState;
1738
1738
  SpotFleetRequestId?: string;
1739
1739
  }
1740
1740
  export declare const CancelBatchErrorCode: {
@@ -1746,7 +1746,7 @@ export declare const CancelBatchErrorCode: {
1746
1746
  export type CancelBatchErrorCode =
1747
1747
  (typeof CancelBatchErrorCode)[keyof typeof CancelBatchErrorCode];
1748
1748
  export interface CancelSpotFleetRequestsError {
1749
- Code?: CancelBatchErrorCode | string;
1749
+ Code?: CancelBatchErrorCode;
1750
1750
  Message?: string;
1751
1751
  }
1752
1752
  export interface CancelSpotFleetRequestsErrorItem {
@@ -1772,7 +1772,7 @@ export type CancelSpotInstanceRequestState =
1772
1772
  (typeof CancelSpotInstanceRequestState)[keyof typeof CancelSpotInstanceRequestState];
1773
1773
  export interface CancelledSpotInstanceRequest {
1774
1774
  SpotInstanceRequestId?: string;
1775
- State?: CancelSpotInstanceRequestState | string;
1775
+ State?: CancelSpotInstanceRequestState;
1776
1776
  }
1777
1777
  export interface CancelSpotInstanceRequestsResult {
1778
1778
  CancelledSpotInstanceRequests?: CancelledSpotInstanceRequest[];
@@ -1852,6 +1852,7 @@ export declare const CapacityReservationInstancePlatform: {
1852
1852
  readonly RHEL_WITH_SQL_SERVER_STANDARD: "RHEL with SQL Server Standard";
1853
1853
  readonly RHEL_WITH_SQL_SERVER_WEB: "RHEL with SQL Server Web";
1854
1854
  readonly SUSE_LINUX: "SUSE Linux";
1855
+ readonly UBUNTU_PRO_LINUX: "Ubuntu Pro";
1855
1856
  readonly WINDOWS: "Windows";
1856
1857
  readonly WINDOWS_WITH_SQL_SERVER: "Windows with SQL Server";
1857
1858
  readonly WINDOWS_WITH_SQL_SERVER_ENTERPRISE: "Windows with SQL Server Enterprise";
@@ -1869,23 +1870,23 @@ export type CapacityReservationTenancy =
1869
1870
  export interface CreateCapacityReservationRequest {
1870
1871
  ClientToken?: string;
1871
1872
  InstanceType: string | undefined;
1872
- InstancePlatform: CapacityReservationInstancePlatform | string | undefined;
1873
+ InstancePlatform: CapacityReservationInstancePlatform | undefined;
1873
1874
  AvailabilityZone?: string;
1874
1875
  AvailabilityZoneId?: string;
1875
- Tenancy?: CapacityReservationTenancy | string;
1876
+ Tenancy?: CapacityReservationTenancy;
1876
1877
  InstanceCount: number | undefined;
1877
1878
  EbsOptimized?: boolean;
1878
1879
  EphemeralStorage?: boolean;
1879
1880
  EndDate?: Date;
1880
- EndDateType?: EndDateType | string;
1881
- InstanceMatchCriteria?: InstanceMatchCriteria | string;
1881
+ EndDateType?: EndDateType;
1882
+ InstanceMatchCriteria?: InstanceMatchCriteria;
1882
1883
  TagSpecifications?: TagSpecification[];
1883
1884
  DryRun?: boolean;
1884
1885
  OutpostArn?: string;
1885
1886
  PlacementGroupArn?: string;
1886
1887
  }
1887
1888
  export interface CapacityAllocation {
1888
- AllocationType?: AllocationType | string;
1889
+ AllocationType?: AllocationType;
1889
1890
  Count?: number;
1890
1891
  }
1891
1892
  export declare const CapacityReservationState: {
@@ -1903,18 +1904,18 @@ export interface CapacityReservation {
1903
1904
  CapacityReservationArn?: string;
1904
1905
  AvailabilityZoneId?: string;
1905
1906
  InstanceType?: string;
1906
- InstancePlatform?: CapacityReservationInstancePlatform | string;
1907
+ InstancePlatform?: CapacityReservationInstancePlatform;
1907
1908
  AvailabilityZone?: string;
1908
- Tenancy?: CapacityReservationTenancy | string;
1909
+ Tenancy?: CapacityReservationTenancy;
1909
1910
  TotalInstanceCount?: number;
1910
1911
  AvailableInstanceCount?: number;
1911
1912
  EbsOptimized?: boolean;
1912
1913
  EphemeralStorage?: boolean;
1913
- State?: CapacityReservationState | string;
1914
+ State?: CapacityReservationState;
1914
1915
  StartDate?: Date;
1915
1916
  EndDate?: Date;
1916
- EndDateType?: EndDateType | string;
1917
- InstanceMatchCriteria?: InstanceMatchCriteria | string;
1917
+ EndDateType?: EndDateType;
1918
+ InstanceMatchCriteria?: InstanceMatchCriteria;
1918
1919
  CreateDate?: Date;
1919
1920
  Tags?: Tag[];
1920
1921
  OutpostArn?: string;
@@ -2683,8 +2684,8 @@ export declare const _InstanceType: {
2683
2684
  };
2684
2685
  export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
2685
2686
  export interface ReservationFleetInstanceSpecification {
2686
- InstanceType?: _InstanceType | string;
2687
- InstancePlatform?: CapacityReservationInstancePlatform | string;
2687
+ InstanceType?: _InstanceType;
2688
+ InstancePlatform?: CapacityReservationInstancePlatform;
2688
2689
  Weight?: number;
2689
2690
  AvailabilityZone?: string;
2690
2691
  AvailabilityZoneId?: string;
@@ -2702,18 +2703,18 @@ export interface CreateCapacityReservationFleetRequest {
2702
2703
  InstanceTypeSpecifications:
2703
2704
  | ReservationFleetInstanceSpecification[]
2704
2705
  | undefined;
2705
- Tenancy?: FleetCapacityReservationTenancy | string;
2706
+ Tenancy?: FleetCapacityReservationTenancy;
2706
2707
  TotalTargetCapacity: number | undefined;
2707
2708
  EndDate?: Date;
2708
- InstanceMatchCriteria?: FleetInstanceMatchCriteria | string;
2709
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria;
2709
2710
  TagSpecifications?: TagSpecification[];
2710
2711
  DryRun?: boolean;
2711
2712
  }
2712
2713
  export interface FleetCapacityReservation {
2713
2714
  CapacityReservationId?: string;
2714
2715
  AvailabilityZoneId?: string;
2715
- InstanceType?: _InstanceType | string;
2716
- InstancePlatform?: CapacityReservationInstancePlatform | string;
2716
+ InstanceType?: _InstanceType;
2717
+ InstancePlatform?: CapacityReservationInstancePlatform;
2717
2718
  AvailabilityZone?: string;
2718
2719
  TotalInstanceCount?: number;
2719
2720
  FulfilledCapacity?: number;
@@ -2724,14 +2725,14 @@ export interface FleetCapacityReservation {
2724
2725
  }
2725
2726
  export interface CreateCapacityReservationFleetResult {
2726
2727
  CapacityReservationFleetId?: string;
2727
- State?: CapacityReservationFleetState | string;
2728
+ State?: CapacityReservationFleetState;
2728
2729
  TotalTargetCapacity?: number;
2729
2730
  TotalFulfilledCapacity?: number;
2730
- InstanceMatchCriteria?: FleetInstanceMatchCriteria | string;
2731
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria;
2731
2732
  AllocationStrategy?: string;
2732
2733
  CreateTime?: Date;
2733
2734
  EndDate?: Date;
2734
- Tenancy?: FleetCapacityReservationTenancy | string;
2735
+ Tenancy?: FleetCapacityReservationTenancy;
2735
2736
  FleetCapacityReservations?: FleetCapacityReservation[];
2736
2737
  Tags?: Tag[];
2737
2738
  }
@@ -2752,7 +2753,7 @@ export type CarrierGatewayState =
2752
2753
  export interface CarrierGateway {
2753
2754
  CarrierGatewayId?: string;
2754
2755
  VpcId?: string;
2755
- State?: CarrierGatewayState | string;
2756
+ State?: CarrierGatewayState;
2756
2757
  OwnerId?: string;
2757
2758
  Tags?: Tag[];
2758
2759
  }