Struct aws_sdk_imagebuilder::input::ImportVmImageInput
source · [−]#[non_exhaustive]pub struct ImportVmImageInput { /* private fields */ }
Implementations
sourceimpl ImportVmImageInput
impl ImportVmImageInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<ImportVmImage, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<ImportVmImage, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ImportVmImage
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImportVmImageInput
.
sourceimpl ImportVmImageInput
impl ImportVmImageInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the base image that is created by the import process.
sourcepub fn semantic_version(&self) -> Option<&str>
pub fn semantic_version(&self) -> Option<&str>
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.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the base image that is created by the import process.
sourcepub fn os_version(&self) -> Option<&str>
pub fn os_version(&self) -> Option<&str>
The operating system version for the imported VM.
sourcepub fn vm_import_task_id(&self) -> Option<&str>
pub fn vm_import_task_id(&self) -> Option<&str>
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.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
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
sourceimpl Clone for ImportVmImageInput
impl Clone for ImportVmImageInput
sourcefn clone(&self) -> ImportVmImageInput
fn clone(&self) -> ImportVmImageInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more