@aws-sdk/client-ec2 3.696.0 → 3.698.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 (160) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +741 -123
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/DescribeCapacityBlockExtensionHistoryCommand.js +22 -0
  5. package/dist-es/commands/DescribeCapacityBlockExtensionOfferingsCommand.js +22 -0
  6. package/dist-es/commands/PurchaseCapacityBlockExtensionCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +4 -14
  9. package/dist-es/models/models_1.js +19 -4
  10. package/dist-es/models/models_2.js +4 -0
  11. package/dist-es/models/models_3.js +5 -17
  12. package/dist-es/models/models_4.js +17 -0
  13. package/dist-es/models/models_5.js +0 -4
  14. package/dist-es/models/models_6.js +4 -11
  15. package/dist-es/models/models_7.js +11 -0
  16. package/dist-es/pagination/DescribeCapacityBlockExtensionHistoryPaginator.js +4 -0
  17. package/dist-es/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +3 -1
  19. package/dist-es/protocols/Aws_ec2.js +614 -64
  20. package/dist-types/EC2.d.ts +22 -0
  21. package/dist-types/EC2Client.d.ts +5 -2
  22. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  23. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  24. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +17 -2
  25. package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -6
  26. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +16 -5
  27. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +31 -16
  28. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  29. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +5 -0
  30. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  31. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  32. package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -1
  33. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteFpgaImageCommand.d.ts +2 -1
  36. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -2
  41. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +5 -0
  42. package/dist-types/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +102 -0
  43. package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +92 -0
  44. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +3 -1
  45. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +3 -3
  46. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +9 -3
  47. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  48. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -1
  49. package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +5 -0
  54. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  55. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
  56. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
  62. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  63. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  64. package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  65. package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
  66. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  67. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  68. package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  69. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -1
  70. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  71. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  72. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +4 -4
  73. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  74. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -0
  75. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  76. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  77. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +33 -4
  78. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +5 -4
  79. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  80. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +5 -4
  81. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +15 -0
  82. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  83. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  84. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  85. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  86. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  87. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  88. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  89. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  90. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +17 -5
  91. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +9 -3
  92. package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +90 -0
  93. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  94. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  95. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  96. package/dist-types/commands/index.d.ts +3 -0
  97. package/dist-types/models/models_0.d.ts +163 -67
  98. package/dist-types/models/models_1.d.ts +480 -499
  99. package/dist-types/models/models_2.d.ts +384 -179
  100. package/dist-types/models/models_3.d.ts +693 -758
  101. package/dist-types/models/models_4.d.ts +6178 -6293
  102. package/dist-types/models/models_5.d.ts +2712 -2367
  103. package/dist-types/models/models_6.d.ts +4288 -4301
  104. package/dist-types/models/models_7.d.ts +533 -28
  105. package/dist-types/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +7 -0
  106. package/dist-types/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +7 -0
  107. package/dist-types/pagination/index.d.ts +3 -1
  108. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  109. package/dist-types/ts3.4/EC2.d.ts +64 -0
  110. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  111. package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +2 -4
  112. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +2 -4
  115. package/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -2
  120. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -4
  123. package/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
  127. package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/EnableVolumeIOCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +51 -0
  147. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  148. package/dist-types/ts3.4/models/models_0.d.ts +12 -18
  149. package/dist-types/ts3.4/models/models_1.d.ts +54 -77
  150. package/dist-types/ts3.4/models/models_2.d.ts +78 -41
  151. package/dist-types/ts3.4/models/models_3.d.ts +102 -124
  152. package/dist-types/ts3.4/models/models_4.d.ts +127 -124
  153. package/dist-types/ts3.4/models/models_5.d.ts +126 -86
  154. package/dist-types/ts3.4/models/models_6.d.ts +97 -139
  155. package/dist-types/ts3.4/models/models_7.d.ts +149 -9
  156. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +11 -0
  157. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +11 -0
  158. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  159. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  160. package/package.json +1 -1
