@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.
@@ -57,7 +57,7 @@ export interface SpotMarketOptions {
57
57
  * Spot Instance requests are only supported when the instance interruption behavior is
58
58
  * either <code>hibernate</code> or <code>stop</code>.</p>
59
59
  */
60
- SpotInstanceType?: SpotInstanceType | string;
60
+ SpotInstanceType?: SpotInstanceType;
61
61
  /**
62
62
  * @public
63
63
  * <p>Deprecated.</p>
@@ -86,7 +86,7 @@ export interface SpotMarketOptions {
86
86
  * <p>The behavior when a Spot Instance is interrupted. The default is
87
87
  * <code>terminate</code>.</p>
88
88
  */
89
- InstanceInterruptionBehavior?: InstanceInterruptionBehavior | string;
89
+ InstanceInterruptionBehavior?: InstanceInterruptionBehavior;
90
90
  }
91
91
  /**
92
92
  * @public
@@ -97,7 +97,7 @@ export interface InstanceMarketOptionsRequest {
97
97
  * @public
98
98
  * <p>The market type.</p>
99
99
  */
100
- MarketType?: MarketType | string;
100
+ MarketType?: MarketType;
101
101
  /**
102
102
  * @public
103
103
  * <p>The options for Spot Instances.</p>
@@ -157,7 +157,7 @@ export interface InstanceMaintenanceOptionsRequest {
157
157
  * <p>Disables the automatic recovery behavior of your instance or sets it to default. For
158
158
  * more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery">Simplified automatic recovery</a>.</p>
159
159
  */
160
- AutoRecovery?: InstanceAutoRecoveryState | string;
160
+ AutoRecovery?: InstanceAutoRecoveryState;
161
161
  }
162
162
  /**
163
163
  * @public
@@ -188,7 +188,7 @@ export interface InstanceMetadataOptionsRequest {
188
188
  * <p>Default: <code>optional</code>
189
189
  * </p>
190
190
  */
191
- HttpTokens?: HttpTokensState | string;
191
+ HttpTokens?: HttpTokensState;
192
192
  /**
193
193
  * @public
194
194
  * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
@@ -205,12 +205,12 @@ export interface InstanceMetadataOptionsRequest {
205
205
  * <p>Default: <code>enabled</code>
206
206
  * </p>
207
207
  */
208
- HttpEndpoint?: InstanceMetadataEndpointState | string;
208
+ HttpEndpoint?: InstanceMetadataEndpointState;
209
209
  /**
210
210
  * @public
211
211
  * <p>Enables or disables the IPv6 endpoint for the instance metadata service.</p>
212
212
  */
213
- HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
213
+ HttpProtocolIpv6?: InstanceMetadataProtocolState;
214
214
  /**
215
215
  * @public
216
216
  * <p>Set to <code>enabled</code> to allow access to instance tags from the instance
@@ -220,7 +220,7 @@ export interface InstanceMetadataOptionsRequest {
220
220
  * <p>Default: <code>disabled</code>
221
221
  * </p>
222
222
  */
223
- InstanceMetadataTags?: InstanceMetadataTagsState | string;
223
+ InstanceMetadataTags?: InstanceMetadataTagsState;
224
224
  }
225
225
  /**
226
226
  * @public
@@ -234,7 +234,7 @@ export interface PrivateDnsNameOptionsRequest {
234
234
  * must be based on the instance ID. For dual-stack subnets, you can specify whether DNS
235
235
  * names use the instance IPv4 address or the instance ID.</p>
236
236
  */
237
- HostnameType?: HostnameType | string;
237
+ HostnameType?: HostnameType;
238
238
  /**
239
239
  * @public
240
240
  * <p>Indicates whether to respond to DNS queries for instance hostnames with DNS A
@@ -270,7 +270,7 @@ export interface RunInstancesRequest {
270
270
  * <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
271
271
  * <i>Amazon EC2 User Guide</i>.</p>
272
272
  */
273
- InstanceType?: _InstanceType | string;
273
+ InstanceType?: _InstanceType;
274
274
  /**
275
275
  * @public
276
276
  * <p>The number of IPv6 addresses to associate with the primary network
@@ -446,7 +446,7 @@ export interface RunInstancesRequest {
446
446
  * <p>Default: <code>stop</code>
447
447
  * </p>
448
448
  */
449
- InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string;
449
+ InstanceInitiatedShutdownBehavior?: ShutdownBehavior;
450
450
  /**
451
451
  * @public
452
452
  * <p>The network interfaces to associate with the instance. If you specify a network
@@ -1161,7 +1161,7 @@ export interface TransitGatewayMulticastGroup {
1161
1161
  * @public
1162
1162
  * <p>The type of resource, for example a VPC attachment.</p>
1163
1163
  */
