Module Values.UpdateImageStorageClassResponseSource

Transitions 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.

Sourcetype nonrec t = {
  1. registryId : RegistryId.t option;
    (*

    The registry ID associated with the request.

    *)
  2. repositoryName : RepositoryName.t option;
    (*

    The repository name associated with the request.

    *)
  3. imageId : ImageIdentifier.t option;
  4. imageStatus : ImageStatus.t option;
    (*

    The current status of the image after the call to UpdateImageStorageClass is complete. Valid values are ACTIVE, ARCHIVED, and ACTIVATING.

    *)
}
Sourcetype nonrec error = [
  1. | `ImageNotFoundException of ImageNotFoundException.t
  2. | `ImageStorageClassUpdateNotSupportedException of ImageStorageClassUpdateNotSupportedException.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `RepositoryNotFoundException of RepositoryNotFoundException.t
  5. | `ServerException of ServerException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?registryId:??? -> ?repositoryName:??? -> ?imageId:??? -> ?imageStatus:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ImageNotFoundException of ImageNotFoundException.t | `ImageStorageClassUpdateNotSupportedException of ImageStorageClassUpdateNotSupportedException.t | `InvalidParameterException of InvalidParameterException.t | `RepositoryNotFoundException of RepositoryNotFoundException.t | `ServerException of ServerException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ImageNotFoundException of ImageNotFoundException.t | `ImageStorageClassUpdateNotSupportedException of ImageStorageClassUpdateNotSupportedException.t | `InvalidParameterException of InvalidParameterException.t | `RepositoryNotFoundException of RepositoryNotFoundException.t | `ServerException of ServerException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of RegistryId.t | `Structure of (string * [> `String of ImageDigest.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t