@aws-sdk/client-ec2 3.1117.0 → 3.1118.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 (48) hide show
  1. package/dist-cjs/index.js +55 -6
  2. package/dist-es/models/enums.js +9 -0
  3. package/dist-es/schemas/schemas_0.js +40 -5
  4. package/dist-types/commands/CreateFleetCommand.d.ts +15 -1
  5. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  6. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  7. package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -2
  8. package/dist-types/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  9. package/dist-types/commands/DescribeFleetsCommand.d.ts +9 -2
  10. package/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -2
  11. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -2
  13. package/dist-types/commands/EnableFastLaunchCommand.d.ts +1 -2
  14. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  15. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  16. package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
  17. package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  18. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  19. package/dist-types/models/enums.d.ts +25 -0
  20. package/dist-types/models/models_1.d.ts +74 -59
  21. package/dist-types/models/models_2.d.ts +52 -29
  22. package/dist-types/models/models_3.d.ts +69 -118
  23. package/dist-types/models/models_4.d.ts +113 -154
  24. package/dist-types/models/models_5.d.ts +153 -86
  25. package/dist-types/models/models_6.d.ts +86 -131
  26. package/dist-types/models/models_7.d.ts +135 -49
  27. package/dist-types/models/models_8.d.ts +46 -2
  28. package/dist-types/schemas/schemas_0.d.ts +3 -0
  29. package/dist-types/ts3.4/commands/CreateNetworkInterfacePermissionCommand.d.ts +4 -2
  30. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +2 -1
  32. package/dist-types/ts3.4/commands/DescribeFlowLogsCommand.d.ts +1 -2
  33. package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +4 -2
  34. package/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +1 -2
  35. package/dist-types/ts3.4/commands/ImportSnapshotCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  38. package/dist-types/ts3.4/models/enums.d.ts +13 -0
  39. package/dist-types/ts3.4/models/models_1.d.ts +12 -13
  40. package/dist-types/ts3.4/models/models_2.d.ts +12 -9
  41. package/dist-types/ts3.4/models/models_3.d.ts +15 -17
  42. package/dist-types/ts3.4/models/models_4.d.ts +18 -36
  43. package/dist-types/ts3.4/models/models_5.d.ts +30 -17
  44. package/dist-types/ts3.4/models/models_6.d.ts +16 -24
  45. package/dist-types/ts3.4/models/models_7.d.ts +28 -13
  46. package/dist-types/ts3.4/models/models_8.d.ts +13 -0
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  48. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BurstablePerformance, CapacityReservationPreference, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterfacePermissionType, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfacePermissionStateCode, NetworkInterfaceStatus, NetworkInterfaceType, PlatformValues, PrefixListState, Protocol, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay } from "./enums";
1
+ import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BurstablePerformance, CapacityReservationPreference, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfaceStatus, NetworkInterfaceType, PlatformValues, PrefixListState, Protocol, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay } from "./enums";
2
2
  import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ClientVpnAuthenticationRequest, InstanceEventWindow, IpamRoutingPolicyRegistrationDelta, Ipv4PrefixSpecification, NatGatewayAddress, OperatorResponse, PortRange, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