1164
- ResourceType?: TransitGatewayAttachmentResourceType | string;
1164
+ ResourceType?: TransitGatewayAttachmentResourceType;
1165
1165
  /**
1166
1166
  * @public
1167
1167
  * <p> The ID of the Amazon Web Services account that owns the transit gateway multicast domain group resource.</p>
@@ -1186,12 +1186,12 @@ export interface TransitGatewayMulticastGroup {
1186
1186
  * @public
1187
1187
  * <p>The member type (for example, <code>static</code>).</p>
1188
1188
  */
1189
- MemberType?: MembershipType | string;
1189
+ MemberType?: MembershipType;
1190
1190
  /**
1191
1191
  * @public
1192
1192
  * <p>The source type.</p>
1193
1193
  */
1194
- SourceType?: MembershipType | string;
1194
+ SourceType?: MembershipType;
1195
1195
  }
1196
1196
  /**
1197
1197
  * @public
@@ -136,7 +136,7 @@ export interface Tag {
136
136
  Value?: string;
137
137
  }
138
138
  export interface TagSpecification {
139
- ResourceType?: ResourceType | string;
139
+ ResourceType?: ResourceType;
140
140
  Tags?: Tag[];
141
141
  }
142
142
  export interface AcceptAddressTransferRequest {
@@ -157,7 +157,7 @@ export interface AddressTransfer {
157
157
  TransferAccountId?: string;
158
158
  TransferOfferExpirationTimestamp?: Date;
159
159
  TransferOfferAcceptedTimestamp?: Date;
160
- AddressTransferStatus?: AddressTransferStatus | string;
160
+ AddressTransferStatus?: AddressTransferStatus;
161
161
  }
162
162
  export interface AcceptAddressTransferResult {
163
163
  AddressTransfer?: AddressTransfer;
@@ -203,13 +203,13 @@ export type TransitGatewayMulitcastDomainAssociationState =
203
203
  (typeof TransitGatewayMulitcastDomainAssociationState)[keyof typeof TransitGatewayMulitcastDomainAssociationState];
204
204
  export interface SubnetAssociation {
205
205
  SubnetId?: string;
206
- State?: TransitGatewayMulitcastDomainAssociationState | string;
206
+ State?: TransitGatewayMulitcastDomainAssociationState;
207
207
  }
208
208
  export interface TransitGatewayMulticastDomainAssociations {
209
209
  TransitGatewayMulticastDomainId?: string;
210
210
  TransitGatewayAttachmentId?: string;
211
211
  ResourceId?: string;
212
- ResourceType?: TransitGatewayAttachmentResourceType | string;
212
+ ResourceType?: TransitGatewayAttachmentResourceType;
213
213
  ResourceOwnerId?: string;
214
214
  Subnets?: SubnetAssociation[];
215
215
  }
@@ -233,7 +233,7 @@ export declare const DynamicRoutingValue: {
233
233
  export type DynamicRoutingValue =
234
234
  (typeof DynamicRoutingValue)[keyof typeof DynamicRoutingValue];
235
235
  export interface TransitGatewayPeeringAttachmentOptions {
236
- DynamicRouting?: DynamicRoutingValue | string;
236
+ DynamicRouting?: DynamicRoutingValue;
237
237
  }
238
238
  export declare const TransitGatewayAttachmentState: {
239
239
  readonly available: "available";
@@ -263,7 +263,7 @@ export interface TransitGatewayPeeringAttachment {
263
263
  AccepterTgwInfo?: PeeringTgwInfo;
264
264
  Options?: TransitGatewayPeeringAttachmentOptions;
265
265
  Status?: PeeringAttachmentStatus;
266
- State?: TransitGatewayAttachmentState | string;
266
+ State?: TransitGatewayAttachmentState;
267
267
  CreationTime?: Date;
268
268
  Tags?: Tag[];
269
269
  }
@@ -293,16 +293,16 @@ export declare const Ipv6SupportValue: {
293
293
  export type Ipv6SupportValue =
294
294
  (typeof Ipv6SupportValue)[keyof typeof Ipv6SupportValue];
295
295
  export interface TransitGatewayVpcAttachmentOptions {
296
- DnsSupport?: DnsSupportValue | string;
297
- Ipv6Support?: Ipv6SupportValue | string;
298
- ApplianceModeSupport?: ApplianceModeSupportValue | string;
296
+ DnsSupport?: DnsSupportValue;
297
+ Ipv6Support?: Ipv6SupportValue;
298
+ ApplianceModeSupport?: ApplianceModeSupportValue;
299
299
  }
300
300
  export interface TransitGatewayVpcAttachment {
301
301
  TransitGatewayAttachmentId?: string;
302
302
  TransitGatewayId?: string;
303
303
  VpcId?: string;
304
304
  VpcOwnerId?: string;
305
- State?: TransitGatewayAttachmentState | string;
305
+ State?: TransitGatewayAttachmentState;
306
306
  SubnetIds?: string[];
307
307
  CreationTime?: Date;
308
308
  Options?: TransitGatewayVpcAttachmentOptions;
@@ -365,7 +365,7 @@ export declare const VpcPeeringConnectionStateReasonCode: {
365
365
  export type VpcPeeringConnectionStateReasonCode =
366
366
  (typeof VpcPeeringConnectionStateReasonCode)[keyof typeof VpcPeeringConnectionStateReasonCode];
367
367
  export interface VpcPeeringConnectionStateReason {
368
- Code?: VpcPeeringConnectionStateReasonCode | string;
368
+ Code?: VpcPeeringConnectionStateReasonCode;
369
369
  Message?: string;
370
370
  }
371
371
  export interface VpcPeeringConnection {
@@ -583,7 +583,7 @@ export interface PacketHeaderStatement {
583
583
  DestinationPorts?: string[];
584
584
  SourcePrefixLists?: string[];
585
585
  DestinationPrefixLists?: string[];
586
- Protocols?: (Protocol | string)[];
586
+ Protocols?: Protocol[];
587
587
  }
588
588
  export interface ResourceStatement {
589
589
  Resources?: string[];
@@ -608,7 +608,7 @@ export interface PacketHeaderStatementRequest {
608
608
  DestinationPorts?: string[];
609
609
  SourcePrefixLists?: string[];
610
610
  DestinationPrefixLists?: string[];
611
- Protocols?: (Protocol | string)[];
611
+ Protocols?: Protocol[];
612
612
  }
613
613
  export interface ResourceStatementRequest {
614
614
  Resources?: string[];
@@ -649,7 +649,7 @@ export interface ActiveInstance {
649
649
  InstanceId?: string;
650
650
  InstanceType?: string;
651
651
  SpotInstanceRequestId?: string;
652
- InstanceHealth?: InstanceHealthStatus | string;
652
+ InstanceHealth?: InstanceHealthStatus;
653
653
  }
654
654
  export declare const ActivityStatus: {
655
655
  readonly ERROR: "error";
@@ -669,7 +669,7 @@ export declare const PrincipalType: {
669
669
  };
670
670
  export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
671
671
  export interface AddedPrincipal {
672
- PrincipalType?: PrincipalType | string;
672
+ PrincipalType?: PrincipalType;
673
673
  Principal?: string;
674
674
  ServicePermissionId?: string;
675
675
  ServiceId?: string;
@@ -691,7 +691,7 @@ export interface Address {
691
691
  PublicIp?: string;
692
692
  AllocationId?: string;
693
693
  AssociationId?: string;
694
- Domain?: DomainType | string;
694
+ Domain?: DomainType;
695
695
  NetworkInterfaceId?: string;
696
696
  NetworkInterfaceOwnerId?: string;
697
697
  PrivateIpAddress?: string;
@@ -743,7 +743,7 @@ export interface ByoipCidr {
743
743
  Cidr?: string;
744
744
  Description?: string;
745
745
  StatusMessage?: string;
746
- State?: ByoipCidrState | string;
746
+ State?: ByoipCidrState;
747
747
  }
748
748
  export interface AdvertiseByoipCidrResult {
749
749
  ByoipCidr?: ByoipCidr;
@@ -754,7 +754,7 @@ export declare const Affinity: {
754
754
  };
755
755
  export type Affinity = (typeof Affinity)[keyof typeof Affinity];
756
756
  export interface AllocateAddressRequest {
757
- Domain?: DomainType | string;
757
+ Domain?: DomainType;
758
758
  Address?: string;
759
759
  PublicIpv4Pool?: string;
760
760
  NetworkBorderGroup?: string;
@@ -767,7 +767,7 @@ export interface AllocateAddressResult {
767
767
  AllocationId?: string;
768
768
  PublicIpv4Pool?: string;
769
769
  NetworkBorderGroup?: string;
770
- Domain?: DomainType | string;
770
+ Domain?: DomainType;
771
771
  CustomerOwnedIp?: string;
772
772
  CustomerOwnedIpv4Pool?: string;
773
773
  CarrierIp?: string;
@@ -789,16 +789,16 @@ export declare const HostRecovery: {
789
789
  };
790
790
  export type HostRecovery = (typeof HostRecovery)[keyof typeof HostRecovery];
791
791
  export interface AllocateHostsRequest {
792
- AutoPlacement?: AutoPlacement | string;
792
+ AutoPlacement?: AutoPlacement;
793
793
  AvailabilityZone: string | undefined;
794
794
  ClientToken?: string;
795
795
  InstanceType?: string;
796
796
  InstanceFamily?: string;
797
797
  Quantity?: number;
798
798
  TagSpecifications?: TagSpecification[];
799
- HostRecovery?: HostRecovery | string;
799
+ HostRecovery?: HostRecovery;
800
800
  OutpostArn?: string;
801
- HostMaintenance?: HostMaintenance | string;
801
+ HostMaintenance?: HostMaintenance;
802
802
  AssetIds?: string[];
803
803
  }
804
804
  export interface AllocateHostsResult {
@@ -827,7 +827,7 @@ export interface IpamPoolAllocation {
827
827
  IpamPoolAllocationId?: string;
828
828
  Description?: string;
829
829
  ResourceId?: string;
830
- ResourceType?: IpamPoolAllocationResourceType | string;
830
+ ResourceType?: IpamPoolAllocationResourceType;
831
831
  ResourceRegion?: string;
832
832
  ResourceOwner?: string;
833
833
  }
@@ -859,7 +859,7 @@ export declare const AllocationType: {
859
859
  export type AllocationType =
860
860
  (typeof AllocationType)[keyof typeof AllocationType];
861
861
  export interface AllowedPrincipal {
862
- PrincipalType?: PrincipalType | string;
862
+ PrincipalType?: PrincipalType;
863
863
  Principal?: string;
864
864
  ServicePermissionId?: string;
865
865
  Tags?: Tag[];
@@ -939,7 +939,7 @@ export interface NatGatewayAddress {
939
939
  AssociationId?: string;
940
940
  IsPrimary?: boolean;
941
941
  FailureMessage?: string;
942
- Status?: NatGatewayAddressStatus | string;
942
+ Status?: NatGatewayAddressStatus;
943
943
  }
944
944
  export interface AssignPrivateNatGatewayAddressResult {
945
945
  NatGatewayId?: string;
@@ -973,7 +973,7 @@ export declare const AssociationStatusCode: {
973
973
  export type AssociationStatusCode =
974
974
  (typeof AssociationStatusCode)[keyof typeof AssociationStatusCode];
975
975
  export interface AssociationStatus {
976
- Code?: AssociationStatusCode | string;
976
+ Code?: AssociationStatusCode;
977
977
  Message?: string;
978
978
  }
979
979
  export interface AssociateClientVpnTargetNetworkResult {
@@ -1019,7 +1019,7 @@ export interface IamInstanceProfileAssociation {
1019
1019
  AssociationId?: string;
1020
1020
  InstanceId?: string;
1021
1021
  IamInstanceProfile?: IamInstanceProfile;
1022
- State?: IamInstanceProfileAssociationState | string;
1022
+ State?: IamInstanceProfileAssociationState;
1023
1023
  Timestamp?: Date;
1024
1024
  }
1025
1025
  export interface AssociateIamInstanceProfileResult {
@@ -1059,9 +1059,9 @@ export declare const WeekDay: {
1059
1059
  };
1060
1060
  export type WeekDay = (typeof WeekDay)[keyof typeof WeekDay];
1061
1061
  export interface InstanceEventWindowTimeRange {
1062
- StartWeekDay?: WeekDay | string;
1062
+ StartWeekDay?: WeekDay;
1063
1063
  StartHour?: number;
1064
- EndWeekDay?: WeekDay | string;
1064
+ EndWeekDay?: WeekDay;
1065
1065
  EndHour?: number;
1066
1066
  }
1067
1067
  export interface InstanceEventWindow {
@@ -1070,7 +1070,7 @@ export interface InstanceEventWindow {
1070
1070
  Name?: string;
1071
1071
  CronExpression?: string;
1072
1072
  AssociationTarget?: InstanceEventWindowAssociationTarget;
1073
- State?: InstanceEventWindowState | string;
1073
+ State?: InstanceEventWindowState;
1074
1074
  Tags?: Tag[];
1075
1075
  }
1076
1076
  export interface AssociateInstanceEventWindowResult {
@@ -1111,8 +1111,8 @@ export interface IpamResourceDiscoveryAssociation {
1111
1111
  IpamArn?: string;
1112
1112
  IpamRegion?: string;
1113
1113
  IsDefault?: boolean;
1114
- ResourceDiscoveryStatus?: IpamAssociatedResourceDiscoveryStatus | string;
1115
- State?: IpamResourceDiscoveryAssociationState | string;
1114
+ ResourceDiscoveryStatus?: IpamAssociatedResourceDiscoveryStatus;
1115
+ State?: IpamResourceDiscoveryAssociationState;
1116
1116
  Tags?: Tag[];
1117
1117
  }
1118
1118
  export interface AssociateIpamResourceDiscoveryResult {
@@ -1144,7 +1144,7 @@ export declare const RouteTableAssociationStateCode: {
1144
1144
  export type RouteTableAssociationStateCode =
1145
1145
  (typeof RouteTableAssociationStateCode)[keyof typeof RouteTableAssociationStateCode];
1146
1146
  export interface RouteTableAssociationState {
1147
- State?: RouteTableAssociationStateCode | string;
1147
+ State?: RouteTableAssociationStateCode;
1148
1148
  StatusMessage?: string;
1149
1149
  }
1150
1150
  export interface AssociateRouteTableResult {
@@ -1166,7 +1166,7 @@ export declare const SubnetCidrBlockStateCode: {
1166
1166
  export type SubnetCidrBlockStateCode =
1167
1167
  (typeof SubnetCidrBlockStateCode)[keyof typeof SubnetCidrBlockStateCode];
1168
1168
  export interface SubnetCidrBlockState {
1169
- State?: SubnetCidrBlockStateCode | string;
1169
+ State?: SubnetCidrBlockStateCode;
1170
1170
  StatusMessage?: string;
1171
1171
  }
1172
1172
  export interface SubnetIpv6CidrBlockAssociation {
@@ -1204,8 +1204,8 @@ export interface TransitGatewayPolicyTableAssociation {
1204
1204
  TransitGatewayPolicyTableId?: string;
1205
1205
  TransitGatewayAttachmentId?: string;
1206
1206
  ResourceId?: string;
1207
- ResourceType?: TransitGatewayAttachmentResourceType | string;
1208
- State?: TransitGatewayAssociationState | string;
1207
+ ResourceType?: TransitGatewayAttachmentResourceType;
1208
+ State?: TransitGatewayAssociationState;
1209
1209
  }
1210
1210
  export interface AssociateTransitGatewayPolicyTableResult {
1211
1211
  Association?: TransitGatewayPolicyTableAssociation;
@@ -1219,8 +1219,8 @@ export interface TransitGatewayAssociation {
1219
1219
  TransitGatewayRouteTableId?: string;
1220
1220
  TransitGatewayAttachmentId?: string;
1221
1221
  ResourceId?: string;
1222
- ResourceType?: TransitGatewayAttachmentResourceType | string;
1223
- State?: TransitGatewayAssociationState | string;
1222
+ ResourceType?: TransitGatewayAttachmentResourceType;
1223
+ State?: TransitGatewayAssociationState;
1224
1224
  }
1225
1225
  export interface AssociateTransitGatewayRouteTableResult {
1226
1226
  Association?: TransitGatewayAssociation;
@@ -1243,7 +1243,7 @@ export interface TrunkInterfaceAssociation {
1243
1243
  AssociationId?: string;
1244
1244
  BranchInterfaceId?: string;
1245
1245
  TrunkInterfaceId?: string;
1246
- InterfaceProtocol?: InterfaceProtocolType | string;
1246
+ InterfaceProtocol?: InterfaceProtocolType;
1247
1247
  VlanId?: number;
1248
1248
  GreKey?: number;
1249
1249
  Tags?: Tag[];
@@ -1275,7 +1275,7 @@ export declare const VpcCidrBlockStateCode: {
1275
1275
  export type VpcCidrBlockStateCode =
1276
1276
  (typeof VpcCidrBlockStateCode)[keyof typeof VpcCidrBlockStateCode];
1277
1277
  export interface VpcCidrBlockState {
1278
- State?: VpcCidrBlockStateCode | string;
1278
+ State?: VpcCidrBlockStateCode;
1279
1279
  StatusMessage?: string;
1280
1280
  }
1281
1281
  export interface VpcCidrBlockAssociation {
@@ -1355,9 +1355,9 @@ export type UserTrustProviderType =
1355
1355
  export interface VerifiedAccessTrustProviderCondensed {
1356
1356
  VerifiedAccessTrustProviderId?: string;
1357
1357
  Description?: string;
1358
- TrustProviderType?: TrustProviderType | string;
1359
- UserTrustProviderType?: UserTrustProviderType | string;
1360
- DeviceTrustProviderType?: DeviceTrustProviderType | string;
1358
+ TrustProviderType?: TrustProviderType;
1359
+ UserTrustProviderType?: UserTrustProviderType;
1360
+ DeviceTrustProviderType?: DeviceTrustProviderType;
1361
1361
  }
1362
1362
  export interface VerifiedAccessInstance {
1363
1363
  VerifiedAccessInstanceId?: string;
@@ -1387,9 +1387,9 @@ export interface VerifiedAccessSseSpecificationResponse {
1387
1387
  export interface VerifiedAccessTrustProvider {
1388
1388
  VerifiedAccessTrustProviderId?: string;
1389
1389
  Description?: string;
1390
- TrustProviderType?: TrustProviderType | string;
1391
- UserTrustProviderType?: UserTrustProviderType | string;
1392
- DeviceTrustProviderType?: DeviceTrustProviderType | string;
1390
+ TrustProviderType?: TrustProviderType;
1391
+ UserTrustProviderType?: UserTrustProviderType;
1392
+ DeviceTrustProviderType?: DeviceTrustProviderType;
1393
1393
  OidcOptions?: OidcOptions;
1394
1394
  DeviceOptions?: DeviceOptions;
1395
1395
  PolicyReferenceName?: string;
@@ -1421,7 +1421,7 @@ export interface VolumeAttachment {
1421
1421
  AttachTime?: Date;
1422
1422
  Device?: string;
1423
1423
  InstanceId?: string;
1424
- State?: VolumeAttachmentState | string;
1424
+ State?: VolumeAttachmentState;
1425
1425
  VolumeId?: string;
1426
1426
  DeleteOnTermination?: boolean;
1427
1427
  }
@@ -1439,7 +1439,7 @@ export declare const AttachmentStatus: {
1439
1439
  export type AttachmentStatus =
1440
1440
  (typeof AttachmentStatus)[keyof typeof AttachmentStatus];
1441
1441
  export interface VpcAttachment {
1442
- State?: AttachmentStatus | string;
1442
+ State?: AttachmentStatus;
1443
1443
  VpcId?: string;
1444
1444
  }
1445
1445
  export interface AttachVpnGatewayResult {
@@ -1463,7 +1463,7 @@ export declare const ClientVpnAuthorizationRuleStatusCode: {
1463
1463
  export type ClientVpnAuthorizationRuleStatusCode =
1464
1464
  (typeof ClientVpnAuthorizationRuleStatusCode)[keyof typeof ClientVpnAuthorizationRuleStatusCode];
1465
1465
  export interface ClientVpnAuthorizationRuleStatus {
1466
- Code?: ClientVpnAuthorizationRuleStatusCode | string;
1466
+ Code?: ClientVpnAuthorizationRuleStatusCode;
1467
1467
  Message?: string;
1468
1468
  }
1469
1469
  export interface AuthorizeClientVpnIngressResult {
@@ -1590,7 +1590,7 @@ export interface BundleTask {
1590
1590
  InstanceId?: string;
1591
1591
  Progress?: string;
1592
1592
  StartTime?: Date;
1593
- State?: BundleTaskState | string;
1593
+ State?: BundleTaskState;
1594
1594
  Storage?: Storage;
1595
1595
  UpdateTime?: Date;
1596
1596
  }
@@ -1637,8 +1637,8 @@ export declare const CapacityReservationFleetState: {
1637
1637
  export type CapacityReservationFleetState =
1638
1638
  (typeof CapacityReservationFleetState)[keyof typeof CapacityReservationFleetState];
1639
1639
  export interface CapacityReservationFleetCancellationState {
1640
- CurrentFleetState?: CapacityReservationFleetState | string;
1641
- PreviousFleetState?: CapacityReservationFleetState | string;
1640
+ CurrentFleetState?: CapacityReservationFleetState;
1641
+ PreviousFleetState?: CapacityReservationFleetState;
1642
1642
  CapacityReservationFleetId?: string;
1643
1643
  }
1644
1644
  export interface CancelCapacityReservationFleetsResult {
@@ -1682,7 +1682,7 @@ export declare const ListingState: {
1682
1682
  export type ListingState = (typeof ListingState)[keyof typeof ListingState];
1683
1683
  export interface InstanceCount {
1684
1684
  InstanceCount?: number;
1685
- State?: ListingState | string;
1685
+ State?: ListingState;
1686
1686
  }
1687
1687
  export declare const CurrencyCodeValues: {
1688
1688
  readonly USD: "USD";
@@ -1691,7 +1691,7 @@ export type CurrencyCodeValues =
1691
1691
  (typeof CurrencyCodeValues)[keyof typeof CurrencyCodeValues];
1692
1692
  export interface PriceSchedule {
1693
1693
  Active?: boolean;
1694
- CurrencyCode?: CurrencyCodeValues | string;
1694
+ CurrencyCode?: CurrencyCodeValues;
1695
1695
  Price?: number;
1696
1696
  Term?: number;
1697
1697
  }
@@ -1709,7 +1709,7 @@ export interface ReservedInstancesListing {
1709
1709
  PriceSchedules?: PriceSchedule[];
1710
1710
  ReservedInstancesId?: string;
1711
1711
  ReservedInstancesListingId?: string;
1712
- Status?: ListingStatus | string;
1712
+ Status?: ListingStatus;
1713
1713
  StatusMessage?: string;
1714
1714
  Tags?: Tag[];
1715
1715
  UpdateDate?: Date;
@@ -1733,8 +1733,8 @@ export declare const BatchState: {
1733
1733
  };
1734
1734
  export type BatchState = (typeof BatchState)[keyof typeof BatchState];
1735
1735
  export interface CancelSpotFleetRequestsSuccessItem {
1736
- CurrentSpotFleetRequestState?: BatchState | string;
1737
- PreviousSpotFleetRequestState?: BatchState | string;
1736
+ CurrentSpotFleetRequestState?: BatchState;
1737
+ PreviousSpotFleetRequestState?: BatchState;
1738
1738
  SpotFleetRequestId?: string;
1739
1739
  }
1740
1740
  export declare const CancelBatchErrorCode: {
@@ -1746,7 +1746,7 @@ export declare const CancelBatchErrorCode: {
1746
1746
  export type CancelBatchErrorCode =
1747
1747
  (typeof CancelBatchErrorCode)[keyof typeof CancelBatchErrorCode];
1748
1748
  export interface CancelSpotFleetRequestsError {
1749
- Code?: CancelBatchErrorCode | string;
1749
+ Code?: CancelBatchErrorCode;
1750
1750
  Message?: string;
1751
1751
  }
1752
1752
  export interface CancelSpotFleetRequestsErrorItem {
@@ -1772,7 +1772,7 @@ export type CancelSpotInstanceRequestState =
1772
1772
  (typeof CancelSpotInstanceRequestState)[keyof typeof CancelSpotInstanceRequestState];
1773
1773
  export interface CancelledSpotInstanceRequest {
1774
1774
  SpotInstanceRequestId?: string;
1775
- State?: CancelSpotInstanceRequestState | string;
1775
+ State?: CancelSpotInstanceRequestState;
1776
1776
  }
1777
1777
  export interface CancelSpotInstanceRequestsResult {
1778
1778
  CancelledSpotInstanceRequests?: CancelledSpotInstanceRequest[];
@@ -1870,23 +1870,23 @@ export type CapacityReservationTenancy =
1870
1870
  export interface CreateCapacityReservationRequest {
1871
1871
  ClientToken?: string;
1872
1872
  InstanceType: string | undefined;
1873
- InstancePlatform: CapacityReservationInstancePlatform | string | undefined;
1873
+ InstancePlatform: CapacityReservationInstancePlatform | undefined;
1874
1874
  AvailabilityZone?: string;
1875
1875
  AvailabilityZoneId?: string;
1876
- Tenancy?: CapacityReservationTenancy | string;
1876
+ Tenancy?: CapacityReservationTenancy;
1877
1877
  InstanceCount: number | undefined;
1878
1878
  EbsOptimized?: boolean;
1879
1879
  EphemeralStorage?: boolean;
1880
1880
  EndDate?: Date;
1881
- EndDateType?: EndDateType | string;
1882
- InstanceMatchCriteria?: InstanceMatchCriteria | string;
1881
+ EndDateType?: EndDateType;
1882
+ InstanceMatchCriteria?: InstanceMatchCriteria;
1883
1883
  TagSpecifications?: TagSpecification[];
1884
1884
  DryRun?: boolean;
1885
1885
  OutpostArn?: string;
1886
1886
  PlacementGroupArn?: string;
1887
1887
  }
1888
1888
  export interface CapacityAllocation {
1889
- AllocationType?: AllocationType | string;
1889
+ AllocationType?: AllocationType;
1890
1890
  Count?: number;
1891
1891
  }
1892
1892
  export declare const CapacityReservationState: {
@@ -1904,18 +1904,18 @@ export interface CapacityReservation {
1904
1904
  CapacityReservationArn?: string;
1905
1905
  AvailabilityZoneId?: string;
1906
1906
  InstanceType?: string;
1907
- InstancePlatform?: CapacityReservationInstancePlatform | string;
1907
+ InstancePlatform?: CapacityReservationInstancePlatform;
1908
1908
  AvailabilityZone?: string;
1909
- Tenancy?: CapacityReservationTenancy | string;
1909
+ Tenancy?: CapacityReservationTenancy;
1910
1910
  TotalInstanceCount?: number;
1911
1911
  AvailableInstanceCount?: number;
1912
1912
  EbsOptimized?: boolean;
1913
1913
  EphemeralStorage?: boolean;
1914
- State?: CapacityReservationState | string;
1914
+ State?: CapacityReservationState;
1915
1915
  StartDate?: Date;
1916
1916
  EndDate?: Date;
1917
- EndDateType?: EndDateType | string;
1918
- InstanceMatchCriteria?: InstanceMatchCriteria | string;
1917
+ EndDateType?: EndDateType;
1918
+ InstanceMatchCriteria?: InstanceMatchCriteria;
1919
1919
  CreateDate?: Date;
1920
1920
  Tags?: Tag[];
1921
1921
  OutpostArn?: string;
@@ -2684,8 +2684,8 @@ export declare const _InstanceType: {
2684
2684
  };
2685
2685
  export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
2686
2686
  export interface ReservationFleetInstanceSpecification {
2687
- InstanceType?: _InstanceType | string;
2688
- InstancePlatform?: CapacityReservationInstancePlatform | string;
2687
+ InstanceType?: _InstanceType;
2688
+ InstancePlatform?: CapacityReservationInstancePlatform;
2689
2689
  Weight?: number;
2690
2690
  AvailabilityZone?: string;
2691
2691
  AvailabilityZoneId?: string;
@@ -2703,18 +2703,18 @@ export interface CreateCapacityReservationFleetRequest {
2703
2703
  InstanceTypeSpecifications:
2704
2704
  | ReservationFleetInstanceSpecification[]
2705
2705
  | undefined;
2706
- Tenancy?: FleetCapacityReservationTenancy | string;
2706
+ Tenancy?: FleetCapacityReservationTenancy;
2707
2707
  TotalTargetCapacity: number | undefined;
2708
2708
  EndDate?: Date;
2709
- InstanceMatchCriteria?: FleetInstanceMatchCriteria | string;
2709
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria;
2710
2710
  TagSpecifications?: TagSpecification[];
2711
2711
  DryRun?: boolean;
2712
2712
  }
2713
2713
  export interface FleetCapacityReservation {
2714
2714
  CapacityReservationId?: string;
2715
2715
  AvailabilityZoneId?: string;
2716
- InstanceType?: _InstanceType | string;
2717
- InstancePlatform?: CapacityReservationInstancePlatform | string;
2716
+ InstanceType?: _InstanceType;
2717
+ InstancePlatform?: CapacityReservationInstancePlatform;
2718
2718
  AvailabilityZone?: string;
2719
2719
  TotalInstanceCount?: number;
2720
2720
  FulfilledCapacity?: number;
@@ -2725,14 +2725,14 @@ export interface FleetCapacityReservation {
2725
2725
  }
2726
2726
  export interface CreateCapacityReservationFleetResult {
2727
2727
  CapacityReservationFleetId?: string;
2728
- State?: CapacityReservationFleetState | string;
2728
+ State?: CapacityReservationFleetState;
2729
2729
  TotalTargetCapacity?: number;
2730
2730
  TotalFulfilledCapacity?: number;
2731
- InstanceMatchCriteria?: FleetInstanceMatchCriteria | string;
2731
+ InstanceMatchCriteria?: FleetInstanceMatchCriteria;
2732
2732
  AllocationStrategy?: string;
2733
2733
  CreateTime?: Date;
2734
2734
  EndDate?: Date;
2735
- Tenancy?: FleetCapacityReservationTenancy | string;
2735
+ Tenancy?: FleetCapacityReservationTenancy;
2736
2736
  FleetCapacityReservations?: FleetCapacityReservation[];
2737
2737
  Tags?: Tag[];
2738
2738
  }
@@ -2753,7 +2753,7 @@ export type CarrierGatewayState =
2753
2753
  export interface CarrierGateway {
2754
2754
  CarrierGatewayId?: string;
2755
2755
  VpcId?: string;
2756
- State?: CarrierGatewayState | string;
2756
+ State?: CarrierGatewayState;
2757
2757
  OwnerId?: string;
2758
2758
  Tags?: Tag[];
2759
2759
  }