Module Smaws_Client_ECR.StartLifecyclePolicyPreview

Starts a preview of a lifecycle policy for the specified repository. This allows you to see the results before associating the lifecycle policy with the repository.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `LifecyclePolicyNotFoundException of Types.lifecycle_policy_not_found_exception | `LifecyclePolicyPreviewInProgressException of Types.lifecycle_policy_preview_in_progress_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.start_lifecycle_policy_preview_request -> (Types.start_lifecycle_policy_preview_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `LifecyclePolicyNotFoundException of Types.lifecycle_policy_not_found_exception | `LifecyclePolicyPreviewInProgressException of Types.lifecycle_policy_preview_in_progress_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `ValidationException of Types.validation_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.start_lifecycle_policy_preview_request -> (Types.start_lifecycle_policy_preview_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidParameterException of Types.invalid_parameter_exception | `LifecyclePolicyNotFoundException of Types.lifecycle_policy_not_found_exception | `LifecyclePolicyPreviewInProgressException of Types.lifecycle_policy_preview_in_progress_exception | `RepositoryNotFoundException of Types.repository_not_found_exception | `ServerException of Types.server_exception | `ValidationException of Types.validation_exception ] * Smaws_Lib.Response.metadata) Stdlib.result