@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
@@ -50,7 +50,7 @@ export interface DeleteQueuedReservedInstancesError {
50
50
  * @public
51
51
  * <p>The error code.</p>
52
52
  */
53
- Code?: DeleteQueuedReservedInstancesErrorCode | string;
53
+ Code?: DeleteQueuedReservedInstancesErrorCode;
54
54
  /**
55
55
  * @public
56
56
  * <p>The error message.</p>
@@ -1093,7 +1093,7 @@ export interface IpamPoolCidrFailureReason {
1093
1093
  * @public
1094
1094
  * <p>An error code related to why an IPAM pool CIDR failed to be provisioned.</p>
1095
1095
  */
1096
- Code?: IpamPoolCidrFailureCode | string;
1096
+ Code?: IpamPoolCidrFailureCode;
1097
1097
  /**
1098
1098
  * @public
1099
1099
  * <p>A message related to why an IPAM pool CIDR failed to be provisioned.</p>
@@ -1133,7 +1133,7 @@ export interface IpamPoolCidr {
1133
1133
  * @public
1134
1134
  * <p>The state of the CIDR.</p>
1135
1135
  */
1136
- State?: IpamPoolCidrState | string;
1136
+ State?: IpamPoolCidrState;
1137
1137
  /**
1138
1138
  * @public
1139
1139
  * <p>Details related to why an IPAM pool CIDR failed to be provisioned.</p>
@@ -1402,7 +1402,7 @@ export interface DescribeAccountAttributesRequest {
1402
1402
  * @public
1403
1403
  * <p>The account attribute names.</p>
1404
1404
  */
1405
- AttributeNames?: (AccountAttributeName | string)[];
1405
+ AttributeNames?: AccountAttributeName[];
1406
1406
  /**
1407
1407
  * @public
1408
1408
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -1537,7 +1537,7 @@ export interface DescribeAddressesAttributeRequest {
1537
1537
  * @public
1538
1538
  * <p>The attribute of the IP address.</p>
1539
1539
  */
1540
- Attribute?: AddressAttributeName | string;
1540
+ Attribute?: AddressAttributeName;
1541
1541
  /**
1542
1542
  * @public
1543
1543
  * <p>The token for the next page of results.</p>
@@ -1800,7 +1800,7 @@ export interface AvailabilityZone {
1800
1800
  * <p>The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always
1801
1801
  * <code>available</code>.</p>
1802
1802
  */
1803
- State?: AvailabilityZoneState | string;
1803
+ State?: AvailabilityZoneState;
1804
1804
  /**
1805
1805
  * @public
1806
1806
  * <p>For Availability Zones, this parameter always has the value of
@@ -1808,7 +1808,7 @@ export interface AvailabilityZone {
1808
1808
  * <p>For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible
1809
1809
  * values are <code>opted-in</code>, and <code>not-opted-in</code>.</p>
1810
1810
  */
1811
- OptInStatus?: AvailabilityZoneOptInStatus | string;
1811
+ OptInStatus?: AvailabilityZoneOptInStatus;
1812
1812
  /**
1813
1813
  * @public
1814
1814
  * <p>Any messages about the Availability Zone, Local Zone, or Wavelength Zone.</p>
@@ -1957,17 +1957,17 @@ export interface Subscription {
1957
1957
  * @public
1958
1958
  * <p>The metric used for the subscription.</p>
1959
1959
  */
1960
- Metric?: MetricType | string;
1960
+ Metric?: MetricType;
1961
1961
  /**
1962
1962
  * @public
1963
1963
  * <p>The statistic used for the subscription.</p>
1964
1964
  */
1965
- Statistic?: StatisticType | string;
1965
+ Statistic?: StatisticType;
1966
1966
  /**
1967
1967
  * @public
1968
1968
  * <p>The data aggregation time for the subscription.</p>
1969
1969
  */
1970
- Period?: PeriodType | string;
1970
+ Period?: PeriodType;
1971
1971
  }
1972
1972
  /**
1973
1973
  * @public
@@ -2220,7 +2220,7 @@ export interface CapacityReservationFleet {
2220
2220
  * </li>
2221
2221
  * </ul>
2222
2222
  */
2223
- State?: CapacityReservationFleetState | string;
2223
+ State?: CapacityReservationFleetState;
2224
2224
  /**
2225
2225
  * @public
2226
2226
  * <p>The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.
@@ -2249,7 +2249,7 @@ export interface CapacityReservationFleet {
2249
2249
  * </li>
2250
2250
  * </ul>
2251
2251
  */
