@aws-sdk/client-ec2 3.202.0 → 3.205.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 (113) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/EC2.js +15 -0
  3. package/dist-cjs/commands/CancelImageLaunchPermissionCommand.js +46 -0
  4. package/dist-cjs/commands/CreateDefaultSubnetCommand.js +2 -1
  5. package/dist-cjs/commands/CreateSubnetCidrReservationCommand.js +2 -1
  6. package/dist-cjs/commands/CreateTagsCommand.js +2 -2
  7. package/dist-cjs/commands/CreateTrafficMirrorFilterCommand.js +1 -2
  8. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +3 -3
  9. package/dist-cjs/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeLaunchTemplateVersionsCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeLaunchTemplatesCommand.js +3 -3
  12. package/dist-cjs/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
  13. package/dist-cjs/commands/DisassociateTrunkInterfaceCommand.js +3 -3
  14. package/dist-cjs/commands/DisassociateVpcCidrBlockCommand.js +1 -2
  15. package/dist-cjs/commands/ModifyVpcPeeringConnectionOptionsCommand.js +3 -3
  16. package/dist-cjs/commands/index.js +1 -0
  17. package/dist-cjs/models/models_0.js +10 -10
  18. package/dist-cjs/models/models_1.js +21 -21
  19. package/dist-cjs/models/models_2.js +22 -22
  20. package/dist-cjs/models/models_3.js +21 -21
  21. package/dist-cjs/models/models_4.js +22 -22
  22. package/dist-cjs/models/models_5.js +22 -22
  23. package/dist-cjs/models/models_6.js +20 -4
  24. package/dist-cjs/protocols/Aws_ec2.js +179 -22
  25. package/dist-cjs/runtimeConfig.browser.js +0 -3
  26. package/dist-cjs/runtimeConfig.js +0 -3
  27. package/dist-cjs/runtimeConfig.shared.js +3 -0
  28. package/dist-es/EC2.js +15 -0
  29. package/dist-es/commands/CancelImageLaunchPermissionCommand.js +42 -0
  30. package/dist-es/commands/CreateDefaultSubnetCommand.js +2 -1
  31. package/dist-es/commands/CreateSubnetCidrReservationCommand.js +2 -1
  32. package/dist-es/commands/CreateTagsCommand.js +1 -1
  33. package/dist-es/commands/CreateTrafficMirrorFilterCommand.js +1 -2
  34. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.js +1 -1
  35. package/dist-es/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.js +1 -2
  36. package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
  37. package/dist-es/commands/DescribeLaunchTemplatesCommand.js +1 -1
  38. package/dist-es/commands/DisassociateTransitGatewayRouteTableCommand.js +2 -1
  39. package/dist-es/commands/DisassociateTrunkInterfaceCommand.js +1 -1
  40. package/dist-es/commands/DisassociateVpcCidrBlockCommand.js +1 -2
  41. package/dist-es/commands/ModifyVpcPeeringConnectionOptionsCommand.js +1 -1
  42. package/dist-es/commands/index.js +1 -0
  43. package/dist-es/models/models_0.js +6 -6
  44. package/dist-es/models/models_1.js +12 -12
  45. package/dist-es/models/models_2.js +12 -12
  46. package/dist-es/models/models_3.js +12 -12
  47. package/dist-es/models/models_4.js +12 -12
  48. package/dist-es/models/models_5.js +12 -13
  49. package/dist-es/models/models_6.js +13 -0
  50. package/dist-es/protocols/Aws_ec2.js +155 -0
  51. package/dist-es/runtimeConfig.browser.js +0 -3
  52. package/dist-es/runtimeConfig.js +0 -3
  53. package/dist-es/runtimeConfig.shared.js +3 -0
  54. package/dist-types/EC2.d.ts +17 -7
  55. package/dist-types/EC2Client.d.ts +3 -2
  56. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +39 -0
  57. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
  58. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +3 -3
  59. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +2 -1
  60. package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -2
  62. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
  63. package/dist-types/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -2
  64. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  65. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +1 -1
  67. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -1
  68. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -1
  69. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  70. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -2
  71. package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  72. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  73. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -0
  74. package/dist-types/commands/index.d.ts +1 -0
  75. package/dist-types/models/models_0.d.ts +26 -112
  76. package/dist-types/models/models_1.d.ts +247 -101
  77. package/dist-types/models/models_2.d.ts +96 -79
  78. package/dist-types/models/models_3.d.ts +80 -217
  79. package/dist-types/models/models_4.d.ts +230 -72
  80. package/dist-types/models/models_5.d.ts +61 -71
  81. package/dist-types/models/models_6.d.ts +70 -2
  82. package/dist-types/protocols/Aws_ec2.d.ts +3 -0
  83. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  84. package/dist-types/runtimeConfig.d.ts +2 -2
  85. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  86. package/dist-types/ts3.4/EC2.d.ts +17 -0
  87. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  88. package/dist-types/ts3.4/commands/CancelImageLaunchPermissionCommand.d.ts +41 -0
  89. package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
  90. package/dist-types/ts3.4/commands/CreateSubnetCidrReservationCommand.d.ts +2 -4
  91. package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/CreateTrafficMirrorFilterCommand.d.ts +4 -2
  93. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.d.ts +4 -2
  95. package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +2 -4
  98. package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +4 -2
  100. package/dist-types/ts3.4/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +13 -30
  103. package/dist-types/ts3.4/models/models_1.d.ts +51 -36
  104. package/dist-types/ts3.4/models/models_2.d.ts +36 -33
  105. package/dist-types/ts3.4/models/models_3.d.ts +32 -41
  106. package/dist-types/ts3.4/models/models_4.d.ts +42 -29
  107. package/dist-types/ts3.4/models/models_5.d.ts +29 -28
  108. package/dist-types/ts3.4/models/models_6.d.ts +28 -1
  109. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  110. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  111. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  113. package/package.json +5 -4
