@aws-sdk/client-ec2 3.51.0 → 3.54.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/CHANGELOG.md +34 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/EC2ServiceException.js +11 -0
- package/dist-cjs/protocols/Aws_ec2.js +2089 -5210
- package/dist-es/endpoints.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/EC2ServiceException.js +12 -0
- package/dist-es/protocols/Aws_ec2.js +4174 -3648
- package/dist-types/EC2.d.ts +7 -8
- package/dist-types/EC2Client.d.ts +2 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterInstanceEventNotificationAttributesCommand.d.ts +1 -2
- package/dist-types/commands/DescribeFleetInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -1
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/RegisterInstanceEventNotificationAttributesCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/EC2ServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +38 -16
- package/dist-types/models/models_2.d.ts +10 -10
- package/dist-types/models/models_3.d.ts +116 -24
- package/dist-types/models/models_4.d.ts +5 -19
- package/dist-types/models/models_6.d.ts +28 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/EC2Client.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/EC2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +2 -2
- package/dist-types/ts3.4/models/models_3.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +35 -35
|
@@ -1276,7 +1276,11 @@ export interface DescribeFleetsRequest {
|
|
|
1276
1276
|
*/
|
|
1277
1277
|
NextToken?: string;
|
|
1278
1278
|
/**
|
|
1279
|
-
* <p>The
|
|
1279
|
+
* <p>The IDs of the EC2 Fleets.</p>
|
|
1280
|
+
* <note>
|
|
1281
|
+
* <p>If a fleet is of type <code>instant</code>, you must specify the fleet ID, otherwise
|
|
1282
|
+
* it does not appear in the response.</p>
|
|
1283
|
+
* </note>
|
|
1280
1284
|
*/
|
|
1281
1285
|
FleetIds?: string[];
|
|
1282
1286
|
/**
|
|
@@ -1342,12 +1346,12 @@ export interface DescribeFleetError {
|
|
|
1342
1346
|
Lifecycle?: InstanceLifecycle | string;
|
|
1343
1347
|
/**
|
|
1344
1348
|
* <p>The error code that indicates why the instance could not be launched. For more
|
|
1345
|
-
* information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error
|
|
1349
|
+
* information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
|
|
1346
1350
|
*/
|
|
1347
1351
|
ErrorCode?: string;
|
|
1348
1352
|
/**
|
|
1349
1353
|
* <p>The error message that describes why the instance could not be launched. For more
|
|
1350
|
-
* information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error
|
|
1354
|
+
* information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html">Error codes</a>.</p>
|
|
1351
1355
|
*/
|
|
1352
1356
|
ErrorMessage?: string;
|
|
1353
1357
|
}
|
|
@@ -1707,7 +1711,7 @@ export interface FleetData {
|
|
|
1707
1711
|
/**
|
|
1708
1712
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
1709
1713
|
* request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
1710
|
-
*
|
|
1714
|
+
* idempotency</a>.</p>
|
|
1711
1715
|
* <p>Constraints: Maximum 64 ASCII characters</p>
|
|
1712
1716
|
*/
|
|
1713
1717
|
ClientToken?: string;
|
|
@@ -3013,7 +3017,7 @@ export declare namespace DescribeIdFormatResult {
|
|
|
3013
3017
|
*/
|
|
3014
3018
|
const filterSensitiveLog: (obj: DescribeIdFormatResult) => any;
|
|
3015
3019
|
}
|
|
3016
|
-
export declare type ImageAttributeName = "blockDeviceMapping" | "bootMode" | "description" | "kernel" | "launchPermission" | "productCodes" | "ramdisk" | "sriovNetSupport";
|
|
3020
|
+
export declare type ImageAttributeName = "blockDeviceMapping" | "bootMode" | "description" | "kernel" | "lastLaunchedTime" | "launchPermission" | "productCodes" | "ramdisk" | "sriovNetSupport";
|
|
3017
3021
|
/**
|
|
3018
3022
|
* <p>Contains the parameters for DescribeImageAttribute.</p>
|
|
3019
3023
|
*/
|
|
@@ -3108,9 +3112,19 @@ export interface ImageAttribute {
|
|
|
3108
3112
|
*/
|
|
3109
3113
|
SriovNetSupport?: AttributeValue;
|
|
3110
3114
|
/**
|
|
3111
|
-
* <p>
|
|
3115
|
+
* <p>The boot mode.</p>
|
|
3112
3116
|
*/
|
|
3113
3117
|
BootMode?: AttributeValue;
|
|
3118
|
+
/**
|
|
3119
|
+
* <p>The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time
|
|
3120
|
+
* format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used,
|
|
3121
|
+
* there is a 24-hour delay before that usage is reported.</p>
|
|
3122
|
+
* <note>
|
|
3123
|
+
* <p>
|
|
3124
|
+
* <code>lastLaunchedTime</code> data is available starting April 2017.</p>
|
|
3125
|
+
* </note>
|
|
3126
|
+
*/
|
|
3127
|
+
LastLaunchedTime?: AttributeValue;
|
|
3114
3128
|
}
|
|
3115
3129
|
export declare namespace ImageAttribute {
|
|
3116
3130
|
/**
|
|
@@ -5240,7 +5254,7 @@ export interface InstanceNetworkInterface {
|
|
|
5240
5254
|
*/
|
|
5241
5255
|
VpcId?: string;
|
|
5242
5256
|
/**
|
|
5243
|
-
* <p>
|
|
5257
|
+
* <p>The type of network interface.</p>
|
|
5244
5258
|
* <p>Valid values: <code>interface</code> | <code>efa</code> | <code>trunk</code>
|
|
5245
5259
|
* </p>
|
|
5246
5260
|
*/
|
|
@@ -6101,8 +6115,8 @@ export interface DescribeInstanceTypesRequest {
|
|
|
6101
6115
|
* </li>
|
|
6102
6116
|
* <li>
|
|
6103
6117
|
* <p>
|
|
6104
|
-
* <code>instance-storage-info.encryption-
|
|
6105
|
-
* (<code>required</code> | <code>unsupported</code>).</p>
|
|
6118
|
+
* <code>instance-storage-info.encryption-support</code> - Indicates whether data is encrypted at rest
|
|
6119
|
+
* (<code>required</code> | <code>supported</code> | <code>unsupported</code>).</p>
|
|
6106
6120
|
* </li>
|
|
6107
6121
|
* <li>
|
|
6108
6122
|
* <p>
|
|
@@ -6166,6 +6180,11 @@ export interface DescribeInstanceTypesRequest {
|
|
|
6166
6180
|
* </li>
|
|
6167
6181
|
* <li>
|
|
6168
6182
|
* <p>
|
|
6183
|
+
* <code>network-info.maximum-network-cards</code> - The maximum number of network cards per
|
|
6184
|
+
* instance.</p>
|
|
6185
|
+
* </li>
|
|
6186
|
+
* <li>
|
|
6187
|
+
* <p>
|
|
6169
6188
|
* <code>network-info.maximum-network-interfaces</code> - The maximum number of network interfaces per instance.</p>
|
|
6170
6189
|
* </li>
|
|
6171
6190
|
* <li>
|
|
@@ -7504,6 +7523,11 @@ export interface DescribeLocalGatewayRouteTablesRequest {
|
|
|
7504
7523
|
* </li>
|
|
7505
7524
|
* <li>
|
|
7506
7525
|
* <p>
|
|
7526
|
+
* <code>local-gateway-route-table-arn</code> - The Amazon Resource Name (ARN) of the
|
|
7527
|
+
* local gateway route table.</p>
|
|
7528
|
+
* </li>
|
|
7529
|
+
* <li>
|
|
7530
|
+
* <p>
|
|
7507
7531
|
* <code>local-gateway-route-table-id</code> - The ID of a local gateway route table.</p>
|
|
7508
7532
|
* </li>
|
|
7509
7533
|
* <li>
|
|
@@ -7512,6 +7536,10 @@ export interface DescribeLocalGatewayRouteTablesRequest {
|
|
|
7512
7536
|
* </li>
|
|
7513
7537
|
* <li>
|
|
7514
7538
|
* <p>
|
|
7539
|
+
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway route table.</p>
|
|
7540
|
+
* </li>
|
|
7541
|
+
* <li>
|
|
7542
|
+
* <p>
|
|
7515
7543
|
* <code>state</code> - The state of the local gateway route table.</p>
|
|
7516
7544
|
* </li>
|
|
7517
7545
|
* </ul>
|
|
@@ -7608,6 +7636,11 @@ export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations
|
|
|
7608
7636
|
* </li>
|
|
7609
7637
|
* <li>
|
|
7610
7638
|
* <p>
|
|
7639
|
+
* <code>local-gateway-route-table-arn</code> - The Amazon Resource Name (ARN) of the local
|
|
7640
|
+
* gateway route table for the virtual interface group.</p>
|
|
7641
|
+
* </li>
|
|
7642
|
+
* <li>
|
|
7643
|
+
* <p>
|
|
7611
7644
|
* <code>local-gateway-route-table-id</code> - The ID of the local gateway route table.</p>
|
|
7612
7645
|
* </li>
|
|
7613
7646
|
* <li>
|
|
@@ -7620,6 +7653,11 @@ export interface DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations
|
|
|
7620
7653
|
* </li>
|
|
7621
7654
|
* <li>
|
|
7622
7655
|
* <p>
|
|
7656
|
+
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway virtual
|
|
7657
|
+
* interface group association.</p>
|
|
7658
|
+
* </li>
|
|
7659
|
+
* <li>
|
|
7660
|
+
* <p>
|
|
7623
7661
|
* <code>state</code> - The state of the association.</p>
|
|
7624
7662
|
* </li>
|
|
7625
7663
|
* </ul>
|
|
@@ -7720,6 +7758,11 @@ export interface DescribeLocalGatewayRouteTableVpcAssociationsRequest {
|
|
|
7720
7758
|
* </li>
|
|
7721
7759
|
* <li>
|
|
7722
7760
|
* <p>
|
|
7761
|
+
* <code>local-gateway-route-table-arn</code> - The Amazon Resource Name (ARN) of the local
|
|
7762
|
+
* gateway route table for the association.</p>
|
|
7763
|
+
* </li>
|
|
7764
|
+
* <li>
|
|
7765
|
+
* <p>
|
|
7723
7766
|
* <code>local-gateway-route-table-id</code> - The ID of the local gateway route table.</p>
|
|
7724
7767
|
* </li>
|
|
7725
7768
|
* <li>
|
|
@@ -7728,6 +7771,11 @@ export interface DescribeLocalGatewayRouteTableVpcAssociationsRequest {
|
|
|
7728
7771
|
* </li>
|
|
7729
7772
|
* <li>
|
|
7730
7773
|
* <p>
|
|
7774
|
+
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway route table
|
|
7775
|
+
* for the association.</p>
|
|
7776
|
+
* </li>
|
|
7777
|
+
* <li>
|
|
7778
|
+
* <p>
|
|
7731
7779
|
* <code>state</code> - The state of the association.</p>
|
|
7732
7780
|
* </li>
|
|
7733
7781
|
* <li>
|
|
@@ -7776,6 +7824,10 @@ export declare namespace DescribeLocalGatewayRouteTableVpcAssociationsResult {
|
|
|
7776
7824
|
const filterSensitiveLog: (obj: DescribeLocalGatewayRouteTableVpcAssociationsResult) => any;
|
|
7777
7825
|
}
|
|
7778
7826
|
export interface DescribeLocalGatewaysRequest {
|
|
7827
|
+
/**
|
|
7828
|
+
* <p>The IDs of the local gateways.</p>
|
|
7829
|
+
*/
|
|
7830
|
+
LocalGatewayIds?: string[];
|
|
7779
7831
|
/**
|
|
7780
7832
|
* <p>One or more filters.</p>
|
|
7781
7833
|
* <ul>
|
|
@@ -7785,19 +7837,11 @@ export interface DescribeLocalGatewaysRequest {
|
|
|
7785
7837
|
* </li>
|
|
7786
7838
|
* <li>
|
|
7787
7839
|
* <p>
|
|
7788
|
-
* <code>
|
|
7789
|
-
* </li>
|
|
7790
|
-
* <li>
|
|
7791
|
-
* <p>
|
|
7792
|
-
* <code>local-gateway-route-table-virtual-interface-group-association-id</code> - The ID of the association.</p>
|
|
7793
|
-
* </li>
|
|
7794
|
-
* <li>
|
|
7795
|
-
* <p>
|
|
7796
|
-
* <code>local-gateway-route-table-virtual-interface-group-id</code> - The ID of the virtual interface group.</p>
|
|
7840
|
+
* <code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p>
|
|
7797
7841
|
* </li>
|
|
7798
7842
|
* <li>
|
|
7799
7843
|
* <p>
|
|
7800
|
-
* <code>
|
|
7844
|
+
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway.</p>
|
|
7801
7845
|
* </li>
|
|
7802
7846
|
* <li>
|
|
7803
7847
|
* <p>
|
|
@@ -7805,10 +7849,6 @@ export interface DescribeLocalGatewaysRequest {
|
|
|
7805
7849
|
* </li>
|
|
7806
7850
|
* </ul>
|
|
7807
7851
|
*/
|
|
7808
|
-
LocalGatewayIds?: string[];
|
|
7809
|
-
/**
|
|
7810
|
-
* <p>One or more filters.</p>
|
|
7811
|
-
*/
|
|
7812
7852
|
Filters?: Filter[];
|
|
7813
7853
|
/**
|
|
7814
7854
|
* <p>The maximum number of results to return with a single call.
|
|
@@ -7893,11 +7933,15 @@ export interface DescribeLocalGatewayVirtualInterfaceGroupsRequest {
|
|
|
7893
7933
|
* </li>
|
|
7894
7934
|
* <li>
|
|
7895
7935
|
* <p>
|
|
7936
|
+
* <code>local-gateway-virtual-interface-group-id</code> - The ID of the virtual interface group.</p>
|
|
7937
|
+
* </li>
|
|
7938
|
+
* <li>
|
|
7939
|
+
* <p>
|
|
7896
7940
|
* <code>local-gateway-virtual-interface-id</code> - The ID of the virtual interface.</p>
|
|
7897
7941
|
* </li>
|
|
7898
7942
|
* <li>
|
|
7899
7943
|
* <p>
|
|
7900
|
-
* <code>
|
|
7944
|
+
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway virtual interface group.</p>
|
|
7901
7945
|
* </li>
|
|
7902
7946
|
* </ul>
|
|
7903
7947
|
*/
|
|
@@ -7978,6 +8022,45 @@ export interface DescribeLocalGatewayVirtualInterfacesRequest {
|
|
|
7978
8022
|
LocalGatewayVirtualInterfaceIds?: string[];
|
|
7979
8023
|
/**
|
|
7980
8024
|
* <p>One or more filters.</p>
|
|
8025
|
+
* <ul>
|
|
8026
|
+
* <li>
|
|
8027
|
+
* <p>
|
|
8028
|
+
* <code>local-address</code> - The local address.</p>
|
|
8029
|
+
* </li>
|
|
8030
|
+
* <li>
|
|
8031
|
+
* <p>
|
|
8032
|
+
* <code>local-bgp-asn</code> - The Border Gateway Protocol (BGP) Autonomous System Number (ASN)
|
|
8033
|
+
* of the local gateway.</p>
|
|
8034
|
+
* </li>
|
|
8035
|
+
* <li>
|
|
8036
|
+
* <p>
|
|
8037
|
+
* <code>local-gateway-id</code> - The ID of the local gateway.</p>
|
|
8038
|
+
* </li>
|
|
8039
|
+
* <li>
|
|
8040
|
+
* <p>
|
|
8041
|
+
* <code>local-gateway-virtual-interface-id</code> - The ID of the virtual interface.</p>
|
|
8042
|
+
* </li>
|
|
8043
|
+
* <li>
|
|
8044
|
+
* <p>
|
|
8045
|
+
* <code>local-gateway-virtual-interface-group-id</code> - The ID of the virtual interface group.</p>
|
|
8046
|
+
* </li>
|
|
8047
|
+
* <li>
|
|
8048
|
+
* <p>
|
|
8049
|
+
* <code>owner-id</code> - The ID of the Amazon Web Services account that owns the local gateway virtual interface.</p>
|
|
8050
|
+
* </li>
|
|
8051
|
+
* <li>
|
|
8052
|
+
* <p>
|
|
8053
|
+
* <code>peer-address</code> - The peer address.</p>
|
|
8054
|
+
* </li>
|
|
8055
|
+
* <li>
|
|
8056
|
+
* <p>
|
|
8057
|
+
* <code>peer-bgp-asn</code> - The peer BGP ASN.</p>
|
|
8058
|
+
* </li>
|
|
8059
|
+
* <li>
|
|
8060
|
+
* <p>
|
|
8061
|
+
* <code>vlan</code> - The ID of the VLAN.</p>
|
|
8062
|
+
* </li>
|
|
8063
|
+
* </ul>
|
|
7981
8064
|
*/
|
|
7982
8065
|
Filters?: Filter[];
|
|
7983
8066
|
/**
|
|
@@ -9245,6 +9328,15 @@ export interface DescribeNetworkInterfacesRequest {
|
|
|
9245
9328
|
* </li>
|
|
9246
9329
|
* <li>
|
|
9247
9330
|
* <p>
|
|
9331
|
+
* <code>interface-type</code> - The type of network interface (<code>api_gateway_managed</code> |
|
|
9332
|
+
* <code>aws_codestar_connections_managed</code> | <code>branch</code> | <code>efa</code> |
|
|
9333
|
+
* <code>gateway_load_balancer</code> | <code>gateway_load_balancer_endpoint</code> | <code>global_accelerator_managed</code> |
|
|
9334
|
+
* <code>interface</code> | <code>iot_rules_managed</code> | <code>lambda</code> | <code>load_balancer</code> |
|
|
9335
|
+
* <code>nat_gateway</code> | <code>network_load_balancer</code> | <code>quicksight</code> |
|
|
9336
|
+
* <code>transit_gateway</code> | <code>trunk</code> | <code>vpc_endpoint</code>).</p>
|
|
9337
|
+
* </li>
|
|
9338
|
+
* <li>
|
|
9339
|
+
* <p>
|
|
9248
9340
|
* <code>mac-address</code> - The MAC address of the network interface.</p>
|
|
9249
9341
|
* </li>
|
|
9250
9342
|
* <li>
|
|
@@ -2233,10 +2233,6 @@ export interface InstanceNetworkInterfaceSpecification {
|
|
|
2233
2233
|
AssociateCarrierIpAddress?: boolean;
|
|
2234
2234
|
/**
|
|
2235
2235
|
* <p>The type of network interface.</p>
|
|
2236
|
-
* <p>To create an Elastic Fabric Adapter (EFA), specify
|
|
2237
|
-
* <code>efa</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html">Elastic Fabric Adapter</a> in the
|
|
2238
|
-
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
2239
|
-
*
|
|
2240
2236
|
* <p>Valid values: <code>interface</code> | <code>efa</code>
|
|
2241
2237
|
* </p>
|
|
2242
2238
|
*/
|
|
@@ -8796,33 +8792,23 @@ export interface GetCoipPoolUsageRequest {
|
|
|
8796
8792
|
*/
|
|
8797
8793
|
PoolId: string | undefined;
|
|
8798
8794
|
/**
|
|
8799
|
-
* <p>
|
|
8795
|
+
* <p>One or more filters.</p>
|
|
8800
8796
|
* <ul>
|
|
8801
8797
|
* <li>
|
|
8802
8798
|
* <p>
|
|
8803
|
-
* <code>coip-address-usage.allocation-id</code>
|
|
8804
|
-
* </p>
|
|
8799
|
+
* <code>coip-address-usage.allocation-id</code> - The allocation ID of the address.</p>
|
|
8805
8800
|
* </li>
|
|
8806
|
-
* </ul>
|
|
8807
|
-
* <ul>
|
|
8808
8801
|
* <li>
|
|
8809
8802
|
* <p>
|
|
8810
|
-
* <code>coip-address-usage.aws-account-id</code>
|
|
8811
|
-
* </p>
|
|
8803
|
+
* <code>coip-address-usage.aws-account-id</code> - The ID of the Amazon Web Services account that is using the customer-owned IP address.</p>
|
|
8812
8804
|
* </li>
|
|
8813
|
-
* </ul>
|
|
8814
|
-
* <ul>
|
|
8815
8805
|
* <li>
|
|
8816
8806
|
* <p>
|
|
8817
|
-
* <code>coip-address-usage.aws-service</code>
|
|
8818
|
-
* </p>
|
|
8807
|
+
* <code>coip-address-usage.aws-service</code> - The Amazon Web Services service that is using the customer-owned IP address.</p>
|
|
8819
8808
|
* </li>
|
|
8820
|
-
* </ul>
|
|
8821
|
-
* <ul>
|
|
8822
8809
|
* <li>
|
|
8823
8810
|
* <p>
|
|
8824
|
-
* <code>coip-address-usage.co-ip</code>
|
|
8825
|
-
* </p>
|
|
8811
|
+
* <code>coip-address-usage.co-ip</code> - The customer-owned IP address.</p>
|
|
8826
8812
|
* </li>
|
|
8827
8813
|
* </ul>
|
|
8828
8814
|
*/
|
|
@@ -1408,6 +1408,34 @@ export interface SearchLocalGatewayRoutesRequest {
|
|
|
1408
1408
|
LocalGatewayRouteTableId: string | undefined;
|
|
1409
1409
|
/**
|
|
1410
1410
|
* <p>One or more filters.</p>
|
|
1411
|
+
* <ul>
|
|
1412
|
+
* <li>
|
|
1413
|
+
* <p>
|
|
1414
|
+
* <code>route-search.exact-match</code> - The exact match of the specified filter.</p>
|
|
1415
|
+
* </li>
|
|
1416
|
+
* <li>
|
|
1417
|
+
* <p>
|
|
1418
|
+
* <code>route-search.longest-prefix-match</code> - The longest prefix that matches the route.</p>
|
|
1419
|
+
* </li>
|
|
1420
|
+
* <li>
|
|
1421
|
+
* <p>
|
|
1422
|
+
* <code>route-search.subnet-of-match</code> - The routes with a subnet that match the specified CIDR filter.</p>
|
|
1423
|
+
* </li>
|
|
1424
|
+
* <li>
|
|
1425
|
+
* <p>
|
|
1426
|
+
* <code>route-search.supernet-of-match</code> - The routes with a CIDR that encompass the CIDR filter.
|
|
1427
|
+
* For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify <code>supernet-of-match</code>
|
|
1428
|
+
* as 10.0.1.0/30, then the result returns 10.0.1.0/29.</p>
|
|
1429
|
+
* </li>
|
|
1430
|
+
* <li>
|
|
1431
|
+
* <p>
|
|
1432
|
+
* <code>state</code> - The state of the route.</p>
|
|
1433
|
+
* </li>
|
|
1434
|
+
* <li>
|
|
1435
|
+
* <p>
|
|
1436
|
+
* <code>type</code> - The route type.</p>
|
|
1437
|
+
* </li>
|
|
1438
|
+
* </ul>
|
|
1411
1439
|
*/
|
|
1412
1440
|
Filters?: Filter[];
|
|
1413
1441
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptReservedInstancesExchangeQuoteCommandInput, AcceptReservedInstancesExchangeQuoteCommandOutput } from "./commands/AcceptReservedInstancesExchangeQuoteCommand";
|
|
10
10
|
import { AcceptTransitGatewayMulticastDomainAssociationsCommandInput, AcceptTransitGatewayMulticastDomainAssociationsCommandOutput } from "./commands/AcceptTransitGatewayMulticastDomainAssociationsCommand";
|
|
11
11
|
import { AcceptTransitGatewayPeeringAttachmentCommandInput, AcceptTransitGatewayPeeringAttachmentCommandOutput } from "./commands/AcceptTransitGatewayPeeringAttachmentCommand";
|
|
@@ -537,7 +537,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
537
537
|
|
|
538
538
|
urlParser?: __UrlParser;
|
|
539
539
|
|
|
540
|
-
bodyLengthChecker?:
|
|
540
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
541
541
|
|
|
542
542
|
streamCollector?: __StreamCollector;
|
|
543
543
|
|
|
@@ -879,7 +879,7 @@ export declare namespace AdvertiseByoipCidrResult {
|
|
|
879
879
|
const filterSensitiveLog: (obj: AdvertiseByoipCidrResult) => any;
|
|
880
880
|
}
|
|
881
881
|
export declare type Affinity = "default" | "host";
|
|
882
|
-
export declare type ResourceType = "capacity-reservation" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
|
|
882
|
+
export declare type ResourceType = "capacity-reservation" | "carrier-gateway" | "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-route-table-virtual-interface-group-association" | "local-gateway-route-table-vpc-association" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "natgateway" | "network-acl" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-service" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway";
|
|
883
883
|
|
|
884
884
|
export interface TagSpecification {
|
|
885
885
|
|
|
@@ -973,7 +973,7 @@ export interface CreateIpamPoolRequest {
|
|
|
973
973
|
|
|
974
974
|
Description?: string;
|
|
975
975
|
|
|
976
|
-
AddressFamily
|
|
976
|
+
AddressFamily: AddressFamily | string | undefined;
|
|
977
977
|
|
|
978
978
|
AutoImport?: boolean;
|
|
979
979
|
|
|
@@ -2660,7 +2660,7 @@ export declare namespace GroupIdentifier {
|
|
|
2660
2660
|
|
|
2661
2661
|
const filterSensitiveLog: (obj: GroupIdentifier) => any;
|
|
2662
2662
|
}
|
|
2663
|
-
export declare type NetworkInterfaceType = "efa" | "interface" | "natGateway" | "trunk";
|
|
2663
|
+
export declare type NetworkInterfaceType = "api_gateway_managed" | "aws_codestar_connections_managed" | "branch" | "efa" | "gateway_load_balancer" | "gateway_load_balancer_endpoint" | "global_accelerator_managed" | "interface" | "iot_rules_managed" | "lambda" | "load_balancer" | "natGateway" | "network_load_balancer" | "quicksight" | "transit_gateway" | "trunk" | "vpc_endpoint";
|
|
2664
2664
|
|
|
2665
2665
|
export interface NetworkInterfaceIpv6Address {
|
|
2666
2666
|
|
|
@@ -1270,7 +1270,7 @@ export declare namespace DescribeIdFormatResult {
|
|
|
1270
1270
|
|
|
1271
1271
|
const filterSensitiveLog: (obj: DescribeIdFormatResult) => any;
|
|
1272
1272
|
}
|
|
1273
|
-
export declare type ImageAttributeName = "blockDeviceMapping" | "bootMode" | "description" | "kernel" | "launchPermission" | "productCodes" | "ramdisk" | "sriovNetSupport";
|
|
1273
|
+
export declare type ImageAttributeName = "blockDeviceMapping" | "bootMode" | "description" | "kernel" | "lastLaunchedTime" | "launchPermission" | "productCodes" | "ramdisk" | "sriovNetSupport";
|
|
1274
1274
|
|
|
1275
1275
|
export interface DescribeImageAttributeRequest {
|
|
1276
1276
|
|
|
@@ -1319,6 +1319,8 @@ export interface ImageAttribute {
|
|
|
1319
1319
|
SriovNetSupport?: AttributeValue;
|
|
1320
1320
|
|
|
1321
1321
|
BootMode?: AttributeValue;
|
|
1322
|
+
|
|
1323
|
+
LastLaunchedTime?: AttributeValue;
|
|
1322
1324
|
}
|
|
1323
1325
|
export declare namespace ImageAttribute {
|
|
1324
1326
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
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.54.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,45 +18,45 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-node": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
52
|
-
"@aws-sdk/util-waiter": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-sdk-ec2": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
40
|
+
"@aws-sdk/types": "3.54.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
44
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
52
|
+
"@aws-sdk/util-waiter": "3.54.0",
|
|
53
53
|
"entities": "2.2.0",
|
|
54
54
|
"fast-xml-parser": "3.19.0",
|
|
55
55
|
"tslib": "^2.3.0",
|
|
56
56
|
"uuid": "^8.3.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
60
60
|
"@tsconfig/recommended": "1.0.1",
|
|
61
61
|
"@types/node": "^12.7.5",
|
|
62
62
|
"@types/uuid": "^8.3.0",
|