@aws-sdk/client-ec2 3.817.0 → 3.818.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 (69) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +262 -126
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeVpnConnectionsCommand.js +1 -1
  5. package/dist-es/commands/GetActiveVpnTunnelStatusCommand.js +22 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +5 -0
  8. package/dist-es/models/models_5.js +0 -7
  9. package/dist-es/models/models_6.js +7 -0
  10. package/dist-es/protocols/Aws_ec2.js +155 -44
  11. package/dist-types/EC2.d.ts +7 -0
  12. package/dist-types/EC2Client.d.ts +3 -2
  13. package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -1
  15. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -2
  16. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
  17. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -2
  19. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -2
  21. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +2 -1
  22. package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +84 -0
  23. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -1
  24. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
  25. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -0
  26. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  27. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  28. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  29. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
  30. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  31. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  32. package/dist-types/commands/index.d.ts +1 -0
  33. package/dist-types/models/models_0.d.ts +64 -48
  34. package/dist-types/models/models_1.d.ts +48 -28
  35. package/dist-types/models/models_2.d.ts +29 -58
  36. package/dist-types/models/models_3.d.ts +68 -57
  37. package/dist-types/models/models_4.d.ts +59 -72
  38. package/dist-types/models/models_5.d.ts +73 -106
  39. package/dist-types/models/models_6.d.ts +132 -100
  40. package/dist-types/models/models_7.d.ts +112 -65
  41. package/dist-types/models/models_8.d.ts +66 -3
  42. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  43. package/dist-types/ts3.4/EC2.d.ts +17 -0
  44. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  45. package/dist-types/ts3.4/commands/CopyFpgaImageCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +4 -2
  48. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +18 -11
  60. package/dist-types/ts3.4/models/models_1.d.ts +11 -7
  61. package/dist-types/ts3.4/models/models_2.d.ts +7 -14
  62. package/dist-types/ts3.4/models/models_3.d.ts +15 -11
  63. package/dist-types/ts3.4/models/models_4.d.ts +13 -12
  64. package/dist-types/ts3.4/models/models_5.d.ts +13 -13
  65. package/dist-types/ts3.4/models/models_6.d.ts +21 -23
  66. package/dist-types/ts3.4/models/models_7.d.ts +26 -17
  67. package/dist-types/ts3.4/models/models_8.d.ts +18 -1
  68. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  69. package/package.json +1 -1
