Diagnostics

public struct Diagnostics : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let errorCode: LifecycleErrorCode?
  • The last portion of the diagnostic log. If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.

    Declaration

    Swift

    public let logTail: String?
  • The message associated with the error.

    Declaration

    Swift

    public let message: String?
  • The name of the script.

    Declaration

    Swift

    public let scriptName: String?
  • Undocumented

    Declaration

    Swift

    public init(errorCode: LifecycleErrorCode? = nil, logTail: String? = nil, message: String? = nil, scriptName: String? = nil)