Values.GetLifecyclePolicyPreviewResponseSourceRetrieves the results of the lifecycle policy preview request for the specified repository.
type nonrec t = {registryId : RegistryId.t option;The registry ID associated with the request.
*)repositoryName : RepositoryName.t option;The repository name associated with the request.
*)lifecyclePolicyText : LifecyclePolicyText.t option;The JSON lifecycle policy text.
*)status : LifecyclePolicyPreviewStatus.t option;The status of the lifecycle policy preview request.
*)nextToken : NextToken.t option;The nextToken value to include in a future GetLifecyclePolicyPreview request. When the results of a GetLifecyclePolicyPreview request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
*)previewResults : LifecyclePolicyPreviewResultList.t option;The results of the lifecycle policy preview request.
*)summary : LifecyclePolicyPreviewSummary.t option;The list of images that is returned as a result of the action.
*)}type nonrec error = [ | `InvalidParameterException of InvalidParameterException.t| `LifecyclePolicyPreviewNotFoundException of
LifecyclePolicyPreviewNotFoundException.t| `RepositoryNotFoundException of RepositoryNotFoundException.t| `ServerException of ServerException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidParameterException of InvalidParameterException.t
| `LifecyclePolicyPreviewNotFoundException of
LifecyclePolicyPreviewNotFoundException.t
| `RepositoryNotFoundException of RepositoryNotFoundException.t
| `ServerException of ServerException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidParameterException of InvalidParameterException.t
| `LifecyclePolicyPreviewNotFoundException of
LifecyclePolicyPreviewNotFoundException.t
| `RepositoryNotFoundException of RepositoryNotFoundException.t
| `ServerException of ServerException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of LifecyclePolicyRulePriority.t
| `List of [> `String of ImageTag.t ] list
| `String of ImageDigest.t
| `Structure of (string * [> `Enum of string ]) list
| `Timestamp of PushTimestamp.t ])
list ]
list
| `String of RegistryId.t
| `Structure of
(string
* [> `Integer of ImageCount.t
| `List of
[> `Structure of
(string * [> `Enum of string | `Integer of ImageCount.t ])
list ]
list ])
list ])
list ]