@aws-sdk/client-ec2 3.355.0 → 3.356.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.
- package/dist-cjs/commands/CreateVpnConnectionCommand.js +3 -2
- package/dist-cjs/commands/DescribeVpnConnectionsCommand.js +2 -1
- package/dist-cjs/commands/ModifyVpnConnectionCommand.js +2 -1
- package/dist-cjs/commands/ModifyVpnConnectionOptionsCommand.js +2 -1
- package/dist-cjs/commands/ModifyVpnTunnelCertificateCommand.js +2 -1
- package/dist-cjs/commands/ModifyVpnTunnelOptionsCommand.js +3 -2
- package/dist-cjs/models/models_2.js +39 -1
- package/dist-cjs/models/models_5.js +9 -1
- package/dist-cjs/models/models_6.js +32 -1
- package/dist-cjs/protocols/Aws_ec2.js +25 -0
- package/dist-es/commands/CreateVpnConnectionCommand.js +3 -2
- package/dist-es/commands/DescribeVpnConnectionsCommand.js +2 -1
- package/dist-es/commands/ModifyVpnConnectionCommand.js +2 -1
- package/dist-es/commands/ModifyVpnConnectionOptionsCommand.js +2 -1
- package/dist-es/commands/ModifyVpnTunnelCertificateCommand.js +2 -1
- package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +3 -2
- package/dist-es/models/models_2.js +31 -0
- package/dist-es/models/models_5.js +7 -0
- package/dist-es/models/models_6.js +25 -0
- package/dist-es/protocols/Aws_ec2.js +25 -0
- package/dist-types/commands/AllocateAddressCommand.d.ts +6 -21
- package/dist-types/commands/AllocateHostsCommand.d.ts +4 -1
- package/dist-types/commands/AssociateAddressCommand.d.ts +2 -14
- package/dist-types/commands/CreateFleetCommand.d.ts +4 -3
- package/dist-types/commands/DescribeAddressesCommand.d.ts +0 -63
- package/dist-types/commands/DescribeHostsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInternetGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMovingAddressesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +0 -49
- package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +0 -43
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateAddressCommand.d.ts +2 -13
- package/dist-types/commands/PurchaseScheduledInstancesCommand.d.ts +0 -46
- package/dist-types/commands/ReleaseAddressCommand.d.ts +2 -13
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +0 -17
- package/dist-types/commands/RunScheduledInstancesCommand.d.ts +0 -70
- package/dist-types/models/models_0.d.ts +30 -4
- package/dist-types/models/models_1.d.ts +6 -2
- package/dist-types/models/models_2.d.ts +28 -0
- package/dist-types/models/models_3.d.ts +6 -1
- package/dist-types/models/models_4.d.ts +14 -2
- package/dist-types/models/models_5.d.ts +4 -0
- package/dist-types/models/models_6.d.ts +37 -6
- package/dist-types/ts3.4/models/models_0.d.ts +2 -1
- package/dist-types/ts3.4/models/models_2.d.ts +19 -0
- package/dist-types/ts3.4/models/models_3.d.ts +1 -0
- package/dist-types/ts3.4/models/models_5.d.ts +3 -0
- package/dist-types/ts3.4/models/models_6.d.ts +18 -0
- package/package.json +1 -1
|
@@ -1331,6 +1331,10 @@ export interface DescribeInstanceTypesRequest {
|
|
|
1331
1331
|
* </li>
|
|
1332
1332
|
* <li>
|
|
1333
1333
|
* <p>
|
|
1334
|
+
* <code>processor-info.supported-features</code> - The supported CPU features (<code>amd-sev-snp</code>).</p>
|
|
1335
|
+
* </li>
|
|
1336
|
+
* <li>
|
|
1337
|
+
* <p>
|
|
1334
1338
|
* <code>supported-boot-mode</code> - The boot mode (<code>legacy-bios</code> |
|
|
1335
1339
|
* <code>uefi</code>).</p>
|
|
1336
1340
|
* </li>
|
|
@@ -1860,7 +1864,9 @@ export interface ProcessorInfo {
|
|
|
1860
1864
|
SustainedClockSpeedInGhz?: number;
|
|
1861
1865
|
/**
|
|
1862
1866
|
* <p>Indicates whether the instance type supports AMD SEV-SNP. If the request returns
|
|
1863
|
-
* <code>amd-sev-snp</code>, AMD SEV-SNP is supported. Otherwise, it is not supported
|
|
1867
|
+
* <code>amd-sev-snp</code>, AMD SEV-SNP is supported. Otherwise, it is not supported.
|
|
1868
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html">
|
|
1869
|
+
* AMD SEV-SNP</a>.</p>
|
|
1864
1870
|
*/
|
|
1865
1871
|
SupportedFeatures?: (SupportedAdditionalProcessorFeature | string)[];
|
|
1866
1872
|
}
|
|
@@ -2035,6 +2041,10 @@ export interface InstanceTypeInfo {
|
|
|
2035
2041
|
export interface DescribeInstanceTypesResult {
|
|
2036
2042
|
/**
|
|
2037
2043
|
* <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2044
|
+
* <p>When you change your EBS-backed instance type, instance restart or replacement behavior depends on the
|
|
2045
|
+
* instance type compatibility between the old and new types. An instance that's backed by an instance store volume
|
|
2046
|
+
* is always replaced. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html">Change the instance type</a> in the
|
|
2047
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
2038
2048
|
*/
|
|
2039
2049
|
InstanceTypes?: InstanceTypeInfo[];
|
|
2040
2050
|
/**
|
|
@@ -7143,7 +7153,9 @@ export interface LaunchTemplateOverrides {
|
|
|
7143
7153
|
*/
|
|
7144
7154
|
export interface LaunchTemplateConfig {
|
|
7145
7155
|
/**
|
|
7146
|
-
* <p>The launch template
|
|
7156
|
+
* <p>The launch template to use. Make sure that the launch template does not contain the
|
|
7157
|
+
* <code>NetworkInterfaceId</code> parameter because you can't specify a network interface
|
|
7158
|
+
* ID in a Spot Fleet.</p>
|
|
7147
7159
|
*/
|
|
7148
7160
|
LaunchTemplateSpecification?: FleetLaunchTemplateSpecification;
|
|
7149
7161
|
/**
|
|
@@ -6717,6 +6717,10 @@ export interface ImportImageRequest {
|
|
|
6717
6717
|
* @internal
|
|
6718
6718
|
*/
|
|
6719
6719
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (obj: DescribeVerifiedAccessTrustProvidersResult) => any;
|
|
6720
|
+
/**
|
|
6721
|
+
* @internal
|
|
6722
|
+
*/
|
|
6723
|
+
export declare const DescribeVpnConnectionsResultFilterSensitiveLog: (obj: DescribeVpnConnectionsResult) => any;
|
|
6720
6724
|
/**
|
|
6721
6725
|
* @internal
|
|
6722
6726
|
*/
|
|
@@ -1854,10 +1854,11 @@ export interface ModifyInstancePlacementRequest {
|
|
|
1854
1854
|
/**
|
|
1855
1855
|
* <p>The tenancy for the instance.</p>
|
|
1856
1856
|
* <note>
|
|
1857
|
-
* <p>For T3 instances, you
|
|
1858
|
-
*
|
|
1859
|
-
*
|
|
1860
|
-
*
|
|
1857
|
+
* <p>For T3 instances, you must launch the instance on a Dedicated Host to use a
|
|
1858
|
+
* tenancy of <code>host</code>. You can't change the tenancy from
|
|
1859
|
+
* <code>host</code> to <code>dedicated</code> or <code>default</code>.
|
|
1860
|
+
* Attempting to make one of these unsupported tenancy changes results in an
|
|
1861
|
+
* <code>InvalidRequest</code> error code.</p>
|
|
1861
1862
|
* </note>
|
|
1862
1863
|
*/
|
|
1863
1864
|
Tenancy?: HostTenancy | string;
|
|
@@ -1867,7 +1868,8 @@ export interface ModifyInstancePlacementRequest {
|
|
|
1867
1868
|
*/
|
|
1868
1869
|
PartitionNumber?: number;
|
|
1869
1870
|
/**
|
|
1870
|
-
* <p>The ARN of the host resource group in which to place the instance
|
|
1871
|
+
* <p>The ARN of the host resource group in which to place the instance. The instance must
|
|
1872
|
+
* have a tenancy of <code>host</code> to specify this parameter.</p>
|
|
1871
1873
|
*/
|
|
1872
1874
|
HostResourceGroupArn?: string;
|
|
1873
1875
|
/**
|
|
@@ -6418,7 +6420,8 @@ export interface CpuOptionsRequest {
|
|
|
6418
6420
|
ThreadsPerCore?: number;
|
|
6419
6421
|
/**
|
|
6420
6422
|
* <p>Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported
|
|
6421
|
-
* with M6a, R6a, and C6a instance types only
|
|
6423
|
+
* with M6a, R6a, and C6a instance types only. For more information, see
|
|
6424
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html">AMD SEV-SNP</a>.</p>
|
|
6422
6425
|
*/
|
|
6423
6426
|
AmdSevSnp?: AmdSevSnpSpecification | string;
|
|
6424
6427
|
}
|
|
@@ -6684,6 +6687,10 @@ export interface RunInstancesRequest {
|
|
|
6684
6687
|
/**
|
|
6685
6688
|
* <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
|
|
6686
6689
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
6690
|
+
* <p>When you change your EBS-backed instance type, instance restart or replacement behavior depends on the
|
|
6691
|
+
* instance type compatibility between the old and new types. An instance that's backed by an instance store volume
|
|
6692
|
+
* is always replaced. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html">Change the instance type</a> in the
|
|
6693
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
6687
6694
|
* <p>Default: <code>m1.small</code>
|
|
6688
6695
|
* </p>
|
|
6689
6696
|
*/
|
|
@@ -7341,6 +7348,30 @@ export declare const ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog:
|
|
|
7341
7348
|
* @internal
|
|
7342
7349
|
*/
|
|
7343
7350
|
export declare const ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog: (obj: ModifyVerifiedAccessTrustProviderResult) => any;
|
|
7351
|
+
/**
|
|
7352
|
+
* @internal
|
|
7353
|
+
*/
|
|
7354
|
+
export declare const ModifyVpnConnectionResultFilterSensitiveLog: (obj: ModifyVpnConnectionResult) => any;
|
|
7355
|
+
/**
|
|
7356
|
+
* @internal
|
|
7357
|
+
*/
|
|
7358
|
+
export declare const ModifyVpnConnectionOptionsResultFilterSensitiveLog: (obj: ModifyVpnConnectionOptionsResult) => any;
|
|
7359
|
+
/**
|
|
7360
|
+
* @internal
|
|
7361
|
+
*/
|
|
7362
|
+
export declare const ModifyVpnTunnelCertificateResultFilterSensitiveLog: (obj: ModifyVpnTunnelCertificateResult) => any;
|
|
7363
|
+
/**
|
|
7364
|
+
* @internal
|
|
7365
|
+
*/
|
|
7366
|
+
export declare const ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog: (obj: ModifyVpnTunnelOptionsSpecification) => any;
|
|
7367
|
+
/**
|
|
7368
|
+
* @internal
|
|
7369
|
+
*/
|
|
7370
|
+
export declare const ModifyVpnTunnelOptionsRequestFilterSensitiveLog: (obj: ModifyVpnTunnelOptionsRequest) => any;
|
|
7371
|
+
/**
|
|
7372
|
+
* @internal
|
|
7373
|
+
*/
|
|
7374
|
+
export declare const ModifyVpnTunnelOptionsResultFilterSensitiveLog: (obj: ModifyVpnTunnelOptionsResult) => any;
|
|
7344
7375
|
/**
|
|
7345
7376
|
* @internal
|
|
7346
7377
|
*/
|
|
@@ -794,11 +794,12 @@ export interface AllocateHostsRequest {
|
|
|
794
794
|
ClientToken?: string;
|
|
795
795
|
InstanceType?: string;
|
|
796
796
|
InstanceFamily?: string;
|
|
797
|
-
Quantity
|
|
797
|
+
Quantity?: number;
|
|
798
798
|
TagSpecifications?: TagSpecification[];
|
|
799
799
|
HostRecovery?: HostRecovery | string;
|
|
800
800
|
OutpostArn?: string;
|
|
801
801
|
HostMaintenance?: HostMaintenance | string;
|
|
802
|
+
AssetIds?: string[];
|
|
802
803
|
}
|
|
803
804
|
export interface AllocateHostsResult {
|
|
804
805
|
HostIds?: string[];
|
|
@@ -1867,3 +1867,22 @@ export declare const CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog:
|
|
|
1867
1867
|
export declare const CreateVerifiedAccessTrustProviderResultFilterSensitiveLog: (
|
|
1868
1868
|
obj: CreateVerifiedAccessTrustProviderResult
|
|
1869
1869
|
) => any;
|
|
1870
|
+
export declare const VpnTunnelOptionsSpecificationFilterSensitiveLog: (
|
|
1871
|
+
obj: VpnTunnelOptionsSpecification
|
|
1872
|
+
) => any;
|
|
1873
|
+
export declare const VpnConnectionOptionsSpecificationFilterSensitiveLog: (
|
|
1874
|
+
obj: VpnConnectionOptionsSpecification
|
|
1875
|
+
) => any;
|
|
1876
|
+
export declare const CreateVpnConnectionRequestFilterSensitiveLog: (
|
|
1877
|
+
obj: CreateVpnConnectionRequest
|
|
1878
|
+
) => any;
|
|
1879
|
+
export declare const TunnelOptionFilterSensitiveLog: (obj: TunnelOption) => any;
|
|
1880
|
+
export declare const VpnConnectionOptionsFilterSensitiveLog: (
|
|
1881
|
+
obj: VpnConnectionOptions
|
|
1882
|
+
) => any;
|
|
1883
|
+
export declare const VpnConnectionFilterSensitiveLog: (
|
|
1884
|
+
obj: VpnConnection
|
|
1885
|
+
) => any;
|
|
1886
|
+
export declare const CreateVpnConnectionResultFilterSensitiveLog: (
|
|
1887
|
+
obj: CreateVpnConnectionResult
|
|
1888
|
+
) => any;
|
|
@@ -1675,6 +1675,9 @@ export interface ImportImageRequest {
|
|
|
1675
1675
|
export declare const DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: (
|
|
1676
1676
|
obj: DescribeVerifiedAccessTrustProvidersResult
|
|
1677
1677
|
) => any;
|
|
1678
|
+
export declare const DescribeVpnConnectionsResultFilterSensitiveLog: (
|
|
1679
|
+
obj: DescribeVpnConnectionsResult
|
|
1680
|
+
) => any;
|
|
1678
1681
|
export declare const DetachVerifiedAccessTrustProviderResultFilterSensitiveLog: (
|
|
1679
1682
|
obj: DetachVerifiedAccessTrustProviderResult
|
|
1680
1683
|
) => any;
|
|
@@ -1913,6 +1913,24 @@ export declare const ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog:
|
|
|
1913
1913
|
export declare const ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog: (
|
|
1914
1914
|
obj: ModifyVerifiedAccessTrustProviderResult
|
|
1915
1915
|
) => any;
|
|
1916
|
+
export declare const ModifyVpnConnectionResultFilterSensitiveLog: (
|
|
1917
|
+
obj: ModifyVpnConnectionResult
|
|
1918
|
+
) => any;
|
|
1919
|
+
export declare const ModifyVpnConnectionOptionsResultFilterSensitiveLog: (
|
|
1920
|
+
obj: ModifyVpnConnectionOptionsResult
|
|
1921
|
+
) => any;
|
|
1922
|
+
export declare const ModifyVpnTunnelCertificateResultFilterSensitiveLog: (
|
|
1923
|
+
obj: ModifyVpnTunnelCertificateResult
|
|
1924
|
+
) => any;
|
|
1925
|
+
export declare const ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog: (
|
|
1926
|
+
obj: ModifyVpnTunnelOptionsSpecification
|
|
1927
|
+
) => any;
|
|
1928
|
+
export declare const ModifyVpnTunnelOptionsRequestFilterSensitiveLog: (
|
|
1929
|
+
obj: ModifyVpnTunnelOptionsRequest
|
|
1930
|
+
) => any;
|
|
1931
|
+
export declare const ModifyVpnTunnelOptionsResultFilterSensitiveLog: (
|
|
1932
|
+
obj: ModifyVpnTunnelOptionsResult
|
|
1933
|
+
) => any;
|
|
1916
1934
|
export declare const RequestSpotFleetRequestFilterSensitiveLog: (
|
|
1917
1935
|
obj: RequestSpotFleetRequest
|
|
1918
1936
|
) => any;
|
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.
|
|
4
|
+
"version": "3.356.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|