@aws-sdk/client-ec2 3.525.1 → 3.529.1

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.
Files changed (32) hide show
  1. package/dist-cjs/index.js +584 -596
  2. package/dist-es/protocols/Aws_ec2.js +22 -34
  3. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  4. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  5. package/dist-types/commands/CopyImageCommand.d.ts +24 -16
  6. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  7. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  8. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  9. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  10. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +8 -1
  11. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +6 -1
  12. package/dist-types/commands/DescribeImagesCommand.d.ts +9 -3
  13. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  14. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  15. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  16. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  17. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  18. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  19. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  20. package/dist-types/commands/RegisterImageCommand.d.ts +24 -13
  21. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  22. package/dist-types/models/models_0.d.ts +42 -22
  23. package/dist-types/models/models_1.d.ts +13 -11
  24. package/dist-types/models/models_2.d.ts +5 -4
  25. package/dist-types/models/models_3.d.ts +86 -76
  26. package/dist-types/models/models_4.d.ts +2 -1
  27. package/dist-types/models/models_5.d.ts +40 -33
  28. package/dist-types/models/models_6.d.ts +66 -42
  29. package/dist-types/models/models_7.d.ts +2 -1
  30. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  31. package/dist-types/ts3.4/models/models_6.d.ts +1 -0
  32. package/package.json +4 -5
@@ -3763,8 +3763,9 @@ 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 parameter overrides
3767
- * any errors that are encountered while cleaning up resources in your account.</p>
3766
+ * <p>Forces the image settings to turn off Windows fast launch for your Windows AMI. This
3767
+ * parameter overrides any errors that are encountered while cleaning up resources in your
3768
+ * account.</p>
3768
3769
  */
3769
3770
  Force?: boolean;
3770
3771
  /**
@@ -3786,25 +3787,26 @@ export interface DisableFastLaunchResult {
3786
3787
  ImageId?: string;
3787
3788
  /**
3788
3789
  * @public
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>
3790
+ * <p>The pre-provisioning resource type that must be cleaned after turning off Windows fast
3791
+ * launch for the Windows AMI. Supported values include: <code>snapshot</code>.</p>
3791
3792
  */
3792
3793
  ResourceType?: FastLaunchResourceType;
3793
3794
  /**
3794
3795
  * @public
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>
3796
+ * <p>Parameters that were used for Windows fast launch for the Windows AMI before Windows fast
3797
+ * launch was disabled. This informs the clean-up process.</p>
3797
3798
  */
3798
3799
  SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse;
3799
3800
  /**
3800
3801
  * @public
3801
- * <p>The launch template that was used to launch Windows instances from pre-provisioned snapshots.</p>
3802
+ * <p>The launch template that was used to launch Windows instances from pre-provisioned
3803
+ * snapshots.</p>
3802
3804
  */
3803
3805
  LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse;
3804
3806
  /**
3805
3807
  * @public
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>
3808
+ * <p>The maximum number of instances that Amazon EC2 can launch at the same time to create
3809
+ * pre-provisioned snapshots for Windows fast launch.</p>
3808
3810
  */
3809
3811
  MaxParallelLaunches?: number;
3810
3812
  /**
@@ -4893,36 +4895,39 @@ export interface EnableEbsEncryptionByDefaultResult {
4893
4895
  * <p>Request to create a launch template for a Windows fast launch enabled AMI.</p>
4894
4896
  * <note>
4895
4897
  * <p>Note - You can specify either the <code>LaunchTemplateName</code> or the
4896
- * <code>LaunchTemplateId</code>, but not both.</p>
4898
+ * <code>LaunchTemplateId</code>, but not both.</p>
4897
4899
  * </note>
4898
4900
  */
4899
4901
  export interface FastLaunchLaunchTemplateSpecificationRequest {
4900
4902
  /**
4901
4903
  * @public
4902
- * <p>Specify the ID of the launch template that the AMI should use for Windows fast launch.</p>
4904
+ * <p>Specify the ID of the launch template that the AMI should use for Windows fast
4905
+ * launch.</p>
4903
4906
  */
4904
4907
  LaunchTemplateId?: string;
4905
4908
  /**
4906
4909
  * @public
4907
- * <p>Specify the name of the launch template that the AMI should use for Windows fast launch.</p>
4910
+ * <p>Specify the name of the launch template that the AMI should use for Windows fast
4911
+ * launch.</p>
4908
4912
  */
4909
4913
  LaunchTemplateName?: string;
4910
4914
  /**
4911
4915
  * @public
4912
- * <p>Specify the version of the launch template that the AMI should use for Windows fast launch.</p>
4916
+ * <p>Specify the version of the launch template that the AMI should use for Windows fast
4917
+ * launch.</p>
4913
4918
  */
4914
4919
  Version: string | undefined;
4915
4920
  }