@@ -1,4 +1,56 @@
1
- import { AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CapacityAllocation, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, EndDateType, InstanceEventWindow, InstanceMatchCriteria, NatGatewayAddress, PortRange, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
1
+ import { AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, CapacityAllocation, CapacityReservationDeliveryPreference, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationTenancy, EndDateType, InstanceEventWindow, InstanceMatchCriteria, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
+ /**
3
+ * <p>Information about your commitment for a future-dated Capacity Reservation.</p>
4
+ * @public
5
+ */
6
+ export interface CapacityReservationCommitmentInfo {
7
+ /**
8
+ * <p>The instance capacity that you committed to when you requested the future-dated
9
+ * Capacity Reservation.</p>
10
+ * @public
11
+ */
12
+ CommittedInstanceCount?: number | undefined;
13
+ /**
14
+ * <p>The date and time at which the commitment duration expires, in the ISO8601 format
15
+ * in the UTC time zone (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>). You can't decrease the
16
+ * instance count or cancel the Capacity Reservation before this date and time.</p>
17
+ * @public
18
+ */
19
+ CommitmentEndDate?: Date | undefined;
20
+ }
21
+ /**
22
+ * @public
23
+ * @enum
24
+ */
25
+ export declare const CapacityReservationType: {
26
+ readonly CAPACITY_BLOCK: "capacity-block";
27
+ readonly DEFAULT: "default";
28
+ };
29
+ /**
30
+ * @public
31
+ */
32
+ export type CapacityReservationType = (typeof CapacityReservationType)[keyof typeof CapacityReservationType];
33
+ /**
34
+ * @public
35
+ * @enum
36
+ */
37
+ export declare const CapacityReservationState: {
38
+ readonly active: "active";
39
+ readonly assessing: "assessing";
40
+ readonly cancelled: "cancelled";
41
+ readonly delayed: "delayed";
42
+ readonly expired: "expired";
43
+ readonly failed: "failed";
44
+ readonly payment_failed: "payment-failed";
45
+ readonly payment_pending: "payment-pending";
46
+ readonly pending: "pending";
47
+ readonly scheduled: "scheduled";
48
+ readonly unsupported: "unsupported";
49
+ };
50
+ /**
51
+ * @public
52
+ */
53
+ export type CapacityReservationState = (typeof CapacityReservationState)[keyof typeof CapacityReservationState];
2
54
  /**
3
55
  * <p>Describes a Capacity Reservation.</p>
4
56
  * @public
@@ -30,7 +82,8 @@ export interface CapacityReservation {
30
82
  */
31
83
  InstanceType?: string | undefined;
32
84
  /**
33
- * <p>The type of operating system for which the Capacity Reservation reserves capacity.</p>
85
+ * <p>The type of operating system for which the Capacity Reservation reserves
86
+ * capacity.</p>
34
87
  * @public
35
88
  */
36
89
  InstancePlatform?: CapacityReservationInstancePlatform | undefined;
@@ -40,35 +93,41 @@ export interface CapacityReservation {
40
93
  */
41
94
  AvailabilityZone?: string | undefined;
42
95
  /**
43
- * <p>Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:</p>
96
+ * <p>Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one
97
+ * of the following tenancy settings:</p>
44
98
  * <ul>
45
99
  * <li>
46
100
  * <p>
47
- * <code>default</code> - The Capacity Reservation is created on hardware that is shared with other Amazon Web Services accounts.</p>
101
+ * <code>default</code> - The Capacity Reservation is created on hardware that is
102
+ * shared with other Amazon Web Services accounts.</p>
48
103
  * </li>
49
104
  * <li>
50
105
  * <p>
51
- * <code>dedicated</code> - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.</p>
106
+ * <code>dedicated</code> - The Capacity Reservation is created on single-tenant
107
+ * hardware that is dedicated to a single Amazon Web Services account.</p>
52
108
  * </li>
53
109
  * </ul>
54
110
  * @public
55
111
  */
56
112
  Tenancy?: CapacityReservationTenancy | undefined;
57
113
  /**
58
- * <p>The total number of instances for which the Capacity Reservation reserves capacity.</p>
114
+ * <p>The total number of instances for which the Capacity Reservation reserves
115
+ * capacity.</p>
59
116
  * @public
60
117
  */
61
118
  TotalInstanceCount?: number | undefined;
62
119
  /**
63
- * <p>The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.</p>
120
+ * <p>The remaining capacity. Indicates the number of instances that can be launched in the
121
+ * Capacity Reservation.</p>
64
122
  * @public
65
123
  */
66
124
  AvailableInstanceCount?: number | undefined;
67
125
  /**
68
- * <p>Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides
69
- * dedicated throughput to Amazon EBS and an optimized configuration stack to provide
70
- * optimal I/O performance. This optimization isn't available with all instance types.
71
- * Additional usage charges apply when using an EBS- optimized instance.</p>
126
+ * <p>Indicates whether the Capacity Reservation supports EBS-optimized instances. This
127
+ * optimization provides dedicated throughput to Amazon EBS and an optimized configuration
128
+ * stack to provide optimal I/O performance. This optimization isn't available with all
129
+ * instance types. Additional usage charges apply when using an EBS- optimized
130
+ * instance.</p>
72
131
  * @public
73
132
  */
74
133
  EbsOptimized?: boolean | undefined;
@@ -80,32 +139,56 @@ export interface CapacityReservation {
80
139
  */
81
140
  EphemeralStorage?: boolean | undefined;
82
141
  /**
83
- * <p>The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:</p>
142
+ * <p>The current state of the Capacity Reservation. A Capacity Reservation can be in one of
143
+ * the following states:</p>
84
144
  * <ul>
85
145
  * <li>
86
146
  * <p>
87
- * <code>active</code> - The Capacity Reservation is active and the capacity is available for your use.</p>
147
+ * <code>active</code> - The capacity is available for use.</p>
88
148
  * </li>
89
149
  * <li>
90
150
  * <p>
91
- * <code>expired</code> - The Capacity Reservation expired automatically at the date and time specified
92
- * in your request. The reserved capacity is no longer available for your use.</p>
151
+ * <code>expired</code> - The Capacity Reservation expired automatically at the date and time
152
+ * specified in your reservation request. The reserved capacity is no longer available for your use.</p>
93
153
  * </li>
94
154
  * <li>
95
155
  * <p>
96
- * <code>cancelled</code> - The Capacity Reservation was cancelled. The reserved capacity is no
97
- * longer available for your use.</p>
156
+ * <code>cancelled</code> - The Capacity Reservation was canceled. The reserved capacity is no
157
+ * longer available for your use.</p>
98
158
  * </li>
99
159
  * <li>
100
160
  * <p>
101
161
  * <code>pending</code> - The Capacity Reservation request was successful but the capacity
102
- * provisioning is still pending.</p>
162
+ * provisioning is still pending.</p>
163
+ * </li>
164
+ * <li>
165
+ * <p>
166
+ * <code>failed</code> - The Capacity Reservation request has failed. A request can fail due to
167
+ * request parameters that are not valid, capacity constraints, or instance limit constraints. You
168
+ * can view a failed request for 60 minutes.</p>
169
+ * </li>
170
+ * <li>
171
+ * <p>
172
+ * <code>scheduled</code> - (<i>Future-dated Capacity Reservations only</i>) The
173
+ * future-dated Capacity Reservation request was approved and the Capacity Reservation is scheduled
174
+ * for delivery on the requested start date.</p>
175
+ * </li>
176
+ * <li>
177
+ * <p>
178
+ * <code>assessing</code> - (<i>Future-dated Capacity Reservations only</i>)
179
+ * Amazon EC2 is assessing your request for a future-dated Capacity Reservation.</p>
180
+ * </li>
181
+ * <li>
182
+ * <p>
183
+ * <code>delayed</code> - (<i>Future-dated Capacity Reservations only</i>) Amazon EC2
184
+ * encountered a delay in provisioning the requested future-dated Capacity Reservation. Amazon EC2 is
185
+ * unable to deliver the requested capacity by the requested start date and time.</p>
103
186
  * </li>
104
187
  * <li>
105
188
  * <p>
106
- * <code>failed</code> - The Capacity Reservation request has failed. A request might fail
107
- * due to invalid request parameters, capacity constraints, or instance limit constraints.
108
- * Failed requests are retained for 60 minutes.</p>
189
+ * <code>unsupported</code> - (<i>Future-dated Capacity Reservations only</i>) Amazon EC2
190
+ * can't support the future-dated Capacity Reservation request due to capacity constraints. You can view
191
+ * unsupported requests for 30 days. The Capacity Reservation will not be delivered.</p>
109
192
  * </li>
110
193
  * </ul>
111
194
  * @public
@@ -117,43 +200,48 @@ export interface CapacityReservation {
117
200
  */
118
201
  StartDate?: Date | undefined;
119
202
  /**
120
- * <p>The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity
121
- * is released and you can no longer launch instances into it. The Capacity Reservation's state changes to
122
- * <code>expired</code> when it reaches its end date and time.</p>
203
+ * <p>The date and time at which the Capacity Reservation expires. When a Capacity
204
+ * Reservation expires, the reserved capacity is released and you can no longer launch
205
+ * instances into it. The Capacity Reservation's state changes to <code>expired</code> when
206
+ * it reaches its end date and time.</p>
123
207
  * @public
124
208
  */
125
209
  EndDate?: Date | undefined;
126
210
  /**
127
- * <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end
128
- * types:</p>
211
+ * <p>Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can
212
+ * have one of the following end types:</p>
129
213
  * <ul>
130
214
  * <li>
131
215
  * <p>
132
- * <code>unlimited</code> - The Capacity Reservation remains active until you explicitly cancel it.</p>
216
+ * <code>unlimited</code> - The Capacity Reservation remains active until you
217
+ * explicitly cancel it.</p>
133
218
  * </li>
134
219
  * <li>
135
220
  * <p>
136
- * <code>limited</code> - The Capacity Reservation expires automatically at a specified date and time.</p>
221
+ * <code>limited</code> - The Capacity Reservation expires automatically at a
222
+ * specified date and time.</p>
137
223
  * </li>
138
224
  * </ul>
139
225
  * @public
140
226
  */
141
227
  EndDateType?: EndDateType | undefined;
142
228
  /**
143
- * <p>Indicates the type of instance launches that the Capacity Reservation accepts. The options
144
- * include:</p>
229
+ * <p>Indicates the type of instance launches that the Capacity Reservation accepts. The
230
+ * options include:</p>
145
231
  * <ul>
146
232
  * <li>
147
233
  * <p>
148
- * <code>open</code> - The Capacity Reservation accepts all instances that have matching attributes (instance type, platform,
149
- * and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying
150
- * any additional parameters.</p>
234
+ * <code>open</code> - The Capacity Reservation accepts all instances that have
235
+ * matching attributes (instance type, platform, and Availability Zone). Instances
236
+ * that have matching attributes launch into the Capacity Reservation automatically
237
+ * without specifying any additional parameters.</p>
151
238
  * </li>
152
239
  * <li>
153
240
  * <p>
154
- * <code>targeted</code> - The Capacity Reservation only accepts instances that have matching attributes
155
- * (instance type, platform, and Availability Zone), and explicitly target the
156
- * Capacity Reservation. This ensures that only permitted instances can use the reserved capacity. </p>
241
+ * <code>targeted</code> - The Capacity Reservation only accepts instances that
242
+ * have matching attributes (instance type, platform, and Availability Zone), and
243
+ * explicitly target the Capacity Reservation. This ensures that only permitted
244
+ * instances can use the reserved capacity. </p>
157
245
  * </li>
158
246
  * </ul>
159
247
  * @public
@@ -170,23 +258,22 @@ export interface CapacityReservation {
170
258
  */
171
259
  Tags?: Tag[] | undefined;
172
260
  /**
173
- * <p>The Amazon Resource Name (ARN) of the Outpost on which the Capacity
174
- * Reservation was created.</p>
261
+ * <p>The Amazon Resource Name (ARN) of the Outpost on which the Capacity Reservation was
262
+ * created.</p>
175
263
  * @public
176
264
  */
177
265
  OutpostArn?: string | undefined;
178
266
  /**
179
267
  * <p>The ID of the Capacity Reservation Fleet to which the Capacity Reservation belongs.
180
- * Only valid for Capacity Reservations that were created by a Capacity Reservation Fleet.</p>
268
+ * Only valid for Capacity Reservations that were created by a Capacity Reservation
269
+ * Fleet.</p>
181
270
  * @public
182
271
  */
183
272
  CapacityReservationFleetId?: string | undefined;
184
273
  /**
185
- * <p>The Amazon Resource Name (ARN) of the cluster placement group in which
186
- * the Capacity Reservation was created. For more information, see
187
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html">
188
- * Capacity Reservations for cluster placement groups</a> in the
189
- * <i>Amazon EC2 User Guide</i>.</p>
274
+ * <p>The Amazon Resource Name (ARN) of the cluster placement group in which the Capacity
275
+ * Reservation was created. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html"> Capacity Reservations for cluster
276
+ * placement groups</a> in the <i>Amazon EC2 User Guide</i>.</p>
190
277
  * @public
191
278
  */
192
279
  PlacementGroupArn?: string | undefined;
@@ -201,11 +288,23 @@ export interface CapacityReservation {
201
288
  */
202
289
  ReservationType?: CapacityReservationType | undefined;
203
290
  /**
204
- * <p>The ID of the Amazon Web Services account to which billing of the unused capacity
205
- * of the Capacity Reservation is assigned.</p>
291
+ * <p>The ID of the Amazon Web Services account to which billing of the unused capacity of
292
+ * the Capacity Reservation is assigned.</p>
206
293
  * @public
207
294
  */
208
295
  UnusedReservationBillingOwnerId?: string | undefined;
296
+ /**
297
+ * <p>Information about your commitment for a future-dated Capacity Reservation.</p>
298
+ * @public
299
+ */
300
+ CommitmentInfo?: CapacityReservationCommitmentInfo | undefined;
301
+ /**
302
+ * <p>The delivery method for a future-dated Capacity Reservation. <code>incremental</code>
303
+ * indicates that the requested capacity is delivered in addition to any running instances
304
+ * and reserved capacity that you have in your account at the requested date and time.</p>
305
+ * @public
306
+ */
307
+ DeliveryPreference?: CapacityReservationDeliveryPreference | undefined;
209
308
  }
210
309
  /**
211
310
  * @public
@@ -232,23 +331,17 @@ export interface CreateCapacityReservationBySplittingRequest {
232
331
  */
233
332
  ClientToken?: string | undefined;
234
333
  /**
235
- * <p>
236
- * The ID of the Capacity Reservation from which you want to split the capacity.
237
- * </p>
334
+ * <p> The ID of the Capacity Reservation from which you want to split the capacity. </p>
238
335
  * @public
239
336
  */
240
337
  SourceCapacityReservationId: string | undefined;
241
338
  /**
242
- * <p>
243
- * The number of instances to split from the source Capacity Reservation.
244
- * </p>
339
+ * <p> The number of instances to split from the source Capacity Reservation. </p>
245
340
  * @public
246
341
  */
247
342
  InstanceCount: number | undefined;
248
343
  /**
249
- * <p>
250
- * The tags to apply to the new Capacity Reservation.
251
- * </p>
344
+ * <p> The tags to apply to the new Capacity Reservation. </p>
252
345
  * @public
253
346
  */
254
347
  TagSpecifications?: TagSpecification[] | undefined;
@@ -258,23 +351,18 @@ export interface CreateCapacityReservationBySplittingRequest {
258
351
  */
259
352
  export interface CreateCapacityReservationBySplittingResult {
260
353
  /**
261
- * <p>
262
- * Information about the source Capacity Reservation.
263
- * </p>
354
+ * <p> Information about the source Capacity Reservation. </p>
264
355
  * @public
265
356
  */
266
357
  SourceCapacityReservation?: CapacityReservation | undefined;
267
358
  /**
268
- * <p>
269
- * Information about the destination Capacity Reservation.
270
- * </p>
359
+ * <p> Information about the destination Capacity Reservation. </p>
271
360
  * @public
272
361
  */
273
362
  DestinationCapacityReservation?: CapacityReservation | undefined;
274
363
  /**
275
- * <p>
276
- * The number of instances in the new Capacity Reservation. The number of instances in the source Capacity Reservation was reduced by this amount.
277
- * </p>
364
+ * <p> The number of instances in the new Capacity Reservation. The number of instances in
365
+ * the source Capacity Reservation was reduced by this amount. </p>
278
366
  * @public
279
367
  */
280
368
  InstanceCount?: number | undefined;
@@ -1175,44 +1263,48 @@ export interface ReservationFleetInstanceSpecification {
1175
1263
  */
1176
1264
  InstanceType?: _InstanceType | undefined;
1177
1265
  /**
1178
- * <p>The type of operating system for which the Capacity Reservation Fleet reserves capacity.</p>
1266
+ * <p>The type of operating system for which the Capacity Reservation Fleet reserves
1267
+ * capacity.</p>
1179
1268
  * @public
1180
1269
  */
1181
1270
  InstancePlatform?: CapacityReservationInstancePlatform | undefined;
1182
1271
  /**
1183
- * <p>The number of capacity units provided by the specified instance type. This value, together
1184
- * with the total target capacity that you specify for the Fleet determine the number of
1185
- * instances for which the Fleet reserves capacity. Both values are based on units that
1186
- * make sense for your workload. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
1272
+ * <p>The number of capacity units provided by the specified instance type. This value,
1273
+ * together with the total target capacity that you specify for the Fleet determine the
1274
+ * number of instances for which the Fleet reserves capacity. Both values are based on
1275
+ * units that make sense for your workload. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
1187
1276
  * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
1188
1277
  * @public
1189
1278
  */
1190
1279
  Weight?: number | undefined;
1191
1280
  /**
1192
- * <p>The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity
1193
- * Reservation Fleet can't span Availability Zones. All instance type specifications that you specify
1194
- * for the Fleet must use the same Availability Zone.</p>
1281
+ * <p>The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A
1282
+ * Capacity Reservation Fleet can't span Availability Zones. All instance type
1283
+ * specifications that you specify for the Fleet must use the same Availability
1284
+ * Zone.</p>
1195
1285
  * @public
1196
1286
  */
1197
1287
  AvailabilityZone?: string | undefined;
1198
1288
  /**
1199
- * <p>The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A
1200
- * Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you
1201
- * specify for the Fleet must use the same Availability Zone.</p>
1289
+ * <p>The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the
1290
+ * capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type
1291
+ * specifications that you specify for the Fleet must use the same Availability
1292
+ * Zone.</p>
1202
1293
  * @public
1203
1294
  */
1204
1295
  AvailabilityZoneId?: string | undefined;
1205
1296
  /**
1206
- * <p>Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This
1207
- * optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack
1208
- * to provide optimal I/O performance. This optimization isn't available with all instance types. Additional
1209
- * usage charges apply when using EBS-optimized instance types.</p>
1297
+ * <p>Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances
1298
+ * types. This optimization provides dedicated throughput to Amazon EBS and an
1299
+ * optimized configuration stack to provide optimal I/O performance. This optimization
1300
+ * isn't available with all instance types. Additional usage charges apply when using
1301
+ * EBS-optimized instance types.</p>
1210
1302
  * @public
1211
1303
  */
1212
1304
  EbsOptimized?: boolean | undefined;
1213
1305
  /**
1214
- * <p>The priority to assign to the instance type. This value is used to determine which of the
1215
- * instance types specified for the Fleet should be prioritized for use. A lower value
1306
+ * <p>The priority to assign to the instance type. This value is used to determine which of
1307
+ * the instance types specified for the Fleet should be prioritized for use. A lower value
1216
1308
  * indicates a high priority. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority">Instance type
1217
1309
  * priority</a> in the <i>Amazon EC2 User Guide</i>.</p>
1218
1310
  * @public
@@ -1235,9 +1327,9 @@ export type FleetCapacityReservationTenancy = (typeof FleetCapacityReservationTe
1235
1327
  */
1236
1328
  export interface CreateCapacityReservationFleetRequest {
1237
1329
  /**
1238
- * <p>The strategy used by the Capacity Reservation Fleet to determine which of the specified
1239
- * instance types to use. Currently, only the <code>prioritized</code> allocation strategy
1240
- * is supported. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy"> Allocation
1330
+ * <p>The strategy used by the Capacity Reservation Fleet to determine which of the
1331
+ * specified instance types to use. Currently, only the <code>prioritized</code> allocation
1332
+ * strategy is supported. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy"> Allocation
1241
1333
  * strategy</a> in the <i>Amazon EC2 User Guide</i>.</p>
1242
1334
  * <p>Valid values: <code>prioritized</code>
1243
1335
  * </p>
@@ -1255,9 +1347,9 @@ export interface CreateCapacityReservationFleetRequest {
1255
1347
  */
1256
1348
  InstanceTypeSpecifications: ReservationFleetInstanceSpecification[] | undefined;
1257
1349
  /**
1258
- * <p>Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations
1259
- * in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of
1260
- * the following tenancy settings:</p>
1350
+ * <p>Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in
1351
+ * the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the
1352
+ * following tenancy settings:</p>
1261
1353
  * <ul>
1262
1354
  * <li>
1263
1355
  * <p>
@@ -1274,9 +1366,9 @@ export interface CreateCapacityReservationFleetRequest {
1274
1366
  */
1275
1367
  Tenancy?: FleetCapacityReservationTenancy | undefined;
1276
1368
  /**
1277
- * <p>The total number of capacity units to be reserved by the Capacity Reservation Fleet. This
1278
- * value, together with the instance type weights that you assign to each instance type
1279
- * used by the Fleet determine the number of instances for which the Fleet reserves
1369
+ * <p>The total number of capacity units to be reserved by the Capacity Reservation Fleet.
1370
+ * This value, together with the instance type weights that you assign to each instance
1371
+ * type used by the Fleet determine the number of instances for which the Fleet reserves
1280
1372
  * capacity. Both values are based on units that make sense for your workload. For more
1281
1373
  * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
1282
1374
  * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
@@ -1285,29 +1377,29 @@ export interface CreateCapacityReservationFleetRequest {
1285
1377
  TotalTargetCapacity: number | undefined;
1286
1378
  /**
1287
1379
  * <p>The date and time at which the Capacity Reservation Fleet expires. When the Capacity
1288
- * Reservation Fleet expires, its state changes to <code>expired</code> and all of the Capacity
1289
- * Reservations in the Fleet expire.</p>
1290
- * <p>The Capacity Reservation Fleet expires within an hour after the specified time. For example,
1291
- * if you specify <code>5/31/2019</code>, <code>13:30:55</code>, the Capacity Reservation Fleet
1292
- * is guaranteed to expire between <code>13:30:55</code> and <code>14:30:55</code> on
1293
- * <code>5/31/2019</code>.
1294
- * </p>
1380
+ * Reservation Fleet expires, its state changes to <code>expired</code> and all of the
1381
+ * Capacity Reservations in the Fleet expire.</p>
1382
+ * <p>The Capacity Reservation Fleet expires within an hour after the specified time. For
1383
+ * example, if you specify <code>5/31/2019</code>, <code>13:30:55</code>, the Capacity
1384
+ * Reservation Fleet is guaranteed to expire between <code>13:30:55</code> and
1385
+ * <code>14:30:55</code> on <code>5/31/2019</code>. </p>
1295
1386
  * @public
1296
1387
  */
1297
1388
  EndDate?: Date | undefined;
1298
1389
  /**
1299
- * <p>Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All
1300
- * Capacity Reservations in the Fleet inherit this instance matching criteria.</p>
1301
- * <p>Currently, Capacity Reservation Fleets support <code>open</code> instance matching criteria
1302
- * only. This means that instances that have matching attributes (instance type, platform, and
1303
- * Availability Zone) run in the Capacity Reservations automatically. Instances do not need to
1304
- * explicitly target a Capacity Reservation Fleet to use its reserved capacity.</p>
1390
+ * <p>Indicates the type of instance launches that the Capacity Reservation Fleet accepts.
1391
+ * All Capacity Reservations in the Fleet inherit this instance matching criteria.</p>
1392
+ * <p>Currently, Capacity Reservation Fleets support <code>open</code> instance matching
1393
+ * criteria only. This means that instances that have matching attributes (instance type,
1394
+ * platform, and Availability Zone) run in the Capacity Reservations automatically.
1395
+ * Instances do not need to explicitly target a Capacity Reservation Fleet to use its
1396
+ * reserved capacity.</p>
1305
1397
  * @public
1306
1398
  */
1307
1399
  InstanceMatchCriteria?: FleetInstanceMatchCriteria | undefined;
1308
1400
  /**
1309
- * <p>The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned
1310
- * to the Capacity Reservations in the Fleet.</p>
1401
+ * <p>The tags to assign to the Capacity Reservation Fleet. The tags are automatically
1402
+ * assigned to the Capacity Reservations in the Fleet.</p>
1311
1403
  * @public
1312
1404
  */
1313
1405
  TagSpecifications?: TagSpecification[] | undefined;
@@ -1328,7 +1420,8 @@ export interface FleetCapacityReservation {
1328
1420
  */
1329
1421
  CapacityReservationId?: string | undefined;
1330
1422
  /**
1331
- * <p>The ID of the Availability Zone in which the Capacity Reservation reserves capacity.</p>
1423
+ * <p>The ID of the Availability Zone in which the Capacity Reservation reserves
1424
+ * capacity.</p>
1332
1425
  * @public
1333
1426
  */
1334
1427
  AvailabilityZoneId?: string | undefined;
@@ -1338,7 +1431,8 @@ export interface FleetCapacityReservation {
1338
1431
  */
1339
1432
  InstanceType?: _InstanceType | undefined;
1340
1433
  /**
1341
- * <p>The type of operating system for which the Capacity Reservation reserves capacity.</p>
1434
+ * <p>The type of operating system for which the Capacity Reservation reserves
1435
+ * capacity.</p>
1342
1436
  * @public
1343
1437
  */
1344
1438
  InstancePlatform?: CapacityReservationInstancePlatform | undefined;
@@ -1348,19 +1442,21 @@ export interface FleetCapacityReservation {
1348
1442
  */
1349
1443
  AvailabilityZone?: string | undefined;
1350
1444
  /**
1351
- * <p>The total number of instances for which the Capacity Reservation reserves capacity.</p>
1445
+ * <p>The total number of instances for which the Capacity Reservation reserves
1446
+ * capacity.</p>
1352
1447
  * @public
1353
1448
  */
1354
1449
  TotalInstanceCount?: number | undefined;
1355
1450
  /**
1356
- * <p>The number of capacity units fulfilled by the Capacity Reservation. For more information,
1357
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
1451
+ * <p>The number of capacity units fulfilled by the Capacity Reservation. For more
1452
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity">Total target
1358
1453
  * capacity</a> in the <i>Amazon EC2 User Guide</i>.</p>
1359
1454
  * @public
1360
1455
  */
1361
1456
  FulfilledCapacity?: number | undefined;
1362
1457
  /**
1363
- * <p>Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.</p>
1458
+ * <p>Indicates whether the Capacity Reservation reserves capacity for EBS-optimized
1459
+ * instance types.</p>
1364
1460
  * @public
1365
1461
  */
1366
1462
  EbsOptimized?: boolean | undefined;
@@ -1370,15 +1466,15 @@ export interface FleetCapacityReservation {
1370
1466
  */
1371
1467
  CreateDate?: Date | undefined;
1372
1468
  /**
1373
- * <p>The weight of the instance type in the Capacity Reservation Fleet. For more information, see
1374
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-weight">Instance type
1469
+ * <p>The weight of the instance type in the Capacity Reservation Fleet. For more
1470
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-weight">Instance type
1375
1471
  * weight</a> in the <i>Amazon EC2 User Guide</i>.</p>
1376
1472
  * @public
1377
1473
  */
1378
1474
  Weight?: number | undefined;
1379
1475
  /**
1380
- * <p>The priority of the instance type in the Capacity Reservation Fleet. For more information,
1381
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority">Instance type
1476
+ * <p>The priority of the instance type in the Capacity Reservation Fleet. For more
1477
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority">Instance type
1382
1478
  * priority</a> in the <i>Amazon EC2 User Guide</i>.</p>
1383
1479
  * @public
1384
1480
  */
@@ -1399,7 +1495,8 @@ export interface CreateCapacityReservationFleetResult {
1399
1495
  */
1400
1496
  State?: CapacityReservationFleetState | undefined;
1401
1497
  /**
1402
- * <p>The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.</p>
1498
+ * <p>The total number of capacity units for which the Capacity Reservation Fleet reserves
1499
+ * capacity.</p>
1403
1500
  * @public
1404
1501
  */
1405
1502
  TotalTargetCapacity?: number | undefined;
@@ -1434,7 +1531,8 @@ export interface CreateCapacityReservationFleetResult {
1434
1531
  */
1435
1532
  Tenancy?: FleetCapacityReservationTenancy | undefined;
1436
1533
  /**
1437
- * <p>Information about the individual Capacity Reservations in the Capacity Reservation Fleet.</p>
1534
+ * <p>Information about the individual Capacity Reservations in the Capacity Reservation
1535
+ * Fleet.</p>
1438
1536
  * @public
1439
1537
  */
1440
1538
  FleetCapacityReservations?: FleetCapacityReservation[] | undefined;
@@ -2317,15 +2415,15 @@ export interface BlockPublicAccessStates {
2317
2415
  * <ul>
2318
2416
  * <li>
2319
2417
  * <p>
2320
- * <code>bidirectional-access-allowed</code>: VPC BPA is not enabled and traffic is allowed to and from internet gateways and egress-only internet gateways in this Region.</p>
2418
+ * <code>off</code>: VPC BPA is not enabled and traffic is allowed to and from internet gateways and egress-only internet gateways in this Region.</p>
2321
2419
  * </li>
2322
2420
  * <li>
2323
2421
  * <p>
2324
- * <code>bidirectional-access-blocked</code>: Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets).</p>
2422
+ * <code>block-bidirectional</code>: Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets).</p>
2325
2423
  * </li>
2326
2424
  * <li>
2327
2425
  * <p>
2328
- * <code>ingress-access-blocked</code>: Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.</p>
2426
+ * <code>block-ingress</code>: Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.</p>
2329
2427
  * </li>
2330
2428
  * </ul>
2331
2429
  * @public
@@ -2886,6 +2984,117 @@ export interface BaselineEbsBandwidthMbpsRequest {
2886
2984
  */
2887
2985
  Max?: number | undefined;
2888
2986
  }
2987
+ /**
2988
+ * <p>Specify an instance family to use as the baseline reference for CPU performance. All
2989
+ * instance types that match your specified attributes will be compared against the CPU
2990
+ * performance of the referenced instance family, regardless of CPU manufacturer or
2991
+ * architecture.</p>
2992
+ * <note>
2993
+ * <p>Currently, only one instance family can be specified in the list.</p>
2994
+ * </note>
2995
+ * @public
2996
+ */
2997
+ export interface PerformanceFactorReferenceRequest {
2998
+ /**
2999
+ * <p>The instance family to use as a baseline reference.</p>
3000
+ * <note>
3001
+ * <p>Ensure that you specify the correct value for the instance family. The instance
3002
+ * family is everything before the period (<code>.</code>) in the instance type name. For
3003
+ * example, in the instance type <code>c6i.large</code>, the instance family is
3004
+ * <code>c6i</code>, not <code>c6</code>. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html">Amazon EC2
3005
+ * instance type naming conventions</a> in <i>Amazon EC2 Instance
3006
+ * Types</i>.</p>
3007
+ * </note>
3008
+ * <p>The following instance families are <i>not supported</i> for performance
3009
+ * protection:</p>
3010
+ * <ul>
3011
+ * <li>
3012
+ * <p>
3013
+ * <code>c1</code>
3014
+ * </p>
3015
+ * </li>
3016
+ * <li>
3017
+ * <p>
3018
+ * <code>g3</code> | <code>g3s</code>
3019
+ * </p>
3020
+ * </li>
3021
+ * <li>
3022
+ * <p>
3023
+ * <code>hpc7g</code>
3024
+ * </p>
3025
+ * </li>
3026
+ * <li>
3027
+ * <p>
3028
+ * <code>m1</code> | <code>m2</code>
3029
+ * </p>
3030
+ * </li>
3031
+ * <li>
3032
+ * <p>
3033
+ * <code>mac1</code> | <code>mac2</code> | <code>mac2-m1ultra</code> |
3034
+ * <code>mac2-m2</code> | <code>mac2-m2pro</code>
3035
+ * </p>
3036
+ * </li>
3037
+ * <li>
3038
+ * <p>
3039
+ * <code>p3dn</code> | <code>p4d</code> | <code>p5</code>
3040
+ * </p>
3041
+ * </li>
3042
+ * <li>
3043
+ * <p>
3044
+ * <code>t1</code>
3045
+ * </p>
3046
+ * </li>
3047
+ * <li>
3048
+ * <p>
3049
+ * <code>u-12tb1</code> | <code>u-18tb1</code> | <code>u-24tb1</code> |
3050
+ * <code>u-3tb1</code> | <code>u-6tb1</code> | <code>u-9tb1</code> |
3051
+ * <code>u7i-12tb</code> | <code>u7in-16tb</code> | <code>u7in-24tb</code> |
3052
+ * <code>u7in-32tb</code>
3053
+ * </p>
3054
+ * </li>
3055
+ * </ul>
3056
+ * <p>If you enable performance protection by specifying a supported instance family, the
3057
+ * returned instance types will exclude the above unsupported instance families.</p>
3058
+ * <p>If you specify an unsupported instance family as a value for baseline performance, the
3059
+ * API returns an empty response for and an exception for , , , and .</p>
3060
+ * @public
3061
+ */
3062
+ InstanceFamily?: string | undefined;
3063
+ }
3064
+ /**
3065
+ * <p>The CPU performance to consider, using an instance family as the baseline reference.</p>
3066
+ * @public
3067
+ */
3068
+ export interface CpuPerformanceFactorRequest {
3069
+ /**
3070
+ * <p>Specify an instance family to use as the baseline reference for CPU performance. All
3071
+ * instance types that match your specified attributes will be compared against the CPU
3072
+ * performance of the referenced instance family, regardless of CPU manufacturer or
3073
+ * architecture differences.</p>
3074
+ * <note>
3075
+ * <p>Currently, only one instance family can be specified in the list.</p>
3076
+ * </note>
3077
+ * @public
3078
+ */
3079
+ References?: PerformanceFactorReferenceRequest[] | undefined;
3080
+ }
3081
+ /**
3082
+ * <p>The baseline performance to consider, using an instance family as a baseline reference.
3083
+ * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
3084
+ * baseline to guide instance type selection, but there is no guarantee that the selected
3085
+ * instance types will always exceed the baseline for every application.</p>
3086
+ * <p>Currently, this parameter only supports CPU performance as a baseline performance
3087
+ * factor. For example, specifying <code>c6i</code> would use the CPU performance of the
3088
+ * <code>c6i</code> family as the baseline reference.</p>
3089
+ * @public
3090
+ */
3091
+ export interface BaselinePerformanceFactorsRequest {
3092
+ /**
3093
+ * <p>The CPU performance to consider, using an instance family as the baseline reference.</p>
3094
+ * @public
3095
+ */
3096
+ Cpu?: CpuPerformanceFactorRequest | undefined;
3097
+ }
2889
3098
  /**
2890
3099
  * @public
2891
3100
  * @enum
@@ -2906,6 +3115,7 @@ export type BurstablePerformance = (typeof BurstablePerformance)[keyof typeof Bu
2906
3115
  export declare const CpuManufacturer: {
2907
3116
  readonly AMAZON_WEB_SERVICES: "amazon-web-services";
2908
3117
  readonly AMD: "amd";
3118
+ readonly APPLE: "apple";
2909
3119
  readonly INTEL: "intel";
2910
3120
  };
2911
3121
  /**
@@ -3463,6 +3673,16 @@ export interface InstanceRequirementsRequest {
3463
3673
  * @public
3464
3674
  */
3465
3675
  MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
3676
+ /**
3677
+ * <p>The baseline performance to consider, using an instance family as a baseline reference.
3678
+ * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
3679
+ * baseline to guide instance type selection, but there is no guarantee that the selected
3680
+ * instance types will always exceed the baseline for every application. Currently, this
3681
+ * parameter only supports CPU performance as a baseline performance factor. For more
3682
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection">Performance protection</a> in the <i>Amazon EC2 User Guide</i>.</p>
3683
+ * @public
3684
+ */
3685
+ BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
3466
3686
  }
3467
3687
  /**
3468
3688
  * <p>Describes the placement of an instance.</p>
@@ -4281,6 +4501,117 @@ export interface BaselineEbsBandwidthMbps {
4281
4501
  */
4282
4502
  Max?: number | undefined;
4283
4503
  }
4504
+ /**
4505
+ * <p>Specify an instance family to use as the baseline reference for CPU performance. All
4506
+ * instance types that match your specified attributes will be compared against the CPU
4507
+ * performance of the referenced instance family, regardless of CPU manufacturer or
4508
+ * architecture.</p>
4509
+ * <note>
4510
+ * <p>Currently, only one instance family can be specified in the list.</p>
4511
+ * </note>
4512
+ * @public
4513
+ */
4514
+ export interface PerformanceFactorReference {
4515
+ /**
4516
+ * <p>The instance family to use as a baseline reference.</p>
4517
+ * <note>
4518
+ * <p>Ensure that you specify the correct value for the instance family. The instance
4519
+ * family is everything before the period (<code>.</code>) in the instance type name. For
4520
+ * example, in the instance type <code>c6i.large</code>, the instance family is
4521
+ * <code>c6i</code>, not <code>c6</code>. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html">Amazon EC2
4522
+ * instance type naming conventions</a> in <i>Amazon EC2 Instance
4523
+ * Types</i>.</p>
4524
+ * </note>
4525
+ * <p>The following instance families are <i>not supported</i> for performance
4526
+ * protection:</p>
4527
+ * <ul>
4528
+ * <li>
4529
+ * <p>
4530
+ * <code>c1</code>
4531
+ * </p>
4532
+ * </li>
4533
+ * <li>
4534
+ * <p>
4535
+ * <code>g3</code> | <code>g3s</code>
4536
+ * </p>
4537
+ * </li>
4538
+ * <li>
4539
+ * <p>
4540
+ * <code>hpc7g</code>
4541
+ * </p>
4542
+ * </li>
4543
+ * <li>
4544
+ * <p>
4545
+ * <code>m1</code> | <code>m2</code>
4546
+ * </p>
4547
+ * </li>
4548
+ * <li>
4549
+ * <p>
4550
+ * <code>mac1</code> | <code>mac2</code> | <code>mac2-m1ultra</code> |
4551
+ * <code>mac2-m2</code> | <code>mac2-m2pro</code>
4552
+ * </p>
4553
+ * </li>
4554
+ * <li>
4555
+ * <p>
4556
+ * <code>p3dn</code> | <code>p4d</code> | <code>p5</code>
4557
+ * </p>
4558
+ * </li>
4559
+ * <li>
4560
+ * <p>
4561
+ * <code>t1</code>
4562
+ * </p>
4563
+ * </li>
4564
+ * <li>
4565
+ * <p>
4566
+ * <code>u-12tb1</code> | <code>u-18tb1</code> | <code>u-24tb1</code> |
4567
+ * <code>u-3tb1</code> | <code>u-6tb1</code> | <code>u-9tb1</code> |
4568
+ * <code>u7i-12tb</code> | <code>u7in-16tb</code> | <code>u7in-24tb</code> |
4569
+ * <code>u7in-32tb</code>
4570
+ * </p>
4571
+ * </li>
4572
+ * </ul>
4573
+ * <p>If you enable performance protection by specifying a supported instance family, the
4574
+ * returned instance types will exclude the above unsupported instance families.</p>
4575
+ * <p>If you specify an unsupported instance family as a value for baseline performance, the
4576
+ * API returns an empty response for and an exception for , , , and .</p>
4577
+ * @public
4578
+ */
4579
+ InstanceFamily?: string | undefined;
4580
+ }
4581
+ /**
4582
+ * <p>The CPU performance to consider, using an instance family as the baseline reference.</p>
4583
+ * @public
4584
+ */
4585
+ export interface CpuPerformanceFactor {
4586
+ /**
4587
+ * <p>Specify an instance family to use as the baseline reference for CPU performance. All
4588
+ * instance types that match your specified attributes will be compared against the CPU
4589
+ * performance of the referenced instance family, regardless of CPU manufacturer or
4590
+ * architecture differences.</p>
4591
+ * <note>
4592
+ * <p>Currently, only one instance family can be specified in the list.</p>
4593
+ * </note>
4594
+ * @public
4595
+ */
4596
+ References?: PerformanceFactorReference[] | undefined;
4597
+ }
4598
+ /**
4599
+ * <p>The baseline performance to consider, using an instance family as a baseline reference.
4600
+ * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
4601
+ * baseline to guide instance type selection, but there is no guarantee that the selected
4602
+ * instance types will always exceed the baseline for every application.</p>
4603
+ * <p>Currently, this parameter only supports CPU performance as a baseline performance
4604
+ * factor. For example, specifying <code>c6i</code> would use the CPU performance of the
4605
+ * <code>c6i</code> family as the baseline reference.</p>
4606
+ * @public
4607
+ */
4608
+ export interface BaselinePerformanceFactors {
4609
+ /**
4610
+ * <p>The CPU performance to consider, using an instance family as the baseline reference.</p>
4611
+ * @public
4612
+ */
4613
+ Cpu?: CpuPerformanceFactor | undefined;
4614
+ }
4284
4615
  /**
4285
4616
  * <p>The minimum and maximum amount of memory per vCPU, in GiB.</p>
4286
4617
  * <p></p>
@@ -4797,6 +5128,16 @@ export interface InstanceRequirements {
4797
5128
  * @public
4798
5129
  */
4799
5130
  MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
5131
+ /**
5132
+ * <p>The baseline performance to consider, using an instance family as a baseline reference.
5133
+ * The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this
5134
+ * baseline to guide instance type selection, but there is no guarantee that the selected
5135
+ * instance types will always exceed the baseline for every application. Currently, this
5136
+ * parameter only supports CPU performance as a baseline performance factor. For more
5137
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection">Performance protection</a> in the <i>Amazon EC2 User Guide</i>.</p>
5138
+ * @public
5139
+ */
5140
+ BaselinePerformanceFactors?: BaselinePerformanceFactors | undefined;
4800
5141
  }
4801
5142
  /**
4802
5143
  * <p>Describes the placement of an instance.</p>
@@ -6991,6 +7332,17 @@ export interface CreateIpamResourceDiscoveryRequest {
6991
7332
  */
6992
7333
  ClientToken?: string | undefined;
6993
7334
  }
7335
+ /**
7336
+ * <p>If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion.</p>
7337
+ * @public
7338
+ */
7339
+ export interface IpamOrganizationalUnitExclusion {
7340
+ /**
7341
+ * <p>An Amazon Web Services Organizations entity path. For more information on the entity path, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_last-accessed-view-data-orgs.html#access_policies_access-advisor-viewing-orgs-entity-path">Understand the Amazon Web Services Organizations entity path</a> in the <i>Amazon Web Services Identity and Access Management User Guide</i>.</p>
7342
+ * @public
7343
+ */
7344
+ OrganizationsEntityPath?: string | undefined;
7345
+ }
6994
7346
  /**
6995
7347
  * @public
6996
7348
  * @enum
@@ -7113,6 +7465,11 @@ export interface IpamResourceDiscovery {
7113
7465
  * @public
7114
7466
  */
7115
7467
  Tags?: Tag[] | undefined;
7468
+ /**
7469
+ * <p>If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion.</p>
7470
+ * @public
7471
+ */
7472
+ OrganizationalUnitExclusions?: IpamOrganizationalUnitExclusion[] | undefined;
7116
7473
  }
7117
7474
  /**
7118
7475
  * @public
@@ -7484,6 +7841,7 @@ export interface LaunchTemplateBlockDeviceMappingRequest {
7484
7841
  * @enum
7485
7842
  */
7486
7843
  export declare const CapacityReservationPreference: {
7844
+ readonly capacity_reservations_only: "capacity-reservations-only";
7487
7845
  readonly none: "none";
7488
7846
  readonly open: "open";
7489
7847
  };
@@ -7502,7 +7860,8 @@ export interface CapacityReservationTarget {
7502
7860
  */
7503
7861
  CapacityReservationId?: string | undefined;
7504
7862
  /**
7505
- * <p>The ARN of the Capacity Reservation resource group in which to run the instance.</p>
7863
+ * <p>The ARN of the Capacity Reservation resource group in which to run the
7864
+ * instance.</p>
7506
7865
  * @public
7507
7866
  */
7508
7867
  CapacityReservationResourceGroupArn?: string | undefined;
@@ -10692,384 +11051,6 @@ export declare const NatGatewayState: {
10692
11051
  * @public
10693
11052
  */
10694
11053
  export type NatGatewayState = (typeof NatGatewayState)[keyof typeof NatGatewayState];
10695
- /**
10696
- * <p>Describes a NAT gateway.</p>
10697
- * @public
10698
- */
10699
- export interface NatGateway {
10700
- /**
10701
- * <p>The date and time the NAT gateway was created.</p>
10702
- * @public
10703
- */
10704
- CreateTime?: Date | undefined;
10705
- /**
10706
- * <p>The date and time the NAT gateway was deleted, if applicable.</p>
10707
- * @public
10708
- */
10709
- DeleteTime?: Date | undefined;
10710
- /**
10711
- * <p>If the NAT gateway could not be created, specifies the error code for the failure.
10712
- * (<code>InsufficientFreeAddressesInSubnet</code> | <code>Gateway.NotAttached</code> |
10713
- * <code>InvalidAllocationID.NotFound</code> | <code>Resource.AlreadyAssociated</code> |
10714
- * <code>InternalError</code> | <code>InvalidSubnetID.NotFound</code>)</p>
10715
- * @public
10716
- */
10717
- FailureCode?: string | undefined;
10718
- /**
10719
- * <p>If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.</p>
10720
- * <ul>
10721
- * <li>
10722
- * <p>For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"</p>
10723
- * </li>
10724
- * <li>
10725
- * <p>For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"</p>
10726
- * </li>
10727
- * <li>
10728
- * <p>For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"</p>
10729
- * </li>
10730
- * <li>
10731
- * <p>For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"</p>
10732
- * </li>
10733
- * <li>
10734
- * <p>For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."</p>
10735
- * </li>
10736
- * <li>
10737
- * <p>For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."</p>
10738
- * </li>
10739
- * </ul>
10740
- * @public
10741
- */
10742
- FailureMessage?: string | undefined;
10743
- /**
10744
- * <p>Information about the IP addresses and network interface associated with the NAT gateway.</p>
10745
- * @public
10746
- */
10747
- NatGatewayAddresses?: NatGatewayAddress[] | undefined;
10748
- /**
10749
- * <p>The ID of the NAT gateway.</p>
10750
- * @public
10751
- */
10752
- NatGatewayId?: string | undefined;
10753
- /**
10754
- * <p>Reserved. If you need to sustain traffic greater than the <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-gateways">documented limits</a>,
10755
- * contact Amazon Web Services Support.</p>
10756
- * @public
10757
- */
10758
- ProvisionedBandwidth?: ProvisionedBandwidth | undefined;
10759
- /**
10760
- * <p>The state of the NAT gateway.</p>
10761
- * <ul>
10762
- * <li>
10763
- * <p>
10764
- * <code>pending</code>: The NAT gateway is being created and is not ready to process
10765
- * traffic.</p>
10766
- * </li>
10767
- * <li>
10768
- * <p>
10769
- * <code>failed</code>: The NAT gateway could not be created. Check the
10770
- * <code>failureCode</code> and <code>failureMessage</code> fields for the reason.</p>
10771
- * </li>
10772
- * <li>
10773
- * <p>
10774
- * <code>available</code>: The NAT gateway is able to process traffic. This status remains
10775
- * until you delete the NAT gateway, and does not indicate the health of the NAT gateway.</p>
10776
- * </li>
10777
- * <li>
10778
- * <p>
10779
- * <code>deleting</code>: The NAT gateway is in the process of being terminated and may
10780
- * still be processing traffic.</p>
10781
- * </li>
10782
- * <li>
10783
- * <p>
10784
- * <code>deleted</code>: The NAT gateway has been terminated and is no longer processing
10785
- * traffic.</p>
10786
- * </li>
10787
- * </ul>
10788
- * @public
10789
- */
10790
- State?: NatGatewayState | undefined;
10791
- /**
10792
- * <p>The ID of the subnet in which the NAT gateway is located.</p>
10793
- * @public
10794
- */
10795
- SubnetId?: string | undefined;
10796
- /**
10797
- * <p>The ID of the VPC in which the NAT gateway is located.</p>
10798
- * @public
10799
- */
10800
- VpcId?: string | undefined;
10801
- /**
10802
- * <p>The tags for the NAT gateway.</p>
10803
- * @public
10804
- */
10805
- Tags?: Tag[] | undefined;
10806
- /**
10807
- * <p>Indicates whether the NAT gateway supports public or private connectivity.</p>
10808
- * @public
10809
- */
10810
- ConnectivityType?: ConnectivityType | undefined;
10811
- }
10812
- /**
10813
- * @public
10814
- */
10815
- export interface CreateNatGatewayResult {
10816
- /**
10817
- * <p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>
10818
- * @public
10819
- */
10820
- ClientToken?: string | undefined;
10821
- /**
10822
- * <p>Information about the NAT gateway.</p>
10823
- * @public
10824
- */
10825
- NatGateway?: NatGateway | undefined;
10826
- }
10827
- /**
10828
- * @public
10829
- */
10830
- export interface CreateNetworkAclRequest {
10831
- /**
10832
- * <p>The tags to assign to the network ACL.</p>
10833
- * @public
10834
- */
10835
- TagSpecifications?: TagSpecification[] | undefined;
10836
- /**
10837
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
10838
- * request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
10839
- * @public
10840
- */
10841
- ClientToken?: string | undefined;
10842
- /**
10843
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10844
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10845
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10846
- * @public
10847
- */
10848
- DryRun?: boolean | undefined;
10849
- /**
10850
- * <p>The ID of the VPC.</p>
10851
- * @public
10852
- */
10853
- VpcId: string | undefined;
10854
- }
10855
- /**
10856
- * <p>Describes an association between a network ACL and a subnet.</p>
10857
- * @public
10858
- */
10859
- export interface NetworkAclAssociation {
10860
- /**
10861
- * <p>The ID of the association between a network ACL and a subnet.</p>
10862
- * @public
10863
- */
10864
- NetworkAclAssociationId?: string | undefined;
10865
- /**
10866
- * <p>The ID of the network ACL.</p>
10867
- * @public
10868
- */
10869
- NetworkAclId?: string | undefined;
10870
- /**
10871
- * <p>The ID of the subnet.</p>
10872
- * @public
10873
- */
10874
- SubnetId?: string | undefined;
10875
- }
10876
- /**
10877
- * <p>Describes the ICMP type and code.</p>
10878
- * @public
10879
- */
10880
- export interface IcmpTypeCode {
10881
- /**
10882
- * <p>The ICMP code. A value of -1 means all codes for the specified ICMP type.</p>
10883
- * @public
10884
- */
10885
- Code?: number | undefined;
10886
- /**
10887
- * <p>The ICMP type. A value of -1 means all types.</p>
10888
- * @public
10889
- */
10890
- Type?: number | undefined;
10891
- }
10892
- /**
10893
- * @public
10894
- * @enum
10895
- */
10896
- export declare const RuleAction: {
10897
- readonly allow: "allow";
10898
- readonly deny: "deny";
10899
- };
10900
- /**
10901
- * @public
10902
- */
10903
- export type RuleAction = (typeof RuleAction)[keyof typeof RuleAction];
10904
- /**
10905
- * <p>Describes an entry in a network ACL.</p>
10906
- * @public
10907
- */
10908
- export interface NetworkAclEntry {
10909
- /**
10910
- * <p>The IPv4 network range to allow or deny, in CIDR notation.</p>
10911
- * @public
10912
- */
10913
- CidrBlock?: string | undefined;
10914
- /**
10915
- * <p>Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).</p>
10916
- * @public
10917
- */
10918
- Egress?: boolean | undefined;
10919
- /**
10920
- * <p>ICMP protocol: The ICMP type and code.</p>
10921
- * @public
10922
- */
10923
- IcmpTypeCode?: IcmpTypeCode | undefined;
10924
- /**
10925
- * <p>The IPv6 network range to allow or deny, in CIDR notation.</p>
10926
- * @public
10927
- */
10928
- Ipv6CidrBlock?: string | undefined;
10929
- /**
10930
- * <p>TCP or UDP protocols: The range of ports the rule applies to.</p>
10931
- * @public
10932
- */
10933
- PortRange?: PortRange | undefined;
10934
- /**
10935
- * <p>The protocol number. A value of "-1" means all protocols.</p>
10936
- * @public
10937
- */
10938
- Protocol?: string | undefined;
10939
- /**
10940
- * <p>Indicates whether to allow or deny the traffic that matches the rule.</p>
10941
- * @public
10942
- */
10943
- RuleAction?: RuleAction | undefined;
10944
- /**
10945
- * <p>The rule number for the entry. ACL entries are processed in ascending order by rule number.</p>
10946
- * @public
10947
- */
10948
- RuleNumber?: number | undefined;
10949
- }
10950
- /**
10951
- * <p>Describes a network ACL.</p>
10952
- * @public
10953
- */
10954
- export interface NetworkAcl {
10955
- /**
10956
- * <p>Any associations between the network ACL and your subnets</p>
10957
- * @public
10958
- */
10959
- Associations?: NetworkAclAssociation[] | undefined;
10960
- /**
10961
- * <p>The entries (rules) in the network ACL.</p>
10962
- * @public
10963
- */
10964
- Entries?: NetworkAclEntry[] | undefined;
10965
- /**
10966
- * <p>Indicates whether this is the default network ACL for the VPC.</p>
10967
- * @public
10968
- */
10969
- IsDefault?: boolean | undefined;
10970
- /**
10971
- * <p>The ID of the network ACL.</p>
10972
- * @public
10973
- */
10974
- NetworkAclId?: string | undefined;
10975
- /**
10976
- * <p>Any tags assigned to the network ACL.</p>
10977
- * @public
10978
- */
10979
- Tags?: Tag[] | undefined;
10980
- /**
10981
- * <p>The ID of the VPC for the network ACL.</p>
10982
- * @public
10983
- */
10984
- VpcId?: string | undefined;
10985
- /**
10986
- * <p>The ID of the Amazon Web Services account that owns the network ACL.</p>
10987
- * @public
10988
- */
10989
- OwnerId?: string | undefined;
10990
- }
10991
- /**
10992
- * @public
10993
- */
10994
- export interface CreateNetworkAclResult {
10995
- /**
10996
- * <p>Information about the network ACL.</p>
10997
- * @public
10998
- */
10999
- NetworkAcl?: NetworkAcl | undefined;
11000
- /**
11001
- * <p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>
11002
- * @public
11003
- */
11004
- ClientToken?: string | undefined;
11005
- }
11006
- /**
11007
- * @public
11008
- */
11009
- export interface CreateNetworkAclEntryRequest {
11010
- /**
11011
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11012
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11013
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11014
- * @public
11015
- */
11016
- DryRun?: boolean | undefined;
11017
- /**
11018
- * <p>The ID of the network ACL.</p>
11019
- * @public
11020
- */
11021
- NetworkAclId: string | undefined;
11022
- /**
11023
- * <p>The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.</p>
11024
- * <p>Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use.</p>
11025
- * @public
11026
- */
11027
- RuleNumber: number | undefined;
11028
- /**
11029
- * <p>The protocol number. A value of "-1" means all protocols. If you specify "-1" or a
11030
- * protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is
11031
- * allowed, regardless of any ports or ICMP types or codes that you specify. If you specify
11032
- * protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and
11033
- * codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6)
11034
- * and specify an IPv6 CIDR block, you must specify an ICMP type and code.</p>
11035
- * @public
11036
- */
11037
- Protocol: string | undefined;
11038
- /**
11039
- * <p>Indicates whether to allow or deny the traffic that matches the rule.</p>
11040
- * @public
11041
- */
11042
- RuleAction: RuleAction | undefined;
11043
- /**
11044
- * <p>Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).</p>
11045
- * @public
11046
- */
11047
- Egress: boolean | undefined;
11048
- /**
11049
- * <p>The IPv4 network range to allow or deny, in CIDR notation (for example
11050
- * <code>172.16.0.0/24</code>). We modify the specified CIDR block to its canonical form; for example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>
11051
- * @public
11052
- */
11053
- CidrBlock?: string | undefined;
11054
- /**
11055
- * <p>The IPv6 network range to allow or deny, in CIDR notation (for example
11056
- * <code>2001:db8:1234:1a00::/64</code>).</p>
11057
- * @public
11058
- */
11059
- Ipv6CidrBlock?: string | undefined;
11060
- /**
11061
- * <p>ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol
11062
- * 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.</p>
11063
- * @public
11064
- */
11065
- IcmpTypeCode?: IcmpTypeCode | undefined;
11066
- /**
11067
- * <p>TCP or UDP protocols: The range of ports the rule applies to.
11068
- * Required if specifying protocol 6 (TCP) or 17 (UDP).</p>
11069
- * @public
11070
- */
11071
- PortRange?: PortRange | undefined;
11072
- }
11073
11054
  /**
11074
11055
  * @internal
11075
11056
  */