Struct aws_sdk_greengrassv2::output::GetCoreDeviceOutput
source · [−]#[non_exhaustive]pub struct GetCoreDeviceOutput {
pub core_device_thing_name: Option<String>,
pub core_version: Option<String>,
pub platform: Option<String>,
pub architecture: Option<String>,
pub status: Option<CoreDeviceStatus>,
pub last_status_update_timestamp: Option<DateTime>,
pub tags: Option<HashMap<String, String>>,
}
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.core_device_thing_name: Option<String>
The name of the core device. This is also the name of the IoT thing.
core_version: Option<String>
The version of the IoT Greengrass Core software that the core device runs. This version is equivalent to the version of the Greengrass nucleus component that runs on the core device. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.
platform: Option<String>
The operating system platform that the core device runs.
architecture: Option<String>
The computer architecture of the core device.
status: Option<CoreDeviceStatus>
The status of the core device. The core device status can be:
-
HEALTHY
– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY
– The IoT Greengrass Core software or a component is in a failed state on the core device.
last_status_update_timestamp: Option<DateTime>
The time at which the core device's status last updated, expressed in ISO 8601 format.
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
Implementations
sourceimpl GetCoreDeviceOutput
impl GetCoreDeviceOutput
sourcepub fn core_device_thing_name(&self) -> Option<&str>
pub fn core_device_thing_name(&self) -> Option<&str>
The name of the core device. This is also the name of the IoT thing.
sourcepub fn core_version(&self) -> Option<&str>
pub fn core_version(&self) -> Option<&str>
The version of the IoT Greengrass Core software that the core device runs. This version is equivalent to the version of the Greengrass nucleus component that runs on the core device. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.
sourcepub fn platform(&self) -> Option<&str>
pub fn platform(&self) -> Option<&str>
The operating system platform that the core device runs.
sourcepub fn architecture(&self) -> Option<&str>
pub fn architecture(&self) -> Option<&str>
The computer architecture of the core device.
sourcepub fn status(&self) -> Option<&CoreDeviceStatus>
pub fn status(&self) -> Option<&CoreDeviceStatus>
The status of the core device. The core device status can be:
-
HEALTHY
– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY
– The IoT Greengrass Core software or a component is in a failed state on the core device.
sourcepub fn last_status_update_timestamp(&self) -> Option<&DateTime>
pub fn last_status_update_timestamp(&self) -> Option<&DateTime>
The time at which the core device's status last updated, expressed in ISO 8601 format.
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
sourceimpl GetCoreDeviceOutput
impl GetCoreDeviceOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetCoreDeviceOutput
Trait Implementations
sourceimpl Clone for GetCoreDeviceOutput
impl Clone for GetCoreDeviceOutput
sourcefn clone(&self) -> GetCoreDeviceOutput
fn clone(&self) -> GetCoreDeviceOutput
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 GetCoreDeviceOutput
impl Debug for GetCoreDeviceOutput
sourceimpl PartialEq<GetCoreDeviceOutput> for GetCoreDeviceOutput
impl PartialEq<GetCoreDeviceOutput> for GetCoreDeviceOutput
sourcefn eq(&self, other: &GetCoreDeviceOutput) -> bool
fn eq(&self, other: &GetCoreDeviceOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetCoreDeviceOutput) -> bool
fn ne(&self, other: &GetCoreDeviceOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetCoreDeviceOutput
Auto Trait Implementations
impl RefUnwindSafe for GetCoreDeviceOutput
impl Send for GetCoreDeviceOutput
impl Sync for GetCoreDeviceOutput
impl Unpin for GetCoreDeviceOutput
impl UnwindSafe for GetCoreDeviceOutput
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> 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.
sourcefn clone_into(&self, target: &mut T)
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