@aws-sdk/client-ec2 3.428.0 → 3.430.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.
@@ -125,7 +125,7 @@ export interface InstanceMaintenanceOptions {
125
125
  * <p>Provides information on the current automatic recovery behavior of your
126
126
  * instance.</p>
127
127
  */
128
- AutoRecovery?: InstanceAutoRecoveryState | string;
128
+ AutoRecovery?: InstanceAutoRecoveryState;
129
129
  }
130
130
  /**
131
131
  * @public
@@ -202,7 +202,7 @@ export interface InstanceMetadataOptionsResponse {
202
202
  * <code>applied</code> - The metadata options have been successfully applied on the
203
203
  * instance.</p>
204
204
  */
205
- State?: InstanceMetadataOptionsState | string;
205
+ State?: InstanceMetadataOptionsState;
206
206
  /**
207
207
  * @public
208
208
  * <p>IMDSv2 uses token-backed sessions. Indicates whether the use of HTTP tokens is
@@ -227,7 +227,7 @@ export interface InstanceMetadataOptionsResponse {
227
227
  * <p>Default: <code>optional</code>
228
228
  * </p>
229
229
  */
230
- HttpTokens?: HttpTokensState | string;
230
+ HttpTokens?: HttpTokensState;
231
231
  /**
232
232
  * @public
233
233
  * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
@@ -243,20 +243,20 @@ export interface InstanceMetadataOptionsResponse {
243
243
  * <p>If the value is <code>disabled</code>, you cannot access your instance
244
244
  * metadata.</p>
245
245
  */
246
- HttpEndpoint?: InstanceMetadataEndpointState | string;
246
+ HttpEndpoint?: InstanceMetadataEndpointState;
247
247
  /**
248
248
  * @public
249
249
  * <p>Indicates whether the IPv6 endpoint for the instance metadata service is enabled or
250
250
  * disabled.</p>
251
251
  */
252
- HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
252
+ HttpProtocolIpv6?: InstanceMetadataProtocolState;
253
253
  /**
254
254
  * @public
255
255
  * <p>Indicates whether access to instance tags from the instance metadata is enabled or
256
256
  * disabled. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
257
257
  * instance tags using the instance metadata</a>.</p>
258
258
  */
259
- InstanceMetadataTags?: InstanceMetadataTagsState | string;
259
+ InstanceMetadataTags?: InstanceMetadataTagsState;
260
260
  }
261
261
  /**
262
262
  * @public
@@ -282,7 +282,7 @@ export interface Monitoring {
282
282
  * <p>Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is
283
283
  * enabled.</p>
284
284
  */
285
- State?: MonitoringState | string;
285
+ State?: MonitoringState;
286
286
  }
287
287
  /**
288
288
  * @public
@@ -344,7 +344,7 @@ export interface InstanceNetworkInterfaceAttachment {
344
344
  * @public
345
345
  * <p>The attachment state.</p>
346
346
  */
347
- Status?: AttachmentStatus | string;
347
+ Status?: AttachmentStatus;
348
348
  /**
349
349
  * @public
350
350
  * <p>The index of the network card.</p>
@@ -469,7 +469,7 @@ export interface InstanceNetworkInterface {
469
469
  * @public
470
470
  * <p>The status of the network interface.</p>
471
471
  */
472
- Status?: NetworkInterfaceStatus | string;
472
+ Status?: NetworkInterfaceStatus;
473
473
  /**
474
474
  * @public
475
475
  * <p>The ID of the subnet.</p>
@@ -507,7 +507,7 @@ export interface PrivateDnsNameOptionsResponse {
507
507
  * @public
508
508
  * <p>The type of hostname to assign to an instance.</p>
509
509
  */
510
- HostnameType?: HostnameType | string;
510
+ HostnameType?: HostnameType;
511
511
  /**
512
512
  * @public
513
513
  * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
@@ -592,7 +592,7 @@ export interface InstanceState {
592
592
  * @public
593
593
  * <p>The current state of the instance.</p>
594
594
  */
595
- Name?: InstanceStateName | string;
595
+ Name?: InstanceStateName;
596
596
  }
597
597
  /**
598
598
  * @public
@@ -619,7 +619,7 @@ export interface Instance {
619
619
  * @public
620
620
  * <p>The instance type.</p>
621
621
  */
622
- InstanceType?: _InstanceType | string;
622
+ InstanceType?: _InstanceType;
623
623
  /**
624
624
  * @public
625
625
  * <p>The kernel associated with this instance, if applicable.</p>
@@ -650,7 +650,7 @@ export interface Instance {
650
650
  * @public
651
651
  * <p>The value is <code>Windows</code> for Windows instances; otherwise blank.</p>
652
652
  */
653
- Platform?: PlatformValues | string;
653
+ Platform?: PlatformValues;
654
654
  /**
655
655
  * @public
656
656
  * <p>[IPv4 only] The private DNS hostname name assigned to the instance. This DNS hostname
@@ -716,7 +716,7 @@ export interface Instance {
716
716
  * @public
717
717
  * <p>The architecture of the image.</p>
718
718
  */
719
- Architecture?: ArchitectureValues | string;
719
+ Architecture?: ArchitectureValues;
720
720
  /**
721
721
  * @public
722
722
  * <p>Any block device mapping entries for the instance.</p>
@@ -746,7 +746,7 @@ export interface Instance {
746
746
  * <p>The hypervisor type of the instance. The value <code>xen</code> is used for both Xen
747
747
  * and Nitro hypervisors.</p>
748
748
  */
