@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
@@ -251,7 +251,7 @@ export interface TagSpecification {
251
251
  * @public
252
252
  * <p>The type of resource to tag on creation.</p>
253
253
  */
254
- ResourceType?: ResourceType | string;
254
+ ResourceType?: ResourceType;
255
255
  /**
256
256
  * @public
257
257
  * <p>The tags to apply to the resource.</p>
@@ -331,7 +331,7 @@ export interface AddressTransfer {
331
331
  * @public
332
332
  * <p>The Elastic IP address transfer status.</p>
333
333
  */
334
- AddressTransferStatus?: AddressTransferStatus | string;
334
+ AddressTransferStatus?: AddressTransferStatus;
335
335
  }
336
336
  /**
337
337
  * @public
@@ -470,7 +470,7 @@ export interface SubnetAssociation {
470
470
  * @public
471
471
  * <p>The state of the subnet association.</p>
472
472
  */
473
- State?: TransitGatewayMulitcastDomainAssociationState | string;
473
+ State?: TransitGatewayMulitcastDomainAssociationState;
474
474
  }
475
475
  /**
476
476
  * @public
@@ -496,7 +496,7 @@ export interface TransitGatewayMulticastDomainAssociations {
496
496
  * @public
497
497
  * <p>The type of resource, for example a VPC attachment.</p>
498
498
  */
499
- ResourceType?: TransitGatewayAttachmentResourceType | string;
499
+ ResourceType?: TransitGatewayAttachmentResourceType;
500
500
  /**
501
501
  * @public
502
502
  * <p> The ID of the Amazon Web Services account that owns the resource.</p>
@@ -582,7 +582,7 @@ export interface TransitGatewayPeeringAttachmentOptions {
582
582
  * @public
583
583
  * <p>Describes whether dynamic routing is enabled or disabled for the transit gateway peering attachment.</p>
584
584
  */
585
- DynamicRouting?: DynamicRoutingValue | string;
585
+ DynamicRouting?: DynamicRoutingValue;
586
586
  }
587
587
  /**
588
588
  * @public
@@ -662,7 +662,7 @@ export interface TransitGatewayPeeringAttachment {
662
662
  * @public
663
663
  * <p>The state of the transit gateway peering attachment. Note that the <code>initiating</code> state has been deprecated.</p>
664
664
  */
665
- State?: TransitGatewayAttachmentState | string;
665
+ State?: TransitGatewayAttachmentState;
666
666
  /**
667
667
  * @public
668
668
  * <p>The time the transit gateway peering attachment was created.</p>
@@ -746,17 +746,17 @@ export interface TransitGatewayVpcAttachmentOptions {
746
746
  * @public
747
747
  * <p>Indicates whether DNS support is enabled.</p>
748
748
  */
749
- DnsSupport?: DnsSupportValue | string;
749
+ DnsSupport?: DnsSupportValue;
750
750
  /**
751
751
  * @public
752
752
  * <p>Indicates whether IPv6 support is disabled.</p>
753
753
  */
754
- Ipv6Support?: Ipv6SupportValue | string;
754
+ Ipv6Support?: Ipv6SupportValue;
755
755
  /**
756
756
  * @public
757
757
  * <p>Indicates whether appliance mode support is enabled.</p>
758
758
  */
759
- ApplianceModeSupport?: ApplianceModeSupportValue | string;
759
+ ApplianceModeSupport?: ApplianceModeSupportValue;
760
760
  }
761
761
  /**
762
762
  * @public
@@ -787,7 +787,7 @@ export interface TransitGatewayVpcAttachment {
787
787
  * @public
788
788
  * <p>The state of the VPC attachment. Note that the <code>initiating</code> state has been deprecated.</p>
789
789
  */
790
- State?: TransitGatewayAttachmentState | string;
790
+ State?: TransitGatewayAttachmentState;
791
791
  /**
792
792
  * @public
793
793
  * <p>The IDs of the subnets.</p>
@@ -1015,7 +1015,7 @@ export interface VpcPeeringConnectionStateReason {
1015
1015
  * @public
1016
1016
  * <p>The status of the VPC peering connection.</p>
1017
1017
  */
