Class: Aws::ConnectScheduling::Types::CancelTimeOffRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConnectScheduling::Types::CancelTimeOffRequest
- Defined in:
- gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb
Overview
The request for CancelTimeOff.
Constant Summary collapse
- SENSITIVE =
[:description]
Instance Attribute Summary collapse
-
#description ⇒ String
A description recorded with the cancellation.
-
#instance_id ⇒ String
The identifier of the Connect Customer instance.
-
#time_off_id ⇒ String
The unique identifier of the time off request to cancel.
-
#user_id ⇒ String
The identifier of the user who the time off request belongs to.
Instance Attribute Details
#description ⇒ String
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.
141 142 143 144 145 146 147 148 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 141 class CancelTimeOffRequest < 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.
141 142 143 144 145 146 147 148 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 141 class CancelTimeOffRequest < 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 cancel. If the time
off request doesn't belong to UserId, the operation returns
ResourceNotFoundException.
141 142 143 144 145 146 147 148 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 141 class CancelTimeOffRequest < 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.
141 142 143 144 145 146 147 148 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 141 class CancelTimeOffRequest < Struct.new( :instance_id, :user_id, :time_off_id, :description) SENSITIVE = [:description] include Aws::Structure end |