1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ForgetDevice`](crate::operation::forget_device::builders::ForgetDeviceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`access_token(impl Into<String>)`](crate::operation::forget_device::builders::ForgetDeviceFluentBuilder::access_token) / [`set_access_token(Option<String>)`](crate::operation::forget_device::builders::ForgetDeviceFluentBuilder::set_access_token):<br>required: **false**<br><p>A valid access token that Amazon Cognito issued to the user whose registered device you want to forget.</p><br>
    ///   - [`device_key(impl Into<String>)`](crate::operation::forget_device::builders::ForgetDeviceFluentBuilder::device_key) / [`set_device_key(Option<String>)`](crate::operation::forget_device::builders::ForgetDeviceFluentBuilder::set_device_key):<br>required: **true**<br><p>The device key.</p><br>
    /// - On success, responds with [`ForgetDeviceOutput`](crate::operation::forget_device::ForgetDeviceOutput)
    /// - On failure, responds with [`SdkError<ForgetDeviceError>`](crate::operation::forget_device::ForgetDeviceError)
    pub fn forget_device(&self) -> crate::operation::forget_device::builders::ForgetDeviceFluentBuilder {
        crate::operation::forget_device::builders::ForgetDeviceFluentBuilder::new(self.handle.clone())
    }
}