2252
- Tenancy?: FleetCapacityReservationTenancy | string;
2252
+ Tenancy?: FleetCapacityReservationTenancy;
2253
2253
  /**
2254
2254
  * @public
2255
2255
  * <p>The date and time at which the Capacity Reservation Fleet expires.</p>
@@ -2269,7 +2269,7 @@ export interface CapacityReservationFleet {
2269
2269
  * Availability Zone) run in the Capacity Reservations automatically. Instances do not need to
2270
2270
  * explicitly target a Capacity Reservation Fleet to use its reserved capacity.</p>
2271
2271
  */
2272
- InstanceMatchCriteria?: FleetInstanceMatchCriteria | string;
2272
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria;
2273
2273
  /**
2274
2274
  * @public
2275
2275
  * <p>The strategy used by the Capacity Reservation Fleet to determine which of the specified
@@ -2799,7 +2799,7 @@ export interface ClientVpnConnectionStatus {
2799
2799
  * @public
2800
2800
  * <p>The state of the client connection.</p>
2801
2801
  */
2802
- Code?: ClientVpnConnectionStatusCode | string;
2802
+ Code?: ClientVpnConnectionStatusCode;
2803
2803
  /**
2804
2804
  * @public
2805
2805
  * <p>A message about the status of the client connection, if applicable.</p>
@@ -2965,7 +2965,7 @@ export interface AssociatedTargetNetwork {
2965
2965
  * @public
2966
2966
  * <p>The target network type.</p>
2967
2967
  */
2968
- NetworkType?: AssociatedNetworkType | string;
2968
+ NetworkType?: AssociatedNetworkType;
2969
2969
  }
2970
2970
  /**
2971
2971
  * @public
@@ -3015,7 +3015,7 @@ export interface ClientVpnAuthentication {
3015
3015
  * @public
3016
3016
  * <p>The authentication type used.</p>
3017
3017
  */
3018
- Type?: ClientVpnAuthenticationType | string;
3018
+ Type?: ClientVpnAuthenticationType;
3019
3019
  /**
3020
3020
  * @public
3021
3021
  * <p>Information about the Active Directory, if applicable.</p>
@@ -3053,7 +3053,7 @@ export interface ClientVpnEndpointAttributeStatus {
3053
3053
  * @public
3054
3054
  * <p>The status code.</p>
3055
3055
  */
3056
- Code?: ClientVpnEndpointAttributeStatusCode | string;
3056
+ Code?: ClientVpnEndpointAttributeStatusCode;
3057
3057
  /**
3058
3058
  * @public
3059
3059
  * <p>The status message.</p>
@@ -3190,12 +3190,12 @@ export interface ClientVpnEndpoint {
3190
3190
  * @public
3191
3191
  * <p>The protocol used by the VPN session.</p>
3192
3192
  */
3193
- VpnProtocol?: VpnProtocol | string;
3193
+ VpnProtocol?: VpnProtocol;
3194
3194
  /**
3195
3195
  * @public
3196
3196
  * <p>The transport protocol used by the Client VPN endpoint.</p>
3197
3197
  */
3198
- TransportProtocol?: TransportProtocol | string;
3198
+ TransportProtocol?: TransportProtocol;
3199
3199
  /**
3200
3200
  * @public
3201
3201
  * <p>The port number for the Client VPN endpoint.</p>
@@ -3571,7 +3571,7 @@ export interface DiskImageDescription {
3571
3571
  * @public
3572
3572
  * <p>The disk image format.</p>
3573
3573
  */
3574
- Format?: DiskImageFormat | string;
3574
+ Format?: DiskImageFormat;
3575
3575
  /**
3576
3576
  * @public
3577
3577
  * <p>A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for
@@ -3662,7 +3662,7 @@ export interface ImportInstanceTaskDetails {
3662
3662
  * @public
3663
3663
  * <p>The instance operating system.</p>
3664
3664
  */
3665
- Platform?: PlatformValues | string;
3665
+ Platform?: PlatformValues;
3666
3666
  /**
3667
3667
  * @public
3668
3668
  * <p>The volumes.</p>
@@ -3744,7 +3744,7 @@ export interface ConversionTask {
3744
3744
  * @public
3745
3745
  * <p>The state of the conversion task.</p>
3746
3746
  */
