@aws-sdk/client-ec2 3.624.0 → 3.629.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.
- package/README.md +16 -0
- package/dist-cjs/index.js +371 -152
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/CreateCapacityReservationBySplittingCommand.js +24 -0
- package/dist-es/commands/GetInstanceTpmEkPubCommand.js +1 -1
- package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +1 -1
- package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +1 -1
- package/dist-es/commands/MoveCapacityReservationInstancesCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +9 -3
- package/dist-es/models/models_1.js +3 -5
- package/dist-es/models/models_2.js +5 -0
- package/dist-es/models/models_3.js +0 -17
- package/dist-es/models/models_4.js +17 -10
- package/dist-es/models/models_5.js +11 -9
- package/dist-es/models/models_6.js +13 -16
- package/dist-es/models/models_7.js +18 -2
- package/dist-es/protocols/Aws_ec2.js +169 -8
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +4 -2
- package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -0
- package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -0
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +148 -0
- package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -0
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -0
- package/dist-types/commands/CreateIpamCommand.d.ts +2 -0
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -2
- package/dist-types/commands/CreateSubnetCommand.d.ts +2 -0
- package/dist-types/commands/CreateVpcCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIpamCommand.d.ts +1 -0
- package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAddressTransfersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeVpcsCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +2 -0
- package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -1
- package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +1 -2
- package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +5 -5
- package/dist-types/commands/ModifyIpamCommand.d.ts +2 -0
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -1
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +157 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +108 -226
- package/dist-types/models/models_1.d.ts +236 -211
- package/dist-types/models/models_2.d.ts +214 -78
- package/dist-types/models/models_3.d.ts +77 -244
- package/dist-types/models/models_4.d.ts +248 -365
- package/dist-types/models/models_5.d.ts +359 -64
- package/dist-types/models/models_6.d.ts +101 -309
- package/dist-types/models/models_7.d.ts +370 -5
- package/dist-types/protocols/Aws_ec2.d.ts +18 -0
- package/dist-types/ts3.4/EC2.d.ts +40 -0
- package/dist-types/ts3.4/EC2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateNetworkInterfaceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -44
- package/dist-types/ts3.4/models/models_1.d.ts +50 -39
- package/dist-types/ts3.4/models/models_2.d.ts +44 -20
- package/dist-types/ts3.4/models/models_3.d.ts +22 -60
- package/dist-types/ts3.4/models/models_4.d.ts +59 -51
- package/dist-types/ts3.4/models/models_5.d.ts +52 -21
- package/dist-types/ts3.4/models/models_6.d.ts +33 -62
- package/dist-types/ts3.4/models/models_7.d.ts +79 -3
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
- package/package.json +5 -5
|
@@ -1,4 +1,229 @@
|
|
|
1
|
-
import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, InstanceEventWindow, NatGatewayAddress, PortRange, Protocol, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
|
|
1
|
+
import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CapacityReservationFleetState, CapacityReservationInstancePlatform, FleetInstanceMatchCriteria, InstanceEventWindow, NatGatewayAddress, PortRange, Protocol, ReservationFleetInstanceSpecification, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
* @enum
|
|
5
|
+
*/
|
|
6
|
+
export declare const FleetCapacityReservationTenancy: {
|
|
7
|
+
readonly default: "default";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type FleetCapacityReservationTenancy = (typeof FleetCapacityReservationTenancy)[keyof typeof FleetCapacityReservationTenancy];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export interface CreateCapacityReservationFleetRequest {
|
|
17
|
+
/**
|
|
18
|
+
* <p>The strategy used by the Capacity Reservation Fleet to determine which of the specified
|
|
19
|
+
* instance types to use. Currently, only the <code>prioritized</code> allocation strategy
|
|
20
|
+
* is supported. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy"> Allocation
|
|
21
|
+
* strategy</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
22
|
+
* <p>Valid values: <code>prioritized</code>
|
|
23
|
+
* </p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
AllocationStrategy?: string;
|
|
27
|
+
/**
|
|
28
|
+
* <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>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
ClientToken?: string;
|
|
32
|
+
/**
|
|
33
|
+
* <p>Information about the instance types for which to reserve the capacity.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
InstanceTypeSpecifications: ReservationFleetInstanceSpecification[] | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations
|
|
39
|
+
* in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of
|
|
40
|
+
* the following tenancy settings:</p>
|
|
41
|
+
* <ul>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>default</code> - The Capacity Reservation Fleet is created on hardware
|
|
45
|
+
* that is shared with other Amazon Web Services accounts.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <code>dedicated</code> - The Capacity Reservations are created on single-tenant
|
|
50
|
+
* hardware that is dedicated to a single Amazon Web Services account.</p>
|
|
51
|
+
* </li>
|
|
52
|
+
* </ul>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
Tenancy?: FleetCapacityReservationTenancy;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The total number of capacity units to be reserved by the Capacity Reservation Fleet. This
|
|
58
|
+
* value, together with the instance type weights that you assign to each instance type
|
|
59
|
+
* used by the Fleet determine the number of instances for which the Fleet reserves
|
|
60
|
+
* capacity. Both values are based on units that make sense for your workload. For more
|
|
61
|
+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
|
|
62
|
+
* capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
TotalTargetCapacity: number | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The date and time at which the Capacity Reservation Fleet expires. When the Capacity
|
|
68
|
+
* Reservation Fleet expires, its state changes to <code>expired</code> and all of the Capacity
|
|
69
|
+
* Reservations in the Fleet expire.</p>
|
|
70
|
+
* <p>The Capacity Reservation Fleet expires within an hour after the specified time. For example,
|
|
71
|
+
* if you specify <code>5/31/2019</code>, <code>13:30:55</code>, the Capacity Reservation Fleet
|
|
72
|
+
* is guaranteed to expire between <code>13:30:55</code> and <code>14:30:55</code> on
|
|
73
|
+
* <code>5/31/2019</code>.
|
|
74
|
+
* </p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
EndDate?: Date;
|
|
78
|
+
/**
|
|
79
|
+
* <p>Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All
|
|
80
|
+
* Capacity Reservations in the Fleet inherit this instance matching criteria.</p>
|
|
81
|
+
* <p>Currently, Capacity Reservation Fleets support <code>open</code> instance matching criteria
|
|
82
|
+
* only. This means that instances that have matching attributes (instance type, platform, and
|
|
83
|
+
* Availability Zone) run in the Capacity Reservations automatically. Instances do not need to
|
|
84
|
+
* explicitly target a Capacity Reservation Fleet to use its reserved capacity.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
InstanceMatchCriteria?: FleetInstanceMatchCriteria;
|
|
88
|
+
/**
|
|
89
|
+
* <p>The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned
|
|
90
|
+
* to the Capacity Reservations in the Fleet.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
TagSpecifications?: TagSpecification[];
|
|
94
|
+
/**
|
|
95
|
+
* <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>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
DryRun?: boolean;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* <p>Information about a Capacity Reservation in a Capacity Reservation Fleet.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export interface FleetCapacityReservation {
|
|
105
|
+
/**
|
|
106
|
+
* <p>The ID of the Capacity Reservation.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
CapacityReservationId?: string;
|
|
110
|
+
/**
|
|
111
|
+
* <p>The ID of the Availability Zone in which the Capacity Reservation reserves capacity.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
AvailabilityZoneId?: string;
|
|
115
|
+
/**
|
|
116
|
+
* <p>The instance type for which the Capacity Reservation reserves capacity.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
InstanceType?: _InstanceType;
|
|
120
|
+
/**
|
|
121
|
+
* <p>The type of operating system for which the Capacity Reservation reserves capacity.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
InstancePlatform?: CapacityReservationInstancePlatform;
|
|
125
|
+
/**
|
|
126
|
+
* <p>The Availability Zone in which the Capacity Reservation reserves capacity.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
AvailabilityZone?: string;
|
|
130
|
+
/**
|
|
131
|
+
* <p>The total number of instances for which the Capacity Reservation reserves capacity.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
TotalInstanceCount?: number;
|
|
135
|
+
/**
|
|
136
|
+
* <p>The number of capacity units fulfilled by the Capacity Reservation. For more information,
|
|
137
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
|
|
138
|
+
* capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
FulfilledCapacity?: number;
|
|
142
|
+
/**
|
|
143
|
+
* <p>Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
EbsOptimized?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* <p>The date and time at which the Capacity Reservation was created.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
CreateDate?: Date;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The weight of the instance type in the Capacity Reservation Fleet. For more information, see
|
|
154
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-weight">Instance type
|
|
155
|
+
* weight</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
Weight?: number;
|
|
159
|
+
/**
|
|
160
|
+
* <p>The priority of the instance type in the Capacity Reservation Fleet. For more information,
|
|
161
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority">Instance type
|
|
162
|
+
* priority</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
Priority?: number;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export interface CreateCapacityReservationFleetResult {
|
|
171
|
+
/**
|
|
172
|
+
* <p>The ID of the Capacity Reservation Fleet.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
CapacityReservationFleetId?: string;
|
|
176
|
+
/**
|
|
177
|
+
* <p>The status of the Capacity Reservation Fleet.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
State?: CapacityReservationFleetState;
|
|
181
|
+
/**
|
|
182
|
+
* <p>The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
TotalTargetCapacity?: number;
|
|
186
|
+
/**
|
|
187
|
+
* <p>The requested capacity units that have been successfully reserved.</p>
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
TotalFulfilledCapacity?: number;
|
|
191
|
+
/**
|
|
192
|
+
* <p>The instance matching criteria for the Capacity Reservation Fleet.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
InstanceMatchCriteria?: FleetInstanceMatchCriteria;
|
|
196
|
+
/**
|
|
197
|
+
* <p>The allocation strategy used by the Capacity Reservation Fleet.</p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
AllocationStrategy?: string;
|
|
201
|
+
/**
|
|
202
|
+
* <p>The date and time at which the Capacity Reservation Fleet was created.</p>
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
CreateTime?: Date;
|
|
206
|
+
/**
|
|
207
|
+
* <p>The date and time at which the Capacity Reservation Fleet expires.</p>
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
EndDate?: Date;
|
|
211
|
+
/**
|
|
212
|
+
* <p>Indicates the tenancy of Capacity Reservation Fleet.</p>
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
Tenancy?: FleetCapacityReservationTenancy;
|
|
216
|
+
/**
|
|
217
|
+
* <p>Information about the individual Capacity Reservations in the Capacity Reservation Fleet.</p>
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
FleetCapacityReservations?: FleetCapacityReservation[];
|
|
221
|
+
/**
|
|
222
|
+
* <p>The tags assigned to the Capacity Reservation Fleet.</p>
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
Tags?: Tag[];
|
|
226
|
+
}
|
|
2
227
|
/**
|
|
3
228
|
* @public
|
|
4
229
|
*/
|
|
@@ -4776,6 +5001,11 @@ export interface CreateIpamRequest {
|
|
|
4776
5001
|
* @public
|
|
4777
5002
|
*/
|
|
4778
5003
|
Tier?: IpamTier;
|
|
5004
|
+
/**
|
|
5005
|
+
* <p>Enable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.</p>
|
|
5006
|
+
* @public
|
|
5007
|
+
*/
|
|
5008
|
+
EnablePrivateGua?: boolean;
|
|
4779
5009
|
}
|
|
4780
5010
|
/**
|
|
4781
5011
|
* <p>The operating Regions for an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.</p>
|
|
@@ -4899,6 +5129,11 @@ export interface Ipam {
|
|
|
4899
5129
|
* @public
|
|
4900
5130
|
*/
|
|
4901
5131
|
Tier?: IpamTier;
|
|
5132
|
+
/**
|
|
5133
|
+
* <p>Enable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.</p>
|
|
5134
|
+
* @public
|
|
5135
|
+
*/
|
|
5136
|
+
EnablePrivateGua?: boolean;
|
|
4902
5137
|
}
|
|
4903
5138
|
/**
|
|
4904
5139
|
* @public
|
|
@@ -9840,216 +10075,6 @@ export interface CreateNetworkInsightsPathResult {
|
|
|
9840
10075
|
*/
|
|
9841
10076
|
NetworkInsightsPath?: NetworkInsightsPath;
|
|
9842
10077
|
}
|
|
9843
|
-
/**
|
|
9844
|
-
* @public
|
|
9845
|
-
* @enum
|
|
9846
|
-
*/
|
|
9847
|
-
export declare const NetworkInterfaceCreationType: {
|
|
9848
|
-
readonly branch: "branch";
|
|
9849
|
-
readonly efa: "efa";
|
|
9850
|
-
readonly trunk: "trunk";
|
|
9851
|
-
};
|
|
9852
|
-
/**
|
|
9853
|
-
* @public
|
|
9854
|
-
*/
|
|
9855
|
-
export type NetworkInterfaceCreationType = (typeof NetworkInterfaceCreationType)[keyof typeof NetworkInterfaceCreationType];
|
|
9856
|
-
/**
|
|
9857
|
-
* @public
|
|
9858
|
-
*/
|
|
9859
|
-
export interface CreateNetworkInterfaceRequest {
|
|
9860
|
-
/**
|
|
9861
|
-
* <p>A description for the network interface.</p>
|
|
9862
|
-
* @public
|
|
9863
|
-
*/
|
|
9864
|
-
Description?: string;
|
|
9865
|
-
/**
|
|
9866
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
9867
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
9868
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
9869
|
-
* @public
|
|
9870
|
-
*/
|
|
9871
|
-
DryRun?: boolean;
|
|
9872
|
-
/**
|
|
9873
|
-
* <p>The IDs of one or more security groups.</p>
|
|
9874
|
-
* @public
|
|
9875
|
-
*/
|
|
9876
|
-
Groups?: string[];
|
|
9877
|
-
/**
|
|
9878
|
-
* <p>The number of IPv6 addresses to assign to a network interface. Amazon EC2
|
|
9879
|
-
* automatically selects the IPv6 addresses from the subnet range.</p>
|
|
9880
|
-
* <p>You can't specify a count of IPv6 addresses using this parameter if you've specified
|
|
9881
|
-
* one of the following: specific IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.</p>
|
|
9882
|
-
* <p>If your subnet has the <code>AssignIpv6AddressOnCreation</code> attribute set, you can
|
|
9883
|
-
* override that setting by specifying 0 as the IPv6 address count.</p>
|
|
9884
|
-
* @public
|
|
9885
|
-
*/
|
|
9886
|
-
Ipv6AddressCount?: number;
|
|
9887
|
-
/**
|
|
9888
|
-
* <p>The IPv6 addresses from the IPv6 CIDR block range of your subnet.</p>
|
|
9889
|
-
* <p>You can't specify IPv6 addresses using this parameter if you've specified one of the
|
|
9890
|
-
* following: a count of IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.</p>
|
|
9891
|
-
* @public
|
|
9892
|
-
*/
|
|
9893
|
-
Ipv6Addresses?: InstanceIpv6Address[];
|
|
9894
|
-
/**
|
|
9895
|
-
* <p>The primary private IPv4 address of the network interface. If you don't specify an
|
|
9896
|
-
* IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you
|
|
9897
|
-
* specify an IP address, you cannot indicate any IP addresses specified in
|
|
9898
|
-
* <code>privateIpAddresses</code> as primary (only one IP address can be designated as
|
|
9899
|
-
* primary).</p>
|
|
9900
|
-
* @public
|
|
9901
|
-
*/
|
|
9902
|
-
PrivateIpAddress?: string;
|
|
9903
|
-
/**
|
|
9904
|
-
* <p>The private IPv4 addresses.</p>
|
|
9905
|
-
* <p>You can't specify private IPv4 addresses if you've specified one of the following:
|
|
9906
|
-
* a count of private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.</p>
|
|
9907
|
-
* @public
|
|
9908
|
-
*/
|
|
9909
|
-
PrivateIpAddresses?: PrivateIpAddressSpecification[];
|
|
9910
|
-
/**
|
|
9911
|
-
* <p>The number of secondary private IPv4 addresses to assign to a network interface. When
|
|
9912
|
-
* you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses
|
|
9913
|
-
* within the subnet's IPv4 CIDR range. You can't specify this option and specify more than
|
|
9914
|
-
* one private IP address using <code>privateIpAddresses</code>.</p>
|
|
9915
|
-
* <p>You can't specify a count of private IPv4 addresses if you've specified one of the following:
|
|
9916
|
-
* specific private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.</p>
|
|
9917
|
-
* @public
|
|
9918
|
-
*/
|
|
9919
|
-
SecondaryPrivateIpAddressCount?: number;
|
|
9920
|
-
/**
|
|
9921
|
-
* <p>The IPv4 prefixes assigned to the network interface.</p>
|
|
9922
|
-
* <p>You can't specify IPv4 prefixes if you've specified one of the following:
|
|
9923
|
-
* a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.</p>
|
|
9924
|
-
* @public
|
|
9925
|
-
*/
|
|
9926
|
-
Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[];
|
|
9927
|
-
/**
|
|
9928
|
-
* <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface.</p>
|
|
9929
|
-
* <p>You can't specify a count of IPv4 prefixes if you've specified one of the following:
|
|
9930
|
-
* specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4
|
|
9931
|
-
* addresses.</p>
|
|
9932
|
-
* @public
|
|
9933
|
-
*/
|
|
9934
|
-
Ipv4PrefixCount?: number;
|
|
9935
|
-
/**
|
|
9936
|
-
* <p>The IPv6 prefixes assigned to the network interface.</p>
|
|
9937
|
-
* <p>You can't specify IPv6 prefixes if you've specified one of the following:
|
|
9938
|
-
* a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.</p>
|
|
9939
|
-
* @public
|
|
9940
|
-
*/
|
|
9941
|
-
Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
|
|
9942
|
-
/**
|
|
9943
|
-
* <p>The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.</p>
|
|
9944
|
-
* <p>You can't specify a count of IPv6 prefixes if you've specified one of the following:
|
|
9945
|
-
* specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.</p>
|
|
9946
|
-
* @public
|
|
9947
|
-
*/
|
|
9948
|
-
Ipv6PrefixCount?: number;
|
|
9949
|
-
/**
|
|
9950
|
-
* <p>The type of network interface. The default is <code>interface</code>.</p>
|
|
9951
|
-
* <p>The only supported values are <code>interface</code>, <code>efa</code>, and <code>trunk</code>.</p>
|
|
9952
|
-
* @public
|
|
9953
|
-
*/
|
|
9954
|
-
InterfaceType?: NetworkInterfaceCreationType;
|
|
9955
|
-
/**
|
|
9956
|
-
* <p>The ID of the subnet to associate with the network interface.</p>
|
|
9957
|
-
* @public
|
|
9958
|
-
*/
|
|
9959
|
-
SubnetId: string | undefined;
|
|
9960
|
-
/**
|
|
9961
|
-
* <p>The tags to apply to the new network interface.</p>
|
|
9962
|
-
* @public
|
|
9963
|
-
*/
|
|
9964
|
-
TagSpecifications?: TagSpecification[];
|
|
9965
|
-
/**
|
|
9966
|
-
* <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">Ensuring idempotency</a>.</p>
|
|
9967
|
-
* @public
|
|
9968
|
-
*/
|
|
9969
|
-
ClientToken?: string;
|
|
9970
|
-
/**
|
|
9971
|
-
* <p>If you’re creating a network interface in a dual-stack or IPv6-only subnet, you have
|
|
9972
|
-
* the option to assign a primary IPv6 IP address. A primary IPv6 address is an IPv6 GUA
|
|
9973
|
-
* address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if the instance that
|
|
9974
|
-
* this ENI will be attached to relies on its IPv6 address not changing. Amazon Web Services
|
|
9975
|
-
* will automatically assign an IPv6 address associated with the ENI attached to your
|
|
9976
|
-
* instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a
|
|
9977
|
-
* primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary
|
|
9978
|
-
* IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is
|
|
9979
|
-
* terminated or the network interface is detached. If you have multiple IPv6 addresses
|
|
9980
|
-
* associated with an ENI attached to your instance and you enable a primary IPv6 address,
|
|
9981
|
-
* the first IPv6 GUA address associated with the ENI becomes the primary IPv6
|
|
9982
|
-
* address.</p>
|
|
9983
|
-
* @public
|
|
9984
|
-
*/
|
|
9985
|
-
EnablePrimaryIpv6?: boolean;
|
|
9986
|
-
/**
|
|
9987
|
-
* <p>A connection tracking specification for the network interface.</p>
|
|
9988
|
-
* @public
|
|
9989
|
-
*/
|
|
9990
|
-
ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest;
|
|
9991
|
-
}
|
|
9992
|
-
/**
|
|
9993
|
-
* <p>Describes association information for an Elastic IP address (IPv4 only), or a Carrier
|
|
9994
|
-
* IP address (for a network interface which resides in a subnet in a Wavelength
|
|
9995
|
-
* Zone).</p>
|
|
9996
|
-
* @public
|
|
9997
|
-
*/
|
|
9998
|
-
export interface NetworkInterfaceAssociation {
|
|
9999
|
-
/**
|
|
10000
|
-
* <p>The allocation ID.</p>
|
|
10001
|
-
* @public
|
|
10002
|
-
*/
|
|
10003
|
-
AllocationId?: string;
|
|
10004
|
-
/**
|
|
10005
|
-
* <p>The association ID.</p>
|
|
10006
|
-
* @public
|
|
10007
|
-
*/
|
|
10008
|
-
AssociationId?: string;
|
|
10009
|
-
/**
|
|
10010
|
-
* <p>The ID of the Elastic IP address owner.</p>
|
|
10011
|
-
* @public
|
|
10012
|
-
*/
|
|
10013
|
-
IpOwnerId?: string;
|
|
10014
|
-
/**
|
|
10015
|
-
* <p>The public DNS name.</p>
|
|
10016
|
-
* @public
|
|
10017
|
-
*/
|
|
10018
|
-
PublicDnsName?: string;
|
|
10019
|
-
/**
|
|
10020
|
-
* <p>The address of the Elastic IP address bound to the network
|
|
10021
|
-
* interface.</p>
|
|
10022
|
-
* @public
|
|
10023
|
-
*/
|
|
10024
|
-
PublicIp?: string;
|
|
10025
|
-
/**
|
|
10026
|
-
* <p>The customer-owned IP address associated with the network interface.</p>
|
|
10027
|
-
* @public
|
|
10028
|
-
*/
|
|
10029
|
-
CustomerOwnedIp?: string;
|
|
10030
|
-
/**
|
|
10031
|
-
* <p>The carrier IP address associated with the network interface.</p>
|
|
10032
|
-
* <p>This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.</p>
|
|
10033
|
-
* @public
|
|
10034
|
-
*/
|
|
10035
|
-
CarrierIp?: string;
|
|
10036
|
-
}
|
|
10037
|
-
/**
|
|
10038
|
-
* <p>ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic
|
|
10039
|
-
* automatically uses it. However, some UDP-based applications are designed to handle network packets that are
|
|
10040
|
-
* out of order, without a need for retransmission, such as live video broadcasting or other near-real-time
|
|
10041
|
-
* applications. For UDP traffic, you can specify whether to use ENA Express, based on your application
|
|
10042
|
-
* environment needs.</p>
|
|
10043
|
-
* @public
|
|
10044
|
-
*/
|
|
10045
|
-
export interface AttachmentEnaSrdUdpSpecification {
|
|
10046
|
-
/**
|
|
10047
|
-
* <p>Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting,
|
|
10048
|
-
* you must first enable ENA Express.</p>
|
|
10049
|
-
* @public
|
|
10050
|
-
*/
|
|
10051
|
-
EnaSrdUdpEnabled?: boolean;
|
|
10052
|
-
}
|
|
10053
10078
|
/**
|
|
10054
10079
|
* @internal
|
|
10055
10080
|
*/
|