Values.UpdateRuleResponseSourceUpdates an existing Recycle Bin retention rule. You can update a retention rule's description, resource tags, and retention period at any time after creation. You can't update a retention rule's resource type after creation. For more information, see Update Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.
type nonrec t = {identifier : RuleIdentifier.t option;The unique ID of the retention rule.
*)retentionPeriod : RetentionPeriod.t option;description : Description.t option;The retention rule description.
*)resourceType : ResourceType.t option;The resource type retained by the retention rule.
*)resourceTags : ResourceTags.t option;[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule.
*)status : RuleStatus.t option;The state of the retention rule. Only retention rules that are in the available state retain resources.
*)lockState : LockState.t option;[Region-level retention rules only] The lock state for the retention rule. locked - The retention rule is locked and can't be modified or deleted. pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired. unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions. null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.
*)lockEndTime : TimeStamp.t option;The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.
*)ruleArn : RuleArn.t option;The Amazon Resource Name (ARN) of the retention rule.
*)excludeResourceTags : ExcludeResourceTags.t option;[Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be excluded, or ignored, by the retention rule.
*)}type nonrec error = [ | `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.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 * [> `String of ResourceTagKey.t ]) list ]
list
| `String of RuleIdentifier.t
| `Structure of
(string * [> `Enum of string | `Integer of RetentionPeriodValue.t ])
list
| `Timestamp of TimeStamp.t ])
list ]