@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
@@ -110,7 +110,7 @@ export interface VerifiedAccessLogDeliveryStatus {
110
110
  * @public
111
111
  * <p>The status code.</p>
112
112
  */
113
- Code?: VerifiedAccessLogDeliveryStatusCode | string;
113
+ Code?: VerifiedAccessLogDeliveryStatusCode;
114
114
  /**
115
115
  * @public
116
116
  * <p>The status message.</p>
@@ -372,7 +372,7 @@ export interface DescribeVolumeAttributeRequest {
372
372
  * @public
373
373
  * <p>The attribute of the volume. This parameter is required.</p>
374
374
  */
375
- Attribute: VolumeAttributeName | string | undefined;
375
+ Attribute: VolumeAttributeName | undefined;
376
376
  /**
377
377
  * @public
378
378
  * <p>The ID of the volume.</p>
@@ -655,7 +655,7 @@ export interface VolumeModification {
655
655
  * <p>The current modification state. The modification state is null for unmodified
656
656
  * volumes.</p>
657
657
  */
658
- ModificationState?: VolumeModificationState | string;
658
+ ModificationState?: VolumeModificationState;
659
659
  /**
660
660
  * @public
661
661
  * <p>A status message about the modification progress or failure.</p>
@@ -675,7 +675,7 @@ export interface VolumeModification {
675
675
  * @public
676
676
  * <p>The target EBS volume type of the volume.</p>
677
677
  */
678
- TargetVolumeType?: VolumeType | string;
678
+ TargetVolumeType?: VolumeType;
679
679
  /**
680
680
  * @public
681
681
  * <p>The target throughput of the volume, in MiB/s.</p>
@@ -700,7 +700,7 @@ export interface VolumeModification {
700
700
  * @public
701
701
  * <p>The original EBS volume type of the volume.</p>
702
702
  */
703
- OriginalVolumeType?: VolumeType | string;
703
+ OriginalVolumeType?: VolumeType;
704
704
  /**
705
705
  * @public
706
706
  * <p>The original throughput of the volume, in MiB/s.</p>
@@ -941,7 +941,7 @@ export interface VolumeStatusDetails {
941
941
  * @public
942
942
  * <p>The name of the volume status.</p>
943
943
  */
944
- Name?: VolumeStatusName | string;
944
+ Name?: VolumeStatusName;
945
945
  /**
946
946
  * @public
947
947
  * <p>The intended status of the volume status.</p>
@@ -975,7 +975,7 @@ export interface VolumeStatusInfo {
975
975
  * @public
976
976
  * <p>The status of the volume.</p>
977
977
  */
978
- Status?: VolumeStatusInfoStatus | string;
978
+ Status?: VolumeStatusInfoStatus;
979
979
  }
980
980
  /**
981
981
  * @public
@@ -1055,7 +1055,7 @@ export interface DescribeVpcAttributeRequest {
1055
1055
  * @public
1056
1056
  * <p>The VPC attribute.</p>
1057
1057
  */
1058
- Attribute: VpcAttributeName | string | undefined;
1058
+ Attribute: VpcAttributeName | undefined;
1059
1059
  /**
1060
1060
  * @public
1061
1061
  * <p>The ID of the VPC.</p>
@@ -1387,7 +1387,7 @@ export interface VpcEndpointConnection {
1387
1387
  * @public
1388
1388
  * <p>The state of the VPC endpoint.</p>
1389
1389
  */
1390
- VpcEndpointState?: State | string;
1390
+ VpcEndpointState?: State;
1391
1391
  /**
1392
1392
  * @public
1393
1393
  * <p>The date and time that the VPC endpoint was created.</p>
@@ -1412,7 +1412,7 @@ export interface VpcEndpointConnection {
1412
1412
  * @public
1413
1413
  * <p>The IP address type for the endpoint.</p>
1414
1414
  */
