AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Diagnostic information about executable scripts that are part of a deployment.

Inheritance Hierarchy

System.Object
  Amazon.CodeDeploy.Model.Diagnostics

Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class Diagnostics : Object

The Diagnostics type exposes the following members

Constructors

NameDescription
Public Method Diagnostics()

Properties

NameTypeDescription
Public Property ErrorCode Amazon.CodeDeploy.LifecycleErrorCode Gets and sets the property 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.
Public Property LogTail System.String Gets and sets the property LogTail.

The last portion of the associated diagnostic log.

If available, AWS CodeDeploy returns up to the last 4 KB of the associated diagnostic log.

Public Property Message System.String Gets and sets the property Message.

The message associated with the error.

Public Property ScriptName System.String Gets and sets the property ScriptName.

The name of the script.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5