1018
- Code?: VpcPeeringConnectionStateReasonCode | string;
1018
+ Code?: VpcPeeringConnectionStateReasonCode;
1019
1019
  /**
1020
1020
  * @public
1021
1021
  * <p>A message that provides more information about the status, if applicable.</p>
@@ -2053,7 +2053,7 @@ export interface PacketHeaderStatement {
2053
2053
  * @public
2054
2054
  * <p>The protocols.</p>
2055
2055
  */
2056
- Protocols?: (Protocol | string)[];
2056
+ Protocols?: Protocol[];
2057
2057
  }
2058
2058
  /**
2059
2059
  * @public
@@ -2158,7 +2158,7 @@ export interface PacketHeaderStatementRequest {
2158
2158
  * @public
2159
2159
  * <p>The protocols.</p>
2160
2160
  */
2161
- Protocols?: (Protocol | string)[];
2161
+ Protocols?: Protocol[];
2162
2162
  }
2163
2163
  /**
2164
2164
  * @public
@@ -2301,7 +2301,7 @@ export interface ActiveInstance {
2301
2301
  * or the system status check is <code>impaired</code>, the health status of the instance
2302
2302
  * is <code>unhealthy</code>. Otherwise, the health status is <code>healthy</code>.</p>
2303
2303
  */
2304
- InstanceHealth?: InstanceHealthStatus | string;
2304
+ InstanceHealth?: InstanceHealthStatus;
2305
2305
  }
2306
2306
  /**
2307
2307
  * @public
@@ -2342,7 +2342,7 @@ export interface AddedPrincipal {
2342
2342
  * @public
2343
2343
  * <p>The type of principal.</p>
2344
2344
  */
2345
- PrincipalType?: PrincipalType | string;
2345
+ PrincipalType?: PrincipalType;
2346
2346
  /**
2347
2347
  * @public
2348
2348
  * <p>The Amazon Resource Name (ARN) of the principal.</p>
@@ -2430,7 +2430,7 @@ export interface Address {
2430
2430
  * @public
2431
2431
  * <p>The network (<code>vpc</code>).</p>
2432
2432
  */
2433
- Domain?: DomainType | string;
2433
+ Domain?: DomainType;
2434
2434
  /**
2435
2435
  * @public
2436
2436
  * <p>The ID of the network interface.</p>
@@ -2610,7 +2610,7 @@ export interface ByoipCidr {
2610
2610
  * @public
2611
2611
  * <p>The state of the address pool.</p>
2612
2612
  */
2613
- State?: ByoipCidrState | string;
2613
+ State?: ByoipCidrState;
2614
2614
  }
2615
2615
  /**
2616
2616
  * @public
@@ -2642,7 +2642,7 @@ export interface AllocateAddressRequest {
2642
2642
  * @public
2643
2643
  * <p>The network (<code>vpc</code>).</p>
2644
2644
  */
2645
- Domain?: DomainType | string;
2645
+ Domain?: DomainType;
2646
2646
  /**
2647
2647
  * @public
2648
2648
  * <p>The Elastic IP address to recover or an IPv4 address from an address pool.</p>
@@ -2711,7 +2711,7 @@ export interface AllocateAddressResult {
2711
2711
  * @public
2712
2712
  * <p>The network (<code>vpc</code>).</p>
2713
2713
  */
2714
- Domain?: DomainType | string;
2714
+ Domain?: DomainType;
2715
2715
  /**
2716
2716
  * @public
2717
2717
  * <p>The customer-owned IP address.</p>
@@ -2778,7 +2778,7 @@ export interface AllocateHostsRequest {
2778
2778
  * <p>Default: <code>on</code>
2779
2779
  * </p>
2780
2780
  */
2781
- AutoPlacement?: AutoPlacement | string;
2781
+ AutoPlacement?: AutoPlacement;
2782
2782
  /**
2783
2783
  * @public
2784
2784
  * <p>The Availability Zone in which to allocate the Dedicated Host.</p>
@@ -2832,7 +2832,7 @@ export interface AllocateHostsRequest {
2832
2832
  * <p>Default: <code>off</code>
2833
2833
  * </p>
2834
2834
  */
2835
- HostRecovery?: HostRecovery | string;
2835
+ HostRecovery?: HostRecovery;
2836
2836
  /**
2837
2837
  * @public
2838
2838
  * <p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate
@@ -2847,7 +2847,7 @@ export interface AllocateHostsRequest {
2847
2847
  * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html">Host
2848
2848
  * maintenance</a> in the <i>Amazon EC2 User Guide</i>.</p>
2849
2849
  */
