@aws-sdk/client-ec2 3.448.0 → 3.450.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 (114) hide show
  1. package/README.md +9 -1
  2. package/dist-cjs/EC2.js +2 -0
  3. package/dist-cjs/commands/DescribeInstanceTopologyCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_1.js +1 -16
  6. package/dist-cjs/models/models_2.js +17 -2
  7. package/dist-cjs/models/models_6.js +1 -4
  8. package/dist-cjs/models/models_7.js +4 -1
  9. package/dist-cjs/pagination/DescribeInstanceTopologyPaginator.js +29 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_ec2.js +275 -20
  12. package/dist-es/EC2.js +2 -0
  13. package/dist-es/commands/DescribeInstanceTopologyCommand.js +47 -0
  14. package/dist-es/commands/index.js +1 -0
  15. package/dist-es/models/models_1.js +0 -15
  16. package/dist-es/models/models_2.js +15 -0
  17. package/dist-es/models/models_6.js +0 -3
  18. package/dist-es/models/models_7.js +3 -0
  19. package/dist-es/pagination/DescribeInstanceTopologyPaginator.js +25 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_ec2.js +253 -0
  22. package/dist-types/EC2.d.ts +7 -0
  23. package/dist-types/EC2Client.d.ts +3 -2
  24. package/dist-types/commands/CreateFleetCommand.d.ts +6 -6
  25. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +8 -2
  26. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +16 -4
  27. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -2
  28. package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
  30. package/dist-types/commands/DeletePlacementGroupCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeFleetsCommand.d.ts +6 -6
  34. package/dist-types/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +148 -0
  37. package/dist-types/commands/DescribeInstancesCommand.d.ts +6 -0
  38. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +8 -2
  39. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +10 -4
  40. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +6 -0
  41. package/dist-types/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +2 -1
  42. package/dist-types/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  46. package/dist-types/commands/DisableFastLaunchCommand.d.ts +4 -4
  47. package/dist-types/commands/DisableImageCommand.d.ts +3 -3
  48. package/dist-types/commands/EnableFastLaunchCommand.d.ts +2 -2
  49. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -0
  50. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +2 -2
  51. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +8 -2
  52. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +4 -3
  53. package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  54. package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  55. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -2
  56. package/dist-types/commands/ModifyFleetCommand.d.ts +2 -2
  57. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +2 -2
  58. package/dist-types/commands/RequestSpotFleetCommand.d.ts +10 -4
  59. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +12 -0
  60. package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  61. package/dist-types/commands/ResetImageAttributeCommand.d.ts +1 -1
  62. package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  63. package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  64. package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  65. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  66. package/dist-types/commands/RunInstancesCommand.d.ts +12 -0
  67. package/dist-types/commands/index.d.ts +1 -0
  68. package/dist-types/models/models_0.d.ts +10 -17
  69. package/dist-types/models/models_1.d.ts +118 -102
  70. package/dist-types/models/models_2.d.ts +100 -92
  71. package/dist-types/models/models_3.d.ts +93 -150
  72. package/dist-types/models/models_4.d.ts +303 -303
  73. package/dist-types/models/models_5.d.ts +343 -334
  74. package/dist-types/models/models_6.d.ts +308 -201
  75. package/dist-types/models/models_7.d.ts +173 -3
  76. package/dist-types/pagination/DescribeInstanceTopologyPaginator.d.ts +7 -0
  77. package/dist-types/pagination/index.d.ts +1 -0
  78. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  79. package/dist-types/ts3.4/EC2.d.ts +17 -0
  80. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  81. package/dist-types/ts3.4/commands/CreatePlacementGroupCommand.d.ts +4 -2
  82. package/dist-types/ts3.4/commands/DeleteNetworkInterfaceCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/DeleteNetworkInterfacePermissionCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/DeletePlacementGroupCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/DescribeInstanceEventNotificationAttributesCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/DescribeInstanceEventWindowsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DescribeInstanceTopologyCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/DescribeTransitGatewayPolicyTablesCommand.d.ts +2 -4
  89. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +2 -4
  94. package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -2
  97. package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/ResetImageAttributeCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/ResetInstanceAttributeCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/ResetNetworkInterfaceAttributeCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/ResetSnapshotAttributeCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  104. package/dist-types/ts3.4/models/models_1.d.ts +16 -28
  105. package/dist-types/ts3.4/models/models_2.d.ts +28 -19
  106. package/dist-types/ts3.4/models/models_3.d.ts +16 -18
  107. package/dist-types/ts3.4/models/models_4.d.ts +49 -53
  108. package/dist-types/ts3.4/models/models_5.d.ts +54 -52
  109. package/dist-types/ts3.4/models/models_6.d.ts +52 -42
  110. package/dist-types/ts3.4/models/models_7.d.ts +49 -1
  111. package/dist-types/ts3.4/pagination/DescribeInstanceTopologyPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  113. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  114. package/package.json +13 -13
