Smaws_Client_AppStream.CreateImportedImageCreates a custom WorkSpaces Applications image by importing an EC2 AMI. This allows you to use your own customized AMI to create WorkSpaces Applications images that support additional instance types beyond the standard stream.* instances.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DryRunOperationException of Types.dry_run_operation_exception
| `IncompatibleImageException of Types.incompatible_image_exception
| `InvalidAccountStatusException of Types.invalid_account_status_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidRoleException of Types.invalid_role_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `OperationNotPermittedException of Types.operation_not_permitted_exception
| `ResourceAlreadyExistsException of Types.resource_already_exists_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_imported_image_request ->
(Types.create_imported_image_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `DryRunOperationException of Types.dry_run_operation_exception
| `IncompatibleImageException of Types.incompatible_image_exception
| `InvalidAccountStatusException of Types.invalid_account_status_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidRoleException of Types.invalid_role_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_imported_image_request ->
(Types.create_imported_image_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `DryRunOperationException of Types.dry_run_operation_exception
| `IncompatibleImageException of Types.incompatible_image_exception
| `InvalidAccountStatusException of Types.invalid_account_status_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidRoleException of Types.invalid_role_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result