Class: Aws::Deadline::Types::AssignedSessionActionDefinition

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

Overview

Note:

AssignedSessionActionDefinition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AssignedSessionActionDefinition corresponding to the set member.

The definition of the assigned session action.

Defined Under Namespace

Classes: EnvEnter, EnvExit, SyncInputJobAttachments, TaskRun, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#env_enterTypes::AssignedEnvironmentEnterSessionActionDefinition

The environment a session starts on.



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# File 'lib/aws-sdk-deadline/types.rb', line 221

class AssignedSessionActionDefinition < Struct.new(
  :env_enter,
  :env_exit,
  :task_run,
  :sync_input_job_attachments,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class EnvEnter < AssignedSessionActionDefinition; end
  class EnvExit < AssignedSessionActionDefinition; end
  class TaskRun < AssignedSessionActionDefinition; end
  class SyncInputJobAttachments < AssignedSessionActionDefinition; end
  class Unknown < AssignedSessionActionDefinition; end
end

#env_exitTypes::AssignedEnvironmentExitSessionActionDefinition

The environment a session exits from.



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# File 'lib/aws-sdk-deadline/types.rb', line 221

class AssignedSessionActionDefinition < Struct.new(
  :env_enter,
  :env_exit,
  :task_run,
  :sync_input_job_attachments,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class EnvEnter < AssignedSessionActionDefinition; end
  class EnvExit < AssignedSessionActionDefinition; end
  class TaskRun < AssignedSessionActionDefinition; end
  class SyncInputJobAttachments < AssignedSessionActionDefinition; end
  class Unknown < AssignedSessionActionDefinition; end
end

#sync_input_job_attachmentsTypes::AssignedSyncInputJobAttachmentsSessionActionDefinition

The job attachment to sync with an assigned session action.



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# File 'lib/aws-sdk-deadline/types.rb', line 221

class AssignedSessionActionDefinition < Struct.new(
  :env_enter,
  :env_exit,
  :task_run,
  :sync_input_job_attachments,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class EnvEnter < AssignedSessionActionDefinition; end
  class EnvExit < AssignedSessionActionDefinition; end
  class TaskRun < AssignedSessionActionDefinition; end
  class SyncInputJobAttachments < AssignedSessionActionDefinition; end
  class Unknown < AssignedSessionActionDefinition; end
end

#task_runTypes::AssignedTaskRunSessionActionDefinition

The task run.



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# File 'lib/aws-sdk-deadline/types.rb', line 221

class AssignedSessionActionDefinition < Struct.new(
  :env_enter,
  :env_exit,
  :task_run,
  :sync_input_job_attachments,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class EnvEnter < AssignedSessionActionDefinition; end
  class EnvExit < AssignedSessionActionDefinition; end
  class TaskRun < AssignedSessionActionDefinition; end
  class SyncInputJobAttachments < AssignedSessionActionDefinition; end
  class Unknown < AssignedSessionActionDefinition; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



221
222
223
# File 'lib/aws-sdk-deadline/types.rb', line 221

def unknown
  @unknown
end