AWS SDK Version 3 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.

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.CodeDeploy.dll
Version: 3.x.y.z

Syntax

C#
public class Diagnostics

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 diagnostic log.

If available, CodeDeploy returns up to the last 4 KB of the 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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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