@aws-sdk/client-ec2 3.1083.0 → 3.1085.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 (61) hide show
  1. package/dist-cjs/index.js +229 -8
  2. package/dist-es/models/enums.js +201 -0
  3. package/dist-es/schemas/schemas_0.js +23 -7
  4. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  5. package/dist-types/commands/CreateFleetCommand.d.ts +18 -4
  6. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  8. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -2
  9. package/dist-types/commands/DeleteRouteTableCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteSecondaryNetworkCommand.d.ts +1 -2
  11. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  13. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  16. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  21. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  22. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  24. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +2 -1
  25. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  26. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  27. package/dist-types/commands/ModifyFleetCommand.d.ts +12 -1
  28. package/dist-types/commands/ModifyIpamPoolAllocationCommand.d.ts +1 -1
  29. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  30. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  31. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  32. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
  33. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  34. package/dist-types/commands/UpdateCapacityManagerOrganizationsAccessCommand.d.ts +1 -1
  35. package/dist-types/models/enums.d.ts +217 -0
  36. package/dist-types/models/models_1.d.ts +121 -62
  37. package/dist-types/models/models_2.d.ts +59 -37
  38. package/dist-types/models/models_3.d.ts +37 -86
  39. package/dist-types/models/models_4.d.ts +89 -310
  40. package/dist-types/models/models_5.d.ts +309 -40
  41. package/dist-types/models/models_6.d.ts +38 -32
  42. package/dist-types/models/models_7.d.ts +36 -50
  43. package/dist-types/models/models_8.d.ts +47 -1
  44. package/dist-types/schemas/schemas_0.d.ts +2 -0
  45. package/dist-types/ts3.4/commands/CreateRouteServerPeerCommand.d.ts +4 -2
  46. package/dist-types/ts3.4/commands/DeleteRouteTableCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/DeleteSecondaryNetworkCommand.d.ts +4 -2
  48. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/ModifyIpamPoolAllocationCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/UpdateCapacityManagerOrganizationsAccessCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/models/enums.d.ts +205 -0
  52. package/dist-types/ts3.4/models/models_1.d.ts +18 -12
  53. package/dist-types/ts3.4/models/models_2.d.ts +11 -9
  54. package/dist-types/ts3.4/models/models_3.d.ts +9 -15
  55. package/dist-types/ts3.4/models/models_4.d.ts +16 -39
  56. package/dist-types/ts3.4/models/models_5.d.ts +40 -10
  57. package/dist-types/ts3.4/models/models_6.d.ts +9 -8
  58. package/dist-types/ts3.4/models/models_7.d.ts +10 -11
  59. package/dist-types/ts3.4/models/models_8.d.ts +10 -0
  60. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  61. 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, 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, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfacePermissionStateCode, NetworkInterfaceStatus, NetworkInterfaceType, PlacementGroupState, PlacementStrategy, PlatformValues, PrefixListState, Protocol, ReplaceRootVolumeTaskState, ResourceType, RouteServerEndpointState, RouteServerPeerLivenessMode, RouteServerPersistRoutesAction, RouteServerPersistRoutesState, RouteServerState, RuleAction, SecondaryInterfaceType, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SpreadLevel, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficType, 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, ConnectivityType, ContainerFormat, CpuManufacturer, CurrencyCodeValues, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, ExportEnvironment, ExportTaskState, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMetadataEndpointState, 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, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, NetworkInterfaceCreationType, NetworkInterfacePermissionStateCode, NetworkInterfaceStatus, NetworkInterfaceType, PlacementGroupState, PlacementStrategy, PlatformValues, PrefixListState, Protocol, ReplaceRootVolumeTaskState, ResourceType, RouteServerEndpointState, RouteServerPersistRoutesAction, RouteServerPersistRoutesState, RouteServerState, RuleAction, SecondaryInterfaceType, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SpreadLevel, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficType, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay } from "./enums";
2
2
  import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, InstanceEventWindow, Ipv4PrefixSpecification, NatGatewayAddress, OperatorResponse, PortRange, ReservedInstancesListing, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