3747
- State?: ConversionTaskState | string;
3747
+ State?: ConversionTaskState;
3748
3748
  /**
3749
3749
  * @public
3750
3750
  * <p>The status message related to the conversion task.</p>
@@ -4057,7 +4057,7 @@ export interface ElasticGpuHealth {
4057
4057
  * @public
4058
4058
  * <p>The health status.</p>
4059
4059
  */
4060
- Status?: ElasticGpuStatus | string;
4060
+ Status?: ElasticGpuStatus;
4061
4061
  }
4062
4062
  /**
4063
4063
  * @public
@@ -4099,7 +4099,7 @@ export interface ElasticGpus {
4099
4099
  * @public
4100
4100
  * <p>The state of the Elastic Graphics accelerator.</p>
4101
4101
  */
4102
- ElasticGpuState?: ElasticGpuState | string;
4102
+ ElasticGpuState?: ElasticGpuState;
4103
4103
  /**
4104
4104
  * @public
4105
4105
  * <p>The ID of the instance to which the Elastic Graphics accelerator is attached.</p>
@@ -4398,7 +4398,7 @@ export interface DescribeFastLaunchImagesSuccessItem {
4398
4398
  * <p>The resource type that is used for pre-provisioning the Windows AMI. Supported values
4399
4399
  * include: <code>snapshot</code>.</p>
4400
4400
  */
4401
- ResourceType?: FastLaunchResourceType | string;
4401
+ ResourceType?: FastLaunchResourceType;
4402
4402
  /**
4403
4403
  * @public
4404
4404
  * <p>A group of parameters that are used for pre-provisioning the associated
@@ -4426,7 +4426,7 @@ export interface DescribeFastLaunchImagesSuccessItem {
4426
4426
  * @public
4427
4427
  * <p>The current state of faster launching for the specified Windows AMI.</p>
4428
4428
  */
4429
- State?: FastLaunchStateCode | string;
4429
+ State?: FastLaunchStateCode;
4430
4430
  /**
4431
4431
  * @public
4432
4432
  * <p>The reason that faster launching for the Windows AMI changed to the current state.</p>
@@ -4542,7 +4542,7 @@ export interface DescribeFastSnapshotRestoreSuccessItem {
4542
4542
  * @public
4543
4543
  * <p>The state of fast snapshot restores.</p>
4544
4544
  */
4545
- State?: FastSnapshotRestoreStateCode | string;
4545
+ State?: FastSnapshotRestoreStateCode;
4546
4546
  /**
4547
4547
  * @public
4548
4548
  * <p>The reason for the state transition. The possible values are as follows:</p>
@@ -4640,7 +4640,7 @@ export interface DescribeFleetHistoryRequest {
4640
4640
  * @public
4641
4641
  * <p>The type of events to describe. By default, all events are described.</p>
4642
4642
  */
4643
- EventType?: FleetEventType | string;
4643
+ EventType?: FleetEventType;
4644
4644
  /**
4645
4645
  * @public
4646
4646
  * <p>The maximum number of items to return for this request.
@@ -4827,7 +4827,7 @@ export interface HistoryRecordEntry {
4827
4827
  * @public
4828
4828
  * <p>The event type.</p>
4829
4829
  */
4830
- EventType?: FleetEventType | string;
4830
+ EventType?: FleetEventType;
4831
4831
  /**
4832
4832
  * @public
4833
4833
  * <p>The date and time of the event, in UTC format (for example,
@@ -5031,7 +5031,7 @@ export interface DescribeFleetError {
5031
5031
  * @public
5032
5032
  * <p>Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.</p>
5033
5033
  */
5034
- Lifecycle?: InstanceLifecycle | string;
5034
+ Lifecycle?: InstanceLifecycle;
5035
5035
  /**
5036
5036
  * @public
5037
5037
  * <p>The error code that indicates why the instance could not be launched. For more
@@ -5060,7 +5060,7 @@ export interface DescribeFleetsInstances {
5060
5060
  * @public
5061
5061
  * <p>Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.</p>
5062
5062
  */
5063
- Lifecycle?: InstanceLifecycle | string;
5063
+ Lifecycle?: InstanceLifecycle;
5064
5064
  /**
5065
5065
  * @public
5066
5066
  * <p>The IDs of the instances.</p>
@@ -5070,13 +5070,13 @@ export interface DescribeFleetsInstances {
5070
5070
  * @public
5071
5071
  * <p>The instance type.</p>
5072
5072
  */