749
- Hypervisor?: HypervisorType | string;
749
+ Hypervisor?: HypervisorType;
750
750
  /**
751
751
  * @public
752
752
  * <p>The IAM instance profile associated with the instance, if
@@ -757,7 +757,7 @@ export interface Instance {
757
757
  * @public
758
758
  * <p>Indicates whether this is a Spot Instance or a Scheduled Instance.</p>
759
759
  */
760
- InstanceLifecycle?: InstanceLifecycleType | string;
760
+ InstanceLifecycle?: InstanceLifecycleType;
761
761
  /**
762
762
  * @public
763
763
  * <p>The Elastic GPU associated with the instance.</p>
@@ -789,7 +789,7 @@ export interface Instance {
789
789
  * <p>The root device type used by the AMI. The AMI can use an EBS volume or an instance
790
790
  * store volume.</p>
791
791
  */
792
- RootDeviceType?: DeviceType | string;
792
+ RootDeviceType?: DeviceType;
793
793
  /**
794
794
  * @public
795
795
  * <p>The security groups for the instance.</p>
@@ -825,7 +825,7 @@ export interface Instance {
825
825
  * @public
826
826
  * <p>The virtualization type of the instance.</p>
827
827
  */
828
- VirtualizationType?: VirtualizationType | string;
828
+ VirtualizationType?: VirtualizationType;
829
829
  /**
830
830
  * @public
831
831
  * <p>The CPU options for the instance.</p>
@@ -873,7 +873,7 @@ export interface Instance {
873
873
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
874
874
  * <i>Amazon EC2 User Guide</i>.</p>
875
875
  */
876
- BootMode?: BootModeValues | string;
876
+ BootMode?: BootModeValues;
877
877
  /**
878
878
  * @public
879
879
  * <p>The platform details value for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html">AMI
@@ -920,7 +920,7 @@ export interface Instance {
920
920
  * <p>The boot mode that is used to boot the instance at launch or start. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
921
921
  * <i>Amazon EC2 User Guide</i>.</p>
922
922
  */
923
- CurrentInstanceBootMode?: InstanceBootModeValues | string;
923
+ CurrentInstanceBootMode?: InstanceBootModeValues;
924
924
  }
925
925
  /**
926
926
  * @public
@@ -1122,7 +1122,7 @@ export interface InstanceStatusEvent {
1122
1122
  * @public
1123
1123
  * <p>The event code.</p>
1124
1124
  */
1125
- Code?: EventCode | string;
1125
+ Code?: EventCode;
1126
1126
  /**
1127
1127
  * @public
1128
1128
  * <p>A description of the event.</p>
@@ -1187,12 +1187,12 @@ export interface InstanceStatusDetails {
1187
1187
  * @public
1188
1188
  * <p>The type of instance status.</p>
1189
1189
  */
1190
- Name?: StatusName | string;
1190
+ Name?: StatusName;
1191
1191
  /**
1192
1192
  * @public
1193
1193
  * <p>The status.</p>
1194
1194
  */
1195
- Status?: StatusType | string;
1195
+ Status?: StatusType;
1196
1196
  }
1197
1197
  /**
1198
1198
  * @public
@@ -1223,7 +1223,7 @@ export interface InstanceStatusSummary {
1223
1223
  * @public
1224
1224
  * <p>The status.</p>
1225
1225
  */
1226
- Status?: SummaryStatus | string;
1226
+ Status?: SummaryStatus;
1227
1227
  }
1228
1228
  /**
1229
1229
  * @public
@@ -1314,7 +1314,7 @@ export interface DescribeInstanceTypeOfferingsRequest {
1314
1314
  * @public
1315
1315
  * <p>The location type.</p>
1316
1316
  */
1317
- LocationType?: LocationType | string;
1317
+ LocationType?: LocationType;
1318
1318
  /**
1319
1319
  * @public
1320
1320
  * <p>One or more filters. Filter names and values are case-sensitive.</p>
@@ -1354,12 +1354,12 @@ export interface InstanceTypeOffering {
1354
1354
  * @public
1355
1355
  * <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
1356
1356
  */
1357
- InstanceType?: _InstanceType | string;
1357
+ InstanceType?: _InstanceType;
1358
1358
  /**
1359
1359
  * @public
1360
1360
  * <p>The location type.</p>
1361
1361
  */
1362
- LocationType?: LocationType | string;
1362
+ LocationType?: LocationType;
1363
1363
  /**
1364
1364
  * @public
1365
1365
  * <p>The identifier for the location. This depends on the location type. For example, if the location type is
@@ -1398,7 +1398,7 @@ export interface DescribeInstanceTypesRequest {
1398
1398
  * @public
1399
1399
  * <p>The instance types. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
1400
1400
  */
1401
- InstanceTypes?: (_InstanceType | string)[];
1401
+ InstanceTypes?: _InstanceType[];
1402
1402
  /**
1403
1403
  * @public
1404
1404
  * <p>One or more filters. Filter names and values are case-sensitive.</p>
@@ -1742,12 +1742,12 @@ export interface EbsInfo {
1742
1742
  * <p>Indicates whether the instance type is Amazon EBS-optimized. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html">Amazon EBS-optimized
1743
1743
  * instances</a> in <i>Amazon EC2 User Guide</i>.</p>
1744
1744
  */
1745
- EbsOptimizedSupport?: EbsOptimizedSupport | string;
1745
+ EbsOptimizedSupport?: EbsOptimizedSupport;
1746
1746
  /**
1747
1747
  * @public
1748
1748
  * <p>Indicates whether Amazon EBS encryption is supported.</p>
1749
1749
  */
