aws-sdk-wickr 1.8.0

AWS SDK for AWS Wickr Admin API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchResetDevicesForUser`](crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`network_id(impl Into<String>)`](crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder::set_network_id):<br>required: **true**<br><p>The ID of the Wickr network containing the user whose devices will be reset.</p><br>
    ///   - [`user_id(impl Into<String>)`](crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder::set_user_id):<br>required: **true**<br><p>The ID of the user whose devices will be reset.</p><br>
    ///   - [`app_ids(impl Into<String>)`](crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder::app_ids) / [`set_app_ids(Option<Vec::<String>>)`](crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder::set_app_ids):<br>required: **true**<br><p>A list of application IDs identifying the specific devices to be reset for the user. Maximum 50 devices per batch request.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique identifier for this request to ensure idempotency.</p><br>
    /// - On success, responds with [`BatchResetDevicesForUserOutput`](crate::operation::batch_reset_devices_for_user::BatchResetDevicesForUserOutput) with field(s):
    ///   - [`message(Option<String>)`](crate::operation::batch_reset_devices_for_user::BatchResetDevicesForUserOutput::message): <p>A message indicating the overall result of the batch device reset operation.</p>
    ///   - [`successful(Option<Vec::<BatchDeviceSuccessResponseItem>>)`](crate::operation::batch_reset_devices_for_user::BatchResetDevicesForUserOutput::successful): <p>A list of application IDs that were successfully reset.</p>
    ///   - [`failed(Option<Vec::<BatchDeviceErrorResponseItem>>)`](crate::operation::batch_reset_devices_for_user::BatchResetDevicesForUserOutput::failed): <p>A list of device reset attempts that failed, including error details explaining why each device could not be reset.</p>
    /// - On failure, responds with [`SdkError<BatchResetDevicesForUserError>`](crate::operation::batch_reset_devices_for_user::BatchResetDevicesForUserError)
    pub fn batch_reset_devices_for_user(&self) -> crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder {
        crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder::new(self.handle.clone())
    }
}