1415
- IpAddressType?: IpAddressType | string;
1415
+ IpAddressType?: IpAddressType;
1416
1416
  /**
1417
1417
  * @public
1418
1418
  * <p>The ID of the VPC endpoint connection.</p>
@@ -1803,7 +1803,7 @@ export interface ServiceDetail {
1803
1803
  * @public
1804
1804
  * <p>The payer responsibility.</p>
1805
1805
  */
1806
- PayerResponsibility?: PayerResponsibility | string;
1806
+ PayerResponsibility?: PayerResponsibility;
1807
1807
  /**
1808
1808
  * @public
1809
1809
  * <p>The tags assigned to the service.</p>
@@ -1814,12 +1814,12 @@ export interface ServiceDetail {
1814
1814
  * <p>The verification state of the VPC endpoint service.</p>
1815
1815
  * <p>Consumers of the endpoint service cannot use the private name when the state is not <code>verified</code>.</p>
1816
1816
  */
1817
- PrivateDnsNameVerificationState?: DnsNameState | string;
1817
+ PrivateDnsNameVerificationState?: DnsNameState;
1818
1818
  /**
1819
1819
  * @public
1820
1820
  * <p>The supported IP address types.</p>
1821
1821
  */
1822
- SupportedIpAddressTypes?: (ServiceConnectivityType | string)[];
1822
+ SupportedIpAddressTypes?: ServiceConnectivityType[];
1823
1823
  }
1824
1824
  /**
1825
1825
  * @public
@@ -2497,12 +2497,12 @@ export interface DisableAwsNetworkPerformanceMetricSubscriptionRequest {
2497
2497
  * @public
2498
2498
  * <p>The metric used for the disabled subscription.</p>
2499
2499
  */
2500
- Metric?: MetricType | string;
2500
+ Metric?: MetricType;
2501
2501
  /**
2502
2502
  * @public
2503
2503
  * <p>The statistic used for the disabled subscription. </p>
2504
2504
  */
2505
- Statistic?: StatisticType | string;
2505
+ Statistic?: StatisticType;
2506
2506
  /**
2507
2507
  * @public
2508
2508
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -2580,7 +2580,7 @@ export interface DisableFastLaunchResult {
2580
2580
  * <p>The pre-provisioning resource type that must be cleaned after turning off faster launching
2581
2581
  * for the Windows AMI. Supported values include: <code>snapshot</code>.</p>
2582
2582
  */
2583
- ResourceType?: FastLaunchResourceType | string;
2583
+ ResourceType?: FastLaunchResourceType;
2584
2584
  /**
2585
2585
  * @public
2586
2586
  * <p>Parameters that were used for faster launching for the Windows AMI before
@@ -2607,7 +2607,7 @@ export interface DisableFastLaunchResult {
2607
2607
  * @public
2608
2608
  * <p>The current state of faster launching for the specified Windows AMI.</p>
2609
2609
  */
2610
- State?: FastLaunchStateCode | string;
2610
+ State?: FastLaunchStateCode;
2611
2611
  /**
2612
2612
  * @public
2613
2613
  * <p>The reason that the state changed for faster launching for the Windows AMI.</p>
@@ -2660,7 +2660,7 @@ export interface DisableFastSnapshotRestoreSuccessItem {
2660
2660
  * @public
2661
2661
  * <p>The state of fast snapshot restores for the snapshot.</p>
2662
2662
  */
2663
- State?: FastSnapshotRestoreStateCode | string;
2663
+ State?: FastSnapshotRestoreStateCode;
2664
2664
  /**
2665
2665
  * @public
2666
2666
  * <p>The reason for the state transition. The possible values are as follows:</p>
@@ -2777,6 +2777,33 @@ export interface DisableFastSnapshotRestoresResult {
2777
2777
  */
2778
2778
  Unsuccessful?: DisableFastSnapshotRestoreErrorItem[];
2779
2779
  }