1750
- EncryptionSupport?: EbsEncryptionSupport | string;
1750
+ EncryptionSupport?: EbsEncryptionSupport;
1751
1751
  /**
1752
1752
  * @public
1753
1753
  * <p>Describes the optimized EBS performance for the instance type.</p>
@@ -1757,7 +1757,7 @@ export interface EbsInfo {
1757
1757
  * @public
1758
1758
  * <p>Indicates whether non-volatile memory express (NVMe) is supported.</p>
1759
1759
  */
1760
- NvmeSupport?: EbsNvmeSupport | string;
1760
+ NvmeSupport?: EbsNvmeSupport;
1761
1761
  }
1762
1762
  /**
1763
1763
  * @public
@@ -1961,7 +1961,7 @@ export interface DiskInfo {
1961
1961
  * @public
1962
1962
  * <p>The type of disk.</p>
1963
1963
  */
1964
- Type?: DiskType | string;
1964
+ Type?: DiskType;
1965
1965
  }
1966
1966
  /**
1967
1967
  * @public
@@ -2007,12 +2007,12 @@ export interface InstanceStorageInfo {
2007
2007
  * @public
2008
2008
  * <p>Indicates whether non-volatile memory express (NVMe) is supported.</p>
2009
2009
  */
2010
- NvmeSupport?: EphemeralNvmeSupport | string;
2010
+ NvmeSupport?: EphemeralNvmeSupport;
2011
2011
  /**
2012
2012
  * @public
2013
2013
  * <p>Indicates whether data is encrypted at rest.</p>
2014
2014
  */
2015
- EncryptionSupport?: InstanceStorageEncryptionSupport | string;
2015
+ EncryptionSupport?: InstanceStorageEncryptionSupport;
2016
2016
  }
2017
2017
  /**
2018
2018
  * @public
@@ -2129,7 +2129,7 @@ export interface NetworkInfo {
2129
2129
  * @public
2130
2130
  * <p>Indicates whether Elastic Network Adapter (ENA) is supported.</p>
2131
2131
  */
2132
- EnaSupport?: EnaSupport | string;
2132
+ EnaSupport?: EnaSupport;
2133
2133
  /**
2134
2134
  * @public
2135
2135
  * <p>Indicates whether Elastic Fabric Adapter (EFA) is supported.</p>
@@ -2210,7 +2210,7 @@ export interface PlacementGroupInfo {
2210
2210
  * @public
2211
2211
  * <p>The supported placement group types.</p>
2212
2212
  */
2213
- SupportedStrategies?: (PlacementGroupStrategy | string)[];
2213
+ SupportedStrategies?: PlacementGroupStrategy[];
2214
2214
  }
2215
2215
  /**
2216
2216
  * @public
@@ -2247,7 +2247,7 @@ export interface ProcessorInfo {
2247
2247
  * @public
2248
2248
  * <p>The architectures supported by the instance type.</p>
2249
2249
  */
2250
- SupportedArchitectures?: (ArchitectureType | string)[];
2250
+ SupportedArchitectures?: ArchitectureType[];
2251
2251
  /**
2252
2252
  * @public
2253
2253
  * <p>The speed of the processor, in GHz.</p>
@@ -2260,7 +2260,7 @@ export interface ProcessorInfo {
2260
2260
  * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html">
2261
2261
  * AMD SEV-SNP</a>.</p>
2262
2262
  */
2263
- SupportedFeatures?: (SupportedAdditionalProcessorFeature | string)[];
2263
+ SupportedFeatures?: SupportedAdditionalProcessorFeature[];
2264
2264
  }
2265
2265
  /**
2266
2266
  * @public
@@ -2338,7 +2338,7 @@ export interface InstanceTypeInfo {
2338
2338
  * @public
2339
2339
  * <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
2340
2340
  */
2341
- InstanceType?: _InstanceType | string;
2341
+ InstanceType?: _InstanceType;
2342
2342
  /**
2343
2343
  * @public
2344
2344
  * <p>Indicates whether the instance type is current generation.</p>
@@ -2353,17 +2353,17 @@ export interface InstanceTypeInfo {
2353
2353
  * @public
2354
2354
  * <p>Indicates whether the instance type is offered for spot or On-Demand.</p>
2355
2355
  */
2356
- SupportedUsageClasses?: (UsageClassType | string)[];
2356
+ SupportedUsageClasses?: UsageClassType[];
2357
2357
  /**
2358
2358
  * @public
2359
2359
  * <p>The supported root device types.</p>
2360
2360
  */
2361
- SupportedRootDeviceTypes?: (RootDeviceType | string)[];
2361
+ SupportedRootDeviceTypes?: RootDeviceType[];
2362
2362
  /**
2363
2363
  * @public
2364
2364
  * <p>The supported virtualization types.</p>
2365
2365
  */
2366
- SupportedVirtualizationTypes?: (VirtualizationType | string)[];
2366
+ SupportedVirtualizationTypes?: VirtualizationType[];
2367
2367
  /**
2368
2368
  * @public
2369
2369
  * <p>Indicates whether the instance is a bare metal instance type.</p>
@@ -2373,7 +2373,7 @@ export interface InstanceTypeInfo {
2373
2373
  * @public
2374
2374
  * <p>The hypervisor for the instance type.</p>
2375
2375
  */
