Class: Aws::DataSync::Types::TaskScheduleDetails

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-datasync/types.rb

Overview

Provides information about your DataSync [task schedule].

[1]: docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#disabled_byString

Indicates how your task schedule was disabled.

  • ‘USER` - Your schedule was manually disabled by using the

    UpdateTask][1

    operation or DataSync console.

  • ‘SERVICE` - Your schedule was automatically disabled by DataSync because the task failed repeatedly with the same error.

[1]: docs.aws.amazon.com/datasync/latest/userguide/API_UpdateTask.html

Returns:

  • (String)


5593
5594
5595
5596
5597
5598
5599
# File 'lib/aws-sdk-datasync/types.rb', line 5593

class TaskScheduleDetails < Struct.new(
  :status_update_time,
  :disabled_reason,
  :disabled_by)
  SENSITIVE = []
  include Aws::Structure
end

#disabled_reasonString

Provides a reason if the task schedule is disabled.

If your schedule is disabled by ‘USER`, you see a `Manually disabled by user.` message.

If your schedule is disabled by ‘SERVICE`, you see an error message to help you understand why the task keeps failing. For information on resolving DataSync errors, see [Troubleshooting issues with DataSync transfers].

[1]: docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-locations-tasks.html

Returns:

  • (String)


5593
5594
5595
5596
5597
5598
5599
# File 'lib/aws-sdk-datasync/types.rb', line 5593

class TaskScheduleDetails < Struct.new(
  :status_update_time,
  :disabled_reason,
  :disabled_by)
  SENSITIVE = []
  include Aws::Structure
end

#status_update_timeTime

Indicates the last time the status of your task schedule changed. For example, if DataSync automatically disables your schedule because of a repeated error, you can see when the schedule was disabled.

Returns:

  • (Time)


5593
5594
5595
5596
5597
5598
5599
# File 'lib/aws-sdk-datasync/types.rb', line 5593

class TaskScheduleDetails < Struct.new(
  :status_update_time,
  :disabled_reason,
  :disabled_by)
  SENSITIVE = []
  include Aws::Structure
end