Class: Aws::ConnectScheduling::Types::PutTimeOffBalanceRequest

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

Overview

The request for PutTimeOffBalance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#balance ⇒ Types::Duration

The new time off balance for the user and activity. It replaces the existing balance.

Returns:



479
480
481
482
483
484
485
486
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 479

class PutTimeOffBalanceRequest < Struct.new(
  :instance_id,
  :user_id,
  :shift_activity_id,
  :balance)
  SENSITIVE = []
  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)


479
480
481
482
483
484
485
486
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 479

class PutTimeOffBalanceRequest < Struct.new(
  :instance_id,
  :user_id,
  :shift_activity_id,
  :balance)
  SENSITIVE = []
  include Aws::Structure
end

#shift_activity_id ⇒ String

The identifier of the shift activity that the balance applies to. This can be the ID or the ARN of the shift activity.

Returns:

  • (String)


479
480
481
482
483
484
485
486
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 479

class PutTimeOffBalanceRequest < Struct.new(
  :instance_id,
  :user_id,
  :shift_activity_id,
  :balance)
  SENSITIVE = []
  include Aws::Structure
end

#user_id ⇒ String

The identifier of the user whose balance is being updated. This can be the ID or the ARN of the user.

Returns:

  • (String)


479
480
481
482
483
484
485
486
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 479

class PutTimeOffBalanceRequest < Struct.new(
  :instance_id,
  :user_id,
  :shift_activity_id,
  :balance)
  SENSITIVE = []
  include Aws::Structure
end