@aws-sdk/client-ec2 3.1012.0 → 3.1013.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 (40) hide show
  1. package/dist-cjs/index.js +6 -0
  2. package/dist-cjs/schemas/schemas_0.js +56 -29
  3. package/dist-es/models/enums.js +5 -0
  4. package/dist-es/schemas/schemas_0.js +33 -6
  5. package/dist-types/commands/CreateFleetCommand.d.ts +8 -3
  6. package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -2
  7. package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -1
  8. package/dist-types/commands/DescribeFleetsCommand.d.ts +8 -3
  9. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -2
  10. package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -1
  11. package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -2
  12. package/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -1
  13. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  14. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  15. package/dist-types/models/enums.d.ts +13 -0
  16. package/dist-types/models/models_1.d.ts +31 -43
  17. package/dist-types/models/models_2.d.ts +40 -10
  18. package/dist-types/models/models_3.d.ts +31 -166
  19. package/dist-types/models/models_4.d.ts +166 -73
  20. package/dist-types/models/models_5.d.ts +71 -100
  21. package/dist-types/models/models_6.d.ts +102 -68
  22. package/dist-types/models/models_7.d.ts +67 -2
  23. package/dist-types/schemas/schemas_0.d.ts +2 -0
  24. package/dist-types/ts3.4/commands/CreateSecondarySubnetCommand.d.ts +4 -2
  25. package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -4
  26. package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -2
  27. package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -4
  28. package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -4
  30. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  32. package/dist-types/ts3.4/models/models_1.d.ts +5 -9
  33. package/dist-types/ts3.4/models/models_2.d.ts +9 -3
  34. package/dist-types/ts3.4/models/models_3.d.ts +8 -18
  35. package/dist-types/ts3.4/models/models_4.d.ts +19 -13
  36. package/dist-types/ts3.4/models/models_5.d.ts +12 -18
  37. package/dist-types/ts3.4/models/models_6.d.ts +19 -17
  38. package/dist-types/ts3.4/models/models_7.d.ts +16 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  40. package/package.json +5 -5
