pub struct UpdateProfile { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateProfile
.
Updates an existing room profile by room profile ARN.
Implementations
sourceimpl UpdateProfile
impl UpdateProfile
sourcepub async fn send(
self
) -> Result<UpdateProfileOutput, SdkError<UpdateProfileError>>
pub async fn send(
self
) -> Result<UpdateProfileOutput, SdkError<UpdateProfileError>>
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 profile_arn(self, input: impl Into<String>) -> Self
pub fn profile_arn(self, input: impl Into<String>) -> Self
The ARN of the room profile to update. Required.
sourcepub fn set_profile_arn(self, input: Option<String>) -> Self
pub fn set_profile_arn(self, input: Option<String>) -> Self
The ARN of the room profile to update. Required.
sourcepub fn profile_name(self, input: impl Into<String>) -> Self
pub fn profile_name(self, input: impl Into<String>) -> Self
The updated name for the room profile.
sourcepub fn set_profile_name(self, input: Option<String>) -> Self
pub fn set_profile_name(self, input: Option<String>) -> Self
The updated name for the room profile.
sourcepub fn is_default(self, input: bool) -> Self
pub fn is_default(self, input: bool) -> Self
Sets the profile as default if selected. If this is missing, no update is done to the default status.
sourcepub fn set_is_default(self, input: Option<bool>) -> Self
pub fn set_is_default(self, input: Option<bool>) -> Self
Sets the profile as default if selected. If this is missing, no update is done to the default status.
sourcepub fn timezone(self, input: impl Into<String>) -> Self
pub fn timezone(self, input: impl Into<String>) -> Self
The updated timezone for the room profile.
sourcepub fn set_timezone(self, input: Option<String>) -> Self
pub fn set_timezone(self, input: Option<String>) -> Self
The updated timezone for the room profile.
sourcepub fn address(self, input: impl Into<String>) -> Self
pub fn address(self, input: impl Into<String>) -> Self
The updated address for the room profile.
sourcepub fn set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
The updated address for the room profile.
sourcepub fn distance_unit(self, input: DistanceUnit) -> Self
pub fn distance_unit(self, input: DistanceUnit) -> Self
The updated distance unit for the room profile.
sourcepub fn set_distance_unit(self, input: Option<DistanceUnit>) -> Self
pub fn set_distance_unit(self, input: Option<DistanceUnit>) -> Self
The updated distance unit for the room profile.
sourcepub fn temperature_unit(self, input: TemperatureUnit) -> Self
pub fn temperature_unit(self, input: TemperatureUnit) -> Self
The updated temperature unit for the room profile.
sourcepub fn set_temperature_unit(self, input: Option<TemperatureUnit>) -> Self
pub fn set_temperature_unit(self, input: Option<TemperatureUnit>) -> Self
The updated temperature unit for the room profile.
sourcepub fn set_wake_word(self, input: Option<WakeWord>) -> Self
pub fn set_wake_word(self, input: Option<WakeWord>) -> Self
The updated wake word for the room profile.
sourcepub fn locale(self, input: impl Into<String>) -> Self
pub fn locale(self, input: impl Into<String>) -> Self
The updated locale for the room profile. (This is currently only available to a limited preview audience.)
sourcepub fn set_locale(self, input: Option<String>) -> Self
pub fn set_locale(self, input: Option<String>) -> Self
The updated locale for the room profile. (This is currently only available to a limited preview audience.)
sourcepub fn setup_mode_disabled(self, input: bool) -> Self
pub fn setup_mode_disabled(self, input: bool) -> Self
Whether the setup mode of the profile is enabled.
sourcepub fn set_setup_mode_disabled(self, input: Option<bool>) -> Self
pub fn set_setup_mode_disabled(self, input: Option<bool>) -> Self
Whether the setup mode of the profile is enabled.
sourcepub fn max_volume_limit(self, input: i32) -> Self
pub fn max_volume_limit(self, input: i32) -> Self
The updated maximum volume limit for the room profile.
sourcepub fn set_max_volume_limit(self, input: Option<i32>) -> Self
pub fn set_max_volume_limit(self, input: Option<i32>) -> Self
The updated maximum volume limit for the room profile.
sourcepub fn pstn_enabled(self, input: bool) -> Self
pub fn pstn_enabled(self, input: bool) -> Self
Whether the PSTN setting of the room profile is enabled.
sourcepub fn set_pstn_enabled(self, input: Option<bool>) -> Self
pub fn set_pstn_enabled(self, input: Option<bool>) -> Self
Whether the PSTN setting of the room profile is enabled.
sourcepub fn data_retention_opt_in(self, input: bool) -> Self
pub fn data_retention_opt_in(self, input: bool) -> Self
Whether data retention of the profile is enabled.
sourcepub fn set_data_retention_opt_in(self, input: Option<bool>) -> Self
pub fn set_data_retention_opt_in(self, input: Option<bool>) -> Self
Whether data retention of the profile is enabled.
sourcepub fn meeting_room_configuration(
self,
input: UpdateMeetingRoomConfiguration
) -> Self
pub fn meeting_room_configuration(
self,
input: UpdateMeetingRoomConfiguration
) -> Self
The updated meeting room settings of a room profile.
sourcepub fn set_meeting_room_configuration(
self,
input: Option<UpdateMeetingRoomConfiguration>
) -> Self
pub fn set_meeting_room_configuration(
self,
input: Option<UpdateMeetingRoomConfiguration>
) -> Self
The updated meeting room settings of a room profile.
Trait Implementations
sourceimpl Clone for UpdateProfile
impl Clone for UpdateProfile
sourcefn clone(&self) -> UpdateProfile
fn clone(&self) -> UpdateProfile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for UpdateProfile
impl Send for UpdateProfile
impl Sync for UpdateProfile
impl Unpin for UpdateProfile
impl !UnwindSafe for UpdateProfile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more