@aws-sdk/client-ec2 3.529.1 → 3.532.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/README.md +2 -25
- package/dist-types/EC2.d.ts +2 -25
- package/dist-types/EC2Client.d.ts +2 -25
- package/dist-types/commands/AttachVolumeCommand.d.ts +4 -4
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +13 -17
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +12 -11
- package/dist-types/commands/BundleInstanceCommand.d.ts +2 -4
- package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +4 -3
- package/dist-types/commands/CopyImageCommand.d.ts +16 -13
- package/dist-types/commands/CopySnapshotCommand.d.ts +4 -4
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +30 -32
- package/dist-types/commands/CreateImageCommand.d.ts +5 -6
- package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateVolumeCommand.d.ts +4 -4
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +2 -2
- package/dist-types/commands/DeleteVolumeCommand.d.ts +2 -2
- package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeBundleTasksCommand.d.ts +4 -6
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
- package/dist-types/commands/DescribeImagesCommand.d.ts +6 -7
- package/dist-types/commands/DescribeRegionsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -2
- package/dist-types/commands/DescribeVolumesCommand.d.ts +6 -1
- package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DetachVolumeCommand.d.ts +2 -2
- package/dist-types/commands/DisableEbsEncryptionByDefaultCommand.d.ts +2 -2
- package/dist-types/commands/DisableFastLaunchCommand.d.ts +4 -6
- package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
- package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +2 -2
- package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +3 -3
- package/dist-types/commands/EnableFastLaunchCommand.d.ts +7 -8
- package/dist-types/commands/EnableFastSnapshotRestoresCommand.d.ts +2 -2
- package/dist-types/commands/EnableImageDeprecationCommand.d.ts +1 -2
- package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +2 -2
- package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +2 -2
- package/dist-types/commands/GetEbsEncryptionByDefaultCommand.d.ts +2 -2
- package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +2 -2
- package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
- package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +2 -2
- package/dist-types/commands/ModifyImageAttributeCommand.d.ts +5 -7
- package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifySnapshotTierCommand.d.ts +2 -2
- package/dist-types/commands/ModifyVolumeCommand.d.ts +4 -5
- package/dist-types/commands/RegisterImageCommand.d.ts +11 -11
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +2 -2
- package/dist-types/commands/ResetSnapshotAttributeCommand.d.ts +2 -2
- package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +1 -2
- package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +2 -2
- package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +3 -3
- package/dist-types/index.d.ts +2 -25
- package/dist-types/models/models_0.d.ts +79 -92
- package/dist-types/models/models_1.d.ts +24 -26
- package/dist-types/models/models_2.d.ts +30 -25
- package/dist-types/models/models_3.d.ts +77 -87
- package/dist-types/models/models_4.d.ts +19 -12
- package/dist-types/models/models_5.d.ts +33 -40
- package/dist-types/models/models_6.d.ts +59 -74
- package/dist-types/models/models_7.d.ts +7 -6
- package/package.json +1 -1
|
@@ -1677,8 +1677,10 @@ export interface InstanceMetadataOptionsResponse {
|
|
|
1677
1677
|
* @public
|
|
1678
1678
|
* <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
|
|
1679
1679
|
* number, the further instance metadata requests can travel.</p>
|
|
1680
|
-
* <p>Default: 1</
|
|
1681
|
-
*
|
|
1680
|
+
* <p>Default: <code>1</code>
|
|
1681
|
+
* </p>
|
|
1682
|
+
* <p>Possible values: Integers from <code>1</code> to <code>64</code>
|
|
1683
|
+
* </p>
|
|
1682
1684
|
*/
|
|
1683
1685
|
HttpPutResponseHopLimit?: number;
|
|
1684
1686
|
/**
|
|
@@ -1693,6 +1695,8 @@ export interface InstanceMetadataOptionsResponse {
|
|
|
1693
1695
|
* @public
|
|
1694
1696
|
* <p>Indicates whether the IPv6 endpoint for the instance metadata service is enabled or
|
|
1695
1697
|
* disabled.</p>
|
|
1698
|
+
* <p>Default: <code>disabled</code>
|
|
1699
|
+
* </p>
|
|
1696
1700
|
*/
|
|
1697
1701
|
HttpProtocolIpv6?: InstanceMetadataProtocolState;
|
|
1698
1702
|
/**
|
|
@@ -8743,12 +8747,15 @@ export interface SecurityGroupReference {
|
|
|
8743
8747
|
ReferencingVpcId?: string;
|
|
8744
8748
|
/**
|
|
8745
8749
|
* @public
|
|
8746
|
-
* <p>The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see <a href="https://docs.aws.amazon.com/peering/vpc-peering-security-groups.html">Update your security groups to reference peer security groups</a> in the <i>VPC Peering Guide</i>.</p>
|
|
8750
|
+
* <p>The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see <a href="https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html">Update your security groups to reference peer security groups</a> in the <i>VPC Peering Guide</i>.</p>
|
|
8747
8751
|
*/
|
|
8748
8752
|
VpcPeeringConnectionId?: string;
|
|
8749
8753
|
/**
|
|
8750
8754
|
* @public
|
|
8751
|
-
* <
|
|
8755
|
+
* <note>
|
|
8756
|
+
* <p>This parameter is in preview and may not be available for your account.</p>
|
|
8757
|
+
* </note>
|
|
8758
|
+
* <p>The ID of the transit gateway (if applicable).</p>
|
|
8752
8759
|
*/
|
|
8753
8760
|
TransitGatewayId?: string;
|
|
8754
8761
|
}
|
|
@@ -9692,7 +9699,7 @@ export interface InstanceNetworkInterfaceSpecification {
|
|
|
9692
9699
|
* assigned to a new network interface, not an existing one. You cannot specify more than one
|
|
9693
9700
|
* network interface in the request. If launching into a default subnet, the default value is
|
|
9694
9701
|
* <code>true</code>.</p>
|
|
9695
|
-
* <p>
|
|
9702
|
+
* <p>Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses
|
|
9696
9703
|
* associated with running instances and Elastic IP addresses. For more information, see the <i>Public IPv4 Address</i> tab on the <a href="http://aws.amazon.com/vpc/pricing/">Amazon VPC pricing page</a>.</p>
|
|
9697
9704
|
*/
|
|
9698
9705
|
AssociatePublicIpAddress?: boolean;
|
|
@@ -11260,13 +11267,14 @@ export interface DescribeStaleSecurityGroupsRequest {
|
|
|
11260
11267
|
export interface StaleIpPermission {
|
|
11261
11268
|
/**
|
|
11262
11269
|
* @public
|
|
11263
|
-
* <p>
|
|
11264
|
-
*
|
|
11270
|
+
* <p>If the protocol is TCP or UDP, this is the start of the port range.
|
|
11271
|
+
* If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).</p>
|
|
11265
11272
|
*/
|
|
11266
11273
|
FromPort?: number;
|
|
11267
11274
|
/**
|
|
11268
11275
|
* @public
|
|
11269
|
-
* <p>The IP protocol name (
|
|
11276
|
+
* <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>) or number
|
|
11277
|
+
* (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers)</a>.</p>
|
|
11270
11278
|
*/
|
|
11271
11279
|
IpProtocol?: string;
|
|
11272
11280
|
/**
|
|
@@ -11281,8 +11289,8 @@ export interface StaleIpPermission {
|
|
|
11281
11289
|
PrefixListIds?: string[];
|
|
11282
11290
|
/**
|
|
11283
11291
|
* @public
|
|
11284
|
-
* <p>
|
|
11285
|
-
*
|
|
11292
|
+
* <p>If the protocol is TCP or UDP, this is the end of the port range.
|
|
11293
|
+
* If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).</p>
|
|
11286
11294
|
*/
|
|
11287
11295
|
ToPort?: number;
|
|
11288
11296
|
/**
|
|
@@ -11349,8 +11357,7 @@ export interface DescribeStaleSecurityGroupsResult {
|
|
|
11349
11357
|
export interface DescribeStoreImageTasksRequest {
|
|
11350
11358
|
/**
|
|
11351
11359
|
* @public
|
|
11352
|
-
* <p>The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a
|
|
11353
|
-
* request.</p>
|
|
11360
|
+
* <p>The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.</p>
|
|
11354
11361
|
*/
|
|
11355
11362
|
ImageIds?: string[];
|
|
11356
11363
|
/**
|
|
@@ -3763,9 +3763,8 @@ export interface DisableFastLaunchRequest {
|
|
|
3763
3763
|
ImageId: string | undefined;
|
|
3764
3764
|
/**
|
|
3765
3765
|
* @public
|
|
3766
|
-
* <p>Forces the image settings to turn off Windows fast launch for your Windows AMI. This
|
|
3767
|
-
*
|
|
3768
|
-
* account.</p>
|
|
3766
|
+
* <p>Forces the image settings to turn off Windows fast launch for your Windows AMI. This parameter overrides
|
|
3767
|
+
* any errors that are encountered while cleaning up resources in your account.</p>
|
|
3769
3768
|
*/
|
|
3770
3769
|
Force?: boolean;
|
|
3771
3770
|
/**
|
|
@@ -3787,26 +3786,25 @@ export interface DisableFastLaunchResult {
|
|
|
3787
3786
|
ImageId?: string;
|
|
3788
3787
|
/**
|
|
3789
3788
|
* @public
|
|
3790
|
-
* <p>The pre-provisioning resource type that must be cleaned after turning off Windows fast
|
|
3791
|
-
*
|
|
3789
|
+
* <p>The pre-provisioning resource type that must be cleaned after turning off Windows fast launch
|
|
3790
|
+
* for the Windows AMI. Supported values include: <code>snapshot</code>.</p>
|
|
3792
3791
|
*/
|
|
3793
3792
|
ResourceType?: FastLaunchResourceType;
|
|
3794
3793
|
/**
|
|
3795
3794
|
* @public
|
|
3796
|
-
* <p>Parameters that were used for Windows fast launch for the Windows AMI before
|
|
3797
|
-
*
|
|
3795
|
+
* <p>Parameters that were used for Windows fast launch for the Windows AMI before
|
|
3796
|
+
* Windows fast launch was disabled. This informs the clean-up process.</p>
|
|
3798
3797
|
*/
|
|
3799
3798
|
SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse;
|
|
3800
3799
|
/**
|
|
3801
3800
|
* @public
|
|
3802
|
-
* <p>The launch template that was used to launch Windows instances from pre-provisioned
|
|
3803
|
-
* snapshots.</p>
|
|
3801
|
+
* <p>The launch template that was used to launch Windows instances from pre-provisioned snapshots.</p>
|
|
3804
3802
|
*/
|
|
3805
3803
|
LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse;
|
|
3806
3804
|
/**
|
|
3807
3805
|
* @public
|
|
3808
|
-
* <p>The maximum number of instances that Amazon EC2 can launch at the same time to
|
|
3809
|
-
*
|
|
3806
|
+
* <p>The maximum number of instances that Amazon EC2 can launch at the same time to
|
|
3807
|
+
* create pre-provisioned snapshots for Windows fast launch.</p>
|
|
3810
3808
|
*/
|
|
3811
3809
|
MaxParallelLaunches?: number;
|
|
3812
3810
|
/**
|
|
@@ -4895,39 +4893,36 @@ export interface EnableEbsEncryptionByDefaultResult {
|
|
|
4895
4893
|
* <p>Request to create a launch template for a Windows fast launch enabled AMI.</p>
|
|
4896
4894
|
* <note>
|
|
4897
4895
|
* <p>Note - You can specify either the <code>LaunchTemplateName</code> or the
|
|
4898
|
-
*
|
|
4896
|
+
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
4899
4897
|
* </note>
|
|
4900
4898
|
*/
|
|
4901
4899
|
export interface FastLaunchLaunchTemplateSpecificationRequest {
|
|
4902
4900
|
/**
|
|
4903
4901
|
* @public
|
|
4904
|
-
* <p>Specify the ID of the launch template that the AMI should use for Windows fast
|
|
4905
|
-
* launch.</p>
|
|
4902
|
+
* <p>Specify the ID of the launch template that the AMI should use for Windows fast launch.</p>
|
|
4906
4903
|
*/
|
|
4907
4904
|
LaunchTemplateId?: string;
|
|
4908
4905
|
/**
|
|
4909
4906
|
* @public
|
|
4910
|
-
* <p>Specify the name of the launch template that the AMI should use for Windows fast
|
|
4911
|
-
* launch.</p>
|
|
4907
|
+
* <p>Specify the name of the launch template that the AMI should use for Windows fast launch.</p>
|
|
4912
4908
|
*/
|
|
4913
4909
|
LaunchTemplateName?: string;
|
|
4914
4910
|
/**
|
|
4915
4911
|
* @public
|
|
4916
|
-
* <p>Specify the version of the launch template that the AMI should use for Windows fast
|
|
4917
|
-
* launch.</p>
|
|
4912
|
+
* <p>Specify the version of the launch template that the AMI should use for Windows fast launch.</p>
|
|
4918
4913
|
*/
|
|
4919
4914
|
Version: string | undefined;
|
|
4920
4915
|
}
|
|
4921
4916
|
/**
|
|
4922
4917
|
* @public
|
|
4923
|
-
* <p>Configuration settings for creating and managing pre-provisioned snapshots for a Windows
|
|
4924
|
-
*
|
|
4918
|
+
* <p>Configuration settings for creating and managing pre-provisioned snapshots for a Windows fast launch
|
|
4919
|
+
* enabled AMI.</p>
|
|
4925
4920
|
*/
|
|
4926
4921
|
export interface FastLaunchSnapshotConfigurationRequest {
|
|
4927
4922
|
/**
|
|
4928
4923
|
* @public
|
|
4929
|
-
* <p>The number of pre-provisioned snapshots to keep on hand for a Windows fast launch
|
|
4930
|
-
*
|
|
4924
|
+
* <p>The number of pre-provisioned snapshots to keep on hand for a Windows fast launch
|
|
4925
|
+
* enabled AMI.</p>
|
|
4931
4926
|
*/
|
|
4932
4927
|
TargetResourceCount?: number;
|
|
4933
4928
|
}
|
|
@@ -4943,28 +4938,28 @@ export interface EnableFastLaunchRequest {
|
|
|
4943
4938
|
/**
|
|
4944
4939
|
* @public
|
|
4945
4940
|
* <p>The type of resource to use for pre-provisioning the AMI for Windows fast launch.
|
|
4946
|
-
*
|
|
4941
|
+
* Supported values include: <code>snapshot</code>, which is the default value.</p>
|
|
4947
4942
|
*/
|
|
4948
4943
|
ResourceType?: string;
|
|
4949
4944
|
/**
|
|
4950
4945
|
* @public
|
|
4951
4946
|
* <p>Configuration settings for creating and managing the snapshots that are used for
|
|
4952
|
-
*
|
|
4953
|
-
*
|
|
4947
|
+
* pre-provisioning the AMI for Windows fast launch. The associated <code>ResourceType</code>
|
|
4948
|
+
* must be <code>snapshot</code>.</p>
|
|
4954
4949
|
*/
|
|
4955
4950
|
SnapshotConfiguration?: FastLaunchSnapshotConfigurationRequest;
|
|
4956
4951
|
/**
|
|
4957
4952
|
* @public
|
|
4958
4953
|
* <p>The launch template to use when launching Windows instances from pre-provisioned
|
|
4959
|
-
*
|
|
4960
|
-
*
|
|
4954
|
+
* snapshots. Launch template parameters can include either the name or ID of the launch
|
|
4955
|
+
* template, but not both.</p>
|
|
4961
4956
|
*/
|
|
4962
4957
|
LaunchTemplate?: FastLaunchLaunchTemplateSpecificationRequest;
|
|
4963
4958
|
/**
|
|
4964
4959
|
* @public
|
|
4965
4960
|
* <p>The maximum number of instances that Amazon EC2 can launch at the same time to create
|
|
4966
|
-
*
|
|
4967
|
-
*
|
|
4961
|
+
* pre-provisioned snapshots for Windows fast launch. Value must be
|
|
4962
|
+
* <code>6</code> or greater.</p>
|
|
4968
4963
|
*/
|
|
4969
4964
|
MaxParallelLaunches?: number;
|
|
4970
4965
|
/**
|
|
@@ -4986,27 +4981,25 @@ export interface EnableFastLaunchResult {
|
|
|
4986
4981
|
ImageId?: string;
|
|
4987
4982
|
/**
|
|
4988
4983
|
* @public
|
|
4989
|
-
* <p>The type of resource that was defined for pre-provisioning the AMI for Windows fast
|
|
4990
|
-
* launch.</p>
|
|
4984
|
+
* <p>The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.</p>
|
|
4991
4985
|
*/
|
|
4992
4986
|
ResourceType?: FastLaunchResourceType;
|
|
4993
4987
|
/**
|
|
4994
4988
|
* @public
|
|
4995
4989
|
* <p>Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster
|
|
4996
|
-
*
|
|
4997
|
-
*
|
|
4990
|
+
* launches from the Windows AMI. This property is returned when the associated
|
|
4991
|
+
* <code>resourceType</code> is <code>snapshot</code>.</p>
|
|
4998
4992
|
*/
|
|
4999
4993
|
SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse;
|
|
5000
4994
|
/**
|
|
5001
4995
|
* @public
|
|
5002
|
-
* <p>The launch template that is used when launching Windows instances from pre-provisioned
|
|
5003
|
-
* snapshots.</p>
|
|
4996
|
+
* <p>The launch template that is used when launching Windows instances from pre-provisioned snapshots.</p>
|
|
5004
4997
|
*/
|
|
5005
4998
|
LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse;
|
|
5006
4999
|
/**
|
|
5007
5000
|
* @public
|
|
5008
|
-
* <p>The maximum number of instances that Amazon EC2 can launch at the same time to
|
|
5009
|
-
*
|
|
5001
|
+
* <p>The maximum number of instances that Amazon EC2 can launch at the same time to
|
|
5002
|
+
* create pre-provisioned snapshots for Windows fast launch.</p>
|
|
5010
5003
|
*/
|
|
5011
5004
|
MaxParallelLaunches?: number;
|
|
5012
5005
|
/**
|
|
@@ -5270,10 +5263,10 @@ export interface EnableImageDeprecationRequest {
|
|
|
5270
5263
|
* @public
|
|
5271
5264
|
* <p>The date and time to deprecate the AMI, in UTC, in the following format:
|
|
5272
5265
|
* <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.
|
|
5273
|
-
* If you specify a value for seconds, Amazon EC2 rounds the seconds to the
|
|
5266
|
+
* If you specify a value for seconds, Amazon EC2 rounds the seconds to the
|
|
5267
|
+
* nearest minute.</p>
|
|
5274
5268
|
* <p>You can’t specify a date in the past. The upper limit for <code>DeprecateAt</code> is 10
|
|
5275
|
-
* years from now, except for public AMIs, where the upper limit is 2 years from the creation
|
|
5276
|
-
* date.</p>
|
|
5269
|
+
* years from now, except for public AMIs, where the upper limit is 2 years from the creation date.</p>
|
|
5277
5270
|
*/
|
|
5278
5271
|
DeprecateAt: Date | undefined;
|
|
5279
5272
|
/**
|
|
@@ -2626,8 +2626,8 @@ export interface ImportVolumeResult {
|
|
|
2626
2626
|
export interface ListImagesInRecycleBinRequest {
|
|
2627
2627
|
/**
|
|
2628
2628
|
* @public
|
|
2629
|
-
* <p>The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that
|
|
2630
|
-
* Recycle Bin. You can specify up to 20 IDs in a single request.</p>
|
|
2629
|
+
* <p>The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that
|
|
2630
|
+
* are in the Recycle Bin. You can specify up to 20 IDs in a single request.</p>
|
|
2631
2631
|
*/
|
|
2632
2632
|
ImageIds?: string[];
|
|
2633
2633
|
/**
|
|
@@ -3657,14 +3657,12 @@ export interface ModifyIdFormatRequest {
|
|
|
3657
3657
|
export interface LaunchPermissionModifications {
|
|
3658
3658
|
/**
|
|
3659
3659
|
* @public
|
|
3660
|
-
* <p>The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of
|
|
3661
|
-
* launch permissions for the AMI.</p>
|
|
3660
|
+
* <p>The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.</p>
|
|
3662
3661
|
*/
|
|
3663
3662
|
Add?: LaunchPermission[];
|
|
3664
3663
|
/**
|
|
3665
3664
|
* @public
|
|
3666
|
-
* <p>The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of
|
|
3667
|
-
* launch permissions for the AMI.</p>
|
|
3665
|
+
* <p>The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.</p>
|
|
3668
3666
|
*/
|
|
3669
3667
|
Remove?: LaunchPermission[];
|
|
3670
3668
|
}
|
|
@@ -3676,8 +3674,7 @@ export interface ModifyImageAttributeRequest {
|
|
|
3676
3674
|
/**
|
|
3677
3675
|
* @public
|
|
3678
3676
|
* <p>The name of the attribute to modify.</p>
|
|
3679
|
-
* <p>Valid values: <code>description</code> | <code>imdsSupport</code> |
|
|
3680
|
-
* <code>launchPermission</code>
|
|
3677
|
+
* <p>Valid values: <code>description</code> | <code>imdsSupport</code> | <code>launchPermission</code>
|
|
3681
3678
|
* </p>
|
|
3682
3679
|
*/
|
|
3683
3680
|
Attribute?: string;
|
|
@@ -3698,8 +3695,8 @@ export interface ModifyImageAttributeRequest {
|
|
|
3698
3695
|
LaunchPermission?: LaunchPermissionModifications;
|
|
3699
3696
|
/**
|
|
3700
3697
|
* @public
|
|
3701
|
-
* <p>The operation type.
|
|
3702
|
-
*
|
|
3698
|
+
* <p>The operation type.
|
|
3699
|
+
* This parameter can be used only when the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>
|
|
3703
3700
|
*/
|
|
3704
3701
|
OperationType?: OperationType;
|
|
3705
3702
|
/**
|
|
@@ -3709,21 +3706,20 @@ export interface ModifyImageAttributeRequest {
|
|
|
3709
3706
|
ProductCodes?: string[];
|
|
3710
3707
|
/**
|
|
3711
3708
|
* @public
|
|
3712
|
-
* <p>The user groups.
|
|
3713
|
-
*
|
|
3709
|
+
* <p>The user groups.
|
|
3710
|
+
* This parameter can be used only when the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>
|
|
3714
3711
|
*/
|
|
3715
3712
|
UserGroups?: string[];
|
|
3716
3713
|
/**
|
|
3717
3714
|
* @public
|
|
3718
|
-
* <p>The Amazon Web Services account IDs.
|
|
3719
|
-
*
|
|
3715
|
+
* <p>The Amazon Web Services account IDs.
|
|
3716
|
+
* This parameter can be used only when the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>
|
|
3720
3717
|
*/
|
|
3721
3718
|
UserIds?: string[];
|
|
3722
3719
|
/**
|
|
3723
3720
|
* @public
|
|
3724
|
-
* <p>The value of the attribute being modified.
|
|
3725
|
-
*
|
|
3726
|
-
* <code>imdsSupport</code>.</p>
|
|
3721
|
+
* <p>The value of the attribute being modified.
|
|
3722
|
+
* This parameter can be used only when the <code>Attribute</code> parameter is <code>description</code> or <code>imdsSupport</code>.</p>
|
|
3727
3723
|
*/
|
|
3728
3724
|
Value?: string;
|
|
3729
3725
|
/**
|
|
@@ -3735,27 +3731,25 @@ export interface ModifyImageAttributeRequest {
|
|
|
3735
3731
|
DryRun?: boolean;
|
|
3736
3732
|
/**
|
|
3737
3733
|
* @public
|
|
3738
|
-
* <p>The Amazon Resource Name (ARN) of an organization. This parameter can be used only when
|
|
3739
|
-
* the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>
|
|
3734
|
+
* <p>The Amazon Resource Name (ARN) of an organization. This parameter can be used only when the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>
|
|
3740
3735
|
*/
|
|
3741
3736
|
OrganizationArns?: string[];
|
|
3742
3737
|
/**
|
|
3743
3738
|
* @public
|
|
3744
|
-
* <p>The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used
|
|
3745
|
-
* only when the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>
|
|
3739
|
+
* <p>The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>
|
|
3746
3740
|
*/
|
|
3747
3741
|
OrganizationalUnitArns?: string[];
|
|
3748
3742
|
/**
|
|
3749
3743
|
* @public
|
|
3750
3744
|
* <p>Set to <code>v2.0</code> to indicate that IMDSv2 is specified in the AMI. Instances
|
|
3751
3745
|
* launched from this AMI will have <code>HttpTokens</code> automatically set to
|
|
3752
|
-
*
|
|
3746
|
+
* <code>required</code> so that, by default, the instance requires that IMDSv2 is used when
|
|
3753
3747
|
* requesting instance metadata. In addition, <code>HttpPutResponseHopLimit</code> is set to
|
|
3754
|
-
*
|
|
3748
|
+
* <code>2</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
|
|
3749
|
+
* the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
3755
3750
|
* <important>
|
|
3756
|
-
* <p>Do not use this parameter unless your AMI software supports IMDSv2. After you set the
|
|
3757
|
-
*
|
|
3758
|
-
* a new AMI from the underlying snapshot.</p>
|
|
3751
|
+
* <p>Do not use this parameter unless your AMI software supports IMDSv2. After you set the value to <code>v2.0</code>,
|
|
3752
|
+
* you can't undo it. The only way to “reset” your AMI is to create a new AMI from the underlying snapshot.</p>
|
|
3759
3753
|
* </important>
|
|
3760
3754
|
*/
|
|
3761
3755
|
ImdsSupport?: AttributeValue;
|
|
@@ -4353,8 +4347,6 @@ export interface ModifyInstanceMetadataOptionsRequest {
|
|
|
4353
4347
|
* metadata. Set to <code>disabled</code> to turn off access to instance tags from the
|
|
4354
4348
|
* instance metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
|
|
4355
4349
|
* instance tags using the instance metadata</a>.</p>
|
|
4356
|
-
* <p>Default: <code>disabled</code>
|
|
4357
|
-
* </p>
|
|
4358
4350
|
*/
|
|
4359
4351
|
InstanceMetadataTags?: InstanceMetadataTagsState;
|
|
4360
4352
|
}
|
|
@@ -5091,15 +5083,14 @@ export interface SecurityGroupRuleRequest {
|
|
|
5091
5083
|
/**
|
|
5092
5084
|
* @public
|
|
5093
5085
|
* <p>If the protocol is TCP or UDP, this is the start of the port range.
|
|
5094
|
-
* If the protocol is ICMP or ICMPv6, this is the type
|
|
5095
|
-
* If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.</p>
|
|
5086
|
+
* If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).</p>
|
|
5096
5087
|
*/
|
|
5097
5088
|
FromPort?: number;
|
|
5098
5089
|
/**
|
|
5099
5090
|
* @public
|
|
5100
5091
|
* <p>If the protocol is TCP or UDP, this is the end of the port range.
|
|
5101
|
-
* If the protocol is ICMP or ICMPv6, this is the code
|
|
5102
|
-
* If
|
|
5092
|
+
* If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).
|
|
5093
|
+
* If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes).</p>
|
|
5103
5094
|
*/
|
|
5104
5095
|
ToPort?: number;
|
|
5105
5096
|
/**
|
|
@@ -5354,7 +5345,7 @@ export interface ModifySubnetAttributeRequest {
|
|
|
5354
5345
|
* @public
|
|
5355
5346
|
* <p>Specify <code>true</code> to indicate that network interfaces attached to instances created in the
|
|
5356
5347
|
* specified subnet should be assigned a public IPv4 address.</p>
|
|
5357
|
-
* <p>
|
|
5348
|
+
* <p>Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses
|
|
5358
5349
|
* associated with running instances and Elastic IP addresses. For more information, see the <i>Public IPv4 Address</i> tab on the <a href="http://aws.amazon.com/vpc/pricing/">Amazon VPC pricing page</a>.</p>
|
|
5359
5350
|
*/
|
|
5360
5351
|
MapPublicIpOnLaunch?: AttributeBooleanValue;
|
|
@@ -5653,8 +5644,10 @@ export interface ModifyTransitGatewayOptions {
|
|
|
5653
5644
|
DnsSupport?: DnsSupportValue;
|
|
5654
5645
|
/**
|
|
5655
5646
|
* @public
|
|
5656
|
-
* <
|
|
5657
|
-
*
|
|
5647
|
+
* <note>
|
|
5648
|
+
* <p>This parameter is in preview and may not be available for your account.</p>
|
|
5649
|
+
* </note>
|
|
5650
|
+
* <p>Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.</p>
|
|
5658
5651
|
*/
|
|
5659
5652
|
SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue;
|
|
5660
5653
|
/**
|
|
@@ -5781,8 +5774,10 @@ export interface ModifyTransitGatewayVpcAttachmentRequestOptions {
|
|
|
5781
5774
|
DnsSupport?: DnsSupportValue;
|
|
5782
5775
|
/**
|
|
5783
5776
|
* @public
|
|
5784
|
-
* <
|
|
5785
|
-
*
|
|
5777
|
+
* <note>
|
|
5778
|
+
* <p>This parameter is in preview and may not be available for your account.</p>
|
|
5779
|
+
* </note>
|
|
5780
|
+
* <p>Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.</p>
|
|
5786
5781
|
*/
|
|
5787
5782
|
SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue;
|
|
5788
5783
|
/**
|
|
@@ -6411,7 +6406,7 @@ export interface ModifyVolumeRequest {
|
|
|
6411
6406
|
Size?: number;
|
|
6412
6407
|
/**
|
|
6413
6408
|
* @public
|
|
6414
|
-
* <p>The target EBS volume type of the volume. For more information, see <a href="https://docs.aws.amazon.com/
|
|
6409
|
+
* <p>The target EBS volume type of the volume. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon EBS volume types</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
6415
6410
|
* <p>Default: The existing type is retained.</p>
|
|
6416
6411
|
*/
|
|
6417
6412
|
VolumeType?: VolumeType;
|
|
@@ -6455,8 +6450,8 @@ export interface ModifyVolumeRequest {
|
|
|
6455
6450
|
* volume to up to 16 <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">
|
|
6456
6451
|
* Nitro-based instances</a> in the same Availability Zone. This parameter is
|
|
6457
6452
|
* supported with <code>io1</code> and <code>io2</code> volumes only. For more information, see
|
|
6458
|
-
*
|
|
6459
|
-
* Amazon EBS Multi-Attach</a> in the <i>Amazon
|
|
6453
|
+
* <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html">
|
|
6454
|
+
* Amazon EBS Multi-Attach</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
6460
6455
|
*/
|
|
6461
6456
|
MultiAttachEnabled?: boolean;
|
|
6462
6457
|
}
|
|
@@ -7476,7 +7471,7 @@ export interface ProvisionByoipCidrRequest {
|
|
|
7476
7471
|
/**
|
|
7477
7472
|
* @public
|
|
7478
7473
|
* <p>The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can
|
|
7479
|
-
*
|
|
7474
|
+
* specify is /24. The most specific IPv6 address range that you can bring is /48 for CIDRs that are publicly advertisable and /56 for CIDRs that are not publicly advertisable. The address range cannot overlap with another address range that you've
|
|
7480
7475
|
* brought to this or another Region.</p>
|
|
7481
7476
|
*/
|
|
7482
7477
|
Cidr: string | undefined;
|
|
@@ -7953,27 +7948,26 @@ export interface RegisterImageRequest {
|
|
|
7953
7948
|
/**
|
|
7954
7949
|
* @public
|
|
7955
7950
|
* <p>The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the
|
|
7956
|
-
*
|
|
7957
|
-
*
|
|
7958
|
-
*
|
|
7951
|
+
* <code>aws-exec-read</code> canned access control list (ACL) to ensure that it can be accessed
|
|
7952
|
+
* by Amazon EC2. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl">Canned ACLs</a> in the
|
|
7953
|
+
* <i>Amazon S3 Service Developer Guide</i>.</p>
|
|
7959
7954
|
*/
|
|
7960
7955
|
ImageLocation?: string;
|
|
7961
7956
|
/**
|
|
7962
7957
|
* @public
|
|
7963
7958
|
* <p>The architecture of the AMI.</p>
|
|
7964
|
-
* <p>Default: For Amazon EBS-backed AMIs, <code>i386</code>.
|
|
7965
|
-
*
|
|
7959
|
+
* <p>Default: For Amazon EBS-backed AMIs, <code>i386</code>.
|
|
7960
|
+
* For instance store-backed AMIs, the architecture specified in the manifest file.</p>
|
|
7966
7961
|
*/
|
|
7967
7962
|
Architecture?: ArchitectureValues;
|
|
7968
7963
|
/**
|
|
7969
7964
|
* @public
|
|
7970
7965
|
* <p>The block device mapping entries.</p>
|
|
7971
|
-
* <p>If you specify an Amazon EBS volume using the ID of an Amazon EBS snapshot, you can't specify the
|
|
7972
|
-
*
|
|
7973
|
-
*
|
|
7974
|
-
*
|
|
7975
|
-
*
|
|
7976
|
-
* snapshots on Outposts</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
7966
|
+
* <p>If you specify an Amazon EBS volume using the ID of an Amazon EBS snapshot, you can't specify the encryption state of the volume.</p>
|
|
7967
|
+
* <p>If you create an AMI on an Outpost, then all backing snapshots must be on the same
|
|
7968
|
+
* Outpost or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can
|
|
7969
|
+
* be used to launch instances on the same Outpost only. For more information, <a href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami">Amazon EBS local
|
|
7970
|
+
* snapshots on Outposts</a> in the <i>Amazon EBS User Guide</i>.</p>
|
|
7977
7971
|
*/
|
|
7978
7972
|
BlockDeviceMappings?: BlockDeviceMapping[];
|
|
7979
7973
|
/**
|
|
@@ -7990,10 +7984,8 @@ export interface RegisterImageRequest {
|
|
|
7990
7984
|
DryRun?: boolean;
|
|
7991
7985
|
/**
|
|
7992
7986
|
* @public
|
|
7993
|
-
* <p>Set to <code>true</code> to enable enhanced networking with ENA for the AMI and any
|
|
7994
|
-
*
|
|
7995
|
-
* <p>This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make
|
|
7996
|
-
* instances launched from the AMI unreachable.</p>
|
|
7987
|
+
* <p>Set to <code>true</code> to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.</p>
|
|
7988
|
+
* <p>This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.</p>
|
|
7997
7989
|
*/
|
|
7998
7990
|
EnaSupport?: boolean;
|
|
7999
7991
|
/**
|
|
@@ -8004,20 +7996,17 @@ export interface RegisterImageRequest {
|
|
|
8004
7996
|
/**
|
|
8005
7997
|
* @public
|
|
8006
7998
|
* <p>A name for your AMI.</p>
|
|
8007
|
-
* <p>Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces
|
|
8008
|
-
* ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or
|
|
8009
|
-
* underscores(_)</p>
|
|
7999
|
+
* <p>Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)</p>
|
|
8010
8000
|
*/
|
|
8011
8001
|
Name: string | undefined;
|
|
8012
8002
|
/**
|
|
8013
8003
|
* @public
|
|
8014
|
-
* <p>The billing product codes. Your account must be authorized to specify billing product
|
|
8015
|
-
* codes.</p>
|
|
8004
|
+
* <p>The billing product codes. Your account must be authorized to specify billing product codes.</p>
|
|
8016
8005
|
* <p>If your account is not authorized to specify billing product codes, you can publish AMIs
|
|
8017
8006
|
* that include billable software and list them on the Amazon Web Services Marketplace. You must first register as a seller
|
|
8018
8007
|
* on the Amazon Web Services Marketplace. For more information, see <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/user-guide-for-sellers.html">Getting started as a
|
|
8019
|
-
* seller</a> and <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html">AMI-based
|
|
8020
|
-
* <i>Amazon Web Services Marketplace Seller Guide</i>.</p>
|
|
8008
|
+
* seller</a> and <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html">AMI-based
|
|
8009
|
+
* products</a> in the <i>Amazon Web Services Marketplace Seller Guide</i>.</p>
|
|
8021
8010
|
*/
|
|
8022
8011
|
BillingProducts?: string[];
|
|
8023
8012
|
/**
|
|
@@ -8032,11 +8021,9 @@ export interface RegisterImageRequest {
|
|
|
8032
8021
|
RootDeviceName?: string;
|
|
8033
8022
|
/**
|
|
8034
8023
|
* @public
|
|
8035
|
-
* <p>Set to <code>simple</code> to enable enhanced networking with the Intel 82599 Virtual
|
|
8036
|
-
* Function interface for the AMI and any instances that you launch from the AMI.</p>
|
|
8024
|
+
* <p>Set to <code>simple</code> to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI.</p>
|
|
8037
8025
|
* <p>There is no way to disable <code>sriovNetSupport</code> at this time.</p>
|
|
8038
|
-
* <p>This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make
|
|
8039
|
-
* instances launched from the AMI unreachable.</p>
|
|
8026
|
+
* <p>This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.</p>
|
|
8040
8027
|
*/
|
|
8041
8028
|
SriovNetSupport?: string;
|
|
8042
8029
|
/**
|
|
@@ -8048,11 +8035,9 @@ export interface RegisterImageRequest {
|
|
|
8048
8035
|
VirtualizationType?: string;
|
|
8049
8036
|
/**
|
|
8050
8037
|
* @public
|
|
8051
|
-
* <p>The boot mode of the AMI. A value of <code>uefi-preferred</code> indicates that the AMI
|
|
8052
|
-
* supports both UEFI and Legacy BIOS.</p>
|
|
8038
|
+
* <p>The boot mode of the AMI. A value of <code>uefi-preferred</code> indicates that the AMI supports both UEFI and Legacy BIOS.</p>
|
|
8053
8039
|
* <note>
|
|
8054
|
-
* <p>The operating system contained in the AMI must be configured to support the specified
|
|
8055
|
-
* boot mode.</p>
|
|
8040
|
+
* <p>The operating system contained in the AMI must be configured to support the specified boot mode.</p>
|
|
8056
8041
|
* </note>
|
|
8057
8042
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
|
|
8058
8043
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
@@ -8079,10 +8064,10 @@ export interface RegisterImageRequest {
|
|
|
8079
8064
|
* launched from this AMI will have <code>HttpTokens</code> automatically set to
|
|
8080
8065
|
* <code>required</code> so that, by default, the instance requires that IMDSv2 is used when
|
|
8081
8066
|
* requesting instance metadata. In addition, <code>HttpPutResponseHopLimit</code> is set to
|
|
8082
|
-
* <code>2</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
|
|
8067
|
+
* <code>2</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration">Configure
|
|
8068
|
+
* the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
8083
8069
|
* <note>
|
|
8084
|
-
* <p>If you set the value to <code>v2.0</code>, make sure that your AMI software can support
|
|
8085
|
-
* IMDSv2.</p>
|
|
8070
|
+
* <p>If you set the value to <code>v2.0</code>, make sure that your AMI software can support IMDSv2.</p>
|
|
8086
8071
|
* </note>
|
|
8087
8072
|
*/
|
|
8088
8073
|
ImdsSupport?: ImdsSupportValues;
|