2376
- Hypervisor?: InstanceTypeHypervisor | string;
2376
+ Hypervisor?: InstanceTypeHypervisor;
2377
2377
  /**
2378
2378
  * @public
2379
2379
  * <p>Describes the processor.</p>
@@ -2456,17 +2456,17 @@ export interface InstanceTypeInfo {
2456
2456
  * <p>The supported boot modes. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
2457
2457
  * <i>Amazon EC2 User Guide</i>.</p>
2458
2458
  */
2459
- SupportedBootModes?: (BootModeType | string)[];
2459
+ SupportedBootModes?: BootModeType[];
2460
2460
  /**
2461
2461
  * @public
2462
2462
  * <p>Indicates whether Nitro Enclaves is supported.</p>
2463
2463
  */
2464
- NitroEnclavesSupport?: NitroEnclavesSupport | string;
2464
+ NitroEnclavesSupport?: NitroEnclavesSupport;
2465
2465
  /**
2466
2466
  * @public
2467
2467
  * <p>Indicates whether NitroTPM is supported.</p>
2468
2468
  */
2469
- NitroTpmSupport?: NitroTpmSupport | string;
2469
+ NitroTpmSupport?: NitroTpmSupport;
2470
2470
  /**
2471
2471
  * @public
2472
2472
  * <p>Describes the supported NitroTPM versions for the instance type.</p>
@@ -2999,7 +2999,7 @@ export interface KeyPairInfo {
2999
2999
  * @public
3000
3000
  * <p>The type of key pair.</p>
3001
3001
  */
3002
- KeyType?: KeyType | string;
3002
+ KeyType?: KeyType;
3003
3003
  /**
3004
3004
  * @public
3005
3005
  * <p>Any tags applied to the key pair.</p>
@@ -3968,7 +3968,7 @@ export interface MovingAddressStatus {
3968
3968
  * @public
3969
3969
  * <p>The status of the Elastic IP address that's being moved or restored.</p>
3970
3970
  */
3971
- MoveStatus?: MoveStatus | string;
3971
+ MoveStatus?: MoveStatus;
3972
3972
  /**
3973
3973
  * @public
3974
3974
  * <p>The Elastic IP address.</p>
@@ -4296,7 +4296,7 @@ export interface NetworkInsightsAccessScopeAnalysis {
4296
4296
  * @public
4297
4297
  * <p>The status.</p>
4298
4298
  */
4299
- Status?: AnalysisStatus | string;
4299
+ Status?: AnalysisStatus;
4300
4300
  /**
4301
4301
  * @public
4302
4302
  * <p>The status message.</p>
@@ -4321,7 +4321,7 @@ export interface NetworkInsightsAccessScopeAnalysis {
4321
4321
  * @public
4322
4322
  * <p>Indicates whether there are findings.</p>
4323
4323
  */
4324
- FindingsFound?: FindingsFound | string;
4324
+ FindingsFound?: FindingsFound;
4325
4325
  /**
4326
4326
  * @public
4327
4327
  * <p>The number of network interfaces analyzed.</p>
@@ -4491,7 +4491,7 @@ export interface NetworkInsightsAnalysis {
4491
4491
  * @public
4492
4492
  * <p>The status of the network insights analysis.</p>
4493
4493
  */
4494
- Status?: AnalysisStatus | string;
4494
+ Status?: AnalysisStatus;
4495
4495
  /**
4496
4496
  * @public
4497
4497
  * <p>The status message, if the status is <code>failed</code>.</p>
@@ -4659,7 +4659,7 @@ export interface DescribeNetworkInterfaceAttributeRequest {
4659
4659
  * @public
4660
4660
  * <p>The attribute of the network interface. This parameter is required.</p>
4661
4661
  */
4662
- Attribute?: NetworkInterfaceAttribute | string;
4662
+ Attribute?: NetworkInterfaceAttribute;
4663
4663
  /**
4664
4664
  * @public
4665
4665
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -5577,7 +5577,7 @@ export interface DescribeReservedInstancesRequest {
5577
5577
  * @public
5578
5578
  * <p>Describes whether the Reserved Instance is Standard or Convertible.</p>
5579
5579
  */
5580
- OfferingClass?: OfferingClassType | string;
5580
+ OfferingClass?: OfferingClassType;
5581
5581
  /**
5582
5582
  * @public
5583
5583
  * <p>One or more Reserved Instance IDs.</p>
@@ -5597,7 +5597,7 @@ export interface DescribeReservedInstancesRequest {
5597
5597
  * version, you only have access to the <code>Medium Utilization</code> Reserved Instance
5598
5598
  * offering type.</p>
5599
5599
  */
5600
- OfferingType?: OfferingTypeValues | string;
5600
+ OfferingType?: OfferingTypeValues;
5601
5601
  }
5602
5602
  /**
5603
5603
  * @public
@@ -5638,7 +5638,7 @@ export interface RecurringCharge {
5638
5638
  * @public
5639
5639
  * <p>The frequency of the recurring charge.</p>
5640
5640
  */
5641
- Frequency?: RecurringChargeFrequency | string;
5641
+ Frequency?: RecurringChargeFrequency;
5642
5642
  }
5643
5643
  /**
5644
5644
  * @public
@@ -5702,12 +5702,12 @@ export interface ReservedInstances {
5702
5702
  * @public
5703
5703
  * <p>The instance type on which the Reserved Instance can be used.</p>
5704
5704
  */
5705
- InstanceType?: _InstanceType | string;
5705
+ InstanceType?: _InstanceType;
5706
5706
  /**
5707
5707
  * @public
5708
5708
  * <p>The Reserved Instance product platform description.</p>
5709
5709
  */
