aws_sdk_workdocs/client/update_folder.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateFolder`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`authentication_token(impl Into<String>)`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder::set_authentication_token):<br>required: **false**<br><p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p><br>
/// - [`folder_id(impl Into<String>)`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder::folder_id) / [`set_folder_id(Option<String>)`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder::set_folder_id):<br>required: **true**<br><p>The ID of the folder.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder::set_name):<br>required: **false**<br><p>The name of the folder.</p><br>
/// - [`parent_folder_id(impl Into<String>)`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder::parent_folder_id) / [`set_parent_folder_id(Option<String>)`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder::set_parent_folder_id):<br>required: **false**<br><p>The ID of the parent folder.</p><br>
/// - [`resource_state(ResourceStateType)`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder::resource_state) / [`set_resource_state(Option<ResourceStateType>)`](crate::operation::update_folder::builders::UpdateFolderFluentBuilder::set_resource_state):<br>required: **false**<br><p>The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.</p><br>
/// - On success, responds with [`UpdateFolderOutput`](crate::operation::update_folder::UpdateFolderOutput)
/// - On failure, responds with [`SdkError<UpdateFolderError>`](crate::operation::update_folder::UpdateFolderError)
pub fn update_folder(&self) -> crate::operation::update_folder::builders::UpdateFolderFluentBuilder {
crate::operation::update_folder::builders::UpdateFolderFluentBuilder::new(self.handle.clone())
}
}