@@ -1,7 +1,132 @@
1
- import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, AttachmentStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UserIdGroupPair } from "./models_0";
2
- import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, Placement, PlatformValues, PrivateIpAddressSpecification, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
3
- import { PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement } from "./models_2";
4
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, DeviceType, EnclaveOptions, EventInformation, Filter, HypervisorType, IdFormat, InstanceBlockDeviceMapping, PermissionGroup, ProductCode, VirtualizationType } from "./models_3";
1
+ import { _InstanceType, ActiveInstance, ActivityStatus, AllocationStrategy, AlternatePathHint, AttachmentStatus, BatchState, CurrencyCodeValues, Explanation, IamInstanceProfile, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, ResourceType, SecurityGroupRule, Tag, TagSpecification, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, UserIdGroupPair } from "./models_0";
2
+ import { AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, GroupIdentifier, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, InternetGateway, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, Placement, PlatformValues, PrivateIpAddressSpecification, SpotInstanceType, StateReason, Subnet, TargetCapacityUnitType, Tenancy } from "./models_1";
3
+ import { PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, StorageTier, TrafficMirrorFilter, TrafficMirrorSession, TrafficMirrorTarget, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain } from "./models_2";
4
+ import { ArchitectureValues, AttributeBooleanValue, BootModeValues, DeviceType, EnclaveOptions, EventInformation, Filter, HypervisorType, IdFormat, InstanceBlockDeviceMapping, InstanceTagNotificationAttribute, PermissionGroup, ProductCode, VirtualizationType } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DescribeInstanceEventNotificationAttributesRequest {
9
+ /**
10
+ * @public
11
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
12
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
13
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
14
+ */
15
+ DryRun?: boolean;
16
+ }
17
+ /**
18
+ * @public
19
+ */
20
+ export interface DescribeInstanceEventNotificationAttributesResult {
21
+ /**
22
+ * @public
23
+ * <p>Information about the registered tag keys.</p>
24
+ */
25
+ InstanceTagAttribute?: InstanceTagNotificationAttribute;
26
+ }
27
+ /**
28
+ * @public
29
+ * <para>Describe instance event windows by InstanceEventWindow.</para>
30
+ */
31
+ export interface DescribeInstanceEventWindowsRequest {
32
+ /**
33
+ * @public
34
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
35
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
36
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
37
+ */
38
+ DryRun?: boolean;
39
+ /**
40
+ * @public
41
+ * <p>The IDs of the event windows.</p>
42
+ */
43
+ InstanceEventWindowIds?: string[];
44
+ /**
45
+ * @public
46
+ * <p>One or more filters.</p>
47
+ * <ul>
48
+ * <li>
49
+ * <p>
50
+ * <code>dedicated-host-id</code> - The event windows associated with the specified
51
+ * Dedicated Host ID.</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>
55
+ * <code>event-window-name</code> - The event windows associated with the specified
56
+ * names. </p>
57
+ * </li>
58
+ * <li>
59
+ * <p>
60
+ * <code>instance-id</code> - The event windows associated with the specified instance
61
+ * ID.</p>
62
+ * </li>
63
+ * <li>
64
+ * <p>
65
+ * <code>instance-tag</code> - The event windows associated with the specified tag and
66
+ * value.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>
70
+ * <code>instance-tag-key</code> - The event windows associated with the specified tag
71
+ * key, regardless of the value.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>
75
+ * <code>instance-tag-value</code> - The event windows associated with the specified tag
76
+ * value, regardless of the key.</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>
80
+ * <code>tag:<key></code> - The key/value combination of a tag assigned to the
81
+ * event window. Use the tag key in the filter name and the tag value as the filter
82
+ * value. For example, to find all resources that have a tag with the key
83
+ * <code>Owner</code> and the value <code>CMX</code>, specify <code>tag:Owner</code>
84
+ * for the filter name and <code>CMX</code> for the filter value. </p>
85
+ * </li>
86
+ * <li>
87
+ * <p>
88
+ * <code>tag-key</code> - The key of a tag assigned to the event window. Use this filter
89
+ * to find all event windows that have a tag with a specific key, regardless of the tag
90
+ * value. </p>
91
+ * </li>
92
+ * <li>
93
+ * <p>
94
+ * <code>tag-value</code> - The value of a tag assigned to the event window. Use this
95
+ * filter to find all event windows that have a tag with a specific value, regardless of
96
+ * the tag key. </p>
97
+ * </li>
98
+ * </ul>
99
+ */
100
+ Filters?: Filter[];
101
+ /**
102
+ * @public
103
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
104
+ * results, make another call with the returned <code>NextToken</code> value. This value can
105
+ * be between 20 and 500. You cannot specify this parameter and the event window IDs parameter
106
+ * in the same call.</p>
107
+ */
108
+ MaxResults?: number;
109
+ /**
110
+ * @public
111
+ * <p>The token to request the next page of results.</p>
112
+ */
113
+ NextToken?: string;
114
+ }
115
+ /**
116
+ * @public
117
+ */
118
+ export interface DescribeInstanceEventWindowsResult {
119
+ /**
120
+ * @public
121
+ * <p>Information about the event windows.</p>
122
+ */
123
+ InstanceEventWindows?: InstanceEventWindow[];
124
+ /**
125
+ * @public
126
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return. </p>
127
+ */
128
+ NextToken?: string;
129
+ }
5
130
  /**
6
131
  * @public
7
132
  */
