Smaws_Client_WorkSpaces.CreateWorkspaceBundleCreates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InvalidParameterValuesException of
Types.invalid_parameter_values_exception
| `ResourceAlreadyExistsException of Types.resource_already_exists_exception
| `ResourceLimitExceededException of Types.resource_limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceUnavailableException of Types.resource_unavailable_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_workspace_bundle_request ->
(Types.create_workspace_bundle_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InvalidParameterValuesException of
Types.invalid_parameter_values_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceLimitExceededException of
Types.resource_limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceUnavailableException of Types.resource_unavailable_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_workspace_bundle_request ->
(Types.create_workspace_bundle_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InvalidParameterValuesException of
Types.invalid_parameter_values_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceLimitExceededException of
Types.resource_limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceUnavailableException of Types.resource_unavailable_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result