4916
4921
  /**
4917
4922
  * @public
4918
- * <p>Configuration settings for creating and managing pre-provisioned snapshots for a Windows fast launch
4919
- * enabled AMI.</p>
4923
+ * <p>Configuration settings for creating and managing pre-provisioned snapshots for a Windows
4924
+ * fast launch enabled AMI.</p>
4920
4925
  */
4921
4926
  export interface FastLaunchSnapshotConfigurationRequest {
4922
4927
  /**
4923
4928
  * @public
4924
- * <p>The number of pre-provisioned snapshots to keep on hand for a Windows fast launch
4925
- * enabled AMI.</p>
4929
+ * <p>The number of pre-provisioned snapshots to keep on hand for a Windows fast launch enabled
4930
+ * AMI.</p>
4926
4931
  */
4927
4932
  TargetResourceCount?: number;
4928
4933
  }
@@ -4938,28 +4943,28 @@ export interface EnableFastLaunchRequest {
4938
4943
  /**
4939
4944
  * @public
4940
4945
  * <p>The type of resource to use for pre-provisioning the AMI for Windows fast launch.
4941
- * Supported values include: <code>snapshot</code>, which is the default value.</p>
4946
+ * Supported values include: <code>snapshot</code>, which is the default value.</p>
4942
4947
  */
4943
4948
  ResourceType?: string;
4944
4949
  /**
4945
4950
  * @public
4946
4951
  * <p>Configuration settings for creating and managing the snapshots that are used for
4947
- * pre-provisioning the AMI for Windows fast launch. The associated <code>ResourceType</code>
4948
- * must be <code>snapshot</code>.</p>
4952
+ * pre-provisioning the AMI for Windows fast launch. The associated <code>ResourceType</code>
4953
+ * must be <code>snapshot</code>.</p>
4949
4954
  */
4950
4955
  SnapshotConfiguration?: FastLaunchSnapshotConfigurationRequest;
4951
4956
  /**
4952
4957
  * @public
4953
4958
  * <p>The launch template to use when launching Windows instances from pre-provisioned
4954
- * snapshots. Launch template parameters can include either the name or ID of the launch
4955
- * template, but not both.</p>
4959
+ * snapshots. Launch template parameters can include either the name or ID of the launch
4960
+ * template, but not both.</p>
4956
4961
  */
4957
4962
  LaunchTemplate?: FastLaunchLaunchTemplateSpecificationRequest;
4958
4963
  /**
4959
4964
  * @public
4960
4965
  * <p>The maximum number of instances that Amazon EC2 can launch at the same time to create
4961
- * pre-provisioned snapshots for Windows fast launch. Value must be
4962
- * <code>6</code> or greater.</p>
4966
+ * pre-provisioned snapshots for Windows fast launch. Value must be <code>6</code> or
4967
+ * greater.</p>
4963
4968
  */
4964
4969
  MaxParallelLaunches?: number;
4965
4970
  /**
@@ -4981,25 +4986,27 @@ export interface EnableFastLaunchResult {
4981
4986
  ImageId?: string;
4982
4987
  /**
4983
4988
  * @public
4984
- * <p>The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.</p>
4989
+ * <p>The type of resource that was defined for pre-provisioning the AMI for Windows fast
4990
+ * launch.</p>
4985
4991
  */
4986
4992
  ResourceType?: FastLaunchResourceType;
4987
4993
  /**
4988
4994
  * @public
4989
4995
  * <p>Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster
4990
- * launches from the Windows AMI. This property is returned when the associated
4991
- * <code>resourceType</code> is <code>snapshot</code>.</p>
4996
+ * launches from the Windows AMI. This property is returned when the associated
4997
+ * <code>resourceType</code> is <code>snapshot</code>.</p>
4992
4998
  */
4993
4999
  SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse;
4994
5000
  /**
4995
5001
  * @public
4996
- * <p>The launch template that is used when launching Windows instances from pre-provisioned snapshots.</p>
5002
+ * <p>The launch template that is used when launching Windows instances from pre-provisioned
5003
+ * snapshots.</p>
4997
5004
  */
4998
5005
  LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse;
4999
5006
  /**
5000
5007
  * @public
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>
5008
+ * <p>The maximum number of instances that Amazon EC2 can launch at the same time to create
5009
+ * pre-provisioned snapshots for Windows fast launch.</p>
5003
5010
  */
5004
5011
  MaxParallelLaunches?: number;
5005
5012
  /**
@@ -5263,10 +5270,10 @@ export interface EnableImageDeprecationRequest {
5263
5270
  * @public
5264
5271
  * <p>The date and time to deprecate the AMI, in UTC, in the following format:
5265
5272
  * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z.
5266
- * If you specify a value for seconds, Amazon EC2 rounds the seconds to the
5267
- * nearest minute.</p>
5273
+ * If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.</p>
5268
5274
  * <p>You can’t specify a date in the past. The upper limit for <code>DeprecateAt</code> is 10
5269
- * years from now, except for public AMIs, where the upper limit is 2 years from the creation date.</p>
5275
+ * years from now, except for public AMIs, where the upper limit is 2 years from the creation
5276
+ * date.</p>
5270
5277
  */
5271
5278
  DeprecateAt: Date | undefined;
5272
5279
  /**
@@ -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
- * are in the 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 are in the
2630
+ * Recycle Bin. You can specify up to 20 IDs in a single request.</p>
2631
2631
  */
2632
2632
  ImageIds?: string[];
2633
2633
  /**
@@ -3657,12 +3657,14 @@ 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 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
3661
+ * launch permissions for the AMI.</p>
3661
3662
  */
3662
3663
  Add?: LaunchPermission[];
3663
3664
  /**
3664
3665
  * @public
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>
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>
3666
3668
  */
3667
3669
  Remove?: LaunchPermission[];
3668
3670
  }
