#[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 ==
.