Class: Aws::Deadline::Types::SessionActionDefinition

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

Overview

Note:

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

The definition of the session action.

Defined Under Namespace

Classes: EnvEnter, EnvExit, SyncInputJobAttachments, TaskRun, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#env_enterTypes::EnvironmentEnterSessionActionDefinition

The environment to enter into.



7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
# File 'lib/aws-sdk-deadline/types.rb', line 7400

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

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

#env_exitTypes::EnvironmentExitSessionActionDefinition

The environment to exit from.



7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
# File 'lib/aws-sdk-deadline/types.rb', line 7400

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

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

#sync_input_job_attachmentsTypes::SyncInputJobAttachmentsSessionActionDefinition

The job attachments to sync with a session action.



7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
# File 'lib/aws-sdk-deadline/types.rb', line 7400

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

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

#task_runTypes::TaskRunSessionActionDefinition

The task run in the session.



7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
# File 'lib/aws-sdk-deadline/types.rb', line 7400

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

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



7400
7401
7402
# File 'lib/aws-sdk-deadline/types.rb', line 7400

def unknown
  @unknown
end