[−][src]Struct rusoto_iot::UpdateThingRequest
The input for the UpdateThing operation.
Fields
attribute_payload: Option<AttributePayload>
A list of thing attributes, a JSON string containing name-value pairs. For example:
{\"attributes\":{\"name1\":\"value2\"}}
This data is used to add new attributes or update existing attributes.
expected_version: Option<i64>
The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the UpdateThing
request is rejected with a VersionConflictException
.
remove_thing_type: Option<bool>
Remove a thing type association. If true, the association is removed.
thing_name: String
The name of the thing to update.
You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
thing_type_name: Option<String>
The name of the thing type.
Trait Implementations
impl Clone for UpdateThingRequest
[src]
fn clone(&self) -> UpdateThingRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UpdateThingRequest
[src]
impl Default for UpdateThingRequest
[src]
fn default() -> UpdateThingRequest
[src]
impl PartialEq<UpdateThingRequest> for UpdateThingRequest
[src]
fn eq(&self, other: &UpdateThingRequest) -> bool
[src]
fn ne(&self, other: &UpdateThingRequest) -> bool
[src]
impl Serialize for UpdateThingRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for UpdateThingRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for UpdateThingRequest
impl Send for UpdateThingRequest
impl Sync for UpdateThingRequest
impl Unpin for UpdateThingRequest
impl UnwindSafe for UpdateThingRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,