Class

com.krux.hyperion.aws

AdpShellCommandPrecondition

Related Doc: package aws

Permalink

case class AdpShellCommandPrecondition(id: String, name: Option[String], command: Option[String], scriptUri: Option[String], scriptArgument: Option[Seq[String]], stdout: Option[String], stderr: Option[String], role: String, preconditionTimeout: Option[String], maximumRetries: Option[String], onFail: Option[Seq[AdpRef[AdpAction]]], onLateAction: Option[Seq[AdpRef[AdpAction]]], onSuccess: Option[Seq[AdpRef[AdpAction]]]) extends AdpDataPipelineAbstractObject with AdpPrecondition with Product with Serializable

A Unix/Linux shell command that can be run as a precondition.

command

The command to run. This value and any associated parameters must function in the environment from which you are running the Task Runner.

scriptUri

An Amazon S3 URI path for a file to download and run as a shell command. Only one scriptUri or command field should be present. scriptUri cannot use parameters, use command instead.

scriptArgument

A list of arguments to pass to the shell script.

stdout

The Amazon S3 path that receives redirected output from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

stderr

The Amazon S3 path that receives redirected system error messages from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

Source
AdpPreconditions.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AdpPrecondition, AdpDataPipelineObject, AdpDataPipelineAbstractObject, AdpObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AdpShellCommandPrecondition
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AdpPrecondition
  7. AdpDataPipelineObject
  8. AdpDataPipelineAbstractObject
  9. AdpObject
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AdpShellCommandPrecondition(id: String, name: Option[String], command: Option[String], scriptUri: Option[String], scriptArgument: Option[Seq[String]], stdout: Option[String], stderr: Option[String], role: String, preconditionTimeout: Option[String], maximumRetries: Option[String], onFail: Option[Seq[AdpRef[AdpAction]]], onLateAction: Option[Seq[AdpRef[AdpAction]]], onSuccess: Option[Seq[AdpRef[AdpAction]]])

    Permalink

    command

    The command to run. This value and any associated parameters must function in the environment from which you are running the Task Runner.

    scriptUri

    An Amazon S3 URI path for a file to download and run as a shell command. Only one scriptUri or command field should be present. scriptUri cannot use parameters, use command instead.

    scriptArgument

    A list of arguments to pass to the shell script.

    stdout

    The Amazon S3 path that receives redirected output from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

    stderr

    The Amazon S3 path that receives redirected system error messages from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val command: Option[String]

    Permalink

    The command to run.

    The command to run. This value and any associated parameters must function in the environment from which you are running the Task Runner.

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. val id: String

    Permalink

    The ID of the object, IDs must be unique within a pipeline definition

    The ID of the object, IDs must be unique within a pipeline definition

    Definition Classes
    AdpShellCommandPreconditionAdpDataPipelineObjectAdpObject
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. val maximumRetries: Option[String]

    Permalink

    Maximum number attempt retries on failure

    Maximum number attempt retries on failure

    Definition Classes
    AdpShellCommandPreconditionAdpPrecondition
  13. val name: Option[String]

    Permalink

    The optional, user-defined label of the object.

    The optional, user-defined label of the object. If you do not provide a name for an object in a pipeline definition, AWS Data Pipeline automatically duplicates the value of id.

    Definition Classes
    AdpShellCommandPreconditionAdpDataPipelineObjectAdpDataPipelineAbstractObject
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. val onFail: Option[Seq[AdpRef[AdpAction]]]

    Permalink

    Actions to run when current object fails.

    Actions to run when current object fails.

    Definition Classes
    AdpShellCommandPreconditionAdpPrecondition
  18. val onLateAction: Option[Seq[AdpRef[AdpAction]]]

    Permalink

    Actions that should be triggered if an object has not yet been scheduled or still not completed.

    Actions that should be triggered if an object has not yet been scheduled or still not completed.

    Definition Classes
    AdpShellCommandPreconditionAdpPrecondition
  19. val onSuccess: Option[Seq[AdpRef[AdpAction]]]

    Permalink

    Actions to run when current object succeeds.

    Actions to run when current object succeeds.

    Definition Classes
    AdpShellCommandPreconditionAdpPrecondition
  20. val preconditionTimeout: Option[String]

    Permalink

    The precondition will be retried until the retryTimeout with a gap of retryDelay between attempts.

    The precondition will be retried until the retryTimeout with a gap of retryDelay between attempts. Time period; for example, "1 hour".

    Definition Classes
    AdpShellCommandPreconditionAdpPrecondition
  21. val role: String

    Permalink

    The IAM role to use for this precondition.

    The IAM role to use for this precondition.

    Definition Classes
    AdpShellCommandPreconditionAdpPrecondition
  22. val scriptArgument: Option[Seq[String]]

    Permalink

    A list of arguments to pass to the shell script.

  23. val scriptUri: Option[String]

    Permalink

    An Amazon S3 URI path for a file to download and run as a shell command.

    An Amazon S3 URI path for a file to download and run as a shell command. Only one scriptUri or command field should be present. scriptUri cannot use parameters, use command instead.

  24. val stderr: Option[String]

    Permalink

    The Amazon S3 path that receives redirected system error messages from the command.

    The Amazon S3 path that receives redirected system error messages from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

  25. val stdout: Option[String]

    Permalink

    The Amazon S3 path that receives redirected output from the command.

    The Amazon S3 path that receives redirected output from the command. If you use the runsOn field, this must be an Amazon S3 path because of the transitory nature of the resource running your activity. However if you specify the workerGroup field, a local file path is permitted.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. val type: String

    Permalink

    The type of object.

    The type of object. Use one of the predefined AWS Data Pipeline object types.

    Definition Classes
    AdpShellCommandPreconditionAdpDataPipelineObject
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AdpPrecondition

Inherited from AdpDataPipelineObject

Inherited from AdpObject

Inherited from AnyRef

Inherited from Any

Ungrouped