@aws-sdk/client-ec2 3.758.0 → 3.760.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 (66) hide show
  1. package/dist-cjs/index.js +311 -217
  2. package/dist-es/commands/CreateVpnConnectionCommand.js +2 -1
  3. package/dist-es/models/models_1.js +19 -4
  4. package/dist-es/models/models_2.js +4 -9
  5. package/dist-es/models/models_3.js +10 -15
  6. package/dist-es/models/models_4.js +15 -0
  7. package/dist-es/models/models_5.js +1 -1
  8. package/dist-es/models/models_6.js +0 -6
  9. package/dist-es/models/models_7.js +7 -1
  10. package/dist-es/protocols/Aws_ec2.js +74 -4
  11. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +37 -2
  12. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -2
  14. package/dist-types/commands/CreateVpcCommand.d.ts +37 -2
  15. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -1
  16. package/dist-types/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +1 -2
  20. package/dist-types/commands/DescribePrincipalIdFormatCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeRegionsCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribeVpcsCommand.d.ts +37 -2
  24. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  25. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  26. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  27. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  28. package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -2
  29. package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
  30. package/dist-types/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
  31. package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
  32. package/dist-types/models/models_1.d.ts +73 -222
  33. package/dist-types/models/models_2.d.ts +224 -214
  34. package/dist-types/models/models_3.d.ts +211 -230
  35. package/dist-types/models/models_4.d.ts +234 -181
  36. package/dist-types/models/models_5.d.ts +182 -105
  37. package/dist-types/models/models_6.d.ts +104 -122
  38. package/dist-types/models/models_7.d.ts +124 -111
  39. package/dist-types/models/models_8.d.ts +108 -1
  40. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/CreateVpnGatewayCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DescribeFastLaunchImagesCommand.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/DescribePrincipalIdFormatCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/StopInstancesCommand.d.ts +2 -1
  56. package/dist-types/ts3.4/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/TerminateInstancesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/models/models_1.d.ts +46 -36
  59. package/dist-types/ts3.4/models/models_2.d.ts +36 -51
  60. package/dist-types/ts3.4/models/models_3.d.ts +58 -54
  61. package/dist-types/ts3.4/models/models_4.d.ts +58 -38
  62. package/dist-types/ts3.4/models/models_5.d.ts +40 -32
  63. package/dist-types/ts3.4/models/models_6.d.ts +29 -35
  64. package/dist-types/ts3.4/models/models_7.d.ts +35 -31
  65. package/dist-types/ts3.4/models/models_8.d.ts +28 -1
  66. package/package.json +1 -1
