#[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>>,
/* private fields */
}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§
source§impl 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.
source§impl GetCoreDeviceOutput
impl GetCoreDeviceOutput
sourcepub fn builder() -> GetCoreDeviceOutputBuilder
pub fn builder() -> GetCoreDeviceOutputBuilder
Creates a new builder-style object to manufacture GetCoreDeviceOutput.
Trait Implementations§
source§impl Clone for GetCoreDeviceOutput
impl Clone for GetCoreDeviceOutput
source§fn clone(&self) -> GetCoreDeviceOutput
fn clone(&self) -> GetCoreDeviceOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetCoreDeviceOutput
impl Debug for GetCoreDeviceOutput
source§impl PartialEq for GetCoreDeviceOutput
impl PartialEq for GetCoreDeviceOutput
source§impl RequestId for GetCoreDeviceOutput
impl RequestId for GetCoreDeviceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetCoreDeviceOutput
Auto Trait Implementations§
impl Freeze for GetCoreDeviceOutput
impl RefUnwindSafe for GetCoreDeviceOutput
impl Send for GetCoreDeviceOutput
impl Sync for GetCoreDeviceOutput
impl Unpin for GetCoreDeviceOutput
impl UnwindSafe for GetCoreDeviceOutput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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