5073
- InstanceType?: _InstanceType | string;
5073
+ InstanceType?: _InstanceType;
5074
5074
  /**
5075
5075
  * @public
5076
5076
  * <p>The value is <code>Windows</code> for Windows instances. Otherwise, the value is
5077
5077
  * blank.</p>
5078
5078
  */
5079
- Platform?: PlatformValues | string;
5079
+ Platform?: PlatformValues;
5080
5080
  }
5081
5081
  /**
5082
5082
  * @public
@@ -5122,7 +5122,7 @@ export interface CapacityReservationOptions {
5122
5122
  * <p>If you do not specify a value, the fleet fulfils the On-Demand capacity according to the
5123
5123
  * chosen On-Demand allocation strategy.</p>
5124
5124
  */
5125
- UsageStrategy?: FleetCapacityReservationUsageStrategy | string;
5125
+ UsageStrategy?: FleetCapacityReservationUsageStrategy;
5126
5126
  }
5127
5127
  /**
5128
5128
  * @public
@@ -5142,7 +5142,7 @@ export interface OnDemandOptions {
5142
5142
  * <p>Default: <code>lowest-price</code>
5143
5143
  * </p>
5144
5144
  */
5145
- AllocationStrategy?: FleetOnDemandAllocationStrategy | string;
5145
+ AllocationStrategy?: FleetOnDemandAllocationStrategy;
5146
5146
  /**
5147
5147
  * @public
5148
5148
  * <p>The strategy for using unused Capacity Reservations for fulfilling On-Demand
@@ -5209,7 +5209,7 @@ export interface FleetSpotCapacityRebalance {
5209
5209
  * fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>),
5210
5210
  * terminates the instances that received a rebalance notification.</p>
5211
5211
  */
5212
- ReplacementStrategy?: FleetReplacementStrategy | string;
5212
+ ReplacementStrategy?: FleetReplacementStrategy;
5213
5213
  /**
5214
5214
  * @public
5215
5215
  * <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
@@ -5286,7 +5286,7 @@ export interface SpotOptions {
5286
5286
  * <p>Default: <code>lowest-price</code>
5287
5287
  * </p>
5288
5288
  */
5289
- AllocationStrategy?: SpotAllocationStrategy | string;
5289
+ AllocationStrategy?: SpotAllocationStrategy;
5290
5290
  /**
5291
5291
  * @public
5292
5292
  * <p>The strategies for managing your workloads on your Spot Instances that will be
@@ -5299,7 +5299,7 @@ export interface SpotOptions {
5299
5299
  * <p>Default: <code>terminate</code>
5300
5300
  * </p>
5301
5301
  */
5302
- InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior | string;
5302
+ InstanceInterruptionBehavior?: SpotInstanceInterruptionBehavior;
5303
5303
  /**
5304
5304
  * @public
5305
5305
  * <p>The number of Spot pools across which to allocate your target Spot capacity. Supported
@@ -5394,13 +5394,13 @@ export interface TargetCapacitySpecification {
5394
5394
  * <p>The default <code>TotalTargetCapacity</code>, which is either <code>Spot</code> or
5395
5395
  * <code>On-Demand</code>.</p>
5396
5396
  */
5397
- DefaultTargetCapacityType?: DefaultTargetCapacityType | string;
5397
+ DefaultTargetCapacityType?: DefaultTargetCapacityType;
5398
5398
  /**
5399
5399
  * @public
5400
5400
  * <p>The unit for the target capacity. <code>TargetCapacityUnitType</code> can only be specified when <code>InstanceRequirements</code> is specified.</p>
5401
5401
  * <p>Default: <code>units</code> (translates to number of instances)</p>
5402
5402
  */
5403
- TargetCapacityUnitType?: TargetCapacityUnitType | string;
5403
+ TargetCapacityUnitType?: TargetCapacityUnitType;
5404
5404
  }
5405
5405
  /**
5406
5406
  * @public
@@ -5415,7 +5415,7 @@ export interface FleetData {
5415
5415
  * If the size of the EC2 Fleet is decreased, the status is <code>pending_termination</code> while
5416
5416
  * instances are terminating.</p>
5417
5417
  */
5418
- ActivityStatus?: FleetActivityStatus | string;
5418
+ ActivityStatus?: FleetActivityStatus;
5419
5419
  /**
5420
5420
  * @public
5421
5421
  * <p>The creation date and time of the EC2 Fleet.</p>
@@ -5430,7 +5430,7 @@ export interface FleetData {
5430
5430
  * @public
5431
5431
  * <p>The state of the EC2 Fleet.</p>
5432
5432
  */