3
3
  /**
4
4
  * <p>Describes the client connection logging options for the Client VPN endpoint.</p>
@@ -2812,7 +2812,44 @@ export interface OnDemandOptionsRequest {
2812
2812
  MaxTotalPrice?: string | undefined;
2813
2813
  }
2814
2814
  /**
2815
- * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to <code>reserved-capacity</code>.</p>
2815
+ * <p>Describes the target Capacity Reservations or Capacity Reservation Resource Groups for an EC2 Fleet
2816
+ * that launches into reserved capacity. You can specify Capacity Reservation IDs or a
2817
+ * Capacity Reservation Resource Group ARN, but not both.</p>
2818
+ * @public
2819
+ */
2820
+ export interface FleetCapacityReservationTargetRequest {
2821
+ /**
2822
+ * <p>The IDs of the Capacity Reservations in which to launch the instances.</p>
2823
+ * @public
2824
+ */
2825
+ CapacityReservationIds?: string[] | undefined;
2826
+ /**
2827
+ * <p>The ARNs of the Capacity Reservation Resource Groups in which to launch the
2828
+ * instances.</p>
2829
+ * @public
2830
+ */
2831
+ CapacityReservationResourceGroupArns?: string[] | undefined;
2832
+ }
2833
+ /**
2834
+ * <p>Describes the fallback behavior for an EC2 Fleet that uses reserved capacity when the
2835
+ * reserved capacity is not enough to meet the target capacity. If you don't specify
2836
+ * fallback options, EC2 Fleet does not fall back to any other market type after the specified
2837
+ * reservation types are exhausted.</p>
2838
+ * @public
2839
+ */
2840
+ export interface ReservedCapacityFallbackOptionsRequest {
2841
+ /**
2842
+ * <p>The instance purchasing options to fall back to when the reserved capacity is not
2843
+ * enough to meet the target capacity. The only supported value is <code>on-demand</code>,
2844
+ * which launches On-Demand Instances to fulfill the remaining target capacity.</p>
2845
+ * @public
2846
+ */
2847
+ MarketTypes?: ReservedCapacityFallbackMarketType[] | undefined;
2848
+ }
2849
+ /**
2850
+ * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when <code>DefaultTargetCapacityType</code>
2851
+ * is set to <code>reserved-capacity</code>. EC2 Fleet can fulfill reserved capacity using On-Demand Capacity Reservations,
2852
+ * Capacity Blocks for ML, and interruptible Capacity Reservations.</p>
2816
2853
  * <note>
2817
2854
  * <p>This configuration can only be used if the EC2 Fleet is of type
2818
2855
  * <code>instant</code>.</p>
@@ -2820,16 +2857,42 @@ export interface OnDemandOptionsRequest {
2820
2857
  * <p>When you specify <code>ReservedCapacityOptions</code>, you must also set
2821
2858
  * <code>DefaultTargetCapacityType</code> to <code>reserved-capacity</code> in the
2822
2859
  * <code>TargetCapacitySpecification</code>.</p>
2823
- * <p>For more information about Interruptible Capacity Reservations, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-launch-instances-interruptible-cr-walkthrough.html">Launch
2824
- * instances into an Interruptible Capacity Reservation</a> in the <i>Amazon EC2 User Guide</i>.</p>
2860
+ * <p>For more information about interruptible Capacity Reservations, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-launch-instances-interruptible-cr-walkthrough.html">Launch
2861
+ * instances into an interruptible Capacity Reservation</a> in the <i>Amazon EC2 User Guide</i>.</p>
2825
2862
  * @public
2826
2863
  */
2827
2864
  export interface ReservedCapacityOptionsRequest {
2828
2865
  /**
2829
- * <p>The types of Capacity Reservations to use for fulfilling the EC2 Fleet request.</p>
2866
+ * <p>The strategy that determines the order in which EC2 Fleet launches instances across the
2867
+ * reservation types that you specify. The only supported value is <code>prioritized</code>,
2868
+ * which launches instances in the priority order that you specify in your launch template
2869
+ * overrides. If you don't specify an allocation strategy, instances are launched in a
2870
+ * random order.</p>
2871
+ * @public
2872
+ */
2873
+ AllocationStrategy?: ReservedCapacityAllocationStrategy | undefined;
2874
+ /**
2875
+ * <p>The types of Capacity Reservations to use for fulfilling the EC2 Fleet request. This is an
2876
+ * ordered list: EC2 Fleet attempts to launch instances into each Capacity Reservation type in the order
2877
+ * that you specify them before moving on to the next type.</p>
2830
2878
  * @public
2831
2879
  */
2832
2880
  ReservationTypes?: FleetReservationType[] | undefined;
2881
+ /**
2882
+ * <p>The Capacity Reservations or Capacity Reservation Resource Groups to use for fulfilling the EC2 Fleet
2883
+ * request. You can specify Capacity Reservation IDs or a Capacity Reservation Resource Group
2884
+ * ARN, but not both.</p>
2885
+ * @public
2886
+ */
2887
+ CapacityReservationTarget?: FleetCapacityReservationTargetRequest | undefined;
2888
+ /**
2889
+ * <p>The fallback behavior for the EC2 Fleet when there is not enough reserved capacity available
2890
+ * to meet the target capacity. This member takes a
2891
+ * <code>ReservedCapacityFallbackOptionsRequest</code> structure, in which you set
2892
+ * <code>MarketTypes</code> to the instance purchasing options to fall back to.</p>
2893
+ * @public
2894
+ */
2895
+ ReservedCapacityFallbackOptions?: ReservedCapacityFallbackOptionsRequest | undefined;
2833
2896
  }
