1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RegisterAVSDevice`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_id(impl Into<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::client_id) / [`set_client_id(Option<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::set_client_id):<br>required: **true**<br><p>The client ID of the OEM used for code-based linking authorization on an AVS device.</p><br>
    ///   - [`user_code(impl Into<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::user_code) / [`set_user_code(Option<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::set_user_code):<br>required: **true**<br><p>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.</p><br>
    ///   - [`product_id(impl Into<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::product_id) / [`set_product_id(Option<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::set_product_id):<br>required: **true**<br><p>The product ID used to identify your AVS device during authorization.</p><br>
    ///   - [`device_serial_number(impl Into<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::device_serial_number) / [`set_device_serial_number(Option<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::set_device_serial_number):<br>required: **false**<br><p>The key generated by the OEM that uniquely identifies a specified instance of your AVS device.</p><br>
    ///   - [`amazon_id(impl Into<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::amazon_id) / [`set_amazon_id(Option<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::set_amazon_id):<br>required: **true**<br><p>The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.</p><br>
    ///   - [`room_arn(impl Into<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::room_arn) / [`set_room_arn(Option<String>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::set_room_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the room with which to associate your AVS device.</p><br>
    ///   - [`tags(Tag)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to be added to the specified resource. Do not provide system tags.</p><br>
    /// - On success, responds with [`RegisterAvsDeviceOutput`](crate::operation::register_avs_device::RegisterAvsDeviceOutput) with field(s):
    ///   - [`device_arn(Option<String>)`](crate::operation::register_avs_device::RegisterAvsDeviceOutput::device_arn): <p>The ARN of the device.</p>
    /// - On failure, responds with [`SdkError<RegisterAVSDeviceError>`](crate::operation::register_avs_device::RegisterAVSDeviceError)
    #[deprecated(note = "Alexa For Business is no longer supported")]
    pub fn register_avs_device(&self) -> crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder {
        crate::operation::register_avs_device::builders::RegisterAVSDeviceFluentBuilder::new(self.handle.clone())
    }
}