2780
+ /**
2781
+ * @public
2782
+ */
2783
+ export interface DisableImageRequest {
2784
+ /**
2785
+ * @public
2786
+ * <p>The ID of the AMI.</p>
2787
+ */
2788
+ ImageId: string | undefined;
2789
+ /**
2790
+ * @public
2791
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
2792
+ * and provides an error response. If you have the required permissions, the error response is
2793
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2794
+ */
2795
+ DryRun?: boolean;
2796
+ }
2797
+ /**
2798
+ * @public
2799
+ */
2800
+ export interface DisableImageResult {
2801
+ /**
2802
+ * @public
2803
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
2804
+ */
2805
+ Return?: boolean;
2806
+ }
2780
2807
  /**
2781
2808
  * @public
2782
2809
  */
@@ -2809,7 +2836,7 @@ export interface DisableImageBlockPublicAccessResult {
2809
2836
  * <p>Returns <code>unblocked</code> if the request succeeds; otherwise, it returns an
2810
2837
  * error.</p>
2811
2838
  */
2812
- ImageBlockPublicAccessState?: ImageBlockPublicAccessDisabledState | string;
2839
+ ImageBlockPublicAccessState?: ImageBlockPublicAccessDisabledState;
2813
2840
  }
2814
2841
  /**
2815
2842
  * @public
@@ -2947,7 +2974,7 @@ export interface TransitGatewayPropagation {
2947
2974
  * @public
2948
2975
  * <p>The resource type. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>
2949
2976
  */
2950
- ResourceType?: TransitGatewayAttachmentResourceType | string;
2977
+ ResourceType?: TransitGatewayAttachmentResourceType;
2951
2978
  /**
2952
2979
  * @public
2953
2980
  * <p>The ID of the transit gateway route table.</p>
@@ -2957,7 +2984,7 @@ export interface TransitGatewayPropagation {
2957
2984
  * @public
2958
2985
  * <p>The state.</p>
2959
2986
  */
2960
- State?: TransitGatewayPropagationState | string;
2987
+ State?: TransitGatewayPropagationState;
2961
2988
  /**
2962
2989
  * @public
2963
2990
  * <p>The ID of the transit gateway route table announcement.</p>
@@ -3539,12 +3566,12 @@ export interface EnableAwsNetworkPerformanceMetricSubscriptionRequest {
3539
3566
  * @public
3540
3567
  * <p>The metric used for the enabled subscription.</p>
3541
3568
  */
3542
- Metric?: MetricType | string;
3569
+ Metric?: MetricType;
3543
3570
  /**
3544
3571
  * @public
3545
3572
  * <p>The statistic used for the enabled subscription.</p>
3546
3573
  */
3547
- Statistic?: StatisticType | string;
3574
+ Statistic?: StatisticType;
3548
3575
  /**
3549
3576
  * @public
3550
3577
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -3678,7 +3705,7 @@ export interface EnableFastLaunchResult {
3678
3705
  * @public
3679
3706
  * <p>The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.</p>
3680
3707
  */
3681
- ResourceType?: FastLaunchResourceType | string;
3708
+ ResourceType?: FastLaunchResourceType;
3682
3709
  /**
3683
3710
  * @public
3684
3711
  * <p>Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster
@@ -3706,7 +3733,7 @@ export interface EnableFastLaunchResult {
3706
3733
  * @public
3707
3734
  * <p>The current state of faster launching for the specified Windows AMI.</p>
3708
3735
  */
3709
- State?: FastLaunchStateCode | string;
3736
+ State?: FastLaunchStateCode;
3710
3737
  /**
3711
3738
  * @public
3712
3739
  * <p>The reason that the state changed for faster launching for the Windows AMI.</p>
@@ -3760,7 +3787,7 @@ export interface EnableFastSnapshotRestoreSuccessItem {
3760
3787
  * @public
3761
3788
  * <p>The state of fast snapshot restores.</p>
3762
3789
  */
3763
- State?: FastSnapshotRestoreStateCode | string;
3790
+ State?: FastSnapshotRestoreStateCode;
3764
3791
  /**
3765
3792
  * @public
3766
3793
  * <p>The reason for the state transition. The possible values are as follows:</p>
@@ -3877,6 +3904,33 @@ export interface EnableFastSnapshotRestoresResult {
3877
3904
  */