2834
2897
  /**
2835
2898
  * <p>The Spot Instance replacement strategy to use when Amazon EC2 emits a rebalance
@@ -4200,8 +4263,10 @@ export interface CreateFleetError {
4200
4263
  */
4201
4264
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
4202
4265
  /**
4203
- * <p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block,
4204
- * or Interruptible Capacity Reservation instance.</p>
4266
+ * <p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block for ML,
4267
+ * or interruptible Capacity Reservation instance. If you are using <code>ReservedCapacityOptions</code> with
4268
+ * <code>on-demand-capacity-reservation</code> in the <code>ReservationTypes</code> list, the
4269
+ * value can also be <code>on-demand-capacity-reservation</code>.</p>
4205
4270
  * @public
4206
4271
  */
4207
4272
  Lifecycle?: InstanceLifecycle | undefined;
@@ -4230,8 +4295,8 @@ export interface CreateFleetInstance {
4230
4295
  */
4231
4296
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
4232
4297
  /**
4233
- * <p>Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block,
4234
- * or Interruptible Capacity Reservation instance.</p>
4298
+ * <p>Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML,
4299
+ * or interruptible Capacity Reservation instance.</p>
4235
4300
  * @public
4236
4301
  */
4237
4302
  Lifecycle?: InstanceLifecycle | undefined;
@@ -12692,53 +12757,3 @@ export interface CreateNetworkInterfaceResult {
12692
12757
  */
12693
12758
  ClientToken?: string | undefined;
12694
12759
  }
12695
- /**
12696
- * <p>Contains the parameters for CreateNetworkInterfacePermission.</p>
12697
- * @public
12698
- */
12699
- export interface CreateNetworkInterfacePermissionRequest {
12700
- /**
12701
- * <p>The ID of the network interface.</p>
12702
- * @public
12703
- */
12704
- NetworkInterfaceId: string | undefined;
12705
- /**
12706
- * <p>The Amazon Web Services account ID.</p>
12707
- * @public
12708
- */
12709
- AwsAccountId?: string | undefined;
12710
- /**
12711
- * <p>The Amazon Web Services service. Currently not supported.</p>
12712
- * @public
12713
- */
12714
- AwsService?: string | undefined;
12715
- /**
12716
- * <p>The type of permission to grant.</p>
12717
- * @public
12718
- */
12719
- Permission: InterfacePermissionType | undefined;
12720
- /**
12721
- * <p>Checks whether you have the required permissions for the action, without actually
12722
- * making the request, and provides an error response. If you have the required
12723
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
12724
- * <code>UnauthorizedOperation</code>.</p>
12725
- * @public
12726
- */
12727
- DryRun?: boolean | undefined;
12728
- }
12729
- /**
12730
- * <p>Describes the state of a network interface permission.</p>
12731
- * @public
12732
- */
12733
- export interface NetworkInterfacePermissionState {
12734
- /**
12735
- * <p>The state of the permission.</p>
12736
- * @public
12737
- */
12738
- State?: NetworkInterfacePermissionStateCode | undefined;
12739
- /**
12740
- * <p>A status message, if applicable.</p>
12741
- * @public
12742
- */
12743
- StatusMessage?: string | undefined;
12744
- }
@@ -1,6 +1,56 @@
1
- import type { ApplianceModeSupportValue, AutoAcceptSharedAssociationsValue, AutoAcceptSharedAttachmentsValue, BgpStatus, ConnectionNotificationState, ConnectionNotificationType, CopyTagsFromSource, CurrencyCodeValues, DatafeedSubscriptionState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DeleteFleetErrorCode, DeviceTrustProviderType, DnsNameState, DnsRecordIpType, DnsSupportValue, DynamicRoutingValue, EncryptionStateValue, FleetStateCode, GatewayAssociationState, GatewayType, Igmpv2SupportValue, InstanceEventWindowState, InterfacePermissionType, InternetGatewayExclusionMode, IpAddressType, Ipv6SupportValue, LaunchTemplateErrorCode, MulticastSupportValue, PayerResponsibility, PayerResponsibilityScope, PayerResponsibilityType, PlacementGroupState, PlacementStrategy, ProtocolValue, ReplaceRootVolumeTaskState, RouteOrigin, RouteServerBfdState, RouteServerBgpState, RouteServerEndpointState, RouteServerPeerLivenessMode, RouteServerPeerState, RouteServerPersistRoutesAction, RouteServerPersistRoutesState, RouteServerState, RouteState, SecondaryNetworkCidrBlockAssociationState, SecondaryNetworkState, SecondaryNetworkType, SecondarySubnetCidrBlockAssociationState, SecondarySubnetState, SecurityGroupReferencingSupportValue, ServiceConnectivityType, ServiceState, ServiceType, SnapshotLocationEnum, SnapshotState, SpreadLevel, SSEType, State, StaticSourcesSupportValue, StorageTier, SubnetCidrReservationType, TelemetryStatus, Tenancy, TrafficDirection, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorTargetType, TransferType, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayConnectPeerState, TransitGatewayMeteringPayerType, TransitGatewayMeteringPolicyEntryState, TransitGatewayMeteringPolicyState, TransitGatewayMulticastDomainState, TransitGatewayPolicyTableEntryState, TransitGatewayPolicyTableState, TransitGatewayPrefixListReferenceState, TransitGatewayRouteState, TransitGatewayRouteTableAnnouncementDirection, TransitGatewayRouteTableAnnouncementState, TransitGatewayRouteTableState, TransitGatewayRouteType, TransitGatewayState, TrustProviderType, TunnelInsideIpVersion, UserTrustProviderType, VerifiedAccessEndpointAttachmentType, VerifiedAccessEndpointProtocol, VerifiedAccessEndpointStatusCode, VerifiedAccessEndpointType, VolumeType, VpcBlockPublicAccessExclusionState, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcEndpointType, VpnConcentratorType, VpnEcmpSupportValue, VpnState, VpnStaticRouteSource, VpnTunnelBandwidth } from "./enums";
1
+ import type { ApplianceModeSupportValue, AutoAcceptSharedAssociationsValue, AutoAcceptSharedAttachmentsValue, BgpStatus, ConnectionNotificationState, ConnectionNotificationType, CopyTagsFromSource, CurrencyCodeValues, DatafeedSubscriptionState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DeleteFleetErrorCode, DeviceTrustProviderType, DnsNameState, DnsRecordIpType, DnsSupportValue, DynamicRoutingValue, EncryptionStateValue, FleetStateCode, GatewayAssociationState, GatewayType, Igmpv2SupportValue, InstanceEventWindowState, InterfacePermissionType, InternetGatewayExclusionMode, IpAddressType, Ipv6SupportValue, LaunchTemplateErrorCode, MulticastSupportValue, NetworkInterfacePermissionStateCode, PayerResponsibility, PayerResponsibilityScope, PayerResponsibilityType, PlacementGroupState, PlacementStrategy, ProtocolValue, ReplaceRootVolumeTaskState, RouteOrigin, RouteServerBfdState, RouteServerBgpState, RouteServerEndpointState, RouteServerPeerLivenessMode, RouteServerPeerState, RouteServerPersistRoutesAction, RouteServerPersistRoutesState, RouteServerState, RouteState, SecondaryNetworkCidrBlockAssociationState, SecondaryNetworkState, SecondaryNetworkType, SecondarySubnetCidrBlockAssociationState, SecondarySubnetState, SecurityGroupReferencingSupportValue, ServiceConnectivityType, ServiceState, ServiceType, SnapshotLocationEnum, SnapshotState, SpreadLevel, SSEType, State, StaticSourcesSupportValue, StorageTier, SubnetCidrReservationType, TelemetryStatus, Tenancy, TrafficDirection, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorTargetType, TransferType, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayConnectPeerState, TransitGatewayMeteringPayerType, TransitGatewayMeteringPolicyEntryState, TransitGatewayMeteringPolicyState, TransitGatewayMulticastDomainState, TransitGatewayPolicyTableEntryState, TransitGatewayPolicyTableState, TransitGatewayPrefixListReferenceState, TransitGatewayRouteState, TransitGatewayRouteTableAnnouncementDirection, TransitGatewayRouteTableAnnouncementState, TransitGatewayRouteTableState, TransitGatewayRouteType, TransitGatewayState, TrustProviderType, TunnelInsideIpVersion, UserTrustProviderType, VerifiedAccessEndpointAttachmentType, VerifiedAccessEndpointProtocol, VerifiedAccessEndpointStatusCode, VerifiedAccessEndpointType, VolumeType, VpcBlockPublicAccessExclusionState, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcEndpointType, VpnConcentratorType, VpnEcmpSupportValue, VpnState, VpnStaticRouteSource, VpnTunnelBandwidth } from "./enums";
2
2
  import type { ApplicationStatusCheckResponseObject, CarrierGateway, IpamRoutingPolicyRegistrationDelta, OperatorResponse, ReservedInstancesListing, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VpcAttachment, VpcPeeringConnection } from "./models_0";
3
- import type { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, Ipam, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, NetworkInterfacePermissionState, OperatorRequest, Subnet, Vpc, VpcEncryptionControl } from "./models_1";
3
+ import type { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, Ipam, IpamExternalResourceVerificationToken, IpamInternetRegistryAssociation, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, OperatorRequest, Subnet, Vpc, VpcEncryptionControl } from "./models_1";
4
+ /**
5
+ * <p>Contains the parameters for CreateNetworkInterfacePermission.</p>
6
+ * @public
7
+ */
8
+ export interface CreateNetworkInterfacePermissionRequest {
9
+ /**
10
+ * <p>The ID of the network interface.</p>
11
+ * @public
12
+ */
13
+ NetworkInterfaceId: string | undefined;
14
+ /**
15
+ * <p>The Amazon Web Services account ID.</p>
16
+ * @public
17
+ */
18
+ AwsAccountId?: string | undefined;
19
+ /**
20
+ * <p>The Amazon Web Services service. Currently not supported.</p>
21
+ * @public
22
+ */
23
+ AwsService?: string | undefined;
24
+ /**
25
+ * <p>The type of permission to grant.</p>
26
+ * @public
27
+ */
28
+ Permission: InterfacePermissionType | undefined;
29
+ /**
30
+ * <p>Checks whether you have the required permissions for the action, without actually
31
+ * making the request, and provides an error response. If you have the required
32
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
33
+ * <code>UnauthorizedOperation</code>.</p>
34
+ * @public
35
+ */
36
+ DryRun?: boolean | undefined;
37
+ }
38
+ /**
39
+ * <p>Describes the state of a network interface permission.</p>
40
+ * @public
41
+ */
42
+ export interface NetworkInterfacePermissionState {
43
+ /**
44
+ * <p>The state of the permission.</p>
45
+ * @public
46
+ */
47
+ State?: NetworkInterfacePermissionStateCode | undefined;
48
+ /**
49
+ * <p>A status message, if applicable.</p>
50
+ * @public
51
+ */
52
+ StatusMessage?: string | undefined;
53
+ }
4
54
  /**
5
55
  * <p>Describes a permission for a network interface.</p>
6
56
  * @public
@@ -9091,30 +9141,3 @@ export interface DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRes
9091
9141
  */
9092
9142
  LocalGatewayRouteTableVirtualInterfaceGroupAssociation?: LocalGatewayRouteTableVirtualInterfaceGroupAssociation | undefined;
9093
9143
  }
