@aws-sdk/client-ec2 3.267.0 → 3.269.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_1.js +7 -0
- package/dist-cjs/models/models_4.js +19 -0
- package/dist-cjs/models/models_5.js +4 -0
- package/dist-cjs/models/models_6.js +12 -0
- package/dist-cjs/waiters/index.js +1 -0
- package/dist-cjs/waiters/waitForSnapshotImported.js +59 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/models/models_4.js +19 -0
- package/dist-es/models/models_5.js +4 -0
- package/dist-es/models/models_6.js +12 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForSnapshotImported.js +54 -0
- package/dist-types/EC2.d.ts +6 -13
- package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -2
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -5
- package/dist-types/commands/DescribeVolumesCommand.d.ts +1 -5
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -1
- package/dist-types/models/models_1.d.ts +31 -6
- package/dist-types/models/models_3.d.ts +50 -41
- package/dist-types/models/models_4.d.ts +135 -130
- package/dist-types/models/models_5.d.ts +24 -18
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForSnapshotImported.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForSnapshotImported.d.ts +14 -0
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ export interface UnassignPrivateNatGatewayAddressCommandInput extends UnassignPr
|
|
|
8
8
|
export interface UnassignPrivateNatGatewayAddressCommandOutput extends UnassignPrivateNatGatewayAddressResult, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Unassigns secondary private
|
|
11
|
+
* <p>Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-edit-secondary">Edit secondary IP address associations</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.</p>
|
|
12
12
|
* <p>While unassigning is in progress, you cannot assign/unassign additional IP addresses while the connections are being drained. You are, however, allowed to delete the NAT gateway.</p>
|
|
13
13
|
* <p>A private IP address will only be released at the end of MaxDrainDurationSeconds. The
|
|
14
14
|
* private IP addresses stay associated and support the existing connections but do not
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -188,7 +188,8 @@ export interface Tag {
|
|
|
188
188
|
Value?: string;
|
|
189
189
|
}
|
|
190
190
|
/**
|
|
191
|
-
* <p>The tags to apply to a resource when the resource is being created
|
|
191
|
+
* <p>The tags to apply to a resource when the resource is being created. When you specify a tag, you must
|
|
192
|
+
* specify the resource type to tag, otherwise the request will fail.</p>
|
|
192
193
|
* <note>
|
|
193
194
|
* <p>The <code>Valid Values</code> lists all the resource types that can be tagged.
|
|
194
195
|
* However, the action you're using might not support tagging all of these resource types.
|
|
@@ -2784,12 +2784,37 @@ export interface EbsBlockDevice {
|
|
|
2784
2784
|
* <p>In no case can you remove encryption from an encrypted volume.</p>
|
|
2785
2785
|
* <p>Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For
|
|
2786
2786
|
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances">Supported instance types</a>.</p>
|
|
2787
|
-
* <p>This parameter is not returned by <a
|
|
2788
|
-
* <p>For <a>CreateImage</a> and <a>RegisterImage</a>, you can
|
|
2789
|
-
*
|
|
2790
|
-
*
|
|
2791
|
-
*
|
|
2792
|
-
*
|
|
2787
|
+
* <p>This parameter is not returned by <a>DescribeImageAttribute</a>.</p>
|
|
2788
|
+
* <p>For <a>CreateImage</a> and <a>RegisterImage</a>, whether you can
|
|
2789
|
+
* include this parameter, and the allowed values differ depending on the type of block
|
|
2790
|
+
* device mapping you are creating.</p>
|
|
2791
|
+
* <ul>
|
|
2792
|
+
* <li>
|
|
2793
|
+
* <p>If you are creating a block device mapping for a <b>new (empty)
|
|
2794
|
+
* volume</b>, you can include this parameter, and specify either <code>true</code>
|
|
2795
|
+
* for an encrypted volume, or <code>false</code> for an unencrypted volume. If you omit
|
|
2796
|
+
* this parameter, it defaults to <code>false</code> (unencrypted).</p>
|
|
2797
|
+
* </li>
|
|
2798
|
+
* <li>
|
|
2799
|
+
* <p>If you are creating a block device mapping from an <b>existing
|
|
2800
|
+
* encrypted or unencrypted snapshot</b>, you must omit this parameter. If you
|
|
2801
|
+
* include this parameter, the request will fail, regardless of the value that you
|
|
2802
|
+
* specify.</p>
|
|
2803
|
+
* </li>
|
|
2804
|
+
* <li>
|
|
2805
|
+
* <p>If you are creating a block device mapping from an <b>existing
|
|
2806
|
+
* unencrypted volume</b>, you can include this parameter, but you must specify
|
|
2807
|
+
* <code>false</code>. If you specify <code>true</code>, the request will fail. In this
|
|
2808
|
+
* case, we recommend that you omit the parameter.</p>
|
|
2809
|
+
* </li>
|
|
2810
|
+
* <li>
|
|
2811
|
+
* <p>If you are creating a block device mapping from an <b>existing
|
|
2812
|
+
* encrypted volume</b>, you can include this parameter, and specify either
|
|
2813
|
+
* <code>true</code> or <code>false</code>. However, if you specify <code>false</code>,
|
|
2814
|
+
* the parameter is ignored and the block device mapping is always encrypted. In this
|
|
2815
|
+
* case, we recommend that you omit the parameter.</p>
|
|
2816
|
+
* </li>
|
|
2817
|
+
* </ul>
|
|
2793
2818
|
*/
|
|
2794
2819
|
Encrypted?: boolean;
|
|
2795
2820
|
}
|
|
@@ -959,7 +959,7 @@ export interface DescribeAvailabilityZonesRequest {
|
|
|
959
959
|
* </li>
|
|
960
960
|
* <li>
|
|
961
961
|
* <p>
|
|
962
|
-
* <code>opt-in-status</code> - The opt-in status (<code>opted-in</code
|
|
962
|
+
* <code>opt-in-status</code> - The opt-in status (<code>opted-in</code> |
|
|
963
963
|
* <code>not-opted-in</code> | <code>opt-in-not-required</code>).</p>
|
|
964
964
|
* </li>
|
|
965
965
|
* <li>
|
|
@@ -990,17 +990,14 @@ export interface DescribeAvailabilityZonesRequest {
|
|
|
990
990
|
* </li>
|
|
991
991
|
* <li>
|
|
992
992
|
* <p>
|
|
993
|
-
* <code>zone-type</code> - The type of zone, for example, <code>local-zone</code>.</p>
|
|
994
|
-
* </li>
|
|
995
|
-
* <li>
|
|
996
|
-
* <p>
|
|
997
993
|
* <code>zone-name</code> - The name of the Availability Zone (for example,
|
|
998
994
|
* <code>us-east-1a</code>), the Local Zone (for example, <code>us-west-2-lax-1a</code>), or
|
|
999
995
|
* the Wavelength Zone (for example, <code>us-east-1-wl1-bos-wlz-1</code>).</p>
|
|
1000
996
|
* </li>
|
|
1001
997
|
* <li>
|
|
1002
998
|
* <p>
|
|
1003
|
-
* <code>zone-type</code> - The type of zone
|
|
999
|
+
* <code>zone-type</code> - The type of zone (<code>availability-zone</code> |
|
|
1000
|
+
* <code>local-zone</code> | <code>wavelength-zone</code>).</p>
|
|
1004
1001
|
* </li>
|
|
1005
1002
|
* </ul>
|
|
1006
1003
|
*/
|
|
@@ -1704,13 +1701,14 @@ export interface DescribeClassicLinkInstancesRequest {
|
|
|
1704
1701
|
*/
|
|
1705
1702
|
InstanceIds?: string[];
|
|
1706
1703
|
/**
|
|
1707
|
-
* <p>The maximum number of
|
|
1708
|
-
* To
|
|
1704
|
+
* <p>The maximum number of items to return for this request.
|
|
1705
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
1706
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
1709
1707
|
* <p>Constraint: If the value is greater than 1000, we return only 1000 items.</p>
|
|
1710
1708
|
*/
|
|
1711
1709
|
MaxResults?: number;
|
|
1712
1710
|
/**
|
|
1713
|
-
* <p>The token
|
|
1711
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
1714
1712
|
*/
|
|
1715
1713
|
NextToken?: string;
|
|
1716
1714
|
}
|
|
@@ -1744,7 +1742,7 @@ export interface DescribeClassicLinkInstancesResult {
|
|
|
1744
1742
|
*/
|
|
1745
1743
|
Instances?: ClassicLinkInstance[];
|
|
1746
1744
|
/**
|
|
1747
|
-
* <p>The token to
|
|
1745
|
+
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
|
|
1748
1746
|
*/
|
|
1749
1747
|
NextToken?: string;
|
|
1750
1748
|
}
|
|
@@ -2729,12 +2727,13 @@ export interface DescribeDhcpOptionsRequest {
|
|
|
2729
2727
|
*/
|
|
2730
2728
|
DryRun?: boolean;
|
|
2731
2729
|
/**
|
|
2732
|
-
* <p>The token
|
|
2730
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
2733
2731
|
*/
|
|
2734
2732
|
NextToken?: string;
|
|
2735
2733
|
/**
|
|
2736
|
-
* <p>The maximum number of
|
|
2737
|
-
* To
|
|
2734
|
+
* <p>The maximum number of items to return for this request.
|
|
2735
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
2736
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
2738
2737
|
*/
|
|
2739
2738
|
MaxResults?: number;
|
|
2740
2739
|
}
|
|
@@ -2744,7 +2743,7 @@ export interface DescribeDhcpOptionsResult {
|
|
|
2744
2743
|
*/
|
|
2745
2744
|
DhcpOptions?: DhcpOptions[];
|
|
2746
2745
|
/**
|
|
2747
|
-
* <p>The token to
|
|
2746
|
+
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
|
|
2748
2747
|
*/
|
|
2749
2748
|
NextToken?: string;
|
|
2750
2749
|
}
|
|
@@ -2760,12 +2759,13 @@ export interface DescribeEgressOnlyInternetGatewaysRequest {
|
|
|
2760
2759
|
*/
|
|
2761
2760
|
EgressOnlyInternetGatewayIds?: string[];
|
|
2762
2761
|
/**
|
|
2763
|
-
* <p>The maximum number of
|
|
2764
|
-
* To
|
|
2762
|
+
* <p>The maximum number of items to return for this request.
|
|
2763
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
2764
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
2765
2765
|
*/
|
|
2766
2766
|
MaxResults?: number;
|
|
2767
2767
|
/**
|
|
2768
|
-
* <p>The token
|
|
2768
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
2769
2769
|
*/
|
|
2770
2770
|
NextToken?: string;
|
|
2771
2771
|
/**
|
|
@@ -2790,7 +2790,7 @@ export interface DescribeEgressOnlyInternetGatewaysResult {
|
|
|
2790
2790
|
*/
|
|
2791
2791
|
EgressOnlyInternetGateways?: EgressOnlyInternetGateway[];
|
|
2792
2792
|
/**
|
|
2793
|
-
* <p>The token to
|
|
2793
|
+
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
|
|
2794
2794
|
*/
|
|
2795
2795
|
NextToken?: string;
|
|
2796
2796
|
}
|
|
@@ -3183,12 +3183,14 @@ export interface DescribeFastSnapshotRestoresRequest {
|
|
|
3183
3183
|
*/
|
|
3184
3184
|
Filters?: Filter[];
|
|
3185
3185
|
/**
|
|
3186
|
-
* <p>The maximum number of
|
|
3187
|
-
* To
|
|
3186
|
+
* <p>The maximum number of items to return for this request.
|
|
3187
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
3188
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
3188
3189
|
*/
|
|
3189
3190
|
MaxResults?: number;
|
|
3190
3191
|
/**
|
|
3191
|
-
* <p>The token
|
|
3192
|
+
* <p>The token returned from a previous paginated request.
|
|
3193
|
+
* Pagination continues from the end of the items returned by the previous request.</p>
|
|
3192
3194
|
*/
|
|
3193
3195
|
NextToken?: string;
|
|
3194
3196
|
/**
|
|
@@ -3272,7 +3274,8 @@ export interface DescribeFastSnapshotRestoresResult {
|
|
|
3272
3274
|
*/
|
|
3273
3275
|
FastSnapshotRestores?: DescribeFastSnapshotRestoreSuccessItem[];
|
|
3274
3276
|
/**
|
|
3275
|
-
* <p>The token to
|
|
3277
|
+
* <p>The token to include in another request to get the next page of items.
|
|
3278
|
+
* This value is <code>null</code> when there are no more items to return.</p>
|
|
3276
3279
|
*/
|
|
3277
3280
|
NextToken?: string;
|
|
3278
3281
|
}
|
|
@@ -4126,12 +4129,13 @@ export interface DescribeFlowLogsRequest {
|
|
|
4126
4129
|
*/
|
|
4127
4130
|
FlowLogIds?: string[];
|
|
4128
4131
|
/**
|
|
4129
|
-
* <p>The maximum number of
|
|
4130
|
-
* To
|
|
4132
|
+
* <p>The maximum number of items to return for this request.
|
|
4133
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
4134
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
4131
4135
|
*/
|
|
4132
4136
|
MaxResults?: number;
|
|
4133
4137
|
/**
|
|
4134
|
-
* <p>The token
|
|
4138
|
+
* <p>The token to request the next page of items. Pagination continues from the end of the items returned by the previous request.</p>
|
|
4135
4139
|
*/
|
|
4136
4140
|
NextToken?: string;
|
|
4137
4141
|
}
|
|
@@ -4237,7 +4241,7 @@ export interface DescribeFlowLogsResult {
|
|
|
4237
4241
|
*/
|
|
4238
4242
|
FlowLogs?: FlowLog[];
|
|
4239
4243
|
/**
|
|
4240
|
-
* <p>The token to
|
|
4244
|
+
* <p>The token to request the next page of items. This value is <code>null</code> when there are no more items to return.</p>
|
|
4241
4245
|
*/
|
|
4242
4246
|
NextToken?: string;
|
|
4243
4247
|
}
|
|
@@ -5014,12 +5018,14 @@ export interface DescribeIamInstanceProfileAssociationsRequest {
|
|
|
5014
5018
|
*/
|
|
5015
5019
|
Filters?: Filter[];
|
|
5016
5020
|
/**
|
|
5017
|
-
* <p>The maximum number of
|
|
5018
|
-
*
|
|
5021
|
+
* <p>The maximum number of items to return for this request. To get the next page of
|
|
5022
|
+
* items, make another request with the token returned in the output. For more information,
|
|
5023
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
5019
5024
|
*/
|
|
5020
5025
|
MaxResults?: number;
|
|
5021
5026
|
/**
|
|
5022
|
-
* <p>The token
|
|
5027
|
+
* <p>The token returned from a previous paginated request.
|
|
5028
|
+
* Pagination continues from the end of the items returned by the previous request.</p>
|
|
5023
5029
|
*/
|
|
5024
5030
|
NextToken?: string;
|
|
5025
5031
|
}
|
|
@@ -5029,7 +5035,8 @@ export interface DescribeIamInstanceProfileAssociationsResult {
|
|
|
5029
5035
|
*/
|
|
5030
5036
|
IamInstanceProfileAssociations?: IamInstanceProfileAssociation[];
|
|
5031
5037
|
/**
|
|
5032
|
-
* <p>The token to
|
|
5038
|
+
* <p>The token to include in another request to get the next page of items.
|
|
5039
|
+
* This value is <code>null</code> when there are no more items to return.</p>
|
|
5033
5040
|
*/
|
|
5034
5041
|
NextToken?: string;
|
|
5035
5042
|
}
|
|
@@ -6120,14 +6127,15 @@ export interface DescribeInstanceCreditSpecificationsRequest {
|
|
|
6120
6127
|
*/
|
|
6121
6128
|
InstanceIds?: string[];
|
|
6122
6129
|
/**
|
|
6123
|
-
* <p>The maximum number of
|
|
6124
|
-
*
|
|
6130
|
+
* <p>The maximum number of items to return for this request. To get the next page of
|
|
6131
|
+
* items, make another request with the token returned in the output. This value
|
|
6125
6132
|
* can be between 5 and 1000. You cannot specify this parameter and the instance IDs
|
|
6126
|
-
* parameter in the same call
|
|
6133
|
+
* parameter in the same call. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
6127
6134
|
*/
|
|
6128
6135
|
MaxResults?: number;
|
|
6129
6136
|
/**
|
|
6130
|
-
* <p>The token
|
|
6137
|
+
* <p>The token returned from a previous paginated request.
|
|
6138
|
+
* Pagination continues from the end of the items returned by the previous request.</p>
|
|
6131
6139
|
*/
|
|
6132
6140
|
NextToken?: string;
|
|
6133
6141
|
}
|
|
@@ -6152,8 +6160,8 @@ export interface DescribeInstanceCreditSpecificationsResult {
|
|
|
6152
6160
|
*/
|
|
6153
6161
|
InstanceCreditSpecifications?: InstanceCreditSpecification[];
|
|
6154
6162
|
/**
|
|
6155
|
-
* <p>The token to
|
|
6156
|
-
* when there are no more
|
|
6163
|
+
* <p>The token to include in another request to get the next page of items.
|
|
6164
|
+
* This value is <code>null</code> when there are no more items to return.</p>
|
|
6157
6165
|
*/
|
|
6158
6166
|
NextToken?: string;
|
|
6159
6167
|
}
|
|
@@ -6754,14 +6762,15 @@ export interface DescribeInstancesRequest {
|
|
|
6754
6762
|
*/
|
|
6755
6763
|
DryRun?: boolean;
|
|
6756
6764
|
/**
|
|
6757
|
-
* <p>The maximum number of
|
|
6758
|
-
*
|
|
6759
|
-
*
|
|
6760
|
-
*
|
|
6765
|
+
* <p>The maximum number of items to return for this request. To get the next page of items,
|
|
6766
|
+
* make another request with the token returned in the output. This value can be between 5 and 1000.
|
|
6767
|
+
* You cannot specify this parameter and the instance IDs parameter in the same request. For more information,
|
|
6768
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
6761
6769
|
*/
|
|
6762
6770
|
MaxResults?: number;
|
|
6763
6771
|
/**
|
|
6764
|
-
* <p>The token
|
|
6772
|
+
* <p>The token returned from a previous paginated request.
|
|
6773
|
+
* Pagination continues from the end of the items returned by the previous request.</p>
|
|
6765
6774
|
*/
|
|
6766
6775
|
NextToken?: string;
|
|
6767
6776
|
}
|