3878
3905
  Unsuccessful?: EnableFastSnapshotRestoreErrorItem[];
3879
3906
  }
3907
+ /**
3908
+ * @public
3909
+ */
3910
+ export interface EnableImageRequest {
3911
+ /**
3912
+ * @public
3913
+ * <p>The ID of the AMI.</p>
3914
+ */
3915
+ ImageId: string | undefined;
3916
+ /**
3917
+ * @public
3918
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
3919
+ * and provides an error response. If you have the required permissions, the error response is
3920
+ * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
3921
+ */
3922
+ DryRun?: boolean;
3923
+ }
3924
+ /**
3925
+ * @public
3926
+ */
3927
+ export interface EnableImageResult {
3928
+ /**
3929
+ * @public
3930
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
3931
+ */
3932
+ Return?: boolean;
3933
+ }
3880
3934
  /**
3881
3935
  * @public
3882
3936
  * @enum
@@ -3898,7 +3952,7 @@ export interface EnableImageBlockPublicAccessRequest {
3898
3952
  * account level in the specified Region. This will block any attempt to publicly share your AMIs
3899
3953
  * in the specified Region.</p>
3900
3954
  */
3901
- ImageBlockPublicAccessState: ImageBlockPublicAccessEnabledState | string | undefined;
3955
+ ImageBlockPublicAccessState: ImageBlockPublicAccessEnabledState | undefined;
3902
3956
  /**
3903
3957
  * @public
3904
3958
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -3916,7 +3970,7 @@ export interface EnableImageBlockPublicAccessResult {
3916
3970
  * <p>Returns <code>block-new-sharing</code> if the request succeeds; otherwise, it returns an
3917
3971
  * error.</p>
3918
3972
  */
3919
- ImageBlockPublicAccessState?: ImageBlockPublicAccessEnabledState | string;
3973
+ ImageBlockPublicAccessState?: ImageBlockPublicAccessEnabledState;
3920
3974
  }
3921
3975
  /**
3922
3976
  * @public
@@ -4190,7 +4244,7 @@ export interface ClientCertificateRevocationListStatus {
4190
4244
  * @public
4191
4245
  * <p>The state of the client certificate revocation list.</p>
4192
4246
  */
4193
- Code?: ClientCertificateRevocationListStatusCode | string;
4247
+ Code?: ClientCertificateRevocationListStatusCode;
4194
4248
  /**
4195
4249
  * @public
4196
4250
  * <p>A message about the status of the client certificate revocation list, if applicable.</p>
@@ -4271,7 +4325,7 @@ export interface ExportImageRequest {
4271
4325
  * @public
4272
4326
  * <p>The disk image format.</p>
4273
4327
  */
4274
- DiskImageFormat: DiskImageFormat | string | undefined;
4328
+ DiskImageFormat: DiskImageFormat | undefined;
4275
4329
  /**
4276
4330
  * @public
4277
4331
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -4314,7 +4368,7 @@ export interface ExportImageResult {
4314
4368
  * @public
4315
4369
  * <p>The disk image format for the exported image.</p>
4316
4370
  */
4317
- DiskImageFormat?: DiskImageFormat | string;
4371
+ DiskImageFormat?: DiskImageFormat;
4318
4372
  /**
4319
4373
  * @public
4320
4374
  * <p>The ID of the export image task.</p>
@@ -4572,17 +4626,17 @@ export interface DataQuery {
4572
4626
  * @public
4573
4627
  * <p>The metric, <code>aggregation-latency</code>, indicating that network latency is aggregated for the query. This is the only supported metric.</p>
4574
4628
  */
