Module Values.GetLifecyclePolicyPreviewResponseSource

Retrieves the results of the lifecycle policy preview request for the specified repository.

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. lifecyclePolicyText : LifecyclePolicyText.t option;
    (*

    The JSON lifecycle policy text.

    *)
  4. status : LifecyclePolicyPreviewStatus.t option;
    (*

    The status of the lifecycle policy preview request.

    *)
  5. 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.

    *)
  6. previewResults : LifecyclePolicyPreviewResultList.t option;
    (*

    The results of the lifecycle policy preview request.

    *)
  7. summary : LifecyclePolicyPreviewSummary.t option;
    (*

    The list of images that is returned as a result of the action.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidParameterException of InvalidParameterException.t
  2. | `LifecyclePolicyPreviewNotFoundException of LifecyclePolicyPreviewNotFoundException.t
  3. | `RepositoryNotFoundException of RepositoryNotFoundException.t
  4. | `ServerException of ServerException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?registryId:??? -> ?repositoryName:??? -> ?lifecyclePolicyText:??? -> ?status:??? -> ?nextToken:??? -> ?previewResults:??? -> ?summary:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
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