UpdateCurationPolicyRequest
¶
Source code in docs_src/capo_context/types/update_curation_policy_request.py
auto_reject_after_seconds
instance-attribute
¶
auto_reject_after_seconds: NotRequired[AutoRejectAfterSeconds]
The new auto-reject window, in seconds, from 86,400 (1 day) to 15,552,000 (180 days). If you omit it, the window is unchanged. You can't clear it with this operation.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
Makes a retry safe: the same token with the same parameters returns the current policy instead of a ConflictException. A token used with different parameters is a ValidationException whose message names clientToken, checked first. A retry with the same parameters after the policy was deleted is a ConflictException.
curation_policy_id
instance-attribute
¶
curation_policy_id: CurationPolicyId
The ID of the curation policy to update.
description
instance-attribute
¶
description: NotRequired[UserDefinedString]
The new description. If you omit it, the description is unchanged.
name
instance-attribute
¶
name: NotRequired[ResourceName]
The new name. If you omit it, the name is unchanged. This operation updates only the members that you include. You can't use it to clear an optional member.
policy_document
instance-attribute
¶
policy_document: NotRequired[PolicyText]
The new Cedar policy document. If you omit it, the document is unchanged.
revision_id
instance-attribute
¶
revision_id: CurationPolicyRevision
The revisionId of the working copy that you edited, as you last read it. If a concurrent edit advanced the revision, the request fails with ConflictException.