#[non_exhaustive]pub struct RegisterAvsDeviceInput {
pub client_id: Option<String>,
pub user_code: Option<String>,
pub product_id: Option<String>,
pub device_serial_number: Option<String>,
pub amazon_id: Option<String>,
pub room_arn: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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.client_id: Option<String>
The client ID of the OEM used for code-based linking authorization on an AVS device.
user_code: Option<String>
The code that is obtained after your AVS device has made a POST request to LWA as a part of the Device Authorization Request component of the OAuth code-based linking specification.
product_id: Option<String>
The product ID used to identify your AVS device during authorization.
device_serial_number: Option<String>
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
amazon_id: Option<String>
The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.
room_arn: Option<String>
The Amazon Resource Name (ARN) of the room with which to associate your AVS device.
The tags to be added to the specified resource. Do not provide system tags.
Implementations
sourceimpl RegisterAvsDeviceInput
impl RegisterAvsDeviceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterAVSDevice, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RegisterAVSDevice, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RegisterAVSDevice
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RegisterAvsDeviceInput
sourceimpl RegisterAvsDeviceInput
impl RegisterAvsDeviceInput
sourcepub fn client_id(&self) -> Option<&str>
pub fn client_id(&self) -> Option<&str>
The client ID of the OEM used for code-based linking authorization on an AVS device.
sourcepub fn user_code(&self) -> Option<&str>
pub fn user_code(&self) -> Option<&str>
The code that is obtained after your AVS device has made a POST request to LWA as a part of the Device Authorization Request component of the OAuth code-based linking specification.
sourcepub fn product_id(&self) -> Option<&str>
pub fn product_id(&self) -> Option<&str>
The product ID used to identify your AVS device during authorization.
sourcepub fn device_serial_number(&self) -> Option<&str>
pub fn device_serial_number(&self) -> Option<&str>
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
sourcepub fn amazon_id(&self) -> Option<&str>
pub fn amazon_id(&self) -> Option<&str>
The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.
sourcepub fn room_arn(&self) -> Option<&str>
pub fn room_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the room with which to associate your AVS device.
The tags to be added to the specified resource. Do not provide system tags.
Trait Implementations
sourceimpl Clone for RegisterAvsDeviceInput
impl Clone for RegisterAvsDeviceInput
sourcefn clone(&self) -> RegisterAvsDeviceInput
fn clone(&self) -> RegisterAvsDeviceInput
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
sourceimpl Debug for RegisterAvsDeviceInput
impl Debug for RegisterAvsDeviceInput
sourceimpl PartialEq<RegisterAvsDeviceInput> for RegisterAvsDeviceInput
impl PartialEq<RegisterAvsDeviceInput> for RegisterAvsDeviceInput
sourcefn eq(&self, other: &RegisterAvsDeviceInput) -> bool
fn eq(&self, other: &RegisterAvsDeviceInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RegisterAvsDeviceInput) -> bool
fn ne(&self, other: &RegisterAvsDeviceInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for RegisterAvsDeviceInput
Auto Trait Implementations
impl RefUnwindSafe for RegisterAvsDeviceInput
impl Send for RegisterAvsDeviceInput
impl Sync for RegisterAvsDeviceInput
impl Unpin for RegisterAvsDeviceInput
impl UnwindSafe for RegisterAvsDeviceInput
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