Module Values.UpdateLifecyclePolicyRequestSource

Update the specified lifecycle policy.

Sourcetype nonrec t = {
  1. lifecyclePolicyArn : LifecyclePolicyArn.t;
    (*

    The Amazon Resource Name (ARN) of the lifecycle policy resource.

    *)
  2. description : NonEmptyString.t option;
    (*

    Optional description for the lifecycle policy.

    *)
  3. status : LifecyclePolicyStatus.t option;
    (*

    Indicates whether the lifecycle policy resource is enabled.

    *)
  4. executionRole : RoleNameOrArn.t;
    (*

    The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to update the lifecycle policy.

    *)
  5. resourceType : LifecyclePolicyResourceType.t;
    (*

    The type of image resource that the lifecycle policy applies to.

    *)
  6. policyDetails : LifecyclePolicyDetails.t;
    (*

    The configuration details for a lifecycle policy resource.

    *)
  7. resourceSelection : LifecyclePolicyResourceSelection.t;
    (*

    Selection criteria for resources that the lifecycle policy applies to.

    *)
  8. clientToken : ClientToken.t;
    (*

    Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?status:??? -> lifecyclePolicyArn:LifecyclePolicyArn.t -> executionRole:RoleNameOrArn.t -> resourceType:LifecyclePolicyResourceType.t -> policyDetails:LifecyclePolicyDetails.t -> resourceSelection:LifecyclePolicyResourceSelection.t -> clientToken:ClientToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of LifecyclePolicyDetailFilterValue.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of NonEmptyString.t ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `Structure of (string * [> `Enum of string | `Integer of LifecyclePolicyDetailExclusionRulesAmisLastLaunchedValue.t ]) list ]) list ]) list ]) list ] list | `String of LifecyclePolicyArn.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of ResourceName.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) 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