pub struct WorkspacesWebState {
pub portals: HashMap<String, Portal>,
pub browser_settings: HashMap<String, BrowserSettings>,
pub network_settings: HashMap<String, NetworkSettings>,
pub user_access_logging_settings: HashMap<String, UserAccessLoggingSettings>,
pub user_settings: HashMap<String, UserSettings>,
pub identity_providers: HashMap<String, IdentityProvider>,
pub ip_access_settings: HashMap<String, IpAccessSettings>,
pub trust_stores: HashMap<String, TrustStore>,
pub data_protection_settings: HashMap<String, DataProtectionSettings>,
pub session_loggers: HashMap<String, SessionLogger>,
pub sessions: HashMap<String, Session>,
}Fields§
§portals: HashMap<String, Portal>§browser_settings: HashMap<String, BrowserSettings>§network_settings: HashMap<String, NetworkSettings>§user_access_logging_settings: HashMap<String, UserAccessLoggingSettings>§user_settings: HashMap<String, UserSettings>§identity_providers: HashMap<String, IdentityProvider>§ip_access_settings: HashMap<String, IpAccessSettings>§trust_stores: HashMap<String, TrustStore>§data_protection_settings: HashMap<String, DataProtectionSettings>§session_loggers: HashMap<String, SessionLogger>§sessions: HashMap<String, Session>Implementations§
Source§impl WorkspacesWebState
impl WorkspacesWebState
pub fn create_portal( &mut self, display_name: Option<&str>, account_id: &str, region: &str, tags: HashMap<String, String>, ) -> Result<&Portal, WorkspacesWebError>
pub fn get_portal( &self, portal_arn: &str, ) -> Result<&Portal, WorkspacesWebError>
pub fn delete_portal( &mut self, portal_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn list_portals(&self) -> Vec<&Portal>
pub fn create_browser_settings( &mut self, browser_policy: Option<&str>, account_id: &str, region: &str, tags: HashMap<String, String>, ) -> Result<&BrowserSettings, WorkspacesWebError>
pub fn get_browser_settings( &self, arn: &str, ) -> Result<&BrowserSettings, WorkspacesWebError>
pub fn delete_browser_settings( &mut self, arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn list_browser_settings(&self) -> Vec<&BrowserSettings>
pub fn create_network_settings( &mut self, vpc_id: &str, subnet_ids: Vec<String>, security_group_ids: Vec<String>, account_id: &str, region: &str, tags: HashMap<String, String>, ) -> Result<&NetworkSettings, WorkspacesWebError>
pub fn get_network_settings( &self, arn: &str, ) -> Result<&NetworkSettings, WorkspacesWebError>
pub fn delete_network_settings( &mut self, arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn list_network_settings(&self) -> Vec<&NetworkSettings>
pub fn create_user_access_logging_settings( &mut self, kinesis_stream_arn: &str, account_id: &str, region: &str, tags: HashMap<String, String>, ) -> Result<&UserAccessLoggingSettings, WorkspacesWebError>
pub fn get_user_access_logging_settings( &self, arn: &str, ) -> Result<&UserAccessLoggingSettings, WorkspacesWebError>
pub fn delete_user_access_logging_settings( &mut self, arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn list_user_access_logging_settings( &self, ) -> Vec<&UserAccessLoggingSettings>
pub fn create_user_settings( &mut self, copy_allowed: &str, paste_allowed: &str, download_allowed: &str, upload_allowed: &str, print_allowed: &str, disconnect_timeout_in_minutes: Option<i32>, idle_disconnect_timeout_in_minutes: Option<i32>, account_id: &str, region: &str, tags: HashMap<String, String>, ) -> Result<&UserSettings, WorkspacesWebError>
pub fn get_user_settings( &self, arn: &str, ) -> Result<&UserSettings, WorkspacesWebError>
pub fn delete_user_settings( &mut self, arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn list_user_settings(&self) -> Vec<&UserSettings>
pub fn associate_browser_settings( &mut self, portal_arn: &str, browser_settings_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn associate_network_settings( &mut self, portal_arn: &str, network_settings_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn associate_user_access_logging_settings( &mut self, portal_arn: &str, user_access_logging_settings_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn associate_user_settings( &mut self, portal_arn: &str, user_settings_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn update_portal( &mut self, portal_arn: &str, display_name: Option<&str>, ) -> Result<&Portal, WorkspacesWebError>
pub fn create_identity_provider( &mut self, portal_arn: &str, name: &str, provider_type: &str, details: HashMap<String, String>, account_id: &str, region: &str, ) -> Result<&IdentityProvider, WorkspacesWebError>
pub fn get_identity_provider( &self, arn: &str, ) -> Result<&IdentityProvider, WorkspacesWebError>
pub fn delete_identity_provider( &mut self, arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn list_identity_providers( &self, portal_arn: &str, ) -> Vec<&IdentityProvider>
pub fn update_identity_provider( &mut self, arn: &str, name: Option<&str>, provider_type: Option<&str>, details: Option<HashMap<String, String>>, ) -> Result<&IdentityProvider, WorkspacesWebError>
pub fn create_ip_access_settings( &mut self, ip_rules: Vec<IpRule>, display_name: Option<String>, description: Option<String>, account_id: &str, region: &str, tags: HashMap<String, String>, ) -> Result<&IpAccessSettings, WorkspacesWebError>
pub fn get_ip_access_settings( &self, arn: &str, ) -> Result<&IpAccessSettings, WorkspacesWebError>
pub fn delete_ip_access_settings( &mut self, arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn list_ip_access_settings(&self) -> Vec<&IpAccessSettings>
pub fn update_ip_access_settings( &mut self, arn: &str, ip_rules: Option<Vec<IpRule>>, display_name: Option<String>, description: Option<String>, ) -> Result<&IpAccessSettings, WorkspacesWebError>
pub fn associate_ip_access_settings( &mut self, portal_arn: &str, ip_access_settings_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn disassociate_ip_access_settings( &mut self, portal_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn create_trust_store( &mut self, certificate_list: Vec<String>, account_id: &str, region: &str, tags: HashMap<String, String>, ) -> Result<&TrustStore, WorkspacesWebError>
pub fn get_trust_store( &self, arn: &str, ) -> Result<&TrustStore, WorkspacesWebError>
pub fn delete_trust_store( &mut self, arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn list_trust_stores(&self) -> Vec<&TrustStore>
pub fn update_trust_store( &mut self, arn: &str, certs_to_add: Vec<String>, thumbprints_to_delete: Vec<String>, ) -> Result<&TrustStore, WorkspacesWebError>
pub fn associate_trust_store( &mut self, portal_arn: &str, trust_store_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn disassociate_trust_store( &mut self, portal_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn create_data_protection_settings( &mut self, display_name: Option<String>, description: Option<String>, account_id: &str, region: &str, tags: HashMap<String, String>, ) -> Result<&DataProtectionSettings, WorkspacesWebError>
pub fn get_data_protection_settings( &self, arn: &str, ) -> Result<&DataProtectionSettings, WorkspacesWebError>
pub fn delete_data_protection_settings( &mut self, arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn list_data_protection_settings(&self) -> Vec<&DataProtectionSettings>
pub fn update_data_protection_settings( &mut self, arn: &str, display_name: Option<String>, description: Option<String>, ) -> Result<&DataProtectionSettings, WorkspacesWebError>
pub fn associate_data_protection_settings( &mut self, portal_arn: &str, data_protection_settings_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn disassociate_data_protection_settings( &mut self, portal_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn create_session_logger( &mut self, display_name: Option<String>, account_id: &str, region: &str, tags: HashMap<String, String>, ) -> Result<&SessionLogger, WorkspacesWebError>
pub fn get_session_logger( &self, arn: &str, ) -> Result<&SessionLogger, WorkspacesWebError>
pub fn delete_session_logger( &mut self, arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn list_session_loggers(&self) -> Vec<&SessionLogger>
pub fn update_session_logger( &mut self, arn: &str, display_name: Option<String>, ) -> Result<&SessionLogger, WorkspacesWebError>
pub fn associate_session_logger( &mut self, portal_arn: &str, session_logger_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn disassociate_session_logger( &mut self, portal_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn get_session( &self, portal_id: &str, session_id: &str, ) -> Result<&Session, WorkspacesWebError>
pub fn list_sessions(&self, portal_id: &str) -> Vec<&Session>
pub fn expire_session( &mut self, portal_id: &str, session_id: &str, ) -> Result<(), WorkspacesWebError>
pub fn disassociate_browser_settings( &mut self, portal_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn disassociate_network_settings( &mut self, portal_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn disassociate_user_access_logging_settings( &mut self, portal_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn disassociate_user_settings( &mut self, portal_arn: &str, ) -> Result<(), WorkspacesWebError>
pub fn update_browser_settings( &mut self, arn: &str, browser_policy: Option<String>, ) -> Result<&BrowserSettings, WorkspacesWebError>
pub fn update_network_settings( &mut self, arn: &str, vpc_id: Option<String>, subnet_ids: Option<Vec<String>>, security_group_ids: Option<Vec<String>>, ) -> Result<&NetworkSettings, WorkspacesWebError>
pub fn update_user_access_logging_settings( &mut self, arn: &str, kinesis_stream_arn: Option<String>, ) -> Result<&UserAccessLoggingSettings, WorkspacesWebError>
pub fn update_user_settings( &mut self, arn: &str, copy_allowed: Option<String>, paste_allowed: Option<String>, download_allowed: Option<String>, upload_allowed: Option<String>, print_allowed: Option<String>, disconnect_timeout: Option<i32>, idle_disconnect_timeout: Option<i32>, ) -> Result<&UserSettings, WorkspacesWebError>
pub fn tag_resource( &mut self, resource_arn: &str, tags: HashMap<String, String>, ) -> Result<(), WorkspacesWebError>
pub fn untag_resource( &mut self, resource_arn: &str, tag_keys: &[String], ) -> Result<(), WorkspacesWebError>
Trait Implementations§
Source§impl Debug for WorkspacesWebState
impl Debug for WorkspacesWebState
Source§impl Default for WorkspacesWebState
impl Default for WorkspacesWebState
Source§fn default() -> WorkspacesWebState
fn default() -> WorkspacesWebState
Returns the “default value” for a type. Read more
Source§impl From<&WorkspacesWebState> for WorkspacesWebStateView
impl From<&WorkspacesWebState> for WorkspacesWebStateView
Source§fn from(state: &WorkspacesWebState) -> Self
fn from(state: &WorkspacesWebState) -> Self
Converts to this type from the input type.
Source§impl From<WorkspacesWebStateView> for WorkspacesWebState
impl From<WorkspacesWebStateView> for WorkspacesWebState
Source§fn from(view: WorkspacesWebStateView) -> Self
fn from(view: WorkspacesWebStateView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkspacesWebState
impl RefUnwindSafe for WorkspacesWebState
impl Send for WorkspacesWebState
impl Sync for WorkspacesWebState
impl Unpin for WorkspacesWebState
impl UnsafeUnpin for WorkspacesWebState
impl UnwindSafe for WorkspacesWebState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.