4575
- Metric?: MetricType | string;
4629
+ Metric?: MetricType;
4576
4630
  /**
4577
4631
  * @public
4578
4632
  * <p>The metric data aggregation period, <code>p50</code>, between the specified <code>startDate</code> and <code>endDate</code>. For example, a metric of <code>five_minutes</code> is the median of all the data points gathered within those five minutes. <code>p50</code> is the only supported metric.</p>
4579
4633
  */
4580
- Statistic?: StatisticType | string;
4634
+ Statistic?: StatisticType;
4581
4635
  /**
4582
4636
  * @public
4583
4637
  * <p>The aggregation period used for the data query.</p>
4584
4638
  */
4585
- Period?: PeriodType | string;
4639
+ Period?: PeriodType;
4586
4640
  }
4587
4641
  /**
4588
4642
  * @public
@@ -4670,17 +4724,17 @@ export interface DataResponse {
4670
4724
  * @public
4671
4725
  * <p>The metric used for the network performance request. Only <code>aggregate-latency</code> is supported, which shows network latency during a specified period. </p>
4672
4726
  */
4673
- Metric?: MetricType | string;
4727
+ Metric?: MetricType;
4674
4728
  /**
4675
4729
  * @public
4676
4730
  * <p>The statistic used for the network performance request.</p>
4677
4731
  */
4678
- Statistic?: StatisticType | string;
4732
+ Statistic?: StatisticType;
4679
4733
  /**
4680
4734
  * @public
4681
4735
  * <p>The period used for the network performance request.</p>
4682
4736
  */
4683
- Period?: PeriodType | string;
4737
+ Period?: PeriodType;
4684
4738
  /**
4685
4739
  * @public
4686
4740
  * <p>A list of <code>MetricPoint</code> objects.</p>
@@ -4804,7 +4858,7 @@ export interface GetCapacityReservationUsageResult {
4804
4858
  * </li>
4805
4859
  * </ul>
4806
4860
  */
4807
- State?: CapacityReservationState | string;
4861
+ State?: CapacityReservationState;
4808
4862
  /**
4809
4863
  * @public
4810
4864
  * <p>Information about the Capacity Reservation usage.</p>
@@ -5019,7 +5073,7 @@ export interface GetDefaultCreditSpecificationRequest {
5019
5073
  * @public
5020
5074
  * <p>The instance family.</p>
5021
5075
  */
5022
- InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined;
5076
+ InstanceFamily: UnlimitedSupportedInstanceFamily | undefined;
5023
5077
  }
5024
5078
  /**
5025
5079
  * @public
@@ -5031,7 +5085,7 @@ export interface InstanceFamilyCreditSpecification {
5031
5085
  * @public
5032
5086
  * <p>The instance family.</p>
5033
5087
  */
5034
- InstanceFamily?: UnlimitedSupportedInstanceFamily | string;
5088
+ InstanceFamily?: UnlimitedSupportedInstanceFamily;
5035
5089
  /**
5036
5090
  * @public
5037
5091
  * <p>The default credit option for CPU usage of the instance family. Valid values are
@@ -5096,7 +5150,7 @@ export interface GetEbsEncryptionByDefaultResult {
5096
5150
  * @public
5097
5151
  * <p>Reserved for future use.</p>
5098
5152
  */
5099
- SseType?: SSEType | string;
5153
+ SseType?: SSEType;
5100
5154
  }
5101
5155
  /**
5102
5156
  * @public
@@ -5126,7 +5180,7 @@ export interface AthenaIntegration {
5126
5180
  * @public
5127
5181
  * <p>The schedule for adding new partitions to the table.</p>
5128
5182
  */
5129
- PartitionLoadFrequency: PartitionLoadFrequency | string | undefined;
5183
+ PartitionLoadFrequency: PartitionLoadFrequency | undefined;
5130
5184
  /**
5131
5185
  * @public
5132
5186
  * <p>The start date for the partition.</p>
@@ -5269,7 +5323,7 @@ export interface Purchase {
5269
5323
  * amounts are specified. At this time, the only supported currency is
5270
5324
  * <code>USD</code>.</p>
5271
5325
  */