@@ -36,7 +36,6 @@ import {
36
36
  FleetLaunchTemplateSpecification,
37
37
  FleetType,
38
38
  InstanceInterruptionBehavior,
39
- InstanceIpv6Address,
40
39
  InstanceRequirements,
41
40
  Ipv4PrefixSpecificationRequest,
42
41
  Ipv6PrefixSpecificationRequest,
@@ -53,6 +52,7 @@ import {
53
52
  import {
54
53
  DnsEntry,
55
54
  GroupIdentifier,
55
+ InstanceIpv6Address,
56
56
  IpAddressType,
57
57
  LaunchTemplateVersion,
58
58
  LocalGatewayRouteTable,
@@ -106,14 +106,25 @@ import {
106
106
  ServiceConfiguration,
107
107
  ServiceConnectivityType,
108
108
  ServiceTypeDetail,
109
- VpnConnection,
110
109
  } from "./models_3";
111
110
  import {
112
111
  AttributeBooleanValue,
113
112
  EventInformation,
113
+ KeyPairInfo,
114
114
  PermissionGroup,
115
115
  ProductCode,
116
116
  } from "./models_4";
117
+ export interface DescribeKeyPairsResult {
118
+ KeyPairs?: KeyPairInfo[] | undefined;
119
+ }
120
+ export interface DescribeLaunchTemplatesRequest {
121
+ DryRun?: boolean | undefined;
122
+ LaunchTemplateIds?: string[] | undefined;
123
+ LaunchTemplateNames?: string[] | undefined;
124
+ Filters?: Filter[] | undefined;
125
+ NextToken?: string | undefined;
126
+ MaxResults?: number | undefined;
127
+ }
117
128
  export interface DescribeLaunchTemplatesResult {
118
129
  LaunchTemplates?: LaunchTemplate[] | undefined;
119
130
  NextToken?: string | undefined;
@@ -2053,14 +2064,6 @@ export interface DescribeVpcsResult {
2053
2064
  NextToken?: string | undefined;
2054
2065
  Vpcs?: Vpc[] | undefined;
2055
2066
  }
2056
- export interface DescribeVpnConnectionsRequest {
2057
- Filters?: Filter[] | undefined;
2058
- VpnConnectionIds?: string[] | undefined;
2059
- DryRun?: boolean | undefined;
2060
- }
2061
- export interface DescribeVpnConnectionsResult {
2062
- VpnConnections?: VpnConnection[] | undefined;
2063
- }
2064
2067
  export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
2065
2068
  obj: DescribeLaunchTemplateVersionsResult
2066
2069
  ) => any;
@@ -2088,6 +2091,3 @@ export declare const DescribeSpotInstanceRequestsResultFilterSensitiveLog: (
2088
2091
  export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
2089
2092
  obj: DescribeVerifiedAccessTrustProvidersResult
2090
2093
  ) => any;
2091
- export declare const DescribeVpnConnectionsResultFilterSensitiveLog: (
2092
- obj: DescribeVpnConnectionsResult
2093
- ) => any;
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  AccessScopeAnalysisFinding,
3
+ ActiveVpnTunnelStatus,
3
4
  AddressTransfer,
4
5
  AllowedImagesSettingsDisabledState,
5
6
  AllowedImagesSettingsEnabledState,
@@ -49,6 +50,7 @@ import {
49
50
  MetricType,
50
51
  PeriodType,
51
52
  StatisticType,
53
+ VpnConnection,
52
54
  VpnGateway,
53
55
  } from "./models_3";
54
56
  import {
@@ -66,6 +68,14 @@ import {
66
68
  VirtualizationType,
67
69
  } from "./models_4";
68
70
  import { AnalysisStatus, ManagedBy } from "./models_5";
71
+ export interface DescribeVpnConnectionsRequest {
72
+ Filters?: Filter[] | undefined;
73
+ VpnConnectionIds?: string[] | undefined;
74
+ DryRun?: boolean | undefined;
75
+ }
76
+ export interface DescribeVpnConnectionsResult {
77
+ VpnConnections?: VpnConnection[] | undefined;
78
+ }
69
79
  export interface DescribeVpnGatewaysRequest {
70
80
  Filters?: Filter[] | undefined;
71
81
  VpnGatewayIds?: string[] | undefined;
@@ -750,6 +760,14 @@ export interface ExportVerifiedAccessInstanceClientConfigurationResult {
750
760
  | VerifiedAccessInstanceOpenVpnClientConfiguration[]
751
761
  | undefined;
752
762
  }
763
+ export interface GetActiveVpnTunnelStatusRequest {
764
+ VpnConnectionId: string | undefined;
765
+ VpnTunnelOutsideIpAddress: string | undefined;
766
+ DryRun?: boolean | undefined;
767
+ }
768
+ export interface GetActiveVpnTunnelStatusResult {
769
+ ActiveVpnTunnelStatus?: ActiveVpnTunnelStatus | undefined;
770
+ }
753
771
  export interface GetAllowedImagesSettingsRequest {
754
772
  DryRun?: boolean | undefined;
755
773
  }
@@ -1610,29 +1628,9 @@ export interface GetTransitGatewayPolicyTableAssociationsRequest {
1610
1628
  NextToken?: string | undefined;
1611
1629
  DryRun?: boolean | undefined;
1612
1630
  }
1613
- export interface GetTransitGatewayPolicyTableAssociationsResult {
1614
- Associations?: TransitGatewayPolicyTableAssociation[] | undefined;
1615
- NextToken?: string | undefined;
1616
- }
1617
- export interface GetTransitGatewayPolicyTableEntriesRequest {
1618
- TransitGatewayPolicyTableId: string | undefined;
1619
- Filters?: Filter[] | undefined;
1620
- MaxResults?: number | undefined;
1621
- NextToken?: string | undefined;
1622
- DryRun?: boolean | undefined;
1623
- }
1624
- export interface TransitGatewayPolicyRuleMetaData {
1625
- MetaDataKey?: string | undefined;
1626
- MetaDataValue?: string | undefined;
1627
- }
1628
- export interface TransitGatewayPolicyRule {
1629
- SourceCidrBlock?: string | undefined;
1630
- SourcePortRange?: string | undefined;
1631
- DestinationCidrBlock?: string | undefined;
1632
- DestinationPortRange?: string | undefined;
1633
- Protocol?: string | undefined;
1634
- MetaData?: TransitGatewayPolicyRuleMetaData | undefined;
1635
- }
1631
+ export declare const DescribeVpnConnectionsResultFilterSensitiveLog: (
1632
+ obj: DescribeVpnConnectionsResult
1633
+ ) => any;
1636
1634
  export declare const DetachVerifiedAccessTrustProviderResultFilterSensitiveLog: (
1637
1635
  obj: DetachVerifiedAccessTrustProviderResult
1638
1636
  ) => any;
@@ -22,6 +22,7 @@ import {
22
22
  TransitGatewayAttachmentResourceType,
23
23
  TransitGatewayMulticastDomainAssociations,
24
24
  TransitGatewayPeeringAttachment,
25
+ TransitGatewayPolicyTableAssociation,
25
26
  TransitGatewayVpcAttachment,
26
27
  UnsuccessfulItem,
27
28
  VerifiedAccessInstance,
@@ -152,10 +153,32 @@ import {
152
153
  InstanceFamilyCreditSpecification,
153
154
  IpamResourceCidr,
154
155
  Purchase,
155
- TransitGatewayPolicyRule,
156
156
  TransitGatewayPropagationState,
157
157
  UnlimitedSupportedInstanceFamily,
158
158
  } from "./models_6";
159
+ export interface GetTransitGatewayPolicyTableAssociationsResult {
160
+ Associations?: TransitGatewayPolicyTableAssociation[] | undefined;
161
+ NextToken?: string | undefined;
162
+ }
163
+ export interface GetTransitGatewayPolicyTableEntriesRequest {
164
+ TransitGatewayPolicyTableId: string | undefined;
165
+ Filters?: Filter[] | undefined;
166
+ MaxResults?: number | undefined;
167
+ NextToken?: string | undefined;
168
+ DryRun?: boolean | undefined;
169
+ }
170
+ export interface TransitGatewayPolicyRuleMetaData {
171
+ MetaDataKey?: string | undefined;
172
+ MetaDataValue?: string | undefined;
173
+ }
174
+ export interface TransitGatewayPolicyRule {
175
+ SourceCidrBlock?: string | undefined;
176
+ SourcePortRange?: string | undefined;
177
+ DestinationCidrBlock?: string | undefined;
178
+ DestinationPortRange?: string | undefined;
179
+ Protocol?: string | undefined;
180
+ MetaData?: TransitGatewayPolicyRuleMetaData | undefined;
181
+ }
159
182
  export interface TransitGatewayPolicyTableEntry {
160
183
  PolicyRuleNumber?: string | undefined;
161
184
  PolicyRule?: TransitGatewayPolicyRule | undefined;
@@ -251,6 +274,7 @@ export interface GetVpnConnectionDeviceSampleConfigurationRequest {
251
274
  VpnConnectionId: string | undefined;
252
275
  VpnConnectionDeviceTypeId: string | undefined;
253
276
  InternetKeyExchangeVersion?: string | undefined;
277
+ SampleType?: string | undefined;
254
278
  DryRun?: boolean | undefined;
255
279
  }
256
280
  export interface GetVpnConnectionDeviceSampleConfigurationResult {
@@ -1570,6 +1594,7 @@ export interface ModifyVpnTunnelOptionsRequest {
1570
1594
  TunnelOptions: ModifyVpnTunnelOptionsSpecification | undefined;
1571
1595
  DryRun?: boolean | undefined;
1572
1596
  SkipTunnelReplacement?: boolean | undefined;
1597
+ PreSharedKeyStorage?: string | undefined;
1573
1598
  }
1574
1599
  export interface ModifyVpnTunnelOptionsResult {
1575
1600
  VpnConnection?: VpnConnection | undefined;
@@ -1863,22 +1888,6 @@ export interface ReleaseAddressRequest {
1863
1888
  NetworkBorderGroup?: string | undefined;
1864
1889
  DryRun?: boolean | undefined;
1865
1890
  }
1866
- export interface ReleaseHostsRequest {
1867
- HostIds: string[] | undefined;
1868
- }
1869
- export interface ReleaseHostsResult {
1870
- Successful?: string[] | undefined;
1871
- Unsuccessful?: UnsuccessfulItem[] | undefined;
1872
- }
1873
- export interface ReleaseIpamPoolAllocationRequest {
1874
- DryRun?: boolean | undefined;
1875
- IpamPoolId: string | undefined;
1876
- Cidr: string | undefined;
1877
- IpamPoolAllocationId: string | undefined;
1878
- }
1879
- export interface ReleaseIpamPoolAllocationResult {
1880
- Success?: boolean | undefined;
1881
- }
1882
1891
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1883
1892
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1884
1893
  ) => any;
@@ -11,6 +11,7 @@ import {
11
11
  RouteTableAssociationState,
12
12
  TagSpecification,
13
13
  TransitGatewayAttachmentResourceType,
14
+ UnsuccessfulItem,
14
15
  } from "./models_0";
15
16
  import {
16
17
  _InstanceType,
@@ -21,7 +22,6 @@ import {
21
22
  HostnameType,
22
23
  InstanceBandwidthWeighting,
23
24
  InstanceInterruptionBehavior,
24
- InstanceIpv6Address,
25
25
  MarketType,
26
26
  OperatorRequest,
27
27
  Placement,
@@ -30,6 +30,7 @@ import {
30
30
  } from "./models_1";
31
31
  import {
32
32
  IcmpTypeCode,
33
+ InstanceIpv6Address,
33
34
  LocalGatewayRoute,
34
35
  ManagedPrefixList,
35
36
  RuleAction,
@@ -62,6 +63,22 @@ import {
62
63
  InstanceMonitoring,
63
64
  Status,
64
65
  } from "./models_7";
66
+ export interface ReleaseHostsRequest {
67
+ HostIds: string[] | undefined;
68
+ }
69
+ export interface ReleaseHostsResult {
70
+ Successful?: string[] | undefined;
71
+ Unsuccessful?: UnsuccessfulItem[] | undefined;
72
+ }
73
+ export interface ReleaseIpamPoolAllocationRequest {
74
+ DryRun?: boolean | undefined;
75
+ IpamPoolId: string | undefined;
76
+ Cidr: string | undefined;
77
+ IpamPoolAllocationId: string | undefined;
78
+ }
79
+ export interface ReleaseIpamPoolAllocationResult {
80
+ Success?: boolean | undefined;
81
+ }
65
82
  export interface ReplaceIamInstanceProfileAssociationRequest {
66
83
  IamInstanceProfile: IamInstanceProfileSpecification | undefined;
67
84
  AssociationId: string | undefined;
@@ -1903,6 +1903,10 @@ import {
1903
1903
  ExportVerifiedAccessInstanceClientConfigurationCommandInput,
1904
1904
  ExportVerifiedAccessInstanceClientConfigurationCommandOutput,
1905
1905
  } from "../commands/ExportVerifiedAccessInstanceClientConfigurationCommand";
1906
+ import {
1907
+ GetActiveVpnTunnelStatusCommandInput,
1908
+ GetActiveVpnTunnelStatusCommandOutput,
1909
+ } from "../commands/GetActiveVpnTunnelStatusCommand";
1906
1910
  import {
1907
1911
  GetAllowedImagesSettingsCommandInput,
1908
1912
  GetAllowedImagesSettingsCommandOutput,
@@ -4643,6 +4647,10 @@ export declare const se_ExportVerifiedAccessInstanceClientConfigurationCommand:
4643
4647
  input: ExportVerifiedAccessInstanceClientConfigurationCommandInput,
4644
4648
  context: __SerdeContext
4645
4649
  ) => Promise<__HttpRequest>;
4650
+ export declare const se_GetActiveVpnTunnelStatusCommand: (
4651
+ input: GetActiveVpnTunnelStatusCommandInput,
4652
+ context: __SerdeContext
4653
+ ) => Promise<__HttpRequest>;
4646
4654
  export declare const se_GetAllowedImagesSettingsCommand: (
4647
4655
  input: GetAllowedImagesSettingsCommandInput,
4648
4656
  context: __SerdeContext
@@ -7383,6 +7391,10 @@ export declare const de_ExportVerifiedAccessInstanceClientConfigurationCommand:
7383
7391
  output: __HttpResponse,
7384
7392
  context: __SerdeContext
7385
7393
  ) => Promise<ExportVerifiedAccessInstanceClientConfigurationCommandOutput>;
7394
+ export declare const de_GetActiveVpnTunnelStatusCommand: (
7395
+ output: __HttpResponse,
7396
+ context: __SerdeContext
7397
+ ) => Promise<GetActiveVpnTunnelStatusCommandOutput>;
7386
7398
  export declare const de_GetAllowedImagesSettingsCommand: (
7387
7399
  output: __HttpResponse,
7388
7400
  context: __SerdeContext
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.817.0",
4
+ "version": "3.818.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",