Struct aws_sdk_sagemaker::client::fluent_builders::UpdateDevices
source · pub struct UpdateDevices { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDevices
.
Updates one or more devices in a fleet.
Implementations§
source§impl UpdateDevices
impl UpdateDevices
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDevices, AwsResponseRetryClassifier>, SdkError<UpdateDevicesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDevices, AwsResponseRetryClassifier>, SdkError<UpdateDevicesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateDevicesOutput, SdkError<UpdateDevicesError>>
pub async fn send(
self
) -> Result<UpdateDevicesOutput, SdkError<UpdateDevicesError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn device_fleet_name(self, input: impl Into<String>) -> Self
pub fn device_fleet_name(self, input: impl Into<String>) -> Self
The name of the fleet the devices belong to.
sourcepub fn set_device_fleet_name(self, input: Option<String>) -> Self
pub fn set_device_fleet_name(self, input: Option<String>) -> Self
The name of the fleet the devices belong to.
sourcepub fn devices(self, input: Device) -> Self
pub fn devices(self, input: Device) -> Self
Appends an item to Devices
.
To override the contents of this collection use set_devices
.
List of devices to register with Edge Manager agent.
sourcepub fn set_devices(self, input: Option<Vec<Device>>) -> Self
pub fn set_devices(self, input: Option<Vec<Device>>) -> Self
List of devices to register with Edge Manager agent.
Trait Implementations§
source§impl Clone for UpdateDevices
impl Clone for UpdateDevices
source§fn clone(&self) -> UpdateDevices
fn clone(&self) -> UpdateDevices
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more