2850
- HostMaintenance?: HostMaintenance | string;
2850
+ HostMaintenance?: HostMaintenance;
2851
2851
  /**
2852
2852
  * @public
2853
2853
  * <p>The IDs of the Outpost hardware assets on which to allocate the Dedicated Hosts. Targeting
@@ -2991,7 +2991,7 @@ export interface IpamPoolAllocation {
2991
2991
  * @public
2992
2992
  * <p>The type of the resource.</p>
2993
2993
  */
2994
- ResourceType?: IpamPoolAllocationResourceType | string;
2994
+ ResourceType?: IpamPoolAllocationResourceType;
2995
2995
  /**
2996
2996
  * @public
2997
2997
  * <p>The Amazon Web Services Region of the resource.</p>
@@ -3064,7 +3064,7 @@ export interface AllowedPrincipal {
3064
3064
  * @public
3065
3065
  * <p>The type of principal.</p>
3066
3066
  */
3067
- PrincipalType?: PrincipalType | string;
3067
+ PrincipalType?: PrincipalType;
3068
3068
  /**
3069
3069
  * @public
3070
3070
  * <p>The Amazon Resource Name (ARN) of the principal.</p>
@@ -3375,7 +3375,7 @@ export interface NatGatewayAddress {
3375
3375
  * @public
3376
3376
  * <p>The address status.</p>
3377
3377
  */
3378
- Status?: NatGatewayAddressStatus | string;
3378
+ Status?: NatGatewayAddressStatus;
3379
3379
  }
3380
3380
  /**
3381
3381
  * @public
@@ -3495,7 +3495,7 @@ export interface AssociationStatus {
3495
3495
  * @public
3496
3496
  * <p>The state of the target network association.</p>
3497
3497
  */
3498
- Code?: AssociationStatusCode | string;
3498
+ Code?: AssociationStatusCode;
3499
3499
  /**
3500
3500
  * @public
3501
3501
  * <p>A message about the status of the target network association, if applicable.</p>
@@ -3667,7 +3667,7 @@ export interface IamInstanceProfileAssociation {
3667
3667
  * @public
3668
3668
  * <p>The state of the association.</p>
3669
3669
  */
3670
- State?: IamInstanceProfileAssociationState | string;
3670
+ State?: IamInstanceProfileAssociationState;
3671
3671
  /**
3672
3672
  * @public
3673
3673
  * <p>The time the IAM instance profile was associated with the instance.</p>
@@ -3794,7 +3794,7 @@ export interface InstanceEventWindowTimeRange {
3794
3794
  * @public
3795
3795
  * <p>The day on which the time range begins.</p>
3796
3796
  */
3797
- StartWeekDay?: WeekDay | string;
3797
+ StartWeekDay?: WeekDay;
3798
3798
  /**
3799
3799
  * @public
3800
3800
  * <p>The hour when the time range begins.</p>
@@ -3804,7 +3804,7 @@ export interface InstanceEventWindowTimeRange {
3804
3804
  * @public
3805
3805
  * <p>The day on which the time range ends.</p>
3806
3806
  */
3807
- EndWeekDay?: WeekDay | string;
3807
+ EndWeekDay?: WeekDay;
3808
3808
  /**
3809
3809
  * @public
3810
3810
  * <p>The hour when the time range ends.</p>
@@ -3845,7 +3845,7 @@ export interface InstanceEventWindow {
3845
3845
  * @public
3846
3846
  * <p>The current state of the event window.</p>
3847
3847
  */
3848
- State?: InstanceEventWindowState | string;
3848
+ State?: InstanceEventWindowState;
3849
3849
  /**
3850
3850
  * @public
3851
3851
  * <p>The instance tags associated with the event window.</p>
@@ -3986,7 +3986,7 @@ export interface IpamResourceDiscoveryAssociation {
3986
3986
  * </li>
3987
3987
  * </ul>
3988
3988
  */