@@ -1,4 +1,108 @@
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, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
1
+ import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CurrencyCodeValues, HostnameType, InstanceEventWindow, Ipv4PrefixSpecification, PortRange, PrivateDnsNameOptionsOnLaunch, Protocol, ReservedInstancesListing, ResourceType, RouteTableAssociationState, SubnetIpv6CidrBlockAssociation, SubnetState, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
+ /**
3
+ * <p>Describes a subnet.</p>
4
+ */
5
+ export interface Subnet {
6
+ /**
7
+ * <p>The Availability Zone of the subnet.</p>
8
+ */
9
+ AvailabilityZone?: string;
10
+ /**
11
+ * <p>The AZ ID of the subnet.</p>
12
+ */
13
+ AvailabilityZoneId?: string;
14
+ /**
15
+ * <p>The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any
16
+ * stopped instances are considered unavailable.</p>
17
+ */
18
+ AvailableIpAddressCount?: number;
19
+ /**
20
+ * <p>The IPv4 CIDR block assigned to the subnet.</p>
21
+ */
22
+ CidrBlock?: string;
23
+ /**
24
+ * <p>Indicates whether this is the default subnet for the Availability Zone.</p>
25
+ */
26
+ DefaultForAz?: boolean;
27
+ /**
28
+ * <p>
29
+ * Indicates the device position for local network interfaces in this subnet. For example,
30
+ * <code>1</code> indicates local network interfaces in this subnet are the secondary
31
+ * network interface (eth1).
32
+ * </p>
33
+ */
34
+ EnableLniAtDeviceIndex?: number;
35
+ /**
36
+ * <p>Indicates whether instances launched in this subnet receive a public IPv4 address.</p>
37
+ */
38
+ MapPublicIpOnLaunch?: boolean;
39
+ /**
40
+ * <p>Indicates whether a network interface created in this subnet (including a network
41
+ * interface created by <a>RunInstances</a>) receives a customer-owned IPv4 address.</p>
42
+ */
43
+ MapCustomerOwnedIpOnLaunch?: boolean;
44
+ /**
45
+ * <p>The customer-owned IPv4 address pool associated with the subnet.</p>
46
+ */
47
+ CustomerOwnedIpv4Pool?: string;
48
+ /**
49
+ * <p>The current state of the subnet.</p>
50
+ */
51
+ State?: SubnetState | string;
52
+ /**
53
+ * <p>The ID of the subnet.</p>
54
+ */
55
+ SubnetId?: string;
56
+ /**
57
+ * <p>The ID of the VPC the subnet is in.</p>
58
+ */
59
+ VpcId?: string;
60
+ /**
61
+ * <p>The ID of the Amazon Web Services account that owns the subnet.</p>
62
+ */
63
+ OwnerId?: string;
64
+ /**
65
+ * <p>Indicates whether a network interface created in this subnet (including a network
66
+ * interface created by <a>RunInstances</a>) receives an IPv6 address.</p>
67
+ */
68
+ AssignIpv6AddressOnCreation?: boolean;
69
+ /**
70
+ * <p>Information about the IPv6 CIDR blocks associated with the subnet.</p>
71
+ */
72
+ Ipv6CidrBlockAssociationSet?: SubnetIpv6CidrBlockAssociation[];
73
+ /**
74
+ * <p>Any tags assigned to the subnet.</p>
75
+ */
76
+ Tags?: Tag[];
77
+ /**
78
+ * <p>The Amazon Resource Name (ARN) of the subnet.</p>
79
+ */
80
+ SubnetArn?: string;
81
+ /**
82
+ * <p>The Amazon Resource Name (ARN) of the Outpost.</p>
83
+ */
84
+ OutpostArn?: string;
85
+ /**
86
+ * <p>Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet
87
+ * should return synthetic IPv6 addresses for IPv4-only destinations.</p>
88
+ */
89
+ EnableDns64?: boolean;
90
+ /**
91
+ * <p>Indicates whether this is an IPv6 only subnet.</p>
92
+ */
93
+ Ipv6Native?: boolean;
94
+ /**
95
+ * <p>The type of hostnames to assign to instances in the subnet at launch. An instance hostname
96
+ * is based on the IPv4 address or ID of the instance.</p>
97
+ */
98
+ PrivateDnsNameOptionsOnLaunch?: PrivateDnsNameOptionsOnLaunch;
99
+ }
100
+ export interface CreateDefaultSubnetResult {
101
+ /**
102
+ * <p>Information about the subnet.</p>
103
+ */
104
+ Subnet?: Subnet;
105
+ }
2
106
  export interface CreateDefaultVpcRequest {
3
107
  /**
4
108
  * <p>Checks whether you have the required permissions for the action, without actually making the request,
@@ -315,6 +419,28 @@ export interface MemoryMiBRequest {
315
419
  */
316
420
  Max?: number;
317
421
  }