5710
- ProductDescription?: RIProductDescription | string;
5710
+ ProductDescription?: RIProductDescription;
5711
5711
  /**
5712
5712
  * @public
5713
5713
  * <p>The ID of the Reserved Instance.</p>
@@ -5722,7 +5722,7 @@ export interface ReservedInstances {
5722
5722
  * @public
5723
5723
  * <p>The state of the Reserved Instance purchase.</p>
5724
5724
  */
5725
- State?: ReservedInstanceState | string;
5725
+ State?: ReservedInstanceState;
5726
5726
  /**
5727
5727
  * @public
5728
5728
  * <p>The usage price of the Reserved Instance, per hour.</p>
@@ -5733,22 +5733,22 @@ export interface ReservedInstances {
5733
5733
  * <p>The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes.
5734
5734
  * At this time, the only supported currency is <code>USD</code>.</p>
5735
5735
  */
5736
- CurrencyCode?: CurrencyCodeValues | string;
5736
+ CurrencyCode?: CurrencyCodeValues;
5737
5737
  /**
5738
5738
  * @public
5739
5739
  * <p>The tenancy of the instance.</p>
5740
5740
  */
5741
- InstanceTenancy?: Tenancy | string;
5741
+ InstanceTenancy?: Tenancy;
5742
5742
  /**
5743
5743
  * @public
5744
5744
  * <p>The offering class of the Reserved Instance.</p>
5745
5745
  */
5746
- OfferingClass?: OfferingClassType | string;
5746
+ OfferingClass?: OfferingClassType;
5747
5747
  /**
5748
5748
  * @public
5749
5749
  * <p>The Reserved Instance offering type.</p>
5750
5750
  */
5751
- OfferingType?: OfferingTypeValues | string;
5751
+ OfferingType?: OfferingTypeValues;
5752
5752
  /**
5753
5753
  * @public
5754
5754
  * <p>The recurring charge tag assigned to the resource.</p>
@@ -5758,7 +5758,7 @@ export interface ReservedInstances {
5758
5758
  * @public
5759
5759
  * <p>The scope of the Reserved Instance.</p>
5760
5760
  */
5761
- Scope?: Scope | string;
5761
+ Scope?: Scope;
5762
5762
  /**
5763
5763
  * @public
5764
5764
  * <p>Any tags assigned to the resource.</p>
@@ -5921,7 +5921,7 @@ export interface ReservedInstancesConfiguration {
5921
5921
  * @public
5922
5922
  * <p>The instance type for the modified Reserved Instances.</p>
5923
5923
  */
5924
- InstanceType?: _InstanceType | string;
5924
+ InstanceType?: _InstanceType;
5925
5925
  /**
5926
5926
  * @public
5927
5927
  * <p>The network platform of the modified Reserved Instances.</p>
@@ -5931,7 +5931,7 @@ export interface ReservedInstancesConfiguration {
5931
5931
  * @public
5932
5932
  * <p>Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.</p>
5933
5933
  */
5934
- Scope?: Scope | string;
5934
+ Scope?: Scope;
5935
5935
  }
5936
5936
  /**
5937
5937
  * @public
@@ -6109,7 +6109,7 @@ export interface DescribeReservedInstancesOfferingsRequest {
6109
6109
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
6110
6110
  * <i>Amazon EC2 User Guide</i>.</p>
6111
6111
  */
6112
- InstanceType?: _InstanceType | string;
6112
+ InstanceType?: _InstanceType;
6113
6113
  /**
6114
6114
  * @public
6115
6115
  * <p>The maximum duration (in seconds) to filter when searching for offerings.</p>
@@ -6132,13 +6132,13 @@ export interface DescribeReservedInstancesOfferingsRequest {
6132
6132
  * @public
6133
6133
  * <p>The offering class of the Reserved Instance. Can be <code>standard</code> or <code>convertible</code>.</p>
6134
6134
  */
6135
- OfferingClass?: OfferingClassType | string;
6135
+ OfferingClass?: OfferingClassType;
6136
6136
  /**
6137
6137
  * @public
6138
6138
  * <p>The Reserved Instance product platform description. Instances that include <code>(Amazon
6139
6139
  * VPC)</code> in the description are for use with Amazon VPC.</p>
6140
6140
  */
6141
- ProductDescription?: RIProductDescription | string;
6141
+ ProductDescription?: RIProductDescription;
6142
6142
  /**
6143
6143
  * @public
6144
6144
  * <p>One or more Reserved Instances offering IDs.</p>
@@ -6161,7 +6161,7 @@ export interface DescribeReservedInstancesOfferingsRequest {
6161
6161
  * <p>Default: <code>default</code>
6162
6162
  * </p>
6163
6163
  */
6164
- InstanceTenancy?: Tenancy | string;
6164
+ InstanceTenancy?: Tenancy;
6165
6165
  /**
6166
6166
  * @public
6167
6167
  * <p>The maximum number of results to return for the request in a single page. The remaining
@@ -6181,7 +6181,7 @@ export interface DescribeReservedInstancesOfferingsRequest {
6181
6181
  * version, you only have access to the <code>Medium Utilization</code> Reserved Instance
6182
6182
  * offering type. </p>
6183
6183
  */
6184
- OfferingType?: OfferingTypeValues | string;
6184
+ OfferingType?: OfferingTypeValues;
6185
6185
  }
6186
6186
  /**
6187
6187
  * @public
@@ -6223,12 +6223,12 @@ export interface ReservedInstancesOffering {
6223
6223
  * @public
6224
6224
  * <p>The instance type on which the Reserved Instance can be used.</p>
6225
6225
  */
