Skip to content

RejectTimeOffRequest

Source code in docs_src/capo_connectscheduling/types/reject_time_off_request.py
class RejectTimeOffRequest(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 reject. 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 rejection, such as the reason. <code>GetTimeOff</code> doesn't return it.</p>"""

description instance-attribute

description: NotRequired[Description]

A description recorded with the rejection, such as the reason. GetTimeOff doesn't return it.

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 reject. 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.