5433
- FleetState?: FleetStateCode | string;
5433
+ FleetState?: FleetStateCode;
5434
5434
  /**
5435
5435
  * @public
5436
5436
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
@@ -5445,7 +5445,7 @@ export interface FleetData {
5445
5445
  * EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
5446
5446
  * <p>Supported only for fleets of type <code>maintain</code>.</p>
5447
5447
  */
5448
- ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy | string;
5448
+ ExcessCapacityTerminationPolicy?: FleetExcessCapacityTerminationPolicy;
5449
5449
  /**
5450
5450
  * @public
5451
5451
  * <p>The number of units fulfilled by this request compared to the set target
@@ -5486,7 +5486,7 @@ export interface FleetData {
5486
5486
  * places the required requests to meet this target capacity. It also automatically
5487
5487
  * replenishes any interrupted Spot Instances. Default: <code>maintain</code>.</p>
5488
5488
  */
5489
- Type?: FleetType | string;
5489
+ Type?: FleetType;
5490
5490
  /**
5491
5491
  * @public
5492
5492
  * <p>The start date and time of the request, in UTC format (for example,
@@ -5641,7 +5641,7 @@ export interface DestinationOptionsResponse {
5641
5641
  * @public
5642
5642
  * <p>The format for the flow log.</p>
5643
5643
  */
5644
- FileFormat?: DestinationFileFormat | string;
5644
+ FileFormat?: DestinationFileFormat;
5645
5645
  /**
5646
5646
  * @public
5647
5647
  * <p>Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.</p>
@@ -5712,12 +5712,12 @@ export interface FlowLog {
5712
5712
  * @public
5713
5713
  * <p>The type of traffic captured for the flow log.</p>
5714
5714
  */
5715
- TrafficType?: TrafficType | string;
5715
+ TrafficType?: TrafficType;
5716
5716
  /**
5717
5717
  * @public
5718
5718
  * <p>The type of destination for the flow log data.</p>
5719
5719
  */
5720
- LogDestinationType?: LogDestinationType | string;
5720
+ LogDestinationType?: LogDestinationType;
5721
5721
  /**
5722
5722
  * @public
5723
5723
  * <p>The Amazon Resource Name (ARN) of the destination for the flow log data.</p>
@@ -5798,7 +5798,7 @@ export interface DescribeFpgaImageAttributeRequest {
5798
5798
  * @public
5799
5799
  * <p>The AFI attribute.</p>
5800
5800
  */
5801
- Attribute: FpgaImageAttributeName | string | undefined;
5801
+ Attribute: FpgaImageAttributeName | undefined;
5802
5802
  }
5803
5803
  /**
5804
5804
  * @public
@@ -5825,7 +5825,7 @@ export interface LoadPermission {
5825
5825
  * @public
5826
5826
  * <p>The name of the group.</p>
5827
5827
  */
5828
- Group?: PermissionGroup | string;
5828
+ Group?: PermissionGroup;
5829
5829
  }
5830
5830
  /**
5831
5831
  * @public
@@ -5853,7 +5853,7 @@ export interface ProductCode {
5853
5853
  * @public
5854
5854
  * <p>The type of product code.</p>
5855
5855
  */
5856
- ProductCodeType?: ProductCodeValues | string;
5856
+ ProductCodeType?: ProductCodeValues;
5857
5857
  }
5858
5858
  /**
5859
5859
  * @public
@@ -6049,7 +6049,7 @@ export interface FpgaImageState {
6049
6049
  * </li>
6050
6050
  * </ul>
6051
6051
  */
6052
- Code?: FpgaImageStateCode | string;
6052
+ Code?: FpgaImageStateCode;
6053
6053
  /**
6054
6054
  * @public
6055
6055
  * <p>If the state is <code>failed</code>, this is the error message.</p>
@@ -6232,7 +6232,7 @@ export interface HostOffering {
6232
6232
  * @public
6233
6233
  * <p>The currency of the offering.</p>
6234
6234
  */
6235
- CurrencyCode?: CurrencyCodeValues | string;
6235
+ CurrencyCode?: CurrencyCodeValues;
6236
6236
  /**
6237
6237
  * @public
6238
6238
  * <p>The duration of the offering (in seconds).</p>
@@ -6257,7 +6257,7 @@ export interface HostOffering {
6257
6257
  * @public
6258
6258
  * <p>The available payment option.</p>
6259
6259
  */
