Skip to content

CancelTimeOffRequest

Source code in docs_src/capo_connectscheduling/types/cancel_time_off_request.py
class CancelTimeOffRequest(TypedDict, closed=True):
    instance_id: "capo_connectscheduling.types.instance_id_or_arn.InstanceIdOrArn"
    """<p>The identifier of the Connect Customer instance. This can be the ID or the ARN of the instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>"""
    user_id: "capo_connectscheduling.types.user_id_or_arn.UserIdOrArn"
    """<p>The identifier of the user who the time off request belongs to. This can be the ID or the ARN of the user.</p>"""
    time_off_id: "capo_connectscheduling.types.time_off_id.TimeOffId"
    """<p>The unique identifier of the time off request to cancel. If the time off request doesn't belong to <code>UserId</code>, the operation returns <code>ResourceNotFoundException</code>.</p>"""
    description: NotRequired["capo_connectscheduling.types.description.Description"]
    """<p>A description recorded with the cancellation. It replaces the description of the time off request. If you omit it, the request's description is removed.</p>"""

description instance-attribute

description: NotRequired[Description]

A description recorded with the cancellation. It replaces the description of the time off request. If you omit it, the request's description is removed.

instance_id instance-attribute

instance_id: InstanceIdOrArn

The identifier of the Connect Customer instance. This can be the ID or the ARN of the instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

time_off_id instance-attribute

time_off_id: TimeOffId

The unique identifier of the time off request to cancel. If the time off request doesn't belong to UserId, the operation returns ResourceNotFoundException.

user_id instance-attribute

user_id: UserIdOrArn

The identifier of the user who the time off request belongs to. This can be the ID or the ARN of the user.