@@ -13,8 +13,10 @@ import {
13
13
  Tag,
14
14
  TagSpecification,
15
15
  TargetConfigurationRequest,
16
+ TransitGatewayAssociation,
16
17
  TransitGatewayAssociationState,
17
18
  TransitGatewayAttachmentResourceType,
19
+ TransitGatewayMulticastDomainAssociations,
18
20
  TransitGatewayPolicyTableAssociation,
19
21
  UnsuccessfulItem,
20
22
  UserTrustProviderType,
@@ -58,8 +60,6 @@ import {
58
60
  FastLaunchLaunchTemplateSpecificationResponse,
59
61
  FastLaunchResourceType,
60
62
  FastLaunchSnapshotConfigurationResponse,
61
- FastLaunchStateCode,
62
- FastSnapshotRestoreStateCode,
63
63
  Filter,
64
64
  IpamPoolCidr,
65
65
  MetricType,
@@ -72,6 +72,8 @@ import {
72
72
  ArchitectureValues,
73
73
  AttributeBooleanValue,
74
74
  BootModeValues,
75
+ FastLaunchStateCode,
76
+ FastSnapshotRestoreStateCode,
75
77
  FpgaImageAttribute,
76
78
  FpgaImageAttributeName,
77
79
  HttpTokensState,
@@ -93,6 +95,31 @@ import {
93
95
  TransitGatewayPropagation,
94
96
  TransitGatewayPropagationState,
95
97
  } from "./models_5";
98
+ export interface DisassociateTransitGatewayMulticastDomainRequest {
99
+ TransitGatewayMulticastDomainId: string | undefined;
100
+ TransitGatewayAttachmentId: string | undefined;
101
+ SubnetIds: string[] | undefined;
102
+ DryRun?: boolean | undefined;
103
+ }
104
+ export interface DisassociateTransitGatewayMulticastDomainResult {
105
+ Associations?: TransitGatewayMulticastDomainAssociations | undefined;
106
+ }
107
+ export interface DisassociateTransitGatewayPolicyTableRequest {
108
+ TransitGatewayPolicyTableId: string | undefined;
109
+ TransitGatewayAttachmentId: string | undefined;
110
+ DryRun?: boolean | undefined;
111
+ }
112
+ export interface DisassociateTransitGatewayPolicyTableResult {
113
+ Association?: TransitGatewayPolicyTableAssociation | undefined;
114
+ }
115
+ export interface DisassociateTransitGatewayRouteTableRequest {
116
+ TransitGatewayRouteTableId: string | undefined;
117
+ TransitGatewayAttachmentId: string | undefined;
118
+ DryRun?: boolean | undefined;
119
+ }
120
+ export interface DisassociateTransitGatewayRouteTableResult {
121
+ Association?: TransitGatewayAssociation | undefined;
122
+ }
96
123
  export interface DisassociateTrunkInterfaceRequest {
97
124
  AssociationId: string | undefined;
98
125
  ClientToken?: string | undefined;
@@ -1772,39 +1799,6 @@ export interface ModifyInstanceCapacityReservationAttributesRequest {
1772
1799
  export interface ModifyInstanceCapacityReservationAttributesResult {
1773
1800
  Return?: boolean | undefined;
1774
1801
  }
1775
- export interface ModifyInstanceCpuOptionsRequest {
1776
- InstanceId: string | undefined;
1777
- CoreCount: number | undefined;
1778
- ThreadsPerCore: number | undefined;
1779
- DryRun?: boolean | undefined;
1780
- }
1781
- export interface ModifyInstanceCpuOptionsResult {
1782
- InstanceId?: string | undefined;
1783
- CoreCount?: number | undefined;
1784
- ThreadsPerCore?: number | undefined;
1785
- }
1786
- export interface InstanceCreditSpecificationRequest {
1787
- InstanceId: string | undefined;
1788
- CpuCredits?: string | undefined;
1789
- }
1790
- export interface ModifyInstanceCreditSpecificationRequest {
1791
- DryRun?: boolean | undefined;
1792
- ClientToken?: string | undefined;
1793
- InstanceCreditSpecifications:
1794
- | InstanceCreditSpecificationRequest[]
1795
- | undefined;
1796
- }
1797
- export interface SuccessfulInstanceCreditSpecificationItem {
1798
- InstanceId?: string | undefined;
1799
- }
1800
- export declare const UnsuccessfulInstanceCreditSpecificationErrorCode: {
1801
- readonly INCORRECT_INSTANCE_STATE: "IncorrectInstanceState";
1802
- readonly INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported";
1803
- readonly INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound";
1804
- readonly INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed";
1805
- };
1806
- export type UnsuccessfulInstanceCreditSpecificationErrorCode =
1807
- (typeof UnsuccessfulInstanceCreditSpecificationErrorCode)[keyof typeof UnsuccessfulInstanceCreditSpecificationErrorCode];
1808
1802
  export declare const VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog: (
1809
1803
  obj: VerifiedAccessInstanceUserTrustProviderClientConfiguration
1810
1804
  ) => any;
@@ -96,17 +96,16 @@ import {
96
96
  VerifiedAccessGroup,
97
97
  VerifiedAccessSseSpecificationRequest,
98
98
  VpcBlockPublicAccessExclusion,
99
- VpnConnection,
100
99
  VpnEcmpSupportValue,
101
100
  VpnTunnelLogOptionsSpecification,
102
101
  } from "./models_2";
103
102
  import {
104
103
  Byoasn,
105
104
  CapacityBlockExtension,
106
- ClientVpnConnectionStatus,
107
105
  Filter,
108
106
  InstanceTagNotificationAttribute,
109
107
  IpamPoolCidr,
108
+ VpnConnection,
110
109
  } from "./models_3";
111
110
  import {
112
111
  ArchitectureValues,
@@ -125,7 +124,6 @@ import {
125
124
  Monitoring,
126
125
  NetworkInsightsAccessScopeAnalysis,
127
126
  NetworkInsightsAnalysis,
128
- PublicIpv4PoolRange,
129
127
  TpmSupportValues,
130
128
  } from "./models_4";
131
129
  import {
@@ -134,6 +132,7 @@ import {
134
132
  InstanceNetworkInterfaceSpecification,
135
133
  InternetGatewayBlockMode,
136
134
  LaunchTemplateConfig,
135
+ PublicIpv4PoolRange,
137
136
  ReservedInstancesConfiguration,
138
137
  RunInstancesMonitoringEnabled,
139
138
  ScheduledInstance,
@@ -150,9 +149,40 @@ import {
150
149
  IpamResourceCidr,
151
150
  OperationType,
152
151
  Purchase,
153
- SuccessfulInstanceCreditSpecificationItem,
154
- UnsuccessfulInstanceCreditSpecificationErrorCode,
155
152
  } from "./models_6";
153
+ export interface ModifyInstanceCpuOptionsRequest {
154
+ InstanceId: string | undefined;
155
+ CoreCount: number | undefined;
156
+ ThreadsPerCore: number | undefined;
157
+ DryRun?: boolean | undefined;
158
+ }
159
+ export interface ModifyInstanceCpuOptionsResult {
160
+ InstanceId?: string | undefined;
161
+ CoreCount?: number | undefined;
162
+ ThreadsPerCore?: number | undefined;
163
+ }
164
+ export interface InstanceCreditSpecificationRequest {
165
+ InstanceId: string | undefined;
166
+ CpuCredits?: string | undefined;
167
+ }
168
+ export interface ModifyInstanceCreditSpecificationRequest {
169
+ DryRun?: boolean | undefined;
170
+ ClientToken?: string | undefined;
171
+ InstanceCreditSpecifications:
172
+ | InstanceCreditSpecificationRequest[]
173
+ | undefined;
174
+ }
175
+ export interface SuccessfulInstanceCreditSpecificationItem {
176
+ InstanceId?: string | undefined;
177
+ }
178
+ export declare const UnsuccessfulInstanceCreditSpecificationErrorCode: {
179
+ readonly INCORRECT_INSTANCE_STATE: "IncorrectInstanceState";
180
+ readonly INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported";
181
+ readonly INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound";
182
+ readonly INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed";
183
+ };
184
+ export type UnsuccessfulInstanceCreditSpecificationErrorCode =
185
+ (typeof UnsuccessfulInstanceCreditSpecificationErrorCode)[keyof typeof UnsuccessfulInstanceCreditSpecificationErrorCode];
156
186
  export interface UnsuccessfulInstanceCreditSpecificationItemError {
157
187
  Code?: UnsuccessfulInstanceCreditSpecificationErrorCode | undefined;
158
188
  Message?: string | undefined;
@@ -1866,32 +1896,6 @@ export interface StopInstancesRequest {
1866
1896
  DryRun?: boolean | undefined;
1867
1897
  Force?: boolean | undefined;
1868
1898
  }
1869
- export interface StopInstancesResult {
1870
- StoppingInstances?: InstanceStateChange[] | undefined;
1871
- }
1872
- export interface TerminateClientVpnConnectionsRequest {
1873
- ClientVpnEndpointId: string | undefined;
1874
- ConnectionId?: string | undefined;
1875
- Username?: string | undefined;
1876
- DryRun?: boolean | undefined;
1877
- }
1878
- export interface TerminateConnectionStatus {
1879
- ConnectionId?: string | undefined;
1880
- PreviousStatus?: ClientVpnConnectionStatus | undefined;
1881
- CurrentStatus?: ClientVpnConnectionStatus | undefined;
1882
- }
1883
- export interface TerminateClientVpnConnectionsResult {
1884
- ClientVpnEndpointId?: string | undefined;
1885
- Username?: string | undefined;
1886
- ConnectionStatuses?: TerminateConnectionStatus[] | undefined;
1887
- }
1888
- export interface TerminateInstancesRequest {
1889
- InstanceIds: string[] | undefined;
1890
- DryRun?: boolean | undefined;
1891
- }
1892
- export interface TerminateInstancesResult {
1893
- TerminatingInstances?: InstanceStateChange[] | undefined;
1894
- }
1895
1899
  export declare const ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: (
1896
1900
  obj: ModifyVerifiedAccessNativeApplicationOidcOptions
1897
1901
  ) => any;
@@ -1,5 +1,32 @@
1
1
  import { ByoipCidr, IpPermission, NatGatewayAddress } from "./models_0";
2
- import { InstanceMonitoring } from "./models_7";
2
+ import { ClientVpnConnectionStatus } from "./models_3";
3
+ import { InstanceMonitoring, InstanceStateChange } from "./models_7";
4
+ export interface StopInstancesResult {
5
+ StoppingInstances?: InstanceStateChange[] | undefined;
6
+ }
7
+ export interface TerminateClientVpnConnectionsRequest {
8
+ ClientVpnEndpointId: string | undefined;
9
+ ConnectionId?: string | undefined;
10
+ Username?: string | undefined;
11
+ DryRun?: boolean | undefined;
12
+ }
13
+ export interface TerminateConnectionStatus {
14
+ ConnectionId?: string | undefined;
15
+ PreviousStatus?: ClientVpnConnectionStatus | undefined;
16
+ CurrentStatus?: ClientVpnConnectionStatus | undefined;
17
+ }
18
+ export interface TerminateClientVpnConnectionsResult {
19
+ ClientVpnEndpointId?: string | undefined;
20
+ Username?: string | undefined;
21
+ ConnectionStatuses?: TerminateConnectionStatus[] | undefined;
22
+ }
23
+ export interface TerminateInstancesRequest {
24
+ InstanceIds: string[] | undefined;
25
+ DryRun?: boolean | undefined;
26
+ }
27
+ export interface TerminateInstancesResult {
28
+ TerminatingInstances?: InstanceStateChange[] | undefined;
29
+ }
3
30
  export interface UnassignIpv6AddressesRequest {
4
31
  Ipv6Prefixes?: string[] | undefined;
5
32
  NetworkInterfaceId: string | 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.758.0",
4
+ "version": "3.760.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",