6260
- PaymentOption?: PaymentOption | string;
6260
+ PaymentOption?: PaymentOption;
6261
6261
  /**
6262
6262
  * @public
6263
6263
  * <p>The upfront price of the offering. Does not apply to No Upfront offerings.</p>
@@ -6361,7 +6361,7 @@ export interface HostReservation {
6361
6361
  * amounts are specified. At this time, the only supported currency is
6362
6362
  * <code>USD</code>.</p>
6363
6363
  */
6364
- CurrencyCode?: CurrencyCodeValues | string;
6364
+ CurrencyCode?: CurrencyCodeValues;
6365
6365
  /**
6366
6366
  * @public
6367
6367
  * <p>The length of the reservation's term, specified in seconds. Can be <code>31536000 (1
@@ -6404,7 +6404,7 @@ export interface HostReservation {
6404
6404
  * @public
6405
6405
  * <p>The payment option selected for this reservation.</p>
6406
6406
  */
6407
- PaymentOption?: PaymentOption | string;
6407
+ PaymentOption?: PaymentOption;
6408
6408
  /**
6409
6409
  * @public
6410
6410
  * <p>The date and time that the reservation started.</p>
@@ -6414,7 +6414,7 @@ export interface HostReservation {
6414
6414
  * @public
6415
6415
  * <p>The state of the reservation.</p>
6416
6416
  */
6417
- State?: ReservationState | string;
6417
+ State?: ReservationState;
6418
6418
  /**
6419
6419
  * @public
6420
6420
  * <p>The upfront price of the reservation.</p>
@@ -6614,7 +6614,7 @@ export interface Host {
6614
6614
  * @public
6615
6615
  * <p>Whether auto-placement is on or off.</p>
6616
6616
  */
6617
- AutoPlacement?: AutoPlacement | string;
6617
+ AutoPlacement?: AutoPlacement;
6618
6618
  /**
6619
6619
  * @public
6620
6620
  * <p>The Availability Zone of the Dedicated Host.</p>
@@ -6655,7 +6655,7 @@ export interface Host {
6655
6655
  * @public
6656
6656
  * <p>The Dedicated Host's state.</p>
6657
6657
  */
6658
- State?: AllocationState | string;
6658
+ State?: AllocationState;
6659
6659
  /**
6660
6660
  * @public
6661
6661
  * <p>The time that the Dedicated Host was allocated.</p>
@@ -6675,7 +6675,7 @@ export interface Host {
6675
6675
  * @public
6676
6676
  * <p>Indicates whether host recovery is enabled or disabled for the Dedicated Host.</p>
6677
6677
  */
6678
- HostRecovery?: HostRecovery | string;
6678
+ HostRecovery?: HostRecovery;
6679
6679
  /**
6680
6680
  * @public
6681
6681
  * <p>Indicates whether the Dedicated Host supports multiple instance types of the same
@@ -6683,7 +6683,7 @@ export interface Host {
6683
6683
  * instance types in the instance family. If the value is <code>off</code>, the Dedicated
6684
6684
  * Host supports a single instance type only.</p>
6685
6685
  */
6686
- AllowsMultipleInstanceTypes?: AllowsMultipleInstanceTypes | string;
6686
+ AllowsMultipleInstanceTypes?: AllowsMultipleInstanceTypes;
6687
6687
  /**
6688
6688
  * @public
6689
6689
  * <p>The ID of the Amazon Web Services account that owns the Dedicated Host.</p>
@@ -6711,7 +6711,7 @@ export interface Host {
6711
6711
  * <p>Indicates whether host maintenance is enabled or disabled for the Dedicated
6712
6712
  * Host.</p>
6713
6713
  */
6714
- HostMaintenance?: HostMaintenance | string;
6714
+ HostMaintenance?: HostMaintenance;
6715
6715
  /**
6716
6716
  * @public
6717
6717
  * <p>The ID of the Outpost hardware asset on which the Dedicated Host is allocated.</p>
@@ -6894,7 +6894,7 @@ export interface DescribeImageAttributeRequest {
6894
6894
  * Using this attribute returns the <code>Client.AuthFailure</code> error. To get information about
6895
6895
  * the block device mappings for an AMI, use the <a>DescribeImages</a> action.</p>
6896
6896
  */
