Package | Description |
---|---|
com.amazonaws.services.codedeploy.model |
Classes modeling the various types represented by AmazonCodeDeploy.
|
Modifier and Type | Method and Description |
---|---|
static LifecycleErrorCode |
LifecycleErrorCode.fromValue(String value)
Use this in place of valueOf.
|
static LifecycleErrorCode |
LifecycleErrorCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleErrorCode[] |
LifecycleErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Diagnostics.setErrorCode(LifecycleErrorCode errorCode)
The associated error code: Success: The specified script
ran. ScriptMissing: The specified script was not found in the
specified location. ScriptNotExecutable: The specified script
is not a recognized executable file type. ScriptTimedOut: The
specified script did not finish running in the specified time
period. ScriptFailed: The specified script failed to run as
expected. UnknownError: The specified script did not run for
an unknown reason.
|
Diagnostics |
Diagnostics.withErrorCode(LifecycleErrorCode errorCode)
The associated error code: Success: The specified script
ran. ScriptMissing: The specified script was not found in the
specified location. ScriptNotExecutable: The specified script
is not a recognized executable file type. ScriptTimedOut: The
specified script did not finish running in the specified time
period. ScriptFailed: The specified script failed to run as
expected. UnknownError: The specified script did not run for
an unknown reason.
|
Copyright © 2015. All rights reserved.