3
3
  /**
4
4
  * <p>The state of VPC Block Public Access (BPA).</p>
@@ -794,6 +794,13 @@ export interface FleetLaunchTemplateSpecificationRequest {
794
794
  * @public
795
795
  */
796
796
  Version?: string | undefined;
797
+ /**
798
+ * <p>The base64-encoded user data for instances launched by the fleet. User data is limited
799
+ * to 16 KB, in raw form, before it is base64-encoded.</p>
800
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
801
+ * @public
802
+ */
803
+ LaunchTemplateSpecificationUserData?: string | undefined;
797
804
  }
798
805
  /**
799
806
  * <p>Describes a block device for an EBS volume.</p>
@@ -1002,6 +1009,23 @@ export interface FleetBlockDeviceMappingRequest {
1002
1009
  */
1003
1010
  NoDevice?: string | undefined;
1004
1011
  }
1012
+ /**
1013
+ * <p>Describes an IAM instance profile. Supported only for fleets of type
1014
+ * <code>instant</code>.</p>
1015
+ * @public
1016
+ */
1017
+ export interface FleetIamInstanceProfileSpecificationRequest {
1018
+ /**
1019
+ * <p>The Amazon Resource Name (ARN) of the instance profile.</p>
1020
+ * @public
1021
+ */
1022
+ Arn?: string | undefined;
1023
+ /**
1024
+ * <p>The name of the instance profile.</p>
1025
+ * @public
1026
+ */
1027
+ Name?: string | undefined;
1028
+ }
1005
1029
  /**
1006
1030
  * <p>The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see
1007
1031
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon
@@ -1697,6 +1721,54 @@ export interface InstanceRequirementsRequest {
1697
1721
  */
1698
1722
  RequireEncryptionInTransit?: boolean | undefined;
1699
1723
  }
1724
+ /**
1725
+ * <p>Describes the metadata options for the instances. Supported only for fleets of type
1726
+ * <code>instant</code>.</p>
1727
+ * @public
1728
+ */
1729
+ export interface FleetInstanceMetadataOptionsRequest {
1730
+ /**
1731
+ * <p>Indicates whether IMDSv2 is required.</p>
1732
+ * <ul>
1733
+ * <li>
1734
+ * <p>
1735
+ * <code>optional</code> - IMDSv2 is optional, which means that you can use either
1736
+ * IMDSv2 or IMDSv1.</p>
1737
+ * </li>
1738
+ * <li>
1739
+ * <p>
1740
+ * <code>required</code> - IMDSv2 is required, which means that IMDSv1 is
1741
+ * disabled, and you must use IMDSv2.</p>
1742
+ * </li>
1743
+ * </ul>
1744
+ * @public
1745
+ */
1746
+ HttpTokens?: FleetHttpTokensState | undefined;
1747
+ /**
1748
+ * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
1749
+ * number, the further instance metadata requests can travel.</p>
1750
+ * <p>Default: <code>1</code>
1751
+ * </p>
1752
+ * <p>Possible values: Integers from 1 to 64</p>
1753
+ * @public
1754
+ */
1755
+ HttpPutResponseHopLimit?: number | undefined;
1756
+ /**
1757
+ * <p>Enables or disables the HTTP metadata endpoint on your instances.</p>
1758
+ * <ul>
1759
+ * <li>
1760
+ * <p>
1761
+ * <code>enabled</code> - The HTTP metadata endpoint is enabled.</p>
1762
+ * </li>
1763
+ * <li>
1764
+ * <p>
1765
+ * <code>disabled</code> - The HTTP metadata endpoint is disabled.</p>
1766
+ * </li>
1767
+ * </ul>
1768
+ * @public
1769
+ */
1770
+ HttpEndpoint?: FleetInstanceMetadataEndpointState | undefined;
1771
+ }
1700
1772
  /**
1701
1773
  * <p>Describes the placement of an instance.</p>
1702
1774
  * @public
@@ -1859,6 +1931,14 @@ export interface FleetLaunchTemplateOverridesRequest {
1859
1931
  * @public
1860
1932
  */