@@ -151,8 +276,8 @@ export interface DescribeInstancesRequest {
151
276
  * </li>
152
277
  * <li>
153
278
  * <p>
154
- * <code>instance-lifecycle</code> - Indicates whether this is a Spot Instance or
155
- * a Scheduled Instance (<code>spot</code> | <code>scheduled</code>).</p>
279
+ * <code>instance-lifecycle</code> - Indicates whether this is a Spot Instance, a Scheduled Instance, or
280
+ * a Capacity Block (<code>spot</code> | <code>scheduled</code> | <code>capacity-block</code>).</p>
156
281
  * </li>
157
282
  * <li>
158
283
  * <p>
@@ -1102,6 +1227,45 @@ export interface InstanceNetworkInterfaceAssociation {
1102
1227
  */
1103
1228
  PublicIp?: string;
1104
1229
  }
1230
+ /**
1231
+ * @public
1232
+ * <p>ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic
1233
+ * automatically uses it. However, some UDP-based applications are designed to handle network packets that are
1234
+ * out of order, without a need for retransmission, such as live video broadcasting or other near-real-time
1235
+ * applications. For UDP traffic, you can specify whether to use ENA Express, based on your application
1236
+ * environment needs.</p>
1237
+ */
1238
+ export interface InstanceAttachmentEnaSrdUdpSpecification {
1239
+ /**
1240
+ * @public
1241
+ * <p>Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting,
1242
+ * you must first enable ENA Express.</p>
1243
+ */
1244
+ EnaSrdUdpEnabled?: boolean;
1245
+ }
1246
+ /**
1247
+ * @public
1248
+ * <p>ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the
1249
+ * maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
1250
+ * With ENA Express, you can communicate between two EC2 instances in the same subnet within the same
1251
+ * account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.</p>
1252
+ * <p>To improve the reliability of network packet delivery, ENA Express reorders network packets on the
1253
+ * receiving end by default. However, some UDP-based applications are designed to handle network packets
1254
+ * that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express
1255
+ * is enabled, you can specify whether UDP network traffic uses it.</p>
1256
+ */
1257
+ export interface InstanceAttachmentEnaSrdSpecification {
1258
+ /**
1259
+ * @public
1260
+ * <p>Indicates whether ENA Express is enabled for the network interface.</p>
1261
+ */
1262
+ EnaSrdEnabled?: boolean;
1263
+ /**
1264
+ * @public
1265
+ * <p>Configures ENA Express for UDP network traffic.</p>
1266
+ */
1267
+ EnaSrdUdpSpecification?: InstanceAttachmentEnaSrdUdpSpecification;
1268
+ }
1105
1269
  /**
1106
1270
  * @public
1107
1271
  * <p>Describes a network interface attachment.</p>
@@ -1137,6 +1301,12 @@ export interface InstanceNetworkInterfaceAttachment {
1137
1301
  * <p>The index of the network card.</p>
1138
1302
  */
1139
1303
  NetworkCardIndex?: number;
1304
+ /**
1305
+ * @public
1306
+ * <p>Contains the ENA Express settings for the network interface that's attached
1307
+ * to the instance.</p>
1308
+ */
1309
+ EnaSrdSpecification?: InstanceAttachmentEnaSrdSpecification;
1140
1310
  }