@@ -3674,7 +3676,8 @@ export interface ModifyImageAttributeRequest {
3674
3676
  /**
3675
3677
  * @public
3676
3678
  * <p>The name of the attribute to modify.</p>
3677
- * <p>Valid values: <code>description</code> | <code>imdsSupport</code> | <code>launchPermission</code>
3679
+ * <p>Valid values: <code>description</code> | <code>imdsSupport</code> |
3680
+ * <code>launchPermission</code>
3678
3681
  * </p>
3679
3682
  */
3680
3683
  Attribute?: string;
@@ -3695,8 +3698,8 @@ export interface ModifyImageAttributeRequest {
3695
3698
  LaunchPermission?: LaunchPermissionModifications;
3696
3699
  /**
3697
3700
  * @public
3698
- * <p>The operation type.
3699
- * This parameter can be used only when the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>
3701
+ * <p>The operation type. This parameter can be used only when the <code>Attribute</code>
3702
+ * parameter is <code>launchPermission</code>.</p>
3700
3703
  */
3701
3704
  OperationType?: OperationType;
3702
3705
  /**
@@ -3706,20 +3709,21 @@ export interface ModifyImageAttributeRequest {
3706
3709
  ProductCodes?: string[];
3707
3710
  /**
3708
3711
  * @public
3709
- * <p>The user groups.
3710
- * This parameter can be used only when the <code>Attribute</code> parameter is <code>launchPermission</code>.</p>
3712
+ * <p>The user groups. This parameter can be used only when the <code>Attribute</code> parameter
3713
+ * is <code>launchPermission</code>.</p>
3711
3714
  */
3712
3715
  UserGroups?: string[];
3713
3716
  /**
3714
3717
  * @public
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>
3718
+ * <p>The Amazon Web Services account IDs. This parameter can be used only when the
3719
+ * <code>Attribute</code> parameter is <code>launchPermission</code>.</p>
3717
3720
  */
3718
3721
  UserIds?: string[];
3719
3722
  /**
3720
3723
  * @public
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>
3724
+ * <p>The value of the attribute being modified. This parameter can be used only when the
3725
+ * <code>Attribute</code> parameter is <code>description</code> or
3726
+ * <code>imdsSupport</code>.</p>
3723
3727
  */
3724
3728
  Value?: string;
3725
3729
  /**
@@ -3731,25 +3735,27 @@ export interface ModifyImageAttributeRequest {
3731
3735
  DryRun?: boolean;
3732
3736
  /**
3733
3737
  * @public
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>
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>
3735
3740
  */
3736
3741
  OrganizationArns?: string[];
3737
3742
  /**
3738
3743
  * @public
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>
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>
3740
3746
  */
3741
3747
  OrganizationalUnitArns?: string[];
3742
3748
  /**
3743
3749
  * @public
3744
3750
  * <p>Set to <code>v2.0</code> to indicate that IMDSv2 is specified in the AMI. Instances
3745
3751
  * launched from this AMI will have <code>HttpTokens</code> automatically set to
3746
- * <code>required</code> so that, by default, the instance requires that IMDSv2 is used when
3752
+ * <code>required</code> so that, by default, the instance requires that IMDSv2 is used when
3747
3753
  * requesting instance metadata. In addition, <code>HttpPutResponseHopLimit</code> is set to
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>
3754
+ * <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 the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
3750
3755
  * <important>
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>
3756
+ * <p>Do not use this parameter unless your AMI software supports IMDSv2. After you set the
3757
+ * value to <code>v2.0</code>, you can't undo it. The only way to “reset” your AMI is to create
3758
+ * a new AMI from the underlying snapshot.</p>
3753
3759
  * </important>
3754
3760
  */
3755
3761
  ImdsSupport?: AttributeValue;
@@ -7947,25 +7953,26 @@ export interface RegisterImageRequest {
7947
7953
  /**
7948
7954
  * @public
7949
7955
  * <p>The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the
7950
- * <code>aws-exec-read</code> canned access control list (ACL) to ensure that it can be accessed
7951
- * 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
7952
- * <i>Amazon S3 Service Developer Guide</i>.</p>
7956
+ * <code>aws-exec-read</code> canned access control list (ACL) to ensure that it can be
7957
+ * accessed 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
7958
+ * <i>Amazon S3 Service Developer Guide</i>.</p>
7953
7959
  */
7954
7960
  ImageLocation?: string;
7955
7961
  /**
7956
7962
  * @public
7957
7963
  * <p>The architecture of the AMI.</p>
7958
- * <p>Default: For Amazon EBS-backed AMIs, <code>i386</code>.
7959
- * For instance store-backed AMIs, the architecture specified in the manifest file.</p>
7964
+ * <p>Default: For Amazon EBS-backed AMIs, <code>i386</code>. For instance store-backed AMIs, the
7965
+ * architecture specified in the manifest file.</p>
7960
7966
  */
7961
7967
  Architecture?: ArchitectureValues;
7962
7968
  /**
7963
7969
  * @public
7964
7970
  * <p>The block device mapping entries.</p>
7965
- * <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>
7966
- * <p>If you create an AMI on an Outpost, then all backing snapshots must be on the same
7967
- * Outpost or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can
7968
- * be used to launch instances on the same Outpost only. For more information, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami">Amazon EBS local
7971
+ * <p>If you specify an Amazon EBS volume using the ID of an Amazon EBS snapshot, you can't specify the
7972
+ * encryption state of the volume.</p>
7973
+ * <p>If you create an AMI on an Outpost, then all backing snapshots must be on the same Outpost
7974
+ * or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can be used
7975
+ * to launch instances on the same Outpost only. For more information, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami">Amazon EBS local
7969
7976
  * snapshots on Outposts</a> in the <i>Amazon EC2 User Guide</i>.</p>
7970
7977
  */
7971
7978
  BlockDeviceMappings?: BlockDeviceMapping[];
@@ -7983,8 +7990,10 @@ export interface RegisterImageRequest {
7983
7990
  DryRun?: boolean;
7984
7991
  /**
7985
7992
  * @public
7986
- * <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>
7987
- * <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>
7993
+ * <p>Set to <code>true</code> to enable enhanced networking with ENA for the AMI and any
7994
+ * instances that you launch from the AMI.</p>
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>
7988
7997
  */
7989
7998
  EnaSupport?: boolean;
7990
7999
  /**
@@ -7995,17 +8004,20 @@ export interface RegisterImageRequest {
7995
8004
  /**
7996
8005
  * @public
7997
8006
  * <p>A name for your AMI.</p>
7998
- * <p>Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)</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
8010
  */
8000
8011
  Name: string | undefined;
8001
8012
  /**
8002
8013
  * @public
8003
- * <p>The billing product codes. Your account must be authorized to specify billing product codes.</p>
8014
+ * <p>The billing product codes. Your account must be authorized to specify billing product
8015
+ * codes.</p>
8004
8016
  * <p>If your account is not authorized to specify billing product codes, you can publish AMIs
8005
8017
  * that include billable software and list them on the Amazon Web Services Marketplace. You must first register as a seller
8006
8018
  * 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
8007
- * seller</a> and <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html">AMI-based
8008
- * products</a> in the <i>Amazon Web Services Marketplace Seller Guide</i>.</p>
8019
+ * seller</a> and <a href="https://docs.aws.amazon.com/marketplace/latest/userguide/ami-products.html">AMI-based products</a> in the
8020
+ * <i>Amazon Web Services Marketplace Seller Guide</i>.</p>
8009
8021
  */
8010
8022
  BillingProducts?: string[];
8011
8023
  /**
@@ -8020,9 +8032,11 @@ export interface RegisterImageRequest {
8020
8032
  RootDeviceName?: string;
8021
8033
  /**
8022
8034
  * @public
8023
- * <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>
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
8037
  * <p>There is no way to disable <code>sriovNetSupport</code> at this time.</p>
8025
- * <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>
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
8040
  */
8027
8041
  SriovNetSupport?: string;
8028
8042
  /**
@@ -8034,9 +8048,11 @@ export interface RegisterImageRequest {
8034
8048
  VirtualizationType?: string;
8035
8049
  /**
8036
8050
  * @public
8037
- * <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>
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
8053
  * <note>
8039
- * <p>The operating system contained in the AMI must be configured to support the specified boot mode.</p>
8054
+ * <p>The operating system contained in the AMI must be configured to support the specified
8055
+ * boot mode.</p>
8040
8056
  * </note>
8041
8057
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html">Boot modes</a> in the
8042
8058
  * <i>Amazon EC2 User Guide</i>.</p>
@@ -8063,13 +8079,21 @@ export interface RegisterImageRequest {
8063
8079
  * launched from this AMI will have <code>HttpTokens</code> automatically set to
8064
8080
  * <code>required</code> so that, by default, the instance requires that IMDSv2 is used when
8065
8081
  * requesting instance metadata. In addition, <code>HttpPutResponseHopLimit</code> is set to
8066
- * <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
- * the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
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 the AMI</a> in the <i>Amazon EC2 User Guide</i>.</p>
8068
8083
  * <note>
8069
- * <p>If you set the value to <code>v2.0</code>, make sure that your AMI software can support IMDSv2.</p>
8084
+ * <p>If you set the value to <code>v2.0</code>, make sure that your AMI software can support
8085
+ * IMDSv2.</p>
8070
8086
  * </note>
8071
8087
  */
8072
8088
  ImdsSupport?: ImdsSupportValues;
8089
+ /**
8090
+ * @public
8091
+ * <p>The tags to apply to the AMI.</p>
8092
+ * <p>To tag the AMI, the value for <code>ResourceType</code> must be <code>image</code>. If you
8093
+ * specify another value for <code>ResourceType</code>, the request fails.</p>
8094
+ * <p>To tag an AMI after it has been registered, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
8095
+ */
8096
+ TagSpecifications?: TagSpecification[];
8073
8097
  }
8074
8098
  /**
8075
8099
  * @public
@@ -1074,7 +1074,8 @@ export type ResetImageAttributeName = (typeof ResetImageAttributeName)[keyof typ
1074
1074
  export interface ResetImageAttributeRequest {
1075
1075
  /**
1076
1076
  * @public
1077
- * <p>The attribute to reset (currently you can only reset the launch permission attribute).</p>
1077
+ * <p>The attribute to reset (currently you can only reset the launch permission
1078
+ * attribute).</p>
1078
1079
  */
1079
1080
  Attribute: ResetImageAttributeName | undefined;
1080
1081
  /**
@@ -1855,6 +1855,7 @@ export interface CopyImageRequest {
1855
1855
  DestinationOutpostArn?: string;
1856
1856
  DryRun?: boolean;
1857
1857
  CopyImageTags?: boolean;
1858
+ TagSpecifications?: TagSpecification[];
1858
1859
  }
1859
1860
  export interface CopyImageResult {
1860
1861
  ImageId?: string;
@@ -1807,6 +1807,7 @@ export interface RegisterImageRequest {
1807
1807
  TpmSupport?: TpmSupportValues;
1808
1808
  UefiData?: string;
1809
1809
  ImdsSupport?: ImdsSupportValues;
1810
+ TagSpecifications?: TagSpecification[];
1810
1811
  }
1811
1812
  export interface RegisterImageResult {
1812
1813
  ImageId?: string;
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.525.1",
4
+ "version": "3.529.1",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.525.0",
24
- "@aws-sdk/core": "3.525.0",
25
- "@aws-sdk/credential-provider-node": "3.525.0",
23
+ "@aws-sdk/client-sts": "3.529.1",
24
+ "@aws-sdk/core": "3.529.1",
25
+ "@aws-sdk/credential-provider-node": "3.529.1",
26
26
  "@aws-sdk/middleware-host-header": "3.523.0",
27
27
  "@aws-sdk/middleware-logger": "3.523.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.523.0",
@@ -59,7 +59,6 @@
59
59
  "@smithy/util-retry": "^2.1.3",
60
60
  "@smithy/util-utf8": "^2.1.1",
61
61
  "@smithy/util-waiter": "^2.1.3",
62
- "fast-xml-parser": "4.2.5",
63
62
  "tslib": "^2.5.0",
64
63
  "uuid": "^9.0.1"
65
64
  },