1861
1933
  Placement?: Placement | undefined;
1934
+ /**
1935
+ * <p>The name of the key pair to use for the instances.</p>
1936
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
1937
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs</a>
1938
+ * in the <i>Amazon EC2 User Guide</i>.</p>
1939
+ * @public
1940
+ */
1941
+ KeyName?: string | undefined;
1862
1942
  /**
1863
1943
  * <p>The block device mappings, which define the EBS volumes and instance store volumes to
1864
1944
  * attach to the instance at launch.</p>
@@ -1869,6 +1949,22 @@ export interface FleetLaunchTemplateOverridesRequest {
1869
1949
  * @public
1870
1950
  */
1871
1951
  BlockDeviceMappings?: FleetBlockDeviceMappingRequest[] | undefined;
1952
+ /**
1953
+ * <p>The IAM instance profile to associate with the instances.</p>
1954
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
1955
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html">IAM roles for Amazon EC2</a>
1956
+ * in the <i>Amazon EC2 User Guide</i>.</p>
1957
+ * @public
1958
+ */
1959
+ IamInstanceProfile?: FleetIamInstanceProfileSpecificationRequest | undefined;
1960
+ /**
1961
+ * <p>The metadata options for the instances.</p>
1962
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
1963
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html">Configure the
1964
+ * instance metadata service</a> in the <i>Amazon EC2 User Guide</i>.</p>
1965
+ * @public
1966
+ */
1967
+ MetadataOptions?: FleetInstanceMetadataOptionsRequest | undefined;
1872
1968
  /**
1873
1969
  * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
1874
1970
  * identify instance types with those attributes.</p>
@@ -2414,10 +2510,12 @@ export interface CreateFleetRequest {
2414
2510
  * <p>The key-value pair for tagging the EC2 Fleet request on creation. For more information, see
2415
2511
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources">Tag your resources</a>.</p>
2416
2512
  * <p>If the fleet type is <code>instant</code>, specify a resource type of <code>fleet</code>
2417
- * to tag the fleet or <code>instance</code> to tag the instances at launch.</p>
2513
+ * to tag the fleet, <code>instance</code> to tag the instances at launch,
2514
+ * <code>volume</code> to tag the volumes at launch, or <code>network-interface</code> to
2515
+ * tag the network interfaces at launch.</p>
2418
2516
  * <p>If the fleet type is <code>maintain</code> or <code>request</code>, specify a resource
2419
2517
  * type of <code>fleet</code> to tag the fleet. You cannot specify a resource type of
2420
- * <code>instance</code>. To tag instances at launch, specify the tags in a <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template">launch template</a>.</p>
2518
+ * <code>instance</code>, <code>volume</code>, or <code>network-interface</code>. To tag instances at launch, specify the tags in a <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template">launch template</a>.</p>
2421
2519
  * @public
2422
2520
  */
2423
2521
  TagSpecifications?: TagSpecification[] | undefined;
@@ -3502,6 +3600,26 @@ export interface CreateFleetInstance {
3502
3600
  * @public
3503
3601
  */
3504
3602
  Platform?: PlatformValues | undefined;
3603
+ /**
3604
+ * <p>The ID of the Availability Zone in which the instance was launched. For example,
3605
+ * <code>use2-az1</code>.</p>
3606
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
3607
+ * @public
3608
+ */
3609
+ AvailabilityZoneId?: string | undefined;
3610
+ /**
3611
+ * <p>The name of the Availability Zone in which the instance was launched. For example,
3612
+ * <code>us-east-2a</code>.</p>
3613
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
3614
+ * @public
3615
+ */
3616
+ AvailabilityZone?: string | undefined;
3617
+ /**
3618
+ * <p>The ID of the subnet in which the instance was launched.</p>
3619
+ * <p>Supported only for fleets of type <code>instant</code>.</p>
3620
+ * @public
3621
+ */
3622
+ SubnetId?: string | undefined;
3505
3623
  }
