@aws-sdk/client-ec2 3.756.0 → 3.757.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 (65) hide show
  1. package/dist-cjs/index.js +154 -23
  2. package/dist-es/models/models_1.js +9 -9
  3. package/dist-es/models/models_3.js +0 -5
  4. package/dist-es/models/models_4.js +5 -4
  5. package/dist-es/models/models_5.js +4 -0
  6. package/dist-es/protocols/Aws_ec2.js +135 -1
  7. package/dist-types/commands/CreateFleetCommand.d.ts +51 -0
  8. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +3 -3
  9. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -2
  12. package/dist-types/commands/DeleteCarrierGatewayCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteFleetsCommand.d.ts +14 -12
  15. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -1
  16. package/dist-types/commands/DeregisterImageCommand.d.ts +2 -2
  17. package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +1 -2
  19. package/dist-types/commands/DescribeFleetsCommand.d.ts +51 -0
  20. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeRegionsCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  23. package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  24. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
  25. package/dist-types/commands/EnableAddressTransferCommand.d.ts +1 -2
  26. package/dist-types/commands/ModifyFleetCommand.d.ts +17 -0
  27. package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
  28. package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  29. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +1 -1
  30. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  31. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
  32. package/dist-types/models/models_1.d.ts +412 -191
  33. package/dist-types/models/models_2.d.ts +130 -53
  34. package/dist-types/models/models_3.d.ts +59 -244
  35. package/dist-types/models/models_4.d.ts +247 -106
  36. package/dist-types/models/models_5.d.ts +105 -97
  37. package/dist-types/models/models_6.d.ts +95 -91
  38. package/dist-types/models/models_7.d.ts +94 -109
  39. package/dist-types/models/models_8.d.ts +105 -1
  40. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/DeleteCarrierGatewayCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/DeleteClientVpnEndpointCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DeregisterImageCommand.d.ts +7 -2
  45. package/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DisassociateTrunkInterfaceCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/EnableAddressTransferCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/models/models_1.d.ts +44 -41
  58. package/dist-types/ts3.4/models/models_2.d.ts +31 -17
  59. package/dist-types/ts3.4/models/models_3.d.ts +17 -31
  60. package/dist-types/ts3.4/models/models_4.d.ts +32 -29
  61. package/dist-types/ts3.4/models/models_5.d.ts +27 -26
  62. package/dist-types/ts3.4/models/models_6.d.ts +24 -26
  63. package/dist-types/ts3.4/models/models_7.d.ts +28 -26
  64. package/dist-types/ts3.4/models/models_8.d.ts +26 -1
  65. package/package.json +1 -1
