Smaws_Client_WorkSpaces.CreateUpdatedWorkspaceImageCreates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.
To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.
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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_updated_workspace_image_request ->
(Types.create_updated_workspace_image_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 ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_updated_workspace_image_request ->
(Types.create_updated_workspace_image_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 ]
* Smaws_Lib.Response.metadata)
Stdlib.result