aws_sdk_wickr/client/batch_reset_devices_for_user.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`BatchResetDevicesForUser`](crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - On success, responds with [`BatchResetDevicesForUserOutput`](crate::operation::batch_reset_devices_for_user::BatchResetDevicesForUserOutput) with field(s):
11 /// - [`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>
12 /// - [`successful(Option<Vec::<BatchDeviceSuccessResponseItem>>)`](crate::operation::batch_reset_devices_for_user::BatchResetDevicesForUserOutput::successful): <p>A list of application IDs that were successfully reset.</p>
13 /// - [`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>
14 /// - On failure, responds with [`SdkError<BatchResetDevicesForUserError>`](crate::operation::batch_reset_devices_for_user::BatchResetDevicesForUserError)
15 pub fn batch_reset_devices_for_user(&self) -> crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder {
16 crate::operation::batch_reset_devices_for_user::builders::BatchResetDevicesForUserFluentBuilder::new(self.handle.clone())
17 }
18}