@@ -196,7 +196,7 @@ declare const DescribeFleetsCommand_base: {
196
196
  * // TotalTargetCapacity: Number("int"),
197
197
  * // OnDemandTargetCapacity: Number("int"),
198
198
  * // SpotTargetCapacity: Number("int"),
199
- * // DefaultTargetCapacityType: "spot" || "on-demand" || "capacity-block",
199
+ * // DefaultTargetCapacityType: "spot" || "on-demand" || "capacity-block" || "reserved-capacity",
200
200
  * // TargetCapacityUnitType: "vcpu" || "memory-mib" || "units",
201
201
  * // },
202
202
  * // TerminateInstancesWithExpiration: true || false,
@@ -229,6 +229,11 @@ declare const DescribeFleetsCommand_base: {
229
229
  * // MinTargetCapacity: Number("int"),
230
230
  * // MaxTotalPrice: "STRING_VALUE",
231
231
  * // },
232
+ * // ReservedCapacityOptions: { // ReservedCapacityOptions
233
+ * // ReservationTypes: [ // ReservationTypeList
234
+ * // "interruptible-capacity-reservation",
235
+ * // ],
236
+ * // },
232
237
  * // Tags: [ // TagList
233
238
  * // { // Tag
234
239
  * // Key: "STRING_VALUE",
@@ -353,7 +358,7 @@ declare const DescribeFleetsCommand_base: {
353
358
  * // AvailabilityZoneId: "STRING_VALUE",
354
359
  * // },
355
360
  * // },
356
- * // Lifecycle: "spot" || "on-demand",
361
+ * // Lifecycle: "spot" || "on-demand" || "interruptible-capacity-reservation",
357
362
  * // ErrorCode: "STRING_VALUE",
358
363
  * // ErrorMessage: "STRING_VALUE",
359
364
  * // },
@@ -476,7 +481,7 @@ declare const DescribeFleetsCommand_base: {
476
481
  * // AvailabilityZoneId: "STRING_VALUE",
477
482
  * // },
478
483
  * // },
479
- * // Lifecycle: "spot" || "on-demand",
484
+ * // Lifecycle: "spot" || "on-demand" || "interruptible-capacity-reservation",
480
485
  * // InstanceIds: [ // InstanceIdsSet
481
486
  * // "STRING_VALUE",
482
487
  * // ],
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import type { DescribeInstanceImageMetadataRequest } from "../models/models_3";
5
- import type { DescribeInstanceImageMetadataResult } from "../models/models_4";
4
+ import type { DescribeInstanceImageMetadataRequest, DescribeInstanceImageMetadataResult } from "../models/models_4";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import type { DescribeTrafficMirrorSessionsRequest, DescribeTrafficMirrorSessionsResult } from "../models/models_4";
4
+ import type { DescribeTrafficMirrorSessionsRequest } from "../models/models_4";
5
+ import type { DescribeTrafficMirrorSessionsResult } from "../models/models_5";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import type { DescribeTrafficMirrorTargetsRequest } from "../models/models_4";
5
- import type { DescribeTrafficMirrorTargetsResult } from "../models/models_5";
4
+ import type { DescribeTrafficMirrorTargetsRequest, DescribeTrafficMirrorTargetsResult } from "../models/models_5";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import type { GetDeclarativePoliciesReportSummaryRequest, GetDeclarativePoliciesReportSummaryResult } from "../models/models_5";
4
+ import type { GetDeclarativePoliciesReportSummaryRequest } from "../models/models_5";
5
+ import type { GetDeclarativePoliciesReportSummaryResult } from "../models/models_6";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -194,7 +194,7 @@ declare const ModifyFleetCommand_base: {
194
194
  * TotalTargetCapacity: Number("int"), // required
195
195
  * OnDemandTargetCapacity: Number("int"),
196
196
  * SpotTargetCapacity: Number("int"),
197
- * DefaultTargetCapacityType: "spot" || "on-demand" || "capacity-block",
197
+ * DefaultTargetCapacityType: "spot" || "on-demand" || "capacity-block" || "reserved-capacity",
198
198
  * TargetCapacityUnitType: "vcpu" || "memory-mib" || "units",
199
199
  * },
200
200
  * Context: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import type { ModifyTrafficMirrorSessionRequest, ModifyTrafficMirrorSessionResult } from "../models/models_6";
4
+ import type { ModifyTrafficMirrorSessionRequest, ModifyTrafficMirrorSessionResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -2891,6 +2891,17 @@ export declare const FleetCapacityReservationUsageStrategy: {
2891
2891
  * @public
2892
2892
  */
2893
2893
  export type FleetCapacityReservationUsageStrategy = (typeof FleetCapacityReservationUsageStrategy)[keyof typeof FleetCapacityReservationUsageStrategy];
2894
+ /**
2895
+ * @public
2896
+ * @enum
2897
+ */
2898
+ export declare const FleetReservationType: {
2899
+ readonly INTERRUPTIBLE_CAPACITY_RESERVATION: "interruptible-capacity-reservation";
2900
+ };
2901
+ /**
2902
+ * @public
2903
+ */
2904
+ export type FleetReservationType = (typeof FleetReservationType)[keyof typeof FleetReservationType];
2894
2905
  /**
2895
2906
  * @public
2896
2907
  * @enum
@@ -2938,6 +2949,7 @@ export type FleetReplacementStrategy = (typeof FleetReplacementStrategy)[keyof t
2938
2949
  export declare const DefaultTargetCapacityType: {
2939
2950
  readonly CAPACITY_BLOCK: "capacity-block";
2940
2951
  readonly ON_DEMAND: "on-demand";
2952
+ readonly RESERVED_CAPACITY: "reserved-capacity";
2941
2953
  readonly SPOT: "spot";
2942
2954
  };
2943
2955
  /**
@@ -2975,6 +2987,7 @@ export type FleetType = (typeof FleetType)[keyof typeof FleetType];
2975
2987
  * @enum
2976
2988
  */
2977
2989
  export declare const InstanceLifecycle: {
2990
+ readonly INTERRUPTIBLE_CAPACITY_RESERVATION: "interruptible-capacity-reservation";
2978
2991
  readonly ON_DEMAND: "on-demand";
2979
2992
  readonly SPOT: "spot";
2980
2993
  };
@@ -1,4 +1,4 @@
1
- import { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BurstablePerformance, CapacityReservationPreference, ConnectivityType, ContainerFormat, CpuManufacturer, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, FlowLogsResourceType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterfacePermissionType, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, 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, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfacePermissionStateCode, NetworkInterfaceStatus, NetworkInterfaceType, PlacementGroupState, PlacementStrategy, PlatformValues, PrefixListState, Protocol, ReplaceRootVolumeTaskState, ResourceType, RouteOrigin, RouteServerBfdState, RouteServerBgpState, RouteServerEndpointState, RouteServerPeerLivenessMode, RouteServerPeerState, RouteServerPersistRoutesAction, RouteServerPersistRoutesState, RouteServerState, RouteState, RuleAction, SecondaryInterfaceType, SecondaryNetworkCidrBlockAssociationState, SecondaryNetworkState, SecondaryNetworkType, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SpreadLevel, TargetCapacityUnitType, Tenancy, TokenState, TrafficType, VolumeType, WeekDay } from "./enums";
1
+ import { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BurstablePerformance, CapacityReservationPreference, ConnectivityType, ContainerFormat, CpuManufacturer, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterfacePermissionType, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, 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, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfacePermissionStateCode, NetworkInterfaceStatus, NetworkInterfaceType, PlacementGroupState, PlacementStrategy, PlatformValues, PrefixListState, Protocol, ReplaceRootVolumeTaskState, ResourceType, RouteOrigin, RouteServerBfdState, RouteServerBgpState, RouteServerEndpointState, RouteServerPeerLivenessMode, RouteServerPeerState, RouteServerPersistRoutesAction, RouteServerPersistRoutesState, RouteServerState, RouteState, RuleAction, SecondaryInterfaceType, SecondaryNetworkCidrBlockAssociationState, SecondaryNetworkState, SecondaryNetworkType, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SpreadLevel, TargetCapacityUnitType, Tenancy, TokenState, TrafficType, VolumeType, WeekDay } from "./enums";
2
2
  import { type AcceleratorCount, type AcceleratorCountRequest, type AcceleratorTotalMemoryMiB, type AcceleratorTotalMemoryMiBRequest, type InstanceEventWindow, type MacModificationTask, type OperatorResponse, type PortRange, type RouteTableAssociationState, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, Ipv4PrefixSpecification, NatGatewayAddress, ReservedInstancesListing, Tag, TagSpecification, UnsuccessfulItem } from "./models_0";
3
3
  /**
4
4
  * <p>Describes a DHCP configuration option.</p>
@@ -1482,6 +1482,26 @@ export interface OnDemandOptionsRequest {
1482
1482
  */
1483
1483
  MaxTotalPrice?: string | undefined;
1484
1484
  }
1485
+ /**
1486
+ * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to <code>reserved-capacity</code>.</p>
1487
+ * <note>
1488
+ * <p>This configuration can only be used if the EC2 Fleet is of type
1489
+ * <code>instant</code>.</p>
1490
+ * </note>
1491
+ * <p>When you specify <code>ReservedCapacityOptions</code>, you must also set
1492
+ * <code>DefaultTargetCapacityType</code> to <code>reserved-capacity</code> in the
1493
+ * <code>TargetCapacitySpecification</code>.</p>
1494
+ * <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
1495
+ * instances into an Interruptible Capacity Reservation</a> in the <i>Amazon EC2 User Guide</i>.</p>
1496
+ * @public
1497
+ */
1498
+ export interface ReservedCapacityOptionsRequest {
1499
+ /**
1500
+ * <p>The types of Capacity Reservations to use for fulfilling the EC2 Fleet request.</p>
1501
+ * @public
1502
+ */
1503
+ ReservationTypes?: FleetReservationType[] | undefined;
1504
+ }
1485
1505
  /**
1486
1506
  * <p>The Spot Instance replacement strategy to use when Amazon EC2 emits a rebalance
1487
1507
  * notification signal that your Spot Instance is at an elevated risk of being interrupted.
@@ -1731,6 +1751,12 @@ export interface CreateFleetRequest {
1731
1751
  * @public
1732
1752
  */
1733
1753
  OnDemandOptions?: OnDemandOptionsRequest | undefined;
1754
+ /**
1755
+ * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to <code>reserved-capacity</code>.</p>
1756
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
1757
+ * @public
1758
+ */
1759
+ ReservedCapacityOptions?: ReservedCapacityOptionsRequest | undefined;
1734
1760
  /**
1735
1761
  * <p>Indicates whether running instances should be terminated if the total target capacity of
1736
1762
  * the EC2 Fleet is decreased below the current size of the EC2 Fleet.</p>
@@ -2843,7 +2869,8 @@ export interface CreateFleetError {
2843
2869
  */
2844
2870
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
2845
2871
  /**
2846
- * <p>Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.</p>
2872
+ * <p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block,
2873
+ * or Interruptible Capacity Reservation instance.</p>
2847
2874
  * @public
2848
2875
  */
2849
2876
  Lifecycle?: InstanceLifecycle | undefined;
@@ -2872,7 +2899,8 @@ export interface CreateFleetInstance {
2872
2899
  */
2873
2900
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
2874
2901
  /**
2875
- * <p>Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.</p>
2902
+ * <p>Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block,
2903
+ * or Interruptible Capacity Reservation instance.</p>
2876
2904
  * @public
2877
2905
  */
2878
2906
  Lifecycle?: InstanceLifecycle | undefined;
@@ -12521,43 +12549,3 @@ export interface CreateSecondaryNetworkResult {
12521
12549
  */
12522
12550
  ClientToken?: string | undefined;
12523
12551
  }
12524
- /**
12525
- * @public
12526
- */
12527
- export interface CreateSecondarySubnetRequest {
12528
- /**
12529
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensure Idempotency</a>.</p>
12530
- * @public
12531
- */
12532
- ClientToken?: string | undefined;
12533
- /**
12534
- * <p>The Availability Zone for the secondary subnet. You cannot specify both <code>AvailabilityZone</code> and <code>AvailabilityZoneId</code> in the same request.</p>
12535
- * @public
12536
- */
12537
- AvailabilityZone?: string | undefined;
12538
- /**
12539
- * <p>The ID of the Availability Zone for the secondary subnet. This option is preferred over <code>AvailabilityZone</code> as it provides a consistent identifier across Amazon Web Services accounts. You cannot specify both <code>AvailabilityZone</code> and <code>AvailabilityZoneId</code> in the same request.</p>
12540
- * @public
12541
- */
12542
- AvailabilityZoneId?: string | undefined;
12543
- /**
12544
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
12545
- * @public
12546
- */
12547
- DryRun?: boolean | undefined;
12548
- /**
12549
- * <p>The IPv4 CIDR block for the secondary subnet. The CIDR block size must be between /12 and /28.</p>
12550
- * @public
12551
- */
12552
- Ipv4CidrBlock: string | undefined;
12553
- /**
12554
- * <p>The ID of the secondary network in which to create the secondary subnet.</p>
12555
- * @public
12556
- */
12557
- SecondaryNetworkId: string | undefined;
12558
- /**
12559
- * <p>The tags to assign to the secondary subnet.</p>
12560
- * @public
12561
- */
12562
- TagSpecifications?: TagSpecification[] | undefined;
12563
- }
@@ -1,6 +1,46 @@
1
1
  import { ApplianceModeSupportValue, AutoAcceptSharedAssociationsValue, AutoAcceptSharedAttachmentsValue, BgpStatus, ConnectionNotificationState, ConnectionNotificationType, CopyTagsFromSource, DatafeedSubscriptionState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DeleteFleetErrorCode, DeleteQueuedReservedInstancesErrorCode, DeviceTrustProviderType, DnsNameState, DnsRecordIpType, DnsSupportValue, DynamicRoutingValue, EncryptionStateValue, FleetStateCode, GatewayAssociationState, GatewayType, Igmpv2SupportValue, InstanceEventWindowState, InternetGatewayExclusionMode, IpAddressType, Ipv6SupportValue, LaunchTemplateErrorCode, MulticastSupportValue, PayerResponsibility, ProtocolValue, SecondaryNetworkType, SecondarySubnetCidrBlockAssociationState, SecondarySubnetState, SecurityGroupReferencingSupportValue, ServiceConnectivityType, ServiceState, ServiceType, SnapshotLocationEnum, SnapshotState, SSEType, State, StaticSourcesSupportValue, StorageTier, SubnetCidrReservationType, TelemetryStatus, Tenancy, TrafficDirection, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorTargetType, TransferType, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayConnectPeerState, TransitGatewayMeteringPayerType, TransitGatewayMeteringPolicyEntryState, TransitGatewayMeteringPolicyState, TransitGatewayMulticastDomainState, 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 CarrierGateway, type ClientVpnEndpointStatus, type ClientVpnRouteStatus, type CoipCidr, type CoipPool, type Subnet, type TransitGatewayPeeringAttachment, type TransitGatewayVpcAttachment, type VerifiedAccessInstance, type VerifiedAccessSseSpecificationResponse, type VerifiedAccessTrustProvider, type Vpc, type VpcEncryptionControl, type VpcPeeringConnection, Tag, TagSpecification, UnsuccessfulItem, VpcAttachment } from "./models_0";
3
3
  import type { Ec2InstanceConnectEndpoint, Ipam, IpamExternalResourceVerificationToken, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, OperatorRequest, RouteServer, RouteServerEndpoint, RouteServerPeer, SecondaryNetwork } from "./models_1";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface CreateSecondarySubnetRequest {
8
+ /**
9
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensure Idempotency</a>.</p>
10
+ * @public
11
+ */
12
+ ClientToken?: string | undefined;
13
+ /**
14
+ * <p>The Availability Zone for the secondary subnet. You cannot specify both <code>AvailabilityZone</code> and <code>AvailabilityZoneId</code> in the same request.</p>
15
+ * @public
16
+ */
17
+ AvailabilityZone?: string | undefined;
18
+ /**
19
+ * <p>The ID of the Availability Zone for the secondary subnet. This option is preferred over <code>AvailabilityZone</code> as it provides a consistent identifier across Amazon Web Services accounts. You cannot specify both <code>AvailabilityZone</code> and <code>AvailabilityZoneId</code> in the same request.</p>
20
+ * @public
21
+ */
22
+ AvailabilityZoneId?: string | undefined;
23
+ /**
24
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
25
+ * @public
26
+ */
27
+ DryRun?: boolean | undefined;
28
+ /**
29
+ * <p>The IPv4 CIDR block for the secondary subnet. The CIDR block size must be between /12 and /28.</p>
30
+ * @public
31
+ */
32
+ Ipv4CidrBlock: string | undefined;
33
+ /**
34
+ * <p>The ID of the secondary network in which to create the secondary subnet.</p>
35
+ * @public
36
+ */
37
+ SecondaryNetworkId: string | undefined;
38
+ /**
39
+ * <p>The tags to assign to the secondary subnet.</p>
40
+ * @public
41
+ */
42
+ TagSpecifications?: TagSpecification[] | undefined;
43
+ }
4
44
  /**
5
45
  * <p>Describes an IPv4 CIDR block associated with a secondary subnet.</p>
6
46
  * @public
@@ -8225,13 +8265,3 @@ export interface DeleteTrafficMirrorSessionRequest {
8225
8265
  */
8226
8266
  DryRun?: boolean | undefined;
8227
8267
  }
8228
- /**
8229
- * @public
8230
- */
8231
- export interface DeleteTrafficMirrorSessionResult {
8232
- /**
8233
- * <p>The ID of the deleted Traffic Mirror session.</p>
8234
- * @public
8235
- */
8236
- TrafficMirrorSessionId?: string | undefined;
8237
- }
@@ -1,7 +1,17 @@
1
- import { _InstanceType, AccountAttributeName, AddressAttributeName, AllocationState, AllowsMultipleInstanceTypes, ArchitectureValues, AsnState, AssociatedNetworkType, AttachmentStatus, AutoPlacement, AvailabilityZoneOptInStatus, AvailabilityZoneState, BootModeValues, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DeviceType, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetActivityStatus, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetEventType, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetStateCode, FleetType, FpgaImageAttributeName, FpgaImageStateCode, HostMaintenance, HostRecovery, HypervisorType, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, ImageState, ImageTypeValues, ImdsSupportValues, InstanceAttributeName, InstanceLifecycle, IpamPoolCidrFailureCode, IpamPoolCidrState, LogDestinationType, MetricType, OutputFormat, PaymentOption, PeriodType, PermissionGroup, PlatformValues, ProductCodeValues, ReportState, ReservationState, Schedule, SnapshotReturnCodes, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StatisticType, TargetCapacityUnitType, TpmSupportValues, TrafficIpAddressType, TrafficType, TransportProtocol, VirtualizationType, VpnProtocol } from "./enums";
1
+ import { _InstanceType, AccountAttributeName, AddressAttributeName, AllocationState, AllowsMultipleInstanceTypes, ArchitectureValues, AsnState, AssociatedNetworkType, AttachmentStatus, AutoPlacement, AvailabilityZoneOptInStatus, AvailabilityZoneState, BootModeValues, CallerRole, CapacityBlockExtensionStatus, CapacityBlockInterconnectStatus, CapacityBlockResourceState, CapacityManagerDataExportStatus, CapacityReservationBillingRequestStatus, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthenticationType, ClientVpnConnectionStatusCode, ClientVpnEndpointAttributeStatusCode, ConversionTaskState, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DeviceType, DiskImageFormat, ElasticGpuState, ElasticGpuStatus, EndpointIpAddressType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetActivityStatus, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetEventType, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetStateCode, FleetType, FpgaImageAttributeName, FpgaImageStateCode, HostMaintenance, HostRecovery, HypervisorType, ImageAttributeName, ImageReferenceOptionName, ImageReferenceResourceType, ImageState, ImageTypeValues, ImdsSupportValues, InstanceAttributeName, InstanceLifecycle, IpamPoolCidrFailureCode, IpamPoolCidrState, LogDestinationType, MetricType, OutputFormat, PaymentOption, PeriodType, PermissionGroup, PlatformValues, ProductCodeValues, ReportState, ReservationState, Schedule, SnapshotReturnCodes, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StatisticType, TargetCapacityUnitType, TpmSupportValues, TrafficIpAddressType, TrafficType, TransportProtocol, VirtualizationType, VpnProtocol } from "./enums";
2
2
  import { type AssociationStatus, type ClientVpnAuthorizationRuleStatus, type ClientVpnEndpointStatus, type ClientVpnRouteStatus, type OperatorResponse, type TransitGatewayPeeringAttachment, type TransitGatewayVpcAttachment, type VerifiedAccessInstance, type VerifiedAccessTrustProvider, type VpcEncryptionControl, AccountAttribute, ActiveInstance, Address, AddressAttribute, AddressTransfer, BundleTask, ByoipCidr, CapacityReservation, CarrierGateway, CoipPool, CustomerGateway, FleetCapacityReservation, IamInstanceProfileAssociation, InstanceEventWindow, Tag, UnsuccessfulItem } from "./models_0";
3
3
  import { type AttributeValue, type FleetLaunchTemplateSpecification, type LaunchTemplateAndOverridesResponse, type StateReason, BlockDeviceMapping, DhcpOptions, Ec2InstanceConnectEndpoint, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, GroupIdentifier } from "./models_1";
4
4
  import type { TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DeleteTrafficMirrorSessionResult {
9
+ /**
10
+ * <p>The ID of the deleted Traffic Mirror session.</p>
11
+ * @public
12
+ */
13
+ TrafficMirrorSessionId?: string | undefined;
14
+ }
5
15
  /**
6
16
  * @public
7
17
  */
@@ -6149,7 +6159,8 @@ export interface DescribeFleetError {
6149
6159
  */
6150
6160
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
6151
6161
  /**
6152
- * <p>Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.</p>
6162
+ * <p>Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block,
6163
+ * or Interruptible Capacity Reservation instance.</p>
6153
6164
  * @public
6154
6165
  */
6155
6166
  Lifecycle?: InstanceLifecycle | undefined;
@@ -6178,7 +6189,8 @@ export interface DescribeFleetsInstances {
6178
6189
  */
6179
6190
  LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse | undefined;
6180
6191
  /**
6181
- * <p>Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.</p>
6192
+ * <p>Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block,
6193
+ * or Interruptible Capacity Reservation instance.</p>
6182
6194
  * @public
6183
6195
  */
6184
6196
  Lifecycle?: InstanceLifecycle | undefined;
@@ -6309,6 +6321,17 @@ export interface OnDemandOptions {
6309
6321
  */
6310
6322
  MaxTotalPrice?: string | undefined;
6311
6323
  }
6324
+ /**
6325
+ * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to <code>reserved-capacity</code>.</p>
6326
+ * @public
6327
+ */
6328
+ export interface ReservedCapacityOptions {
6329
+ /**
6330
+ * <p>The types of Capacity Reservations used for fulfilling the EC2 Fleet request.</p>
6331
+ * @public
6332
+ */
6333
+ ReservationTypes?: FleetReservationType[] | undefined;
6334
+ }
6312
6335
  /**
6313
6336
  * <p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
6314
6337
  * elevated risk of being interrupted.</p>
@@ -6648,6 +6671,11 @@ export interface FleetData {
6648
6671
  * @public
6649
6672
  */
6650
6673
  OnDemandOptions?: OnDemandOptions | undefined;
6674
+ /**
6675
+ * <p>Defines EC2 Fleet preferences for utilizing reserved capacity when DefaultTargetCapacityType is set to <code>reserved-capacity</code>.</p>
6676
+ * @public
6677
+ */
6678
+ ReservedCapacityOptions?: ReservedCapacityOptions | undefined;
6651
6679
  /**
6652
6680
  * <p>The tags for an EC2 Fleet resource.</p>
6653
6681
  * @public
@@ -9893,166 +9921,3 @@ export interface DescribeInstanceEventWindowsResult {
9893
9921
  */
9894
9922
  NextToken?: string | undefined;
9895
9923
  }
9896
- /**
9897
- * @public
9898
- */
9899
- export interface DescribeInstanceImageMetadataRequest {
9900
- /**
9901
- * <p>The filters.</p>
9902
- * <ul>
9903
- * <li>
9904
- * <p>
9905
- * <code>availability-zone</code> - The name of the Availability Zone (for example,
9906
- * <code>us-west-2a</code>) or Local Zone (for example, <code>us-west-2-lax-1b</code>) of
9907
- * the instance.</p>
9908
- * </li>
9909
- * <li>
9910
- * <p>
9911
- * <code>instance-id</code> - The ID of the instance.</p>
9912
- * </li>
9913
- * <li>
9914
- * <p>
9915
- * <code>image-allowed</code> - A Boolean that indicates whether the image meets the
9916
- * criteria specified for Allowed AMIs.</p>
9917
- * </li>
9918
- * <li>
9919
- * <p>
9920
- * <code>instance-state-name</code> - The state of the instance (<code>pending</code> |
9921
- * <code>running</code> | <code>shutting-down</code> | <code>terminated</code> |
9922
- * <code>stopping</code> | <code>stopped</code>).</p>
9923
- * </li>
9924
- * <li>
9925
- * <p>
9926
- * <code>instance-type</code> - The type of instance (for example,
9927
- * <code>t3.micro</code>).</p>
9928
- * </li>
9929
- * <li>
9930
- * <p>
9931
- * <code>launch-time</code> - The time when the instance was launched, in the ISO 8601
9932
- * format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,
9933
- * <code>2023-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for
9934
- * example, <code>2023-09-29T*</code>, which matches an entire day.</p>
9935
- * </li>
9936
- * <li>
9937
- * <p>
9938
- * <code>owner-alias</code> - The owner alias (<code>amazon</code> |
9939
- * <code>aws-marketplace</code> | <code>aws-backup-vault</code>). The valid aliases are
9940
- * defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set
9941
- * using the IAM console. We recommend that you use the <code>Owner</code> request parameter
9942
- * instead of this filter.</p>
9943
- * </li>
9944
- * <li>
9945
- * <p>
9946
- * <code>owner-id</code> - The Amazon Web Services account ID of the owner. We recommend that you use
9947
- * the <code>Owner</code> request parameter instead of this filter.</p>
9948
- * </li>
9949
- * <li>
9950
- * <p>
9951
- * <code>tag:<key></code> - 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.
9952
- * 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>
9953
- * </li>
9954
- * <li>
9955
- * <p>
9956
- * <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>
9957
- * </li>
9958
- * <li>
9959
- * <p>
9960
- * <code>zone-id</code> - The ID of the Availability Zone (for example,
9961
- * <code>usw2-az2</code>) or Local Zone (for example, <code>usw2-lax1-az1</code>) of the
9962
- * instance.</p>
9963
- * </li>
9964
- * </ul>
9965
- * @public
9966
- */
9967
- Filters?: Filter[] | undefined;
9968
- /**
9969
- * <p>The instance IDs.</p>
9970
- * <p>If you don't specify an instance ID or filters, the output includes information for all
9971
- * instances.</p>
9972
- * @public
9973
- */
9974
- InstanceIds?: string[] | undefined;
9975
- /**
9976
- * <p>The maximum number of items to return for this request.
9977
- * To get the next page of items, make another request with the token returned in the output.
9978
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
9979
- * <p>Default: 1000</p>
9980
- * @public
9981
- */
9982
- MaxResults?: number | undefined;
9983
- /**
9984
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
9985
- * @public
9986
- */
9987
- NextToken?: string | undefined;
9988
- /**
9989
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
9990
- * and provides an error response. If you have the required permissions, the error response is
9991
- * <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
9992
- * @public
9993
- */
9994
- DryRun?: boolean | undefined;
9995
- }
9996
- /**
9997
- * <p>Information about the AMI.</p>
9998
- * @public
9999
- */
10000
- export interface ImageMetadata {
10001
- /**
10002
- * <p>The ID of the AMI.</p>
10003
- * @public
10004
- */
10005
- ImageId?: string | undefined;
10006
- /**
10007
- * <p>The name of the AMI.</p>
10008
- * @public
10009
- */
10010
- Name?: string | undefined;
10011
- /**
10012
- * <p>The ID of the Amazon Web Services account that owns the AMI.</p>
10013
- * @public
10014
- */
10015
- OwnerId?: string | undefined;
10016
- /**
10017
- * <p>The current state of the AMI. If the state is <code>available</code>, the AMI is
10018
- * successfully registered and can be used to launch an instance.</p>
10019
- * @public
10020
- */
10021
- State?: ImageState | undefined;
10022
- /**
10023
- * <p>The alias of the AMI owner.</p>
10024
- * <p>Valid values: <code>amazon</code> | <code>aws-backup-vault</code> |
10025
- * <code>aws-marketplace</code>
10026
- * </p>
10027
- * @public
10028
- */
10029
- ImageOwnerAlias?: string | undefined;
10030
- /**
10031
- * <p>The date and time the AMI was created.</p>
10032
- * @public
10033
- */
10034
- CreationDate?: string | undefined;
10035
- /**
10036
- * <p>The deprecation date and time of the AMI, in UTC, in the following format:
10037
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.</p>
10038
- * @public
10039
- */
10040
- DeprecationTime?: string | undefined;
10041
- /**
10042
- * <p>If <code>true</code>, the AMI satisfies the criteria for Allowed AMIs and can be
10043
- * discovered and used in the account. If <code>false</code>, the AMI can't be discovered or used
10044
- * in the account.</p>
10045
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html">Control the discovery and use of AMIs in
10046
- * Amazon EC2 with Allowed AMIs</a> in
10047
- * <i>Amazon EC2 User Guide</i>.</p>
10048
- * @public
10049
- */
10050
- ImageAllowed?: boolean | undefined;
10051
- /**
10052
- * <p>Indicates whether the AMI has public launch permissions. A value of <code>true</code>
10053
- * means this AMI has public launch permissions, while <code>false</code> means it has only
10054
- * implicit (AMI owner) or explicit (shared with your account) launch permissions.</p>
10055
- * @public
10056
- */
10057
- IsPublic?: boolean | undefined;
10058
- }