@aws-sdk/client-ec2 3.937.0 → 3.938.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 (75) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +357 -52
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/CreateInterruptibleCapacityReservationAllocationCommand.js +16 -0
  5. package/dist-es/commands/UpdateInterruptibleCapacityReservationAllocationCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +13 -0
  8. package/dist-es/schemas/schemas_0.js +314 -52
  9. package/dist-types/EC2.d.ts +14 -0
  10. package/dist-types/EC2Client.d.ts +4 -2
  11. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +24 -0
  12. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +12 -0
  13. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
  14. package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +93 -0
  15. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  17. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +2 -1
  18. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +12 -0
  22. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +7 -0
  24. package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -1
  25. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -1
  27. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +12 -0
  28. package/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +2 -1
  29. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -2
  30. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  31. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +2 -1
  32. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  34. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +24 -0
  35. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +12 -0
  36. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  37. package/dist-types/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +83 -0
  38. package/dist-types/commands/index.d.ts +2 -0
  39. package/dist-types/models/enums.d.ts +29 -0
  40. package/dist-types/models/models_0.d.ts +90 -37
  41. package/dist-types/models/models_1.d.ts +108 -74
  42. package/dist-types/models/models_2.d.ts +73 -65
  43. package/dist-types/models/models_3.d.ts +68 -182
  44. package/dist-types/models/models_4.d.ts +182 -97
  45. package/dist-types/models/models_5.d.ts +117 -158
  46. package/dist-types/models/models_6.d.ts +160 -151
  47. package/dist-types/models/models_7.d.ts +222 -3
  48. package/dist-types/schemas/schemas_0.d.ts +8 -0
  49. package/dist-types/ts3.4/EC2.d.ts +46 -0
  50. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  51. package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +2 -4
  61. package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  65. package/dist-types/ts3.4/models/enums.d.ts +17 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +16 -8
  67. package/dist-types/ts3.4/models/models_1.d.ts +24 -17
  68. package/dist-types/ts3.4/models/models_2.d.ts +17 -18
  69. package/dist-types/ts3.4/models/models_3.d.ts +21 -43
  70. package/dist-types/ts3.4/models/models_4.d.ts +47 -30
  71. package/dist-types/ts3.4/models/models_5.d.ts +37 -34
  72. package/dist-types/ts3.4/models/models_6.d.ts +33 -25
  73. package/dist-types/ts3.4/models/models_7.d.ts +42 -1
  74. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  75. package/package.json +1 -1