3506
3624
  /**
3507
3625
  * @public
@@ -12603,62 +12721,3 @@ export interface CreateRouteServerEndpointResult {
12603
12721
  */
12604
12722
  RouteServerEndpoint?: RouteServerEndpoint | undefined;
12605
12723
  }
12606
- /**
12607
- * <p>The BGP configuration options requested for a route server peer.</p>
12608
- * @public
12609
- */
12610
- export interface RouteServerBgpOptionsRequest {
12611
- /**
12612
- * <p>The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295. We recommend using a private ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range.</p>
12613
- * @public
12614
- */
12615
- PeerAsn: number | undefined;
12616
- /**
12617
- * <p>The requested liveness detection protocol for the BGP peer.</p>
12618
- * <ul>
12619
- * <li>
12620
- * <p>
12621
- * <code>bgp-keepalive</code>: The standard BGP keep alive mechanism (<a href="https://www.rfc-editor.org/rfc/rfc4271#page-21">RFC4271</a>) that is stable but may take longer to fail-over in cases of network impact or router failure.</p>
12622
- * </li>
12623
- * <li>
12624
- * <p>
12625
- * <code>bfd</code>: An additional Bidirectional Forwarding Detection (BFD) protocol (<a href="https://www.rfc-editor.org/rfc/rfc5880">RFC5880</a>) that enables fast failover by using more sensitive liveness detection.</p>
12626
- * </li>
12627
- * </ul>
12628
- * <p>Defaults to <code>bgp-keepalive</code>.</p>
12629
- * @public
12630
- */
12631
- PeerLivenessDetection?: RouteServerPeerLivenessMode | undefined;
12632
- }
12633
- /**
12634
- * @public
12635
- */
12636
- export interface CreateRouteServerPeerRequest {
12637
- /**
12638
- * <p>The ID of the route server endpoint for which to create a peer.</p>
12639
- * @public
12640
- */
12641
- RouteServerEndpointId: string | undefined;
12642
- /**
12643
- * <p>The IPv4 address of the peer device.</p>
12644
- * @public
12645
- */
12646
- PeerAddress: string | undefined;
12647
- /**
12648
- * <p>The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.</p>
12649
- * @public
12650
- */
12651
- BgpOptions: RouteServerBgpOptionsRequest | undefined;
12652
- /**
12653
- * <p>A check for whether you have the required permissions for the action without actually making the request
12654
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12655
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
12656
- * @public
12657
- */
12658
- DryRun?: boolean | undefined;
12659
- /**
12660
- * <p>The tags to apply to the route server peer during creation.</p>
12661
- * @public
12662
- */
12663
- TagSpecifications?: TagSpecification[] | undefined;
12664
- }
@@ -1,6 +1,65 @@
1
1
  import type { 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, PayerResponsibilityScope, PayerResponsibilityType, ProtocolValue, RouteOrigin, RouteServerBfdState, RouteServerBgpState, RouteServerPeerLivenessMode, RouteServerPeerState, RouteState, SecondaryNetworkCidrBlockAssociationState, SecondaryNetworkState, 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, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VpcAttachment, VpcPeeringConnection } 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, Subnet, Vpc, VpcEncryptionControl } from "./models_1";
