Struct aws_sdk_imagebuilder::input::ImportVmImageInput [−][src]
#[non_exhaustive]pub struct ImportVmImageInput {
pub name: Option<String>,
pub semantic_version: Option<String>,
pub description: Option<String>,
pub platform: Option<Platform>,
pub os_version: Option<String>,
pub vm_import_task_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub client_token: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the base image that is created by the import process.
semantic_version: Option<String>
The semantic version to attach to the base image that was created during the import process. This version follows the semantic version syntax.
The semantic version has four nodes:
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
description: Option<String>
The description for the base image that is created by the import process.
platform: Option<Platform>
The operating system platform for the imported VM.
os_version: Option<String>
The operating system version for the imported VM.
vm_import_task_id: Option<String>
The importTaskId
(API) or ImportTaskId
(CLI) from the Amazon EC2 VM import process. Image Builder retrieves information from the import process to pull in the AMI that is created from the VM source as the base image for your recipe.
Tags that are attached to the import resources.
client_token: Option<String>
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
Implementations
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<ImportVmImage, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<ImportVmImage, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ImportVmImage
>
Creates a new builder-style object to manufacture ImportVmImageInput
The name of the base image that is created by the import process.
The semantic version to attach to the base image that was created during the import process. This version follows the semantic version syntax.
The semantic version has four nodes:
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
The description for the base image that is created by the import process.
The operating system version for the imported VM.
The importTaskId
(API) or ImportTaskId
(CLI) from the Amazon EC2 VM import process. Image Builder retrieves information from the import process to pull in the AMI that is created from the VM source as the base image for your recipe.
Tags that are attached to the import resources.
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImportVmImageInput
impl Send for ImportVmImageInput
impl Sync for ImportVmImageInput
impl Unpin for ImportVmImageInput
impl UnwindSafe for ImportVmImageInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more