Skip to content

UpdateApprovalActionResponse

Source code in docs_src/capo_devops_agent/types/update_approval_action_response.py
class UpdateApprovalActionResponse(TypedDict, closed=True):
    approval_id: "capo_devops_agent.types.approval_id.ApprovalId"
    """<p>Identifier of the approval request that was resolved. Echoed back so the client can correlate the response with the request.</p>"""
    status: "capo_devops_agent.types.approval_status.ApprovalStatus"
    """<p>Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.</p>"""
    expires_at: NotRequired["datetime.datetime"]
    """<p>Absolute timestamp at which the approval expires. Set when status is APPROVED (computed as the submission time plus ttlSeconds); absent when status is REJECTED.</p>"""

approval_id instance-attribute

approval_id: ApprovalId

Identifier of the approval request that was resolved. Echoed back so the client can correlate the response with the request.

expires_at instance-attribute

expires_at: NotRequired[datetime]

Absolute timestamp at which the approval expires. Set when status is APPROVED (computed as the submission time plus ttlSeconds); absent when status is REJECTED.

status instance-attribute

Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.