Smaws_Client_ECR.UpdateImageStorageClassTransitions an image between storage classes. You can transition images from Amazon ECR standard storage class to Amazon ECR archival storage class for long-term storage, or restore archived images back to Amazon ECR standard.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ImageNotFoundException of Types.image_not_found_exception
| `ImageStorageClassUpdateNotSupportedException of
Types.image_storage_class_update_not_supported_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_image_storage_class_request ->
(Types.update_image_storage_class_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ImageNotFoundException of Types.image_not_found_exception
| `ImageStorageClassUpdateNotSupportedException of
Types.image_storage_class_update_not_supported_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_image_storage_class_request ->
(Types.update_image_storage_class_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ImageNotFoundException of Types.image_not_found_exception
| `ImageStorageClassUpdateNotSupportedException of
Types.image_storage_class_update_not_supported_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `RepositoryNotFoundException of Types.repository_not_found_exception
| `ServerException of Types.server_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result