Module Smaws_Client_WorkSpaces.RegisterWorkspaceDirectory

Registers the specified directory. This operation is asynchronous and returns before the WorkSpace directory is registered. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `InvalidResourceStateException of Types.invalid_resource_state_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceAlreadyExistsException of Types.resource_already_exists_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `UnsupportedNetworkConfigurationException of Types.unsupported_network_configuration_exception | `WorkspacesDefaultRoleNotFoundException of Types.workspaces_default_role_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.register_workspace_directory_request -> (Types.register_workspace_directory_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `InvalidResourceStateException of Types.invalid_resource_state_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceAlreadyExistsException of Types.resource_already_exists_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `UnsupportedNetworkConfigurationException of Types.unsupported_network_configuration_exception | `WorkspacesDefaultRoleNotFoundException of Types.workspaces_default_role_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.register_workspace_directory_request -> (Types.register_workspace_directory_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `InvalidResourceStateException of Types.invalid_resource_state_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceAlreadyExistsException of Types.resource_already_exists_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `UnsupportedNetworkConfigurationException of Types.unsupported_network_configuration_exception | `WorkspacesDefaultRoleNotFoundException of Types.workspaces_default_role_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result