3989
- ResourceDiscoveryStatus?: IpamAssociatedResourceDiscoveryStatus | string;
3989
+ ResourceDiscoveryStatus?: IpamAssociatedResourceDiscoveryStatus;
3990
3990
  /**
3991
3991
  * @public
3992
3992
  * <p>The lifecycle state of the association when you associate or disassociate a resource discovery.</p>
@@ -4029,7 +4029,7 @@ export interface IpamResourceDiscoveryAssociation {
4029
4029
  * </li>
4030
4030
  * </ul>
4031
4031
  */
4032
- State?: IpamResourceDiscoveryAssociationState | string;
4032
+ State?: IpamResourceDiscoveryAssociationState;
4033
4033
  /**
4034
4034
  * @public
4035
4035
  * <p>A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.</p>
@@ -4139,7 +4139,7 @@ export interface RouteTableAssociationState {
4139
4139
  * @public
4140
4140
  * <p>The state of the association.</p>
4141
4141
  */
4142
- State?: RouteTableAssociationStateCode | string;
4142
+ State?: RouteTableAssociationStateCode;
4143
4143
  /**
4144
4144
  * @public
4145
4145
  * <p>The status message, if applicable.</p>
@@ -4203,7 +4203,7 @@ export interface SubnetCidrBlockState {
4203
4203
  * @public
4204
4204
  * <p>The state of a CIDR block.</p>
4205
4205
  */
4206
- State?: SubnetCidrBlockStateCode | string;
4206
+ State?: SubnetCidrBlockStateCode;
4207
4207
  /**
4208
4208
  * @public
4209
4209
  * <p>A message about the status of the CIDR block, if applicable.</p>
@@ -4343,12 +4343,12 @@ export interface TransitGatewayPolicyTableAssociation {
4343
4343
  * @public
4344
4344
  * <p>The resource type for the transit gateway policy table association.</p>
4345
4345
  */
4346
- ResourceType?: TransitGatewayAttachmentResourceType | string;
4346
+ ResourceType?: TransitGatewayAttachmentResourceType;
4347
4347
  /**
4348
4348
  * @public
4349
4349
  * <p>The state of the transit gateway policy table association.</p>
4350
4350
  */
4351
- State?: TransitGatewayAssociationState | string;
4351
+ State?: TransitGatewayAssociationState;
4352
4352
  }
4353
4353
  /**
4354
4354
  * @public
@@ -4406,12 +4406,12 @@ export interface TransitGatewayAssociation {
4406
4406
  * @public
4407
4407
  * <p>The resource type. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>
4408
4408
  */
4409
- ResourceType?: TransitGatewayAttachmentResourceType | string;
4409
+ ResourceType?: TransitGatewayAttachmentResourceType;
4410
4410
  /**
4411
4411
  * @public
4412
4412
  * <p>The state of the association.</p>
4413
4413
  */
4414
- State?: TransitGatewayAssociationState | string;
4414
+ State?: TransitGatewayAssociationState;
4415
4415
  }
4416
4416
  /**
4417
4417
  * @public
@@ -4502,7 +4502,7 @@ export interface TrunkInterfaceAssociation {
4502
4502
  * @public
4503
4503
  * <p>The interface protocol. Valid values are <code>VLAN</code> and <code>GRE</code>.</p>
4504
4504
  */
4505
- InterfaceProtocol?: InterfaceProtocolType | string;
4505
+ InterfaceProtocol?: InterfaceProtocolType;
4506
4506
  /**
4507
4507
  * @public
4508
4508
  * <p>The ID of the VLAN when you use the VLAN protocol.</p>
@@ -4621,7 +4621,7 @@ export interface VpcCidrBlockState {
4621
4621
  * @public
4622
4622
  * <p>The state of the CIDR block.</p>
4623
4623
  */
4624
- State?: VpcCidrBlockStateCode | string;
4624
+ State?: VpcCidrBlockStateCode;
4625
4625
  /**
4626
4626
  * @public
4627
4627
  * <p>A message about the status of the CIDR block, if applicable.</p>
@@ -4937,17 +4937,17 @@ export interface VerifiedAccessTrustProviderCondensed {
4937
4937
  * @public
4938
4938
  * <p>The type of trust provider (user- or device-based).</p>
4939
4939
  */
4940
- TrustProviderType?: TrustProviderType | string;
4940
+ TrustProviderType?: TrustProviderType;
4941
4941
  /**
4942
4942
  * @public
4943
4943
  * <p>The type of user-based trust provider.</p>
4944
4944
  */