5272
- CurrencyCode?: CurrencyCodeValues | string;
5326
+ CurrencyCode?: CurrencyCodeValues;
5273
5327
  /**
5274
5328
  * @public
5275
5329
  * <p>The duration of the reservation's term in seconds.</p>
@@ -5300,7 +5354,7 @@ export interface Purchase {
5300
5354
  * @public
5301
5355
  * <p>The payment option for the reservation.</p>
5302
5356
  */
5303
- PaymentOption?: PaymentOption | string;
5357
+ PaymentOption?: PaymentOption;
5304
5358
  /**
5305
5359
  * @public
5306
5360
  * <p>The upfront price of the reservation.</p>
@@ -5317,7 +5371,7 @@ export interface GetHostReservationPurchasePreviewResult {
5317
5371
  * <code>totalHourlyPrice</code> amounts are specified. At this time, the only
5318
5372
  * supported currency is <code>USD</code>.</p>
5319
5373
  */
5320
- CurrencyCode?: CurrencyCodeValues | string;
5374
+ CurrencyCode?: CurrencyCodeValues;
5321
5375
  /**
5322
5376
  * @public
5323
5377
  * <p>The purchase information of the Dedicated Host reservation and the Dedicated Hosts
@@ -5386,12 +5440,12 @@ export interface GetInstanceTypesFromInstanceRequirementsRequest {
5386
5440
  * @public
5387
5441
  * <p>The processor architecture type.</p>
5388
5442
  */
5389
- ArchitectureTypes: (ArchitectureType | string)[] | undefined;
5443
+ ArchitectureTypes: ArchitectureType[] | undefined;
5390
5444
  /**
5391
5445
  * @public
5392
5446
  * <p>The virtualization type.</p>
5393
5447
  */
5394
- VirtualizationTypes: (VirtualizationType | string)[] | undefined;
5448
+ VirtualizationTypes: VirtualizationType[] | undefined;
5395
5449
  /**
5396
5450
  * @public
5397
5451
  * <p>The attributes required for the instance types.</p>
@@ -5579,7 +5633,7 @@ export interface IpamAddressHistoryRecord {
5579
5633
  * @public
5580
5634
  * <p>The type of the resource.</p>
5581
5635
  */
5582
- ResourceType?: IpamAddressHistoryResourceType | string;
5636
+ ResourceType?: IpamAddressHistoryResourceType;
5583
5637
  /**
5584
5638
  * @public
5585
5639
  * <p>The ID of the resource.</p>
@@ -5599,12 +5653,12 @@ export interface IpamAddressHistoryRecord {
5599
5653
  * @public
5600
5654
  * <p>The compliance status of a resource. For more information on compliance statuses, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
5601
5655
  */
5602
- ResourceComplianceStatus?: IpamComplianceStatus | string;
5656
+ ResourceComplianceStatus?: IpamComplianceStatus;
5603
5657
  /**
5604
5658
  * @public
5605
5659
  * <p>The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
5606
5660
  */
5607
- ResourceOverlapStatus?: IpamOverlapStatus | string;
5661
+ ResourceOverlapStatus?: IpamOverlapStatus;
5608
5662
  /**
5609
5663
  * @public
5610
5664
  * <p>The VPC ID of the resource.</p>
@@ -5720,7 +5774,7 @@ export interface IpamDiscoveryFailureReason {
5720
5774
  * </li>
5721
5775
  * </ul>
5722
5776
  */
5723
- Code?: IpamDiscoveryFailureCode | string;
5777
+ Code?: IpamDiscoveryFailureCode;
5724
5778
  /**
5725
5779
  * @public
5726
5780
  * <p>The discovery failure message.</p>
@@ -5860,7 +5914,7 @@ export interface IpamDiscoveredResourceCidr {
5860
5914
  * @public
5861
5915
  * <p>The resource type.</p>
5862
5916
  */