6226
- InstanceType?: _InstanceType | string;
6226
+ InstanceType?: _InstanceType;
6227
6227
  /**
6228
6228
  * @public
6229
6229
  * <p>The Reserved Instance product platform description.</p>
6230
6230
  */
6231
- ProductDescription?: RIProductDescription | string;
6231
+ ProductDescription?: RIProductDescription;
6232
6232
  /**
6233
6233
  * @public
6234
6234
  * <p>The ID of the Reserved Instance offering. This is the offering ID used in <a>GetReservedInstancesExchangeQuote</a>
@@ -6246,12 +6246,12 @@ export interface ReservedInstancesOffering {
6246
6246
  * specified using ISO 4217 standard currency codes. At this time,
6247
6247
  * the only supported currency is <code>USD</code>.</p>
6248
6248
  */
6249
- CurrencyCode?: CurrencyCodeValues | string;
6249
+ CurrencyCode?: CurrencyCodeValues;
6250
6250
  /**
6251
6251
  * @public
6252
6252
  * <p>The tenancy of the instance.</p>
6253
6253
  */
6254
- InstanceTenancy?: Tenancy | string;
6254
+ InstanceTenancy?: Tenancy;
6255
6255
  /**
6256
6256
  * @public
6257
6257
  * <p>Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services.
@@ -6264,12 +6264,12 @@ export interface ReservedInstancesOffering {
6264
6264
  * the same or higher monetary value, with different configurations. If <code>standard</code>, it is not
6265
6265
  * possible to perform an exchange.</p>
6266
6266
  */
6267
- OfferingClass?: OfferingClassType | string;
6267
+ OfferingClass?: OfferingClassType;
6268
6268
  /**
6269
6269
  * @public
6270
6270
  * <p>The Reserved Instance offering type.</p>
6271
6271
  */
6272
- OfferingType?: OfferingTypeValues | string;
6272
+ OfferingType?: OfferingTypeValues;
6273
6273
  /**
6274
6274
  * @public
6275
6275
  * <p>The pricing details of the Reserved Instance offering.</p>
@@ -6284,7 +6284,7 @@ export interface ReservedInstancesOffering {
6284
6284
  * @public
6285
6285
  * <p>Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.</p>
6286
6286
  */
6287
- Scope?: Scope | string;
6287
+ Scope?: Scope;
6288
6288
  }
6289
6289
  /**
6290
6290
  * @public
@@ -7222,7 +7222,7 @@ export interface DescribeSnapshotAttributeRequest {
7222
7222
  * @public
7223
7223
  * <p>The snapshot attribute you would like to view.</p>
7224
7224
  */
7225
- Attribute: SnapshotAttributeName | string | undefined;
7225
+ Attribute: SnapshotAttributeName | undefined;
7226
7226
  /**
7227
7227
  * @public
7228
7228
  * <p>The ID of the EBS snapshot.</p>
@@ -7246,7 +7246,7 @@ export interface CreateVolumePermission {
7246
7246
  * @public
7247
7247
  * <p>The group to be added or removed. The possible value is <code>all</code>.</p>
7248
7248
  */
7249
- Group?: PermissionGroup | string;
7249
+ Group?: PermissionGroup;
7250
7250
  /**
7251
7251
  * @public
7252
7252
  * <p>The ID of the Amazon Web Services account to be added or removed.</p>
@@ -7486,7 +7486,7 @@ export interface SnapshotTierStatus {
7486
7486
  * @public
7487
7487
  * <p>The state of the snapshot.</p>
7488
7488
  */
7489
- Status?: SnapshotState | string;
7489
+ Status?: SnapshotState;
7490
7490
  /**
7491
7491
  * @public
7492
7492
  * <p>The ID of the Amazon Web Services account that owns the snapshot.</p>
@@ -7504,7 +7504,7 @@ export interface SnapshotTierStatus {
7504
7504
  * for use. <code>archive</code> indicates that the snapshot is currently archived and that
7505
7505
  * it must be restored before it can be used.</p>
7506
7506
  */
7507
- StorageTier?: StorageTier | string;
7507
+ StorageTier?: StorageTier;
7508
7508
  /**
7509
7509
  * @public
7510
7510
  * <p>The date and time when the last archive or restore process was started.</p>
@@ -7519,7 +7519,7 @@ export interface SnapshotTierStatus {
7519
7519
  * @public
7520
7520
  * <p>The status of the last archive or restore process.</p>
7521
7521
  */
7522
- LastTieringOperationStatus?: TieringOperationStatus | string;
7522
+ LastTieringOperationStatus?: TieringOperationStatus;
7523
7523
  /**
7524
7524
  * @public
7525
7525
  * <p>A message describing the status of the last archive or restore process.</p>
@@ -7664,7 +7664,7 @@ export interface DescribeSpotFleetRequestHistoryRequest {
7664
7664
  * @public
7665
7665
  * <p>The type of events to describe. By default, all events are described.</p>
7666
7666
  */
7667
- EventType?: EventType | string;
7667
+ EventType?: EventType;
7668
7668
  /**
7669
7669
  * @public
7670
7670
  * <p>The maximum number of items to return for this request.
@@ -7723,7 +7723,7 @@ export interface HistoryRecord {
7723
7723
  * </li>
7724
7724
  * </ul>
7725
7725
  */
