@aws-sdk/client-ec2 3.816.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 (97) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +317 -126
  3. package/dist-cjs/runtimeConfig.js +4 -1
  4. package/dist-es/EC2.js +2 -0
  5. package/dist-es/commands/DescribeVpnConnectionsCommand.js +1 -1
  6. package/dist-es/commands/GetActiveVpnTunnelStatusCommand.js +22 -0
  7. package/dist-es/commands/index.js +1 -0
  8. package/dist-es/models/models_0.js +5 -0
  9. package/dist-es/models/models_1.js +55 -0
  10. package/dist-es/models/models_5.js +0 -7
  11. package/dist-es/models/models_6.js +7 -0
  12. package/dist-es/protocols/Aws_ec2.js +155 -44
  13. package/dist-es/runtimeConfig.js +4 -1
  14. package/dist-types/EC2.d.ts +7 -0
  15. package/dist-types/EC2Client.d.ts +3 -2
  16. package/dist-types/commands/CopyFpgaImageCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  18. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  19. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  21. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +2 -1
  22. package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -2
  23. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -0
  24. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeClientVpnEndpointsCommand.d.ts +1 -2
  27. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  28. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeKeyPairsCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +1 -2
  35. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  38. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  41. package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +2 -1
  42. package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +84 -0
  43. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  44. package/dist-types/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -1
  45. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +1 -2
  46. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -0
  47. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  50. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  51. package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +1 -0
  52. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -0
  53. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -0
  54. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +2 -0
  55. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  56. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  57. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  58. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
  59. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  60. package/dist-types/commands/index.d.ts +1 -0
  61. package/dist-types/models/models_0.d.ts +64 -48
  62. package/dist-types/models/models_1.d.ts +103 -28
  63. package/dist-types/models/models_2.d.ts +29 -58
  64. package/dist-types/models/models_3.d.ts +68 -57
  65. package/dist-types/models/models_4.d.ts +59 -72
  66. package/dist-types/models/models_5.d.ts +73 -106
  67. package/dist-types/models/models_6.d.ts +132 -100
  68. package/dist-types/models/models_7.d.ts +112 -65
  69. package/dist-types/models/models_8.d.ts +66 -3
  70. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  71. package/dist-types/ts3.4/EC2.d.ts +17 -0
  72. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  73. package/dist-types/ts3.4/commands/CopyFpgaImageCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +4 -2
  76. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +2 -4
  77. package/dist-types/ts3.4/commands/DescribeClientVpnEndpointsCommand.d.ts +4 -2
  78. package/dist-types/ts3.4/commands/DescribeKeyPairsCommand.d.ts +2 -4
  79. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +4 -2
  80. package/dist-types/ts3.4/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableAssociationsCommand.d.ts +2 -4
  83. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +4 -2
  84. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +18 -11
  88. package/dist-types/ts3.4/models/models_1.d.ts +66 -7
  89. package/dist-types/ts3.4/models/models_2.d.ts +7 -14
  90. package/dist-types/ts3.4/models/models_3.d.ts +15 -11
  91. package/dist-types/ts3.4/models/models_4.d.ts +13 -12
  92. package/dist-types/ts3.4/models/models_5.d.ts +13 -13
  93. package/dist-types/ts3.4/models/models_6.d.ts +21 -23
  94. package/dist-types/ts3.4/models/models_7.d.ts +26 -17
  95. package/dist-types/ts3.4/models/models_8.d.ts +18 -1
  96. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  97. package/package.json +2 -2
@@ -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.816.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",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.816.0",
24
- "@aws-sdk/credential-provider-node": "3.816.0",
24
+ "@aws-sdk/credential-provider-node": "3.817.0",
25
25
  "@aws-sdk/middleware-host-header": "3.804.0",
26
26
  "@aws-sdk/middleware-logger": "3.804.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.804.0",