1141
1311
  /**
1142
1312
  * @public
@@ -2072,6 +2242,127 @@ export interface DescribeInstanceStatusResult {
2072
2242
  */
2073
2243
  NextToken?: string;
2074
2244
  }
2245
+ /**
2246
+ * @public
2247
+ */
2248
+ export interface DescribeInstanceTopologyRequest {
2249
+ /**
2250
+ * @public
2251
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
2252
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
2253
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2254
+ */
2255
+ DryRun?: boolean;
2256
+ /**
2257
+ * @public
2258
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
2259
+ */
2260
+ NextToken?: string;
2261
+ /**
2262
+ * @public
2263
+ * <p>The maximum number of items to return for this request.
2264
+ * To get the next page of items, make another request with the token returned in the output.
2265
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
2266
+ * <p>You can't specify this parameter and the instance IDs parameter in the same request.</p>
2267
+ * <p>Default: <code>20</code>
2268
+ * </p>
2269
+ */
2270
+ MaxResults?: number;
2271
+ /**
2272
+ * @public
2273
+ * <p>The instance IDs.</p>
2274
+ * <p>Default: Describes all your instances.</p>
2275
+ * <p>Constraints: Maximum 100 explicitly specified instance IDs.</p>
2276
+ */
2277
+ InstanceIds?: string[];
2278
+ /**
2279
+ * @public
2280
+ * <p>The name of the placement group that each instance is in.</p>
2281
+ * <p>Constraints: Maximum 100 explicitly specified placement group names.</p>
2282
+ */
2283
+ GroupNames?: string[];
2284
+ /**
2285
+ * @public
2286
+ * <p>The filters.</p>
2287
+ * <ul>
2288
+ * <li>
2289
+ * <p>
2290
+ * <code>availability-zone</code> - The name of the Availability Zone (for
2291
+ * example, <code>us-west-2a</code>) or Local Zone (for example,
2292
+ * <code>us-west-2-lax-1b</code>) that the instance is in.</p>
2293
+ * </li>
2294
+ * <li>
2295
+ * <p>
2296
+ * <code>instance-type</code> - The instance type (for example,
2297
+ * <code>p4d.24xlarge</code>) or instance family (for example,
2298
+ * <code>p4d*</code>). You can use the <code>*</code> wildcard to match zero or
2299
+ * more characters, or the <code>?</code> wildcard to match zero or one
2300
+ * character.</p>
2301
+ * </li>
2302
+ * <li>
2303
+ * <p>
2304
+ * <code>zone-id</code> - The ID of the Availability Zone (for example,
2305
+ * <code>usw2-az2</code>) or Local Zone (for example,
2306
+ * <code>usw2-lax1-az1</code>) that the instance is in.</p>
2307
+ * </li>
2308
+ * </ul>
2309
+ */
2310
+ Filters?: Filter[];
2311
+ }
2312
+ /**
2313
+ * @public
2314
+ * <p>Information about the instance topology.</p>
2315
+ */
2316
+ export interface InstanceTopology {
2317
+ /**
2318
+ * @public
2319
+ * <p>The instance ID.</p>
2320
+ */
2321
+ InstanceId?: string;
2322
+ /**
2323
+ * @public
2324
+ * <p>The instance type.</p>
2325
+ */
2326
+ InstanceType?: string;
2327
+ /**
2328
+ * @public
2329
+ * <p>The name of the placement group that the instance is in.</p>
2330
+ */
2331
+ GroupName?: string;
2332
+ /**
2333
+ * @public
2334
+ * <p>The network nodes. The nodes are hashed based on your account. Instances from
2335
+ * different accounts running under the same droplet will return a different hashed list of
2336
+ * strings.</p>
2337
+ */
2338
+ NetworkNodes?: string[];
2339
+ /**
2340
+ * @public
2341
+ * <p>The name of the Availability Zone or Local Zone that the instance is in.</p>
2342
+ */
2343
+ AvailabilityZone?: string;
2344
+ /**
2345
+ * @public
2346
+ * <p>The ID of the Availability Zone or Local Zone that the instance is in.</p>
2347
+ */
2348
+ ZoneId?: string;
2349
+ }
2350
+ /**
2351
+ * @public
2352
+ */
2353
+ export interface DescribeInstanceTopologyResult {
2354
+ /**
2355
+ * @public
2356
+ * <p>Information about the topology of each instance.</p>
2357
+ */
2358
+ Instances?: InstanceTopology[];
2359
+ /**
2360
+ * @public
2361
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
2362
+ * are no more items to return.</p>
2363
+ */
2364
+ NextToken?: string;
2365
+ }
2075
2366
  /**
2076
2367
  * @public
2077
2368
  * @enum
@@ -8751,6 +9042,12 @@ export interface InstanceNetworkInterfaceSpecification {
8751
9042
  * <p>The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
8752
9043
  */
