Struct aws_sdk_imagebuilder::model::Component
source · [−]#[non_exhaustive]pub struct Component {Show 16 fields
pub arn: Option<String>,
pub name: Option<String>,
pub version: Option<String>,
pub description: Option<String>,
pub change_description: Option<String>,
pub type: Option<ComponentType>,
pub platform: Option<Platform>,
pub supported_os_versions: Option<Vec<String>>,
pub state: Option<ComponentState>,
pub parameters: Option<Vec<ComponentParameterDetail>>,
pub owner: Option<String>,
pub data: Option<String>,
pub kms_key_id: Option<String>,
pub encrypted: Option<bool>,
pub date_created: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
A detailed view of a component.
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.arn: Option<String>
The Amazon Resource Name (ARN) of the component.
name: Option<String>
The name of the component.
version: Option<String>
The version of the component.
description: Option<String>
The description of the component.
change_description: Option<String>
The change description of the component.
type: Option<ComponentType>
The type of the component denotes whether the component is used to build the image or only to test it.
platform: Option<Platform>
The platform of the component.
supported_os_versions: Option<Vec<String>>
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
state: Option<ComponentState>
Describes the current status of the component. This is used for components that are no longer active.
parameters: Option<Vec<ComponentParameterDetail>>
Contains parameter details for each of the parameters that are defined for the component.
owner: Option<String>
The owner of the component.
data: Option<String>
The data of the component.
kms_key_id: Option<String>
The KMS key identifier used to encrypt the component.
encrypted: Option<bool>
The encryption status of the component.
date_created: Option<String>
The date that the component was created.
The tags associated with the component.
Implementations
sourceimpl Component
impl Component
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the component.
sourcepub fn change_description(&self) -> Option<&str>
pub fn change_description(&self) -> Option<&str>
The change description of the component.
sourcepub fn type(&self) -> Option<&ComponentType>
pub fn type(&self) -> Option<&ComponentType>
The type of the component denotes whether the component is used to build the image or only to test it.
sourcepub fn supported_os_versions(&self) -> Option<&[String]>
pub fn supported_os_versions(&self) -> Option<&[String]>
The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
sourcepub fn state(&self) -> Option<&ComponentState>
pub fn state(&self) -> Option<&ComponentState>
Describes the current status of the component. This is used for components that are no longer active.
sourcepub fn parameters(&self) -> Option<&[ComponentParameterDetail]>
pub fn parameters(&self) -> Option<&[ComponentParameterDetail]>
Contains parameter details for each of the parameters that are defined for the component.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The KMS key identifier used to encrypt the component.
sourcepub fn date_created(&self) -> Option<&str>
pub fn date_created(&self) -> Option<&str>
The date that the component was created.
The tags associated with the component.
Trait Implementations
impl StructuralPartialEq for Component
Auto Trait Implementations
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnwindSafe for Component
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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