6897
- Attribute: ImageAttributeName | string | undefined;
6897
+ Attribute: ImageAttributeName | undefined;
6898
6898
  /**
6899
6899
  * @public
6900
6900
  * <p>The ID of the AMI.</p>
@@ -6917,7 +6917,7 @@ export interface LaunchPermission {
6917
6917
  * @public
6918
6918
  * <p>The name of the group.</p>
6919
6919
  */
6920
- Group?: PermissionGroup | string;
6920
+ Group?: PermissionGroup;
6921
6921
  /**
6922
6922
  * @public
6923
6923
  * <p>The Amazon Web Services account ID.</p>
@@ -7172,6 +7172,12 @@ export interface DescribeImagesRequest {
7172
7172
  * </li>
7173
7173
  * <li>
7174
7174
  * <p>
7175
+ * <code>source-instance-id</code> - The ID of the instance that the AMI was created from
7176
+ * if the AMI was created using CreateImage. This filter is applicable only if the AMI was
7177
+ * created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>.</p>
7178
+ * </li>
7179
+ * <li>
7180
+ * <p>
7175
7181
  * <code>state</code> - The state of the image (<code>available</code> | <code>pending</code>
7176
7182
  * | <code>failed</code>).</p>
7177
7183
  * </li>
@@ -7229,6 +7235,12 @@ export interface DescribeImagesRequest {
7229
7235
  * </note>
7230
7236
  */
7231
7237
  IncludeDeprecated?: boolean;
7238
+ /**
7239
+ * @public
7240
+ * <p>Specifies whether to include disabled AMIs.</p>
7241
+ * <p>Default: No disabled AMIs are included in the response.</p>
7242
+ */
7243
+ IncludeDisabled?: boolean;
7232
7244
  /**
7233
7245
  * @public
7234
7246
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -7332,6 +7344,7 @@ export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
7332
7344
  export declare const ImageState: {
7333
7345
  readonly available: "available";
7334
7346
  readonly deregistered: "deregistered";
7347
+ readonly disabled: "disabled";
7335
7348
  readonly error: "error";
7336
7349
  readonly failed: "failed";
7337
7350
  readonly invalid: "invalid";
@@ -7374,7 +7387,7 @@ export interface Image {
7374
7387
  * @public
7375
7388
  * <p>The architecture of the image.</p>
7376
7389
  */
7377
- Architecture?: ArchitectureValues | string;
7390
+ Architecture?: ArchitectureValues;
7378
7391
  /**
7379
7392
  * @public
7380
7393
  * <p>The date and time the image was created.</p>
@@ -7394,7 +7407,7 @@ export interface Image {
7394
7407
  * @public
7395
7408
  * <p>The type of image.</p>
7396
7409
  */
7397
- ImageType?: ImageTypeValues | string;
7410
+ ImageType?: ImageTypeValues;
7398
7411
  /**
7399
7412
  * @public
7400
7413
  * <p>Indicates whether the image has public launch permissions. The value is <code>true</code> if
@@ -7416,7 +7429,7 @@ export interface Image {
7416
7429
  * @public
7417
7430
  * <p>This value is set to <code>windows</code> for Windows AMIs; otherwise, it is blank.</p>
7418
7431
  */
7419
- Platform?: PlatformValues | string;
7432
+ Platform?: PlatformValues;
7420
7433
  /**
7421
7434
  * @public
7422
7435
  * <p>The platform details associated with the billing code of the AMI. For more information,
@@ -7449,7 +7462,7 @@ export interface Image {
7449
7462
  * @public
7450
7463
  * <p>The current state of the AMI. If the state is <code>available</code>, the image is successfully registered and can be used to launch an instance.</p>
7451
7464
  */
7452
- State?: ImageState | string;
7465
+ State?: ImageState;
7453
7466
  /**
7454
7467
  * @public
7455
7468
  * <p>Any block device mapping entries.</p>
@@ -7467,9 +7480,10 @@ export interface Image {
7467
7480
  EnaSupport?: boolean;
7468
7481
  /**
7469
7482
  * @public
7470
- * <p>The hypervisor type of the image.</p>
7483
+ * <p>The hypervisor type of the image. Only <code>xen</code> is supported. <code>ovm</code> is
7484
+ * not supported.</p>
7471
7485
  */