4945
- UserTrustProviderType?: UserTrustProviderType | string;
4945
+ UserTrustProviderType?: UserTrustProviderType;
4946
4946
  /**
4947
4947
  * @public
4948
4948
  * <p>The type of device-based trust provider.</p>
4949
4949
  */
4950
- DeviceTrustProviderType?: DeviceTrustProviderType | string;
4950
+ DeviceTrustProviderType?: DeviceTrustProviderType;
4951
4951
  }
4952
4952
  /**
4953
4953
  * @public
@@ -5086,17 +5086,17 @@ export interface VerifiedAccessTrustProvider {
5086
5086
  * @public
5087
5087
  * <p>The type of Verified Access trust provider.</p>
5088
5088
  */
5089
- TrustProviderType?: TrustProviderType | string;
5089
+ TrustProviderType?: TrustProviderType;
5090
5090
  /**
5091
5091
  * @public
5092
5092
  * <p>The type of user-based trust provider.</p>
5093
5093
  */
5094
- UserTrustProviderType?: UserTrustProviderType | string;
5094
+ UserTrustProviderType?: UserTrustProviderType;
5095
5095
  /**
5096
5096
  * @public
5097
5097
  * <p>The type of device-based trust provider.</p>
5098
5098
  */
5099
- DeviceTrustProviderType?: DeviceTrustProviderType | string;
5099
+ DeviceTrustProviderType?: DeviceTrustProviderType;
5100
5100
  /**
5101
5101
  * @public
5102
5102
  * <p>The options for an OpenID Connect-compatible user-identity trust provider.</p>
@@ -5217,7 +5217,7 @@ export interface VolumeAttachment {
5217
5217
  * @public
5218
5218
  * <p>The attachment state of the volume.</p>
5219
5219
  */
5220
- State?: VolumeAttachmentState | string;
5220
+ State?: VolumeAttachmentState;
5221
5221
  /**
5222
5222
  * @public
5223
5223
  * <p>The ID of the volume.</p>
@@ -5276,7 +5276,7 @@ export interface VpcAttachment {
5276
5276
  * @public
5277
5277
  * <p>The current state of the attachment.</p>
5278
5278
  */
5279
- State?: AttachmentStatus | string;
5279
+ State?: AttachmentStatus;
5280
5280
  /**
5281
5281
  * @public
5282
5282
  * <p>The ID of the VPC.</p>
@@ -5359,7 +5359,7 @@ export interface ClientVpnAuthorizationRuleStatus {
5359
5359
  * @public
5360
5360
  * <p>The state of the authorization rule.</p>
5361
5361
  */
5362
- Code?: ClientVpnAuthorizationRuleStatusCode | string;
5362
+ Code?: ClientVpnAuthorizationRuleStatusCode;
5363
5363
  /**
5364
5364
  * @public
5365
5365
  * <p>A message about the status of the authorization rule, if applicable.</p>
@@ -5958,7 +5958,7 @@ export interface BundleTask {
5958
5958
  * @public
5959
5959
  * <p>The state of the task.</p>
5960
5960
  */
5961
- State?: BundleTaskState | string;
5961
+ State?: BundleTaskState;
5962
5962
  /**
5963
5963
  * @public
5964
5964
  * <p>The Amazon S3 storage locations.</p>
@@ -6110,12 +6110,12 @@ export interface CapacityReservationFleetCancellationState {
6110
6110
  * @public
6111
6111
  * <p>The current state of the Capacity Reservation Fleet.</p>
6112
6112
  */
6113
- CurrentFleetState?: CapacityReservationFleetState | string;
6113
+ CurrentFleetState?: CapacityReservationFleetState;
6114
6114
  /**
6115
6115
  * @public
6116
6116
  * <p>The previous state of the Capacity Reservation Fleet.</p>
6117
6117
  */
6118
- PreviousFleetState?: CapacityReservationFleetState | string;
6118
+ PreviousFleetState?: CapacityReservationFleetState;
6119
6119
  /**
6120
6120
  * @public
6121
6121
  * <p>The ID of the Capacity Reservation Fleet that was successfully cancelled.</p>
@@ -6278,7 +6278,7 @@ export interface InstanceCount {
6278
6278
  * @public
6279
6279
  * <p>The states of the listed Reserved Instances.</p>
6280
6280
  */
