@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
@@ -100,7 +100,7 @@ export declare const VerifiedAccessLogDeliveryStatusCode: {
100
100
  export type VerifiedAccessLogDeliveryStatusCode =
101
101
  (typeof VerifiedAccessLogDeliveryStatusCode)[keyof typeof VerifiedAccessLogDeliveryStatusCode];
102
102
  export interface VerifiedAccessLogDeliveryStatus {
103
- Code?: VerifiedAccessLogDeliveryStatusCode | string;
103
+ Code?: VerifiedAccessLogDeliveryStatusCode;
104
104
  Message?: string;
105
105
  }
106
106
  export interface VerifiedAccessLogCloudWatchLogsDestination {
@@ -164,7 +164,7 @@ export declare const VolumeAttributeName: {
164
164
  export type VolumeAttributeName =
165
165
  (typeof VolumeAttributeName)[keyof typeof VolumeAttributeName];
166
166
  export interface DescribeVolumeAttributeRequest {
167
- Attribute: VolumeAttributeName | string | undefined;
167
+ Attribute: VolumeAttributeName | undefined;
168
168
  VolumeId: string | undefined;
169
169
  DryRun?: boolean;
170
170
  }
@@ -201,16 +201,16 @@ export type VolumeModificationState =
201
201
  (typeof VolumeModificationState)[keyof typeof VolumeModificationState];
202
202
  export interface VolumeModification {
203
203
  VolumeId?: string;
204
- ModificationState?: VolumeModificationState | string;
204
+ ModificationState?: VolumeModificationState;
205
205
  StatusMessage?: string;
206
206
  TargetSize?: number;
207
207
  TargetIops?: number;
208
- TargetVolumeType?: VolumeType | string;
208
+ TargetVolumeType?: VolumeType;
209
209
  TargetThroughput?: number;
210
210
  TargetMultiAttachEnabled?: boolean;
211
211
  OriginalSize?: number;
212
212
  OriginalIops?: number;
213
- OriginalVolumeType?: VolumeType | string;
213
+ OriginalVolumeType?: VolumeType;
214
214
  OriginalThroughput?: number;
215
215
  OriginalMultiAttachEnabled?: boolean;
216
216
  Progress?: number;
@@ -253,7 +253,7 @@ export declare const VolumeStatusName: {
253
253
  export type VolumeStatusName =
254
254
  (typeof VolumeStatusName)[keyof typeof VolumeStatusName];
255
255
  export interface VolumeStatusDetails {
256
- Name?: VolumeStatusName | string;
256
+ Name?: VolumeStatusName;
257
257
  Status?: string;
258
258
  }
259
259
  export declare const VolumeStatusInfoStatus: {
@@ -265,7 +265,7 @@ export type VolumeStatusInfoStatus =
265
265
  (typeof VolumeStatusInfoStatus)[keyof typeof VolumeStatusInfoStatus];
266
266
  export interface VolumeStatusInfo {
267
267
  Details?: VolumeStatusDetails[];
268
- Status?: VolumeStatusInfoStatus | string;
268
+ Status?: VolumeStatusInfoStatus;
269
269
  }
270
270
  export interface VolumeStatusItem {
271
271
  Actions?: VolumeStatusAction[];
@@ -288,7 +288,7 @@ export declare const VpcAttributeName: {
288
288
  export type VpcAttributeName =
289
289
  (typeof VpcAttributeName)[keyof typeof VpcAttributeName];
290
290
  export interface DescribeVpcAttributeRequest {
291
- Attribute: VpcAttributeName | string | undefined;
291
+ Attribute: VpcAttributeName | undefined;
292
292
  VpcId: string | undefined;
293
293
  DryRun?: boolean;
294
294
  }
@@ -345,12 +345,12 @@ export interface VpcEndpointConnection {
345
345
  ServiceId?: string;
346
346
  VpcEndpointId?: string;
347
347
  VpcEndpointOwner?: string;
348
- VpcEndpointState?: State | string;
348
+ VpcEndpointState?: State;
349
349
  CreationTimestamp?: Date;
350
350
  DnsEntries?: DnsEntry[];
351
351
  NetworkLoadBalancerArns?: string[];
352
352
  GatewayLoadBalancerArns?: string[];
353
- IpAddressType?: IpAddressType | string;
353
+ IpAddressType?: IpAddressType;
354
354
  VpcEndpointConnectionId?: string;
355
355
  Tags?: Tag[];
356
356
  }
@@ -413,10 +413,10 @@ export interface ServiceDetail {
413
413
  VpcEndpointPolicySupported?: boolean;
414
414
  AcceptanceRequired?: boolean;
415
415
  ManagesVpcEndpoints?: boolean;
416
- PayerResponsibility?: PayerResponsibility | string;
416
+ PayerResponsibility?: PayerResponsibility;
417
417
  Tags?: Tag[];
418
- PrivateDnsNameVerificationState?: DnsNameState | string;
419
- SupportedIpAddressTypes?: (ServiceConnectivityType | string)[];
418
+ PrivateDnsNameVerificationState?: DnsNameState;
419
+ SupportedIpAddressTypes?: ServiceConnectivityType[];
420
420
  }
421
421
  export interface DescribeVpcEndpointServicesResult {
422
422
  ServiceNames?: string[];
@@ -511,8 +511,8 @@ export interface DisableAddressTransferResult {
511
511
  export interface DisableAwsNetworkPerformanceMetricSubscriptionRequest {
512
512
  Source?: string;
513
513
  Destination?: string;
514
- Metric?: MetricType | string;
515
- Statistic?: StatisticType | string;
514
+ Metric?: MetricType;
515
+ Statistic?: StatisticType;
516
516
  DryRun?: boolean;
517
517
  }
518
518
  export interface DisableAwsNetworkPerformanceMetricSubscriptionResult {
@@ -531,12 +531,12 @@ export interface DisableFastLaunchRequest {
531
531
  }
532
532
  export interface DisableFastLaunchResult {
533
533
  ImageId?: string;
534
- ResourceType?: FastLaunchResourceType | string;
534
+ ResourceType?: FastLaunchResourceType;
535
535
  SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse;
536
536
  LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse;
537
537
  MaxParallelLaunches?: number;
538
538
  OwnerId?: string;
539
- State?: FastLaunchStateCode | string;
539
+ State?: FastLaunchStateCode;
540
540
  StateTransitionReason?: string;
541
541
  StateTransitionTime?: Date;
542
542
  }
@@ -548,7 +548,7 @@ export interface DisableFastSnapshotRestoresRequest {
548
548
  export interface DisableFastSnapshotRestoreSuccessItem {
549
549
  SnapshotId?: string;
550
550
  AvailabilityZone?: string;
551
- State?: FastSnapshotRestoreStateCode | string;
551
+ State?: FastSnapshotRestoreStateCode;
552
552
  StateTransitionReason?: string;
553
553
  OwnerId?: string;
554
554
  OwnerAlias?: string;
@@ -574,6 +574,13 @@ export interface DisableFastSnapshotRestoresResult {
574
574
  Successful?: DisableFastSnapshotRestoreSuccessItem[];
575
575
  Unsuccessful?: DisableFastSnapshotRestoreErrorItem[];
576
576
  }
577
+ export interface DisableImageRequest {
578
+ ImageId: string | undefined;
579
+ DryRun?: boolean;
580
+ }
581
+ export interface DisableImageResult {
582
+ Return?: boolean;
583
+ }
577
584
  export interface DisableImageBlockPublicAccessRequest {
578
585
  DryRun?: boolean;
579
586
  }
@@ -583,7 +590,7 @@ export declare const ImageBlockPublicAccessDisabledState: {
583
590
  export type ImageBlockPublicAccessDisabledState =
584
591
  (typeof ImageBlockPublicAccessDisabledState)[keyof typeof ImageBlockPublicAccessDisabledState];
585
592
  export interface DisableImageBlockPublicAccessResult {
586
- ImageBlockPublicAccessState?: ImageBlockPublicAccessDisabledState | string;
593
+ ImageBlockPublicAccessState?: ImageBlockPublicAccessDisabledState;
587
594
  }
588
595
  export interface DisableImageDeprecationRequest {
589
596
  ImageId: string | undefined;
@@ -622,9 +629,9 @@ export type TransitGatewayPropagationState =
622
629
  export interface TransitGatewayPropagation {
623
630
  TransitGatewayAttachmentId?: string;
624
631
  ResourceId?: string;
625
- ResourceType?: TransitGatewayAttachmentResourceType | string;
632
+ ResourceType?: TransitGatewayAttachmentResourceType;
626
633
  TransitGatewayRouteTableId?: string;
627
- State?: TransitGatewayPropagationState | string;
634
+ State?: TransitGatewayPropagationState;
628
635
  TransitGatewayRouteTableAnnouncementId?: string;
629
636
  }
630
637
  export interface DisableTransitGatewayRouteTablePropagationResult {
@@ -770,8 +777,8 @@ export interface EnableAddressTransferResult {
770
777
  export interface EnableAwsNetworkPerformanceMetricSubscriptionRequest {
771
778
  Source?: string;
772
779
  Destination?: string;
773
- Metric?: MetricType | string;
774
- Statistic?: StatisticType | string;
780
+ Metric?: MetricType;
781
+ Statistic?: StatisticType;
775
782
  DryRun?: boolean;
776
783
  }
777
784
  export interface EnableAwsNetworkPerformanceMetricSubscriptionResult {
@@ -801,12 +808,12 @@ export interface EnableFastLaunchRequest {
801
808
  }
802
809
  export interface EnableFastLaunchResult {
803
810
  ImageId?: string;
804
- ResourceType?: FastLaunchResourceType | string;
811
+ ResourceType?: FastLaunchResourceType;
805
812
  SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse;
806
813
  LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse;
807
814
  MaxParallelLaunches?: number;
808
815
  OwnerId?: string;
809
- State?: FastLaunchStateCode | string;
816
+ State?: FastLaunchStateCode;
810
817
  StateTransitionReason?: string;
811
818
  StateTransitionTime?: Date;
812
819
  }
@@ -818,7 +825,7 @@ export interface EnableFastSnapshotRestoresRequest {
818
825
  export interface EnableFastSnapshotRestoreSuccessItem {
819
826
  SnapshotId?: string;
820
827
  AvailabilityZone?: string;
821
- State?: FastSnapshotRestoreStateCode | string;
828
+ State?: FastSnapshotRestoreStateCode;
822
829
  StateTransitionReason?: string;
823
830
  OwnerId?: string;
824
831
  OwnerAlias?: string;
@@ -844,20 +851,24 @@ export interface EnableFastSnapshotRestoresResult {
844
851
  Successful?: EnableFastSnapshotRestoreSuccessItem[];
845
852
  Unsuccessful?: EnableFastSnapshotRestoreErrorItem[];
846
853
  }
854
+ export interface EnableImageRequest {
855
+ ImageId: string | undefined;
856
+ DryRun?: boolean;
857
+ }
858
+ export interface EnableImageResult {
859
+ Return?: boolean;
860
+ }
847
861
  export declare const ImageBlockPublicAccessEnabledState: {
848
862
  readonly block_new_sharing: "block-new-sharing";
849
863
  };
850
864
  export type ImageBlockPublicAccessEnabledState =
851
865
  (typeof ImageBlockPublicAccessEnabledState)[keyof typeof ImageBlockPublicAccessEnabledState];
852
866
  export interface EnableImageBlockPublicAccessRequest {
853
- ImageBlockPublicAccessState:
854
- | ImageBlockPublicAccessEnabledState
855
- | string
856
- | undefined;
867
+ ImageBlockPublicAccessState: ImageBlockPublicAccessEnabledState | undefined;
857
868
  DryRun?: boolean;
858
869
  }
859
870
  export interface EnableImageBlockPublicAccessResult {
860
- ImageBlockPublicAccessState?: ImageBlockPublicAccessEnabledState | string;
871
+ ImageBlockPublicAccessState?: ImageBlockPublicAccessEnabledState;
861
872
  }
862
873
  export interface EnableImageDeprecationRequest {
863
874
  ImageId: string | undefined;
@@ -928,7 +939,7 @@ export declare const ClientCertificateRevocationListStatusCode: {
928
939
  export type ClientCertificateRevocationListStatusCode =
929
940
  (typeof ClientCertificateRevocationListStatusCode)[keyof typeof ClientCertificateRevocationListStatusCode];
930
941
  export interface ClientCertificateRevocationListStatus {
931
- Code?: ClientCertificateRevocationListStatusCode | string;
942
+ Code?: ClientCertificateRevocationListStatusCode;
932
943
  Message?: string;
933
944
  }
934
945
  export interface ExportClientVpnClientCertificateRevocationListResult {
@@ -949,7 +960,7 @@ export interface ExportTaskS3LocationRequest {
949
960
  export interface ExportImageRequest {
950
961
  ClientToken?: string;
951
962
  Description?: string;
952
- DiskImageFormat: DiskImageFormat | string | undefined;
963
+ DiskImageFormat: DiskImageFormat | undefined;
953
964
  DryRun?: boolean;
954
965
  ImageId: string | undefined;
955
966
  S3ExportLocation: ExportTaskS3LocationRequest | undefined;
@@ -958,7 +969,7 @@ export interface ExportImageRequest {
958
969
  }
959
970
  export interface ExportImageResult {
960
971
  Description?: string;
961
- DiskImageFormat?: DiskImageFormat | string;
972
+ DiskImageFormat?: DiskImageFormat;
962
973
  ExportImageTaskId?: string;
963
974
  ImageId?: string;
964
975
  RoleName?: string;
@@ -1008,9 +1019,9 @@ export interface DataQuery {
1008
1019
  Id?: string;
1009
1020
  Source?: string;
1010
1021
  Destination?: string;
1011
- Metric?: MetricType | string;
1012
- Statistic?: StatisticType | string;
1013
- Period?: PeriodType | string;
1022
+ Metric?: MetricType;
1023
+ Statistic?: StatisticType;
1024
+ Period?: PeriodType;
1014
1025
  }
1015
1026
  export interface GetAwsNetworkPerformanceDataRequest {
1016
1027
  DataQueries?: DataQuery[];
@@ -1030,9 +1041,9 @@ export interface DataResponse {
1030
1041
  Id?: string;
1031
1042
  Source?: string;
1032
1043
  Destination?: string;
1033
- Metric?: MetricType | string;
1034
- Statistic?: StatisticType | string;
1035
- Period?: PeriodType | string;
1044
+ Metric?: MetricType;
1045
+ Statistic?: StatisticType;
1046
+ Period?: PeriodType;
1036
1047
  MetricPoints?: MetricPoint[];
1037
1048
  }
1038
1049
  export interface GetAwsNetworkPerformanceDataResult {
@@ -1055,7 +1066,7 @@ export interface GetCapacityReservationUsageResult {
1055
1066
  InstanceType?: string;
1056
1067
  TotalInstanceCount?: number;
1057
1068
  AvailableInstanceCount?: number;
1058
- State?: CapacityReservationState | string;
1069
+ State?: CapacityReservationState;
1059
1070
  InstanceUsages?: InstanceUsage[];
1060
1071
  }
1061
1072
  export interface GetCoipPoolUsageRequest {
@@ -1105,10 +1116,10 @@ export type UnlimitedSupportedInstanceFamily =
1105
1116
  (typeof UnlimitedSupportedInstanceFamily)[keyof typeof UnlimitedSupportedInstanceFamily];
1106
1117
  export interface GetDefaultCreditSpecificationRequest {
1107
1118
  DryRun?: boolean;
1108
- InstanceFamily: UnlimitedSupportedInstanceFamily | string | undefined;
1119
+ InstanceFamily: UnlimitedSupportedInstanceFamily | undefined;
1109
1120
  }
1110
1121
  export interface InstanceFamilyCreditSpecification {
1111
- InstanceFamily?: UnlimitedSupportedInstanceFamily | string;
1122
+ InstanceFamily?: UnlimitedSupportedInstanceFamily;
1112
1123
  CpuCredits?: string;
1113
1124
  }
1114
1125
  export interface GetDefaultCreditSpecificationResult {
@@ -1125,7 +1136,7 @@ export interface GetEbsEncryptionByDefaultRequest {
1125
1136
  }
1126
1137
  export interface GetEbsEncryptionByDefaultResult {
1127
1138
  EbsEncryptionByDefault?: boolean;
1128
- SseType?: SSEType | string;
1139
+ SseType?: SSEType;
1129
1140
  }
1130
1141
  export declare const PartitionLoadFrequency: {
1131
1142
  readonly DAILY: "daily";
@@ -1137,7 +1148,7 @@ export type PartitionLoadFrequency =
1137
1148
  (typeof PartitionLoadFrequency)[keyof typeof PartitionLoadFrequency];
1138
1149
  export interface AthenaIntegration {
1139
1150
  IntegrationResultS3DestinationArn: string | undefined;
1140
- PartitionLoadFrequency: PartitionLoadFrequency | string | undefined;
1151
+ PartitionLoadFrequency: PartitionLoadFrequency | undefined;
1141
1152
  PartitionStartDate?: Date;
1142
1153
  PartitionEndDate?: Date;
1143
1154
  }
@@ -1172,17 +1183,17 @@ export interface GetHostReservationPurchasePreviewRequest {
1172
1183
  OfferingId: string | undefined;
1173
1184
  }
1174
1185
  export interface Purchase {
1175
- CurrencyCode?: CurrencyCodeValues | string;
1186
+ CurrencyCode?: CurrencyCodeValues;
1176
1187
  Duration?: number;
1177
1188
  HostIdSet?: string[];
1178
1189
  HostReservationId?: string;
1179
1190
  HourlyPrice?: string;
1180
1191
  InstanceFamily?: string;
1181
- PaymentOption?: PaymentOption | string;
1192
+ PaymentOption?: PaymentOption;
1182
1193
  UpfrontPrice?: string;
1183
1194
  }
1184
1195
  export interface GetHostReservationPurchasePreviewResult {
1185
- CurrencyCode?: CurrencyCodeValues | string;
1196
+ CurrencyCode?: CurrencyCodeValues;
1186
1197
  Purchase?: Purchase[];
1187
1198
  TotalHourlyPrice?: string;
1188
1199
  TotalUpfrontPrice?: string;
@@ -1195,8 +1206,8 @@ export interface GetImageBlockPublicAccessStateResult {
1195
1206
  }
1196
1207
  export interface GetInstanceTypesFromInstanceRequirementsRequest {
1197
1208
  DryRun?: boolean;
1198
- ArchitectureTypes: (ArchitectureType | string)[] | undefined;
1199
- VirtualizationTypes: (VirtualizationType | string)[] | undefined;
1209
+ ArchitectureTypes: ArchitectureType[] | undefined;
1210
+ VirtualizationTypes: VirtualizationType[] | undefined;
1200
1211
  InstanceRequirements: InstanceRequirementsRequest | undefined;
1201
1212
  MaxResults?: number;
1202
1213
  NextToken?: string;
@@ -1253,12 +1264,12 @@ export type IpamAddressHistoryResourceType =
1253
1264
  export interface IpamAddressHistoryRecord {
1254
1265
  ResourceOwnerId?: string;
1255
1266
  ResourceRegion?: string;
1256
- ResourceType?: IpamAddressHistoryResourceType | string;
1267
+ ResourceType?: IpamAddressHistoryResourceType;
1257
1268
  ResourceId?: string;
1258
1269
  ResourceCidr?: string;
1259
1270
  ResourceName?: string;
1260
- ResourceComplianceStatus?: IpamComplianceStatus | string;
1261
- ResourceOverlapStatus?: IpamOverlapStatus | string;
1271
+ ResourceComplianceStatus?: IpamComplianceStatus;
1272
+ ResourceOverlapStatus?: IpamOverlapStatus;
1262
1273
  VpcId?: string;
1263
1274
  SampledStartTime?: Date;
1264
1275
  SampledEndTime?: Date;
@@ -1283,7 +1294,7 @@ export declare const IpamDiscoveryFailureCode: {
1283
1294
  export type IpamDiscoveryFailureCode =
1284
1295
  (typeof IpamDiscoveryFailureCode)[keyof typeof IpamDiscoveryFailureCode];
1285
1296
  export interface IpamDiscoveryFailureReason {
1286
- Code?: IpamDiscoveryFailureCode | string;
1297
+ Code?: IpamDiscoveryFailureCode;
1287
1298
  Message?: string;
1288
1299
  }
1289
1300
  export interface IpamDiscoveredAccount {
@@ -1320,7 +1331,7 @@ export interface IpamDiscoveredResourceCidr {
1320
1331
  ResourceId?: string;
1321
1332
  ResourceOwnerId?: string;
1322
1333
  ResourceCidr?: string;
1323
- ResourceType?: IpamResourceType | string;
1334
+ ResourceType?: IpamResourceType;
1324
1335
  ResourceTags?: IpamResourceTag[];
1325
1336
  IpUsage?: number;
1326
1337
  VpcId?: string;
@@ -1361,7 +1372,7 @@ export interface GetIpamResourceCidrsRequest {
1361
1372
  IpamScopeId: string | undefined;
1362
1373
  IpamPoolId?: string;
1363
1374
  ResourceId?: string;
1364
- ResourceType?: IpamResourceType | string;
1375
+ ResourceType?: IpamResourceType;
1365
1376
  ResourceTag?: RequestIpamResourceTag;
1366
1377
  ResourceOwner?: string;
1367
1378
  }
@@ -1381,12 +1392,12 @@ export interface IpamResourceCidr {
1381
1392
  ResourceId?: string;
1382
1393
  ResourceName?: string;
1383
1394
  ResourceCidr?: string;
1384
- ResourceType?: IpamResourceType | string;
1395
+ ResourceType?: IpamResourceType;
1385
1396
  ResourceTags?: IpamResourceTag[];
1386
1397
  IpUsage?: number;
1387
- ComplianceStatus?: IpamComplianceStatus | string;
1388
- ManagementState?: IpamManagementState | string;
1389
- OverlapStatus?: IpamOverlapStatus | string;
1398
+ ComplianceStatus?: IpamComplianceStatus;
1399
+ ManagementState?: IpamManagementState;
1400
+ OverlapStatus?: IpamOverlapStatus;
1390
1401
  VpcId?: string;
1391
1402
  }
1392
1403
  export interface GetIpamResourceCidrsResult {
@@ -1437,7 +1448,7 @@ export interface GetNetworkInsightsAccessScopeAnalysisFindingsRequest {
1437
1448
  }
1438
1449
  export interface GetNetworkInsightsAccessScopeAnalysisFindingsResult {
1439
1450
  NetworkInsightsAccessScopeAnalysisId?: string;
1440
- AnalysisStatus?: AnalysisStatus | string;
1451
+ AnalysisStatus?: AnalysisStatus;
1441
1452
  AnalysisFindings?: AccessScopeAnalysisFinding[];
1442
1453
  NextToken?: string;
1443
1454
  }
@@ -1497,14 +1508,14 @@ export interface GetSerialConsoleAccessStatusResult {
1497
1508
  SerialConsoleAccessEnabled?: boolean;
1498
1509
  }
1499
1510
  export interface InstanceRequirementsWithMetadataRequest {
1500
- ArchitectureTypes?: (ArchitectureType | string)[];
1501
- VirtualizationTypes?: (VirtualizationType | string)[];
1511
+ ArchitectureTypes?: ArchitectureType[];
1512
+ VirtualizationTypes?: VirtualizationType[];
1502
1513
  InstanceRequirements?: InstanceRequirementsRequest;
1503
1514
  }
1504
1515
  export interface GetSpotPlacementScoresRequest {
1505
1516
  InstanceTypes?: string[];
1506
1517
  TargetCapacity: number | undefined;
1507
- TargetCapacityUnitType?: TargetCapacityUnitType | string;
1518
+ TargetCapacityUnitType?: TargetCapacityUnitType;
1508
1519
  SingleAvailabilityZone?: boolean;
1509
1520
  RegionNames?: string[];
1510
1521
  InstanceRequirementsWithMetadata?: InstanceRequirementsWithMetadataRequest;
@@ -1542,7 +1553,7 @@ export interface GetTransitGatewayAttachmentPropagationsRequest {
1542
1553
  }
1543
1554
  export interface TransitGatewayAttachmentPropagation {
1544
1555
  TransitGatewayRouteTableId?: string;
1545
- State?: TransitGatewayPropagationState | string;
1556
+ State?: TransitGatewayPropagationState;
1546
1557
  }
1547
1558
  export interface GetTransitGatewayAttachmentPropagationsResult {
1548
1559
  TransitGatewayAttachmentPropagations?: TransitGatewayAttachmentPropagation[];
@@ -1558,7 +1569,7 @@ export interface GetTransitGatewayMulticastDomainAssociationsRequest {
1558
1569
  export interface TransitGatewayMulticastDomainAssociation {
1559
1570
  TransitGatewayAttachmentId?: string;
1560
1571
  ResourceId?: string;
1561
- ResourceType?: TransitGatewayAttachmentResourceType | string;
1572
+ ResourceType?: TransitGatewayAttachmentResourceType;
1562
1573
  ResourceOwnerId?: string;
1563
1574
  Subnet?: SubnetAssociation;
1564
1575
  }
@@ -1625,8 +1636,8 @@ export interface GetTransitGatewayRouteTableAssociationsRequest {
1625
1636
  export interface TransitGatewayRouteTableAssociation {
1626
1637
  TransitGatewayAttachmentId?: string;
1627
1638
  ResourceId?: string;
1628
- ResourceType?: TransitGatewayAttachmentResourceType | string;
1629
- State?: TransitGatewayAssociationState | string;
1639
+ ResourceType?: TransitGatewayAttachmentResourceType;
1640
+ State?: TransitGatewayAssociationState;
1630
1641
  }
1631
1642
  export interface GetTransitGatewayRouteTableAssociationsResult {
1632
1643
  Associations?: TransitGatewayRouteTableAssociation[];
@@ -1639,25 +1650,6 @@ export interface GetTransitGatewayRouteTablePropagationsRequest {
1639
1650
  NextToken?: string;
1640
1651
  DryRun?: boolean;
1641
1652
  }
1642
- export interface TransitGatewayRouteTablePropagation {
1643
- TransitGatewayAttachmentId?: string;
1644
- ResourceId?: string;
1645
- ResourceType?: TransitGatewayAttachmentResourceType | string;
1646
- State?: TransitGatewayPropagationState | string;
1647
- TransitGatewayRouteTableAnnouncementId?: string;
1648
- }
1649
- export interface GetTransitGatewayRouteTablePropagationsResult {
1650
- TransitGatewayRouteTablePropagations?: TransitGatewayRouteTablePropagation[];
1651
- NextToken?: string;
1652
- }
1653
- export interface GetVerifiedAccessEndpointPolicyRequest {
1654
- VerifiedAccessEndpointId: string | undefined;
1655
- DryRun?: boolean;
1656
- }
1657
- export interface GetVerifiedAccessEndpointPolicyResult {
1658
- PolicyEnabled?: boolean;
1659
- PolicyDocument?: string;
1660
- }
1661
1653
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
1662
1654
  obj: DescribeVerifiedAccessTrustProvidersResult
1663
1655
  ) => any;