7472
- Hypervisor?: HypervisorType | string;
7486
+ Hypervisor?: HypervisorType;
7473
7487
  /**
7474
7488
  * @public
7475
7489
  * <p>The Amazon Web Services account alias (for example, <code>amazon</code>, <code>self</code>) or
@@ -7490,7 +7504,7 @@ export interface Image {
7490
7504
  * @public
7491
7505
  * <p>The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.</p>
7492
7506
  */
7493
- RootDeviceType?: DeviceType | string;
7507
+ RootDeviceType?: DeviceType;
7494
7508
  /**
7495
7509
  * @public
7496
7510
  * <p>Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.</p>
@@ -7510,20 +7524,20 @@ export interface Image {
7510
7524
  * @public
7511
7525
  * <p>The type of virtualization of the AMI.</p>
7512
7526
  */
7513
- VirtualizationType?: VirtualizationType | string;
7527
+ VirtualizationType?: VirtualizationType;
7514
7528
  /**
7515
7529
  * @public
7516
7530
  * <p>The boot mode of the image. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
7517
7531
  * <i>Amazon EC2 User Guide</i>.</p>
7518
7532
  */
7519
- BootMode?: BootModeValues | string;
7533
+ BootMode?: BootModeValues;
7520
7534
  /**
7521
7535
  * @public
7522
7536
  * <p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>.
7523
7537
  * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html">NitroTPM</a> in the
7524
7538
  * <i>Amazon EC2 User Guide</i>.</p>
7525
7539
  */
7526
- TpmSupport?: TpmSupportValues | string;
7540
+ TpmSupport?: TpmSupportValues;
7527
7541
  /**
7528
7542
  * @public
7529
7543
  * <p>The date and time to deprecate the AMI, in UTC, in the following format:
@@ -7541,7 +7555,13 @@ export interface Image {
7541
7555
  * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
7542
7556
  * the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
7543
7557
  */
7544
- ImdsSupport?: ImdsSupportValues | string;
7558
+ ImdsSupport?: ImdsSupportValues;
7559
+ /**
7560
+ * @public
7561
+ * <p>The ID of the instance that the AMI was created from if the AMI was created using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">CreateImage</a>. This field only appears if the AMI was created using
7562
+ * CreateImage.</p>
7563
+ */
7564
+ SourceInstanceId?: string;
7545
7565
  }
7546
7566
  /**
7547
7567
  * @public
@@ -7768,7 +7788,7 @@ export interface ImportImageTask {
7768
7788
  * @public
7769
7789
  * <p>The boot mode of the virtual machine.</p>
7770
7790
  */
7771
- BootMode?: BootModeValues | string;
7791
+ BootMode?: BootModeValues;
7772
7792
  }
7773
7793
  /**
7774
7794
  * @public
@@ -7959,7 +7979,7 @@ export interface DescribeInstanceAttributeRequest {
7959
7979
  * <p>The instance attribute.</p>
7960
7980
  * <p>Note: The <code>enaSupport</code> attribute is not supported at this time.</p>
7961
7981
  */
7962
- Attribute: InstanceAttributeName | string | undefined;
7982
+ Attribute: InstanceAttributeName | undefined;
7963
7983
  /**
7964
7984
  * @public
7965
7985
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -7992,7 +8012,7 @@ export interface EbsInstanceBlockDevice {
7992
8012
  * @public
7993
8013
  * <p>The attachment state.</p>
7994
8014
  */
7995
- Status?: AttachmentStatus | string;
8015
+ Status?: AttachmentStatus;
7996
8016
  /**
7997
8017
  * @public
7998
8018
  * <p>The ID of the EBS volume.</p>
@@ -9175,7 +9195,7 @@ export interface CapacityReservationSpecificationResponse {
9175
9195
  * </li>
9176
9196
  * </ul>
9177
9197
  */
9178
- CapacityReservationPreference?: CapacityReservationPreference | string;
9198
+ CapacityReservationPreference?: CapacityReservationPreference;
9179
9199
  /**
9180
9200
  * @public
9181
9201
  * <p>Information about the targeted Capacity Reservation or Capacity Reservation group.</p>
@@ -9202,7 +9222,7 @@ export interface CpuOptions {
9202
9222
  * <p>Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see
9203
9223
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html">AMD SEV-SNP</a>.</p>
9204
9224
  */
9205
- AmdSevSnp?: AmdSevSnpSpecification | string;
9225
+ AmdSevSnp?: AmdSevSnpSpecification;
9206
9226
  }
9207
9227
  /**
9208
9228
  * @public