6281
- State?: ListingState | string;
6281
+ State?: ListingState;
6282
6282
  }
6283
6283
  /**
6284
6284
  * @public
@@ -6307,7 +6307,7 @@ export interface PriceSchedule {
6307
6307
  * <p>The currency for transacting the Reserved Instance resale.
6308
6308
  * At this time, the only supported currency is <code>USD</code>.</p>
6309
6309
  */
6310
- CurrencyCode?: CurrencyCodeValues | string;
6310
+ CurrencyCode?: CurrencyCodeValues;
6311
6311
  /**
6312
6312
  * @public
6313
6313
  * <p>The fixed price for the term.</p>
@@ -6373,7 +6373,7 @@ export interface ReservedInstancesListing {
6373
6373
  * @public
6374
6374
  * <p>The status of the Reserved Instance listing.</p>
6375
6375
  */
6376
- Status?: ListingStatus | string;
6376
+ Status?: ListingStatus;
6377
6377
  /**
6378
6378
  * @public
6379
6379
  * <p>The reason for the current status of the Reserved Instance listing. The response can be blank.</p>
@@ -6453,12 +6453,12 @@ export interface CancelSpotFleetRequestsSuccessItem {
6453
6453
  * @public
6454
6454
  * <p>The current state of the Spot Fleet request.</p>
6455
6455
  */
6456
- CurrentSpotFleetRequestState?: BatchState | string;
6456
+ CurrentSpotFleetRequestState?: BatchState;
6457
6457
  /**
6458
6458
  * @public
6459
6459
  * <p>The previous state of the Spot Fleet request.</p>
6460
6460
  */
6461
- PreviousSpotFleetRequestState?: BatchState | string;
6461
+ PreviousSpotFleetRequestState?: BatchState;
6462
6462
  /**
6463
6463
  * @public
6464
6464
  * <p>The ID of the Spot Fleet request.</p>
@@ -6488,7 +6488,7 @@ export interface CancelSpotFleetRequestsError {
6488
6488
  * @public
6489
6489
  * <p>The error code.</p>
6490
6490
  */
6491
- Code?: CancelBatchErrorCode | string;
6491
+ Code?: CancelBatchErrorCode;
6492
6492
  /**
6493
6493
  * @public
6494
6494
  * <p>The description for the error code.</p>
@@ -6575,7 +6575,7 @@ export interface CancelledSpotInstanceRequest {
6575
6575
  * @public
6576
6576
  * <p>The state of the Spot Instance request.</p>
6577
6577
  */
6578
- State?: CancelSpotInstanceRequestState | string;
6578
+ State?: CancelSpotInstanceRequestState;
6579
6579
  }
6580
6580
  /**
6581
6581
  * @public
@@ -6949,6 +6949,7 @@ export declare const CapacityReservationInstancePlatform: {
6949
6949
  readonly RHEL_WITH_SQL_SERVER_STANDARD: "RHEL with SQL Server Standard";
6950
6950
  readonly RHEL_WITH_SQL_SERVER_WEB: "RHEL with SQL Server Web";
6951
6951
  readonly SUSE_LINUX: "SUSE Linux";
6952
+ readonly UBUNTU_PRO_LINUX: "Ubuntu Pro";
6952
6953
  readonly WINDOWS: "Windows";
6953
6954
  readonly WINDOWS_WITH_SQL_SERVER: "Windows with SQL Server";
6954
6955
  readonly WINDOWS_WITH_SQL_SERVER_ENTERPRISE: "Windows with SQL Server Enterprise";
@@ -6989,7 +6990,7 @@ export interface CreateCapacityReservationRequest {
6989
6990
  * @public
6990
6991
  * <p>The type of operating system for which to reserve capacity.</p>
6991
6992
  */
6992
- InstancePlatform: CapacityReservationInstancePlatform | string | undefined;
6993
+ InstancePlatform: CapacityReservationInstancePlatform | undefined;
6993
6994
  /**
6994
6995
  * @public
6995
6996
  * <p>The Availability Zone in which to create the Capacity Reservation.</p>
@@ -7014,7 +7015,7 @@ export interface CreateCapacityReservationRequest {
7014
7015
  * </li>
7015
7016
  * </ul>
7016
7017
  */
