pub struct Image {Show 13 fields
pub image_id: String,
pub name: String,
pub description: String,
pub state: String,
pub architecture: String,
pub public: bool,
pub source_instance_id: Option<String>,
pub in_recycle_bin: bool,
pub deprecation_time: Option<String>,
pub deregistration_protection: bool,
pub launch_permission_users: Vec<String>,
pub launch_permission_groups: Vec<String>,
pub boot_mode: Option<String>,
}Expand description
An AMI (machine image).
Fields§
§image_id: String§name: String§description: String§state: Stringpending | available | disabled | deregistered.
architecture: String§public: bool§source_instance_id: Option<String>§in_recycle_bin: bool§deprecation_time: Option<String>§deregistration_protection: bool§launch_permission_users: Vec<String>launchPermission — AWS account ids the AMI is explicitly shared with
(cross-account share via ModifyImageAttribute).
launch_permission_groups: Vec<String>launchPermission groups — only all is valid in AWS (public share).
boot_mode: Option<String>bootMode — legacy-bios | uefi | uefi-preferred. None reports
the default uefi; settable via ModifyImageAttribute.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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>
Converts
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>
Converts
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