aws_sdk_workspaces/client/modify_workspace_access_properties.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 [`ModifyWorkspaceAccessProperties`](crate::operation::modify_workspace_access_properties::builders::ModifyWorkspaceAccessPropertiesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`resource_id(impl Into<String>)`](crate::operation::modify_workspace_access_properties::builders::ModifyWorkspaceAccessPropertiesFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::modify_workspace_access_properties::builders::ModifyWorkspaceAccessPropertiesFluentBuilder::set_resource_id):<br>required: **true**<br><p>The identifier of the directory.</p><br>
7 /// - [`workspace_access_properties(WorkspaceAccessProperties)`](crate::operation::modify_workspace_access_properties::builders::ModifyWorkspaceAccessPropertiesFluentBuilder::workspace_access_properties) / [`set_workspace_access_properties(Option<WorkspaceAccessProperties>)`](crate::operation::modify_workspace_access_properties::builders::ModifyWorkspaceAccessPropertiesFluentBuilder::set_workspace_access_properties):<br>required: **true**<br><p>The device types and operating systems to enable or disable for access.</p><br>
8 /// - On success, responds with [`ModifyWorkspaceAccessPropertiesOutput`](crate::operation::modify_workspace_access_properties::ModifyWorkspaceAccessPropertiesOutput)
9 /// - On failure, responds with [`SdkError<ModifyWorkspaceAccessPropertiesError>`](crate::operation::modify_workspace_access_properties::ModifyWorkspaceAccessPropertiesError)
10 pub fn modify_workspace_access_properties(
11 &self,
12 ) -> crate::operation::modify_workspace_access_properties::builders::ModifyWorkspaceAccessPropertiesFluentBuilder {
13 crate::operation::modify_workspace_access_properties::builders::ModifyWorkspaceAccessPropertiesFluentBuilder::new(self.handle.clone())
14 }
15}