4
+ /**
5
+ * <p>The BGP configuration options requested for a route server peer.</p>
6
+ * @public
7
+ */
8
+ export interface RouteServerBgpOptionsRequest {
9
+ /**
10
+ * <p>The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295. We recommend using a private ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range.</p>
11
+ * @public
12
+ */
13
+ PeerAsn: number | undefined;
14
+ /**
15
+ * <p>The requested liveness detection protocol for the BGP peer.</p>
16
+ * <ul>
17
+ * <li>
18
+ * <p>
19
+ * <code>bgp-keepalive</code>: The standard BGP keep alive mechanism (<a href="https://www.rfc-editor.org/rfc/rfc4271#page-21">RFC4271</a>) that is stable but may take longer to fail-over in cases of network impact or router failure.</p>
20
+ * </li>
21
+ * <li>
22
+ * <p>
23
+ * <code>bfd</code>: An additional Bidirectional Forwarding Detection (BFD) protocol (<a href="https://www.rfc-editor.org/rfc/rfc5880">RFC5880</a>) that enables fast failover by using more sensitive liveness detection.</p>
24
+ * </li>
25
+ * </ul>
26
+ * <p>Defaults to <code>bgp-keepalive</code>.</p>
27
+ * @public
28
+ */
29
+ PeerLivenessDetection?: RouteServerPeerLivenessMode | undefined;
30
+ }
31
+ /**
32
+ * @public
33
+ */
34
+ export interface CreateRouteServerPeerRequest {
35
+ /**
36
+ * <p>The ID of the route server endpoint for which to create a peer.</p>
37
+ * @public
38
+ */
39
+ RouteServerEndpointId: string | undefined;
40
+ /**
41
+ * <p>The IPv4 address of the peer device.</p>
42
+ * @public
43
+ */
44
+ PeerAddress: string | undefined;
45
+ /**
46
+ * <p>The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.</p>
47
+ * @public
48
+ */
49
+ BgpOptions: RouteServerBgpOptionsRequest | undefined;
50
+ /**
51
+ * <p>A check for whether you have the required permissions for the action without actually making the request
52
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
53
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
54
+ * @public
55
+ */
56
+ DryRun?: boolean | undefined;
57
+ /**
58
+ * <p>The tags to apply to the route server peer during creation.</p>
59
+ * @public
60
+ */
61
+ TagSpecifications?: TagSpecification[] | undefined;
62
+ }
4
63
  /**
5
64
  * <p>The current status of Bidirectional Forwarding Detection (BFD) for a BGP session.</p>
6
65
  * @public
@@ -8502,40 +8561,3 @@ export interface DeleteRouteServerPeerResult {
8502
8561
  */
8503
8562
  RouteServerPeer?: RouteServerPeer | undefined;
8504
8563
  }
