pub struct Image {Show 32 fields
pub image_id: String,
pub name: String,
pub description: String,
pub state: String,
pub owner_id: String,
pub architecture: String,
pub image_type: String,
pub platform: Option<String>,
pub virtualization_type: String,
pub root_device_type: String,
pub root_device_name: String,
pub public: bool,
pub tags: Tags,
pub source_instance_id: Option<String>,
pub source_instance_type: String,
pub launch_permissions: Vec<LaunchPermission>,
pub recycle_bin_state: Option<String>,
pub deprecation_time: Option<String>,
pub recycle_bin_enter_time: Option<String>,
pub product_codes: Vec<(String, String)>,
pub fast_launch_state: Option<FastLaunchState>,
pub deregistration_protection: Option<String>,
pub kernel_id: Option<String>,
pub ramdisk_id: Option<String>,
pub ena_support: Option<bool>,
pub sriov_net_support: Option<String>,
pub tpm_support: Option<String>,
pub boot_mode: Option<String>,
pub imds_support: Option<String>,
pub image_location: Option<String>,
pub source_image_id: Option<String>,
pub source_region: Option<String>,
}Fields§
§image_id: String§name: String§description: String§state: String§owner_id: String§architecture: String§image_type: String§platform: Option<String>§virtualization_type: String§root_device_type: String§root_device_name: String§public: bool§source_instance_id: Option<String>§source_instance_type: String§launch_permissions: Vec<LaunchPermission>§recycle_bin_state: Option<String>Set to “recycled” while the AMI is in the Recycle Bin (after
DeregisterImage); cleared on RestoreImageFromRecycleBin.
deprecation_time: Option<String>RFC 3339 timestamp set by EnableImageDeprecation; cleared by
DisableImageDeprecation.
recycle_bin_enter_time: Option<String>RFC 3339 timestamp at which the AMI entered the Recycle Bin. Set when
recycle_bin_state becomes recycled.
product_codes: Vec<(String, String)>Account product-code list (optional).
fast_launch_state: Option<FastLaunchState>Fast-launch (Windows AMI) configuration set by EnableFastLaunch /
DisableFastLaunch. None when fast-launch has never been configured.
deregistration_protection: Option<String>Image deregistration protection state. One of enabled,
enabled-with-cooldown, disabled. None when never configured.
kernel_id: Option<String>Kernel AMI ID ( for older paravirtual / HVM-with-kernel AMIs ).
ramdisk_id: Option<String>Ramdisk AMI ID.
ena_support: Option<bool>EnaSupport: whether the AMI is configured for ENA networking.
sriov_net_support: Option<String>SriovNetSupport: typically "simple" when SR-IOV is enabled.
tpm_support: Option<String>TpmSupport: e.g. "v2.0".
boot_mode: Option<String>BootMode: "legacy-bios", "uefi", "uefi-preferred".
imds_support: Option<String>ImdsSupport: e.g. "v2.0" to require IMDSv2.
image_location: Option<String>ImageLocation: S3-style path, set by RegisterImage flows that
reference an existing manifest.
source_image_id: Option<String>SourceImageId: for AMIs created via CopyImage, the source AMI’s
ID. None for natively created AMIs.
source_region: Option<String>SourceRegion: for AMIs created via CopyImage, the region the
source AMI lived in. None for natively created AMIs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnsafeUnpin for Image
impl UnwindSafe for Image
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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