Packages
erlcloud
3.8.2
3.8.3
3.8.2
3.8.1
3.7.6
3.7.4
3.7.3
3.7.2
3.7.1
3.7.0
3.6.8
3.6.7
3.6.5
3.6.4
3.6.3
3.6.2
3.6.1
3.6.0
3.5.16
3.5.15
3.5.14
3.5.13
3.5.12
3.5.11
3.5.10
3.5.9
3.5.8
3.5.7
3.5.6
3.5.5
3.5.4
3.5.3
3.5.2
3.5.1
3.5.0
3.4.5
3.4.3
3.4.1
3.4.0
3.3.9
3.3.8
3.3.7
3.3.6
3.3.5
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.18
3.2.17
3.2.16
3.2.15
3.2.14
3.2.13
3.2.12
3.2.11
3.2.10
3.2.7
3.2.6
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
3.1.17
3.1.16
3.1.14
3.1.13
3.1.12
3.1.11
3.1.9
3.1.8
3.1.7
3.1.6
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
2.2.16
2.2.15
2.2.14
2.2.13
2.2.12
2.2.11
2.2.10
2.2.9
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.2
2.2.1
2.2.0
2.1.0
2.0.5
2.0.4
2.0.3
2.0.0
0.13.10
0.13.9
0.13.8
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.0
0.12.0
0.11.0
0.9.2
0.9.2-rc.1
0.9.1
0.9.0
AWS APIs library for Erlang
Current section
Files
Jump to
Current section
Files
include/erlcloud_workspaces.hrl
-ifndef(erlcloud_workspaces_hrl).
-define(erlcloud_workspaces_hrl, 0).
-include("erlcloud.hrl").
-define(WORKSPACES_LIMIT, 25).
%%%------------------------------------------------------------------------------
%%
%% Common data types
%%
%%%------------------------------------------------------------------------------
-record(workspace_modification_state, {
resource :: undefined | binary(),
state :: undefined | binary()
}).
-record(workspace_properties, {
computer_type_name :: undefined | binary(),
root_volume_size_gib :: undefined | non_neg_integer(),
running_mode :: undefined | binary(),
running_mode_auto_stop_timeout_in_minutes :: undefined | non_neg_integer(),
user_volume_size_gib :: undefined | non_neg_integer()
}).
-record(workspace, {
bundle_id :: undefined | binary(),
computer_name :: undefined | binary(),
directory_id :: undefined | binary(),
error_code :: undefined | binary(),
error_message :: undefined | binary(),
ip_address :: undefined | binary(),
modification_states :: undefined | [#workspace_modification_state{}],
root_volume_encryption_enabled :: undefined | boolean(),
state :: undefined | binary(),
subnet_id :: undefined | binary(),
user_name :: undefined | binary(),
user_volume_encryption_enabled :: undefined | boolean(),
volume_encryption_key :: undefined | binary(),
workspace_id :: undefined | binary(),
workspace_properties :: undefined | #workspace_properties{}
}).
-record(workspaces_selfservice_permissions, {
change_compute_type :: undefined | binary(),
increase_volume_size :: undefined | binary(),
rebuild_workspace :: undefined | binary(),
restart_workspace :: undefined | binary(),
switch_running_mode :: undefined | binary()
}).
-record(workspace_access_properties, {
device_type_android :: undefined | binary(),
device_type_chrome_os :: undefined | binary(),
device_type_ios :: undefined | binary(),
device_type_osx :: undefined | binary(),
device_type_web :: undefined | binary(),
device_type_windows :: undefined | binary(),
device_type_zero_client :: undefined | binary()
}).
-record(workspace_creation_properties, {
custom_security_group_id :: undefined | binary(),
default_ou :: undefined | binary(),
enable_internet_access :: undefined | boolean(),
enable_maintenance_mode :: undefined | boolean(),
enable_work_docs :: undefined | boolean(),
user_enabled_as_local_administrator :: undefined | boolean()
}).
-record(workspace_directory, {
alias :: undefined | binary(),
customer_user_name :: undefined | binary(),
directory_id :: undefined | binary(),
directory_name :: undefined | binary(),
directory_type :: undefined | binary(),
dns_ip_address :: undefined | [binary()],
iam_role_id :: undefined | binary(),
ip_group_ids :: undefined | [binary()],
registration_code :: undefined | binary(),
selfservice_permissions :: undefined | #workspaces_selfservice_permissions{},
state :: undefined | binary(),
subnet_ids :: undefined | [binary()],
tenancy :: undefined | binary(),
workspace_access_properties :: undefined | #workspace_access_properties{},
workspace_creation_properties :: undefined | #workspace_creation_properties{},
workspace_security_group_id :: undefined | binary()
}).
-record(describe_workspaces, {
next_token :: undefined | binary(),
workspaces :: undefined | [#workspace{}]
}).
-record(describe_workspace_directories, {
next_token :: undefined | binary(),
workspace_directories :: undefined | [#workspace_directory{}]
}).
-record(workspaces_tag, {
key :: undefined | binary(),
value :: undefined | binary()
}).
-endif.