Class: Aws::ConnectScheduling::Types::RejectTimeOffRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb

Overview

The request for RejectTimeOff.

Constant Summary collapse

SENSITIVE =
[:description]

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

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

Returns:

  • (String)


524
525
526
527
528
529
530
531
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 524

class RejectTimeOffRequest < Struct.new(
  :instance_id,
  :user_id,
  :time_off_id,
  :description)
  SENSITIVE = [:description]
  include Aws::Structure
end

#instance_id ⇒ String

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.

Returns:

  • (String)


524
525
526
527
528
529
530
531
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 524

class RejectTimeOffRequest < Struct.new(
  :instance_id,
  :user_id,
  :time_off_id,
  :description)
  SENSITIVE = [:description]
  include Aws::Structure
end

#time_off_id ⇒ String

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

Returns:

  • (String)


524
525
526
527
528
529
530
531
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 524

class RejectTimeOffRequest < Struct.new(
  :instance_id,
  :user_id,
  :time_off_id,
  :description)
  SENSITIVE = [:description]
  include Aws::Structure
end

#user_id ⇒ String

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

Returns:

  • (String)


524
525
526
527
528
529
530
531
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 524

class RejectTimeOffRequest < Struct.new(
  :instance_id,
  :user_id,
  :time_off_id,
  :description)
  SENSITIVE = [:description]
  include Aws::Structure
end