8505
- /**
8506
- * @public
8507
- */
8508
- export interface DeleteRouteTableRequest {
8509
- /**
8510
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8511
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8512
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8513
- * @public
8514
- */
8515
- DryRun?: boolean | undefined;
8516
- /**
8517
- * <p>The ID of the route table.</p>
8518
- * @public
8519
- */
8520
- RouteTableId: string | undefined;
8521
- }
8522
- /**
8523
- * @public
8524
- */
8525
- export interface DeleteSecondaryNetworkRequest {
8526
- /**
8527
- * <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>
8528
- * @public
8529
- */
8530
- ClientToken?: string | undefined;
8531
- /**
8532
- * <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>
8533
- * @public
8534
- */
8535
- DryRun?: boolean | undefined;
8536
- /**
8537
- * <p>The ID of the secondary network.</p>
8538
- * @public
8539
- */
8540
- SecondaryNetworkId: string | undefined;
8541
- }
@@ -2,6 +2,43 @@ import type { _InstanceType, AccountAttributeName, AddressAttributeName, Allocat
2
2
  import type { AccountAttribute, AccountVpcEncryptionControl, ActiveInstance, Address, AddressAttribute, AddressTransfer, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationCancellationQuote, CarrierGateway, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, FleetCapacityReservation, IamInstanceProfileAssociation, Tag, TransitGatewayClientVpnAttachment, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
3
3
  import type { AttributeValue, BlockDeviceMapping, DhcpOptions, EgressOnlyInternetGateway, ExportTask, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, GroupIdentifier, LaunchTemplateAndOverridesResponse, StateReason, VpcEncryptionControl } from "./models_1";
4
4
  import type { SecondaryNetwork, SecondarySubnet, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion } from "./models_2";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DeleteRouteTableRequest {
9
+ /**
10
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
11
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
13
+ * @public
14
+ */
15
+ DryRun?: boolean | undefined;
16
+ /**
17
+ * <p>The ID of the route table.</p>
18
+ * @public
19
+ */
20
+ RouteTableId: string | undefined;
21
+ }
22
+ /**
23
+ * @public
24
+ */
25
+ export interface DeleteSecondaryNetworkRequest {
26
+ /**
27
+ * <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>
28
+ * @public
29
+ */
30
+ ClientToken?: string | undefined;
31
+ /**
32
+ * <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>
33
+ * @public
34
+ */
35
+ DryRun?: boolean | undefined;
36
+ /**
37
+ * <p>The ID of the secondary network.</p>
38
+ * @public
39
+ */
40
+ SecondaryNetworkId: string | undefined;
41
+ }
5
42
  /**
6
43
  * @public
7
44
  */
@@ -9488,89 +9525,3 @@ export interface ImageUsageResourceTypeOption {
9488
9525
  */
9489
9526
  OptionValues?: string[] | undefined;
9490
9527
  }
9491
- /**
9492
- * <p>A resource type to include in the report. Associated options can also be specified if the
9493
- * resource type is a launch template.</p>
9494
- * @public
9495
- */
9496
- export interface ImageUsageResourceType {
9497
- /**
9498
- * <p>The resource type.</p>
9499
- * <p>Valid values: <code>ec2:Instance</code> | <code>ec2:LaunchTemplate</code>
9500
- * </p>
9501
- * @public
9502
- */
9503
- ResourceType?: string | undefined;
9504
- /**
9505
- * <p>The options that affect the scope of the report. Valid only when <code>ResourceType</code>
9506
- * is <code>ec2:LaunchTemplate</code>.</p>
9507
- * @public
9508
- */
9509
- ResourceTypeOptions?: ImageUsageResourceTypeOption[] | undefined;
9510
- }
9511
- /**
9512
- * <p>The configuration and status of an image usage report.</p>
9513
- * @public
9514
- */
9515
- export interface ImageUsageReport {
9516
- /**
9517
- * <p>The ID of the image that was specified when the report was created.</p>
9518
- * @public
9519
- */
9520
- ImageId?: string | undefined;
9521
- /**
9522
- * <p>The ID of the report.</p>
9523
- * @public
9524
- */
9525
- ReportId?: string | undefined;
9526
- /**
9527
- * <p>The resource types that were specified when the report was created.</p>
9528
- * @public
9529
- */
9530
- ResourceTypes?: ImageUsageResourceType[] | undefined;
9531
- /**
9532
- * <p>The IDs of the Amazon Web Services accounts that were specified when the report was created.</p>
9533
- * @public
9534
- */
9535
- AccountIds?: string[] | undefined;
9536
- /**
9537
- * <p>The current state of the report. Possible values:</p>
9538
- * <ul>
9539
- * <li>
9540
- * <p>
9541
- * <code>available</code> - The report is available to view.</p>
9542
- * </li>
9543
- * <li>
9544
- * <p>
9545
- * <code>pending</code> - The report is being created and not available to view.</p>
9546
- * </li>
9547
- * <li>
9548
- * <p>
9549
- * <code>error</code> - The report could not be created.</p>
9550
- * </li>
9551
- * </ul>
9552
- * @public
9553
- */
9554
- State?: string | undefined;
9555
- /**
9556
- * <p>Provides additional details when the report is in an <code>error</code> state.</p>
9557
- * @public
9558
- */
9559
- StateReason?: string | undefined;
9560
- /**
9561
- * <p>The date and time when the report was created.</p>
9562
- * @public
9563
- */
9564
- CreationTime?: Date | undefined;
9565
- /**
9566
- * <p>The date and time when Amazon EC2 will delete the report (30 days after the report was
9567
- * created).</p>
9568
- * @public
9569
- */
9570
- ExpirationTime?: Date | undefined;
9571
- /**
9572
- * <p>Any tags assigned to the report.</p>
9573
- * @public
9574
- */
9575
- Tags?: Tag[] | undefined;
9576
- }