7017
- Tenancy?: CapacityReservationTenancy | string;
7018
+ Tenancy?: CapacityReservationTenancy;
7018
7019
  /**
7019
7020
  * @public
7020
7021
  * <p>The number of instances for which to reserve capacity.</p>
@@ -7067,7 +7068,7 @@ export interface CreateCapacityReservationRequest {
7067
7068
  * </li>
7068
7069
  * </ul>
7069
7070
  */
7070
- EndDateType?: EndDateType | string;
7071
+ EndDateType?: EndDateType;
7071
7072
  /**
7072
7073
  * @public
7073
7074
  * <p>Indicates the type of instance launches that the Capacity Reservation accepts. The options
@@ -7089,7 +7090,7 @@ export interface CreateCapacityReservationRequest {
7089
7090
  * <p>Default: <code>open</code>
7090
7091
  * </p>
7091
7092
  */
7092
- InstanceMatchCriteria?: InstanceMatchCriteria | string;
7093
+ InstanceMatchCriteria?: InstanceMatchCriteria;
7093
7094
  /**
7094
7095
  * @public
7095
7096
  * <p>The tags to apply to the Capacity Reservation during launch.</p>
@@ -7125,7 +7126,7 @@ export interface CapacityAllocation {
7125
7126
  * <p>The usage type. <code>used</code> indicates that the instance capacity is
7126
7127
  * in use by instances that are running in the Capacity Reservation.</p>
7127
7128
  */
7128
- AllocationType?: AllocationType | string;
7129
+ AllocationType?: AllocationType;
7129
7130
  /**
7130
7131
  * @public
7131
7132
  * <p>The amount of instance capacity associated with the usage. For example a value of
@@ -7182,7 +7183,7 @@ export interface CapacityReservation {
7182
7183
  * @public
7183
7184
  * <p>The type of operating system for which the Capacity Reservation reserves capacity.</p>
7184
7185
  */
7185
- InstancePlatform?: CapacityReservationInstancePlatform | string;
7186
+ InstancePlatform?: CapacityReservationInstancePlatform;
7186
7187
  /**
7187
7188
  * @public
7188
7189
  * <p>The Availability Zone in which the capacity is reserved.</p>
@@ -7202,7 +7203,7 @@ export interface CapacityReservation {
7202
7203
  * </li>
7203
7204
  * </ul>
7204
7205
  */
7205
- Tenancy?: CapacityReservationTenancy | string;
7206
+ Tenancy?: CapacityReservationTenancy;
7206
7207
  /**
7207
7208
  * @public
7208
7209
  * <p>The total number of instances for which the Capacity Reservation reserves capacity.</p>
@@ -7259,7 +7260,7 @@ export interface CapacityReservation {
7259
7260
  * </li>
7260
7261
  * </ul>
7261
7262
  */
7262
- State?: CapacityReservationState | string;
7263
+ State?: CapacityReservationState;
7263
7264
  /**
7264
7265
  * @public
7265
7266
  * <p>The date and time at which the Capacity Reservation was started.</p>
@@ -7287,7 +7288,7 @@ export interface CapacityReservation {
7287
7288
  * </li>
7288
7289
  * </ul>
7289
7290
  */
7290
- EndDateType?: EndDateType | string;
7291
+ EndDateType?: EndDateType;
7291
7292
  /**
7292
7293
  * @public
7293
7294
  * <p>Indicates the type of instance launches that the Capacity Reservation accepts. The options
@@ -7307,7 +7308,7 @@ export interface CapacityReservation {
7307
7308
  * </li>
7308
7309
  * </ul>
7309
7310
  */
7310
- InstanceMatchCriteria?: InstanceMatchCriteria | string;
7311
+ InstanceMatchCriteria?: InstanceMatchCriteria;
7311
7312
  /**
7312
7313
  * @public
7313
7314
  * <p>The date and time at which the Capacity Reservation was created.</p>
@@ -8134,12 +8135,12 @@ export interface ReservationFleetInstanceSpecification {
8134
8135
  * @public
8135
8136
  * <p>The instance type for which the Capacity Reservation Fleet reserves capacity.</p>
8136
8137
  */