5863
- ResourceType?: IpamResourceType | string;
5917
+ ResourceType?: IpamResourceType;
5864
5918
  /**
5865
5919
  * @public
5866
5920
  * <p>The resource tags.</p>
@@ -6055,7 +6109,7 @@ export interface GetIpamResourceCidrsRequest {
6055
6109
  * @public
6056
6110
  * <p>The resource type.</p>
6057
6111
  */
6058
- ResourceType?: IpamResourceType | string;
6112
+ ResourceType?: IpamResourceType;
6059
6113
  /**
6060
6114
  * @public
6061
6115
  * <p>The resource tag.</p>
@@ -6129,7 +6183,7 @@ export interface IpamResourceCidr {
6129
6183
  * @public
6130
6184
  * <p>The type of IPAM resource.</p>
6131
6185
  */
6132
- ResourceType?: IpamResourceType | string;
6186
+ ResourceType?: IpamResourceType;
6133
6187
  /**
6134
6188
  * @public
6135
6189
  * <p>The tags for an IPAM resource.</p>
@@ -6158,17 +6212,17 @@ export interface IpamResourceCidr {
6158
6212
  * @public
6159
6213
  * <p>The compliance status of the IPAM resource. For more information on compliance statuses, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
6160
6214
  */
6161
- ComplianceStatus?: IpamComplianceStatus | string;
6215
+ ComplianceStatus?: IpamComplianceStatus;
6162
6216
  /**
6163
6217
  * @public
6164
6218
  * <p>The management state of the resource. For more information about management states, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
6165
6219
  */
6166
- ManagementState?: IpamManagementState | string;
6220
+ ManagementState?: IpamManagementState;
6167
6221
  /**
6168
6222
  * @public
6169
6223
  * <p>The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
6170
6224
  */
6171
- OverlapStatus?: IpamOverlapStatus | string;
6225
+ OverlapStatus?: IpamOverlapStatus;
6172
6226
  /**
6173
6227
  * @public
6174
6228
  * <p>The ID of a VPC.</p>
@@ -6382,7 +6436,7 @@ export interface GetNetworkInsightsAccessScopeAnalysisFindingsResult {
6382
6436
  * @public
6383
6437
  * <p>The status of Network Access Scope Analysis.</p>
6384
6438
  */
6385
- AnalysisStatus?: AnalysisStatus | string;
6439
+ AnalysisStatus?: AnalysisStatus;
6386
6440
  /**
6387
6441
  * @public
6388
6442
  * <p>The findings associated with Network Access Scope Analysis.</p>
@@ -6640,12 +6694,12 @@ export interface InstanceRequirementsWithMetadataRequest {
6640
6694
  * @public
6641
6695
  * <p>The architecture type.</p>
6642
6696
  */
6643
- ArchitectureTypes?: (ArchitectureType | string)[];
6697
+ ArchitectureTypes?: ArchitectureType[];
6644
6698
  /**
6645
6699
  * @public
6646
6700
  * <p>The virtualization type.</p>
6647
6701
  */
6648
- VirtualizationTypes?: (VirtualizationType | string)[];
6702
+ VirtualizationTypes?: VirtualizationType[];
6649
6703
  /**
6650
6704
  * @public
6651
6705
  * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
@@ -6677,7 +6731,7 @@ export interface GetSpotPlacementScoresRequest {
6677
6731
  * <p>The unit for the target capacity.</p>
6678
6732
  * <p>Default: <code>units</code> (translates to number of instances)</p>
6679
6733
  */
6680
- TargetCapacityUnitType?: TargetCapacityUnitType | string;
6734
+ TargetCapacityUnitType?: TargetCapacityUnitType;
6681
6735
  /**
6682
6736
  * @public
6683
6737
  * <p>Specify <code>true</code> so that the response returns a list of scored Availability Zones.
@@ -6906,7 +6960,7 @@ export interface TransitGatewayAttachmentPropagation {
6906
6960
  * @public
6907
6961
  * <p>The state of the propagation route table.</p>
6908
6962
  */
