#[non_exhaustive]pub struct CreateDeviceFleetInput {
pub device_fleet_name: Option<String>,
pub role_arn: Option<String>,
pub description: Option<String>,
pub output_config: Option<EdgeOutputConfig>,
pub tags: Option<Vec<Tag>>,
pub enable_iot_role_alias: Option<bool>,
}
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_fleet_name: Option<String>
The name of the fleet that the device belongs to.
role_arn: Option<String>
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
description: Option<String>
A description of the fleet.
output_config: Option<EdgeOutputConfig>
The output configuration for storing sample data collected by the fleet.
Creates tags for the specified fleet.
enable_iot_role_alias: Option<bool>
Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".
For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet".
Implementations§
source§impl CreateDeviceFleetInput
impl CreateDeviceFleetInput
sourcepub fn device_fleet_name(&self) -> Option<&str>
pub fn device_fleet_name(&self) -> Option<&str>
The name of the fleet that the device belongs to.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the fleet.
sourcepub fn output_config(&self) -> Option<&EdgeOutputConfig>
pub fn output_config(&self) -> Option<&EdgeOutputConfig>
The output configuration for storing sample data collected by the fleet.
Creates tags for the specified fleet.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn enable_iot_role_alias(&self) -> Option<bool>
pub fn enable_iot_role_alias(&self) -> Option<bool>
Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".
For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet".
source§impl CreateDeviceFleetInput
impl CreateDeviceFleetInput
sourcepub fn builder() -> CreateDeviceFleetInputBuilder
pub fn builder() -> CreateDeviceFleetInputBuilder
Creates a new builder-style object to manufacture CreateDeviceFleetInput
.
Trait Implementations§
source§impl Clone for CreateDeviceFleetInput
impl Clone for CreateDeviceFleetInput
source§fn clone(&self) -> CreateDeviceFleetInput
fn clone(&self) -> CreateDeviceFleetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDeviceFleetInput
impl Debug for CreateDeviceFleetInput
source§impl PartialEq for CreateDeviceFleetInput
impl PartialEq for CreateDeviceFleetInput
source§fn eq(&self, other: &CreateDeviceFleetInput) -> bool
fn eq(&self, other: &CreateDeviceFleetInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDeviceFleetInput
Auto Trait Implementations§
impl Freeze for CreateDeviceFleetInput
impl RefUnwindSafe for CreateDeviceFleetInput
impl Send for CreateDeviceFleetInput
impl Sync for CreateDeviceFleetInput
impl Unpin for CreateDeviceFleetInput
impl UnwindSafe for CreateDeviceFleetInput
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