@aws-sdk/client-ec2 3.682.0 → 3.686.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 (99) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +455 -150
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/AssociateSecurityGroupVpcCommand.js +22 -0
  5. package/dist-es/commands/DescribeSecurityGroupVpcAssociationsCommand.js +22 -0
  6. package/dist-es/commands/DisassociateSecurityGroupVpcCommand.js +22 -0
  7. package/dist-es/commands/ModifyVerifiedAccessTrustProviderCommand.js +1 -1
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +8 -0
  10. package/dist-es/models/models_3.js +0 -15
  11. package/dist-es/models/models_4.js +15 -6
  12. package/dist-es/models/models_5.js +6 -6
  13. package/dist-es/models/models_6.js +6 -13
  14. package/dist-es/models/models_7.js +14 -0
  15. package/dist-es/pagination/DescribeSecurityGroupVpcAssociationsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_ec2.js +248 -3
  18. package/dist-types/EC2.d.ts +22 -0
  19. package/dist-types/EC2Client.d.ts +5 -2
  20. package/dist-types/commands/AssociateSecurityGroupVpcCommand.d.ts +92 -0
  21. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -0
  22. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -0
  23. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -2
  24. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -1
  25. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -2
  26. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -0
  27. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -2
  30. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeIdFormatCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -0
  34. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +90 -0
  35. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -0
  36. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -2
  39. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +8 -3
  40. package/dist-types/commands/DisassociateSecurityGroupVpcCommand.d.ts +75 -0
  41. package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -1
  42. package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  43. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  44. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  45. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
  46. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  47. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  50. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +15 -0
  51. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +15 -0
  52. package/dist-types/commands/index.d.ts +3 -0
  53. package/dist-types/models/models_0.d.ts +53 -254
  54. package/dist-types/models/models_1.d.ts +259 -111
  55. package/dist-types/models/models_2.d.ts +117 -72
  56. package/dist-types/models/models_3.d.ts +72 -58
  57. package/dist-types/models/models_4.d.ts +179 -182
  58. package/dist-types/models/models_5.d.ts +205 -139
  59. package/dist-types/models/models_6.d.ts +134 -316
  60. package/dist-types/models/models_7.d.ts +389 -6
  61. package/dist-types/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +1 -0
  63. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  64. package/dist-types/ts3.4/EC2.d.ts +58 -0
  65. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  66. package/dist-types/ts3.4/commands/AssociateSecurityGroupVpcCommand.d.ts +51 -0
  67. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +4 -2
  70. package/dist-types/ts3.4/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +4 -2
  72. package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +4 -2
  77. package/dist-types/ts3.4/commands/DisassociateSecurityGroupVpcCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +2 -4
  79. package/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +4 -2
  82. package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +19 -37
  89. package/dist-types/ts3.4/models/models_1.d.ts +43 -25
  90. package/dist-types/ts3.4/models/models_2.d.ts +24 -15
  91. package/dist-types/ts3.4/models/models_3.d.ts +16 -24
  92. package/dist-types/ts3.4/models/models_4.d.ts +42 -38
  93. package/dist-types/ts3.4/models/models_5.d.ts +47 -41
  94. package/dist-types/ts3.4/models/models_6.d.ts +36 -68
  95. package/dist-types/ts3.4/models/models_7.d.ts +90 -2
  96. package/dist-types/ts3.4/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  98. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  99. package/package.json +37 -37