422
+ /**
423
+ * <p>The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
424
+ * <note>
425
+ * <p>Setting the minimum bandwidth does not guarantee that your instance will achieve the
426
+ * minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum
427
+ * bandwidth, but the actual bandwidth of your instance might go below the specified minimum
428
+ * at times. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth">Available instance bandwidth</a> in the
429
+ * <i>Amazon EC2 User Guide</i>.</p>
430
+ * </note>
431
+ */
432
+ export interface NetworkBandwidthGbpsRequest {
433
+ /**
434
+ * <p>The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this
435
+ * parameter.</p>
436
+ */
437
+ Min?: number;
438
+ /**
439
+ * <p>The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this
440
+ * parameter.</p>
441
+ */
442
+ Max?: number;
443
+ }
318
444
  /**
319
445
  * <p>The minimum and maximum number of network interfaces.</p>
320
446
  */
@@ -360,16 +486,30 @@ export interface VCpuCountRangeRequest {
360
486
  }
361
487
  /**
362
488
  * <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
363
- * identify instance types with these attributes.</p>
489
+ * identify instance types with these attributes.</p>
364
490
  * <p>When you specify multiple attributes, you get instance types that satisfy all of the
365
491
  * specified attributes. If you specify multiple values for an attribute, you get instance
366
492
  * types that satisfy any of the specified values.</p>
493
+ * <p>To limit the list of instance types from which Amazon EC2 can identify matching instance types,
494
+ * you can use one of the following parameters, but not both in the same request:</p>
495
+ * <ul>
496
+ * <li>
497
+ * <p>
498
+ * <code>AllowedInstanceTypes</code> - The instance types to include in the list. All
499
+ * other instance types are ignored, even if they match your specified attributes.</p>
500
+ * </li>
501
+ * <li>
502
+ * <p>
503
+ * <code>ExcludedInstanceTypes</code> - The instance types to exclude from the list,
504
+ * even if they match your specified attributes.</p>
505
+ * </li>
506
+ * </ul>
367
507
  * <note>
368
508
  * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
369
509
  * are optional. Any unspecified optional attribute is set to its default.</p>
370
510
  * </note>
371
511
  * <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
372
- * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
512
+ * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
373
513
  */