7726
- EventType?: EventType | string;
7726
+ EventType?: EventType;
7727
7727
  /**
7728
7728
  * @public
7729
7729
  * <p>The date and time of the event, in UTC format (for example,
@@ -7987,7 +7987,7 @@ export interface SpotPlacement {
7987
7987
  * tenancy of <code>dedicated</code> runs on single-tenant hardware. The <code>host</code>
7988
7988
  * tenancy is not supported for Spot Instances.</p>
7989
7989
  */
7990
- Tenancy?: Tenancy | string;
7990
+ Tenancy?: Tenancy;
7991
7991
  }
7992
7992
  /**
7993
7993
  * @public
@@ -8002,7 +8002,7 @@ export interface SpotFleetTagSpecification {
8002
8002
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html">SpotFleetRequestConfigData</a>
8003
8003
  * </code>.</p>
8004
8004
  */
8005
- ResourceType?: ResourceType | string;
8005
+ ResourceType?: ResourceType;
8006
8006
  /**
8007
8007
  * @public
8008
8008
  * <p>The tags.</p>
@@ -8055,7 +8055,7 @@ export interface SpotFleetLaunchSpecification {
8055
8055
  * @public
8056
8056
  * <p>The instance type.</p>
8057
8057
  */
8058
- InstanceType?: _InstanceType | string;
8058
+ InstanceType?: _InstanceType;
8059
8059
  /**
8060
8060
  * @public
8061
8061
  * <p>The ID of the kernel.</p>
@@ -8144,7 +8144,7 @@ export interface LaunchTemplateOverrides {
8144
8144
  * @public
8145
8145
  * <p>The instance type.</p>
8146
8146
  */
8147
- InstanceType?: _InstanceType | string;
8147
+ InstanceType?: _InstanceType;
8148
8148
  /**
8149
8149
  * @public
8150
8150
  * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to
@@ -8327,7 +8327,7 @@ export interface SpotCapacityRebalance {
8327
8327
  * fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>),
8328
8328
  * terminates the instances that received a rebalance notification.</p>
8329
8329
  */
8330
- ReplacementStrategy?: ReplacementStrategy | string;
8330
+ ReplacementStrategy?: ReplacementStrategy;
8331
8331
  /**
8332
8332
  * @public
8333
8333
  * <p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot
@@ -8405,7 +8405,7 @@ export interface SpotFleetRequestConfigData {
8405
8405
  * <p>Default: <code>lowestPrice</code>
8406
8406
  * </p>
8407
8407
  */
8408
- AllocationStrategy?: AllocationStrategy | string;
8408
+ AllocationStrategy?: AllocationStrategy;
8409
8409
  /**
8410
8410
  * @public
8411
8411
  * <p>The order of the launch template overrides to use in fulfilling On-Demand capacity. If
@@ -8414,7 +8414,7 @@ export interface SpotFleetRequestConfigData {
8414
8414
  * that you assign to each Spot Fleet launch template override, launching the highest priority
8415
8415
  * first. If you do not specify a value, Spot Fleet defaults to <code>lowestPrice</code>.</p>
8416
8416
  */
8417
- OnDemandAllocationStrategy?: OnDemandAllocationStrategy | string;
8417
+ OnDemandAllocationStrategy?: OnDemandAllocationStrategy;
8418
8418
  /**
8419
8419
  * @public
8420
8420
  * <p>The strategies for managing your Spot Instances that are at an elevated risk of being
@@ -8433,7 +8433,7 @@ export interface SpotFleetRequestConfigData {
8433
8433
  * target capacity of the Spot Fleet request below the current size of the Spot Fleet.</p>
8434
8434
  * <p>Supported only for fleets of type <code>maintain</code>.</p>
8435
8435
  */
8436
- ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string;
8436
+ ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy;
8437
8437
  /**
8438
8438
  * @public
8439
8439
  * <p>The number of units fulfilled by this request compared to the set target capacity. You
@@ -8555,7 +8555,7 @@ export interface SpotFleetRequestConfigData {
8555
8555
  * <code>maintain</code>. <code>instant</code> is listed but is not used by Spot
8556
8556
  * Fleet.</p>
8557
8557
  */
8558
- Type?: FleetType | string;
8558
+ Type?: FleetType;
8559
8559
  /**
8560
8560
  * @public
8561
8561
  * <p>The start date and time of the request, in UTC format
@@ -8582,7 +8582,7 @@ export interface SpotFleetRequestConfigData {
8582
8582
  * <p>The behavior when a Spot Instance is interrupted. The default is
8583
8583
  * <code>terminate</code>.</p>
8584
8584
  */
8585
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
8585
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
8586
8586
  /**
8587
8587
  * @public
8588
8588
  * <p>One or more Classic Load Balancers and target groups to attach to the Spot Fleet
@@ -8619,7 +8619,7 @@ export interface SpotFleetRequestConfigData {
8619
8619
  * <p>The unit for the target capacity. <code>TargetCapacityUnitType</code> can only be specified when <code>InstanceRequirements</code> is specified.</p>
8620
8620
  * <p>Default: <code>units</code> (translates to number of instances)</p>
8621
8621
  */
8622
- TargetCapacityUnitType?: TargetCapacityUnitType | string;
8622
+ TargetCapacityUnitType?: TargetCapacityUnitType;
8623
8623
  /**
8624
8624
  * @public
8625
8625
  * <p>The key-value pair for tagging the Spot Fleet request on creation. The value for
@@ -8648,7 +8648,7 @@ export interface SpotFleetRequestConfig {
8648
8648
  * If the size of the fleet is decreased, the status is <code>pending_termination</code>
8649
8649
  * while Spot Instances are terminating.</p>
8650
8650
  */
