From b6f2e1d506d7cb6cf015ed5b3280187c71bc01ce Mon Sep 17 00:00:00 2001
From: awstools Bundles an Amazon instance store-backed Windows instance. During bundling, only the root device volume (C:\) is bundled. Data on other instance store volumes is not preserved. During bundling, only the root device volume (C:\) is bundled. Data on other instance
+ * store volumes is not preserved. This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS. This action is not applicable for Linux/Unix instances or Windows instances that are
+ * backed by Amazon EBS. Removes your Amazon Web Services account from the launch permissions for the specified AMI. For more
- * information, see
- * Cancel having an AMI shared with your Amazon Web Services account in the
- * Amazon EC2 User Guide. Removes your Amazon Web Services account from the launch permissions for the specified AMI.
+ * For more information, see Cancel having an AMI shared with
+ * your Amazon Web Services account in the Amazon EC2 User Guide. Initiates the copy of an AMI. You can copy an AMI from one Region to another, or from a
- * Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost
- * to another, or within the same Outpost. To copy an AMI to another partition, see CreateStoreImageTask. To copy an AMI from one Region to another, specify the source Region using the
- * SourceRegion parameter, and specify the
- * destination Region using its endpoint. Copies of encrypted backing snapshots for
- * the AMI are encrypted. Copies of unencrypted backing snapshots remain unencrypted,
- * unless you set To copy an AMI from a Region to an Outpost, specify the source Region using the
- * SourceRegion parameter, and specify the
- * ARN of the destination Outpost using DestinationOutpostArn.
- * Backing snapshots copied to an Outpost are encrypted by default using the default
- * encryption key for the Region, or a different key that you specify in the request using
- * KmsKeyId. Outposts do not support unencrypted
- * snapshots. For more information,
- * Amazon EBS local snapshots on Outposts in the Amazon EC2 User Guide.Encrypted
during the copy operation. You cannot
- * create an unencrypted copy of an encrypted backing snapshot.
To copy an AMI from one Region to another, specify the source Region using the SourceRegion parameter, and specify the destination Region using its
+ * endpoint. Copies of encrypted backing snapshots for the AMI are encrypted. Copies of
+ * unencrypted backing snapshots remain unencrypted, unless you set Encrypted
during
+ * the copy operation. You cannot create an unencrypted copy of an encrypted backing
+ * snapshot.
To copy an AMI from a Region to an Outpost, specify the source Region using the SourceRegion parameter, and specify the ARN of the destination + * Outpost using DestinationOutpostArn. Backing snapshots copied + * to an Outpost are encrypted by default using the default encryption key for the Region, or a + * different key that you specify in the request using KmsKeyId. + * Outposts do not support unencrypted snapshots. For more information, Amazon EBS local + * snapshots on Outposts in the Amazon EC2 User Guide.
*For more information about the prerequisites and limits when copying an AMI, see Copy an AMI in the * Amazon EC2 User Guide.
* @example @@ -64,6 +61,17 @@ export interface CopyImageCommandOutput extends CopyImageResult, __MetadataBeare * DestinationOutpostArn: "STRING_VALUE", * DryRun: true || false, * CopyImageTags: true || false, + * TagSpecifications: [ // TagSpecificationList + * { // TagSpecification + * ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "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-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "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-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint", + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", + * Value: "STRING_VALUE", + * }, + * ], + * }, + * ], * }; * const command = new CopyImageCommand(input); * const response = await client.send(command); diff --git a/clients/client-ec2/src/commands/CreateImageCommand.ts b/clients/client-ec2/src/commands/CreateImageCommand.ts index 51b54a4e9081..ab8914b4b67e 100644 --- a/clients/client-ec2/src/commands/CreateImageCommand.ts +++ b/clients/client-ec2/src/commands/CreateImageCommand.ts @@ -28,11 +28,12 @@ export interface CreateImageCommandOutput extends CreateImageResult, __MetadataB /** * @public - *Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance - * that is either running or stopped.
- *If you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the - * new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, - * the instance automatically launches with those additional volumes.
+ *Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or + * stopped.
+ *If you customized your instance with instance store volumes or Amazon EBS volumes in addition + * to the root device volume, the new AMI contains block device mapping information for those + * volumes. When you launch an instance from this new AMI, the instance automatically launches + * with those additional volumes.
*For more information, see Create an Amazon EBS-backed Linux * AMI in the Amazon Elastic Compute Cloud User Guide.
* @example diff --git a/clients/client-ec2/src/commands/CreateRestoreImageTaskCommand.ts b/clients/client-ec2/src/commands/CreateRestoreImageTaskCommand.ts index 4a6da51e47af..46f44143fcbe 100644 --- a/clients/client-ec2/src/commands/CreateRestoreImageTaskCommand.ts +++ b/clients/client-ec2/src/commands/CreateRestoreImageTaskCommand.ts @@ -28,12 +28,12 @@ export interface CreateRestoreImageTaskCommandOutput extends CreateRestoreImageT /** * @public - *Starts a task that restores an AMI from an Amazon S3 object that was previously created by using - * CreateStoreImageTask.
+ *Starts a task that restores an AMI from an Amazon S3 object that was previously created by + * using CreateStoreImageTask.
*To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the * Amazon EC2 User Guide.
*For more information, see Store and restore an AMI using - * Amazon S3 in the Amazon EC2 User Guide.
+ * Amazon S3 in the Amazon EC2 User Guide. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/CreateStoreImageTaskCommand.ts b/clients/client-ec2/src/commands/CreateStoreImageTaskCommand.ts index 5a80adb747b8..00e9969283a9 100644 --- a/clients/client-ec2/src/commands/CreateStoreImageTaskCommand.ts +++ b/clients/client-ec2/src/commands/CreateStoreImageTaskCommand.ts @@ -32,7 +32,7 @@ export interface CreateStoreImageTaskCommandOutput extends CreateStoreImageTaskR *To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the * Amazon EC2 User Guide.
*For more information, see Store and restore an AMI using - * Amazon S3 in the Amazon EC2 User Guide.
+ * Amazon S3 in the Amazon EC2 User Guide. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/DeregisterImageCommand.ts b/clients/client-ec2/src/commands/DeregisterImageCommand.ts index 7922894be8ad..bb1b39b07528 100644 --- a/clients/client-ec2/src/commands/DeregisterImageCommand.ts +++ b/clients/client-ec2/src/commands/DeregisterImageCommand.ts @@ -28,18 +28,18 @@ export interface DeregisterImageCommandOutput extends __MetadataBearer {} /** * @public - *Deregisters the specified AMI. After you deregister an AMI, it can't be used to - * launch new instances.
- *If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained - * in the Recycle Bin for the specified retention period. For more information, see Recycle Bin in + *
Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new + * instances.
+ *If you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained in + * the Recycle Bin for the specified retention period. For more information, see Recycle Bin in * the Amazon EC2 User Guide.
- *When you deregister an AMI, it doesn't affect any instances that you've already - * launched from the AMI. You'll continue to incur usage costs for those instances until - * you terminate them.
- *When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was - * created for the root volume of the instance during the AMI creation process. When you - * deregister an instance store-backed AMI, it doesn't affect the files that you uploaded - * to Amazon S3 when you created the AMI.
+ *When you deregister an AMI, it doesn't affect any instances that you've already launched + * from the AMI. You'll continue to incur usage costs for those instances until you terminate + * them.
+ *When you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created + * for the root volume of the instance during the AMI creation process. When you deregister an + * instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you + * created the AMI.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/DescribeBundleTasksCommand.ts b/clients/client-ec2/src/commands/DescribeBundleTasksCommand.ts index a8f454ca8235..98eb32e141b4 100644 --- a/clients/client-ec2/src/commands/DescribeBundleTasksCommand.ts +++ b/clients/client-ec2/src/commands/DescribeBundleTasksCommand.ts @@ -34,7 +34,14 @@ export interface DescribeBundleTasksCommandOutput extends DescribeBundleTasksRes * @public *Describes the specified bundle tasks or all of your bundle tasks.
*Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage
with the Amazon S3 bucket name and image manifest name you provided to the bundle task.
Completed bundle tasks are listed for only a limited time. If your bundle task is no
+ * longer in the list, you can still register an AMI from it. Just use
+ * RegisterImage
with the Amazon S3 bucket name and image manifest name you provided
+ * to the bundle task.
The order of the elements in the response, including those within nested structures, + * might vary. Applications should not assume the elements appear in a particular order.
*Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.
+ *Describes the specified attribute of the specified AMI. You can specify only one attribute + * at a time.
+ *The order of the elements in the response, including those within nested structures, + * might vary. Applications should not assume the elements appear in a particular order.
+ *Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you.
- *The images available to you include public images, private images that you own, and private images owned by other - * Amazon Web Services accounts for which you have explicit launch permissions.
+ *Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the + * images available to you.
+ *The images available to you include public images, private images that you own, and + * private images owned by other Amazon Web Services accounts for which you have explicit launch + * permissions.
*Recently deregistered images appear in the returned results for a short interval and then * return empty results. After all instances that reference a deregistered AMI are terminated, * specifying the ID of the image will eventually return an error indicating that the AMI ID * cannot be found.
+ *The order of the elements in the response, including those within nested structures, + * might vary. Applications should not assume the elements appear in a particular order.
+ *To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the * Amazon EC2 User Guide.
*For more information, see Store and restore an AMI using - * Amazon S3 in the Amazon EC2 User Guide.
+ * Amazon S3 in the Amazon EC2 User Guide. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/DisableFastLaunchCommand.ts b/clients/client-ec2/src/commands/DisableFastLaunchCommand.ts index ec7e373e048c..dec89334ba5e 100644 --- a/clients/client-ec2/src/commands/DisableFastLaunchCommand.ts +++ b/clients/client-ec2/src/commands/DisableFastLaunchCommand.ts @@ -28,11 +28,13 @@ export interface DisableFastLaunchCommandOutput extends DisableFastLaunchResult, /** * @public - *Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned snapshots. - * After you disable Windows fast launch, the AMI uses the standard launch process for each - * new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable Windows fast launch again.
+ *Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned + * snapshots. After you disable Windows fast launch, the AMI uses the standard launch process for + * each new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable + * Windows fast launch again.
*You can only change these settings for Windows AMIs that you own or that have been shared with you.
+ *You can only change these settings for Windows AMIs that you own or that have been + * shared with you.
*block-new-sharing
. When the API has completed the configuration, the response
* will be unblocked
.
- * For more information, see Block public access to your AMIs in - * the Amazon EC2 User Guide.
+ *For more information, see Block + * public access to your AMIs in the Amazon EC2 User Guide.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/EnableFastLaunchCommand.ts b/clients/client-ec2/src/commands/EnableFastLaunchCommand.ts index 8f31c5750572..ab21f57ab025 100644 --- a/clients/client-ec2/src/commands/EnableFastLaunchCommand.ts +++ b/clients/client-ec2/src/commands/EnableFastLaunchCommand.ts @@ -28,14 +28,15 @@ export interface EnableFastLaunchCommandOutput extends EnableFastLaunchResult, _ /** * @public - *When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, - * using snapshots to launch instances up to 65% faster. To create the optimized Windows - * image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. - * Then it creates a set of reserved snapshots that are used for subsequent launches. The - * reserved snapshots are automatically replenished as they are used, depending on your - * settings for launch frequency.
+ *When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using + * snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 + * launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a + * set of reserved snapshots that are used for subsequent launches. The reserved snapshots are + * automatically replenished as they are used, depending on your settings for launch + * frequency.
*You can only change these settings for Windows AMIs that you own or that have been shared with you.
+ *You can only change these settings for Windows AMIs that you own or that have been + * shared with you.
*Enables deprecation of the specified AMI at the specified date and time.
- *For more information, see Deprecate an AMI in the Amazon EC2 User Guide.
+ *For more information, see Deprecate an AMI in the + * Amazon EC2 User Guide.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/ListImagesInRecycleBinCommand.ts b/clients/client-ec2/src/commands/ListImagesInRecycleBinCommand.ts index 7c1aba876272..b9b087bf3f8d 100644 --- a/clients/client-ec2/src/commands/ListImagesInRecycleBinCommand.ts +++ b/clients/client-ec2/src/commands/ListImagesInRecycleBinCommand.ts @@ -28,8 +28,8 @@ export interface ListImagesInRecycleBinCommandOutput extends ListImagesInRecycle /** * @public - *Lists one or more AMIs that are currently in the Recycle Bin. For more information,
- * see Recycle
+ * Lists one or more AMIs that are currently in the Recycle Bin. For more information, see
+ * Recycle
* Bin in the Amazon EC2 User Guide. Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time. To specify the attribute, you can use the Modifies the specified attribute of the specified AMI. You can specify only one attribute
+ * at a time. To specify the attribute, you can use the Images with an Amazon Web Services Marketplace product code cannot be made public. To enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport on an instance
- * and create an AMI from the instance. To enable the SriovNetSupport enhanced networking attribute of an image, enable
+ * SriovNetSupport on an instance and create an AMI from the instance. Registers an AMI. When you're creating an AMI, this is the final step you must complete
- * before you can launch an instance from the AMI. For more information about creating AMIs, see
+ * Registers an AMI. When you're creating an instance-store backed AMI, registering the AMI
+ * is the final step in the creation process. For more information about creating AMIs, see
* Create your
* own AMI in the Amazon Elastic Compute Cloud User Guide.Attribute
parameter, or one of the following parameters:
- * Description
, ImdsSupport
, or LaunchPermission
.Attribute
parameter, or one of the
+ * following parameters: Description
, ImdsSupport
, or
+ * LaunchPermission
.
If needed, you can deregister an AMI at any time. Any modifications you make to an AMI backed by an instance store volume invalidates its registration. - * If you make changes to an image, deregister the previous image and register the new image.
+ *If needed, you can deregister an AMI at any time. Any modifications you make to an AMI + * backed by an instance store volume invalidates its registration. If you make changes to an + * image, deregister the previous image and register the new image.
** Register a snapshot of a root device volume *
- *You can use RegisterImage
to create an Amazon EBS-backed Linux AMI from
- * a snapshot of a root device volume. You specify the snapshot using a block device mapping.
- * You can't set the encryption state of the volume using the block device mapping. If the
- * snapshot is encrypted, or encryption by default is enabled, the root volume of an instance
- * launched from the AMI is encrypted.
For more information, see Create a Linux AMI from a snapshot and Use encryption with Amazon EBS-backed AMIs - * in the Amazon Elastic Compute Cloud User Guide.
+ *You can use RegisterImage
to create an Amazon EBS-backed Linux AMI from a snapshot
+ * of a root device volume. You specify the snapshot using a block device mapping. You can't set
+ * the encryption state of the volume using the block device mapping. If the snapshot is
+ * encrypted, or encryption by default is enabled, the root volume of an instance launched from
+ * the AMI is encrypted.
For more information, see Create a Linux AMI from a snapshot and Use encryption with Amazon EBS-backed + * AMIs in the Amazon Elastic Compute Cloud User Guide.
** Amazon Web Services Marketplace product codes *
- *If any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new - * AMI.
+ *If any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new AMI.
*Windows and some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and SUSE * Linux Enterprise Server (SLES), use the Amazon EC2 billing product code associated with an AMI to * verify the subscription status for package updates. To create a new AMI for operating systems @@ -120,6 +120,17 @@ export interface RegisterImageCommandOutput extends RegisterImageResult, __Metad * TpmSupport: "v2.0", * UefiData: "STRING_VALUE", * ImdsSupport: "v2.0", + * TagSpecifications: [ // TagSpecificationList + * { // TagSpecification + * ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "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-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "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-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint", + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", + * Value: "STRING_VALUE", + * }, + * ], + * }, + * ], * }; * const command = new RegisterImageCommand(input); * const response = await client.send(command); diff --git a/clients/client-ec2/src/commands/RestoreImageFromRecycleBinCommand.ts b/clients/client-ec2/src/commands/RestoreImageFromRecycleBinCommand.ts index e6177f7348b5..91df98d1bb6a 100644 --- a/clients/client-ec2/src/commands/RestoreImageFromRecycleBinCommand.ts +++ b/clients/client-ec2/src/commands/RestoreImageFromRecycleBinCommand.ts @@ -28,7 +28,8 @@ export interface RestoreImageFromRecycleBinCommandOutput extends RestoreImageFro /** * @public - *
Restores an AMI from the Recycle Bin. For more information, see Recycle Bin in the Amazon EC2 User Guide.
+ *Restores an AMI from the Recycle Bin. For more information, see Recycle Bin in + * the Amazon EC2 User Guide.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/models/models_0.ts b/clients/client-ec2/src/models/models_0.ts index 964ab0a3ce2d..38e81c0794b7 100644 --- a/clients/client-ec2/src/models/models_0.ts +++ b/clients/client-ec2/src/models/models_0.ts @@ -6865,21 +6865,23 @@ export interface AuthorizeSecurityGroupIngressResult { /** * @public - *Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed AMI.
+ *Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed + * AMI.
*/ export interface S3Storage { /** * @public *The access key ID of the owner of the bucket. Before you specify a value for your access - * key ID, review and follow the guidance in Best - * Practices for Amazon Web Services accounts in the Account ManagementReference - * Guide.
+ * key ID, review and follow the guidance in Best Practices for Amazon Web Services + * accounts in the Account ManagementReference Guide. */ AWSAccessKeyId?: string; /** * @public - *The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.
+ *The bucket in which to store the AMI. You can specify a bucket that you already own or a + * new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone + * else, Amazon EC2 returns an error.
*/ Bucket?: string; @@ -6891,7 +6893,8 @@ export interface S3Storage { /** * @public - *An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
+ *An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your + * behalf.
*/ UploadPolicy?: Uint8Array; @@ -6922,15 +6925,15 @@ export interface BundleInstanceRequest { /** * @public *The ID of the instance to bundle.
- *Type: String
*Default: None
- *Required: Yes
*/ InstanceId: string | undefined; /** * @public - *The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.
+ *The bucket in which to store the AMI. You can specify a bucket that you already own or a + * new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone + * else, Amazon EC2 returns an error.
*/ Storage: Storage | undefined; @@ -7840,9 +7843,9 @@ export interface CopyFpgaImageResult { export interface CopyImageRequest { /** * @public - *Unique, case-sensitive identifier you provide to ensure - * idempotency of the request. For more information, see Ensuring idempotency - * in the Amazon EC2 API Reference.
+ *Unique, case-sensitive identifier you provide to ensure idempotency of the request. For + * more information, see Ensuring idempotency + * in the Amazon EC2 API Reference.
*/ ClientToken?: string; @@ -7864,9 +7867,9 @@ export interface CopyImageRequest { /** * @public - *The identifier of the symmetric Key Management Service (KMS) KMS key to use when creating
- * encrypted volumes. If this parameter is not specified, your Amazon Web Services managed KMS key for Amazon EBS is used.
- * If you specify a KMS key, you must also set the encrypted state to true
.
The identifier of the symmetric Key Management Service (KMS) KMS key to use when creating encrypted volumes.
+ * If this parameter is not specified, your Amazon Web Services managed KMS key for Amazon EBS is used. If you
+ * specify a KMS key, you must also set the encrypted state to true
.
You can specify a KMS key using any of the following:
*Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
*Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an identifier that is not valid, - * the action can appear to complete, but eventually fails.
+ *Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an identifier + * that is not valid, the action can appear to complete, but eventually fails.
*The specified KMS key must exist in the destination Region.
*Amazon EBS does not support asymmetric KMS keys.
*/ @@ -7909,11 +7912,10 @@ export interface CopyImageRequest { /** * @public - *The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only - * specify this parameter when copying an AMI from an Amazon Web Services Region to an Outpost. - * The AMI must be in the Region of the destination Outpost. You cannot copy an - * AMI from an Outpost to a Region, from one Outpost to another, or within the same - * Outpost.
+ *The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only specify this + * parameter when copying an AMI from an Amazon Web Services Region to an Outpost. The AMI must be in the + * Region of the destination Outpost. You cannot copy an AMI from an Outpost to a Region, from + * one Outpost to another, or within the same Outpost.
*For more information, see Copy AMIs from an Amazon Web Services * Region to an Outpost in the Amazon EC2 User Guide.
*/ @@ -7943,6 +7945,25 @@ export interface CopyImageRequest { *Default: Your user-defined AMI tags are not copied.
*/ CopyImageTags?: boolean; + + /** + * @public + *The tags to apply to the new AMI and new snapshots. You can tag the AMI, the snapshots, or + * both.
+ *To tag the new AMI, the value for ResourceType
must be
+ * image
.
To tag the new snapshots, the value for ResourceType
must be
+ * snapshot
. The same tag is applied to all the new snapshots.
If you specify other values for ResourceType
, the request fails.
To tag an AMI or snapshot after it has been created, see CreateTags.
+ */ + TagSpecifications?: TagSpecification[]; } /** diff --git a/clients/client-ec2/src/models/models_1.ts b/clients/client-ec2/src/models/models_1.ts index 44dfdafa04a7..6c883663be6d 100644 --- a/clients/client-ec2/src/models/models_1.ts +++ b/clients/client-ec2/src/models/models_1.ts @@ -4447,27 +4447,29 @@ export interface CreateImageRequest { /** * @public *A name for the new image.
- *Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
+ *Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces + * ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or + * underscores(_)
*/ Name: string | undefined; /** * @public - *Indicates whether or not the instance should be automatically rebooted before creating - * the image. Specify one of the following values:
+ *Indicates whether or not the instance should be automatically rebooted before creating the + * image. Specify one of the following values:
*
* true
- The instance is not rebooted before creating the image. This
- * creates crash-consistent snapshots that include only the data that has been written
- * to the volumes at the time the snapshots are created. Buffered data and data in
- * memory that has not yet been written to the volumes is not included in the snapshots.
- * false
- The instance is rebooted before creating the image. This
- * ensures that all buffered data and data in memory is written to the volumes before the
- * snapshots are created.
false
- The instance is rebooted before creating the image. This ensures
+ * that all buffered data and data in memory is written to the volumes before the snapshots
+ * are created.
* Default: false
@@ -4485,8 +4487,8 @@ export interface CreateImageRequest {
* image
.
To tag the snapshots that are created of the root volume and of other Amazon EBS volumes that
- * are attached to the instance, the value for ResourceType
must be
+ *
To tag the snapshots that are created of the root volume and of other Amazon EBS volumes
+ * that are attached to the instance, the value for ResourceType
must be
* snapshot
. The same tag is applied to all of the snapshots that are
* created.
To tag the AMI, the value for ResourceType
must be image
.
To tag the AMI, the value for ResourceType
must be
+ * image
.
To
- * tag the snapshots, the value for ResourceType
must be snapshot
. The
- * same tag is applied to all of the snapshots that are created.
To tag the snapshots, the value for ResourceType
must be
+ * snapshot
. The same tag is applied to all of the snapshots that are
+ * created.
- * progress
- The level of task completion, as a percentage (for example, 20%).
progress
- The level of task completion, as a percentage (for example,
+ * 20%).
* @@ -2734,12 +2735,14 @@ export interface DescribeBundleTasksRequest { *
- * start-time
- The time the task started (for example, 2013-09-15T17:15:20.000Z).
start-time
- The time the task started (for example,
+ * 2013-09-15T17:15:20.000Z).
*
- * state
- The state of the task (pending
| waiting-for-shutdown
| bundling
|
- * storing
| cancelling
| complete
| failed
).
state
- The state of the task (pending
|
+ * waiting-for-shutdown
| bundling
| storing
|
+ * cancelling
| complete
| failed
).
* @@ -5493,14 +5496,14 @@ export type FastLaunchResourceType = (typeof FastLaunchResourceType)[keyof typeo /** * @public - *
Configuration settings for creating and managing pre-provisioned snapshots for a Windows fast launch - * enabled Windows AMI.
+ *Configuration settings for creating and managing pre-provisioned snapshots for a Windows + * fast launch enabled Windows AMI.
*/ export interface FastLaunchSnapshotConfigurationResponse { /** * @public - *The number of pre-provisioned snapshots requested to keep on hand for a Windows fast launch - * enabled AMI.
+ *The number of pre-provisioned snapshots requested to keep on hand for a Windows fast + * launch enabled AMI.
*/ TargetResourceCount?: number; } @@ -5525,8 +5528,9 @@ export type FastLaunchStateCode = (typeof FastLaunchStateCode)[keyof typeof Fast /** * @public - *Describe details about a Windows image with Windows fast launch enabled that meets the requested
- * criteria. Criteria are defined by the DescribeFastLaunchImages
action filters.
Describe details about a Windows image with Windows fast launch enabled that meets the
+ * requested criteria. Criteria are defined by the DescribeFastLaunchImages
action
+ * filters.
The resource type that Amazon EC2 uses for pre-provisioning the Windows AMI. Supported values
- * include: snapshot
.
snapshot
.
*/
ResourceType?: FastLaunchResourceType;
/**
* @public
- * A group of parameters that are used for pre-provisioning the associated - * Windows AMI using snapshots.
+ *A group of parameters that are used for pre-provisioning the associated Windows AMI using + * snapshots.
*/ SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse; /** * @public - *The launch template that the Windows fast launch enabled AMI uses when it launches - * Windows instances from pre-provisioned snapshots.
+ *The launch template that the Windows fast launch enabled AMI uses when it launches Windows + * instances from pre-provisioned snapshots.
*/ LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse; /** * @public *The maximum number of instances that Amazon EC2 can launch at the same time to create - * pre-provisioned snapshots for Windows fast launch.
+ * pre-provisioned snapshots for Windows fast launch. */ MaxParallelLaunches?: number; @@ -5594,8 +5598,8 @@ export interface DescribeFastLaunchImagesSuccessItem { export interface DescribeFastLaunchImagesResult { /** * @public - *A collection of details about the fast-launch enabled Windows images that meet - * the requested criteria.
+ *A collection of details about the fast-launch enabled Windows images that meet the + * requested criteria.
*/ FastLaunchImages?: DescribeFastLaunchImagesSuccessItem[]; @@ -8318,9 +8322,9 @@ export interface DescribeImageAttributeRequest { * @public *The AMI attribute.
*
- * Note: The blockDeviceMapping
attribute is deprecated.
- * Using this attribute returns the Client.AuthFailure
error. To get information about
- * the block device mappings for an AMI, use the DescribeImages action.
blockDeviceMapping
attribute is
+ * deprecated. Using this attribute returns the Client.AuthFailure
error. To get
+ * information about the block device mappings for an AMI, use the DescribeImages action.
*/
Attribute: ImageAttributeName | undefined;
@@ -8419,7 +8423,8 @@ export interface ImageAttribute {
/**
* @public
- * Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
+ *Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is + * enabled.
*/ SriovNetSupport?: AttributeValue; @@ -8439,9 +8444,9 @@ export interface ImageAttribute { * @public *Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, * use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the - * python-uefivars tool on + * python-uefivars tool on * GitHub. For more information, see UEFI Secure Boot in the - * Amazon EC2 User Guide.
+ * Amazon EC2 User Guide. */ UefiData?: AttributeValue; @@ -8463,8 +8468,7 @@ export interface ImageAttribute { * from this AMI will haveHttpTokens
automatically set to required
so
* that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.
* In addition, HttpPutResponseHopLimit
is set to 2
. For more
- * information, see Configure
- * the AMI in the Amazon EC2 User Guide.
+ * information, see Configure the AMI in the Amazon EC2 User Guide.
*/
ImdsSupport?: AttributeValue;
}
@@ -8475,14 +8479,13 @@ export interface ImageAttribute {
export interface DescribeImagesRequest {
/**
* @public
- * Scopes the images by users with explicit launch permissions.
- * Specify an Amazon Web Services account ID, self
(the sender of the request),
- * or all
(public AMIs).
Scopes the images by users with explicit launch permissions. Specify an Amazon Web Services account ID, self
(the sender of the request), or all
+ * (public AMIs).
If you specify an Amazon Web Services account ID that is not your own, only AMIs - * shared with that specific Amazon Web Services account ID are returned. However, AMIs that - * are shared with the account’s organization or organizational unit (OU) are not + *
If you specify an Amazon Web Services account ID that is not your own, only AMIs shared + * with that specific Amazon Web Services account ID are returned. However, AMIs that are + * shared with the account’s organization or organizational unit (OU) are not * returned.
*
- * architecture
- The image architecture (i386
| x86_64
|
- * arm64
| x86_64_mac
| arm64_mac
).
architecture
- The image architecture (i386
|
+ * x86_64
| arm64
| x86_64_mac
|
+ * arm64_mac
).
*
* block-device-mapping.delete-on-termination
- A Boolean value that indicates
- * whether the Amazon EBS volume is deleted on instance termination.
- * block-device-mapping.device-name
- The device name specified in the block device mapping (for
- * example, /dev/sdh
or xvdh
).
block-device-mapping.device-name
- The device name specified in the block
+ * device mapping (for example, /dev/sdh
or xvdh
).
* @@ -8523,7 +8527,8 @@ export interface DescribeImagesRequest { *
- * block-device-mapping.volume-size
- The volume size of the Amazon EBS volume, in GiB.
block-device-mapping.volume-size
- The volume size of the Amazon EBS volume, in
+ * GiB.
* @@ -8533,7 +8538,8 @@ export interface DescribeImagesRequest { *
- * block-device-mapping.encrypted
- A Boolean that indicates whether the Amazon EBS volume is encrypted.
block-device-mapping.encrypted
- A Boolean that indicates whether the Amazon EBS
+ * volume is encrypted.
* @@ -8549,8 +8555,8 @@ export interface DescribeImagesRequest { *
- * ena-support
- A Boolean that indicates whether enhanced networking
- * with ENA is enabled.
ena-support
- A Boolean that indicates whether enhanced networking with
+ * ENA is enabled.
* @@ -8584,19 +8590,22 @@ export interface DescribeImagesRequest { *
- * owner-alias
- The owner alias (amazon
| aws-marketplace
).
- * The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be
- * set using the IAM console. We recommend that you use the Owner
- * request parameter instead of this filter.
owner-alias
- The owner alias (amazon
|
+ * aws-marketplace
). The valid aliases are defined in an Amazon-maintained
+ * list. This is not the Amazon Web Services account alias that can be set using the IAM
+ * console. We recommend that you use the Owner request
+ * parameter instead of this filter.
*
- * owner-id
- The Amazon Web Services account ID of the owner. We recommend that you use the
- * Owner request parameter instead of this filter.
owner-id
- The Amazon Web Services account ID of the owner. We recommend
+ * that you use the Owner request parameter instead of this
+ * filter.
*
- * platform
- The platform. The only supported value is windows
.
platform
- The platform. The only supported value is
+ * windows
.
* @@ -8604,7 +8613,8 @@ export interface DescribeImagesRequest { *
- * product-code.type
- The type of the product code (marketplace
).
product-code.type
- The type of the product code
+ * (marketplace
).
* @@ -8612,7 +8622,8 @@ export interface DescribeImagesRequest { *
- * root-device-name
- The device name of the root device volume (for example, /dev/sda1
).
root-device-name
- The device name of the root device volume (for example,
+ * /dev/sda1
).
* @@ -8640,8 +8651,8 @@ export interface DescribeImagesRequest { *
- * sriov-net-support
- A value of simple
indicates
- * that enhanced networking with the Intel 82599 VF interface is enabled.
sriov-net-support
- A value of simple
indicates that
+ * enhanced networking with the Intel 82599 VF interface is enabled.
* @@ -8671,9 +8682,9 @@ export interface DescribeImagesRequest { /** * @public *
Scopes the results to images with the specified owners. You can specify a combination of
- * Amazon Web Services account IDs, self
, amazon
, and aws-marketplace
.
- * If you omit this parameter, the results include all images for which you have launch permissions,
- * regardless of ownership.
self
, amazon
, and
+ * aws-marketplace
. If you omit this parameter, the results include all images for
+ * which you have launch permissions, regardless of ownership.
*/
Owners?: string[];
@@ -8890,9 +8901,9 @@ export interface Image {
/**
* @public
- * Indicates whether the image has public launch permissions. The value is true
if
- * this image has public launch permissions or false
- * if it has only implicit and explicit launch permissions.
Indicates whether the image has public launch permissions. The value is true
+ * if this image has public launch permissions or false
if it has only implicit and
+ * explicit launch permissions.
The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
* usageOperation
corresponds to the lineitem/Operation column on your Amazon Web Services Cost and Usage Report and in the Amazon Web Services Price
- * List API. You can view these fields on the Instances or
- * AMIs pages in the Amazon EC2 console, or in the responses that are
- * returned by the DescribeImages
- * command in the Amazon EC2 API, or the describe-images
- * command in the CLI.
The current state of the AMI. If the state is available
, the image is successfully registered and can be used to launch an instance.
The current state of the AMI. If the state is available
, the image is
+ * successfully registered and can be used to launch an instance.
The Amazon Web Services account alias (for example, amazon
, self
) or
- * the Amazon Web Services account ID of the AMI owner.
The Amazon Web Services account alias (for example, amazon
, self
)
+ * or the Amazon Web Services account ID of the AMI owner.
The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.
+ *The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance + * store volume.
*/ RootDeviceType?: DeviceType; /** * @public - *Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
+ *Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is + * enabled.
*/ SriovNetSupport?: string; @@ -9035,18 +9048,16 @@ export interface Image { /** * @public - *If the image is configured for NitroTPM support, the value is v2.0
.
- * For more information, see NitroTPM in the
- * Amazon EC2 User Guide.
If the image is configured for NitroTPM support, the value is v2.0
. For more
+ * information, see NitroTPM in the Amazon EC2 User Guide.
The date and time to deprecate the AMI, in UTC, in the following format: - * YYYY-MM-DDTHH:MM:SSZ. - * If you specified a value for seconds, Amazon EC2 rounds the seconds to the - * nearest minute.
+ * YYYY-MM-DDTHH:MM:SSZ. + * If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. */ DeprecationTime?: string; @@ -9056,8 +9067,7 @@ export interface Image { * from this AMI will haveHttpTokens
automatically set to required
so
* that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.
* In addition, HttpPutResponseHopLimit
is set to 2
. For more
- * information, see Configure
- * the AMI in the Amazon EC2 User Guide.
+ * information, see Configure the AMI in the Amazon EC2 User Guide.
*/
ImdsSupport?: ImdsSupportValues;
diff --git a/clients/client-ec2/src/models/models_4.ts b/clients/client-ec2/src/models/models_4.ts
index 5040cb49e8a3..99848a816017 100644
--- a/clients/client-ec2/src/models/models_4.ts
+++ b/clients/client-ec2/src/models/models_4.ts
@@ -12682,7 +12682,8 @@ export interface DescribeStaleSecurityGroupsResult {
export interface DescribeStoreImageTasksRequest {
/**
* @public
- * The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.
+ *The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a + * request.
*/ ImageIds?: string[]; diff --git a/clients/client-ec2/src/models/models_5.ts b/clients/client-ec2/src/models/models_5.ts index 715f92e42137..63979cdfcc6d 100644 --- a/clients/client-ec2/src/models/models_5.ts +++ b/clients/client-ec2/src/models/models_5.ts @@ -4249,8 +4249,9 @@ export interface DisableFastLaunchRequest { /** * @public - *Forces the image settings to turn off Windows fast launch for your Windows AMI. This parameter overrides - * any errors that are encountered while cleaning up resources in your account.
+ *Forces the image settings to turn off Windows fast launch for your Windows AMI. This + * parameter overrides any errors that are encountered while cleaning up resources in your + * account.
*/ Force?: boolean; @@ -4275,28 +4276,29 @@ export interface DisableFastLaunchResult { /** * @public - *The pre-provisioning resource type that must be cleaned after turning off Windows fast launch
- * for the Windows AMI. Supported values include: snapshot
.
The pre-provisioning resource type that must be cleaned after turning off Windows fast
+ * launch for the Windows AMI. Supported values include: snapshot
.
Parameters that were used for Windows fast launch for the Windows AMI before - * Windows fast launch was disabled. This informs the clean-up process.
+ *Parameters that were used for Windows fast launch for the Windows AMI before Windows fast + * launch was disabled. This informs the clean-up process.
*/ SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse; /** * @public - *The launch template that was used to launch Windows instances from pre-provisioned snapshots.
+ *The launch template that was used to launch Windows instances from pre-provisioned + * snapshots.
*/ LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse; /** * @public - *The maximum number of instances that Amazon EC2 can launch at the same time to - * create pre-provisioned snapshots for Windows fast launch.
+ *The maximum number of instances that Amazon EC2 can launch at the same time to create + * pre-provisioned snapshots for Windows fast launch.
*/ MaxParallelLaunches?: number; @@ -5528,39 +5530,42 @@ export interface EnableEbsEncryptionByDefaultResult { *Request to create a launch template for a Windows fast launch enabled AMI.
*Note - You can specify either the LaunchTemplateName
or the
- * LaunchTemplateId
, but not both.
LaunchTemplateId
, but not both.
* Specify the ID of the launch template that the AMI should use for Windows fast launch.
+ *Specify the ID of the launch template that the AMI should use for Windows fast + * launch.
*/ LaunchTemplateId?: string; /** * @public - *Specify the name of the launch template that the AMI should use for Windows fast launch.
+ *Specify the name of the launch template that the AMI should use for Windows fast + * launch.
*/ LaunchTemplateName?: string; /** * @public - *Specify the version of the launch template that the AMI should use for Windows fast launch.
+ *Specify the version of the launch template that the AMI should use for Windows fast + * launch.
*/ Version: string | undefined; } /** * @public - *Configuration settings for creating and managing pre-provisioned snapshots for a Windows fast launch - * enabled AMI.
+ *Configuration settings for creating and managing pre-provisioned snapshots for a Windows + * fast launch enabled AMI.
*/ export interface FastLaunchSnapshotConfigurationRequest { /** * @public - *The number of pre-provisioned snapshots to keep on hand for a Windows fast launch - * enabled AMI.
+ *The number of pre-provisioned snapshots to keep on hand for a Windows fast launch enabled + * AMI.
*/ TargetResourceCount?: number; } @@ -5578,31 +5583,31 @@ export interface EnableFastLaunchRequest { /** * @public *The type of resource to use for pre-provisioning the AMI for Windows fast launch.
- * Supported values include: snapshot
, which is the default value.
snapshot
, which is the default value.
*/
ResourceType?: string;
/**
* @public
* Configuration settings for creating and managing the snapshots that are used for
- * pre-provisioning the AMI for Windows fast launch. The associated ResourceType
- * must be snapshot
.
ResourceType
+ * must be snapshot
.
*/
SnapshotConfiguration?: FastLaunchSnapshotConfigurationRequest;
/**
* @public
* The launch template to use when launching Windows instances from pre-provisioned - * snapshots. Launch template parameters can include either the name or ID of the launch - * template, but not both.
+ * snapshots. Launch template parameters can include either the name or ID of the launch + * template, but not both. */ LaunchTemplate?: FastLaunchLaunchTemplateSpecificationRequest; /** * @public *The maximum number of instances that Amazon EC2 can launch at the same time to create
- * pre-provisioned snapshots for Windows fast launch. Value must be
- * 6
or greater.
6
or
+ * greater.
*/
MaxParallelLaunches?: number;
@@ -5627,28 +5632,30 @@ export interface EnableFastLaunchResult {
/**
* @public
- * The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
+ *The type of resource that was defined for pre-provisioning the AMI for Windows fast + * launch.
*/ ResourceType?: FastLaunchResourceType; /** * @public *Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster
- * launches from the Windows AMI. This property is returned when the associated
- * resourceType
is snapshot
.
resourceType
is snapshot
.
*/
SnapshotConfiguration?: FastLaunchSnapshotConfigurationResponse;
/**
* @public
- * The launch template that is used when launching Windows instances from pre-provisioned snapshots.
+ *The launch template that is used when launching Windows instances from pre-provisioned + * snapshots.
*/ LaunchTemplate?: FastLaunchLaunchTemplateSpecificationResponse; /** * @public - *The maximum number of instances that Amazon EC2 can launch at the same time to - * create pre-provisioned snapshots for Windows fast launch.
+ *The maximum number of instances that Amazon EC2 can launch at the same time to create + * pre-provisioned snapshots for Windows fast launch.
*/ MaxParallelLaunches?: number; @@ -5949,10 +5956,10 @@ export interface EnableImageDeprecationRequest { * @public *The date and time to deprecate the AMI, in UTC, in the following format: * YYYY-MM-DDTHH:MM:SSZ. - * If you specify a value for seconds, Amazon EC2 rounds the seconds to the - * nearest minute.
+ * If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. *You can’t specify a date in the past. The upper limit for DeprecateAt
is 10
- * years from now, except for public AMIs, where the upper limit is 2 years from the creation date.
The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that - * are in the Recycle Bin. You can specify up to 20 IDs in a single request.
+ *The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the + * Recycle Bin. You can specify up to 20 IDs in a single request.
*/ ImageIds?: string[]; @@ -4287,13 +4287,15 @@ export interface ModifyIdFormatRequest { export interface LaunchPermissionModifications { /** * @public - *The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
+ *The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of + * launch permissions for the AMI.
*/ Add?: LaunchPermission[]; /** * @public - *The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
+ *The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of + * launch permissions for the AMI.
*/ Remove?: LaunchPermission[]; } @@ -4306,7 +4308,8 @@ export interface ModifyImageAttributeRequest { /** * @public *The name of the attribute to modify.
- *Valid values: description
| imdsSupport
| launchPermission
+ *
Valid values: description
| imdsSupport
|
+ * launchPermission
*
The operation type.
- * This parameter can be used only when the Attribute
parameter is launchPermission
.
The operation type. This parameter can be used only when the Attribute
+ * parameter is launchPermission
.
The user groups.
- * This parameter can be used only when the Attribute
parameter is launchPermission
.
The user groups. This parameter can be used only when the Attribute
parameter
+ * is launchPermission
.
The Amazon Web Services account IDs.
- * This parameter can be used only when the Attribute
parameter is launchPermission
.
The Amazon Web Services account IDs. This parameter can be used only when the
+ * Attribute
parameter is launchPermission
.
The value of the attribute being modified.
- * This parameter can be used only when the Attribute
parameter is description
or imdsSupport
.
The value of the attribute being modified. This parameter can be used only when the
+ * Attribute
parameter is description
or
+ * imdsSupport
.
The Amazon Resource Name (ARN) of an organization. This parameter can be used only when the Attribute
parameter is launchPermission
.
The Amazon Resource Name (ARN) of an organization. This parameter can be used only when
+ * the Attribute
parameter is launchPermission
.
The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the Attribute
parameter is launchPermission
.
The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used
+ * only when the Attribute
parameter is launchPermission
.
Set to v2.0
to indicate that IMDSv2 is specified in the AMI. Instances
* launched from this AMI will have HttpTokens
automatically set to
- * required
so that, by default, the instance requires that IMDSv2 is used when
+ * required
so that, by default, the instance requires that IMDSv2 is used when
* requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to
- * 2
. For more information, see Configure
- * the AMI in the Amazon EC2 User Guide.
2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.
* Do not use this parameter unless your AMI software supports IMDSv2. After you set the value to v2.0
,
- * you can't undo it. The only way to “reset” your AMI is to create a new AMI from the underlying snapshot.
Do not use this parameter unless your AMI software supports IMDSv2. After you set the
+ * value to v2.0
, you can't undo it. The only way to “reset” your AMI is to create
+ * a new AMI from the underlying snapshot.
The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the
- * aws-exec-read
canned access control list (ACL) to ensure that it can be accessed
- * by Amazon EC2. For more information, see Canned ACLs in the
- * Amazon S3 Service Developer Guide.
aws-exec-read
canned access control list (ACL) to ensure that it can be
+ * accessed by Amazon EC2. For more information, see Canned ACLs in the
+ * Amazon S3 Service Developer Guide.
*/
ImageLocation?: string;
/**
* @public
* The architecture of the AMI.
- *Default: For Amazon EBS-backed AMIs, i386
.
- * For instance store-backed AMIs, the architecture specified in the manifest file.
Default: For Amazon EBS-backed AMIs, i386
. For instance store-backed AMIs, the
+ * architecture specified in the manifest file.
The block device mapping entries.
- *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.
- *If you create an AMI on an Outpost, then all backing snapshots must be on the same
- * Outpost or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can
- * be used to launch instances on the same Outpost only. For more information, Amazon EBS local
+ * 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. If you create an AMI on an Outpost, then all backing snapshots must be on the same Outpost
+ * or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can be used
+ * to launch instances on the same Outpost only. For more information, Amazon EBS local
* snapshots on Outposts in the Amazon EC2 User Guide. Set to This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable. Set to This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make
+ * instances launched from the AMI unreachable. A name for your AMI. Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_) Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces
+ * ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or
+ * underscores(_) The billing product codes. Your account must be authorized to specify billing product codes. The billing product codes. Your account must be authorized to specify billing product
+ * codes. If your account is not authorized to specify billing product codes, you can publish AMIs
* that include billable software and list them on the Amazon Web Services Marketplace. You must first register as a seller
* on the Amazon Web Services Marketplace. For more information, see Getting started as a
- * seller and AMI-based
- * products in the Amazon Web Services Marketplace Seller Guide.true
to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.true
to enable enhanced networking with ENA for the AMI and any
+ * instances that you launch from the AMI.
Set to simple
to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI.
Set to simple
to enable enhanced networking with the Intel 82599 Virtual
+ * Function interface for the AMI and any instances that you launch from the AMI.
There is no way to disable sriovNetSupport
at this time.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
+ *This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make + * instances launched from the AMI unreachable.
*/ SriovNetSupport?: string; @@ -9241,9 +9255,11 @@ export interface RegisterImageRequest { /** * @public - *The boot mode of the AMI. A value of uefi-preferred
indicates that the AMI supports both UEFI and Legacy BIOS.
The boot mode of the AMI. A value of uefi-preferred
indicates that the AMI
+ * supports both UEFI and Legacy BIOS.
The operating system contained in the AMI must be configured to support the specified boot mode.
+ *The operating system contained in the AMI must be configured to support the specified + * boot mode.
*For more information, see Boot modes in the * Amazon EC2 User Guide.
@@ -9273,13 +9289,22 @@ export interface RegisterImageRequest { * launched from this AMI will haveHttpTokens
automatically set to
* required
so that, by default, the instance requires that IMDSv2 is used when
* requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to
- * 2
. For more information, see Configure
- * the AMI in the Amazon EC2 User Guide.
+ * 2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.
* If you set the value to v2.0
, make sure that your AMI software can support IMDSv2.
If you set the value to v2.0
, make sure that your AMI software can support
+ * IMDSv2.
The tags to apply to the AMI.
+ *To tag the AMI, the value for ResourceType
must be image
. If you
+ * specify another value for ResourceType
, the request fails.
To tag an AMI after it has been registered, see CreateTags.
+ */ + TagSpecifications?: TagSpecification[]; } /** diff --git a/clients/client-ec2/src/models/models_7.ts b/clients/client-ec2/src/models/models_7.ts index cef8bcfe501d..88027574f8ad 100644 --- a/clients/client-ec2/src/models/models_7.ts +++ b/clients/client-ec2/src/models/models_7.ts @@ -1280,7 +1280,8 @@ export type ResetImageAttributeName = (typeof ResetImageAttributeName)[keyof typ export interface ResetImageAttributeRequest { /** * @public - *The attribute to reset (currently you can only reset the launch permission attribute).
+ *The attribute to reset (currently you can only reset the launch permission + * attribute).
*/ Attribute: ResetImageAttributeName | undefined; diff --git a/clients/client-ec2/src/protocols/Aws_ec2.ts b/clients/client-ec2/src/protocols/Aws_ec2.ts index 919645000a61..197d115195b3 100644 --- a/clients/client-ec2/src/protocols/Aws_ec2.ts +++ b/clients/client-ec2/src/protocols/Aws_ec2.ts @@ -29054,6 +29054,16 @@ const se_CopyImageRequest = (input: CopyImageRequest, context: __SerdeContext): if (input[_CITo] != null) { entries[_CITo] = input[_CITo]; } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (input[_TS]?.length === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } return entries; }; @@ -50199,6 +50209,16 @@ const se_RegisterImageRequest = (input: RegisterImageRequest, context: __SerdeCo if (input[_ISm] != null) { entries[_ISm] = input[_ISm]; } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (input[_TS]?.length === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } return entries; }; diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index a7218a72dbf9..0cc5ed103143 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -9213,7 +9213,7 @@ "target": "com.amazonaws.ec2#BundleInstanceResult" }, "traits": { - "smithy.api#documentation": "Bundles an Amazon instance store-backed Windows instance.
\nDuring bundling, only the root device volume (C:\\) is bundled. Data on other instance store volumes is not preserved.
\nThis action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.
\nBundles an Amazon instance store-backed Windows instance.
\nDuring bundling, only the root device volume (C:\\) is bundled. Data on other instance\n store volumes is not preserved.
\nThis action is not applicable for Linux/Unix instances or Windows instances that are\n backed by Amazon EBS.
\nThe ID of the instance to bundle.
\nType: String
\nDefault: None
\nRequired: Yes
", + "smithy.api#documentation": "The ID of the instance to bundle.
\nDefault: None
", "smithy.api#required": {} } }, @@ -9231,7 +9231,7 @@ "target": "com.amazonaws.ec2#Storage", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.
", + "smithy.api#documentation": "The bucket in which to store the AMI. You can specify a bucket that you already own or a\n new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone\n else, Amazon EC2 returns an error.
", "smithy.api#required": {} } }, @@ -9918,7 +9918,7 @@ "target": "com.amazonaws.ec2#CancelImageLaunchPermissionResult" }, "traits": { - "smithy.api#documentation": "Removes your Amazon Web Services account from the launch permissions for the specified AMI. For more\n information, see \n Cancel having an AMI shared with your Amazon Web Services account in the \n Amazon EC2 User Guide.
" + "smithy.api#documentation": "Removes your Amazon Web Services account from the launch permissions for the specified AMI.\n For more information, see Cancel having an AMI shared with\n your Amazon Web Services account in the Amazon EC2 User Guide.
" } }, "com.amazonaws.ec2#CancelImageLaunchPermissionRequest": { @@ -13473,7 +13473,7 @@ "target": "com.amazonaws.ec2#CopyImageResult" }, "traits": { - "smithy.api#documentation": "Initiates the copy of an AMI. You can copy an AMI from one Region to another, or from a\n Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost\n to another, or within the same Outpost. To copy an AMI to another partition, see CreateStoreImageTask.
\nTo copy an AMI from one Region to another, specify the source Region using the \n \t\tSourceRegion parameter, and specify the \n \t\tdestination Region using its endpoint. Copies of encrypted backing snapshots for\n \t\tthe AMI are encrypted. Copies of unencrypted backing snapshots remain unencrypted, \n \t\tunless you set Encrypted
during the copy operation. You cannot \n \t\tcreate an unencrypted copy of an encrypted backing snapshot.
To copy an AMI from a Region to an Outpost, specify the source Region using the \n \t\tSourceRegion parameter, and specify the \n \t\tARN of the destination Outpost using DestinationOutpostArn. \n \t\tBacking snapshots copied to an Outpost are encrypted by default using the default\n \t\tencryption key for the Region, or a different key that you specify in the request using \n \t\tKmsKeyId. Outposts do not support unencrypted \n \t\tsnapshots. For more information, \n \t\t\tAmazon EBS local snapshots on Outposts in the Amazon EC2 User Guide.
\nFor more information about the prerequisites and limits when copying an AMI, see Copy an AMI in the\n Amazon EC2 User Guide.
", + "smithy.api#documentation": "Initiates the copy of an AMI. You can copy an AMI from one Region to another, or from a\n Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost to\n another, or within the same Outpost. To copy an AMI to another partition, see CreateStoreImageTask.
\nTo copy an AMI from one Region to another, specify the source Region using the SourceRegion parameter, and specify the destination Region using its\n endpoint. Copies of encrypted backing snapshots for the AMI are encrypted. Copies of\n unencrypted backing snapshots remain unencrypted, unless you set Encrypted
during\n the copy operation. You cannot create an unencrypted copy of an encrypted backing\n snapshot.
To copy an AMI from a Region to an Outpost, specify the source Region using the SourceRegion parameter, and specify the ARN of the destination\n Outpost using DestinationOutpostArn. Backing snapshots copied\n to an Outpost are encrypted by default using the default encryption key for the Region, or a\n different key that you specify in the request using KmsKeyId.\n Outposts do not support unencrypted snapshots. For more information, Amazon EBS local\n snapshots on Outposts in the Amazon EC2 User Guide.
\nFor more information about the prerequisites and limits when copying an AMI, see Copy an AMI in the\n Amazon EC2 User Guide.
", "smithy.api#examples": [ { "title": "To copy an AMI to another region", @@ -13497,7 +13497,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier you provide to ensure\n idempotency of the request. For more information, see Ensuring idempotency \n in the Amazon EC2 API Reference.
" + "smithy.api#documentation": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For\n more information, see Ensuring idempotency\n in the Amazon EC2 API Reference.
" } }, "Description": { @@ -13518,7 +13518,7 @@ "target": "com.amazonaws.ec2#KmsKeyId", "traits": { "aws.protocols#ec2QueryName": "KmsKeyId", - "smithy.api#documentation": "The identifier of the symmetric Key Management Service (KMS) KMS key to use when creating\n \t\tencrypted volumes. If this parameter is not specified, your Amazon Web Services managed KMS key for Amazon EBS is used. \n \t\tIf you specify a KMS key, you must also set the encrypted state to true
.
You can specify a KMS key using any of the following:
\nKey ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
\nKey alias. For example, alias/ExampleAlias.
\nKey ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
\nAlias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
\nAmazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an identifier that is not valid,\n the action can appear to complete, but eventually fails.
\nThe specified KMS key must exist in the destination Region.
\nAmazon EBS does not support asymmetric KMS keys.
", + "smithy.api#documentation": "The identifier of the symmetric Key Management Service (KMS) KMS key to use when creating encrypted volumes.\n If this parameter is not specified, your Amazon Web Services managed KMS key for Amazon EBS is used. If you\n specify a KMS key, you must also set the encrypted state to true
.
You can specify a KMS key using any of the following:
\nKey ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
\nKey alias. For example, alias/ExampleAlias.
\nKey ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
\nAlias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
\nAmazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an identifier\n that is not valid, the action can appear to complete, but eventually fails.
\nThe specified KMS key must exist in the destination Region.
\nAmazon EBS does not support asymmetric KMS keys.
", "smithy.api#xmlName": "kmsKeyId" } }, @@ -13549,7 +13549,7 @@ "DestinationOutpostArn": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only \n \t\tspecify this parameter when copying an AMI from an Amazon Web Services Region to an Outpost. \n \t\tThe AMI must be in the Region of the destination Outpost. You cannot copy an \n \t\tAMI from an Outpost to a Region, from one Outpost to another, or within the same \n \t\tOutpost.
\nFor more information, see Copy AMIs from an Amazon Web Services\n Region to an Outpost in the Amazon EC2 User Guide.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only specify this\n parameter when copying an AMI from an Amazon Web Services Region to an Outpost. The AMI must be in the\n Region of the destination Outpost. You cannot copy an AMI from an Outpost to a Region, from\n one Outpost to another, or within the same Outpost.
\nFor more information, see Copy AMIs from an Amazon Web Services\n Region to an Outpost in the Amazon EC2 User Guide.
" } }, "DryRun": { @@ -13563,7 +13563,14 @@ "CopyImageTags": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#documentation": "Indicates whether to include your user-defined AMI tags when copying the AMI.
\nThe following tags will not be copied:
\nSystem tags (prefixed with aws:
)
For public and shared AMIs, user-defined tags that are attached by other Amazon Web Services \n accounts
\nDefault: Your user-defined AMI tags are not copied.
" + "smithy.api#documentation": "Indicates whether to include your user-defined AMI tags when copying the AMI.
\nThe following tags will not be copied:
\nSystem tags (prefixed with aws:
)
For public and shared AMIs, user-defined tags that are attached by other Amazon Web Services\n accounts
\nDefault: Your user-defined AMI tags are not copied.
" + } + }, + "TagSpecifications": { + "target": "com.amazonaws.ec2#TagSpecificationList", + "traits": { + "smithy.api#documentation": "The tags to apply to the new AMI and new snapshots. You can tag the AMI, the snapshots, or\n both.
\nTo tag the new AMI, the value for ResourceType
must be\n image
.
To tag the new snapshots, the value for ResourceType
must be\n snapshot
. The same tag is applied to all the new snapshots.
If you specify other values for ResourceType
, the request fails.
To tag an AMI or snapshot after it has been created, see CreateTags.
", + "smithy.api#xmlName": "TagSpecification" } } }, @@ -15453,7 +15460,7 @@ "target": "com.amazonaws.ec2#CreateImageResult" }, "traits": { - "smithy.api#documentation": "Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance \n \tthat is either running or stopped.
\nIf you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the \n \tnew AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, \n \tthe instance automatically launches with those additional volumes.
\nFor more information, see Create an Amazon EBS-backed Linux\n AMI in the Amazon Elastic Compute Cloud User Guide.
" + "smithy.api#documentation": "Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or\n stopped.
\nIf you customized your instance with instance store volumes or Amazon EBS volumes in addition\n to the root device volume, the new AMI contains block device mapping information for those\n volumes. When you launch an instance from this new AMI, the instance automatically launches\n with those additional volumes.
\nFor more information, see Create an Amazon EBS-backed Linux\n AMI in the Amazon Elastic Compute Cloud User Guide.
" } }, "com.amazonaws.ec2#CreateImageRequest": { @@ -15498,7 +15505,7 @@ "traits": { "aws.protocols#ec2QueryName": "Name", "smithy.api#clientOptional": {}, - "smithy.api#documentation": "A name for the new image.
\nConstraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
", + "smithy.api#documentation": "A name for the new image.
\nConstraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces\n ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or\n underscores(_)
", "smithy.api#required": {}, "smithy.api#xmlName": "name" } @@ -15507,14 +15514,14 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "NoReboot", - "smithy.api#documentation": "Indicates whether or not the instance should be automatically rebooted before creating \n the image. Specify one of the following values:
\n\n true
- The instance is not rebooted before creating the image. This \n creates crash-consistent snapshots that include only the data that has been written \n to the volumes at the time the snapshots are created. Buffered data and data in \n memory that has not yet been written to the volumes is not included in the snapshots.
\n false
- The instance is rebooted before creating the image. This \n ensures that all buffered data and data in memory is written to the volumes before the \n snapshots are created.
Default: false
\n
Indicates whether or not the instance should be automatically rebooted before creating the\n image. Specify one of the following values:
\n\n true
- The instance is not rebooted before creating the image. This\n creates crash-consistent snapshots that include only the data that has been written to the\n volumes at the time the snapshots are created. Buffered data and data in memory that has\n not yet been written to the volumes is not included in the snapshots.
\n false
- The instance is rebooted before creating the image. This ensures\n that all buffered data and data in memory is written to the volumes before the snapshots\n are created.
Default: false
\n
The tags to apply to the AMI and snapshots on creation. You can tag the AMI, the\n snapshots, or both.
\nTo tag the AMI, the value for ResourceType
must be\n image
.
To tag the snapshots that are created of the root volume and of other Amazon EBS volumes that\n are attached to the instance, the value for ResourceType
must be\n snapshot
. The same tag is applied to all of the snapshots that are\n created.
If you specify other values for ResourceType
, the request fails.
To tag an AMI or snapshot after it has been created, see CreateTags.
", + "smithy.api#documentation": "The tags to apply to the AMI and snapshots on creation. You can tag the AMI, the\n snapshots, or both.
\nTo tag the AMI, the value for ResourceType
must be\n image
.
To tag the snapshots that are created of the root volume and of other Amazon EBS volumes\n that are attached to the instance, the value for ResourceType
must be\n snapshot
. The same tag is applied to all of the snapshots that are\n created.
If you specify other values for ResourceType
, the request fails.
To tag an AMI or snapshot after it has been created, see CreateTags.
", "smithy.api#xmlName": "TagSpecification" } } @@ -17993,7 +18000,7 @@ "target": "com.amazonaws.ec2#CreateRestoreImageTaskResult" }, "traits": { - "smithy.api#documentation": "Starts a task that restores an AMI from an Amazon S3 object that was previously created by using\n CreateStoreImageTask.
\nTo use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the\n Amazon EC2 User Guide.
\nFor more information, see Store and restore an AMI using\n \tAmazon S3 in the Amazon EC2 User Guide.
" + "smithy.api#documentation": "Starts a task that restores an AMI from an Amazon S3 object that was previously created by\n using CreateStoreImageTask.
\nTo use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the\n Amazon EC2 User Guide.
\nFor more information, see Store and restore an AMI using\n Amazon S3 in the Amazon EC2 User Guide.
" } }, "com.amazonaws.ec2#CreateRestoreImageTaskRequest": { @@ -18024,7 +18031,7 @@ "TagSpecifications": { "target": "com.amazonaws.ec2#TagSpecificationList", "traits": { - "smithy.api#documentation": "The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the\n snapshots, or both.
\nTo tag the AMI, the value for ResourceType
must be image
.
To\n tag the snapshots, the value for ResourceType
must be snapshot
. The\n same tag is applied to all of the snapshots that are created.
The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the\n snapshots, or both.
\nTo tag the AMI, the value for ResourceType
must be\n image
.
To tag the snapshots, the value for ResourceType
must be\n snapshot
. The same tag is applied to all of the snapshots that are\n created.
Stores an AMI as a single object in an Amazon S3 bucket.
\nTo use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the\n Amazon EC2 User Guide.
\nFor more information, see Store and restore an AMI using\n \tAmazon S3 in the Amazon EC2 User Guide.
" + "smithy.api#documentation": "Stores an AMI as a single object in an Amazon S3 bucket.
\nTo use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the\n Amazon EC2 User Guide.
\nFor more information, see Store and restore an AMI using\n Amazon S3 in the Amazon EC2 User Guide.
" } }, "com.amazonaws.ec2#CreateStoreImageTaskRequest": { @@ -26510,7 +26517,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deregisters the specified AMI. After you deregister an AMI, it can't be used to \n launch new instances.
\nIf you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained\n in the Recycle Bin for the specified retention period. For more information, see Recycle Bin in\n the Amazon EC2 User Guide.
\nWhen you deregister an AMI, it doesn't affect any instances that you've already \n launched from the AMI. You'll continue to incur usage costs for those instances until \n you terminate them.
\nWhen you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was\n\t\t\tcreated for the root volume of the instance during the AMI creation process. When you\n\t\t\tderegister an instance store-backed AMI, it doesn't affect the files that you uploaded\n\t\t\tto Amazon S3 when you created the AMI.
" + "smithy.api#documentation": "Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new\n instances.
\nIf you deregister an AMI that matches a Recycle Bin retention rule, the AMI is retained in\n the Recycle Bin for the specified retention period. For more information, see Recycle Bin in\n the Amazon EC2 User Guide.
\nWhen you deregister an AMI, it doesn't affect any instances that you've already launched\n from the AMI. You'll continue to incur usage costs for those instances until you terminate\n them.
\nWhen you deregister an Amazon EBS-backed AMI, it doesn't affect the snapshot that was created\n for the root volume of the instance during the AMI creation process. When you deregister an\n instance store-backed AMI, it doesn't affect the files that you uploaded to Amazon S3 when you\n created the AMI.
" } }, "com.amazonaws.ec2#DeregisterImageRequest": { @@ -27358,7 +27365,7 @@ "target": "com.amazonaws.ec2#DescribeBundleTasksResult" }, "traits": { - "smithy.api#documentation": "Describes the specified bundle tasks or all of your bundle tasks.
\nCompleted bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage
with the Amazon S3 bucket name and image manifest name you provided to the bundle task.
Describes the specified bundle tasks or all of your bundle tasks.
\nCompleted bundle tasks are listed for only a limited time. If your bundle task is no\n longer in the list, you can still register an AMI from it. Just use\n RegisterImage
with the Amazon S3 bucket name and image manifest name you provided\n to the bundle task.
The order of the elements in the response, including those within nested structures,\n might vary. Applications should not assume the elements appear in a particular order.
\nThe filters.
\n\n bundle-id
- The ID of the bundle task.
\n error-code
- If the task failed, the error code returned.
\n error-message
- If the task failed, the error message returned.
\n instance-id
- The ID of the instance.
\n progress
- The level of task completion, as a percentage (for example, 20%).
\n s3-bucket
- The Amazon S3 bucket to store the AMI.
\n s3-prefix
- The beginning of the AMI name.
\n start-time
- The time the task started (for example, 2013-09-15T17:15:20.000Z).
\n state
- The state of the task (pending
| waiting-for-shutdown
| bundling
|\n storing
| cancelling
| complete
| failed
).
\n update-time
- The time of the most recent update for the task.
The filters.
\n\n bundle-id
- The ID of the bundle task.
\n error-code
- If the task failed, the error code returned.
\n error-message
- If the task failed, the error message returned.
\n instance-id
- The ID of the instance.
\n progress
- The level of task completion, as a percentage (for example,\n 20%).
\n s3-bucket
- The Amazon S3 bucket to store the AMI.
\n s3-prefix
- The beginning of the AMI name.
\n start-time
- The time the task started (for example,\n 2013-09-15T17:15:20.000Z).
\n state
- The state of the task (pending
|\n waiting-for-shutdown
| bundling
| storing
|\n cancelling
| complete
| failed
).
\n update-time
- The time of the most recent update for the task.
A collection of details about the fast-launch enabled Windows images that meet \n\t\t\tthe requested criteria.
", + "smithy.api#documentation": "A collection of details about the fast-launch enabled Windows images that meet the\n requested criteria.
", "smithy.api#xmlName": "fastLaunchImageSet" } }, @@ -29365,7 +29372,7 @@ "target": "com.amazonaws.ec2#FastLaunchResourceType", "traits": { "aws.protocols#ec2QueryName": "ResourceType", - "smithy.api#documentation": "The resource type that Amazon EC2 uses for pre-provisioning the Windows AMI. Supported values \n\t\t\tinclude: snapshot
.
The resource type that Amazon EC2 uses for pre-provisioning the Windows AMI. Supported values\n include: snapshot
.
A group of parameters that are used for pre-provisioning the associated \n\t\t\tWindows AMI using snapshots.
", + "smithy.api#documentation": "A group of parameters that are used for pre-provisioning the associated Windows AMI using\n snapshots.
", "smithy.api#xmlName": "snapshotConfiguration" } }, @@ -29381,7 +29388,7 @@ "target": "com.amazonaws.ec2#FastLaunchLaunchTemplateSpecificationResponse", "traits": { "aws.protocols#ec2QueryName": "LaunchTemplate", - "smithy.api#documentation": "The launch template that the Windows fast launch enabled AMI uses when it launches \n\t\t\tWindows instances from pre-provisioned snapshots.
", + "smithy.api#documentation": "The launch template that the Windows fast launch enabled AMI uses when it launches Windows\n instances from pre-provisioned snapshots.
", "smithy.api#xmlName": "launchTemplate" } }, @@ -29389,7 +29396,7 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxParallelLaunches", - "smithy.api#documentation": "The maximum number of instances that Amazon EC2 can launch at the same time to create \n\t\t\tpre-provisioned snapshots for Windows fast launch.
", + "smithy.api#documentation": "The maximum number of instances that Amazon EC2 can launch at the same time to create\n pre-provisioned snapshots for Windows fast launch.
", "smithy.api#xmlName": "maxParallelLaunches" } }, @@ -29427,7 +29434,7 @@ } }, "traits": { - "smithy.api#documentation": "Describe details about a Windows image with Windows fast launch enabled that meets the requested \n\t\t\tcriteria. Criteria are defined by the DescribeFastLaunchImages
action filters.
Describe details about a Windows image with Windows fast launch enabled that meets the\n requested criteria. Criteria are defined by the DescribeFastLaunchImages
action\n filters.
Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.
", + "smithy.api#documentation": "Describes the specified attribute of the specified AMI. You can specify only one attribute\n at a time.
\nThe order of the elements in the response, including those within nested structures,\n might vary. Applications should not assume the elements appear in a particular order.
\nThe AMI attribute.
\n\n Note: The blockDeviceMapping
attribute is deprecated. \n \t Using this attribute returns the Client.AuthFailure
error. To get information about \n \t the block device mappings for an AMI, use the DescribeImages action.
The AMI attribute.
\n\n Note: The blockDeviceMapping
attribute is\n deprecated. Using this attribute returns the Client.AuthFailure
error. To get\n information about the block device mappings for an AMI, use the DescribeImages action.
Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you.
\nThe images available to you include public images, private images that you own, and private images owned by other \n Amazon Web Services accounts for which you have explicit launch permissions.
\nRecently deregistered images appear in the returned results for a short interval and then\n return empty results. After all instances that reference a deregistered AMI are terminated,\n specifying the ID of the image will eventually return an error indicating that the AMI ID\n cannot be found.
", + "smithy.api#documentation": "Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the\n images available to you.
\nThe images available to you include public images, private images that you own, and\n private images owned by other Amazon Web Services accounts for which you have explicit launch\n permissions.
\nRecently deregistered images appear in the returned results for a short interval and then\n return empty results. After all instances that reference a deregistered AMI are terminated,\n specifying the ID of the image will eventually return an error indicating that the AMI ID\n cannot be found.
\nThe order of the elements in the response, including those within nested structures,\n might vary. Applications should not assume the elements appear in a particular order.
\nScopes the images by users with explicit launch permissions. \n Specify an Amazon Web Services account ID, self
(the sender of the request),\n\t\t\t\tor all
(public AMIs).
If you specify an Amazon Web Services account ID that is not your own, only AMIs\n shared with that specific Amazon Web Services account ID are returned. However, AMIs that\n are shared with the account’s organization or organizational unit (OU) are not\n returned.
\nIf you specify self
or your own Amazon Web Services account ID, AMIs\n shared with your account are returned. In addition, AMIs that are shared with the\n organization or OU of which you are member are also returned.
If you specify all
, all public AMIs are returned.
Scopes the images by users with explicit launch permissions. Specify an Amazon Web Services account ID, self
(the sender of the request), or all
\n (public AMIs).
If you specify an Amazon Web Services account ID that is not your own, only AMIs shared\n with that specific Amazon Web Services account ID are returned. However, AMIs that are\n shared with the account’s organization or organizational unit (OU) are not\n returned.
\nIf you specify self
or your own Amazon Web Services account ID, AMIs\n shared with your account are returned. In addition, AMIs that are shared with the\n organization or OU of which you are member are also returned.
If you specify all
, all public AMIs are returned.
The filters.
\n\n architecture
- The image architecture (i386
| x86_64
| \n arm64
| x86_64_mac
| arm64_mac
).
\n block-device-mapping.delete-on-termination
- A Boolean value that indicates\n \twhether the Amazon EBS volume is deleted on instance termination.
\n block-device-mapping.device-name
- The device name specified in the block device mapping (for\n example, /dev/sdh
or xvdh
).
\n block-device-mapping.snapshot-id
- The ID of the snapshot used for the Amazon EBS\n volume.
\n block-device-mapping.volume-size
- The volume size of the Amazon EBS volume, in GiB.
\n block-device-mapping.volume-type
- The volume type of the Amazon EBS volume\n (io1
| io2
| gp2
| gp3
| sc1\n
| st1
| standard
).
\n block-device-mapping.encrypted
- A Boolean that indicates whether the Amazon EBS volume is encrypted.
\n creation-date
- The time when the image was created, in the ISO 8601\n format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,\n 2021-09-29T11:04:43.305Z
. You can use a wildcard (*
), for\n example, 2021-09-29T*
, which matches an entire day.
\n description
- The description of the image (provided during image\n creation).
\n ena-support
- A Boolean that indicates whether enhanced networking\n with ENA is enabled.
\n hypervisor
- The hypervisor type (ovm
|\n xen
).
\n image-id
- The ID of the image.
\n image-type
- The image type (machine
| kernel
|\n ramdisk
).
\n is-public
- A Boolean that indicates whether the image is public.
\n kernel-id
- The kernel ID.
\n manifest-location
- The location of the image manifest.
\n name
- The name of the AMI (provided during image creation).
\n owner-alias
- The owner alias (amazon
| aws-marketplace
). \n The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be \n \tset using the IAM console. We recommend that you use the Owner \n \trequest parameter instead of this filter.
\n owner-id
- The Amazon Web Services account ID of the owner. We recommend that you use the \n \t\tOwner request parameter instead of this filter.
\n platform
- The platform. The only supported value is windows
.
\n product-code
- The product code.
\n product-code.type
- The type of the product code (marketplace
).
\n ramdisk-id
- The RAM disk ID.
\n root-device-name
- The device name of the root device volume (for example, /dev/sda1
).
\n root-device-type
- The type of the root device volume (ebs
|\n instance-store
).
\n source-instance-id
- The ID of the instance that the AMI was created from\n if the AMI was created using CreateImage. This filter is applicable only if the AMI was\n created using CreateImage.
\n state
- The state of the image (available
| pending
\n | failed
).
\n state-reason-code
- The reason code for the state change.
\n state-reason-message
- The message for the state change.
\n sriov-net-support
- A value of simple
indicates\n that enhanced networking with the Intel 82599 VF interface is enabled.
\n tag
:Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
\n tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
\n virtualization-type
- The virtualization type (paravirtual
|\n hvm
).
The filters.
\n\n architecture
- The image architecture (i386
|\n x86_64
| arm64
| x86_64_mac
|\n arm64_mac
).
\n block-device-mapping.delete-on-termination
- A Boolean value that indicates\n whether the Amazon EBS volume is deleted on instance termination.
\n block-device-mapping.device-name
- The device name specified in the block\n device mapping (for example, /dev/sdh
or xvdh
).
\n block-device-mapping.snapshot-id
- The ID of the snapshot used for the Amazon EBS\n volume.
\n block-device-mapping.volume-size
- The volume size of the Amazon EBS volume, in\n GiB.
\n block-device-mapping.volume-type
- The volume type of the Amazon EBS volume\n (io1
| io2
| gp2
| gp3
| sc1\n
| st1
| standard
).
\n block-device-mapping.encrypted
- A Boolean that indicates whether the Amazon EBS\n volume is encrypted.
\n creation-date
- The time when the image was created, in the ISO 8601\n format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,\n 2021-09-29T11:04:43.305Z
. You can use a wildcard (*
), for\n example, 2021-09-29T*
, which matches an entire day.
\n description
- The description of the image (provided during image\n creation).
\n ena-support
- A Boolean that indicates whether enhanced networking with\n ENA is enabled.
\n hypervisor
- The hypervisor type (ovm
|\n xen
).
\n image-id
- The ID of the image.
\n image-type
- The image type (machine
| kernel
|\n ramdisk
).
\n is-public
- A Boolean that indicates whether the image is public.
\n kernel-id
- The kernel ID.
\n manifest-location
- The location of the image manifest.
\n name
- The name of the AMI (provided during image creation).
\n owner-alias
- The owner alias (amazon
|\n aws-marketplace
). The valid aliases are defined in an Amazon-maintained\n list. This is not the Amazon Web Services account alias that can be set using the IAM\n console. We recommend that you use the Owner request\n parameter instead of this filter.
\n owner-id
- The Amazon Web Services account ID of the owner. We recommend\n that you use the Owner request parameter instead of this\n filter.
\n platform
- The platform. The only supported value is\n windows
.
\n product-code
- The product code.
\n product-code.type
- The type of the product code\n (marketplace
).
\n ramdisk-id
- The RAM disk ID.
\n root-device-name
- The device name of the root device volume (for example,\n /dev/sda1
).
\n root-device-type
- The type of the root device volume (ebs
|\n instance-store
).
\n source-instance-id
- The ID of the instance that the AMI was created from\n if the AMI was created using CreateImage. This filter is applicable only if the AMI was\n created using CreateImage.
\n state
- The state of the image (available
| pending
\n | failed
).
\n state-reason-code
- The reason code for the state change.
\n state-reason-message
- The message for the state change.
\n sriov-net-support
- A value of simple
indicates that\n enhanced networking with the Intel 82599 VF interface is enabled.
\n tag
:Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
\n tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
\n virtualization-type
- The virtualization type (paravirtual
|\n hvm
).
Scopes the results to images with the specified owners. You can specify a combination of \n Amazon Web Services account IDs, self
, amazon
, and aws-marketplace
. \n If you omit this parameter, the results include all images for which you have launch permissions, \n regardless of ownership.
Scopes the results to images with the specified owners. You can specify a combination of\n Amazon Web Services account IDs, self
, amazon
, and\n aws-marketplace
. If you omit this parameter, the results include all images for\n which you have launch permissions, regardless of ownership.
Describes the progress of the AMI store tasks. You can describe the store tasks for\n specified AMIs. If you don't specify the AMIs, you get a paginated list of store tasks from\n the last 31 days.
\nFor each AMI task, the response indicates if the task is InProgress
,\n Completed
, or Failed
. For tasks InProgress
, the\n response shows the estimated progress as a percentage.
Tasks are listed in reverse chronological order. Currently, only tasks from the past 31\n days can be viewed.
\nTo use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the\n Amazon EC2 User Guide.
\nFor more information, see Store and restore an AMI using\n \tAmazon S3 in the Amazon EC2 User Guide.
", + "smithy.api#documentation": "Describes the progress of the AMI store tasks. You can describe the store tasks for\n specified AMIs. If you don't specify the AMIs, you get a paginated list of store tasks from\n the last 31 days.
\nFor each AMI task, the response indicates if the task is InProgress
,\n Completed
, or Failed
. For tasks InProgress
, the\n response shows the estimated progress as a percentage.
Tasks are listed in reverse chronological order. Currently, only tasks from the past 31\n days can be viewed.
\nTo use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the\n Amazon EC2 User Guide.
\nFor more information, see Store and restore an AMI using\n Amazon S3 in the Amazon EC2 User Guide.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -38133,7 +38140,7 @@ "ImageIds": { "target": "com.amazonaws.ec2#ImageIdList", "traits": { - "smithy.api#documentation": "The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.
", + "smithy.api#documentation": "The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a\n request.
", "smithy.api#xmlName": "ImageId" } }, @@ -42631,7 +42638,7 @@ "target": "com.amazonaws.ec2#DisableFastLaunchResult" }, "traits": { - "smithy.api#documentation": "Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned snapshots. \n\t\t\tAfter you disable Windows fast launch, the AMI uses the standard launch process for each \n\t\t\tnew instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable Windows fast launch again.
\nYou can only change these settings for Windows AMIs that you own or that have been shared with you.
\nDiscontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned\n snapshots. After you disable Windows fast launch, the AMI uses the standard launch process for\n each new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable\n Windows fast launch again.
\nYou can only change these settings for Windows AMIs that you own or that have been\n shared with you.
\nForces the image settings to turn off Windows fast launch for your Windows AMI. This parameter overrides \n\t\t\tany errors that are encountered while cleaning up resources in your account.
" + "smithy.api#documentation": "Forces the image settings to turn off Windows fast launch for your Windows AMI. This\n parameter overrides any errors that are encountered while cleaning up resources in your\n account.
" } }, "DryRun": { @@ -42677,7 +42684,7 @@ "target": "com.amazonaws.ec2#FastLaunchResourceType", "traits": { "aws.protocols#ec2QueryName": "ResourceType", - "smithy.api#documentation": "The pre-provisioning resource type that must be cleaned after turning off Windows fast launch \n\t\t\tfor the Windows AMI. Supported values include: snapshot
.
The pre-provisioning resource type that must be cleaned after turning off Windows fast\n launch for the Windows AMI. Supported values include: snapshot
.
Parameters that were used for Windows fast launch for the Windows AMI before \n\t\t\tWindows fast launch was disabled. This informs the clean-up process.
", + "smithy.api#documentation": "Parameters that were used for Windows fast launch for the Windows AMI before Windows fast\n launch was disabled. This informs the clean-up process.
", "smithy.api#xmlName": "snapshotConfiguration" } }, @@ -42693,7 +42700,7 @@ "target": "com.amazonaws.ec2#FastLaunchLaunchTemplateSpecificationResponse", "traits": { "aws.protocols#ec2QueryName": "LaunchTemplate", - "smithy.api#documentation": "The launch template that was used to launch Windows instances from pre-provisioned snapshots.
", + "smithy.api#documentation": "The launch template that was used to launch Windows instances from pre-provisioned\n snapshots.
", "smithy.api#xmlName": "launchTemplate" } }, @@ -42701,7 +42708,7 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxParallelLaunches", - "smithy.api#documentation": "The maximum number of instances that Amazon EC2 can launch at the same time to \n\t\t\tcreate pre-provisioned snapshots for Windows fast launch.
", + "smithy.api#documentation": "The maximum number of instances that Amazon EC2 can launch at the same time to create\n pre-provisioned snapshots for Windows fast launch.
", "smithy.api#xmlName": "maxParallelLaunches" } }, @@ -43026,7 +43033,7 @@ "target": "com.amazonaws.ec2#DisableImageBlockPublicAccessResult" }, "traits": { - "smithy.api#documentation": "Disables block public access for AMIs at the account level in the\n specified Amazon Web Services Region. This removes the block public access restriction\n from your account. With the restriction removed, you can publicly share your AMIs in the\n specified Amazon Web Services Region.
\nThe API can take up to 10 minutes to configure this setting. During this time, if you run\n GetImageBlockPublicAccessState, the response will be\n block-new-sharing
. When the API has completed the configuration, the response\n will be unblocked
.
For more information, see Block public access to your AMIs in\n the Amazon EC2 User Guide.
" + "smithy.api#documentation": "Disables block public access for AMIs at the account level in the\n specified Amazon Web Services Region. This removes the block public access restriction\n from your account. With the restriction removed, you can publicly share your AMIs in the\n specified Amazon Web Services Region.
\nThe API can take up to 10 minutes to configure this setting. During this time, if you run\n GetImageBlockPublicAccessState, the response will be\n block-new-sharing
. When the API has completed the configuration, the response\n will be unblocked
.
For more information, see Block\n public access to your AMIs in the Amazon EC2 User Guide.
" } }, "com.amazonaws.ec2#DisableImageBlockPublicAccessRequest": { @@ -45990,7 +45997,7 @@ "target": "com.amazonaws.ec2#EnableFastLaunchResult" }, "traits": { - "smithy.api#documentation": "When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, \n\t\t\tusing snapshots to launch instances up to 65% faster. To create the optimized Windows \n\t\t\timage, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. \n\t\t\tThen it creates a set of reserved snapshots that are used for subsequent launches. The \n\t\t\treserved snapshots are automatically replenished as they are used, depending on your \n\t\t\tsettings for launch frequency.
\nYou can only change these settings for Windows AMIs that you own or that have been shared with you.
\nWhen you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using\n snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2\n launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a\n set of reserved snapshots that are used for subsequent launches. The reserved snapshots are\n automatically replenished as they are used, depending on your settings for launch\n frequency.
\nYou can only change these settings for Windows AMIs that you own or that have been\n shared with you.
\nThe type of resource to use for pre-provisioning the AMI for Windows fast launch. \n\t\t\tSupported values include: snapshot
, which is the default value.
The type of resource to use for pre-provisioning the AMI for Windows fast launch.\n Supported values include: snapshot
, which is the default value.
Configuration settings for creating and managing the snapshots that are used for \n\t\t\tpre-provisioning the AMI for Windows fast launch. The associated ResourceType
\n\t\t\tmust be snapshot
.
Configuration settings for creating and managing the snapshots that are used for\n pre-provisioning the AMI for Windows fast launch. The associated ResourceType
\n must be snapshot
.
The launch template to use when launching Windows instances from pre-provisioned \n\t\t\tsnapshots. Launch template parameters can include either the name or ID of the launch \n\t\t\ttemplate, but not both.
" + "smithy.api#documentation": "The launch template to use when launching Windows instances from pre-provisioned\n snapshots. Launch template parameters can include either the name or ID of the launch\n template, but not both.
" } }, "MaxParallelLaunches": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#documentation": "The maximum number of instances that Amazon EC2 can launch at the same time to create \n\t\t\tpre-provisioned snapshots for Windows fast launch. Value must be \n\t\t\t6
or greater.
The maximum number of instances that Amazon EC2 can launch at the same time to create\n pre-provisioned snapshots for Windows fast launch. Value must be 6
or\n greater.
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
", + "smithy.api#documentation": "The type of resource that was defined for pre-provisioning the AMI for Windows fast\n launch.
", "smithy.api#xmlName": "resourceType" } }, @@ -46062,7 +46069,7 @@ "target": "com.amazonaws.ec2#FastLaunchSnapshotConfigurationResponse", "traits": { "aws.protocols#ec2QueryName": "SnapshotConfiguration", - "smithy.api#documentation": "Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster \n\t\t\tlaunches from the Windows AMI. This property is returned when the associated \n\t\t\tresourceType
is snapshot
.
Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster\n launches from the Windows AMI. This property is returned when the associated\n resourceType
is snapshot
.
The launch template that is used when launching Windows instances from pre-provisioned snapshots.
", + "smithy.api#documentation": "The launch template that is used when launching Windows instances from pre-provisioned\n snapshots.
", "smithy.api#xmlName": "launchTemplate" } }, @@ -46078,7 +46085,7 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxParallelLaunches", - "smithy.api#documentation": "The maximum number of instances that Amazon EC2 can launch at the same time to \n\t\t\tcreate pre-provisioned snapshots for Windows fast launch.
", + "smithy.api#documentation": "The maximum number of instances that Amazon EC2 can launch at the same time to create\n pre-provisioned snapshots for Windows fast launch.
", "smithy.api#xmlName": "maxParallelLaunches" } }, @@ -46453,7 +46460,7 @@ "target": "com.amazonaws.ec2#EnableImageDeprecationResult" }, "traits": { - "smithy.api#documentation": "Enables deprecation of the specified AMI at the specified date and time.
\nFor more information, see Deprecate an AMI in the Amazon EC2 User Guide.
" + "smithy.api#documentation": "Enables deprecation of the specified AMI at the specified date and time.
\nFor more information, see Deprecate an AMI in the\n Amazon EC2 User Guide.
" } }, "com.amazonaws.ec2#EnableImageDeprecationRequest": { @@ -46471,7 +46478,7 @@ "target": "com.amazonaws.ec2#MillisecondDateTime", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "The date and time to deprecate the AMI, in UTC, in the following format:\n YYYY-MM-DDTHH:MM:SSZ.\n If you specify a value for seconds, Amazon EC2 rounds the seconds to the\n nearest minute.
\nYou can’t specify a date in the past. The upper limit for DeprecateAt
is 10\n years from now, except for public AMIs, where the upper limit is 2 years from the creation date.
The date and time to deprecate the AMI, in UTC, in the following format:\n YYYY-MM-DDTHH:MM:SSZ.\n If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.
\nYou can’t specify a date in the past. The upper limit for DeprecateAt
is 10\n years from now, except for public AMIs, where the upper limit is 2 years from the creation\n date.
Specify the ID of the launch template that the AMI should use for Windows fast launch.
" + "smithy.api#documentation": "Specify the ID of the launch template that the AMI should use for Windows fast\n launch.
" } }, "LaunchTemplateName": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "Specify the name of the launch template that the AMI should use for Windows fast launch.
" + "smithy.api#documentation": "Specify the name of the launch template that the AMI should use for Windows fast\n launch.
" } }, "Version": { "target": "com.amazonaws.ec2#String", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "Specify the version of the launch template that the AMI should use for Windows fast launch.
", + "smithy.api#documentation": "Specify the version of the launch template that the AMI should use for Windows fast\n launch.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "Request to create a launch template for a Windows fast launch enabled AMI.
\nNote - You can specify either the LaunchTemplateName
or the \n\t\t\t\tLaunchTemplateId
, but not both.
Request to create a launch template for a Windows fast launch enabled AMI.
\nNote - You can specify either the LaunchTemplateName
or the\n LaunchTemplateId
, but not both.
The number of pre-provisioned snapshots to keep on hand for a Windows fast launch \n\t\t\tenabled AMI.
" + "smithy.api#documentation": "The number of pre-provisioned snapshots to keep on hand for a Windows fast launch enabled\n AMI.
" } } }, "traits": { - "smithy.api#documentation": "Configuration settings for creating and managing pre-provisioned snapshots for a Windows fast launch \n\t\t\tenabled AMI.
" + "smithy.api#documentation": "Configuration settings for creating and managing pre-provisioned snapshots for a Windows\n fast launch enabled AMI.
" } }, "com.amazonaws.ec2#FastLaunchSnapshotConfigurationResponse": { @@ -48525,13 +48532,13 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TargetResourceCount", - "smithy.api#documentation": "The number of pre-provisioned snapshots requested to keep on hand for a Windows fast launch \n\t\t\tenabled AMI.
", + "smithy.api#documentation": "The number of pre-provisioned snapshots requested to keep on hand for a Windows fast\n launch enabled AMI.
", "smithy.api#xmlName": "targetResourceCount" } } }, "traits": { - "smithy.api#documentation": "Configuration settings for creating and managing pre-provisioned snapshots for a Windows fast launch \n\t\t\tenabled Windows AMI.
" + "smithy.api#documentation": "Configuration settings for creating and managing pre-provisioned snapshots for a Windows\n fast launch enabled Windows AMI.
" } }, "com.amazonaws.ec2#FastLaunchStateCode": { @@ -55312,7 +55319,7 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsPublic", - "smithy.api#documentation": "Indicates whether the image has public launch permissions. The value is true
if\n\t\t\t\tthis image has public launch permissions or false
\n\t\t\t\tif it has only implicit and explicit launch permissions.
Indicates whether the image has public launch permissions. The value is true
\n if this image has public launch permissions or false
if it has only implicit and\n explicit launch permissions.
The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.\n usageOperation
corresponds to the lineitem/Operation column on your Amazon Web Services Cost and Usage Report and in the Amazon Web Services Price\n \tList API. You can view these fields on the Instances or \n \tAMIs pages in the Amazon EC2 console, or in the responses that are \n \treturned by the DescribeImages \n \tcommand in the Amazon EC2 API, or the describe-images \n \tcommand in the CLI.
The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.\n usageOperation
corresponds to the lineitem/Operation column on your Amazon Web Services Cost and Usage Report and in the Amazon Web Services Price\n List API. You can view these fields on the Instances or AMIs pages in the Amazon EC2 console,\n or in the responses that are returned by the DescribeImages command in\n the Amazon EC2 API, or the describe-images command in the\n CLI.
The current state of the AMI. If the state is available
, the image is successfully registered and can be used to launch an instance.
The current state of the AMI. If the state is available
, the image is\n successfully registered and can be used to launch an instance.
The Amazon Web Services account alias (for example, amazon
, self
) or\n the Amazon Web Services account ID of the AMI owner.
The Amazon Web Services account alias (for example, amazon
, self
)\n or the Amazon Web Services account ID of the AMI owner.
The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.
", + "smithy.api#documentation": "The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance\n store volume.
", "smithy.api#xmlName": "rootDeviceType" } }, @@ -55448,7 +55455,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "SriovNetSupport", - "smithy.api#documentation": "Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
", + "smithy.api#documentation": "Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is\n enabled.
", "smithy.api#xmlName": "sriovNetSupport" } }, @@ -55488,7 +55495,7 @@ "target": "com.amazonaws.ec2#TpmSupportValues", "traits": { "aws.protocols#ec2QueryName": "TpmSupport", - "smithy.api#documentation": "If the image is configured for NitroTPM support, the value is v2.0
. \n For more information, see NitroTPM in the\n Amazon EC2 User Guide.
If the image is configured for NitroTPM support, the value is v2.0
. For more\n information, see NitroTPM in the Amazon EC2 User Guide.
The date and time to deprecate the AMI, in UTC, in the following format: \n YYYY-MM-DDTHH:MM:SSZ.\n If you specified a value for seconds, Amazon EC2 rounds the seconds to the\n nearest minute.
", + "smithy.api#documentation": "The date and time to deprecate the AMI, in UTC, in the following format:\n YYYY-MM-DDTHH:MM:SSZ.\n If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.
", "smithy.api#xmlName": "deprecationTime" } }, @@ -55504,7 +55511,7 @@ "target": "com.amazonaws.ec2#ImdsSupportValues", "traits": { "aws.protocols#ec2QueryName": "ImdsSupport", - "smithy.api#documentation": "If v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched\n from this AMI will have HttpTokens
automatically set to required
so\n that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.\n In addition, HttpPutResponseHopLimit
is set to 2
. For more\n information, see Configure\n the AMI in the Amazon EC2 User Guide.
If v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched\n from this AMI will have HttpTokens
automatically set to required
so\n that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.\n In addition, HttpPutResponseHopLimit
is set to 2
. For more\n information, see Configure the AMI in the Amazon EC2 User Guide.
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
", + "smithy.api#documentation": "Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is\n enabled.
", "smithy.api#xmlName": "sriovNetSupport" } }, @@ -55608,7 +55615,7 @@ "target": "com.amazonaws.ec2#AttributeValue", "traits": { "aws.protocols#ec2QueryName": "UefiData", - "smithy.api#documentation": "Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,\n use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the\n python-uefivars tool on\n GitHub. For more information, see UEFI Secure Boot in the\n Amazon EC2 User Guide.
", + "smithy.api#documentation": "Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,\n use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the\n python-uefivars tool on\n GitHub. For more information, see UEFI Secure Boot in the\n Amazon EC2 User Guide.
", "smithy.api#xmlName": "uefiData" } }, @@ -55624,7 +55631,7 @@ "target": "com.amazonaws.ec2#AttributeValue", "traits": { "aws.protocols#ec2QueryName": "ImdsSupport", - "smithy.api#documentation": "If v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched\n from this AMI will have HttpTokens
automatically set to required
so\n that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.\n In addition, HttpPutResponseHopLimit
is set to 2
. For more\n information, see Configure\n the AMI in the Amazon EC2 User Guide.
If v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched\n from this AMI will have HttpTokens
automatically set to required
so\n that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.\n In addition, HttpPutResponseHopLimit
is set to 2
. For more\n information, see Configure the AMI in the Amazon EC2 User Guide.
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
" + "smithy.api#documentation": "The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of\n launch permissions for the AMI.
" } }, "Remove": { "target": "com.amazonaws.ec2#LaunchPermissionList", "traits": { - "smithy.api#documentation": "The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
" + "smithy.api#documentation": "The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of\n launch permissions for the AMI.
" } } }, @@ -71318,7 +71325,7 @@ "target": "com.amazonaws.ec2#ListImagesInRecycleBinResult" }, "traits": { - "smithy.api#documentation": "Lists one or more AMIs that are currently in the Recycle Bin. For more information, \n see Recycle\n Bin in the Amazon EC2 User Guide.
", + "smithy.api#documentation": "Lists one or more AMIs that are currently in the Recycle Bin. For more information, see\n Recycle\n Bin in the Amazon EC2 User Guide.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -71342,7 +71349,7 @@ "ImageIds": { "target": "com.amazonaws.ec2#ImageIdStringList", "traits": { - "smithy.api#documentation": "The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that \n are in the Recycle Bin. You can specify up to 20 IDs in a single request.
", + "smithy.api#documentation": "The IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the\n Recycle Bin. You can specify up to 20 IDs in a single request.
", "smithy.api#xmlName": "ImageId" } }, @@ -73964,7 +73971,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time.
\nTo specify the attribute, you can use the Attribute
parameter, or one of the following parameters: \n Description
, ImdsSupport
, or LaunchPermission
.
Images with an Amazon Web Services Marketplace product code cannot be made public.
\nTo enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport on an instance \n and create an AMI from the instance.
", + "smithy.api#documentation": "Modifies the specified attribute of the specified AMI. You can specify only one attribute\n at a time.
\nTo specify the attribute, you can use the Attribute
parameter, or one of the\n following parameters: Description
, ImdsSupport
, or\n LaunchPermission
.
Images with an Amazon Web Services Marketplace product code cannot be made public.
\nTo enable the SriovNetSupport enhanced networking attribute of an image, enable\n SriovNetSupport on an instance and create an AMI from the instance.
", "smithy.api#examples": [ { "title": "To make an AMI public", @@ -74005,7 +74012,7 @@ "Attribute": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "The name of the attribute to modify.
\nValid values: description
| imdsSupport
| launchPermission
\n
The name of the attribute to modify.
\nValid values: description
| imdsSupport
|\n launchPermission
\n
The operation type. \n This parameter can be used only when the Attribute
parameter is launchPermission
.
The operation type. This parameter can be used only when the Attribute
\n parameter is launchPermission
.
The user groups. \n This parameter can be used only when the Attribute
parameter is launchPermission
.
The user groups. This parameter can be used only when the Attribute
parameter\n is launchPermission
.
The Amazon Web Services account IDs. \n This parameter can be used only when the Attribute
parameter is launchPermission
.
The Amazon Web Services account IDs. This parameter can be used only when the\n Attribute
parameter is launchPermission
.
The value of the attribute being modified. \n This parameter can be used only when the Attribute
parameter is description
or imdsSupport
.
The value of the attribute being modified. This parameter can be used only when the\n Attribute
parameter is description
or\n imdsSupport
.
The Amazon Resource Name (ARN) of an organization. This parameter can be used only when the Attribute
parameter is launchPermission
.
The Amazon Resource Name (ARN) of an organization. This parameter can be used only when\n the Attribute
parameter is launchPermission
.
The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the Attribute
parameter is launchPermission
.
The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used\n only when the Attribute
parameter is launchPermission
.
Set to v2.0
to indicate that IMDSv2 is specified in the AMI. Instances\n launched from this AMI will have HttpTokens
automatically set to\n required
so that, by default, the instance requires that IMDSv2 is used when\n requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to\n 2
. For more information, see Configure\n the AMI in the Amazon EC2 User Guide.
Do not use this parameter unless your AMI software supports IMDSv2. After you set the value to v2.0
, \n you can't undo it. The only way to “reset” your AMI is to create a new AMI from the underlying snapshot.
Set to v2.0
to indicate that IMDSv2 is specified in the AMI. Instances\n launched from this AMI will have HttpTokens
automatically set to\n required
so that, by default, the instance requires that IMDSv2 is used when\n requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to\n 2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.
Do not use this parameter unless your AMI software supports IMDSv2. After you set the\n value to v2.0
, you can't undo it. The only way to “reset” your AMI is to create\n a new AMI from the underlying snapshot.
Registers an AMI. When you're creating an AMI, this is the final step you must complete\n before you can launch an instance from the AMI. For more information about creating AMIs, see\n Create your\n own AMI in the Amazon Elastic Compute Cloud User Guide.
\nFor Amazon EBS-backed instances, CreateImage creates and registers the AMI\n in a single request, so you don't have to register the AMI yourself. We recommend that you\n always use CreateImage unless you have a specific reason to use\n RegisterImage.
\nIf needed, you can deregister an AMI at any time. Any modifications you make to an AMI backed by an instance store volume invalidates its registration. \n If you make changes to an image, deregister the previous image and register the new image.
\n\n Register a snapshot of a root device volume\n
\nYou can use RegisterImage
to create an Amazon EBS-backed Linux AMI from\n a snapshot of a root device volume. You specify the snapshot using a block device mapping.\n You can't set the encryption state of the volume using the block device mapping. If the \n snapshot is encrypted, or encryption by default is enabled, the root volume of an instance \n launched from the AMI is encrypted.
For more information, see Create a Linux AMI from a snapshot and Use encryption with Amazon EBS-backed AMIs\n in the Amazon Elastic Compute Cloud User Guide.
\n\n Amazon Web Services Marketplace product codes\n
\nIf any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new\n AMI.
\nWindows and some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and SUSE\n Linux Enterprise Server (SLES), use the Amazon EC2 billing product code associated with an AMI to\n verify the subscription status for package updates. To create a new AMI for operating systems\n that require a billing product code, instead of registering the AMI, do the following to\n preserve the billing product code association:
\nLaunch an instance from an existing AMI with that billing product code.
\nCustomize the instance.
\nCreate an AMI from the instance using CreateImage.
\nIf you purchase a Reserved Instance to apply to an On-Demand Instance that was launched\n from an AMI with a billing product code, make sure that the Reserved Instance has the matching\n billing product code. If you purchase a Reserved Instance without the matching billing product\n code, the Reserved Instance will not be applied to the On-Demand Instance. For information\n about how to obtain the platform details and billing information of an AMI, see Understand AMI\n billing information in the Amazon EC2 User Guide.
" + "smithy.api#documentation": "Registers an AMI. When you're creating an instance-store backed AMI, registering the AMI\n is the final step in the creation process. For more information about creating AMIs, see\n Create your\n own AMI in the Amazon Elastic Compute Cloud User Guide.
\nFor Amazon EBS-backed instances, CreateImage creates and registers the AMI\n in a single request, so you don't have to register the AMI yourself. We recommend that you\n always use CreateImage unless you have a specific reason to use\n RegisterImage.
\nIf needed, you can deregister an AMI at any time. Any modifications you make to an AMI\n backed by an instance store volume invalidates its registration. If you make changes to an\n image, deregister the previous image and register the new image.
\n\n Register a snapshot of a root device volume\n
\nYou can use RegisterImage
to create an Amazon EBS-backed Linux AMI from a snapshot\n of a root device volume. You specify the snapshot using a block device mapping. You can't set\n the encryption state of the volume using the block device mapping. If the snapshot is\n encrypted, or encryption by default is enabled, the root volume of an instance launched from\n the AMI is encrypted.
For more information, see Create a Linux AMI from a snapshot and Use encryption with Amazon EBS-backed\n AMIs in the Amazon Elastic Compute Cloud User Guide.
\n\n Amazon Web Services Marketplace product codes\n
\nIf any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new AMI.
\nWindows and some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and SUSE\n Linux Enterprise Server (SLES), use the Amazon EC2 billing product code associated with an AMI to\n verify the subscription status for package updates. To create a new AMI for operating systems\n that require a billing product code, instead of registering the AMI, do the following to\n preserve the billing product code association:
\nLaunch an instance from an existing AMI with that billing product code.
\nCustomize the instance.
\nCreate an AMI from the instance using CreateImage.
\nIf you purchase a Reserved Instance to apply to an On-Demand Instance that was launched\n from an AMI with a billing product code, make sure that the Reserved Instance has the matching\n billing product code. If you purchase a Reserved Instance without the matching billing product\n code, the Reserved Instance will not be applied to the On-Demand Instance. For information\n about how to obtain the platform details and billing information of an AMI, see Understand AMI\n billing information in the Amazon EC2 User Guide.
" } }, "com.amazonaws.ec2#RegisterImageRequest": { @@ -84774,21 +84781,21 @@ "ImageLocation": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the \n \t\taws-exec-read
canned access control list (ACL) to ensure that it can be accessed \n \t\tby Amazon EC2. For more information, see Canned ACLs in the \n \t\tAmazon S3 Service Developer Guide.
The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the\n aws-exec-read
canned access control list (ACL) to ensure that it can be\n accessed by Amazon EC2. For more information, see Canned ACLs in the\n Amazon S3 Service Developer Guide.
The architecture of the AMI.
\nDefault: For Amazon EBS-backed AMIs, i386
.\n For instance store-backed AMIs, the architecture specified in the manifest file.
The architecture of the AMI.
\nDefault: For Amazon EBS-backed AMIs, i386
. For instance store-backed AMIs, the\n architecture specified in the manifest file.
The block device mapping entries.
\nIf you specify an Amazon EBS volume using the ID of an Amazon EBS snapshot, you can't specify the encryption state of the volume.
\nIf you create an AMI on an Outpost, then all backing snapshots must be on the same\n Outpost or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can\n be used to launch instances on the same Outpost only. For more information, Amazon EBS local\n snapshots on Outposts in the Amazon EC2 User Guide.
", + "smithy.api#documentation": "The block device mapping entries.
\nIf you specify an Amazon EBS volume using the ID of an Amazon EBS snapshot, you can't specify the\n encryption state of the volume.
\nIf you create an AMI on an Outpost, then all backing snapshots must be on the same Outpost\n or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can be used\n to launch instances on the same Outpost only. For more information, Amazon EBS local\n snapshots on Outposts in the Amazon EC2 User Guide.
", "smithy.api#xmlName": "BlockDeviceMapping" } }, @@ -84812,7 +84819,7 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnaSupport", - "smithy.api#documentation": "Set to true
to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
", + "smithy.api#documentation": "Set to true
to enable enhanced networking with ENA for the AMI and any\n instances that you launch from the AMI.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make\n instances launched from the AMI unreachable.
", "smithy.api#xmlName": "enaSupport" } }, @@ -84829,7 +84836,7 @@ "traits": { "aws.protocols#ec2QueryName": "Name", "smithy.api#clientOptional": {}, - "smithy.api#documentation": "A name for your AMI.
\nConstraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or underscores(_)
", + "smithy.api#documentation": "A name for your AMI.
\nConstraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces\n ( ), periods (.), slashes (/), dashes (-), single quotes ('), at-signs (@), or\n underscores(_)
", "smithy.api#required": {}, "smithy.api#xmlName": "name" } @@ -84837,7 +84844,7 @@ "BillingProducts": { "target": "com.amazonaws.ec2#BillingProductList", "traits": { - "smithy.api#documentation": "The billing product codes. Your account must be authorized to specify billing product codes.
\nIf your account is not authorized to specify billing product codes, you can publish AMIs\n that include billable software and list them on the Amazon Web Services Marketplace. You must first register as a seller\n on the Amazon Web Services Marketplace. For more information, see Getting started as a\n seller and AMI-based\n products in the Amazon Web Services Marketplace Seller Guide.
", + "smithy.api#documentation": "The billing product codes. Your account must be authorized to specify billing product\n codes.
\nIf your account is not authorized to specify billing product codes, you can publish AMIs\n that include billable software and list them on the Amazon Web Services Marketplace. You must first register as a seller\n on the Amazon Web Services Marketplace. For more information, see Getting started as a\n seller and AMI-based products in the\n Amazon Web Services Marketplace Seller Guide.
", "smithy.api#xmlName": "BillingProduct" } }, @@ -84861,7 +84868,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "SriovNetSupport", - "smithy.api#documentation": "Set to simple
to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI.
There is no way to disable sriovNetSupport
at this time.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
", + "smithy.api#documentation": "Set to simple
to enable enhanced networking with the Intel 82599 Virtual\n Function interface for the AMI and any instances that you launch from the AMI.
There is no way to disable sriovNetSupport
at this time.
This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make\n instances launched from the AMI unreachable.
", "smithy.api#xmlName": "sriovNetSupport" } }, @@ -84876,7 +84883,7 @@ "BootMode": { "target": "com.amazonaws.ec2#BootModeValues", "traits": { - "smithy.api#documentation": "The boot mode of the AMI. A value of uefi-preferred
indicates that the AMI supports both UEFI and Legacy BIOS.
The operating system contained in the AMI must be configured to support the specified boot mode.
\nFor more information, see Boot modes in the\n Amazon EC2 User Guide.
" + "smithy.api#documentation": "The boot mode of the AMI. A value of uefi-preferred
indicates that the AMI\n supports both UEFI and Legacy BIOS.
The operating system contained in the AMI must be configured to support the specified\n boot mode.
\nFor more information, see Boot modes in the\n Amazon EC2 User Guide.
" } }, "TpmSupport": { @@ -84894,7 +84901,14 @@ "ImdsSupport": { "target": "com.amazonaws.ec2#ImdsSupportValues", "traits": { - "smithy.api#documentation": "Set to v2.0
to indicate that IMDSv2 is specified in the AMI. Instances\n launched from this AMI will have HttpTokens
automatically set to\n required
so that, by default, the instance requires that IMDSv2 is used when\n requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to\n 2
. For more information, see Configure\n the AMI in the Amazon EC2 User Guide.
If you set the value to v2.0
, make sure that your AMI software can support IMDSv2.
Set to v2.0
to indicate that IMDSv2 is specified in the AMI. Instances\n launched from this AMI will have HttpTokens
automatically set to\n required
so that, by default, the instance requires that IMDSv2 is used when\n requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to\n 2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.
If you set the value to v2.0
, make sure that your AMI software can support\n IMDSv2.
The tags to apply to the AMI.
\nTo tag the AMI, the value for ResourceType
must be image
. If you\n specify another value for ResourceType
, the request fails.
To tag an AMI after it has been registered, see CreateTags.
", + "smithy.api#xmlName": "TagSpecification" } } }, @@ -88486,7 +88500,7 @@ "target": "com.amazonaws.ec2#ResetImageAttributeName", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "The attribute to reset (currently you can only reset the launch permission attribute).
", + "smithy.api#documentation": "The attribute to reset (currently you can only reset the launch permission\n attribute).
", "smithy.api#required": {} } }, @@ -89639,7 +89653,7 @@ "target": "com.amazonaws.ec2#RestoreImageFromRecycleBinResult" }, "traits": { - "smithy.api#documentation": "Restores an AMI from the Recycle Bin. For more information, see Recycle Bin in the Amazon EC2 User Guide.
" + "smithy.api#documentation": "Restores an AMI from the Recycle Bin. For more information, see Recycle Bin in\n the Amazon EC2 User Guide.
" } }, "com.amazonaws.ec2#RestoreImageFromRecycleBinRequest": { @@ -91302,14 +91316,14 @@ "AWSAccessKeyId": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "The access key ID of the owner of the bucket. Before you specify a value for your access\n key ID, review and follow the guidance in Best\n Practices for Amazon Web Services accounts in the Account ManagementReference\n Guide.
" + "smithy.api#documentation": "The access key ID of the owner of the bucket. Before you specify a value for your access\n key ID, review and follow the guidance in Best Practices for Amazon Web Services\n accounts in the Account ManagementReference Guide.
" } }, "Bucket": { "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "Bucket", - "smithy.api#documentation": "The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.
", + "smithy.api#documentation": "The bucket in which to store the AMI. You can specify a bucket that you already own or a\n new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone\n else, Amazon EC2 returns an error.
", "smithy.api#xmlName": "bucket" } }, @@ -91325,7 +91339,7 @@ "target": "com.amazonaws.ec2#Blob", "traits": { "aws.protocols#ec2QueryName": "UploadPolicy", - "smithy.api#documentation": "An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
", + "smithy.api#documentation": "An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your\n behalf.
", "smithy.api#xmlName": "uploadPolicy" } }, @@ -91339,7 +91353,7 @@ } }, "traits": { - "smithy.api#documentation": "Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed AMI.
" + "smithy.api#documentation": "Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed\n AMI.
" } }, "com.amazonaws.ec2#S3StorageUploadPolicySignature": {