pub struct UpdateDeviceInstance { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateDeviceInstance.
Updates information about a private device instance.
Implementations
sourceimpl UpdateDeviceInstance
impl UpdateDeviceInstance
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDeviceInstance, AwsResponseRetryClassifier>, SdkError<UpdateDeviceInstanceError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDeviceInstance, AwsResponseRetryClassifier>, SdkError<UpdateDeviceInstanceError>>
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<UpdateDeviceInstanceOutput, SdkError<UpdateDeviceInstanceError>>
pub async fn send(
self
) -> Result<UpdateDeviceInstanceOutput, SdkError<UpdateDeviceInstanceError>>
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 arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the device instance.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the device instance.
sourcepub fn profile_arn(self, input: impl Into<String>) -> Self
pub fn profile_arn(self, input: impl Into<String>) -> Self
The ARN of the profile that you want to associate with the device instance.
sourcepub fn set_profile_arn(self, input: Option<String>) -> Self
pub fn set_profile_arn(self, input: Option<String>) -> Self
The ARN of the profile that you want to associate with the device instance.
sourcepub fn labels(self, input: impl Into<String>) -> Self
pub fn labels(self, input: impl Into<String>) -> Self
Appends an item to labels.
To override the contents of this collection use set_labels.
An array of strings that you want to associate with the device instance.
sourcepub fn set_labels(self, input: Option<Vec<String>>) -> Self
pub fn set_labels(self, input: Option<Vec<String>>) -> Self
An array of strings that you want to associate with the device instance.
Trait Implementations
sourceimpl Clone for UpdateDeviceInstance
impl Clone for UpdateDeviceInstance
sourcefn clone(&self) -> UpdateDeviceInstance
fn clone(&self) -> UpdateDeviceInstance
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more