8651
- ActivityStatus?: ActivityStatus | string;
8651
+ ActivityStatus?: ActivityStatus;
8652
8652
  /**
8653
8653
  * @public
8654
8654
  * <p>The creation date and time of the request.</p>
@@ -8668,7 +8668,7 @@ export interface SpotFleetRequestConfig {
8668
8668
  * @public
8669
8669
  * <p>The state of the Spot Fleet request.</p>
8670
8670
  */
8671
- SpotFleetRequestState?: BatchState | string;
8671
+ SpotFleetRequestState?: BatchState;
8672
8672
  /**
8673
8673
  * @public
8674
8674
  * <p>The tags for a Spot Fleet resource.</p>
@@ -8979,7 +8979,7 @@ export interface LaunchSpecification {
8979
8979
  * @public
8980
8980
  * <p>The instance type. Only one instance type can be specified.</p>
8981
8981
  */
8982
- InstanceType?: _InstanceType | string;
8982
+ InstanceType?: _InstanceType;
8983
8983
  /**
8984
8984
  * @public
8985
8985
  * <p>The ID of the kernel.</p>
@@ -9109,7 +9109,7 @@ export interface SpotInstanceRequest {
9109
9109
  * @public
9110
9110
  * <p>The product description associated with the Spot Instance.</p>
9111
9111
  */
9112
- ProductDescription?: RIProductDescription | string;
9112
+ ProductDescription?: RIProductDescription;
9113
9113
  /**
9114
9114
  * @public
9115
9115
  * <p>The ID of the Spot Instance request.</p>
@@ -9130,7 +9130,7 @@ export interface SpotInstanceRequest {
9130
9130
  * Instance requests. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html">Spot request status</a> in the
9131
9131
  * <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
9132
9132
  */
9133
- State?: SpotInstanceState | string;
9133
+ State?: SpotInstanceState;
9134
9134
  /**
9135
9135
  * @public
9136
9136
  * <p>The status code and status message describing the Spot Instance request.</p>
@@ -9145,7 +9145,7 @@ export interface SpotInstanceRequest {
9145
9145
  * @public
9146
9146
  * <p>The Spot Instance request type.</p>
9147
9147
  */
9148
- Type?: SpotInstanceType | string;
9148
+ Type?: SpotInstanceType;
9149
9149
  /**
9150
9150
  * @public
9151
9151
  * <p>The start date of the request, in UTC format (for example,
@@ -9175,7 +9175,7 @@ export interface SpotInstanceRequest {
9175
9175
  * @public
9176
9176
  * <p>The behavior when a Spot Instance is interrupted.</p>
9177
9177
  */
9178
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
9178
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
9179
9179
  }
9180
9180
  /**
9181
9181
  * @public
@@ -9262,7 +9262,7 @@ export interface DescribeSpotPriceHistoryRequest {
9262
9262
  * @public
9263
9263
  * <p>Filters the results by the specified instance types.</p>
9264
9264
  */
9265
- InstanceTypes?: (_InstanceType | string)[];
9265
+ InstanceTypes?: _InstanceType[];
9266
9266
  /**
9267
9267
  * @public
9268
9268
  * <p>The maximum number of items to return for this request.
@@ -9306,12 +9306,12 @@ export interface SpotPrice {
9306
9306
  * @public
9307
9307
  * <p>The instance type.</p>
9308
9308
  */
9309
- InstanceType?: _InstanceType | string;
9309
+ InstanceType?: _InstanceType;
9310
9310
  /**
9311
9311
  * @public
9312
9312
  * <p>A general description of the AMI.</p>
9313
9313
  */
9314
- ProductDescription?: RIProductDescription | string;
9314
+ ProductDescription?: RIProductDescription;
9315
9315
  /**
9316
9316
  * @public
9317
9317
  * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend
@@ -9832,7 +9832,7 @@ export interface TagDescription {
9832
9832
  * @public
9833
9833
  * <p>The resource type.</p>
9834
9834
  */
9835
- ResourceType?: ResourceType | string;
9835
+ ResourceType?: ResourceType;
9836
9836
  /**
9837
9837
  * @public
9838
9838
  * <p>The tag value.</p>
@@ -10157,7 +10157,7 @@ export interface TransitGatewayAttachmentAssociation {
10157
10157
  * @public
10158
10158
  * <p>The state of the association.</p>
10159
10159
  */
10160
- State?: TransitGatewayAssociationState | string;
10160
+ State?: TransitGatewayAssociationState;
10161
10161
  }
10162
10162
  /**
10163
10163
  * @public
@@ -10188,7 +10188,7 @@ export interface TransitGatewayAttachment {
10188
10188
  * @public
10189
10189
  * <p>The resource type. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>
10190
10190
  */
10191
- ResourceType?: TransitGatewayAttachmentResourceType | string;
10191
+ ResourceType?: TransitGatewayAttachmentResourceType;
10192
10192
  /**
10193
10193
  * @public
10194
10194
  * <p>The ID of the resource.</p>
@@ -10198,7 +10198,7 @@ export interface TransitGatewayAttachment {
10198
10198
  * @public
10199
10199
  * <p>The attachment state. Note that the <code>initiating</code> state has been deprecated.</p>
10200
10200
  */
10201
- State?: TransitGatewayAttachmentState | string;
10201
+ State?: TransitGatewayAttachmentState;
10202
10202
  /**
10203
10203
  * @public
10204
10204
  * <p>The association.</p>