6909
- State?: TransitGatewayPropagationState | string;
6963
+ State?: TransitGatewayPropagationState;
6910
6964
  }
6911
6965
  /**
6912
6966
  * @public
@@ -6999,7 +7053,7 @@ export interface TransitGatewayMulticastDomainAssociation {
6999
7053
  * @public
7000
7054
  * <p>The type of resource, for example a VPC attachment.</p>
7001
7055
  */
7002
- ResourceType?: TransitGatewayAttachmentResourceType | string;
7056
+ ResourceType?: TransitGatewayAttachmentResourceType;
7003
7057
  /**
7004
7058
  * @public
7005
7059
  * <p> The ID of the Amazon Web Services account that owns the transit gateway multicast domain association resource.</p>
@@ -7338,12 +7392,12 @@ export interface TransitGatewayRouteTableAssociation {
7338
7392
  * @public
7339
7393
  * <p>The resource type. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>
7340
7394
  */
7341
- ResourceType?: TransitGatewayAttachmentResourceType | string;
7395
+ ResourceType?: TransitGatewayAttachmentResourceType;
7342
7396
  /**
7343
7397
  * @public
7344
7398
  * <p>The state of the association.</p>
7345
7399
  */
7346
- State?: TransitGatewayAssociationState | string;
7400
+ State?: TransitGatewayAssociationState;
7347
7401
  }
7348
7402
  /**
7349
7403
  * @public
@@ -7409,84 +7463,6 @@ export interface GetTransitGatewayRouteTablePropagationsRequest {
7409
7463
  */
7410
7464
  DryRun?: boolean;
7411
7465
  }
7412
- /**
7413
- * @public
7414
- * <p>Describes a route table propagation.</p>
7415
- */
7416
- export interface TransitGatewayRouteTablePropagation {
7417
- /**
7418
- * @public
7419
- * <p>The ID of the attachment.</p>
7420
- */
7421
- TransitGatewayAttachmentId?: string;
7422
- /**
7423
- * @public
7424
- * <p>The ID of the resource.</p>
7425
- */
7426
- ResourceId?: string;
7427
- /**
7428
- * @public
7429
- * <p>The type of resource. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>
7430
- */
7431
- ResourceType?: TransitGatewayAttachmentResourceType | string;
7432
- /**
7433
- * @public
7434
- * <p>The state of the resource.</p>
7435
- */
7436
- State?: TransitGatewayPropagationState | string;
7437
- /**
7438
- * @public
7439
- * <p>The ID of the transit gateway route table announcement.</p>
7440
- */
7441
- TransitGatewayRouteTableAnnouncementId?: string;
7442
- }
7443
- /**
7444
- * @public
7445
- */
7446
- export interface GetTransitGatewayRouteTablePropagationsResult {
7447
- /**
7448
- * @public
7449
- * <p>Information about the route table propagations.</p>
7450
- */
7451
- TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[];
7452
- /**
7453
- * @public
7454
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
7455
- */
7456
- NextToken?: string;
7457
- }
7458
- /**
7459
- * @public
7460
- */
7461
- export interface GetVerifiedAccessEndpointPolicyRequest {
7462
- /**
7463
- * @public
7464
- * <p>The ID of the Verified Access endpoint.</p>
7465
- */
7466
- VerifiedAccessEndpointId: string | undefined;
7467
- /**
7468
- * @public
7469
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7470
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7471
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7472
- */
7473
- DryRun?: boolean;
7474
- }
7475
- /**
7476
- * @public
7477
- */
7478
- export interface GetVerifiedAccessEndpointPolicyResult {
7479
- /**
7480
- * @public
7481
- * <p>The status of the Verified Access policy.</p>
7482
- */
7483
- PolicyEnabled?: boolean;
7484
- /**
7485
- * @public
7486
- * <p>The Verified Access policy document.</p>
7487
- */
7488
- PolicyDocument?: string;
7489
- }
7490
7466
  /**
7491
7467
  * @internal
7492
7468
  */