8753
9044
  PrimaryIpv6?: boolean;
9045
+ /**
9046
+ * @public
9047
+ * <p>Specifies the ENA Express settings for the network interface that's attached to
9048
+ * the instance.</p>
9049
+ */
9050
+ EnaSrdSpecification?: EnaSrdSpecificationRequest;
8754
9051
  }
8755
9052
  /**
8756
9053
  * @public
@@ -11333,303 +11630,6 @@ export interface DescribeTransitGatewayPolicyTablesRequest {
11333
11630
  */
11334
11631
  DryRun?: boolean;
11335
11632
  }
11336
- /**
11337
- * @public
11338
- */
11339
- export interface DescribeTransitGatewayPolicyTablesResult {
11340
- /**
11341
- * @public
11342
- * <p>Describes the transit gateway policy tables.</p>
11343
- */
11344
- TransitGatewayPolicyTables?: TransitGatewayPolicyTable[];
11345
- /**
11346
- * @public
11347
- * <p>The token for the next page of results.</p>
11348
- */
11349
- NextToken?: string;
11350
- }
11351
- /**
11352
- * @public
11353
- */
11354
- export interface DescribeTransitGatewayRouteTableAnnouncementsRequest {
11355
- /**
11356
- * @public
11357
- * <p>The IDs of the transit gateway route tables that are being advertised.</p>
11358
- */
11359
- TransitGatewayRouteTableAnnouncementIds?: string[];
11360
- /**
11361
- * @public
11362
- * <p>The filters associated with the transit gateway policy table.</p>
11363
- */
11364
- Filters?: Filter[];
11365
- /**
11366
- * @public
11367
- * <p>The maximum number of results to return with a single call.
11368
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11369
- */
11370
- MaxResults?: number;
11371
- /**
11372
- * @public
11373
- * <p>The token for the next page of results.</p>
11374
- */
11375
- NextToken?: string;
11376
- /**
11377
- * @public
11378
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11379
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11380
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11381
- */
11382
- DryRun?: boolean;
11383
- }
11384
- /**
11385
- * @public
11386
- */
11387
- export interface DescribeTransitGatewayRouteTableAnnouncementsResult {
11388
- /**
11389
- * @public
11390
- * <p>Describes the transit gateway route table announcement.</p>
11391
- */
11392
- TransitGatewayRouteTableAnnouncements?: TransitGatewayRouteTableAnnouncement[];
11393
- /**
11394
- * @public
11395
- * <p>The token for the next page of results.</p>
11396
- */
11397
- NextToken?: string;
11398
- }
11399
- /**
11400
- * @public
11401
- */
11402
- export interface DescribeTransitGatewayRouteTablesRequest {
11403
- /**
11404
- * @public
11405
- * <p>The IDs of the transit gateway route tables.</p>
11406
- */
11407
- TransitGatewayRouteTableIds?: string[];
11408
- /**
11409
- * @public
11410
- * <p>One or more filters. The possible values are:</p>
11411
- * <ul>
11412
- * <li>
11413
- * <p>
11414
- * <code>default-association-route-table</code> - Indicates whether this is the default
11415
- * association route table for the transit gateway (<code>true</code> | <code>false</code>).</p>
11416
- * </li>
11417
- * <li>
11418
- * <p>
11419
- * <code>default-propagation-route-table</code> - Indicates whether this is the default
11420
- * propagation route table for the transit gateway (<code>true</code> | <code>false</code>).</p>
11421
- * </li>
11422
- * <li>
11423
- * <p>
11424
- * <code>state</code> - The state of the route table (<code>available</code> | <code>deleting</code> | <code>deleted</code> | <code>pending</code>).</p>
11425
- * </li>
11426
- * <li>
11427
- * <p>
11428
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
11429
- * </li>
11430
- * <li>
11431
- * <p>
11432
- * <code>transit-gateway-route-table-id</code> - The ID of the transit gateway route table.</p>
11433
- * </li>
11434
- * </ul>
11435
- */
11436
- Filters?: Filter[];
11437
- /**
11438
- * @public
11439
- * <p>The maximum number of results to return with a single call.
11440
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11441
- */
11442
- MaxResults?: number;
11443
- /**
11444
- * @public
11445
- * <p>The token for the next page of results.</p>
11446
- */
11447
- NextToken?: string;
11448
- /**
11449
- * @public
11450
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11451
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11452
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11453
- */
11454
- DryRun?: boolean;
11455
- }
11456
- /**
11457
- * @public
11458
- */
11459
- export interface DescribeTransitGatewayRouteTablesResult {
11460
- /**
11461
- * @public
11462
- * <p>Information about the transit gateway route tables.</p>
11463
- */
11464
- TransitGatewayRouteTables?: TransitGatewayRouteTable[];
11465
- /**
11466
- * @public
11467
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
11468
- */
11469
- NextToken?: string;
11470
- }
11471
- /**
11472
- * @public
11473
- */
11474
- export interface DescribeTransitGatewaysRequest {
11475
- /**
11476
- * @public
11477
- * <p>The IDs of the transit gateways.</p>
11478
- */
11479
- TransitGatewayIds?: string[];
11480
- /**
11481
- * @public
11482
- * <p>One or more filters. The possible values are:</p>
11483
- * <ul>
11484
- * <li>
11485
- * <p>
11486
- * <code>options.propagation-default-route-table-id</code> - The ID of the default propagation route table.</p>
11487
- * </li>
11488
- * <li>
11489
- * <p>
11490
- * <code>options.amazon-side-asn</code> - The private ASN for the Amazon side of a BGP session.</p>
11491
- * </li>
11492
- * <li>
11493
- * <p>
11494
- * <code>options.association-default-route-table-id</code> - The ID of the default association route table.</p>
11495
- * </li>
11496
- * <li>
11497
- * <p>
11498
- * <code>options.auto-accept-shared-attachments</code> - Indicates whether there is automatic acceptance of attachment requests (<code>enable</code> | <code>disable</code>).</p>
11499
- * </li>
11500
- * <li>
11501
- * <p>
11502
- * <code>options.default-route-table-association</code> - Indicates whether resource attachments are automatically
11503
- * associated with the default association route table (<code>enable</code> | <code>disable</code>).</p>
11504
- * </li>
11505
- * <li>
11506
- * <p>
11507
- * <code>options.default-route-table-propagation</code> - Indicates whether resource attachments automatically propagate
11508
- * routes to the default propagation route table (<code>enable</code> | <code>disable</code>).</p>
11509
- * </li>
11510
- * <li>
11511
- * <p>
11512
- * <code>options.dns-support</code> - Indicates whether DNS support is enabled (<code>enable</code> | <code>disable</code>).</p>
11513
- * </li>
11514
- * <li>
11515
- * <p>
11516
- * <code>options.vpn-ecmp-support</code> - Indicates whether Equal Cost Multipath Protocol support is enabled (<code>enable</code> | <code>disable</code>).</p>
11517
- * </li>
11518
- * <li>
11519
- * <p>
11520
- * <code>owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p>
11521
- * </li>
11522
- * <li>
11523
- * <p>
11524
- * <code>state</code> - The state of the transit gateway (<code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>modifying</code> | <code>pending</code>).</p>
11525
- * </li>
11526
- * <li>
11527
- * <p>
11528
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
11529
- * </li>
11530
- * </ul>
11531
- */
11532
- Filters?: Filter[];
11533
- /**
11534
- * @public
11535
- * <p>The maximum number of results to return with a single call.
11536
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11537
- */
11538
- MaxResults?: number;
11539
- /**
11540
- * @public
11541
- * <p>The token for the next page of results.</p>
11542
- */
11543
- NextToken?: string;
11544
- /**
11545
- * @public
11546
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11547
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11548
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11549
- */
11550
- DryRun?: boolean;
11551
- }
11552
- /**
11553
- * @public
11554
- */
11555
- export interface DescribeTransitGatewaysResult {
11556
- /**
11557
- * @public
11558
- * <p>Information about the transit gateways.</p>
11559
- */
11560
- TransitGateways?: TransitGateway[];
11561
- /**
11562
- * @public
11563
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
11564
- */
11565
- NextToken?: string;
11566
- }
11567
- /**
11568
- * @public
11569
- */
11570
- export interface DescribeTransitGatewayVpcAttachmentsRequest {
11571
- /**
11572
- * @public
11573
- * <p>The IDs of the attachments.</p>
11574
- */
11575
- TransitGatewayAttachmentIds?: string[];
11576
- /**
11577
- * @public
11578
- * <p>One or more filters. The possible values are:</p>
11579
- * <ul>
11580
- * <li>
11581
- * <p>
11582
- * <code>state</code> - The state of the attachment. Valid values are <code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>failed</code> | <code>failing</code> | <code>initiatingRequest</code> | <code>modifying</code> | <code>pendingAcceptance</code> | <code>pending</code> | <code>rollingBack</code> | <code>rejected</code> | <code>rejecting</code>.</p>
11583
- * </li>
11584
- * <li>
11585
- * <p>
11586
- * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
11587
- * </li>
11588
- * <li>
11589
- * <p>
11590
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
11591
- * </li>
11592
- * <li>
11593
- * <p>
11594
- * <code>vpc-id</code> - The ID of the VPC.</p>
11595
- * </li>
11596
- * </ul>
11597
- */
11598
- Filters?: Filter[];
11599
- /**
11600
- * @public
11601
- * <p>The maximum number of results to return with a single call.
11602
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
11603
- */
11604
- MaxResults?: number;
11605
- /**
11606
- * @public
11607
- * <p>The token for the next page of results.</p>
11608
- */
11609
- NextToken?: string;
11610
- /**
11611
- * @public
11612
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11613
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11614
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11615
- */
11616
- DryRun?: boolean;
11617
- }
11618
- /**
11619
- * @public
11620
- */
11621
- export interface DescribeTransitGatewayVpcAttachmentsResult {
11622
- /**
11623
- * @public
11624
- * <p>Information about the VPC attachments.</p>
11625
- */
11626
- TransitGatewayVpcAttachments?: TransitGatewayVpcAttachment[];
11627
- /**
11628
- * @public
11629
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
11630
- */
11631
- NextToken?: string;
11632
- }
11633
11633
  /**
11634
11634
  * @internal
11635
11635
  */