Struct aws_sdk_ec2::output::DescribeImageAttributeOutput
source · [−]#[non_exhaustive]pub struct DescribeImageAttributeOutput {
pub block_device_mappings: Option<Vec<BlockDeviceMapping>>,
pub image_id: Option<String>,
pub launch_permissions: Option<Vec<LaunchPermission>>,
pub product_codes: Option<Vec<ProductCode>>,
pub description: Option<AttributeValue>,
pub kernel_id: Option<AttributeValue>,
pub ramdisk_id: Option<AttributeValue>,
pub sriov_net_support: Option<AttributeValue>,
pub boot_mode: Option<AttributeValue>,
pub tpm_support: Option<AttributeValue>,
pub uefi_data: Option<AttributeValue>,
pub last_launched_time: Option<AttributeValue>,
}
Expand description
Describes an image attribute.
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.block_device_mappings: Option<Vec<BlockDeviceMapping>>
The block device mapping entries.
image_id: Option<String>
The ID of the AMI.
launch_permissions: Option<Vec<LaunchPermission>>
The launch permissions.
product_codes: Option<Vec<ProductCode>>
The product codes.
description: Option<AttributeValue>
A description for the AMI.
kernel_id: Option<AttributeValue>
The kernel ID.
ramdisk_id: Option<AttributeValue>
The RAM disk ID.
sriov_net_support: Option<AttributeValue>
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
boot_mode: Option<AttributeValue>
The boot mode.
tpm_support: Option<AttributeValue>
If the image is configured for NitroTPM support, the value is v2.0
.
uefi_data: Option<AttributeValue>
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon Elastic Compute Cloud User Guide.
last_launched_time: Option<AttributeValue>
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.
Implementations
sourceimpl DescribeImageAttributeOutput
impl DescribeImageAttributeOutput
sourcepub fn block_device_mappings(&self) -> Option<&[BlockDeviceMapping]>
pub fn block_device_mappings(&self) -> Option<&[BlockDeviceMapping]>
The block device mapping entries.
sourcepub fn launch_permissions(&self) -> Option<&[LaunchPermission]>
pub fn launch_permissions(&self) -> Option<&[LaunchPermission]>
The launch permissions.
sourcepub fn product_codes(&self) -> Option<&[ProductCode]>
pub fn product_codes(&self) -> Option<&[ProductCode]>
The product codes.
sourcepub fn description(&self) -> Option<&AttributeValue>
pub fn description(&self) -> Option<&AttributeValue>
A description for the AMI.
sourcepub fn kernel_id(&self) -> Option<&AttributeValue>
pub fn kernel_id(&self) -> Option<&AttributeValue>
The kernel ID.
sourcepub fn ramdisk_id(&self) -> Option<&AttributeValue>
pub fn ramdisk_id(&self) -> Option<&AttributeValue>
The RAM disk ID.
sourcepub fn sriov_net_support(&self) -> Option<&AttributeValue>
pub fn sriov_net_support(&self) -> Option<&AttributeValue>
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sourcepub fn boot_mode(&self) -> Option<&AttributeValue>
pub fn boot_mode(&self) -> Option<&AttributeValue>
The boot mode.
sourcepub fn tpm_support(&self) -> Option<&AttributeValue>
pub fn tpm_support(&self) -> Option<&AttributeValue>
If the image is configured for NitroTPM support, the value is v2.0
.
sourcepub fn uefi_data(&self) -> Option<&AttributeValue>
pub fn uefi_data(&self) -> Option<&AttributeValue>
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon Elastic Compute Cloud User Guide.
sourcepub fn last_launched_time(&self) -> Option<&AttributeValue>
pub fn last_launched_time(&self) -> Option<&AttributeValue>
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.
sourceimpl DescribeImageAttributeOutput
impl DescribeImageAttributeOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeImageAttributeOutput
.
Trait Implementations
sourceimpl Clone for DescribeImageAttributeOutput
impl Clone for DescribeImageAttributeOutput
sourcefn clone(&self) -> DescribeImageAttributeOutput
fn clone(&self) -> DescribeImageAttributeOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribeImageAttributeOutput
impl Debug for DescribeImageAttributeOutput
sourceimpl PartialEq<DescribeImageAttributeOutput> for DescribeImageAttributeOutput
impl PartialEq<DescribeImageAttributeOutput> for DescribeImageAttributeOutput
sourcefn eq(&self, other: &DescribeImageAttributeOutput) -> bool
fn eq(&self, other: &DescribeImageAttributeOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeImageAttributeOutput) -> bool
fn ne(&self, other: &DescribeImageAttributeOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeImageAttributeOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeImageAttributeOutput
impl Send for DescribeImageAttributeOutput
impl Sync for DescribeImageAttributeOutput
impl Unpin for DescribeImageAttributeOutput
impl UnwindSafe for DescribeImageAttributeOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more