9094
- /**
9095
- * @public
9096
- */
9097
- export interface DeleteLocalGatewayRouteTableVpcAssociationRequest {
9098
- /**
9099
- * <p>The ID of the association.</p>
9100
- * @public
9101
- */
9102
- LocalGatewayRouteTableVpcAssociationId: string | undefined;
9103
- /**
9104
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9105
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
9106
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9107
- * @public
9108
- */
9109
- DryRun?: boolean | undefined;
9110
- }
9111
- /**
9112
- * @public
9113
- */
9114
- export interface DeleteLocalGatewayRouteTableVpcAssociationResult {
9115
- /**
9116
- * <p>Information about the association.</p>
9117
- * @public
9118
- */
9119
- LocalGatewayRouteTableVpcAssociation?: LocalGatewayRouteTableVpcAssociation | undefined;
9120
- }
@@ -1,7 +1,34 @@
1
- import type { _InstanceType, AccountAttributeName, AddressAttributeName, AggregationStatusEnum, ApplicationStatusCheckEnum, ApplicationStatusEnum, AsnState, AssociatedNetworkType, AssociationTypeEnum, AvailabilityZoneOptInStatus, AvailabilityZoneState, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, DefaultTargetCapacityType, DeleteQueuedReservedInstancesErrorCode, DestinationFileFormat, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetActivityStatus, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetEventType, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetStateCode, FleetType, InstanceLifecycle, IpamPoolCidrFailureCode, IpamPoolCidrState, MetricType, OutputFormat, PeriodType, PlatformValues, ReportState, Schedule, SnapshotReturnCodes, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StatisticType, TargetCapacityUnitType, TrafficIpAddressType, TransportProtocol, VpnProtocol } from "./enums";
1
+ import type { _InstanceType, AccountAttributeName, AddressAttributeName, AggregationStatusEnum, ApplicationStatusCheckEnum, ApplicationStatusEnum, AsnState, AssociatedNetworkType, AssociationTypeEnum, AvailabilityZoneOptInStatus, AvailabilityZoneState, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, DefaultTargetCapacityType, DeleteQueuedReservedInstancesErrorCode, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetActivityStatus, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetEventType, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetStateCode, FleetType, InstanceLifecycle, IpamPoolCidrFailureCode, IpamPoolCidrState, MetricType, OutputFormat, PeriodType, PlatformValues, ReportState, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, Schedule, SnapshotReturnCodes, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StatisticType, TargetCapacityUnitType, TrafficIpAddressType, TransportProtocol, VpnProtocol } from "./enums";
2
2
  import type { AccountAttribute, AccountVpcEncryptionControl, ActiveInstance, Address, AddressAttribute, AddressTransfer, ApplicationStatusCheckResponseObject, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationCancellationQuote, CarrierGateway, ClientVpnAuthorizationRuleStatus, FleetCapacityReservation, Tag, TransitGatewayClientVpnAttachment, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
3
- import type { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, GroupIdentifier, LaunchTemplateAndOverridesResponse, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, VpcEncryptionControl } from "./models_1";
3
+ import type { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DhcpOptions, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, GroupIdentifier, LaunchTemplateAndOverridesResponse, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, VpcEncryptionControl } from "./models_1";
4
4
  import type { RouteServer, RouteServerEndpoint, RouteServerPeer, SecondaryNetwork, SecondarySubnet, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DeleteLocalGatewayRouteTableVpcAssociationRequest {
9
+ /**
10
+ * <p>The ID of the association.</p>
11
+ * @public
12
+ */
13
+ LocalGatewayRouteTableVpcAssociationId: string | undefined;
14
+ /**
15
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
16
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
17
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
18
+ * @public
19
+ */
20
+ DryRun?: boolean | undefined;
21
+ }
22
+ /**
23
+ * @public
24
+ */
25
+ export interface DeleteLocalGatewayRouteTableVpcAssociationResult {
26
+ /**
27
+ * <p>Information about the association.</p>
28
+ * @public
29
+ */
30
+ LocalGatewayRouteTableVpcAssociation?: LocalGatewayRouteTableVpcAssociation | undefined;
31
+ }
5
32
  /**
6
33
  * @public
7
34
  */
@@ -7617,8 +7644,10 @@ export interface DescribeFleetError {
7617
7644
  */
7618
7645
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
7619
7646
  /**
7620
- * <p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block,
7621
- * or Interruptible Capacity Reservation instance.</p>
7647
+ * <p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block for ML,
7648
+ * or interruptible Capacity Reservation instance. If you are using <code>ReservedCapacityOptions</code> with
7649
+ * <code>on-demand-capacity-reservation</code> in the <code>ReservationTypes</code> list, the
7650
+ * value can also be <code>on-demand-capacity-reservation</code>.</p>
7622
7651
  * @public
7623
7652
  */
7624
7653
  Lifecycle?: InstanceLifecycle | undefined;
@@ -7647,8 +7676,8 @@ export interface DescribeFleetsInstances {
7647
7676
  */
7648
7677
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
7649
7678
  /**
7650
- * <p>Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block,
7651
- * or Interruptible Capacity Reservation instance.</p>
7679
+ * <p>Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML,
7680
+ * or interruptible Capacity Reservation instance.</p>
7652
7681
  * @public
7653
7682
  */
7654
7683
  Lifecycle?: InstanceLifecycle | undefined;
@@ -7780,15 +7809,48 @@ export interface OnDemandOptions {
7780
7809
  MaxTotalPrice?: string | undefined;
7781
7810
  }
7782
7811
  /**
7783
- * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to <code>reserved-capacity</code>.</p>
7812
+ * <p>Describes the fallback behavior for an EC2 Fleet that uses reserved capacity when the
7813
+ * reserved capacity is not enough to meet the target capacity. If you don't specify
7814
+ * fallback options, EC2 Fleet does not fall back to any other market type after the specified
7815
+ * reservation types are exhausted.</p>
7816
+ * @public
7817
+ */
7818
+ export interface ReservedCapacityFallbackOptions {
7819
+ /**
7820
+ * <p>The instance purchasing options to fall back to when the reserved capacity is not
7821
+ * enough to meet the target capacity. The only supported value is <code>on-demand</code>,
7822
+ * which launches On-Demand Instances to fulfill the remaining target capacity.</p>
7823
+ * @public
7824
+ */
7825
+ MarketTypes?: ReservedCapacityFallbackMarketType[] | undefined;
7826
+ }
7827
+ /**
7828
+ * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when <code>DefaultTargetCapacityType</code>
7829
+ * is set to <code>reserved-capacity</code>. EC2 Fleet can fulfill reserved capacity using On-Demand Capacity Reservations,
7830
+ * Capacity Blocks for ML, and interruptible Capacity Reservations.</p>
7784
7831
  * @public
7785
7832
  */
7786
7833
  export interface ReservedCapacityOptions {
7834
+ /**
7835
+ * <p>The strategy that determines the order in which EC2 Fleet launches instances across the
7836
+ * reservation types that you specify. The only supported value is <code>prioritized</code>,
7837
+ * which launches instances in the priority order that you specify in your launch template
7838
+ * overrides. If you don't specify an allocation strategy, instances are launched in a
7839
+ * random order.</p>
7840
+ * @public
7841
+ */
7842
+ AllocationStrategy?: ReservedCapacityAllocationStrategy | undefined;
7787
7843
  /**
7788
7844
  * <p>The types of Capacity Reservations used for fulfilling the EC2 Fleet request.</p>
7789
7845
  * @public
7790
7846
  */
7791
7847
  ReservationTypes?: FleetReservationType[] | undefined;
7848
+ /**
7849
+ * <p>The fallback behavior for the EC2 Fleet when there is not enough reserved capacity available
7850
+ * to meet the target capacity.</p>
7851
+ * @public
7852
+ */
7853
+ ReservedCapacityFallbackOptions?: ReservedCapacityFallbackOptions | undefined;
7792
7854
  }
7793
7855
  /**
7794
7856
  * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
@@ -8157,114 +8219,3 @@ export interface FleetData {
8157
8219
  */
8158
8220
  Context?: string | undefined;
8159
8221
  }
8160
- /**
8161
- * @public
8162
- */
8163
- export interface DescribeFleetsResult {
8164
- /**
8165
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
8166
- * are no more items to return.</p>
8167
- * @public
8168
- */
8169
- NextToken?: string | undefined;
8170
- /**
8171
- * <p>Information about the EC2 Fleets.</p>
8172
- * @public
8173
- */
8174
- Fleets?: FleetData[] | undefined;
8175
- }
8176
- /**
8177
- * @public
8178
- */
8179
- export interface DescribeFlowLogsRequest {
8180
- /**
8181
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8182
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8183
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8184
- * @public
8185
- */
8186
- DryRun?: boolean | undefined;
8187
- /**
8188
- * <p>One or more filters.</p>
8189
- * <ul>
8190
- * <li>
8191
- * <p>
8192
- * <code>deliver-log-status</code> - The status of the logs delivery (<code>SUCCESS</code> |
8193
- * <code>FAILED</code>).</p>
8194
- * </li>
8195
- * <li>
8196
- * <p>
8197
- * <code>log-destination-type</code> - The type of destination for the flow log
8198
- * data (<code>cloud-watch-logs</code> | <code>s3</code> |
8199
- * <code>kinesis-data-firehose</code>).</p>
8200
- * </li>
8201
- * <li>
8202
- * <p>
8203
- * <code>flow-log-id</code> - The ID of the flow log.</p>
8204
- * </li>
8205
- * <li>
8206
- * <p>
8207
- * <code>log-group-name</code> - The name of the log group.</p>
8208
- * </li>
8209
- * <li>
8210
- * <p>
8211
- * <code>resource-id</code> - The ID of the VPC, subnet, or network interface.</p>
8212
- * </li>
8213
- * <li>
8214
- * <p>
8215
- * <code>traffic-type</code> - The type of traffic (<code>ACCEPT</code> |
8216
- * <code>REJECT</code> | <code>ALL</code>).</p>
8217
- * </li>
8218
- * <li>
8219
- * <p>
8220
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
8221
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
8222
- * </li>
8223
- * <li>
8224
- * <p>
8225
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
8226
- * </li>
8227
- * </ul>
8228
- * @public
8229
- */
8230
- Filter?: Filter[] | undefined;
8231
- /**
8232
- * <p>One or more flow log IDs.</p>
8233
- * <p>Constraint: Maximum of 1000 flow log IDs.</p>
8234
- * @public
8235
- */
8236
- FlowLogIds?: string[] | undefined;
8237
- /**
8238
- * <p>The maximum number of items to return for this request.
8239
- * To get the next page of items, make another request with the token returned in the output.
8240
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
8241
- * @public
8242
- */
8243
- MaxResults?: number | undefined;
8244
- /**
8245
- * <p>The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.</p>
8246
- * @public
8247
- */
8248
- NextToken?: string | undefined;
8249
- }
8250
- /**
8251
- * <p>Describes the destination options for a flow log.</p>
8252
- * @public
8253
- */
8254
- export interface DestinationOptionsResponse {
8255
- /**
8256
- * <p>The format for the flow log.</p>
8257
- * @public
8258
- */
8259
- FileFormat?: DestinationFileFormat | undefined;
8260
- /**
8261
- * <p>Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.</p>
8262
- * @public
8263
- */
8264
- HiveCompatiblePartitions?: boolean | undefined;
8265
- /**
8266
- * <p>Indicates whether to partition the flow log per hour.</p>
8267
- * @public
8268
- */
8269
- PerHourPartition?: boolean | undefined;
8270
- }