@@ -1,4 +1,258 @@
1
- import { AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CapacityReservation, CapacityReservationFleetState, CapacityReservationInstancePlatform, InstanceEventWindow, NatGatewayAddress, PortRange, Protocol, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
1
+ import { AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CapacityAllocation, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, EndDateType, InstanceEventWindow, InstanceMatchCriteria, NatGatewayAddress, PortRange, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
+ /**
3
+ * <p>Describes a Capacity Reservation.</p>
4
+ * @public
5
+ */
6
+ export interface CapacityReservation {
7
+ /**
8
+ * <p>The ID of the Capacity Reservation.</p>
9
+ * @public
10
+ */
11
+ CapacityReservationId?: string;
12
+ /**
13
+ * <p>The ID of the Amazon Web Services account that owns the Capacity Reservation.</p>
14
+ * @public
15
+ */
16
+ OwnerId?: string;
17
+ /**
18
+ * <p>The Amazon Resource Name (ARN) of the Capacity Reservation.</p>
19
+ * @public
20
+ */
21
+ CapacityReservationArn?: string;
22
+ /**
23
+ * <p>The Availability Zone ID of the Capacity Reservation.</p>
24
+ * @public
25
+ */
26
+ AvailabilityZoneId?: string;
27
+ /**
28
+ * <p>The type of instance for which the Capacity Reservation reserves capacity.</p>
29
+ * @public
30
+ */
31
+ InstanceType?: string;
32
+ /**
33
+ * <p>The type of operating system for which the Capacity Reservation reserves capacity.</p>
34
+ * @public
35
+ */
36
+ InstancePlatform?: CapacityReservationInstancePlatform;
37
+ /**
38
+ * <p>The Availability Zone in which the capacity is reserved.</p>
39
+ * @public
40
+ */
41
+ AvailabilityZone?: string;
42
+ /**
43
+ * <p>Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:</p>
44
+ * <ul>
45
+ * <li>
46
+ * <p>
47
+ * <code>default</code> - The Capacity Reservation is created on hardware that is shared with other Amazon Web Services accounts.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>dedicated</code> - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.</p>
52
+ * </li>
53
+ * </ul>
54
+ * @public
55
+ */
56
+ Tenancy?: CapacityReservationTenancy;
57
+ /**
58
+ * <p>The total number of instances for which the Capacity Reservation reserves capacity.</p>
59
+ * @public
60
+ */
61
+ TotalInstanceCount?: number;
62
+ /**
63
+ * <p>The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.</p>
64
+ * @public
65
+ */
66
+ AvailableInstanceCount?: number;
67
+ /**
68
+ * <p>Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides
69
+ * dedicated throughput to Amazon EBS and an optimized configuration stack to provide
70
+ * optimal I/O performance. This optimization isn't available with all instance types.
71
+ * Additional usage charges apply when using an EBS- optimized instance.</p>
72
+ * @public
73
+ */
74
+ EbsOptimized?: boolean;
75
+ /**
76
+ * <p>
77
+ * <i>Deprecated.</i>
78
+ * </p>
79
+ * @public
80
+ */
81
+ EphemeralStorage?: boolean;
82
+ /**
83
+ * <p>The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:</p>
84
+ * <ul>
85
+ * <li>
86
+ * <p>
87
+ * <code>active</code> - The Capacity Reservation is active and the capacity is available for your use.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>
91
+ * <code>expired</code> - The Capacity Reservation expired automatically at the date and time specified
92
+ * in your request. The reserved capacity is no longer available for your use.</p>
93
+ * </li>
94
+ * <li>
95
+ * <p>
96
+ * <code>cancelled</code> - The Capacity Reservation was cancelled. The reserved capacity is no
97
+ * longer available for your use.</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>
101
+ * <code>pending</code> - The Capacity Reservation request was successful but the capacity
102
+ * provisioning is still pending.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>
106
+ * <code>failed</code> - The Capacity Reservation request has failed. A request might fail
107
+ * due to invalid request parameters, capacity constraints, or instance limit constraints.
108
+ * Failed requests are retained for 60 minutes.</p>
109
+ * </li>
110
+ * </ul>
111
+ * @public
112
+ */
113
+ State?: CapacityReservationState;
114
+ /**
115
+ * <p>The date and time at which the Capacity Reservation was started.</p>
116
+ * @public
117
+ */
118
+ StartDate?: Date;
119
+ /**
120
+ * <p>The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity
121
+ * is released and you can no longer launch instances into it. The Capacity Reservation's state changes to
122
+ * <code>expired</code> when it reaches its end date and time.</p>
123
+ * @public
124
+ */
125
+ EndDate?: Date;
126
+ /**
127
+ * <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end
128
+ * types:</p>
129
+ * <ul>
130
+ * <li>
131
+ * <p>
132
+ * <code>unlimited</code> - The Capacity Reservation remains active until you explicitly cancel it.</p>
133
+ * </li>
134
+ * <li>
135
+ * <p>
136
+ * <code>limited</code> - The Capacity Reservation expires automatically at a specified date and time.</p>
137
+ * </li>
138
+ * </ul>
139
+ * @public
140
+ */
141
+ EndDateType?: EndDateType;
142
+ /**
143
+ * <p>Indicates the type of instance launches that the Capacity Reservation accepts. The options
144
+ * include:</p>
145
+ * <ul>
146
+ * <li>
147
+ * <p>
148
+ * <code>open</code> - The Capacity Reservation accepts all instances that have matching attributes (instance type, platform,
149
+ * and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying
150
+ * any additional parameters.</p>
151
+ * </li>
152
+ * <li>
153
+ * <p>
154
+ * <code>targeted</code> - The Capacity Reservation only accepts instances that have matching attributes
155
+ * (instance type, platform, and Availability Zone), and explicitly target the
156
+ * Capacity Reservation. This ensures that only permitted instances can use the reserved capacity. </p>
157
+ * </li>
158
+ * </ul>
159
+ * @public
160
+ */
161
+ InstanceMatchCriteria?: InstanceMatchCriteria;
162
+ /**
163
+ * <p>The date and time at which the Capacity Reservation was created.</p>
164
+ * @public
165
+ */
166
+ CreateDate?: Date;
167
+ /**
168
+ * <p>Any tags assigned to the Capacity Reservation.</p>
169
+ * @public
170
+ */
171
+ Tags?: Tag[];
172
+ /**
173
+ * <p>The Amazon Resource Name (ARN) of the Outpost on which the Capacity
174
+ * Reservation was created.</p>
175
+ * @public
176
+ */
177
+ OutpostArn?: string;
178
+ /**
179
+ * <p>The ID of the Capacity Reservation Fleet to which the Capacity Reservation belongs.
180
+ * Only valid for Capacity Reservations that were created by a Capacity Reservation Fleet.</p>
181
+ * @public
182
+ */
183
+ CapacityReservationFleetId?: string;
184
+ /**
185
+ * <p>The Amazon Resource Name (ARN) of the cluster placement group in which
186
+ * the Capacity Reservation was created. For more information, see
187
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html">
188
+ * Capacity Reservations for cluster placement groups</a> in the
189
+ * <i>Amazon EC2 User Guide</i>.</p>
190
+ * @public
191
+ */
192
+ PlacementGroupArn?: string;
193
+ /**
194
+ * <p>Information about instance capacity usage.</p>
195
+ * @public
196
+ */
197
+ CapacityAllocations?: CapacityAllocation[];
198
+ /**
199
+ * <p>The type of Capacity Reservation.</p>
200
+ * @public
201
+ */
202
+ ReservationType?: CapacityReservationType;
203
+ /**
204
+ * <p>The ID of the Amazon Web Services account to which billing of the unused capacity
205
+ * of the Capacity Reservation is assigned.</p>
206
+ * @public
207
+ */
208
+ UnusedReservationBillingOwnerId?: string;
209
+ }
210
+ /**
211
+ * @public
212
+ */
213
+ export interface CreateCapacityReservationResult {
214
+ /**
215
+ * <p>Information about the Capacity Reservation.</p>
216
+ * @public
217
+ */
218
+ CapacityReservation?: CapacityReservation;
219
+ }
220
+ /**
221
+ * @public
222
+ */
223
+ export interface CreateCapacityReservationBySplittingRequest {
224
+ /**
225
+ * <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>
226
+ * @public
227
+ */
228
+ DryRun?: boolean;
229
+ /**
230
+ * <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/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensure Idempotency</a>.</p>
231
+ * @public
232
+ */
233
+ ClientToken?: string;
234
+ /**
235
+ * <p>
236
+ * The ID of the Capacity Reservation from which you want to split the available capacity.
237
+ * </p>
238
+ * @public
239
+ */
240
+ SourceCapacityReservationId: string | undefined;
241
+ /**
242
+ * <p>
243
+ * The number of instances to split from the source Capacity Reservation.
244
+ * </p>
245
+ * @public
246
+ */
247
+ InstanceCount: number | undefined;
248
+ /**
249
+ * <p>
250
+ * The tags to apply to the new Capacity Reservation.
251
+ * </p>
252
+ * @public
253
+ */
254
+ TagSpecifications?: TagSpecification[];
255
+ }
2
256
  /**
3
257
  * @public
4
258
  */
@@ -7811,11 +8065,13 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
7811
8065
  Groups?: string[];
7812
8066
  /**
7813
8067
  * <p>The type of network interface. To create an Elastic Fabric Adapter (EFA), specify
7814
- * <code>efa</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html">Elastic Fabric Adapter</a> in the
8068
+ * <code>efa</code> or <code>efa</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html">Elastic Fabric Adapter</a> in the
7815
8069
  * <i>Amazon EC2 User Guide</i>.</p>
7816
8070
  * <p>If you are not creating an EFA, specify <code>interface</code> or omit this
7817
8071
  * parameter.</p>
7818
- * <p>Valid values: <code>interface</code> | <code>efa</code>
8072
+ * <p>If you specify <code>efa-only</code>, do not assign any IP addresses to the network
8073
+ * interface. EFA-only network interfaces do not support IP addresses.</p>
8074
+ * <p>Valid values: <code>interface</code> | <code>efa</code> | <code>efa-only</code>
7819
8075
  * </p>
7820
8076
  * @public
7821
8077
  */
@@ -10812,114 +11068,6 @@ export interface CreateNetworkInsightsAccessScopeResult {
10812
11068
  */
10813
11069
  NetworkInsightsAccessScopeContent?: NetworkInsightsAccessScopeContent;
10814
11070
  }
10815
- /**
10816
- * <p>Describes a port range.</p>
10817
- * @public
10818
- */
10819
- export interface RequestFilterPortRange {
10820
- /**
10821
- * <p>The first port in the range.</p>
10822
- * @public
10823
- */
10824
- FromPort?: number;
10825
- /**
10826
- * <p>The last port in the range.</p>
10827
- * @public
10828
- */
10829
- ToPort?: number;
10830
- }
10831
- /**
10832
- * <p>Describes a set of filters for a path analysis. Use path filters to scope the analysis when
10833
- * there can be multiple resulting paths.</p>
10834
- * @public
10835
- */
10836
- export interface PathRequestFilter {
10837
- /**
10838
- * <p>The source IPv4 address.</p>
10839
- * @public
10840
- */
10841
- SourceAddress?: string;
10842
- /**
10843
- * <p>The source port range.</p>
10844
- * @public
10845
- */
10846
- SourcePortRange?: RequestFilterPortRange;
10847
- /**
10848
- * <p>The destination IPv4 address.</p>
10849
- * @public
10850
- */
10851
- DestinationAddress?: string;
10852
- /**
10853
- * <p>The destination port range.</p>
10854
- * @public
10855
- */
10856
- DestinationPortRange?: RequestFilterPortRange;
10857
- }
10858
- /**
10859
- * @public
10860
- */
10861
- export interface CreateNetworkInsightsPathRequest {
10862
- /**
10863
- * <p>The IP address of the source.</p>
10864
- * @public
10865
- */
10866
- SourceIp?: string;
10867
- /**
10868
- * <p>The IP address of the destination.</p>
10869
- * @public
10870
- */
10871
- DestinationIp?: string;
10872
- /**
10873
- * <p>The ID or ARN of the source. If the resource is in another account, you must specify an ARN.</p>
10874
- * @public
10875
- */
10876
- Source: string | undefined;
10877
- /**
10878
- * <p>The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.</p>
10879
- * @public
10880
- */
10881
- Destination?: string;
10882
- /**
10883
- * <p>The protocol.</p>
10884
- * @public
10885
- */
10886
- Protocol: Protocol | undefined;
10887
- /**
10888
- * <p>The destination port.</p>
10889
- * @public
10890
- */
10891
- DestinationPort?: number;
10892
- /**
10893
- * <p>The tags to add to the path.</p>
10894
- * @public
10895
- */
10896
- TagSpecifications?: TagSpecification[];
10897
- /**
10898
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10899
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10900
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10901
- * @public
10902
- */
10903
- DryRun?: boolean;
10904
- /**
10905
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information,
10906
- * see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">How to ensure idempotency</a>.</p>
10907
- * @public
10908
- */
10909
- ClientToken?: string;
10910
- /**
10911
- * <p>Scopes the analysis to network paths that match specific filters at the source. If you specify
10912
- * this parameter, you can't specify the parameters for the source IP address or the destination port.</p>
10913
- * @public
10914
- */
10915
- FilterAtSource?: PathRequestFilter;
10916
- /**
10917
- * <p>Scopes the analysis to network paths that match specific filters at the destination. If you specify
10918
- * this parameter, you can't specify the parameter for the destination IP address.</p>
10919
- * @public
10920
- */
10921
- FilterAtDestination?: PathRequestFilter;
10922
- }
10923
11071
  /**
10924
11072
  * @internal
10925
11073
  */
@@ -1,5 +1,113 @@
1
1
  import { ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv4PrefixSpecification, Ipv6SupportValue, Protocol, ReservedInstancesListing, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, GatewayType, InstanceIpv6Address, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplate, PrivateIpAddressSpecification, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
2
+ import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, ConnectionTrackingSpecificationRequest, Ec2InstanceConnectEndpoint, GatewayType, InstanceIpv6Address, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * <p>Describes a port range.</p>
5
+ * @public
6
+ */
7
+ export interface RequestFilterPortRange {
8
+ /**
9
+ * <p>The first port in the range.</p>
10
+ * @public
11
+ */
12
+ FromPort?: number;
13
+ /**
14
+ * <p>The last port in the range.</p>
15
+ * @public
16
+ */
17
+ ToPort?: number;
18
+ }
19
+ /**
20
+ * <p>Describes a set of filters for a path analysis. Use path filters to scope the analysis when
21
+ * there can be multiple resulting paths.</p>
22
+ * @public
23
+ */
24
+ export interface PathRequestFilter {
25
+ /**
26
+ * <p>The source IPv4 address.</p>
27
+ * @public
28
+ */
29
+ SourceAddress?: string;
30
+ /**
31
+ * <p>The source port range.</p>
32
+ * @public
33
+ */
34
+ SourcePortRange?: RequestFilterPortRange;
35
+ /**
36
+ * <p>The destination IPv4 address.</p>
37
+ * @public
38
+ */
39
+ DestinationAddress?: string;
40
+ /**
41
+ * <p>The destination port range.</p>
42
+ * @public
43
+ */
44
+ DestinationPortRange?: RequestFilterPortRange;
45
+ }
46
+ /**
47
+ * @public
48
+ */
49
+ export interface CreateNetworkInsightsPathRequest {
50
+ /**
51
+ * <p>The IP address of the source.</p>
52
+ * @public
53
+ */
54
+ SourceIp?: string;
55
+ /**
56
+ * <p>The IP address of the destination.</p>
57
+ * @public
58
+ */
59
+ DestinationIp?: string;
60
+ /**
61
+ * <p>The ID or ARN of the source. If the resource is in another account, you must specify an ARN.</p>
62
+ * @public
63
+ */
64
+ Source: string | undefined;
65
+ /**
66
+ * <p>The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.</p>
67
+ * @public
68
+ */
69
+ Destination?: string;
70
+ /**
71
+ * <p>The protocol.</p>
72
+ * @public
73
+ */
74
+ Protocol: Protocol | undefined;
75
+ /**
76
+ * <p>The destination port.</p>
77
+ * @public
78
+ */
79
+ DestinationPort?: number;
80
+ /**
81
+ * <p>The tags to add to the path.</p>
82
+ * @public
83
+ */
84
+ TagSpecifications?: TagSpecification[];
85
+ /**
86
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
87
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
88
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
89
+ * @public
90
+ */
91
+ DryRun?: boolean;
92
+ /**
93
+ * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information,
94
+ * see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">How to ensure idempotency</a>.</p>
95
+ * @public
96
+ */
97
+ ClientToken?: string;
98
+ /**
99
+ * <p>Scopes the analysis to network paths that match specific filters at the source. If you specify
100
+ * this parameter, you can't specify the parameters for the source IP address or the destination port.</p>
101
+ * @public
102
+ */
103
+ FilterAtSource?: PathRequestFilter;
104
+ /**
105
+ * <p>Scopes the analysis to network paths that match specific filters at the destination. If you specify
106
+ * this parameter, you can't specify the parameter for the destination IP address.</p>
107
+ * @public
108
+ */
109
+ FilterAtDestination?: PathRequestFilter;
110
+ }
3
111
  /**
4
112
  * <p>Describes a port range.</p>
5
113
  * @public
@@ -178,7 +286,9 @@ export interface CreateNetworkInterfaceRequest {
178
286
  Ipv6PrefixCount?: number;
179
287
  /**
180
288
  * <p>The type of network interface. The default is <code>interface</code>.</p>
181
- * <p>The only supported values are <code>interface</code>, <code>efa</code>, and <code>trunk</code>.</p>
289
+ * <p>If you specify <code>efa-only</code>, do not assign any IP addresses to the network
290
+ * interface. EFA-only network interfaces do not support IP addresses.</p>
291
+ * <p>The only supported values are <code>interface</code>, <code>efa</code>, <code>efa-only</code>, and <code>trunk</code>.</p>
182
292
  * @public
183
293
  */
184
294
  InterfaceType?: NetworkInterfaceCreationType;
@@ -1708,6 +1818,11 @@ export interface CreateSecurityGroupResult {
1708
1818
  * @public
1709
1819
  */
1710
1820
  Tags?: Tag[];
1821
+ /**
1822
+ * <p>The security group ARN.</p>
1823
+ * @public
1824
+ */
1825
+ SecurityGroupArn?: string;
1711
1826
  }
1712
1827
  /**
1713
1828
  * @public
@@ -8115,76 +8230,6 @@ export interface DeleteKeyPairResult {
8115
8230
  */
8116
8231
  KeyPairId?: string;
8117
8232
  }
8118
- /**
8119
- * @public
8120
- */
8121
- export interface DeleteLaunchTemplateRequest {
8122
- /**
8123
- * <p>Checks whether you have the required permissions for the action, without actually
8124
- * making the request, and provides an error response. If you have the required
8125
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
8126
- * <code>UnauthorizedOperation</code>.</p>
8127
- * @public
8128
- */
8129
- DryRun?: boolean;
8130
- /**
8131
- * <p>The ID of the launch template.</p>
8132
- * <p>You must specify either the launch template ID or the
8133
- * launch template name, but not both.</p>
8134
- * @public
8135
- */
8136
- LaunchTemplateId?: string;
8137
- /**
8138
- * <p>The name of the launch template.</p>
8139
- * <p>You must specify either the launch template ID or the
8140
- * launch template name, but not both.</p>
8141
- * @public
8142
- */
8143
- LaunchTemplateName?: string;
8144
- }
8145
- /**
8146
- * @public
8147
- */
8148
- export interface DeleteLaunchTemplateResult {
8149
- /**
8150
- * <p>Information about the launch template.</p>
8151
- * @public
8152
- */
8153
- LaunchTemplate?: LaunchTemplate;
8154
- }
8155
- /**
8156
- * @public
8157
- */
8158
- export interface DeleteLaunchTemplateVersionsRequest {
8159
- /**
8160
- * <p>Checks whether you have the required permissions for the action, without actually
8161
- * making the request, and provides an error response. If you have the required
8162
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
8163
- * <code>UnauthorizedOperation</code>.</p>
8164
- * @public
8165
- */
8166
- DryRun?: boolean;
8167
- /**
8168
- * <p>The ID of the launch template.</p>
8169
- * <p>You must specify either the launch template ID or the
8170
- * launch template name, but not both.</p>
8171
- * @public
8172
- */
8173
- LaunchTemplateId?: string;
8174
- /**
8175
- * <p>The name of the launch template.</p>
8176
- * <p>You must specify either the launch template ID or the
8177
- * launch template name, but not both.</p>
8178
- * @public
8179
- */
8180
- LaunchTemplateName?: string;
8181
- /**
8182
- * <p>The version numbers of one or more launch template versions to delete. You can specify
8183
- * up to 200 launch template version numbers.</p>
8184
- * @public
8185
- */
8186
- Versions: string[] | undefined;
8187
- }
8188
8233
  /**
8189
8234
  * @internal
8190
8235
  */