8137
- InstanceType?: _InstanceType | string;
8138
+ InstanceType?: _InstanceType;
8138
8139
  /**
8139
8140
  * @public
8140
8141
  * <p>The type of operating system for which the Capacity Reservation Fleet reserves capacity.</p>
8141
8142
  */
8142
- InstancePlatform?: CapacityReservationInstancePlatform | string;
8143
+ InstancePlatform?: CapacityReservationInstancePlatform;
8143
8144
  /**
8144
8145
  * @public
8145
8146
  * <p>The number of capacity units provided by the specified instance type. This value, together with the
@@ -8233,7 +8234,7 @@ export interface CreateCapacityReservationFleetRequest {
8233
8234
  * </li>
8234
8235
  * </ul>
8235
8236
  */
8236
- Tenancy?: FleetCapacityReservationTenancy | string;
8237
+ Tenancy?: FleetCapacityReservationTenancy;
8237
8238
  /**
8238
8239
  * @public
8239
8240
  * <p>The total number of capacity units to be reserved by the Capacity Reservation Fleet. This
@@ -8264,7 +8265,7 @@ export interface CreateCapacityReservationFleetRequest {
8264
8265
  * Availability Zone) run in the Capacity Reservations automatically. Instances do not need to
8265
8266
  * explicitly target a Capacity Reservation Fleet to use its reserved capacity.</p>
8266
8267
  */
8267
- InstanceMatchCriteria?: FleetInstanceMatchCriteria | string;
8268
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria;
8268
8269
  /**
8269
8270
  * @public
8270
8271
  * <p>The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned
@@ -8296,12 +8297,12 @@ export interface FleetCapacityReservation {
8296
8297
  * @public
8297
8298
  * <p>The instance type for which the Capacity Reservation reserves capacity.</p>
8298
8299
  */
8299
- InstanceType?: _InstanceType | string;
8300
+ InstanceType?: _InstanceType;
8300
8301
  /**
8301
8302
  * @public
8302
8303
  * <p>The type of operating system for which the Capacity Reservation reserves capacity.</p>
8303
8304
  */
8304
- InstancePlatform?: CapacityReservationInstancePlatform | string;
8305
+ InstancePlatform?: CapacityReservationInstancePlatform;
8305
8306
  /**
8306
8307
  * @public
8307
8308
  * <p>The Availability Zone in which the Capacity Reservation reserves capacity.</p>
@@ -8357,7 +8358,7 @@ export interface CreateCapacityReservationFleetResult {
8357
8358
  * @public
8358
8359
  * <p>The status of the Capacity Reservation Fleet.</p>
8359
8360
  */
8360
- State?: CapacityReservationFleetState | string;
8361
+ State?: CapacityReservationFleetState;
8361
8362
  /**
8362
8363
  * @public
8363
8364
  * <p>The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.</p>
@@ -8372,7 +8373,7 @@ export interface CreateCapacityReservationFleetResult {
8372
8373
  * @public
8373
8374
  * <p>The instance matching criteria for the Capacity Reservation Fleet.</p>
8374
8375
  */
8375
- InstanceMatchCriteria?: FleetInstanceMatchCriteria | string;
8376
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria;
8376
8377
  /**
8377
8378
  * @public
8378
8379
  * <p>The allocation strategy used by the Capacity Reservation Fleet.</p>
@@ -8392,7 +8393,7 @@ export interface CreateCapacityReservationFleetResult {
8392
8393
  * @public
8393
8394
  * <p>Indicates the tenancy of Capacity Reservation Fleet.</p>
8394
8395
  */
8395
- Tenancy?: FleetCapacityReservationTenancy | string;
8396
+ Tenancy?: FleetCapacityReservationTenancy;
8396
8397
  /**
8397
8398
  * @public
8398
8399
  * <p>Information about the individual Capacity Reservations in the Capacity Reservation Fleet.</p>
@@ -8466,7 +8467,7 @@ export interface CarrierGateway {
8466
8467
  * @public
8467
8468
  * <p>The state of the carrier gateway.</p>
8468
8469
  */
8469
- State?: CarrierGatewayState | string;
8470
+ State?: CarrierGatewayState;
8470
8471
  /**
8471
8472
  * @public
8472
8473
  * <p>The Amazon Web Services account ID of the owner of the carrier gateway.</p>