Struct aws_sdk_ec2::operation::import_image::ImportImageOutput
source · #[non_exhaustive]pub struct ImportImageOutput {Show 16 fields
pub architecture: Option<String>,
pub description: Option<String>,
pub encrypted: Option<bool>,
pub hypervisor: Option<String>,
pub image_id: Option<String>,
pub import_task_id: Option<String>,
pub kms_key_id: Option<String>,
pub license_type: Option<String>,
pub platform: Option<String>,
pub progress: Option<String>,
pub snapshot_details: Option<Vec<SnapshotDetail>>,
pub status: Option<String>,
pub status_message: Option<String>,
pub license_specifications: Option<Vec<ImportImageLicenseConfigurationResponse>>,
pub tags: Option<Vec<Tag>>,
pub usage_operation: Option<String>,
/* private fields */
}
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.architecture: Option<String>
The architecture of the virtual machine.
description: Option<String>
A description of the import task.
encrypted: Option<bool>
Indicates whether the AMI is encrypted.
hypervisor: Option<String>
The target hypervisor of the import task.
image_id: Option<String>
The ID of the Amazon Machine Image (AMI) created by the import task.
import_task_id: Option<String>
The task ID of the import image task.
kms_key_id: Option<String>
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
license_type: Option<String>
The license type of the virtual machine.
platform: Option<String>
The operating system of the virtual machine.
progress: Option<String>
The progress of the task.
snapshot_details: Option<Vec<SnapshotDetail>>
Information about the snapshots.
status: Option<String>
A brief status of the task.
status_message: Option<String>
A detailed status message of the import task.
license_specifications: Option<Vec<ImportImageLicenseConfigurationResponse>>
The ARNs of the license configurations.
Any tags assigned to the import image task.
usage_operation: Option<String>
The usage operation value.
Implementations§
source§impl ImportImageOutput
impl ImportImageOutput
sourcepub fn architecture(&self) -> Option<&str>
pub fn architecture(&self) -> Option<&str>
The architecture of the virtual machine.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the import task.
sourcepub fn hypervisor(&self) -> Option<&str>
pub fn hypervisor(&self) -> Option<&str>
The target hypervisor of the import task.
sourcepub fn image_id(&self) -> Option<&str>
pub fn image_id(&self) -> Option<&str>
The ID of the Amazon Machine Image (AMI) created by the import task.
sourcepub fn import_task_id(&self) -> Option<&str>
pub fn import_task_id(&self) -> Option<&str>
The task ID of the import image task.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
sourcepub fn license_type(&self) -> Option<&str>
pub fn license_type(&self) -> Option<&str>
The license type of the virtual machine.
sourcepub fn snapshot_details(&self) -> &[SnapshotDetail]
pub fn snapshot_details(&self) -> &[SnapshotDetail]
Information about the snapshots.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .snapshot_details.is_none()
.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A detailed status message of the import task.
sourcepub fn license_specifications(
&self
) -> &[ImportImageLicenseConfigurationResponse]
pub fn license_specifications( &self ) -> &[ImportImageLicenseConfigurationResponse]
The ARNs of the license configurations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .license_specifications.is_none()
.
Any tags assigned to the import image task.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn usage_operation(&self) -> Option<&str>
pub fn usage_operation(&self) -> Option<&str>
The usage operation value.
source§impl ImportImageOutput
impl ImportImageOutput
sourcepub fn builder() -> ImportImageOutputBuilder
pub fn builder() -> ImportImageOutputBuilder
Creates a new builder-style object to manufacture ImportImageOutput
.
Trait Implementations§
source§impl Clone for ImportImageOutput
impl Clone for ImportImageOutput
source§fn clone(&self) -> ImportImageOutput
fn clone(&self) -> ImportImageOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportImageOutput
impl Debug for ImportImageOutput
source§impl PartialEq for ImportImageOutput
impl PartialEq for ImportImageOutput
source§fn eq(&self, other: &ImportImageOutput) -> bool
fn eq(&self, other: &ImportImageOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ImportImageOutput
impl RequestId for ImportImageOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ImportImageOutput
Auto Trait Implementations§
impl Freeze for ImportImageOutput
impl RefUnwindSafe for ImportImageOutput
impl Send for ImportImageOutput
impl Sync for ImportImageOutput
impl Unpin for ImportImageOutput
impl UnwindSafe for ImportImageOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more