Smaws_Client_AppStream.CopyImageCopies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `IncompatibleImageException of Types.incompatible_image_exception
| `InvalidAccountStatusException of Types.invalid_account_status_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of Types.resource_already_exists_exception
| `ResourceNotAvailableException of Types.resource_not_available_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.copy_image_request ->
(Types.copy_image_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `IncompatibleImageException of Types.incompatible_image_exception
| `InvalidAccountStatusException of Types.invalid_account_status_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceNotAvailableException of Types.resource_not_available_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.copy_image_request ->
(Types.copy_image_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `IncompatibleImageException of Types.incompatible_image_exception
| `InvalidAccountStatusException of Types.invalid_account_status_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceNotAvailableException of Types.resource_not_available_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result