Struct aws_sdk_sagemaker::types::DeviceSummary
source · #[non_exhaustive]pub struct DeviceSummary {
pub device_name: Option<String>,
pub device_arn: Option<String>,
pub description: Option<String>,
pub device_fleet_name: Option<String>,
pub iot_thing_name: Option<String>,
pub registration_time: Option<DateTime>,
pub latest_heartbeat: Option<DateTime>,
pub models: Option<Vec<EdgeModelSummary>>,
pub agent_version: Option<String>,
}
Expand description
Summary of the device.
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.device_name: Option<String>
The unique identifier of the device.
device_arn: Option<String>
Amazon Resource Name (ARN) of the device.
description: Option<String>
A description of the device.
device_fleet_name: Option<String>
The name of the fleet the device belongs to.
iot_thing_name: Option<String>
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device..
registration_time: Option<DateTime>
The timestamp of the last registration or de-reregistration.
latest_heartbeat: Option<DateTime>
The last heartbeat received from the device.
models: Option<Vec<EdgeModelSummary>>
Models on the device.
agent_version: Option<String>
Edge Manager agent version.
Implementations§
source§impl DeviceSummary
impl DeviceSummary
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The unique identifier of the device.
sourcepub fn device_arn(&self) -> Option<&str>
pub fn device_arn(&self) -> Option<&str>
Amazon Resource Name (ARN) of the device.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the device.
sourcepub fn device_fleet_name(&self) -> Option<&str>
pub fn device_fleet_name(&self) -> Option<&str>
The name of the fleet the device belongs to.
sourcepub fn iot_thing_name(&self) -> Option<&str>
pub fn iot_thing_name(&self) -> Option<&str>
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device..
sourcepub fn registration_time(&self) -> Option<&DateTime>
pub fn registration_time(&self) -> Option<&DateTime>
The timestamp of the last registration or de-reregistration.
sourcepub fn latest_heartbeat(&self) -> Option<&DateTime>
pub fn latest_heartbeat(&self) -> Option<&DateTime>
The last heartbeat received from the device.
sourcepub fn models(&self) -> &[EdgeModelSummary]
pub fn models(&self) -> &[EdgeModelSummary]
Models on the device.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .models.is_none()
.
sourcepub fn agent_version(&self) -> Option<&str>
pub fn agent_version(&self) -> Option<&str>
Edge Manager agent version.
source§impl DeviceSummary
impl DeviceSummary
sourcepub fn builder() -> DeviceSummaryBuilder
pub fn builder() -> DeviceSummaryBuilder
Creates a new builder-style object to manufacture DeviceSummary
.
Trait Implementations§
source§impl Clone for DeviceSummary
impl Clone for DeviceSummary
source§fn clone(&self) -> DeviceSummary
fn clone(&self) -> DeviceSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeviceSummary
impl Debug for DeviceSummary
source§impl PartialEq for DeviceSummary
impl PartialEq for DeviceSummary
source§fn eq(&self, other: &DeviceSummary) -> bool
fn eq(&self, other: &DeviceSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeviceSummary
Auto Trait Implementations§
impl Freeze for DeviceSummary
impl RefUnwindSafe for DeviceSummary
impl Send for DeviceSummary
impl Sync for DeviceSummary
impl Unpin for DeviceSummary
impl UnwindSafe for DeviceSummary
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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