@aws-sdk/client-ec2 3.172.0 → 3.174.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/CHANGELOG.md +11 -0
- package/dist-cjs/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -2
- package/dist-cjs/commands/DescribeAddressesAttributeCommand.js +3 -3
- package/dist-cjs/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
- package/dist-cjs/commands/MonitorInstancesCommand.js +1 -2
- package/dist-cjs/models/models_0.js +14 -14
- package/dist-cjs/models/models_1.js +13 -13
- package/dist-cjs/models/models_2.js +14 -14
- package/dist-cjs/models/models_3.js +13 -13
- package/dist-cjs/models/models_4.js +14 -14
- package/dist-cjs/models/models_5.js +14 -14
- package/dist-cjs/models/models_6.js +12 -4
- package/dist-cjs/protocols/Aws_ec2.js +27 -0
- package/dist-es/commands/CreateTrafficMirrorFilterRuleCommand.js +1 -2
- package/dist-es/commands/DescribeAddressesAttributeCommand.js +1 -1
- package/dist-es/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.js +2 -1
- package/dist-es/commands/MonitorInstancesCommand.js +1 -2
- package/dist-es/models/models_0.js +5 -2
- package/dist-es/models/models_1.js +2 -2
- package/dist-es/models/models_2.js +2 -2
- package/dist-es/models/models_3.js +2 -2
- package/dist-es/models/models_4.js +2 -2
- package/dist-es/models/models_5.js +2 -2
- package/dist-es/models/models_6.js +2 -0
- package/dist-es/protocols/Aws_ec2.js +27 -0
- package/dist-types/EC2.d.ts +13 -30
- package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +0 -3
- package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +0 -3
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +0 -3
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +0 -3
- package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -4
- package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -4
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +4 -6
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +3 -0
- package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +4 -1
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +26 -30
- package/dist-types/models/models_1.d.ts +67 -93
- package/dist-types/models/models_2.d.ts +77 -44
- package/dist-types/models/models_3.d.ts +58 -57
- package/dist-types/models/models_4.d.ts +76 -73
- package/dist-types/models/models_5.d.ts +45 -43
- package/dist-types/models/models_6.d.ts +43 -9
- package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeAddressesAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +11 -13
- package/dist-types/ts3.4/models/models_1.d.ts +13 -25
- package/dist-types/ts3.4/models/models_2.d.ts +26 -19
- package/dist-types/ts3.4/models/models_3.d.ts +20 -18
- package/dist-types/ts3.4/models/models_4.d.ts +18 -15
- package/dist-types/ts3.4/models/models_5.d.ts +16 -18
- package/dist-types/ts3.4/models/models_6.d.ts +16 -5
- package/package.json +1 -1
|
@@ -1,4 +1,26 @@
|
|
|
1
|
-
import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CurrencyCodeValues,
|
|
1
|
+
import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CurrencyCodeValues, HostnameType, InstanceEventWindow, Ipv4PrefixSpecification, PortRange, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, Subnet, Tag, TagSpecification, Tenancy, UnsuccessfulItem, WeekDay } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* <p>Describes a value for a resource attribute that is a String.</p>
|
|
4
|
+
*/
|
|
5
|
+
export interface AttributeValue {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The attribute value. The value is case-sensitive.</p>
|
|
8
|
+
*/
|
|
9
|
+
Value?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* <p>Describes a DHCP configuration option.</p>
|
|
13
|
+
*/
|
|
14
|
+
export interface DhcpConfiguration {
|
|
15
|
+
/**
|
|
16
|
+
* <p>The name of a DHCP option.</p>
|
|
17
|
+
*/
|
|
18
|
+
Key?: string;
|
|
19
|
+
/**
|
|
20
|
+
* <p>One or more values for the DHCP option.</p>
|
|
21
|
+
*/
|
|
22
|
+
Values?: AttributeValue[];
|
|
23
|
+
}
|
|
2
24
|
/**
|
|
3
25
|
* <p>Describes a set of DHCP options.</p>
|
|
4
26
|
*/
|
|
@@ -242,12 +264,12 @@ export interface VCpuCountRangeRequest {
|
|
|
242
264
|
/**
|
|
243
265
|
* <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
|
|
244
266
|
* identify instance types with these attributes.</p>
|
|
245
|
-
* <p>When you specify multiple
|
|
246
|
-
* specified
|
|
267
|
+
* <p>When you specify multiple attributes, you get instance types that satisfy all of the
|
|
268
|
+
* specified attributes. If you specify multiple values for an attribute, you get instance
|
|
247
269
|
* types that satisfy any of the specified values.</p>
|
|
248
270
|
* <note>
|
|
249
|
-
* <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other
|
|
250
|
-
* are optional. Any unspecified optional
|
|
271
|
+
* <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
|
|
272
|
+
* are optional. Any unspecified optional attribute is set to its default.</p>
|
|
251
273
|
* </note>
|
|
252
274
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
|
|
253
275
|
* placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
@@ -288,7 +310,8 @@ export interface InstanceRequirementsRequest {
|
|
|
288
310
|
*/
|
|
289
311
|
MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
|
|
290
312
|
/**
|
|
291
|
-
* <p>The instance types to exclude
|
|
313
|
+
* <p>The instance types to exclude.</p>
|
|
314
|
+
* <p>You can use strings with one or more wild cards, represented by
|
|
292
315
|
* an asterisk (<code>*</code>), to exclude an instance family, type, size, or generation. The
|
|
293
316
|
* following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
|
|
294
317
|
* <code>r*</code>, <code>*3*</code>.</p>
|
|
@@ -506,6 +529,12 @@ export interface InstanceRequirementsRequest {
|
|
|
506
529
|
* <li>
|
|
507
530
|
* <p>For instance types with Xilinx VU9P FPGAs, specify <code> vu9p</code>.</p>
|
|
508
531
|
* </li>
|
|
532
|
+
* <li>
|
|
533
|
+
* <p>For instance types with Amazon Web Services Inferentia GPUs, specify <code>inferentia</code>.</p>
|
|
534
|
+
* </li>
|
|
535
|
+
* <li>
|
|
536
|
+
* <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
|
|
537
|
+
* </li>
|
|
509
538
|
* </ul>
|
|
510
539
|
* <p>Default: Any accelerator</p>
|
|
511
540
|
*/
|
|
@@ -581,7 +610,7 @@ export interface FleetLaunchTemplateOverridesRequest {
|
|
|
581
610
|
/**
|
|
582
611
|
* <p>The instance type.</p>
|
|
583
612
|
* <note>
|
|
584
|
-
* <p>If you specify <code>
|
|
613
|
+
* <p>If you specify <code>InstanceType</code>, you can't specify
|
|
585
614
|
* <code>InstanceRequirements</code>.</p>
|
|
586
615
|
* </note>
|
|
587
616
|
*/
|
|
@@ -630,7 +659,7 @@ export interface FleetLaunchTemplateOverridesRequest {
|
|
|
630
659
|
* identify instance types with those attributes.</p>
|
|
631
660
|
* <note>
|
|
632
661
|
* <p>If you specify <code>InstanceRequirements</code>, you can't specify
|
|
633
|
-
* <code>
|
|
662
|
+
* <code>InstanceType</code>.</p>
|
|
634
663
|
* </note>
|
|
635
664
|
*/
|
|
636
665
|
InstanceRequirements?: InstanceRequirementsRequest;
|
|
@@ -794,11 +823,16 @@ export interface FleetSpotMaintenanceStrategiesRequest {
|
|
|
794
823
|
*/
|
|
795
824
|
export interface SpotOptionsRequest {
|
|
796
825
|
/**
|
|
797
|
-
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
798
|
-
* the EC2 Fleet
|
|
826
|
+
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
827
|
+
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
828
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
799
829
|
* <p>
|
|
800
|
-
* <code>lowest-price</code> - EC2 Fleet launches instances from
|
|
801
|
-
* the
|
|
830
|
+
* <code>lowest-price</code> - EC2 Fleet launches instances from the lowest-price Spot Instance pool that
|
|
831
|
+
* has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances
|
|
832
|
+
* come from the next cheapest pool that has available capacity. If a pool runs out of
|
|
833
|
+
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
834
|
+
* request by drawing from the next cheapest pool. To ensure that your desired capacity is
|
|
835
|
+
* met, you might receive Spot Instances from several pools.</p>
|
|
802
836
|
* <p>
|
|
803
837
|
* <code>diversified</code> - EC2 Fleet launches instances from all
|
|
804
838
|
* of the Spot Instance pools that you specify.</p>
|
|
@@ -1148,12 +1182,12 @@ export interface VCpuCountRange {
|
|
|
1148
1182
|
/**
|
|
1149
1183
|
* <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
|
|
1150
1184
|
* identify instance types with these attributes.</p>
|
|
1151
|
-
* <p>When you specify multiple
|
|
1152
|
-
* specified
|
|
1185
|
+
* <p>When you specify multiple attributes, you get instance types that satisfy all of the
|
|
1186
|
+
* specified attributes. If you specify multiple values for an attribute, you get instance
|
|
1153
1187
|
* types that satisfy any of the specified values.</p>
|
|
1154
1188
|
* <note>
|
|
1155
|
-
* <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other
|
|
1156
|
-
* are optional. Any unspecified optional
|
|
1189
|
+
* <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
|
|
1190
|
+
* are optional. Any unspecified optional attribute is set to its default.</p>
|
|
1157
1191
|
* </note>
|
|
1158
1192
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
|
|
1159
1193
|
* placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
@@ -1194,7 +1228,8 @@ export interface InstanceRequirements {
|
|
|
1194
1228
|
*/
|
|
1195
1229
|
MemoryGiBPerVCpu?: MemoryGiBPerVCpu;
|
|
1196
1230
|
/**
|
|
1197
|
-
* <p>The instance types to exclude
|
|
1231
|
+
* <p>The instance types to exclude.</p>
|
|
1232
|
+
* <p>You can use strings with one or more wild cards, represented by
|
|
1198
1233
|
* an asterisk (<code>*</code>), to exclude an instance type, size, or generation. The
|
|
1199
1234
|
* following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
|
|
1200
1235
|
* <code>r*</code>, <code>*3*</code>.</p>
|
|
@@ -1413,6 +1448,12 @@ export interface InstanceRequirements {
|
|
|
1413
1448
|
* <li>
|
|
1414
1449
|
* <p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p>
|
|
1415
1450
|
* </li>
|
|
1451
|
+
* <li>
|
|
1452
|
+
* <p>For instance types with Amazon Web Services Inferentia GPUs, specify <code>inferentia</code>.</p>
|
|
1453
|
+
* </li>
|
|
1454
|
+
* <li>
|
|
1455
|
+
* <p>For instance types with NVIDIA GRID K520 GPUs, specify <code>k520</code>.</p>
|
|
1456
|
+
* </li>
|
|
1416
1457
|
* </ul>
|
|
1417
1458
|
* <p>Default: Any accelerator</p>
|
|
1418
1459
|
*/
|
|
@@ -1439,7 +1480,7 @@ export interface FleetLaunchTemplateOverrides {
|
|
|
1439
1480
|
/**
|
|
1440
1481
|
* <p>The instance type.</p>
|
|
1441
1482
|
* <note>
|
|
1442
|
-
* <p>If you specify <code>
|
|
1483
|
+
* <p>If you specify <code>InstanceType</code>, you can't specify
|
|
1443
1484
|
* <code>InstanceRequirements</code>.</p>
|
|
1444
1485
|
* </note>
|
|
1445
1486
|
*/
|
|
@@ -1488,7 +1529,7 @@ export interface FleetLaunchTemplateOverrides {
|
|
|
1488
1529
|
* identify instance types with those attributes.</p>
|
|
1489
1530
|
* <note>
|
|
1490
1531
|
* <p>If you specify <code>InstanceRequirements</code>, you can't specify
|
|
1491
|
-
* <code>
|
|
1532
|
+
* <code>InstanceType</code>.</p>
|
|
1492
1533
|
* </note>
|
|
1493
1534
|
*/
|
|
1494
1535
|
InstanceRequirements?: InstanceRequirements;
|
|
@@ -3621,7 +3662,7 @@ export interface RequestLaunchTemplateData {
|
|
|
3621
3662
|
* <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
|
|
3622
3663
|
* identify instance types with these attributes.</p>
|
|
3623
3664
|
* <p>If you specify <code>InstanceRequirements</code>, you can't specify
|
|
3624
|
-
* <code>
|
|
3665
|
+
* <code>InstanceType</code>.</p>
|
|
3625
3666
|
*/
|
|
3626
3667
|
InstanceRequirements?: InstanceRequirementsRequest;
|
|
3627
3668
|
/**
|
|
@@ -7291,72 +7332,13 @@ export interface CreateTrafficMirrorFilterResult {
|
|
|
7291
7332
|
ClientToken?: string;
|
|
7292
7333
|
}
|
|
7293
7334
|
/**
|
|
7294
|
-
*
|
|
7335
|
+
* @internal
|
|
7295
7336
|
*/
|
|
7296
|
-
export
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
/**
|
|
7302
|
-
* <p>The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
|
|
7303
|
-
*/
|
|
7304
|
-
ToPort?: number;
|
|
7305
|
-
}
|
|
7306
|
-
export interface CreateTrafficMirrorFilterRuleRequest {
|
|
7307
|
-
/**
|
|
7308
|
-
* <p>The ID of the filter that this rule is associated with.</p>
|
|
7309
|
-
*/
|
|
7310
|
-
TrafficMirrorFilterId: string | undefined;
|
|
7311
|
-
/**
|
|
7312
|
-
* <p>The type of traffic.</p>
|
|
7313
|
-
*/
|
|
7314
|
-
TrafficDirection: TrafficDirection | string | undefined;
|
|
7315
|
-
/**
|
|
7316
|
-
* <p>The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
|
|
7317
|
-
* direction. The rules are processed in ascending order by rule number.</p>
|
|
7318
|
-
*/
|
|
7319
|
-
RuleNumber: number | undefined;
|
|
7320
|
-
/**
|
|
7321
|
-
* <p>The action to take on the filtered traffic.</p>
|
|
7322
|
-
*/
|
|
7323
|
-
RuleAction: TrafficMirrorRuleAction | string | undefined;
|
|
7324
|
-
/**
|
|
7325
|
-
* <p>The destination port range.</p>
|
|
7326
|
-
*/
|
|
7327
|
-
DestinationPortRange?: TrafficMirrorPortRangeRequest;
|
|
7328
|
-
/**
|
|
7329
|
-
* <p>The source port range.</p>
|
|
7330
|
-
*/
|
|
7331
|
-
SourcePortRange?: TrafficMirrorPortRangeRequest;
|
|
7332
|
-
/**
|
|
7333
|
-
* <p>The protocol, for example UDP, to assign to the Traffic Mirror rule.</p>
|
|
7334
|
-
* <p>For information about the protocol value, see <a href="https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a> on the Internet Assigned Numbers Authority (IANA) website.</p>
|
|
7335
|
-
*/
|
|
7336
|
-
Protocol?: number;
|
|
7337
|
-
/**
|
|
7338
|
-
* <p>The destination CIDR block to assign to the Traffic Mirror rule.</p>
|
|
7339
|
-
*/
|
|
7340
|
-
DestinationCidrBlock: string | undefined;
|
|
7341
|
-
/**
|
|
7342
|
-
* <p>The source CIDR block to assign to the Traffic Mirror rule.</p>
|
|
7343
|
-
*/
|
|
7344
|
-
SourceCidrBlock: string | undefined;
|
|
7345
|
-
/**
|
|
7346
|
-
* <p>The description of the Traffic Mirror rule.</p>
|
|
7347
|
-
*/
|
|
7348
|
-
Description?: string;
|
|
7349
|
-
/**
|
|
7350
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
7351
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
7352
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
7353
|
-
*/
|
|
7354
|
-
DryRun?: boolean;
|
|
7355
|
-
/**
|
|
7356
|
-
* <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">How to ensure idempotency</a>.</p>
|
|
7357
|
-
*/
|
|
7358
|
-
ClientToken?: string;
|
|
7359
|
-
}
|
|
7337
|
+
export declare const AttributeValueFilterSensitiveLog: (obj: AttributeValue) => any;
|
|
7338
|
+
/**
|
|
7339
|
+
* @internal
|
|
7340
|
+
*/
|
|
7341
|
+
export declare const DhcpConfigurationFilterSensitiveLog: (obj: DhcpConfiguration) => any;
|
|
7360
7342
|
/**
|
|
7361
7343
|
* @internal
|
|
7362
7344
|
*/
|
|
@@ -8269,11 +8251,3 @@ export declare const TrafficMirrorFilterFilterSensitiveLog: (obj: TrafficMirrorF
|
|
|
8269
8251
|
* @internal
|
|
8270
8252
|
*/
|
|
8271
8253
|
export declare const CreateTrafficMirrorFilterResultFilterSensitiveLog: (obj: CreateTrafficMirrorFilterResult) => any;
|
|
8272
|
-
/**
|
|
8273
|
-
* @internal
|
|
8274
|
-
*/
|
|
8275
|
-
export declare const TrafficMirrorPortRangeRequestFilterSensitiveLog: (obj: TrafficMirrorPortRangeRequest) => any;
|
|
8276
|
-
/**
|
|
8277
|
-
* @internal
|
|
8278
|
-
*/
|
|
8279
|
-
export declare const CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRuleRequest) => any;
|
|
@@ -1,5 +1,72 @@
|
|
|
1
|
-
import { AccountAttribute, AccountAttributeName, Address,
|
|
2
|
-
import { Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, SubnetCidrReservation, TrafficMirrorFilterRule, VolumeType } from "./models_1";
|
|
1
|
+
import { AccountAttribute, AccountAttributeName, Address, ApplianceModeSupportValue, ByoipCidr, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, DnsSupportValue, DynamicRoutingValue, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
|
+
import { Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, SubnetCidrReservation, TrafficDirection, TrafficMirrorFilterRule, TrafficMirrorRuleAction, VolumeType } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Information about the Traffic Mirror filter rule port range.</p>
|
|
5
|
+
*/
|
|
6
|
+
export interface TrafficMirrorPortRangeRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
|
|
9
|
+
*/
|
|
10
|
+
FromPort?: number;
|
|
11
|
+
/**
|
|
12
|
+
* <p>The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.</p>
|
|
13
|
+
*/
|
|
14
|
+
ToPort?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface CreateTrafficMirrorFilterRuleRequest {
|
|
17
|
+
/**
|
|
18
|
+
* <p>The ID of the filter that this rule is associated with.</p>
|
|
19
|
+
*/
|
|
20
|
+
TrafficMirrorFilterId: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The type of traffic.</p>
|
|
23
|
+
*/
|
|
24
|
+
TrafficDirection: TrafficDirection | string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* <p>The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
|
|
27
|
+
* direction. The rules are processed in ascending order by rule number.</p>
|
|
28
|
+
*/
|
|
29
|
+
RuleNumber: number | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The action to take on the filtered traffic.</p>
|
|
32
|
+
*/
|
|
33
|
+
RuleAction: TrafficMirrorRuleAction | string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The destination port range.</p>
|
|
36
|
+
*/
|
|
37
|
+
DestinationPortRange?: TrafficMirrorPortRangeRequest;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The source port range.</p>
|
|
40
|
+
*/
|
|
41
|
+
SourcePortRange?: TrafficMirrorPortRangeRequest;
|
|
42
|
+
/**
|
|
43
|
+
* <p>The protocol, for example UDP, to assign to the Traffic Mirror rule.</p>
|
|
44
|
+
* <p>For information about the protocol value, see <a href="https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a> on the Internet Assigned Numbers Authority (IANA) website.</p>
|
|
45
|
+
*/
|
|
46
|
+
Protocol?: number;
|
|
47
|
+
/**
|
|
48
|
+
* <p>The destination CIDR block to assign to the Traffic Mirror rule.</p>
|
|
49
|
+
*/
|
|
50
|
+
DestinationCidrBlock: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The source CIDR block to assign to the Traffic Mirror rule.</p>
|
|
53
|
+
*/
|
|
54
|
+
SourceCidrBlock: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* <p>The description of the Traffic Mirror rule.</p>
|
|
57
|
+
*/
|
|
58
|
+
Description?: string;
|
|
59
|
+
/**
|
|
60
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
61
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
62
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
63
|
+
*/
|
|
64
|
+
DryRun?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* <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">How to ensure idempotency</a>.</p>
|
|
67
|
+
*/
|
|
68
|
+
ClientToken?: string;
|
|
69
|
+
}
|
|
3
70
|
export interface CreateTrafficMirrorFilterRuleResult {
|
|
4
71
|
/**
|
|
5
72
|
* <p>The Traffic Mirror rule.</p>
|
|
@@ -4743,40 +4810,14 @@ export interface DescribeAddressesResult {
|
|
|
4743
4810
|
*/
|
|
4744
4811
|
Addresses?: Address[];
|
|
4745
4812
|
}
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
Attribute?: AddressAttributeName | string;
|
|
4755
|
-
/**
|
|
4756
|
-
* <p>The token for the next page of results.</p>
|
|
4757
|
-
*/
|
|
4758
|
-
NextToken?: string;
|
|
4759
|
-
/**
|
|
4760
|
-
* <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
4761
|
-
*/
|
|
4762
|
-
MaxResults?: number;
|
|
4763
|
-
/**
|
|
4764
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
4765
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
4766
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
4767
|
-
*/
|
|
4768
|
-
DryRun?: boolean;
|
|
4769
|
-
}
|
|
4770
|
-
export interface DescribeAddressesAttributeResult {
|
|
4771
|
-
/**
|
|
4772
|
-
* <p>Information about the IP addresses.</p>
|
|
4773
|
-
*/
|
|
4774
|
-
Addresses?: AddressAttribute[];
|
|
4775
|
-
/**
|
|
4776
|
-
* <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>
|
|
4777
|
-
*/
|
|
4778
|
-
NextToken?: string;
|
|
4779
|
-
}
|
|
4813
|
+
/**
|
|
4814
|
+
* @internal
|
|
4815
|
+
*/
|
|
4816
|
+
export declare const TrafficMirrorPortRangeRequestFilterSensitiveLog: (obj: TrafficMirrorPortRangeRequest) => any;
|
|
4817
|
+
/**
|
|
4818
|
+
* @internal
|
|
4819
|
+
*/
|
|
4820
|
+
export declare const CreateTrafficMirrorFilterRuleRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRuleRequest) => any;
|
|
4780
4821
|
/**
|
|
4781
4822
|
* @internal
|
|
4782
4823
|
*/
|
|
@@ -5793,11 +5834,3 @@ export declare const DescribeAddressesRequestFilterSensitiveLog: (obj: DescribeA
|
|
|
5793
5834
|
* @internal
|
|
5794
5835
|
*/
|
|
5795
5836
|
export declare const DescribeAddressesResultFilterSensitiveLog: (obj: DescribeAddressesResult) => any;
|
|
5796
|
-
/**
|
|
5797
|
-
* @internal
|
|
5798
|
-
*/
|
|
5799
|
-
export declare const DescribeAddressesAttributeRequestFilterSensitiveLog: (obj: DescribeAddressesAttributeRequest) => any;
|
|
5800
|
-
/**
|
|
5801
|
-
* @internal
|
|
5802
|
-
*/
|
|
5803
|
-
export declare const DescribeAddressesAttributeResultFilterSensitiveLog: (obj: DescribeAddressesAttributeResult) => any;
|
|
@@ -1,6 +1,40 @@
|
|
|
1
|
-
import { _InstanceType, ActiveInstance, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus,
|
|
2
|
-
import { BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamPool, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, NetworkInterfaceStatus, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
|
|
1
|
+
import { _InstanceType, ActiveInstance, AddressAttribute, AddressAttributeName, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CurrencyCodeValues, CustomerGateway, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostnameType, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransportProtocol } from "./models_0";
|
|
2
|
+
import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, InstanceIpv6Address, InstanceLifecycle, InternetGateway, Ipam, IpamPool, IpamScope, KeyType, LaunchTemplate, LaunchTemplateAndOverridesResponse, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, NetworkInterfaceStatus, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
|
|
3
3
|
import { Filter, FleetStateCode, InstanceTagNotificationAttribute } from "./models_2";
|
|
4
|
+
export interface DescribeAddressesAttributeRequest {
|
|
5
|
+
/**
|
|
6
|
+
* <p>[EC2-VPC] The allocation IDs.</p>
|
|
7
|
+
*/
|
|
8
|
+
AllocationIds?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* <p>The attribute of the IP address.</p>
|
|
11
|
+
*/
|
|
12
|
+
Attribute?: AddressAttributeName | string;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The token for the next page of results.</p>
|
|
15
|
+
*/
|
|
16
|
+
NextToken?: string;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
19
|
+
*/
|
|
20
|
+
MaxResults?: number;
|
|
21
|
+
/**
|
|
22
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
23
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
24
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
25
|
+
*/
|
|
26
|
+
DryRun?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface DescribeAddressesAttributeResult {
|
|
29
|
+
/**
|
|
30
|
+
* <p>Information about the IP addresses.</p>
|
|
31
|
+
*/
|
|
32
|
+
Addresses?: AddressAttribute[];
|
|
33
|
+
/**
|
|
34
|
+
* <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>
|
|
35
|
+
*/
|
|
36
|
+
NextToken?: string;
|
|
37
|
+
}
|
|
4
38
|
export interface DescribeAggregateIdFormatRequest {
|
|
5
39
|
/**
|
|
6
40
|
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
@@ -2835,10 +2869,15 @@ export interface FleetSpotMaintenanceStrategies {
|
|
|
2835
2869
|
export interface SpotOptions {
|
|
2836
2870
|
/**
|
|
2837
2871
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
2838
|
-
* pools specified by the EC2 Fleet
|
|
2872
|
+
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
2873
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
2839
2874
|
* <p>
|
|
2840
|
-
* <code>lowest-price</code> - EC2 Fleet launches instances from the Spot Instance
|
|
2841
|
-
*
|
|
2875
|
+
* <code>lowest-price</code> - EC2 Fleet launches instances from the lowest-price Spot Instance pool that
|
|
2876
|
+
* has available capacity. If the cheapest pool doesn't have available capacity, the Spot Instances
|
|
2877
|
+
* come from the next cheapest pool that has available capacity. If a pool runs out of
|
|
2878
|
+
* capacity before fulfilling your desired capacity, EC2 Fleet will continue to fulfill your
|
|
2879
|
+
* request by drawing from the next cheapest pool. To ensure that your desired capacity is
|
|
2880
|
+
* met, you might receive Spot Instances from several pools.</p>
|
|
2842
2881
|
* <p>
|
|
2843
2882
|
* <code>diversified</code> - EC2 Fleet launches instances from all of the Spot Instance pools that you
|
|
2844
2883
|
* specify.</p>
|
|
@@ -5902,13 +5941,14 @@ export interface InstanceMetadataOptionsResponse {
|
|
|
5902
5941
|
/**
|
|
5903
5942
|
* <p>The state of token usage for your instance metadata requests.</p>
|
|
5904
5943
|
* <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
|
|
5905
|
-
* with or without a
|
|
5906
|
-
*
|
|
5907
|
-
*
|
|
5908
|
-
*
|
|
5909
|
-
*
|
|
5910
|
-
*
|
|
5911
|
-
*
|
|
5944
|
+
* with or without a session token on your request. If you retrieve the IAM
|
|
5945
|
+
* role credentials without a token, the version 1.0 role credentials are returned. If you
|
|
5946
|
+
* retrieve the IAM role credentials using a valid session token, the
|
|
5947
|
+
* version 2.0 role credentials are returned.</p>
|
|
5948
|
+
* <p>If the state is <code>required</code>, you must send a session token with any instance
|
|
5949
|
+
* metadata retrieval requests. In this state, retrieving the IAM role
|
|
5950
|
+
* credentials always returns the version 2.0 credentials; the version 1.0 credentials are
|
|
5951
|
+
* not available.</p>
|
|
5912
5952
|
* <p>Default: <code>optional</code>
|
|
5913
5953
|
* </p>
|
|
5914
5954
|
*/
|
|
@@ -6472,10 +6512,6 @@ export interface Instance {
|
|
|
6472
6512
|
* <p>Describes a launch request for one or more instances, and includes owner, requester,
|
|
6473
6513
|
* and security group information that applies to all instances in the launch
|
|
6474
6514
|
* request.</p>
|
|
6475
|
-
*
|
|
6476
|
-
* <note>
|
|
6477
|
-
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
6478
|
-
* </note>
|
|
6479
6515
|
*/
|
|
6480
6516
|
export interface Reservation {
|
|
6481
6517
|
/**
|
|
@@ -8456,40 +8492,13 @@ export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest {
|
|
|
8456
8492
|
DryRun?: boolean;
|
|
8457
8493
|
}
|
|
8458
8494
|
/**
|
|
8459
|
-
*
|
|
8495
|
+
* @internal
|
|
8460
8496
|
*/
|
|
8461
|
-
export
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
/**
|
|
8467
|
-
* <p>The IDs of the virtual interfaces.</p>
|
|
8468
|
-
*/
|
|
8469
|
-
LocalGatewayVirtualInterfaceIds?: string[];
|
|
8470
|
-
/**
|
|
8471
|
-
* <p>The ID of the local gateway.</p>
|
|
8472
|
-
*/
|
|
8473
|
-
LocalGatewayId?: string;
|
|
8474
|
-
/**
|
|
8475
|
-
* <p>The ID of the Amazon Web Services account that owns the local gateway virtual interface group.</p>
|
|
8476
|
-
*/
|
|
8477
|
-
OwnerId?: string;
|
|
8478
|
-
/**
|
|
8479
|
-
* <p>The tags assigned to the virtual interface group.</p>
|
|
8480
|
-
*/
|
|
8481
|
-
Tags?: Tag[];
|
|
8482
|
-
}
|
|
8483
|
-
export interface DescribeLocalGatewayVirtualInterfaceGroupsResult {
|
|
8484
|
-
/**
|
|
8485
|
-
* <p>The virtual interface groups.</p>
|
|
8486
|
-
*/
|
|
8487
|
-
LocalGatewayVirtualInterfaceGroups?: LocalGatewayVirtualInterfaceGroup[];
|
|
8488
|
-
/**
|
|
8489
|
-
* <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>
|
|
8490
|
-
*/
|
|
8491
|
-
NextToken?: string;
|
|
8492
|
-
}
|
|
8497
|
+
export declare const DescribeAddressesAttributeRequestFilterSensitiveLog: (obj: DescribeAddressesAttributeRequest) => any;
|
|
8498
|
+
/**
|
|
8499
|
+
* @internal
|
|
8500
|
+
*/
|
|
8501
|
+
export declare const DescribeAddressesAttributeResultFilterSensitiveLog: (obj: DescribeAddressesAttributeResult) => any;
|
|
8493
8502
|
/**
|
|
8494
8503
|
* @internal
|
|
8495
8504
|
*/
|
|
@@ -9454,11 +9463,3 @@ export declare const DescribeLocalGatewaysResultFilterSensitiveLog: (obj: Descri
|
|
|
9454
9463
|
* @internal
|
|
9455
9464
|
*/
|
|
9456
9465
|
export declare const DescribeLocalGatewayVirtualInterfaceGroupsRequestFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfaceGroupsRequest) => any;
|
|
9457
|
-
/**
|
|
9458
|
-
* @internal
|
|
9459
|
-
*/
|
|
9460
|
-
export declare const LocalGatewayVirtualInterfaceGroupFilterSensitiveLog: (obj: LocalGatewayVirtualInterfaceGroup) => any;
|
|
9461
|
-
/**
|
|
9462
|
-
* @internal
|
|
9463
|
-
*/
|
|
9464
|
-
export declare const DescribeLocalGatewayVirtualInterfaceGroupsResultFilterSensitiveLog: (obj: DescribeLocalGatewayVirtualInterfaceGroupsResult) => any;
|