374
514
  export interface InstanceRequirementsRequest {
375
515
  /**
@@ -416,6 +556,9 @@ export interface InstanceRequirementsRequest {
416
556
  * family, which includes all C5a and C5n instance types. If you specify
417
557
  * <code>m5a.*</code>, Amazon EC2 will exclude all the M5a instance types, but not the M5n
418
558
  * instance types.</p>
559
+ * <note>
560
+ * <p>If you specify <code>ExcludedInstanceTypes</code>, you can't specify <code>AllowedInstanceTypes</code>.</p>
561
+ * </note>
419
562
  * <p>Default: No excluded instance types</p>
420
563
  */
421
564
  ExcludedInstanceTypes?: string[];
@@ -641,6 +784,28 @@ export interface InstanceRequirementsRequest {
641
784
  * <p>Default: No minimum or maximum limits</p>
642
785
  */
643
786
  AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
787
+ /**
788
+ * <p>The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
789
+ * <p>Default: No minimum or maximum limits</p>
790
+ */
791
+ NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
792
+ /**
793
+ * <p>The instance types to apply your specified attributes against. All other instance types
794
+ * are ignored, even if they match your specified attributes.</p>
795
+ * <p>You can use strings with one or more wild cards, represented by
796
+ * an asterisk (<code>*</code>), to allow an instance type, size, or generation. The
797
+ * following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
798
+ * <code>r*</code>, <code>*3*</code>.</p>
799
+ * <p>For example, if you specify <code>c5*</code>,Amazon EC2 will allow the entire C5 instance
800
+ * family, which includes all C5a and C5n instance types. If you specify
801
+ * <code>m5a.*</code>, Amazon EC2 will allow all the M5a instance types, but not the M5n
802
+ * instance types.</p>
803
+ * <note>
804
+ * <p>If you specify <code>AllowedInstanceTypes</code>, you can't specify <code>ExcludedInstanceTypes</code>.</p>
805
+ * </note>
806
+ * <p>Default: All instance types</p>
807
+ */
808
+ AllowedInstanceTypes?: string[];
644
809
  }
645
810
  /**
646
811
  * <p>Describes the placement of an instance.</p>
@@ -1164,7 +1329,7 @@ export interface CreateFleetRequest {
1164
1329
  * a Spot Fleet to configure Amazon EC2 instances. You must specify either the ID or name of the launch template in the request, but not both.</p>
1165
1330
  * <p>For information about launch templates,
1166
1331
  * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launch an instance from a launch template</a> in the
1167
- * <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
1332
+ * <i>Amazon EC2 User Guide</i>.</p>
1168
1333
  */
1169
1334
  export interface FleetLaunchTemplateSpecification {
1170
1335
  /**
@@ -1235,6 +1400,28 @@ export interface MemoryMiB {
1235
1400
  */
1236
1401
  Max?: number;
1237
1402
  }
1403
+ /**
1404
+ * <p>The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
1405
+ * <note>
1406
+ * <p>Setting the minimum bandwidth does not guarantee that your instance will achieve the
1407
+ * minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum
1408
+ * bandwidth, but the actual bandwidth of your instance might go below the specified minimum
1409
+ * at times. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth">Available instance bandwidth</a> in the
1410
+ * <i>Amazon EC2 User Guide</i>.</p>
1411
+ * </note>
1412
+ */
1413
+ export interface NetworkBandwidthGbps {
1414
+ /**
1415
+ * <p>The minimum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no minimum
1416
+ * limit.</p>
1417
+ */
1418
+ Min?: number;
1419
+ /**
1420
+ * <p>The maximum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no
1421
+ * maximum limit.</p>
1422
+ */
1423
+ Max?: number;
1424
+ }
1238
1425
  /**
1239
1426
  * <p>The minimum and maximum number of network interfaces.</p>
1240
1427
  */
@@ -1286,12 +1473,26 @@ export interface VCpuCountRange {
1286
1473
  * <p>When you specify multiple attributes, you get instance types that satisfy all of the
1287
1474
  * specified attributes. If you specify multiple values for an attribute, you get instance
1288
1475
  * types that satisfy any of the specified values.</p>
1476
+ * <p>To limit the list of instance types from which Amazon EC2 can identify matching instance types,
1477
+ * you can use one of the following parameters, but not both in the same request:</p>
1478
+ * <ul>
1479
+ * <li>
1480
+ * <p>
1481
+ * <code>AllowedInstanceTypes</code> - The instance types to include in the list. All
1482
+ * other instance types are ignored, even if they match your specified attributes.</p>
1483
+ * </li>
1484
+ * <li>
1485
+ * <p>
1486
+ * <code>ExcludedInstanceTypes</code> - The instance types to exclude from the list,
1487
+ * even if they match your specified attributes.</p>
1488
+ * </li>
1489
+ * </ul>
1289
1490
  * <note>
1290
1491
  * <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
1291
1492
  * are optional. Any unspecified optional attribute is set to its default.</p>
1292
1493
  * </note>
1293
1494
  * <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
1294
- * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
1495
+ * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
1295
1496
  */
1296
1497
  export interface InstanceRequirements {
1297
1498
  /**
@@ -1338,6 +1539,9 @@ export interface InstanceRequirements {
1338
1539
  * family, which includes all C5a and C5n instance types. If you specify
1339
1540
  * <code>m5a.*</code>, Amazon EC2 will exclude all the M5a instance types, but not the M5n
1340
1541
  * instance types.</p>
1542
+ * <note>
1543
+ * <p>If you specify <code>ExcludedInstanceTypes</code>, you can't specify <code>AllowedInstanceTypes</code>.</p>
1544
+ * </note>
1341
1545
  * <p>Default: No excluded instance types</p>
1342
1546
  */
1343
1547
  ExcludedInstanceTypes?: string[];
@@ -1564,6 +1768,28 @@ export interface InstanceRequirements {
1564
1768
  * <p>Default: No minimum or maximum limits</p>
1565
1769
  */
1566
1770
  AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiB;
1771
+ /**
1772
+ * <p>The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
1773
+ * <p>Default: No minimum or maximum limits</p>
1774
+ */
1775
+ NetworkBandwidthGbps?: NetworkBandwidthGbps;
1776
+ /**
1777
+ * <p>The instance types to apply your specified attributes against. All other instance types
1778
+ * are ignored, even if they match your specified attributes.</p>
1779
+ * <p>You can use strings with one or more wild cards, represented by
1780
+ * an asterisk (<code>*</code>), to allow an instance type, size, or generation. The
1781
+ * following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
1782
+ * <code>r*</code>, <code>*3*</code>.</p>
1783
+ * <p>For example, if you specify <code>c5*</code>,Amazon EC2 will allow the entire C5 instance
1784
+ * family, which includes all C5a and C5n instance types. If you specify
1785
+ * <code>m5a.*</code>, Amazon EC2 will allow all the M5a instance types, but not the M5n
1786
+ * instance types.</p>
1787
+ * <note>
1788
+ * <p>If you specify <code>AllowedInstanceTypes</code>, you can't specify <code>ExcludedInstanceTypes</code>.</p>
1789
+ * </note>
1790
+ * <p>Default: All instance types</p>
1791
+ */
1792
+ AllowedInstanceTypes?: string[];
1567
1793
  }
1568
1794
  /**
1569
1795
  * <p>Describes the placement of an instance.</p>
@@ -6229,7 +6455,7 @@ export interface PlacementGroup {
6229
6455
  }
6230
6456
  export interface CreatePlacementGroupResult {
6231
6457
  /**
6232
- * <p>Describes a placement group.</p>
6458
+ * <p>Information about the placement group.</p>
6233
6459
  */
6234
6460
  PlacementGroup?: PlacementGroup;
6235
6461
  }
@@ -7071,7 +7297,7 @@ export interface CreateSpotDatafeedSubscriptionRequest {
7071
7297
  * <p>Checks whether you have the required permissions for the action, without actually
7072
7298
  * making the request, and provides an error response. If you have the required
7073
7299
  * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
7074
- * <code>UnauthorizedOperation</code>.</p>
7300
+ * <code>UnauthorizedOperation</code>.</p>
7075
7301
  */
7076
7302
  DryRun?: boolean;
7077
7303
  /**
@@ -7290,85 +7516,13 @@ export interface CreateSubnetCidrReservationRequest {
7290
7516
  TagSpecifications?: TagSpecification[];
7291
7517
  }
7292
7518
  /**
7293
- * <p>Describes a subnet CIDR reservation.</p>
7519
+ * @internal
7294
7520
  */
7295
- export interface SubnetCidrReservation {
7296
- /**
7297
- * <p>The ID of the subnet CIDR reservation.</p>
7298
- */
7299
- SubnetCidrReservationId?: string;
7300
- /**
7301
- * <p>The ID of the subnet.</p>
7302
- */
7303
- SubnetId?: string;
7304
- /**
7305
- * <p>The CIDR that has been reserved.</p>
7306
- */
7307
- Cidr?: string;
7308
- /**
7309
- * <p>The type of reservation. </p>
7310
- */
7311
- ReservationType?: SubnetCidrReservationType | string;
7312
- /**
7313
- * <p>The ID of the account that owns the subnet CIDR reservation. </p>
7314
- */
7315
- OwnerId?: string;
7316
- /**
7317
- * <p>The
7318
- * description
7319
- * assigned to the subnet CIDR
7320
- * reservation.</p>
7321
- */
7322
- Description?: string;
7323
- /**
7324
- * <p>The tags assigned to the subnet CIDR reservation.</p>
7325
- */
7326
- Tags?: Tag[];
7327
- }
7328
- export interface CreateSubnetCidrReservationResult {
7329
- /**
7330
- * <p>Information about the created subnet CIDR reservation.</p>
7331
- */
7332
- SubnetCidrReservation?: SubnetCidrReservation;
7333
- }
7334
- export interface CreateTagsRequest {
7335
- /**
7336
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7337
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7338
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7339
- */
7340
- DryRun?: boolean;
7341
- /**
7342
- * <p>The IDs of the resources, separated by spaces.</p>
7343
- * <p>Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.</p>
7344
- */
7345
- Resources: string[] | undefined;
7346
- /**
7347
- * <p>The tags. The <code>value</code> parameter is required, but if you don't want the tag to have a value,
7348
- * specify the parameter with no value, and we set the value to an empty string.</p>
7349
- */
7350
- Tags: Tag[] | undefined;
7351
- }
7352
- export interface CreateTrafficMirrorFilterRequest {
7353
- /**
7354
- * <p>The description of the Traffic Mirror filter.</p>
7355
- */
7356
- Description?: string;
7357
- /**
7358
- * <p>The tags to assign to a Traffic Mirror filter.</p>
7359
- */
7360
- TagSpecifications?: TagSpecification[];
7361
- /**
7362
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7363
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7364
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7365
- */
7366
- DryRun?: boolean;
7367
- /**
7368
- * <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>
7369
- */
7370
- ClientToken?: string;
7371
- }
7521
+ export declare const SubnetFilterSensitiveLog: (obj: Subnet) => any;
7522
+ /**
7523
+ * @internal
7524
+ */
7525
+ export declare const CreateDefaultSubnetResultFilterSensitiveLog: (obj: CreateDefaultSubnetResult) => any;
7372
7526
  /**
7373
7527
  * @internal
7374
7528
  */
@@ -7437,6 +7591,10 @@ export declare const MemoryGiBPerVCpuRequestFilterSensitiveLog: (obj: MemoryGiBP
7437
7591
  * @internal
7438
7592
  */
7439
7593
  export declare const MemoryMiBRequestFilterSensitiveLog: (obj: MemoryMiBRequest) => any;
7594
+ /**
7595
+ * @internal
7596
+ */
7597
+ export declare const NetworkBandwidthGbpsRequestFilterSensitiveLog: (obj: NetworkBandwidthGbpsRequest) => any;
7440
7598
  /**
7441
7599
  * @internal
7442
7600
  */
@@ -7509,6 +7667,10 @@ export declare const MemoryGiBPerVCpuFilterSensitiveLog: (obj: MemoryGiBPerVCpu)
7509
7667
  * @internal
7510
7668
  */
7511
7669
  export declare const MemoryMiBFilterSensitiveLog: (obj: MemoryMiB) => any;
7670
+ /**
7671
+ * @internal
7672
+ */
7673
+ export declare const NetworkBandwidthGbpsFilterSensitiveLog: (obj: NetworkBandwidthGbps) => any;
7512
7674
  /**
7513
7675
  * @internal
7514
7676
  */
@@ -8277,19 +8439,3 @@ export declare const CreateSubnetResultFilterSensitiveLog: (obj: CreateSubnetRes
8277
8439
  * @internal
8278
8440
  */
8279
8441
  export declare const CreateSubnetCidrReservationRequestFilterSensitiveLog: (obj: CreateSubnetCidrReservationRequest) => any;
8280
- /**
8281
- * @internal
8282
- */
8283
- export declare const SubnetCidrReservationFilterSensitiveLog: (obj: SubnetCidrReservation) => any;
8284
- /**
8285
- * @internal
8286
- */
8287
- export declare const CreateSubnetCidrReservationResultFilterSensitiveLog: (obj: CreateSubnetCidrReservationResult) => any;
8288
- /**
8289
- * @internal
8290
- */
8291
- export declare const CreateTagsRequestFilterSensitiveLog: (obj: CreateTagsRequest) => any;
8292
- /**
8293
- * @internal
8294
- */
8295
- export declare const CreateTrafficMirrorFilterRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRequest) => any;
@@ -1,5 +1,85 @@
1
1
  import { ApplianceModeSupportValue, ByoipCidr, CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, DnsSupportValue, DynamicRoutingValue, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, SubnetCidrReservation, Tenancy, VolumeType, Vpc } from "./models_1";
2
+ import { Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, SubnetCidrReservationType, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * <p>Describes a subnet CIDR reservation.</p>
5
+ */
6
+ export interface SubnetCidrReservation {
7
+ /**
8
+ * <p>The ID of the subnet CIDR reservation.</p>
9
+ */
10
+ SubnetCidrReservationId?: string;
11
+ /**
12
+ * <p>The ID of the subnet.</p>
13
+ */
14
+ SubnetId?: string;
15
+ /**
16
+ * <p>The CIDR that has been reserved.</p>
17
+ */
18
+ Cidr?: string;
19
+ /**
20
+ * <p>The type of reservation. </p>
21
+ */
22
+ ReservationType?: SubnetCidrReservationType | string;
23
+ /**
24
+ * <p>The ID of the account that owns the subnet CIDR reservation. </p>
25
+ */
26
+ OwnerId?: string;
27
+ /**
28
+ * <p>The
29
+ * description
30
+ * assigned to the subnet CIDR
31
+ * reservation.</p>
32
+ */
33
+ Description?: string;
34
+ /**
35
+ * <p>The tags assigned to the subnet CIDR reservation.</p>
36
+ */
37
+ Tags?: Tag[];
38
+ }
39
+ export interface CreateSubnetCidrReservationResult {
40
+ /**
41
+ * <p>Information about the created subnet CIDR reservation.</p>
42
+ */
43
+ SubnetCidrReservation?: SubnetCidrReservation;
44
+ }
45
+ export interface CreateTagsRequest {
46
+ /**
47
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
48
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
49
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
50
+ */
51
+ DryRun?: boolean;
52
+ /**
53
+ * <p>The IDs of the resources, separated by spaces.</p>
54
+ * <p>Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.</p>
55
+ */
56
+ Resources: string[] | undefined;
57
+ /**
58
+ * <p>The tags. The <code>value</code> parameter is required, but if you don't want the tag to have a value,
59
+ * specify the parameter with no value, and we set the value to an empty string.</p>
60
+ */
61
+ Tags: Tag[] | undefined;
62
+ }
63
+ export interface CreateTrafficMirrorFilterRequest {
64
+ /**
65
+ * <p>The description of the Traffic Mirror filter.</p>
66
+ */
67
+ Description?: string;
68
+ /**
69
+ * <p>The tags to assign to a Traffic Mirror filter.</p>
70
+ */
71
+ TagSpecifications?: TagSpecification[];
72
+ /**
73
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
74
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
75
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
76
+ */
77
+ DryRun?: boolean;
78
+ /**
79
+ * <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>
80
+ */
81
+ ClientToken?: string;
82
+ }
3
83
  /**
4
84
  * <p>Describes the Traffic Mirror port range.</p>
5
85
  */
@@ -4067,7 +4147,7 @@ export interface DeleteSpotDatafeedSubscriptionRequest {
4067
4147
  * <p>Checks whether you have the required permissions for the action, without actually
4068
4148
  * making the request, and provides an error response. If you have the required
4069
4149
  * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
4070
- * <code>UnauthorizedOperation</code>.</p>
4150
+ * <code>UnauthorizedOperation</code>.</p>
4071
4151
  */
4072
4152
  DryRun?: boolean;
4073
4153
  }
@@ -4726,69 +4806,22 @@ export interface DeregisterInstanceEventNotificationAttributesResult {
4726
4806
  */
4727
4807
  InstanceTagAttribute?: InstanceTagNotificationAttribute;
4728
4808
  }
4729
- export interface DeregisterTransitGatewayMulticastGroupMembersRequest {
4730
- /**
4731
- * <p>The ID of the transit gateway multicast domain.</p>
4732
- */
4733
- TransitGatewayMulticastDomainId?: string;
4734
- /**
4735
- * <p>The IP address assigned to the transit gateway multicast group.</p>
4736
- */
4737
- GroupIpAddress?: string;
4738
- /**
4739
- * <p>The IDs of the group members' network interfaces.</p>
4740
- */
4741
- NetworkInterfaceIds?: string[];
4742
- /**
4743
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4744
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4745
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4746
- */
4747
- DryRun?: boolean;
4748
- }
4749
4809
  /**
4750
- * <p>Describes the deregistered transit gateway multicast group members.</p>
4810
+ * @internal
4751
4811
  */
4752
- export interface TransitGatewayMulticastDeregisteredGroupMembers {
4753
- /**
4754
- * <p>The ID of the transit gateway multicast domain.</p>
4755
- */
4756
- TransitGatewayMulticastDomainId?: string;
4757
- /**
4758
- * <p>The network interface IDs of the deregistered members.</p>
4759
- */
4760
- DeregisteredNetworkInterfaceIds?: string[];
4761
- /**
4762
- * <p>The IP address assigned to the transit gateway multicast group.</p>
4763
- */
4764
- GroupIpAddress?: string;
4765
- }
4766
- export interface DeregisterTransitGatewayMulticastGroupMembersResult {
4767
- /**
4768
- * <p>Information about the deregistered members.</p>
4769
- */
4770
- DeregisteredMulticastGroupMembers?: TransitGatewayMulticastDeregisteredGroupMembers;
4771
- }
4772
- export interface DeregisterTransitGatewayMulticastGroupSourcesRequest {
4773
- /**
4774
- * <p>The ID of the transit gateway multicast domain.</p>
4775
- */
4776
- TransitGatewayMulticastDomainId?: string;
4777
- /**
4778
- * <p>The IP address assigned to the transit gateway multicast group.</p>
4779
- */
4780
- GroupIpAddress?: string;
4781
- /**
4782
- * <p>The IDs of the group sources' network interfaces.</p>
4783
- */
4784
- NetworkInterfaceIds?: string[];
4785
- /**
4786
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
4787
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4788
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4789
- */
4790
- DryRun?: boolean;
4791
- }
4812
+ export declare const SubnetCidrReservationFilterSensitiveLog: (obj: SubnetCidrReservation) => any;
4813
+ /**
4814
+ * @internal
4815
+ */
4816
+ export declare const CreateSubnetCidrReservationResultFilterSensitiveLog: (obj: CreateSubnetCidrReservationResult) => any;
4817
+ /**
4818
+ * @internal
4819
+ */
4820
+ export declare const CreateTagsRequestFilterSensitiveLog: (obj: CreateTagsRequest) => any;
4821
+ /**
4822
+ * @internal
4823
+ */
4824
+ export declare const CreateTrafficMirrorFilterRequestFilterSensitiveLog: (obj: CreateTrafficMirrorFilterRequest) => any;
4792
4825
  /**
4793
4826
  * @internal
4794
4827
  */
@@ -5785,19 +5818,3 @@ export declare const InstanceTagNotificationAttributeFilterSensitiveLog: (obj: I
5785
5818
  * @internal
5786
5819
  */
5787
5820
  export declare const DeregisterInstanceEventNotificationAttributesResultFilterSensitiveLog: (obj: DeregisterInstanceEventNotificationAttributesResult) => any;
5788
- /**
5789
- * @internal
5790
- */
5791
- export declare const DeregisterTransitGatewayMulticastGroupMembersRequestFilterSensitiveLog: (obj: DeregisterTransitGatewayMulticastGroupMembersRequest) => any;
5792
- /**
5793
- * @internal
5794
- */
5795
- export declare const TransitGatewayMulticastDeregisteredGroupMembersFilterSensitiveLog: (obj: TransitGatewayMulticastDeregisteredGroupMembers) => any;
5796
- /**
5797
- * @internal
5798
- */
5799
- export declare const DeregisterTransitGatewayMulticastGroupMembersResultFilterSensitiveLog: (obj: DeregisterTransitGatewayMulticastGroupMembersResult) => any;
5800
- /**
5801
- * @internal
5802
- */
5803
- export declare const DeregisterTransitGatewayMulticastGroupSourcesRequestFilterSensitiveLog: (obj: DeregisterTransitGatewayMulticastGroupSourcesRequest) => any;