@@ -50,7 +50,6 @@ import {
50
50
  FpgaImageAttributeName,
51
51
  FpgaImageStateCode,
52
52
  HostMaintenance,
53
- HostnameType,
54
53
  HostRecovery,
55
54
  HttpTokensState,
56
55
  HypervisorType,
@@ -62,7 +61,6 @@ import {
62
61
  ImdsSupportValues,
63
62
  InstanceAttributeName,
64
63
  InstanceAutoRecoveryState,
65
- InstanceBandwidthWeighting,
66
64
  InstanceLifecycle,
67
65
  InstanceMetadataEndpointState,
68
66
  InstanceMetadataOptionsState,
@@ -75,7 +73,6 @@ import {
75
73
  LogDestinationType,
76
74
  MetricType,
77
75
  MonitoringState,
78
- NetworkInterfaceStatus,
79
76
  OutputFormat,
80
77
  PaymentOption,
81
78
  PeriodType,
@@ -104,7 +101,6 @@ import {
104
101
  AddressAttribute,
105
102
  AddressTransfer,
106
103
  AssociationStatus,
107
- AttributeValue,
108
104
  BundleTask,
109
105
  ByoipCidr,
110
106
  CapacityReservation,
@@ -126,6 +122,7 @@ import {
126
122
  VpcEncryptionControl,
127
123
  } from "./models_0";
128
124
  import {
125
+ AttributeValue,
129
126
  BlockDeviceMapping,
130
127
  CapacityReservationTargetResponse,
131
128
  DhcpOptions,
@@ -135,17 +132,36 @@ import {
135
132
  FleetLaunchTemplateOverrides,
136
133
  FleetLaunchTemplateSpecification,
137
134
  GroupIdentifier,
138
- InstanceIpv6Address,
139
135
  LaunchTemplateAndOverridesResponse,
140
136
  StateReason,
141
137
  } from "./models_1";
142
138
  import {
139
+ TransitGatewayPrefixListReference,
140
+ TransitGatewayRoute,
143
141
  TransitGatewayRouteTable,
144
142
  TransitGatewayRouteTableAnnouncement,
145
143
  VerifiedAccessEndpoint,
146
144
  VerifiedAccessGroup,
147
145
  VpcBlockPublicAccessExclusion,
148
146
  } from "./models_2";
147
+ export interface DeleteTransitGatewayPrefixListReferenceRequest {
148
+ TransitGatewayRouteTableId: string | undefined;
149
+ PrefixListId: string | undefined;
150
+ DryRun?: boolean | undefined;
151
+ }
152
+ export interface DeleteTransitGatewayPrefixListReferenceResult {
153
+ TransitGatewayPrefixListReference?:
154
+ | TransitGatewayPrefixListReference
155
+ | undefined;
156
+ }
157
+ export interface DeleteTransitGatewayRouteRequest {
158
+ TransitGatewayRouteTableId: string | undefined;
159
+ DestinationCidrBlock: string | undefined;
160
+ DryRun?: boolean | undefined;
161
+ }
162
+ export interface DeleteTransitGatewayRouteResult {
163
+ Route?: TransitGatewayRoute | undefined;
164
+ }
149
165
  export interface DeleteTransitGatewayRouteTableRequest {
150
166
  TransitGatewayRouteTableId: string | undefined;
151
167
  DryRun?: boolean | undefined;
@@ -1947,41 +1963,3 @@ export interface InstanceIpv4Prefix {
1947
1963
  export interface InstanceIpv6Prefix {
1948
1964
  Ipv6Prefix?: string | undefined;
1949
1965
  }
1950
- export interface InstancePrivateIpAddress {
1951
- Association?: InstanceNetworkInterfaceAssociation | undefined;
1952
- Primary?: boolean | undefined;
1953
- PrivateDnsName?: string | undefined;
1954
- PrivateIpAddress?: string | undefined;
1955
- }
1956
- export interface InstanceNetworkInterface {
1957
- Association?: InstanceNetworkInterfaceAssociation | undefined;
1958
- Attachment?: InstanceNetworkInterfaceAttachment | undefined;
1959
- Description?: string | undefined;
1960
- Groups?: GroupIdentifier[] | undefined;
1961
- Ipv6Addresses?: InstanceIpv6Address[] | undefined;
1962
- MacAddress?: string | undefined;
1963
- NetworkInterfaceId?: string | undefined;
1964
- OwnerId?: string | undefined;
1965
- PrivateDnsName?: string | undefined;
1966
- PrivateIpAddress?: string | undefined;
1967
- PrivateIpAddresses?: InstancePrivateIpAddress[] | undefined;
1968
- SourceDestCheck?: boolean | undefined;
1969
- Status?: NetworkInterfaceStatus | undefined;
1970
- SubnetId?: string | undefined;
1971
- VpcId?: string | undefined;
1972
- InterfaceType?: string | undefined;
1973
- Ipv4Prefixes?: InstanceIpv4Prefix[] | undefined;
1974
- Ipv6Prefixes?: InstanceIpv6Prefix[] | undefined;
1975
- ConnectionTrackingConfiguration?:
1976
- | ConnectionTrackingSpecificationResponse
1977
- | undefined;
1978
- Operator?: OperatorResponse | undefined;
1979
- }
1980
- export interface InstanceNetworkPerformanceOptions {
1981
- BandwidthWeighting?: InstanceBandwidthWeighting | undefined;
1982
- }
1983
- export interface PrivateDnsNameOptionsResponse {
1984
- HostnameType?: HostnameType | undefined;
1985
- EnableResourceNameDnsARecord?: boolean | undefined;
1986
- EnableResourceNameDnsAAAARecord?: boolean | undefined;
1987
- }
@@ -25,7 +25,9 @@ import {
25
25
  FleetType,
26
26
  FlexibleEnaQueuesSupport,
27
27
  HaStatus,
28
+ HostnameType,
28
29
  HypervisorType,
30
+ InstanceBandwidthWeighting,
29
31
  InstanceBootModeValues,
30
32
  InstanceInterruptionBehavior,
31
33
  InstanceLifecycleType,
@@ -36,6 +38,7 @@ import {
36
38
  LockState,
37
39
  MoveStatus,
38
40
  NetworkInterfaceAttribute,
41
+ NetworkInterfaceStatus,
39
42
  NitroEnclavesSupport,
40
43
  NitroTpmSupport,
41
44
  OfferingClassType,
@@ -78,7 +81,6 @@ import {
78
81
  import {
79
82
  ActiveInstance,
80
83
  AlternatePathHint,
81
- AttributeValue,
82
84
  Explanation,
83
85
  IamInstanceProfile,
84
86
  IamInstanceProfileSpecification,
@@ -98,6 +100,7 @@ import {
98
100
  UserIdGroupPair,
99
101
  } from "./models_0";
100
102
  import {
103
+ AttributeValue,
101
104
  BlockDeviceMapping,
102
105
  ConnectionTrackingSpecificationRequest,
103
106
  EnaSrdSpecificationRequest,
@@ -164,6 +167,7 @@ import {
164
167
  AttributeBooleanValue,
165
168
  Byoasn,
166
169
  CapacityReservationSpecificationResponse,
170
+ ConnectionTrackingSpecificationResponse,
167
171
  CpuOptions,
168
172
  ElasticGpuAssociation,
169
173
  ElasticInferenceAcceleratorAssociation,
@@ -173,16 +177,55 @@ import {
173
177
  HibernationOptions,
174
178
  IdFormat,
175
179
  InstanceBlockDeviceMapping,
180
+ InstanceIpv4Prefix,
181
+ InstanceIpv6Prefix,
176
182
  InstanceMaintenanceOptions,
177
183
  InstanceMetadataOptionsResponse,
178
- InstanceNetworkInterface,
179
- InstanceNetworkPerformanceOptions,
184
+ InstanceNetworkInterfaceAssociation,
185
+ InstanceNetworkInterfaceAttachment,
180
186
  InstanceState,
181
187
  LicenseConfiguration,
182
188
  Monitoring,
183
- PrivateDnsNameOptionsResponse,
184
189
  ProductCode,
185
190
  } from "./models_3";
191
+ export interface InstancePrivateIpAddress {
192
+ Association?: InstanceNetworkInterfaceAssociation | undefined;
193
+ Primary?: boolean | undefined;
194
+ PrivateDnsName?: string | undefined;
195
+ PrivateIpAddress?: string | undefined;
196
+ }
197
+ export interface InstanceNetworkInterface {
198
+ Association?: InstanceNetworkInterfaceAssociation | undefined;
199
+ Attachment?: InstanceNetworkInterfaceAttachment | undefined;
200
+ Description?: string | undefined;
201
+ Groups?: GroupIdentifier[] | undefined;
202
+ Ipv6Addresses?: InstanceIpv6Address[] | undefined;
203
+ MacAddress?: string | undefined;
204
+ NetworkInterfaceId?: string | undefined;
205
+ OwnerId?: string | undefined;
206
+ PrivateDnsName?: string | undefined;
207
+ PrivateIpAddress?: string | undefined;
208
+ PrivateIpAddresses?: InstancePrivateIpAddress[] | undefined;
209
+ SourceDestCheck?: boolean | undefined;
210
+ Status?: NetworkInterfaceStatus | undefined;
211
+ SubnetId?: string | undefined;
212
+ VpcId?: string | undefined;
213
+ InterfaceType?: string | undefined;
214
+ Ipv4Prefixes?: InstanceIpv4Prefix[] | undefined;
215
+ Ipv6Prefixes?: InstanceIpv6Prefix[] | undefined;
216
+ ConnectionTrackingConfiguration?:
217
+ | ConnectionTrackingSpecificationResponse
218
+ | undefined;
219
+ Operator?: OperatorResponse | undefined;
220
+ }
221
+ export interface InstanceNetworkPerformanceOptions {
222
+ BandwidthWeighting?: InstanceBandwidthWeighting | undefined;
223
+ }
224
+ export interface PrivateDnsNameOptionsResponse {
225
+ HostnameType?: HostnameType | undefined;
226
+ EnableResourceNameDnsARecord?: boolean | undefined;
227
+ EnableResourceNameDnsAAAARecord?: boolean | undefined;
228
+ }
186
229
  export interface Instance {
187
230
  Architecture?: ArchitectureValues | undefined;
188
231
  BlockDeviceMappings?: InstanceBlockDeviceMapping[] | undefined;
@@ -2134,29 +2177,3 @@ export interface VerifiedAccessLogKinesisDataFirehoseDestination {
2134
2177
  DeliveryStatus?: VerifiedAccessLogDeliveryStatus | undefined;
2135
2178
  DeliveryStream?: string | undefined;
2136
2179
  }
2137
- export interface VerifiedAccessLogS3Destination {
2138
- Enabled?: boolean | undefined;
2139
- DeliveryStatus?: VerifiedAccessLogDeliveryStatus | undefined;
2140
- BucketName?: string | undefined;
2141
- Prefix?: string | undefined;
2142
- BucketOwner?: string | undefined;
2143
- }
2144
- export interface VerifiedAccessLogs {
2145
- S3?: VerifiedAccessLogS3Destination | undefined;
2146
- CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination | undefined;
2147
- KinesisDataFirehose?:
2148
- | VerifiedAccessLogKinesisDataFirehoseDestination
2149
- | undefined;
2150
- LogVersion?: string | undefined;
2151
- IncludeTrustContext?: boolean | undefined;
2152
- }
2153
- export interface VerifiedAccessInstanceLoggingConfiguration {
2154
- VerifiedAccessInstanceId?: string | undefined;
2155
- AccessLogs?: VerifiedAccessLogs | undefined;
2156
- }
2157
- export interface DescribeVerifiedAccessInstanceLoggingConfigurationsResult {
2158
- LoggingConfigurations?:
2159
- | VerifiedAccessInstanceLoggingConfiguration[]
2160
- | undefined;
2161
- NextToken?: string | undefined;
2162
- }
@@ -27,10 +27,6 @@ import {
27
27
  InstanceMetadataTagsState,
28
28
  InternetGatewayBlockMode,
29
29
  IpAddressType,
30
- IpamAddressHistoryResourceType,
31
- IpamComplianceStatus,
32
- IpamDiscoveryFailureCode,
33
- IpamOverlapStatus,
34
30
  IpamPolicyManagedBy,
35
31
  ManagedBy,
36
32
  Metric,
@@ -71,6 +67,8 @@ import {
71
67
  AssociationStatus,
72
68
  IamInstanceProfileAssociation,
73
69
  InstanceEventWindow,
70
+ InterruptibleCapacityAllocation,
71
+ InterruptionInfo,
74
72
  IpamResourceDiscoveryAssociation,
75
73
  NatGatewayAddress,
76
74
  RouteServerAssociation,
@@ -109,7 +107,38 @@ import {
109
107
  Filter,
110
108
  ProductCode,
111
109
  } from "./models_3";
112
- import { RegisteredInstance } from "./models_4";
110
+ import {
111
+ RegisteredInstance,
112
+ VerifiedAccessLogCloudWatchLogsDestination,
113
+ VerifiedAccessLogDeliveryStatus,
114
+ VerifiedAccessLogKinesisDataFirehoseDestination,
115
+ } from "./models_4";
116
+ export interface VerifiedAccessLogS3Destination {
117
+ Enabled?: boolean | undefined;
118
+ DeliveryStatus?: VerifiedAccessLogDeliveryStatus | undefined;
119
+ BucketName?: string | undefined;
120
+ Prefix?: string | undefined;
121
+ BucketOwner?: string | undefined;
122
+ }
123
+ export interface VerifiedAccessLogs {
124
+ S3?: VerifiedAccessLogS3Destination | undefined;
125
+ CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination | undefined;
126
+ KinesisDataFirehose?:
127
+ | VerifiedAccessLogKinesisDataFirehoseDestination
128
+ | undefined;
129
+ LogVersion?: string | undefined;
130
+ IncludeTrustContext?: boolean | undefined;
131
+ }
132
+ export interface VerifiedAccessInstanceLoggingConfiguration {
133
+ VerifiedAccessInstanceId?: string | undefined;
134
+ AccessLogs?: VerifiedAccessLogs | undefined;
135
+ }
136
+ export interface DescribeVerifiedAccessInstanceLoggingConfigurationsResult {
137
+ LoggingConfigurations?:
138
+ | VerifiedAccessInstanceLoggingConfiguration[]
139
+ | undefined;
140
+ NextToken?: string | undefined;
141
+ }
113
142
  export interface DescribeVerifiedAccessInstancesRequest {
114
143
  VerifiedAccessInstanceIds?: string[] | undefined;
115
144
  MaxResults?: number | undefined;
@@ -1366,6 +1395,9 @@ export interface GetCapacityReservationUsageResult {
1366
1395
  AvailableInstanceCount?: number | undefined;
1367
1396
  State?: CapacityReservationState | undefined;
1368
1397
  InstanceUsages?: InstanceUsage[] | undefined;
1398
+ Interruptible?: boolean | undefined;
1399
+ InterruptibleCapacityAllocation?: InterruptibleCapacityAllocation | undefined;
1400
+ InterruptionInfo?: InterruptionInfo | undefined;
1369
1401
  }
1370
1402
  export interface GetCoipPoolUsageRequest {
1371
1403
  PoolId: string | undefined;
@@ -1599,32 +1631,3 @@ export interface GetIpamAddressHistoryRequest {
1599
1631
  MaxResults?: number | undefined;
1600
1632
  NextToken?: string | undefined;
1601
1633
  }
1602
- export interface IpamAddressHistoryRecord {
1603
- ResourceOwnerId?: string | undefined;
1604
- ResourceRegion?: string | undefined;
1605
- ResourceType?: IpamAddressHistoryResourceType | undefined;
1606
- ResourceId?: string | undefined;
1607
- ResourceCidr?: string | undefined;
1608
- ResourceName?: string | undefined;
1609
- ResourceComplianceStatus?: IpamComplianceStatus | undefined;
1610
- ResourceOverlapStatus?: IpamOverlapStatus | undefined;
1611
- VpcId?: string | undefined;
1612
- SampledStartTime?: Date | undefined;
1613
- SampledEndTime?: Date | undefined;
1614
- }
1615
- export interface GetIpamAddressHistoryResult {
1616
- HistoryRecords?: IpamAddressHistoryRecord[] | undefined;
1617
- NextToken?: string | undefined;
1618
- }
1619
- export interface GetIpamDiscoveredAccountsRequest {
1620
- DryRun?: boolean | undefined;
1621
- IpamResourceDiscoveryId: string | undefined;
1622
- DiscoveryRegion: string | undefined;
1623
- Filters?: Filter[] | undefined;
1624
- NextToken?: string | undefined;
1625
- MaxResults?: number | undefined;
1626
- }
1627
- export interface IpamDiscoveryFailureReason {
1628
- Code?: IpamDiscoveryFailureCode | undefined;
1629
- Message?: string | undefined;
1630
- }
@@ -34,7 +34,9 @@ import {
34
34
  InstanceMetadataTagsState,
35
35
  InstanceRebootMigrationState,
36
36
  IpAddressType,
37
+ IpamAddressHistoryResourceType,
37
38
  IpamComplianceStatus,
39
+ IpamDiscoveryFailureCode,
38
40
  IpamManagementState,
39
41
  IpamMeteredAccount,
40
42
  IpamNetworkInterfaceAttachmentStatus,
@@ -90,7 +92,6 @@ import {
90
92
  AddIpamOrganizationalUnitExclusion,
91
93
  AddPrefixListEntry,
92
94
  AddressAttribute,
93
- AttributeValue,
94
95
  ClientConnectOptions,
95
96
  ClientLoginBannerOptions,
96
97
  ClientRouteEnforcementOptions,
@@ -109,9 +110,9 @@ import {
109
110
  UnsuccessfulItem,
110
111
  VerifiedAccessInstance,
111
112
  VerifiedAccessSseSpecificationResponse,
112
- VerifiedAccessTrustProvider,
113
113
  } from "./models_0";
114
114
  import {
115
+ AttributeValue,
115
116
  CapacityReservationTarget,
116
117
  ConnectionTrackingSpecificationRequest,
117
118
  ExternalAuthorityConfiguration,
@@ -167,14 +168,41 @@ import {
167
168
  InstanceStatusEvent,
168
169
  LaunchTemplateConfig,
169
170
  ReservedInstancesConfiguration,
170
- VerifiedAccessInstanceLoggingConfiguration,
171
171
  } from "./models_4";
172
172
  import {
173
173
  InstanceFamilyCreditSpecification,
174
- IpamDiscoveryFailureReason,
175
174
  RouteServerPropagation,
176
- VolumeModification,
175
+ VerifiedAccessInstanceLoggingConfiguration,
177
176
  } from "./models_5";
177
+ export interface IpamAddressHistoryRecord {
178
+ ResourceOwnerId?: string | undefined;
179
+ ResourceRegion?: string | undefined;
180
+ ResourceType?: IpamAddressHistoryResourceType | undefined;
181
+ ResourceId?: string | undefined;
182
+ ResourceCidr?: string | undefined;
183
+ ResourceName?: string | undefined;
184
+ ResourceComplianceStatus?: IpamComplianceStatus | undefined;
185
+ ResourceOverlapStatus?: IpamOverlapStatus | undefined;
186
+ VpcId?: string | undefined;
187
+ SampledStartTime?: Date | undefined;
188
+ SampledEndTime?: Date | undefined;
189
+ }
190
+ export interface GetIpamAddressHistoryResult {
191
+ HistoryRecords?: IpamAddressHistoryRecord[] | undefined;
192
+ NextToken?: string | undefined;
193
+ }
194
+ export interface GetIpamDiscoveredAccountsRequest {
195
+ DryRun?: boolean | undefined;
196
+ IpamResourceDiscoveryId: string | undefined;
197
+ DiscoveryRegion: string | undefined;
198
+ Filters?: Filter[] | undefined;
199
+ NextToken?: string | undefined;
200
+ MaxResults?: number | undefined;
201
+ }
202
+ export interface IpamDiscoveryFailureReason {
203
+ Code?: IpamDiscoveryFailureCode | undefined;
204
+ Message?: string | undefined;
205
+ }
178
206
  export interface IpamDiscoveredAccount {
179
207
  AccountId?: string | undefined;
180
208
  DiscoveryRegion?: string | undefined;
@@ -1935,23 +1963,3 @@ export interface ModifyVerifiedAccessTrustProviderRequest {
1935
1963
  | ModifyVerifiedAccessNativeApplicationOidcOptions
1936
1964
  | undefined;
1937
1965
  }
1938
- export interface ModifyVerifiedAccessTrustProviderResult {
1939
- VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider | undefined;
1940
- }
1941
- export interface ModifyVolumeRequest {
1942
- DryRun?: boolean | undefined;
1943
- VolumeId: string | undefined;
1944
- Size?: number | undefined;
1945
- VolumeType?: VolumeType | undefined;
1946
- Iops?: number | undefined;
1947
- Throughput?: number | undefined;
1948
- MultiAttachEnabled?: boolean | undefined;
1949
- }
1950
- export interface ModifyVolumeResult {
1951
- VolumeModification?: VolumeModification | undefined;
1952
- }
1953
- export interface ModifyVolumeAttributeRequest {
1954
- AutoEnableIO?: AttributeBooleanValue | undefined;
1955
- VolumeId: string | undefined;
1956
- DryRun?: boolean | undefined;
1957
- }
@@ -19,6 +19,8 @@ import {
19
19
  InstanceMetadataTagsState,
20
20
  InternetGatewayBlockMode,
21
21
  InternetGatewayExclusionMode,
22
+ InterruptibleCapacityReservationAllocationStatus,
23
+ InterruptionType,
22
24
  IpAddressType,
23
25
  MarketType,
24
26
  MembershipType,
@@ -37,6 +39,7 @@ import {
37
39
  TpmSupportValues,
38
40
  TransitGatewayAttachmentResourceType,
39
41
  VerificationMethod,
42
+ VolumeType,
40
43
  VpcEncryptionControlExclusionStateInput,
41
44
  VpcEncryptionControlMode,
42
45
  VpcTenancy,
@@ -58,6 +61,7 @@ import {
58
61
  TransitGatewayPeeringAttachment,
59
62
  TransitGatewayVpcAttachment,
60
63
  UnsuccessfulItem,
64
+ VerifiedAccessTrustProvider,
61
65
  VpcEncryptionControl,
62
66
  } from "./models_0";
63
67
  import {
@@ -109,8 +113,32 @@ import {
109
113
  SpotInstanceRequest,
110
114
  SpotPlacement,
111
115
  } from "./models_4";
112
- import { Purchase, VpcBlockPublicAccessOptions } from "./models_5";
116
+ import {
117
+ Purchase,
118
+ VolumeModification,
119
+ VpcBlockPublicAccessOptions,
120
+ } from "./models_5";
113
121
  import { CapacityReservationSpecification } from "./models_6";
122
+ export interface ModifyVerifiedAccessTrustProviderResult {
123
+ VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider | undefined;
124
+ }
125
+ export interface ModifyVolumeRequest {
126
+ DryRun?: boolean | undefined;
127
+ VolumeId: string | undefined;
128
+ Size?: number | undefined;
129
+ VolumeType?: VolumeType | undefined;
130
+ Iops?: number | undefined;
131
+ Throughput?: number | undefined;
132
+ MultiAttachEnabled?: boolean | undefined;
133
+ }
134
+ export interface ModifyVolumeResult {
135
+ VolumeModification?: VolumeModification | undefined;
136
+ }
137
+ export interface ModifyVolumeAttributeRequest {
138
+ AutoEnableIO?: AttributeBooleanValue | undefined;
139
+ VolumeId: string | undefined;
140
+ DryRun?: boolean | undefined;
141
+ }
114
142
  export interface ModifyVpcAttributeRequest {
115
143
  EnableDnsHostnames?: AttributeBooleanValue | undefined;
116
144
  EnableDnsSupport?: AttributeBooleanValue | undefined;
@@ -1283,6 +1311,19 @@ export interface UpdateCapacityManagerOrganizationsAccessResult {
1283
1311
  CapacityManagerStatus?: CapacityManagerStatus | undefined;
1284
1312
  OrganizationsAccess?: boolean | undefined;
1285
1313
  }
1314
+ export interface UpdateInterruptibleCapacityReservationAllocationRequest {
1315
+ CapacityReservationId: string | undefined;
1316
+ TargetInstanceCount: number | undefined;
1317
+ DryRun?: boolean | undefined;
1318
+ }
1319
+ export interface UpdateInterruptibleCapacityReservationAllocationResult {
1320
+ InterruptibleCapacityReservationId?: string | undefined;
1321
+ SourceCapacityReservationId?: string | undefined;
1322
+ InstanceCount?: number | undefined;
1323
+ TargetInstanceCount?: number | undefined;
1324
+ Status?: InterruptibleCapacityReservationAllocationStatus | undefined;
1325
+ InterruptionType?: InterruptionType | undefined;
1326
+ }
1286
1327
  export interface SecurityGroupRuleDescription {
1287
1328
  SecurityGroupRuleId?: string | undefined;
1288
1329
  Description?: string | undefined;
@@ -316,6 +316,8 @@ export declare var CreateInstanceExportTaskRequest: StaticStructureSchema;
316
316
  export declare var CreateInstanceExportTaskResult: StaticStructureSchema;
317
317
  export declare var CreateInternetGatewayRequest: StaticStructureSchema;
318
318
  export declare var CreateInternetGatewayResult: StaticStructureSchema;
319
+ export declare var CreateInterruptibleCapacityReservationAllocationRequest: StaticStructureSchema;
320
+ export declare var CreateInterruptibleCapacityReservationAllocationResult: StaticStructureSchema;
319
321
  export declare var CreateIpamExternalResourceVerificationTokenRequest: StaticStructureSchema;
320
322
  export declare var CreateIpamExternalResourceVerificationTokenResult: StaticStructureSchema;
321
323
  export declare var CreateIpamPolicyRequest: StaticStructureSchema;
@@ -1524,6 +1526,8 @@ export declare var InstanceUsage: StaticStructureSchema;
1524
1526
  export declare var IntegrateServices: StaticStructureSchema;
1525
1527
  export declare var InternetGateway: StaticStructureSchema;
1526
1528
  export declare var InternetGatewayAttachment: StaticStructureSchema;
1529
+ export declare var InterruptibleCapacityAllocation: StaticStructureSchema;
1530
+ export declare var InterruptionInfo: StaticStructureSchema;
1527
1531
  export declare var Ipam: StaticStructureSchema;
1528
1532
  export declare var IpamAddressHistoryRecord: StaticStructureSchema;
1529
1533
  export declare var IpamCidrAuthorizationContext: StaticStructureSchema;
@@ -2247,6 +2251,8 @@ export declare var UnsuccessfulItem: StaticStructureSchema;
2247
2251
  export declare var UnsuccessfulItemError: StaticStructureSchema;
2248
2252
  export declare var UpdateCapacityManagerOrganizationsAccessRequest: StaticStructureSchema;
2249
2253
  export declare var UpdateCapacityManagerOrganizationsAccessResult: StaticStructureSchema;
2254
+ export declare var UpdateInterruptibleCapacityReservationAllocationRequest: StaticStructureSchema;
2255
+ export declare var UpdateInterruptibleCapacityReservationAllocationResult: StaticStructureSchema;
2250
2256
  export declare var UpdateSecurityGroupRuleDescriptionsEgressRequest: StaticStructureSchema;
2251
2257
  export declare var UpdateSecurityGroupRuleDescriptionsEgressResult: StaticStructureSchema;
2252
2258
  export declare var UpdateSecurityGroupRuleDescriptionsIngressRequest: StaticStructureSchema;
@@ -3127,6 +3133,7 @@ export declare var CreateInstanceConnectEndpoint: StaticOperationSchema;
3127
3133
  export declare var CreateInstanceEventWindow: StaticOperationSchema;
3128
3134
  export declare var CreateInstanceExportTask: StaticOperationSchema;
3129
3135
  export declare var CreateInternetGateway: StaticOperationSchema;
3136
+ export declare var CreateInterruptibleCapacityReservationAllocation: StaticOperationSchema;
3130
3137
  export declare var CreateIpam: StaticOperationSchema;
3131
3138
  export declare var CreateIpamExternalResourceVerificationToken: StaticOperationSchema;
3132
3139
  export declare var CreateIpamPolicy: StaticOperationSchema;
@@ -3786,6 +3793,7 @@ export declare var UnassignPrivateNatGatewayAddress: StaticOperationSchema;
3786
3793
  export declare var UnlockSnapshot: StaticOperationSchema;
3787
3794
  export declare var UnmonitorInstances: StaticOperationSchema;
3788
3795
  export declare var UpdateCapacityManagerOrganizationsAccess: StaticOperationSchema;
3796
+ export declare var UpdateInterruptibleCapacityReservationAllocation: StaticOperationSchema;
3789
3797
  export declare var UpdateSecurityGroupRuleDescriptionsEgress: StaticOperationSchema;
3790
3798
  export declare var UpdateSecurityGroupRuleDescriptionsIngress: StaticOperationSchema;
3791
3799
  export declare var WithdrawByoipCidr: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.937.0",
4
+ "version": "3.938.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",