Values.UpdateLifecyclePolicyRequestSourceUpdate the specified lifecycle policy.
type nonrec t = {lifecyclePolicyArn : LifecyclePolicyArn.t;The Amazon Resource Name (ARN) of the lifecycle policy resource.
*)description : NonEmptyString.t option;Optional description for the lifecycle policy.
*)status : LifecyclePolicyStatus.t option;Indicates whether the lifecycle policy resource is enabled.
*)executionRole : RoleNameOrArn.t;The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to update the lifecycle policy.
*)resourceType : LifecyclePolicyResourceType.t;The type of image resource that the lifecycle policy applies to.
*)policyDetails : LifecyclePolicyDetails.t;The configuration details for a lifecycle policy resource.
*)resourceSelection : LifecyclePolicyResourceSelection.t;Selection criteria for resources that the lifecycle policy applies to.
*)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.
*)}val make :
?description:??? ->
?status:??? ->
lifecyclePolicyArn:LifecyclePolicyArn.t ->
executionRole:RoleNameOrArn.t ->
resourceType:LifecyclePolicyResourceType.t ->
policyDetails:LifecyclePolicyDetails.t ->
resourceSelection:LifecyclePolicyResourceSelection.t ->
clientToken:ClientToken.t ->
unit ->
tval 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 ]