@aws-sdk/client-ec2 3.355.0 → 3.357.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 +82 -63
- 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 +26 -7
- package/dist-types/EC2Client.d.ts +1 -1
- 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 +30 -30
|
@@ -55,23 +55,6 @@ export interface RestoreAddressToClassicCommandOutput extends RestoreAddressToCl
|
|
|
55
55
|
* @throws {@link EC2ServiceException}
|
|
56
56
|
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
57
57
|
*
|
|
58
|
-
* @example To restore an address to EC2-Classic
|
|
59
|
-
* ```javascript
|
|
60
|
-
* // This example restores the specified Elastic IP address to the EC2-Classic platform.
|
|
61
|
-
* const input = {
|
|
62
|
-
* "PublicIp": "198.51.100.0"
|
|
63
|
-
* };
|
|
64
|
-
* const command = new RestoreAddressToClassicCommand(input);
|
|
65
|
-
* const response = await client.send(command);
|
|
66
|
-
* /* response ==
|
|
67
|
-
* {
|
|
68
|
-
* "PublicIp": "198.51.100.0",
|
|
69
|
-
* "Status": "MoveInProgress"
|
|
70
|
-
* }
|
|
71
|
-
* *\/
|
|
72
|
-
* // example id: ec2-restore-address-to-classic-1
|
|
73
|
-
* ```
|
|
74
|
-
*
|
|
75
58
|
*/
|
|
76
59
|
export declare class RestoreAddressToClassicCommand extends $Command<RestoreAddressToClassicCommandInput, RestoreAddressToClassicCommandOutput, EC2ClientResolvedConfig> {
|
|
77
60
|
readonly input: RestoreAddressToClassicCommandInput;
|
|
@@ -126,76 +126,6 @@ export interface RunScheduledInstancesCommandOutput extends RunScheduledInstance
|
|
|
126
126
|
* @throws {@link EC2ServiceException}
|
|
127
127
|
* <p>Base exception class for all service exceptions from EC2 service.</p>
|
|
128
128
|
*
|
|
129
|
-
* @example To launch a Scheduled Instance in a VPC
|
|
130
|
-
* ```javascript
|
|
131
|
-
* // This example launches the specified Scheduled Instance in a VPC.
|
|
132
|
-
* const input = {
|
|
133
|
-
* "InstanceCount": 1,
|
|
134
|
-
* "LaunchSpecification": {
|
|
135
|
-
* "IamInstanceProfile": {
|
|
136
|
-
* "Name": "my-iam-role"
|
|
137
|
-
* },
|
|
138
|
-
* "ImageId": "ami-12345678",
|
|
139
|
-
* "InstanceType": "c4.large",
|
|
140
|
-
* "KeyName": "my-key-pair",
|
|
141
|
-
* "NetworkInterfaces": [
|
|
142
|
-
* {
|
|
143
|
-
* "AssociatePublicIpAddress": true,
|
|
144
|
-
* "DeviceIndex": 0,
|
|
145
|
-
* "Groups": [
|
|
146
|
-
* "sg-12345678"
|
|
147
|
-
* ],
|
|
148
|
-
* "SubnetId": "subnet-12345678"
|
|
149
|
-
* }
|
|
150
|
-
* ]
|
|
151
|
-
* },
|
|
152
|
-
* "ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012"
|
|
153
|
-
* };
|
|
154
|
-
* const command = new RunScheduledInstancesCommand(input);
|
|
155
|
-
* const response = await client.send(command);
|
|
156
|
-
* /* response ==
|
|
157
|
-
* {
|
|
158
|
-
* "InstanceIdSet": [
|
|
159
|
-
* "i-1234567890abcdef0"
|
|
160
|
-
* ]
|
|
161
|
-
* }
|
|
162
|
-
* *\/
|
|
163
|
-
* // example id: ec2-run-scheduled-instances-1
|
|
164
|
-
* ```
|
|
165
|
-
*
|
|
166
|
-
* @example To launch a Scheduled Instance in EC2-Classic
|
|
167
|
-
* ```javascript
|
|
168
|
-
* // This example launches the specified Scheduled Instance in EC2-Classic.
|
|
169
|
-
* const input = {
|
|
170
|
-
* "InstanceCount": 1,
|
|
171
|
-
* "LaunchSpecification": {
|
|
172
|
-
* "IamInstanceProfile": {
|
|
173
|
-
* "Name": "my-iam-role"
|
|
174
|
-
* },
|
|
175
|
-
* "ImageId": "ami-12345678",
|
|
176
|
-
* "InstanceType": "c4.large",
|
|
177
|
-
* "KeyName": "my-key-pair",
|
|
178
|
-
* "Placement": {
|
|
179
|
-
* "AvailabilityZone": "us-west-2b"
|
|
180
|
-
* },
|
|
181
|
-
* "SecurityGroupIds": [
|
|
182
|
-
* "sg-12345678"
|
|
183
|
-
* ]
|
|
184
|
-
* },
|
|
185
|
-
* "ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012"
|
|
186
|
-
* };
|
|
187
|
-
* const command = new RunScheduledInstancesCommand(input);
|
|
188
|
-
* const response = await client.send(command);
|
|
189
|
-
* /* response ==
|
|
190
|
-
* {
|
|
191
|
-
* "InstanceIdSet": [
|
|
192
|
-
* "i-1234567890abcdef0"
|
|
193
|
-
* ]
|
|
194
|
-
* }
|
|
195
|
-
* *\/
|
|
196
|
-
* // example id: ec2-run-scheduled-instances-2
|
|
197
|
-
* ```
|
|
198
|
-
*
|
|
199
129
|
*/
|
|
200
130
|
export declare class RunScheduledInstancesCommand extends $Command<RunScheduledInstancesCommandInput, RunScheduledInstancesCommandOutput, EC2ClientResolvedConfig> {
|
|
201
131
|
readonly input: RunScheduledInstancesCommandInput;
|
|
@@ -2460,10 +2460,14 @@ export interface AllocateHostsRequest {
|
|
|
2460
2460
|
*/
|
|
2461
2461
|
InstanceFamily?: string;
|
|
2462
2462
|
/**
|
|
2463
|
-
* <p>The number of Dedicated Hosts to allocate to your account with these
|
|
2464
|
-
*
|
|
2463
|
+
* <p>The number of Dedicated Hosts to allocate to your account with these parameters. If you are
|
|
2464
|
+
* allocating the Dedicated Hosts on an Outpost, and you specify <b>AssetIds</b>,
|
|
2465
|
+
* you can omit this parameter. In this case, Amazon EC2 allocates a Dedicated Host on each
|
|
2466
|
+
* specified hardware asset. If you specify both <b>AssetIds</b> and
|
|
2467
|
+
* <b>Quantity</b>, then the value that you specify for
|
|
2468
|
+
* <b>Quantity</b> must be equal to the number of asset IDs specified.</p>
|
|
2465
2469
|
*/
|
|
2466
|
-
Quantity
|
|
2470
|
+
Quantity?: number;
|
|
2467
2471
|
/**
|
|
2468
2472
|
* <p>The tags to apply to the Dedicated Host during creation.</p>
|
|
2469
2473
|
*/
|
|
@@ -2478,7 +2482,9 @@ export interface AllocateHostsRequest {
|
|
|
2478
2482
|
HostRecovery?: HostRecovery | string;
|
|
2479
2483
|
/**
|
|
2480
2484
|
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate
|
|
2481
|
-
* the Dedicated Host
|
|
2485
|
+
* the Dedicated Host. If you specify <b>OutpostArn</b>, you can
|
|
2486
|
+
* optionally specify <b>AssetIds</b>.</p>
|
|
2487
|
+
* <p>If you are allocating the Dedicated Host in a Region, omit this parameter.</p>
|
|
2482
2488
|
*/
|
|
2483
2489
|
OutpostArn?: string;
|
|
2484
2490
|
/**
|
|
@@ -2487,6 +2493,26 @@ export interface AllocateHostsRequest {
|
|
|
2487
2493
|
* maintenance</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2488
2494
|
*/
|
|
2489
2495
|
HostMaintenance?: HostMaintenance | string;
|
|
2496
|
+
/**
|
|
2497
|
+
* <p>The IDs of the Outpost hardware assets on which to allocate the Dedicated Hosts. Targeting
|
|
2498
|
+
* specific hardware assets on an Outpost can help to minimize latency between your workloads.
|
|
2499
|
+
* This parameter is supported only if you specify <b>OutpostArn</b>.
|
|
2500
|
+
* If you are allocating the Dedicated Hosts in a Region, omit this parameter.</p>
|
|
2501
|
+
* <ul>
|
|
2502
|
+
* <li>
|
|
2503
|
+
* <p>If you specify this parameter, you can omit <b>Quantity</b>.
|
|
2504
|
+
* In this case, Amazon EC2 allocates a Dedicated Host on each specified hardware
|
|
2505
|
+
* asset.</p>
|
|
2506
|
+
* </li>
|
|
2507
|
+
* <li>
|
|
2508
|
+
* <p>If you specify both <b>AssetIds</b> and
|
|
2509
|
+
* <b>Quantity</b>, then the value for
|
|
2510
|
+
* <b>Quantity</b> must be equal to the number of asset IDs
|
|
2511
|
+
* specified.</p>
|
|
2512
|
+
* </li>
|
|
2513
|
+
* </ul>
|
|
2514
|
+
*/
|
|
2515
|
+
AssetIds?: string[];
|
|
2490
2516
|
}
|
|
2491
2517
|
/**
|
|
2492
2518
|
* @public
|
|
@@ -1709,7 +1709,9 @@ export interface FleetLaunchTemplateOverridesRequest {
|
|
|
1709
1709
|
*/
|
|
1710
1710
|
InstanceRequirements?: InstanceRequirementsRequest;
|
|
1711
1711
|
/**
|
|
1712
|
-
* <p>The ID of the AMI. An AMI is required to launch an instance.
|
|
1712
|
+
* <p>The ID of the AMI. An AMI is required to launch an instance. This parameter is only
|
|
1713
|
+
* available for fleets of type <code>instant</code>. For fleets of type <code>maintain</code>
|
|
1714
|
+
* and <code>request</code>, you must specify the AMI ID in the launch template.</p>
|
|
1713
1715
|
*/
|
|
1714
1716
|
ImageId?: string;
|
|
1715
1717
|
}
|
|
@@ -2751,7 +2753,9 @@ export interface FleetLaunchTemplateOverrides {
|
|
|
2751
2753
|
*/
|
|
2752
2754
|
InstanceRequirements?: InstanceRequirements;
|
|
2753
2755
|
/**
|
|
2754
|
-
* <p>The ID of the AMI. An AMI is required to launch an instance.
|
|
2756
|
+
* <p>The ID of the AMI. An AMI is required to launch an instance. This parameter is only
|
|
2757
|
+
* available for fleets of type <code>instant</code>. For fleets of type <code>maintain</code>
|
|
2758
|
+
* and <code>request</code>, you must specify the AMI ID in the launch template.</p>
|
|
2755
2759
|
*/
|
|
2756
2760
|
ImageId?: string;
|
|
2757
2761
|
}
|
|
@@ -6618,3 +6618,31 @@ export declare const CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog:
|
|
|
6618
6618
|
* @internal
|
|
6619
6619
|
*/
|
|
6620
6620
|
export declare const CreateVerifiedAccessTrustProviderResultFilterSensitiveLog: (obj: CreateVerifiedAccessTrustProviderResult) => any;
|
|
6621
|
+
/**
|
|
6622
|
+
* @internal
|
|
6623
|
+
*/
|
|
6624
|
+
export declare const VpnTunnelOptionsSpecificationFilterSensitiveLog: (obj: VpnTunnelOptionsSpecification) => any;
|
|
6625
|
+
/**
|
|
6626
|
+
* @internal
|
|
6627
|
+
*/
|
|
6628
|
+
export declare const VpnConnectionOptionsSpecificationFilterSensitiveLog: (obj: VpnConnectionOptionsSpecification) => any;
|
|
6629
|
+
/**
|
|
6630
|
+
* @internal
|
|
6631
|
+
*/
|
|
6632
|
+
export declare const CreateVpnConnectionRequestFilterSensitiveLog: (obj: CreateVpnConnectionRequest) => any;
|
|
6633
|
+
/**
|
|
6634
|
+
* @internal
|
|
6635
|
+
*/
|
|
6636
|
+
export declare const TunnelOptionFilterSensitiveLog: (obj: TunnelOption) => any;
|
|
6637
|
+
/**
|
|
6638
|
+
* @internal
|
|
6639
|
+
*/
|
|
6640
|
+
export declare const VpnConnectionOptionsFilterSensitiveLog: (obj: VpnConnectionOptions) => any;
|
|
6641
|
+
/**
|
|
6642
|
+
* @internal
|
|
6643
|
+
*/
|
|
6644
|
+
export declare const VpnConnectionFilterSensitiveLog: (obj: VpnConnection) => any;
|
|
6645
|
+
/**
|
|
6646
|
+
* @internal
|
|
6647
|
+
*/
|
|
6648
|
+
export declare const CreateVpnConnectionResultFilterSensitiveLog: (obj: CreateVpnConnectionResult) => any;
|
|
@@ -5892,6 +5892,10 @@ export interface Host {
|
|
|
5892
5892
|
* Host.</p>
|
|
5893
5893
|
*/
|
|
5894
5894
|
HostMaintenance?: HostMaintenance | string;
|
|
5895
|
+
/**
|
|
5896
|
+
* <p>The ID of the Outpost hardware asset on which the Dedicated Host is allocated.</p>
|
|
5897
|
+
*/
|
|
5898
|
+
AssetId?: string;
|
|
5895
5899
|
}
|
|
5896
5900
|
/**
|
|
5897
5901
|
* @public
|
|
@@ -7960,7 +7964,8 @@ export interface CpuOptions {
|
|
|
7960
7964
|
*/
|
|
7961
7965
|
ThreadsPerCore?: number;
|
|
7962
7966
|
/**
|
|
7963
|
-
* <p>Indicates whether the instance is enabled for AMD SEV-SNP
|
|
7967
|
+
* <p>Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see
|
|
7968
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html">AMD SEV-SNP</a>.</p>
|
|
7964
7969
|
*/
|
|
7965
7970
|
AmdSevSnp?: AmdSevSnpSpecification | string;
|
|
7966
7971
|
}
|
|
@@ -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.357.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",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
37
|
-
"@aws-sdk/middleware-serde": "3.
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
39
|
-
"@aws-sdk/middleware-stack": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.357.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.357.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-sdk-ec2": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.357.0",
|
|
44
|
+
"@aws-sdk/types": "3.357.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.357.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
56
|
+
"@aws-sdk/util-waiter": "3.357.0",
|
|
57
57
|
"@smithy/protocol-http": "^1.0.1",
|
|
58
58
|
"@smithy/types": "^1.0.0",
|
|
59
59
|
"fast-xml-parser": "4.2.4",
|