@@ -17,7 +17,6 @@ import {
17
17
  InstanceEventWindow,
18
18
  IpPermission,
19
19
  Ipv6SupportValue,
20
- NatGatewayAddress,
21
20
  PortRange,
22
21
  RouteTableAssociationState,
23
22
  SecurityGroupReferencingSupportValue,
@@ -122,6 +121,7 @@ import {
122
121
  InstanceMetadataProtocolState,
123
122
  InstanceMetadataTagsState,
124
123
  InstanceState,
124
+ InstanceStatusEvent,
125
125
  Monitoring,
126
126
  NetworkInsightsAccessScopeAnalysis,
127
127
  NetworkInsightsAnalysis,
@@ -150,7 +150,34 @@ import {
150
150
  IpamResourceCidr,
151
151
  OperationType,
152
152
  Purchase,
153
+ SuccessfulInstanceCreditSpecificationItem,
154
+ UnsuccessfulInstanceCreditSpecificationErrorCode,
153
155
  } from "./models_6";
156
+ export interface UnsuccessfulInstanceCreditSpecificationItemError {
157
+ Code?: UnsuccessfulInstanceCreditSpecificationErrorCode | undefined;
158
+ Message?: string | undefined;
159
+ }
160
+ export interface UnsuccessfulInstanceCreditSpecificationItem {
161
+ InstanceId?: string | undefined;
162
+ Error?: UnsuccessfulInstanceCreditSpecificationItemError | undefined;
163
+ }
164
+ export interface ModifyInstanceCreditSpecificationResult {
165
+ SuccessfulInstanceCreditSpecifications?:
166
+ | SuccessfulInstanceCreditSpecificationItem[]
167
+ | undefined;
168
+ UnsuccessfulInstanceCreditSpecifications?:
169
+ | UnsuccessfulInstanceCreditSpecificationItem[]
170
+ | undefined;
171
+ }
172
+ export interface ModifyInstanceEventStartTimeRequest {
173
+ DryRun?: boolean | undefined;
174
+ InstanceId: string | undefined;
175
+ InstanceEventId: string | undefined;
176
+ NotBefore: Date | undefined;
177
+ }
178
+ export interface ModifyInstanceEventStartTimeResult {
179
+ Event?: InstanceStatusEvent | undefined;
180
+ }
154
181
  export interface ModifyInstanceEventWindowRequest {
155
182
  DryRun?: boolean | undefined;
156
183
  Name?: string | undefined;
@@ -1865,31 +1892,6 @@ export interface TerminateInstancesRequest {
1865
1892
  export interface TerminateInstancesResult {
1866
1893
  TerminatingInstances?: InstanceStateChange[] | undefined;
1867
1894
  }
1868
- export interface UnassignIpv6AddressesRequest {
1869
- Ipv6Prefixes?: string[] | undefined;
1870
- NetworkInterfaceId: string | undefined;
1871
- Ipv6Addresses?: string[] | undefined;
1872
- }
1873
- export interface UnassignIpv6AddressesResult {
1874
- NetworkInterfaceId?: string | undefined;
1875
- UnassignedIpv6Addresses?: string[] | undefined;
1876
- UnassignedIpv6Prefixes?: string[] | undefined;
1877
- }
1878
- export interface UnassignPrivateIpAddressesRequest {
1879
- Ipv4Prefixes?: string[] | undefined;
1880
- NetworkInterfaceId: string | undefined;
1881
- PrivateIpAddresses?: string[] | undefined;
1882
- }
1883
- export interface UnassignPrivateNatGatewayAddressRequest {
1884
- NatGatewayId: string | undefined;
1885
- PrivateIpAddresses: string[] | undefined;
1886
- MaxDrainDurationSeconds?: number | undefined;
1887
- DryRun?: boolean | undefined;
1888
- }
1889
- export interface UnassignPrivateNatGatewayAddressResult {
1890
- NatGatewayId?: string | undefined;
1891
- NatGatewayAddresses?: NatGatewayAddress[] | undefined;
1892
- }
1893
1895
  export declare const ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: (
1894
1896
  obj: ModifyVerifiedAccessNativeApplicationOidcOptions
1895
1897
  ) => any;
@@ -1,5 +1,30 @@
1
- import { ByoipCidr, IpPermission } from "./models_0";
1
+ import { ByoipCidr, IpPermission, NatGatewayAddress } from "./models_0";
2
2
  import { InstanceMonitoring } from "./models_7";
3
+ export interface UnassignIpv6AddressesRequest {
4
+ Ipv6Prefixes?: string[] | undefined;
5
+ NetworkInterfaceId: string | undefined;
6
+ Ipv6Addresses?: string[] | undefined;
7
+ }
8
+ export interface UnassignIpv6AddressesResult {
9
+ NetworkInterfaceId?: string | undefined;
10
+ UnassignedIpv6Addresses?: string[] | undefined;
11
+ UnassignedIpv6Prefixes?: string[] | undefined;
12
+ }
13
+ export interface UnassignPrivateIpAddressesRequest {
14
+ Ipv4Prefixes?: string[] | undefined;
15
+ NetworkInterfaceId: string | undefined;
16
+ PrivateIpAddresses?: string[] | undefined;
17
+ }
18
+ export interface UnassignPrivateNatGatewayAddressRequest {
19
+ NatGatewayId: string | undefined;
20
+ PrivateIpAddresses: string[] | undefined;
21
+ MaxDrainDurationSeconds?: number | undefined;
22
+ DryRun?: boolean | undefined;
23
+ }
24
+ export interface UnassignPrivateNatGatewayAddressResult {
25
+ NatGatewayId?: string | undefined;
26
+ NatGatewayAddresses?: NatGatewayAddress[] | undefined;
27
+ }
3
28
  export interface UnlockSnapshotRequest {
4
29
  SnapshotId: string | undefined;
5
30
  DryRun?: boolean | undefined;
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.756.0",
4
+ "version": "3.757.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",